Re: processes not getting fair share of available disk I/O (was: Re: TCP parameters and interpreting tcpdump output )

2006-11-22 Thread Kris Kennaway
On Wed, Nov 22, 2006 at 11:29:16PM +, Dieter wrote:
> > >   hw.ata.wc=3D0
> > ^^^
> > "Make my hard drive go rally slow please (just in case I crash)" :)
> 
> Slower, yes, but not *that* slow.
> 
> Normal ls : 0.032 second.  Two processes using same disk, multiply by two,
> so 0.064 second.  Maybe the multiplier is more than 2, call it 10x, so
> 0.32 second.  But I'm seeing a factor of over 9100x.

Humour me and turn it back on, then see what happens.

Kris


pgpwU56VmX0Qv.pgp
Description: PGP signature


Need help with IPv4/IPv6

2006-11-22 Thread Rob Berens
This is a repost of an earlier message. I have some problems that seem to be 
related to the interoperation of ipv4

client programs and ipv6 servers or the other way round.
Does anyone have some examples of how to configere FreeBSD to have a smooth 
interoperation of IPv4 and IPv6? What lines do I have to add to 
/etc/rc.conf.


I'm running FreeBSD 6.1 RELEASE. My problems are listed below.

Does anyone have some simple


I have the following problems:

MySQL and JDBC client
--

I run MySQL 5.1 server at the FreeBSD machine.
The msyql jconnecter version is 5.0.4.

Via netstat I can see MySQL run as a tcp4 server only.
When connecting to mysql from the server running mysql via the mysql client
program everything works as expected.
When connecting from a remote machine running ipv4 via both the mysql clent
program and via JDBC again everything works as expected.
When connecting from the server running mysql via JDBC I get the exception:
com.mysql.jdbc.CommunicationsException: Communications link failure due
to underlying exception:
java.net.SocketException: java.netConnectionException: Connection
refused

Jetty (org.mortbay.org)
---

When running jetty as a servelet engine/web server at the FreeBSD machine. I
cannot connect to the server from a remote machine running IPv4. Via netstat
I can see that jetty runs as a tcp6 server only.

SVN (subversion.tigirs.org)
---

Originally I had a simular problem connecting to svn from a ipv4 machine,
when svn was running as a tcp6 server.
Via a strange startup option (--listen-host=0.0.0.0) I could force svn to
run as tcp4. And connection from the remote host worked fine.

Tomcat

I installed tomcat 5.5.20 from the BSD port. Tomcat does not start. The log
files shows the following:

Nov 6, 2006 8:22:39 AM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path:
/usr/local/jdk1.5.0/jre/lib/i386/client:/usr/local/jdk1.5.0/jre/lib/i386:/usr/local/jdk1.5.0/jre/../lib/i386:/usr/lib:/usr/local/lib
Nov 6, 2006 8:22:40 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Nov 6, 2006 8:22:40 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1303 ms
Nov 6, 2006 8:22:40 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Nov 6, 2006 8:22:40 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
Nov 6, 2006 8:22:40 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Nov 6, 2006 8:22:41 AM org.apache.catalina.core.ApplicationContext log
INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain:
[org.apache.webapp.balancer.RuleChain:
[org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News /
Redirect URL: http://www.cnn.com],
[org.apache.webapp.balancer.rules.RequestParameterRule: Target param name:
paramName / Target param value: paramValue / Redirect URL:
http://www.yahoo.com],
[org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL:
http://jakarta.apache.org]]
Nov 6, 2006 8:22:41 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Nov 6, 2006 8:22:41 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Nov 6, 2006 8:22:41 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Nov 6, 2006 8:22:41 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Nov 6, 2006 8:22:42 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Nov 6, 2006 8:22:42 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Nov 6, 2006 8:22:42 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/33  config=null
Nov 6, 2006 8:22:42 AM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Nov 6, 2006 8:22:42 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 2196 ms
Nov 6, 2006 8:22:42 AM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8005]:
java.net.BindException: Can't assign requested address
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.(ServerSocket.java:185)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:372)
at org.apache.catalina.startup.Catalina.await(Catalina.java:615)
at org.apache.catalina.startup.Catalina.start(Catalina.java:575)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Nati

Re: processes not getting fair share of available disk I/O (was: Re: TCP parameters and interpreting tcpdump output )

2006-11-22 Thread Dieter
> > hw.ata.wc=3D0
> ^^^
> "Make my hard drive go rally slow please (just in case I crash)" :)

Slower, yes, but not *that* slow.

Normal ls : 0.032 second.  Two processes using same disk, multiply by two,
so 0.064 second.  Maybe the multiplier is more than 2, call it 10x, so
0.32 second.  But I'm seeing a factor of over 9100x.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: additional processor in IBM xSeries /ii

2006-11-22 Thread Marko Kobal

Hi,

I have an IBM xSeries 225 with two-processor motherboard, 
currently with only one Intel Xeon 2.4 GHz. OS is 6.1p10, 
otherwise is this an apache22-mysql50-php5 web server.


I would like to add an additional, second Intel Xeon 2.4 GHz. 
Do I have to change anything in OS, kernel, etc, before this 
step or can I just plug in the additional proc and thats it?


--
Kind regards, Marko Kobal.
___


Recompile Kernel with SMP option (check /usr/src/sys/i386/conf/SMP) 


OK, so I recompile kernel with:

# To make an SMP kernel, the next line is needed
options SMP # Symmetric MultiProcessor Kernel

And this will not affect (after reboot) on how system will behave BEFORE I 
actualy plug in another processor?

Are there any other options that may be added to optimize kernel for SMP?

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


Re: processes not getting fair share of available disk I/O (was: Re: TCP parameters and interpreting tcpdump output )

2006-11-22 Thread Kris Kennaway
On Wed, Nov 22, 2006 at 07:41:46PM +, Dieter wrote:

> > oad
> > > > > > have been trimmed from your email.
> > > > >=3D20
> > > > > In telnet window 1:
> > > > >=3D20
> > > > > cd /disk1/
> > > > > cp -ip very_big_file /disk2/bar/  (the workload)
> > > > >=3D20
> > > > > In telnet window 2:
> > > > >=3D20
> > > > > time ls /disk3/foo1/  (make sure time and ls are cached in memory)
> > > > > time ls /disk3/foo2/  (see timing numbers above)
> > > > > time ls /disk2/   (see timing numbers above)
> > > > >=3D20
> > > > > The /disk2/ directory is small, only contains 3 directories and .snap
> > > > >=3D20
> > > > > Would the cp into /disk2/bar/ lock the /disk2/ directory?
> > > >=20
> > > > It shouldn't do.
> > > >=20
> > > > What scheduler are you using?
> > >=20
> > > kern.sched.name: 4BSD
> > > kern.sched.quantum: 10
> > > kern.sched.preemption: 1
> > 
> > OK, that's correct.  Can you also provide details of your disk
> > hardware (e.g. dmesg) and kernel configuration?
> 
> FreeBSD 6.0
> 
> Kernel is stock except for addition of:
> 
>   deviceatapicam# needed to burn dvd
> 
> /boot/loader.conf:
> 
>   console="comconsole"
>   hw.ata.wc=0
^^^
"Make my hard drive go rally slow please (just in case I crash)" :)

Kris


pgpuV5qORbm5e.pgp
Description: PGP signature


Re: External HD create different slice on /dev which one i need to mount...?

2006-11-22 Thread perikillo

On 11/22/06, Norberto Meijome <[EMAIL PROTECTED]> wrote:


On Wed, 22 Nov 2006 17:37:52 -0800
perikillo <[EMAIL PROTECTED]> wrote:

> mount /dev/da0s1 /ext
this is the slice, dont use it
> mount /dev/da0s1c /ext
this is the raw partition, DONT use c - ever, unless u really (think you)
know
what you are doing

> mount /dev/da0s1d /ext

bing

>
> Always: WARNING: /ext was not properly dismounted
>
> Any idea about this...?

yes, last time you mounted da0s1d , u didnt unmounted it cleanly. Before
you
mount, you should run fsck -p on it:
(as root, or with sudo)

fsck -p -t ufs /dev/da0s1d


>
> Im using FreeBSD 6.1-p10, my machine has 6 USB ports i have been testing
> with all and the same message.

of course, it is nothing to do with the usb itself, it's a filesystem
issue.
_
{Beto|Norberto|Numard} Meijome

"The music business is a cruel and shallow money trench, a long plastic
hallway
where thieves and pimps run free, and good men die like dogs. There's also
a
negative side." Hunter S. Thompson

I speak for myself, not my employer. Contents may be hot. Slippery when
wet.
Reading disclaimers makes you go blind. Writing them is worse. You have
been
Warned.



Thanks Norberto for your answer i got it, right now im testing the HD on my
laptop, is working really good.

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


Re: IPFW & NFS

2006-11-22 Thread Ian Smith
vittorio <[EMAIL PROTECTED]> wrote:

 > I have two FreeBSD 6.1 boxes one of which (IP 10.0.0.1) is an NFS server and 
 > the other one (IP 10.0.0.2) is, among other things, an NFS client sharing 
 > directories with the NFS server.
 > It all works correctly and I can mount_nfs all the directories from the 
 > server.
 > BUT, I'm now trying to use an IPFW firewall both on the server and on the 
 > client. My simple aim is to setup connections between the 10.0.0.1 server 
 > and 
 > the 10.0.0.2 client ** only **; no connections should be possible with other 
 > clients!
 > Now I've tried the poor documentation I could find googling with the 
 > keywords "freebsd ipfw nfs" to no avail, I cannot mount_nfs any share on te 
 > client because something goes wrong with RPC.
 > Concentrating on the client side (no ipfw for the moment on teh server) I 
 > tried the following
 > 
 > ipfw add 300 allow ip from 10.0.0.1 2049,111,1022 to 10.0.0.2 via fxp0 setup 
 > keep-state
 > 
 > OR
 > ipfw add 300 allow ip from 10.0.0.1 to 10.0.0.2  2049,111,1022 via fxp0 
 > setup 
 > keep-state
 >   
 > OR
 > ipfw add 300 allow ip from 10.0.0.1 2049,111,1022 to me via fxp0 setup 
 > keep-state
 > 
 > OR
 > ipfw add 300 allow ip from 10.0.0.1 to me  2049,111,1022 via fxp0 setup 
 > keep-state
 > 
 > If I disable the firewall it all goes smootly.

Firstly, what Chuck and Bill said .. but some further points ..

Secondly, you don't specify port numbers with 'allow ip', which covers
tcp, udp and raw ip packets also; you want 'allow udp' here, unless of
course you're using NFS over TCP as well, where you'd need 'allow tcp'. 
Note also that 'setup' only applies to TCP connections.

Thirdly, if you do want to use stateful rules on the client, you'll do
better doing them on your _outbound_ connections, something like:

  ipfw add xxx allow udp from ${client} to ${server} ${nfsports} keep-state

If it were me I'd concentrate on the server side firewall rules (and
/etc/exports allowed hosts) both for allowing desired and disallowing
undesired connections, so not having to worry much about what client/s
may or may not be doing.

'man ipfw' is actually pretty good documentation, though there is a fair
bit to absorb there.  I still read it before bedtime now and again :)

Ciao, Ian

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


Re: processes not getting fair share of available disk I/O (was: Re: TCP parameters and interpreting tcpdump output )

2006-11-22 Thread Dieter
> > > > > > time ls on a small directory on disk2
> > > > > >=3D3D20
> > > > > > real4m51.911s
> > > > > > user0m0.000s
> > > > > > sys 0m0.002s
> > > > > >=3D3D20
> > > > > > I expect access to a busy disk to take longer, but 5 minutes is
> > > > > > a bit much.  And that's the root directory of the filesystem,
> > > > > > it didn't have to follow a long chain of directories to get there.
> > > > > >=3D3D20
> > > > > > Sometimes I see long delays when accessing disk3, but it is
> > > > > > behaving at the moment.
> > > > >=3D20
> > > > > ls still has to acquire a number of locks in order to be sure that =
> the
> > > > > contents of the directory aren't changing.  If there are lots of ot=
> her
> > > > > processes all competing for these locks, it will be slow.  It looks
> > > > > like that's the case on your system, although details of your workl=
> oad
> > > > > have been trimmed from your email.
> > > >=3D20
> > > > In telnet window 1:
> > > >=3D20
> > > > cd /disk1/
> > > > cp -ip very_big_file /disk2/bar/(the workload)
> > > >=3D20
> > > > In telnet window 2:
> > > >=3D20
> > > > time ls /disk3/foo1/  (make sure time and ls are cached in memory)
> > > > time ls /disk3/foo2/  (see timing numbers above)
> > > > time ls /disk2/   (see timing numbers above)
> > > >=3D20
> > > > The /disk2/ directory is small, only contains 3 directories and .snap
> > > >=3D20
> > > > Would the cp into /disk2/bar/ lock the /disk2/ directory?
> > >=20
> > > It shouldn't do.
> > >=20
> > > What scheduler are you using?
> >=20
> > kern.sched.name: 4BSD
> > kern.sched.quantum: 10
> > kern.sched.preemption: 1
> 
> OK, that's correct.  Can you also provide details of your disk
> hardware (e.g. dmesg) and kernel configuration?

FreeBSD 6.0

Kernel is stock except for addition of:

deviceatapicam# needed to burn dvd

/boot/loader.conf:

console="comconsole"
hw.ata.wc=0
hw.ata.atapi_dma="1"
kern.ipc.nmbclusters="256000"

Mainboard: Tyan Tomcat k8e 2865

CPU: AMD64 3000+

Chipset: Nvidia nforce4 ultra

Memory: 2 GB DDR400 ECC

Disks:  4x Seagate 7200 rpm SATA
1x Seagate 7200 rpm PATA
1x LG CD/DVD

atapci0:  port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 6.0 on pci0
ata0:  on atapci0
ata1:  on atapci0
atapci1:  port 
0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xcc00-0xcc0f mem 
0xfebfb000-0xfebfbfff irq 10 at device 7.0 on pci0
ata2:  on atapci1
ata3:  on atapci1
atapci2:  port 
0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xb800-0xb80f mem 
0xfebfa000-0xfebfafff irq 11 at device 8.0 on pci0
ata4:  on atapci2
ata5:  on atapci2
acd0: DVDR  at ata0-master UDMA66
ad2: 305245MB  at ata1-master UDMA100
ad4: 238475MB  at ata2-master SATA150
ad6: 238475MB  at ata3-master SATA150
ad8: 238475MB  at ata4-master SATA150
ad10: 305245MB  at ata5-master SATA150
cd0 at ata0 bus 0 target 0 lun 0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: DSL (was: Advice please)

2006-11-22 Thread [EMAIL PROTECTED]

On 11/22/06, Old Ranger <[EMAIL PROTECTED]> wrote:


The advice I'd like, is some "do's" and "don'ts" when switching from
dial-up to DSL with FreeBSD.


Not to sound overly arch, but a generic subject is not going to
garner you nearly as much help as something specific.

It would also depend on whether you are going to be using PPoE
or not, but I would mostly be concerned about keeping up on
security updates if you are going to be leaving your machine
connected most or all of the time.

This might also be a good time to start reading up on firewalls
and packet filters.

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


Re: RAID

2006-11-22 Thread

On 11/22/06, Office of CEO- rithy4u.NET <[EMAIL PROTECTED]> wrote:

Does FreeBSD support newer SATA RAID Controller? What software to make
RAID 1? or someone know which SATA RAID Controller can support hardware
mirror?

--
*Rithy Ray, RCSA*
Chief Executive Officer
Web: www.rithy4u.net 
Email: [EMAIL PROTECTED] 
Phone: (855) 12 403 001

--
This message has been scanned for viruses and
dangerous content by rithy4uSpamAppliance, and is
believed to be clean.

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


Newer RAID controllers -- Yes, see the h/w compat listing on the freebsd site

Software RAID 1 - easy, gmirror.  see
http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html for
more

Pretty much any controller that supports FreeBSD supports mirroring.

--
Jeff Hinrichs
Dundee Media & Technology, Inc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: processes not getting fair share of available disk I/O (was: Re: TCP parameters and interpreting tcpdump output )

2006-11-22 Thread Kris Kennaway
On Wed, Nov 22, 2006 at 06:12:06PM +, Dieter wrote:

> > > > > time ls on a small directory on disk2
> > > > >=3D20
> > > > > real4m51.911s
> > > > > user0m0.000s
> > > > > sys 0m0.002s
> > > > >=3D20
> > > > > I expect access to a busy disk to take longer, but 5 minutes is
> > > > > a bit much.  And that's the root directory of the filesystem,
> > > > > it didn't have to follow a long chain of directories to get there.
> > > > >=3D20
> > > > > Sometimes I see long delays when accessing disk3, but it is
> > > > > behaving at the moment.
> > > >=20
> > > > ls still has to acquire a number of locks in order to be sure that the
> > > > contents of the directory aren't changing.  If there are lots of other
> > > > processes all competing for these locks, it will be slow.  It looks
> > > > like that's the case on your system, although details of your workload
> > > > have been trimmed from your email.
> > >=20
> > > In telnet window 1:
> > >=20
> > > cd /disk1/
> > > cp -ip very_big_file /disk2/bar/  (the workload)
> > >=20
> > > In telnet window 2:
> > >=20
> > > time ls /disk3/foo1/  (make sure time and ls are cached in memory)
> > > time ls /disk3/foo2/  (see timing numbers above)
> > > time ls /disk2/   (see timing numbers above)
> > >=20
> > > The /disk2/ directory is small, only contains 3 directories and .snap
> > >=20
> > > Would the cp into /disk2/bar/ lock the /disk2/ directory?
> > 
> > It shouldn't do.
> > 
> > What scheduler are you using?
> 
> kern.sched.name: 4BSD
> kern.sched.quantum: 10
> kern.sched.preemption: 1

OK, that's correct.  Can you also provide details of your disk
hardware (e.g. dmesg) and kernel configuration?

Kris


pgpyxbAHgYhIR.pgp
Description: PGP signature


Re: External HD create different slice on /dev which one i need to mount...?

2006-11-22 Thread Norberto Meijome
On Wed, 22 Nov 2006 17:37:52 -0800
perikillo <[EMAIL PROTECTED]> wrote:

> mount /dev/da0s1 /ext
this is the slice, dont use it
> mount /dev/da0s1c /ext
this is the raw partition, DONT use c - ever, unless u really (think you) know
what you are doing 

> mount /dev/da0s1d /ext

bing

> 
> Always: WARNING: /ext was not properly dismounted
> 
> Any idea about this...?

yes, last time you mounted da0s1d , u didnt unmounted it cleanly. Before you
mount, you should run fsck -p on it:
(as root, or with sudo)

fsck -p -t ufs /dev/da0s1d


> 
> Im using FreeBSD 6.1-p10, my machine has 6 USB ports i have been testing
> with all and the same message.

of course, it is nothing to do with the usb itself, it's a filesystem issue.
_
{Beto|Norberto|Numard} Meijome

"The music business is a cruel and shallow money trench, a long plastic hallway
where thieves and pimps run free, and good men die like dogs. There's also a
negative side." Hunter S. Thompson

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Mount and repair HD?

2006-11-22 Thread Norberto Meijome
On Wed, 22 Nov 2006 14:22:24 -0800 (PST)
David Horis <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> A Snap Server 1100 just died on me... (Single drive, FreeBSD-based, I
> think...)
> 
> I think it's not HD related as I can't even get into to the hardware/bios
> reset mode.
> 
> Have you folks ever heard of anyone opening one of these things up and
> mounting the drive on a regular PC?
> 
> Since the drive probably has some coruption, due to the MB/OS crash, how
> would I go about fixing those before I mount the drive and try to copy off
> the files?
> 
> Since I am not familiar with *nix, can someone point me to a walk through on
> this?   (Is there a FreeBSD live CD I could use?)

Hi there,
I'm not sure about the 1100, but the 4500 run Linux inside ( 4 drives though).
definitely nothing fancy inside ( i actually reused one of them for a mail
server using gentoo, as fbsd would not like the IDE controllers )..

I would just give the HD a try in some other box... 

if you want  a fbsd live cd, try freesbie.org

good luck
_
{Beto|Norberto|Numard} Meijome

"Always do right.  This will gratify some and astonish the rest."
  Mark Twain

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: processes not getting fair share of available disk I/O (was: Re: TCP parameters and interpreting tcpdump output )

2006-11-22 Thread Dieter
In message <[EMAIL PROTECTED]>, Kris Kennaway writes:
> 
> --mP3DRpeJDSE+ciuQ
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
> 
> On Wed, Nov 22, 2006 at 11:02:54AM +, Dieter wrote:
> > In message <[EMAIL PROTECTED]>, Kris Kennaway wri=
> tes:
> >=20
> > > > > I'm surprised that you're seeing that much of a "hang".  Even if th=
> e di=3D
> > > sks
> > > > > are busy, the system should slow down all disk processes equally, s=
> o no
> > > > > one process "blocks", but they're all a little slower.
> > > >=3D20
> > > > I collected a bit of data:
> > > >=3D20
> > > > While copying a large file from disk1 to disk2,
> > > >=3D20
> > > > time ls on a small directory on disk3 (not cached in memory)
> > > >=3D20
> > > > real0m0.032s
> > > > user0m0.000s
> > > > sys 0m0.003s
> > > >=3D20
> > > > time ls on a small directory on disk2
> > > >=3D20
> > > > real4m51.911s
> > > > user0m0.000s
> > > > sys 0m0.002s
> > > >=3D20
> > > > I expect access to a busy disk to take longer, but 5 minutes is
> > > > a bit much.  And that's the root directory of the filesystem,
> > > > it didn't have to follow a long chain of directories to get there.
> > > >=3D20
> > > > Sometimes I see long delays when accessing disk3, but it is
> > > > behaving at the moment.
> > >=20
> > > ls still has to acquire a number of locks in order to be sure that the
> > > contents of the directory aren't changing.  If there are lots of other
> > > processes all competing for these locks, it will be slow.  It looks
> > > like that's the case on your system, although details of your workload
> > > have been trimmed from your email.
> >=20
> > In telnet window 1:
> >=20
> > cd /disk1/
> > cp -ip very_big_file /disk2/bar/(the workload)
> >=20
> > In telnet window 2:
> >=20
> > time ls /disk3/foo1/  (make sure time and ls are cached in memory)
> > time ls /disk3/foo2/  (see timing numbers above)
> > time ls /disk2/   (see timing numbers above)
> >=20
> > The /disk2/ directory is small, only contains 3 directories and .snap
> >=20
> > Would the cp into /disk2/bar/ lock the /disk2/ directory?
> 
> It shouldn't do.
> 
> What scheduler are you using?

kern.sched.name: 4BSD
kern.sched.quantum: 10
kern.sched.preemption: 1
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


External HD create different slice on /dev which one i need to mount...?

2006-11-22 Thread perikillo

  Hi people.

  I have one external HD:

umass0: Prolific Technology Inc. Mass Storage Device, rev 2.00/1.00, addr 2
umass0:0:0:-1: Attached to scbus0
(probe0:umass-sim0:0:0:0): error 22
(probe0:umass-sim0:0:0:0): Unretryable Error
pass0 at umass-sim0 bus 0 target 0 lun 0
pass0:  Fixed Direct Access SCSI-0 device
pass0: 40.000MB/s transfers
GEOM: new disk da0
da0 at umass-sim0 bus 0 target 0 lun 0
da0:  Fixed Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 238475MB (488397168 512 byte sectors: 255H 63S/T 30401C)

Ok i setup the HD with sysinstall and format all the disk to UFS2, this is
my entry on /dev

crw-r-  1 root  operator0, 102 Nov 14 16:39 da0
crw-r-  1 root  operator0, 103 Nov 14 16:39 da0s1
crw-r-  1 root  operator0,  86 Nov 14 16:39 da0s1c
crw-r-  1 root  operator0,  87 Nov 14 16:39 da0s1d

Now which one i need to mount each time i need to use this HD...?

I create one mount point, /ext, FreeBSD the first time use /dev/da0s1d, them
if i want to mount that one, it send this message:

WARNING: /ext was not properly dismounted

No metter which one i use, da0s1, da0s1c, da0s1d always send this message,
this is normal...?

mount /dev/da0s1 /ext
mount /dev/da0s1c /ext
mount /dev/da0s1d /ext

Always: WARNING: /ext was not properly dismounted

Any idea about this...?

Im using FreeBSD 6.1-p10, my machine has 6 USB ports i have been testing
with all and the same message.

Thanks all for your time!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problems opening, viewing, and manipulating PRs

2006-11-22 Thread Nick Barkas

Hello
Since around last Friday the 17th, I have been having some difficulty  
working with FreeBSD problem reports. I'm not sure if this has  
something to do with the FreeBSD.org systems being moved that day or  
if it's just a coincidence.


Anyway, I have opened two PRs, ports/105652 three days ago and just  
today ports/105760, that I received no email confirmation upon  
opening, as I have with PRs in the past. I filed them using send-pr,  
and the system they were sent from says in its mail logs that the  
messages were delivered to mx1.freebsd.org successfully. I only found  
the PR numbers by seeing the reports in the archives for the freebsd- 
ports-bugs list. I cannot find them using http://www.freebsd.org/cgi/ 
query-pr.cgi or http://www.freebsd.org/cgi/query-pr-summary.cgi.


Additionally, I've sent I think four emails now to bug- 
[EMAIL PROTECTED] trying to update the audit trail with a patch on  
another PR I opened, ports/105563. I've tried from a couple of  
different systems, and my mail logs again indicate that the messages  
were delivered successfully to mx1.freebsd.org. Earlier on the 17th,  
before I started having any problems, I was able to add a patch on  
yet another PR I have, ports/105560, so this problem is also a new one.


Has anyone else had similar problems like this? Are there any better,  
more effective ways for non-committers to open, view, or manipulate  
PRs than by using send-pr, the web interface on the FreeBSD site, or  
emails to [EMAIL PROTECTED], respectively? Is there somewhere  
better to ask these questions than this list?


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


Re: mntent.h creating problems - compiling gcc4

2006-11-22 Thread Kris Kennaway
On Wed, Nov 22, 2006 at 03:05:04PM -0600, Jamie wrote:
> On Wed, 22 Nov 2006, Kris Kennaway wrote:
> 
> > On Wed, Nov 22, 2006 at 11:37:34AM -0600, Jamie wrote:
> > >
> > >
> > >   Greetings!
> > >
> > >   I am having trouble compiling gcc 4.0.3 on FreeBSD 4.9. The compiler
> > > seems to be referencing mntent.h and the compilation fails with:
> > >
> > > from /usr/include/mntent.h:2,
> > >  from ../../../gcc-4.0.3/libmudflap/mf-hooks2.c:97:
> > > /usr/include/mntent.h:2:20: error: #include nested too deeply
> > >
> > >
> > >   I am compiling this with gcc 2.95 and gnu make 3.80.
> > >
> > >   Does anyone know why it's trying to include mntent.h? From what I've
> > > read, this is a system V header file, so I can't understand why . Are
> > > there any switches I should be passing to make?
> >
> > Why not use the FreeBSD port?
> 
> 
>   Because learning how to use some of the other tools outside the scope of
> the ports tree is kind of interesting, imho. I'd like to learn more about
> gcc and other tools for building software in FreeBSD, even if its just a
> purely academic pursuit.
> 
>   I guess working on a layer lower than the ports collection adds some
> satisfaction to my curiousity.
> 
>   There are those who use their cars solely for transportation, and others
> who enjoy restoring them/taking them apart/modifying them. I think the
> same kind of principles apply. Those just using their vehicles for
> transportation scratch their heads and wonder why anyone would have an
> interest in anything other than hassle free service.

OK, but your car has apparently caught caught fire, and you're
standing right next to a free bus stop :-)

Kris


pgpvWqwayJ6Xc.pgp
Description: PGP signature


Re: processes not getting fair share of available disk I/O (was: Re: TCP parameters and interpreting tcpdump output )

2006-11-22 Thread Kris Kennaway
On Wed, Nov 22, 2006 at 11:02:54AM +, Dieter wrote:
> In message <[EMAIL PROTECTED]>, Kris Kennaway writes:
> 
> > > > I'm surprised that you're seeing that much of a "hang".  Even if the di=
> > sks
> > > > are busy, the system should slow down all disk processes equally, so no
> > > > one process "blocks", but they're all a little slower.
> > >=20
> > > I collected a bit of data:
> > >=20
> > > While copying a large file from disk1 to disk2,
> > >=20
> > > time ls on a small directory on disk3 (not cached in memory)
> > >=20
> > > real0m0.032s
> > > user0m0.000s
> > > sys 0m0.003s
> > >=20
> > > time ls on a small directory on disk2
> > >=20
> > > real4m51.911s
> > > user0m0.000s
> > > sys 0m0.002s
> > >=20
> > > I expect access to a busy disk to take longer, but 5 minutes is
> > > a bit much.  And that's the root directory of the filesystem,
> > > it didn't have to follow a long chain of directories to get there.
> > >=20
> > > Sometimes I see long delays when accessing disk3, but it is
> > > behaving at the moment.
> > 
> > ls still has to acquire a number of locks in order to be sure that the
> > contents of the directory aren't changing.  If there are lots of other
> > processes all competing for these locks, it will be slow.  It looks
> > like that's the case on your system, although details of your workload
> > have been trimmed from your email.
> 
> In telnet window 1:
> 
> cd /disk1/
> cp -ip very_big_file /disk2/bar/  (the workload)
> 
> In telnet window 2:
> 
> time ls /disk3/foo1/  (make sure time and ls are cached in memory)
> time ls /disk3/foo2/  (see timing numbers above)
> time ls /disk2/   (see timing numbers above)
> 
> The /disk2/ directory is small, only contains 3 directories and .snap
> 
> Would the cp into /disk2/bar/ lock the /disk2/ directory?

It shouldn't do.

What scheduler are you using?

Kris


pgpUF1nLXpAMm.pgp
Description: PGP signature


RAID

2006-11-22 Thread Office of CEO- rithy4u.NET
Does FreeBSD support newer SATA RAID Controller? What software to make 
RAID 1? or someone know which SATA RAID Controller can support hardware 
mirror?


--
*Rithy Ray, RCSA*
Chief Executive Officer
Web: www.rithy4u.net 
Email: [EMAIL PROTECTED] 
Phone: (855) 12 403 001

--
This message has been scanned for viruses and
dangerous content by rithy4uSpamAppliance, and is
believed to be clean.

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


RE: Mount and repair HD?

2006-11-22 Thread David Horis
Hi,

Thanks for the tip.  What iso should I get from the freebsd.org site? (5.5 or 
6.1?)

The warranty is long expired on this device... I've just popped it open... 
Looks like it's powered by a Pentium 166. (w/MMX! :) )

I seriously doubt it will act as a boot drive in a PC, as it seems some of the 
boot code is in NV ram.

Since I am new to *nix, can someone describe the exact command I need to run in 
order to:

1) Boot the computer w/FreeBSD
2) Figure out if the drive is viewable, and what it is named.
2) Check the drive for errors.
3) Determine what partition on the drive has my data.
4) Copy the data over to a different drive. (Preferably via the network... SMB )

Thank you again,
David

"Tamouh H." <[EMAIL PROTECTED]> wrote:  
> 
> Hello,
> 
> A Snap Server 1100 just died on me... (Single drive, 
> FreeBSD-based, I think...)
> 
> I think it's not HD related as I can't even get into to the 
> hardware/bios reset mode.
> 
> Have you folks ever heard of anyone opening one of these 
> things up and mounting the drive on a regular PC?
> 
> Since the drive probably has some coruption, due to the MB/OS 
> crash, how would I go about fixing those before I mount the 
> drive and try to copy off the files?
> 
> Since I am not familiar with *nix, can someone point me to a 
> walk through on this?   (Is there a FreeBSD live CD I could use?)
> 
> 
> Thanks,
> David
> 
>  
> -
> Everyone is raving about the all-new Yahoo! Mail beta.

These use regular IDE drives so you can plug them to any PC (Note, you're 
voiding the warranty if you open the box).

If FreeBSD OS is installed on them, the first thing I'd do is try to boot from 
the HD unless a custom kernel was made.

If this is not bootable drive, just UFS file system, then use FreeBSD Boot CD 
off freebsd.org to boot the thing and mount the drive according to what the 
drive is named

e.g. mount /dev/ad1s1a /

Good luck!

Tamouh


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


 
-
Want to start your own business? Learn how on Yahoo! Small Business.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Password Security

2006-11-22 Thread

On 11/22/06, VeeJay <[EMAIL PROTECTED]> wrote:

Thanks Jeff...

But does this encryption affects on Disk Speed or Performance for Data
Access/Read/Write?


On 11/22/06, Jeff Hinrichs - DM&T <[EMAIL PROTECTED]> wrote:
> Although I haven't used either, gbde and geli are possible methods.
>
>
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-encrypting.html
>

As I stated before, I haven't used either so I am in no way an
authoritative source, but in general anytime you do additional
processing in the data channel, some penalty is going to be incurred.
I am sure there are things that can be done to mitigate this penalty
to a degree (i.e. offloading encryption operations to an add-in card)
but only you can be the judge if the trade off is a good one.

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


RE: ICH7 SATA RAID (LSI MegaRAID)

2006-11-22 Thread Tamouh H.
 
> 
> Hello!
> 
> I've bought a small server with Intel SE7230NH1 motherboard, 
> which incorporates the ICH7 SATA RAID controller. Using the 
> LSI BIOS utility, I created a RAID1 array of two disks and 
> installed FreeBSD 6.2-RC1
> (amd64) on it.
> 
> atapci1:  port 
> 0x30c8-0x30cf,0x30e4-0x30e7,0x30c0-0x30c7,0x30e0-0x30e3,0x30a0-0x30af
> mem 0x8820-0x882003ff irq 19 at device 31.2 on pci0
> atapci1: AHCI Version 01.10 controller with 4 ports detected
> ata2:  on atapci1
> ata3:  on atapci1
> ata4:  on atapci1
> ata5:  on atapci1
> ad4: 476940MB  at ata2-master SATA300
> ad6: 476940MB  at ata3-master SATA300
> ar0: 476772MB  status: READY
> ar0: disk0 READY (master) using ad4 at ata2-master
> ar0: disk1 READY (mirror) using ad6 at ata3-master
> 
> This server has a hot-swap drive cage that allows you to 
> power off individual drives. I simulated a drive failure by 
> powering off one of the drives. This resulted in console message:
> 
> ar0: warning: mirror protection lost. RAID1 array in DEGRADED mode.
> ar0: writing of LSILogic v3 MegaRAID metadata is NOT supported yet.
> subdisk6: detached
> ad6: detached
> 
> OK, the disk went away. This is witnessed by atacontrol:
> # atacontrol status ar0
> ar0: ATA RAID1 subdisks: ad4 DOWN status DEGRADED
> 
> Now, I power the disk on again. This brings on the following 
> console message.
> 
> ad6: 476940MB  at ata3-master SATA300
> 
> The array status is still degraded, as shown by atacontrol:
> #atacontrol status ar0
> ar0: ATA RAID1 subdisks: ad4 ad6 status: DEGRADED
> 
> OK, so I think I need to rebuild the array, but this doesn't succeed:
> #atacontrol rebuild ar0
> IOCATARAIDREBUILD: Input/Output error.
> 
> When I reboot the server, it comes back up with the array at 
> READY status immediately. Maybe this is because I have "Auto 
> rebuild" set to "Yes" in BIOS. But is there any way to 
> recover from this kind of failure without rebooting? Are my 
> problems caused merely by the fact that "writing of LSILogic 
> v3 MegaRAID metadata is NOT supported yet", or am I doing 
> something wrong? Or maybe this is the problem that exists only in
> amd64 version and not in i386?
> 
> Thanks in advance,
> --
> Toomas
> 

>From experience, with these Software RAID, once you remove a disk, you'll have 
>to format it before you put the disk back in. Otherwise, this will cause 
>problems as the SW RAID will read the RAID part from the disk and think it is 
>working properly.

Do your test by removing the Disk, then format it completely, insert it back. 
Or plug a new HDD in its place.

Tamouh


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


ICH7 SATA RAID (LSI MegaRAID)

2006-11-22 Thread Toomas Aas

Hello!

I've bought a small server with Intel SE7230NH1 motherboard, which 
incorporates the ICH7 SATA RAID controller. Using the LSI BIOS utility, 
I created a RAID1 array of two disks and installed FreeBSD 6.2-RC1 
(amd64) on it.


atapci1:  port 
0x30c8-0x30cf,0x30e4-0x30e7,0x30c0-0x30c7,0x30e0-0x30e3,0x30a0-0x30af 
mem 0x8820-0x882003ff irq 19 at device 31.2 on pci0

atapci1: AHCI Version 01.10 controller with 4 ports detected
ata2:  on atapci1
ata3:  on atapci1
ata4:  on atapci1
ata5:  on atapci1
ad4: 476940MB  at ata2-master SATA300
ad6: 476940MB  at ata3-master SATA300
ar0: 476772MB  status: READY
ar0: disk0 READY (master) using ad4 at ata2-master
ar0: disk1 READY (mirror) using ad6 at ata3-master

This server has a hot-swap drive cage that allows you to power off 
individual drives. I simulated a drive failure by powering off one of 
the drives. This resulted in console message:


ar0: warning: mirror protection lost. RAID1 array in DEGRADED mode.
ar0: writing of LSILogic v3 MegaRAID metadata is NOT supported yet.
subdisk6: detached
ad6: detached

OK, the disk went away. This is witnessed by atacontrol:
# atacontrol status ar0
ar0: ATA RAID1 subdisks: ad4 DOWN status DEGRADED

Now, I power the disk on again. This brings on the following console 
message.


ad6: 476940MB  at ata3-master SATA300

The array status is still degraded, as shown by atacontrol:
#atacontrol status ar0
ar0: ATA RAID1 subdisks: ad4 ad6 status: DEGRADED

OK, so I think I need to rebuild the array, but this doesn't succeed:
#atacontrol rebuild ar0
IOCATARAIDREBUILD: Input/Output error.

When I reboot the server, it comes back up with the array at READY 
status immediately. Maybe this is because I have "Auto rebuild" set to 
"Yes" in BIOS. But is there any way to recover from this kind of failure 
without rebooting? Are my problems caused merely by the fact that 
"writing of LSILogic v3 MegaRAID metadata is NOT supported yet", or am I 
doing something wrong? Or maybe this is the problem that exists only in 
amd64 version and not in i386?


Thanks in advance,
--
Toomas



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


Re: Gnome display configuration problem

2006-11-22 Thread Frank Shute
On Wed, Nov 22, 2006 at 04:51:24PM -0500, Gary Robinson wrote:
>
> 
> Frank,
> 
> Thanks for your suggestion:
> 
> >> Try replacing your screen section with something like this:
> >> 
> >> Section "Screen"
> >> Identifier "Screen0"
> >> Device "Card0"
> >> Monitor"Monitor0"
> >> DefaultColorDepth 24
> >> 
> >> 
> >> SubSection "Display"
> >> Depth   24
> >> Modes   "1280x1024" "1152x864" "1024x768" "640x480"
> >> ViewPort0 0
> >> EndSubSection
> >> EndSection
> 
> I did that, and unfortunately it made no difference at all! I'm still 
> only seeing 640x480, and that's the only option that comes up in the 
> Screen Resolution Preferences panel. Actually the thing that bothers me 
> more is the 60 hz refresh rate. That's too slow and hurts my eyes!
> 
> Any other suggestions???
> 

Gary,

All I can think of (being unfamiliar with Gnome) is that the graphics
card isn't up to displaying 1280x1024 at 24 bits. Or you haven't copied
xorg.conf.new to /etc/X11/xorg.conf and it's picking up a stale
xorg.conf.

Try changing the following parameters:

 DefaultColorDepth 8
 Depth  8
 Modes  "1024x768"

in /etc/X11/xorg.conf and restart X/Gnome. If it works then add higher
resolutions and colour depths until you achieve a satisfactory result.

You can also try starting X bare:

Xorg -config /etc/X11/xorg.conf

Ctl+Alt+Backspace to kill it. That will determine whether it's an X
problem or a Gnome problem.


-- 

 Frank 


echo "f r a n k @ e s p e r a n c e - l i n u x . c o . u k" | sed 's/ //g'

  --->PGP keyID: 0x10BD6F4B<---  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Mount and repair HD?

2006-11-22 Thread Tamouh H.
 
> 
> Hello,
> 
> A Snap Server 1100 just died on me... (Single drive, 
> FreeBSD-based, I think...)
> 
> I think it's not HD related as I can't even get into to the 
> hardware/bios reset mode.
> 
> Have you folks ever heard of anyone opening one of these 
> things up and mounting the drive on a regular PC?
> 
> Since the drive probably has some coruption, due to the MB/OS 
> crash, how would I go about fixing those before I mount the 
> drive and try to copy off the files?
> 
> Since I am not familiar with *nix, can someone point me to a 
> walk through on this?   (Is there a FreeBSD live CD I could use?)
> 
> 
> Thanks,
> David
> 
>  
> -
> Everyone is raving about the all-new Yahoo! Mail beta.

These use regular IDE drives so you can plug them to any PC (Note, you're 
voiding the warranty if you open the box).

If FreeBSD OS is installed on them, the first thing I'd do is try to boot from 
the HD unless a custom kernel was made.

If this is not bootable drive, just UFS file system, then use FreeBSD Boot CD 
off freebsd.org to boot the thing and mount the drive according to what the 
drive is named

e.g. mount /dev/ad1s1a /

Good luck!

Tamouh


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


Re: Does disk encryption causes a performance penalty for Data Access/Read/Write, etc

2006-11-22 Thread Andrea Venturoli

VeeJay wrote:

Hi

Does *disk encryption* causes a *performance* penalty for Data
Access/Read/Write, etc?



*Yes*.
If your disk is faster than your CPU, I/O will slowdown.

I've seen an Athlon64 4200+ use up to 90% of its computing power just to 
transfer files from an NFS server to a local SATA disk.
In case the CPU was less powerful, or otherwise busy doing something 
else, total throughput would have decreased.


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


RE: additional processor in IBM xSeries

2006-11-22 Thread Tamouh H.
 
> 
> Hi,
> 
> I have an IBM xSeries 225 with two-processor motherboard, 
> currently with only one Intel Xeon 2.4 GHz. OS is 6.1p10, 
> otherwise is this an apache22-mysql50-php5 web server.
> 
> I would like to add an additional, second Intel Xeon 2.4 GHz. 
> Do I have to change anything in OS, kernel, etc, before this 
> step or can I just plug in the additional proc and thats it?
> 
> --
> Kind regards, Marko Kobal.
> ___

Recompile Kernel with SMP option (check /usr/src/sys/i386/conf/SMP) 

Tamouh


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


Mount and repair HD?

2006-11-22 Thread David Horis
Hello,

A Snap Server 1100 just died on me... (Single drive, FreeBSD-based, I think...)

I think it's not HD related as I can't even get into to the hardware/bios reset 
mode.

Have you folks ever heard of anyone opening one of these things up and mounting 
the drive on a regular PC?

Since the drive probably has some coruption, due to the MB/OS crash, how would 
I go about fixing those before I mount the drive and try to copy off the files?

Since I am not familiar with *nix, can someone point me to a walk through on 
this?   (Is there a FreeBSD live CD I could use?)


Thanks,
David

 
-
Everyone is raving about the all-new Yahoo! Mail beta.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: package dependencies

2006-11-22 Thread Boris Samorodov
On Wed, 22 Nov 2006 14:23:03 -0800 Brian wrote:

> Is there a way to tell either portupgrade or make install in a ports
> folder to use a package for dependencies, even if one isn't available
> for port/package I'm installing/upgrading?

May be you need a command "portupgrade -RPP"?


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


package dependencies

2006-11-22 Thread Brian
Is there a way to tell either portupgrade or make install in a ports 
folder to use a package for dependencies, even if one isn't available 
for port/package I'm installing/upgrading?


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


Re: Gnome display configuration problem

2006-11-22 Thread Gary Robinson

Frank,

Thanks for your suggestion:

>> Try replacing your screen section with something like this:
>> 
>> Section "Screen"
>> Identifier "Screen0"
>> Device "Card0"
>> Monitor"Monitor0"
>> DefaultColorDepth 24
>> 
>> 
>> SubSection "Display"
>> Depth   24
>> Modes   "1280x1024" "1152x864" "1024x768" "640x480"
>> ViewPort0 0
>> EndSubSection
>> EndSection

I did that, and unfortunately it made no difference at all! I'm still 
only seeing 640x480, and that's the only option that comes up in the 
Screen Resolution Preferences panel. Actually the thing that bothers me 
more is the 60 hz refresh rate. That's too slow and hurts my eyes!

Any other suggestions???

Thanks,
Gary


-- 

Gary Robinson
CTO
Emergent Music, LLC
[EMAIL PROTECTED]
207-942-3463
Company: http://www.goombah.com
Blog:http://www.garyrobinson.net

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


Re: processes not getting fair share of available disk I/O (was: Re: TCP parameters and interpreting tcpdump output )

2006-11-22 Thread Dieter
In message <[EMAIL PROTECTED]>, Kris Kennaway writes:

> > > I'm surprised that you're seeing that much of a "hang".  Even if the di=
> sks
> > > are busy, the system should slow down all disk processes equally, so no
> > > one process "blocks", but they're all a little slower.
> >=20
> > I collected a bit of data:
> >=20
> > While copying a large file from disk1 to disk2,
> >=20
> > time ls on a small directory on disk3 (not cached in memory)
> >=20
> > real0m0.032s
> > user0m0.000s
> > sys 0m0.003s
> >=20
> > time ls on a small directory on disk2
> >=20
> > real4m51.911s
> > user0m0.000s
> > sys 0m0.002s
> >=20
> > I expect access to a busy disk to take longer, but 5 minutes is
> > a bit much.  And that's the root directory of the filesystem,
> > it didn't have to follow a long chain of directories to get there.
> >=20
> > Sometimes I see long delays when accessing disk3, but it is
> > behaving at the moment.
> 
> ls still has to acquire a number of locks in order to be sure that the
> contents of the directory aren't changing.  If there are lots of other
> processes all competing for these locks, it will be slow.  It looks
> like that's the case on your system, although details of your workload
> have been trimmed from your email.

In telnet window 1:

cd /disk1/
cp -ip very_big_file /disk2/bar/(the workload)

In telnet window 2:

time ls /disk3/foo1/  (make sure time and ls are cached in memory)
time ls /disk3/foo2/  (see timing numbers above)
time ls /disk2/   (see timing numbers above)

The /disk2/ directory is small, only contains 3 directories and .snap

Would the cp into /disk2/bar/ lock the /disk2/ directory?
IIRC the cp was still running after the ls completed.

Other than the cp and ls, the machine should have been idle.
None of the three disks have /, /usr, /var, /home or similar
filesystems likely to have stray I/O.  The crontab directory
is empty.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Advice please

2006-11-22 Thread Old Ranger
Hello to all,
I just ordered DSL from my phone service (and ISP) provider.
I have a Dell dual core laptop enroute, with "extras".

The advice I'd like, is some "do's" and "don'ts" when switching from
dial-up to DSL with FreeBSD.

What are the pitfalls?  I'd like to avoid as many as possible.

Regards,

###
Pastor Z. Wade Hampton
www.oldpathsbaptistchurch.org

"Only Saints and Warriors are allowed in
 my world now; and forever" ZWH 1998
___

Webmail access:
www.oldpathsbaptistchurch.org/webmail

###

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


Re: Upgrade Question

2006-11-22 Thread Jerry McAllister
On Wed, Nov 22, 2006 at 09:05:13PM -, Graham Bentley wrote:

> >You've confused STABLE with RELEASE.  6.2 has not reached RELEASE.  
> >6-STABLE is the latest "these changes worked fine in CURRENT (right now, 
> >aka 7) and have been MFCed (merged from current) so that more people can 
> >try them out", which right now corresponds to the version of FreeBSDthat  
> >is just about to be released which also happens to be called6.2-RC1  
> >(release candidate 1)).  When 6.2 is ready to go, a new RELEASEbranch is  
> >created (6.2-RELEASE) which only gets security fixes.
> 
> So, if I want the 'latest version' that 'isnt a work in progress' (or at  
> least tested
> to the point where it is know to be working correctly in the majority of  
> scenarios)
> always use the RELEASE branches ?

Then use something likeRELENG_6   or   RELENG_6_1

That will get you the release plus security updates.
I think the RELENG_6 will include stuff from 6.2 as soon as it
is merged.

jerry

> ___
> 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: mntent.h creating problems - compiling gcc4

2006-11-22 Thread Michael Johnson

On 11/22/06, Jamie <[EMAIL PROTECTED]> wrote:

On Wed, 22 Nov 2006, Kris Kennaway wrote:

> On Wed, Nov 22, 2006 at 11:37:34AM -0600, Jamie wrote:
> >
> >
> >   Greetings!
> >
> >   I am having trouble compiling gcc 4.0.3 on FreeBSD 4.9. The compiler
> > seems to be referencing mntent.h and the compilation fails with:
> >
> > from /usr/include/mntent.h:2,
> >  from ../../../gcc-4.0.3/libmudflap/mf-hooks2.c:97:
> > /usr/include/mntent.h:2:20: error: #include nested too deeply
> >
> >
> >   I am compiling this with gcc 2.95 and gnu make 3.80.
> >
> >   Does anyone know why it's trying to include mntent.h? From what I've
> > read, this is a system V header file, so I can't understand why . Are
> > there any switches I should be passing to make?
>
> Why not use the FreeBSD port?


  Because learning how to use some of the other tools outside the scope of
the ports tree is kind of interesting, imho. I'd like to learn more about
gcc and other tools for building software in FreeBSD, even if its just a
purely academic pursuit.

  I guess working on a layer lower than the ports collection adds some
satisfaction to my curiousity.



You could always look in ports to see what configure flags,
patches, or any other changes needed to compile on FreeBSD.


  There are those who use their cars solely for transportation, and others
who enjoy restoring them/taking them apart/modifying them. I think the
same kind of principles apply. Those just using their vehicles for
transportation scratch their heads and wonder why anyone would have an
interest in anything other than hassle free service.






>
> Kris
>

The Moon is Waxing Crescent (4% of Full)
___
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: mntent.h creating problems - compiling gcc4

2006-11-22 Thread Jamie
On Wed, 22 Nov 2006, Kris Kennaway wrote:

> On Wed, Nov 22, 2006 at 11:37:34AM -0600, Jamie wrote:
> >
> >
> >   Greetings!
> >
> >   I am having trouble compiling gcc 4.0.3 on FreeBSD 4.9. The compiler
> > seems to be referencing mntent.h and the compilation fails with:
> >
> > from /usr/include/mntent.h:2,
> >  from ../../../gcc-4.0.3/libmudflap/mf-hooks2.c:97:
> > /usr/include/mntent.h:2:20: error: #include nested too deeply
> >
> >
> >   I am compiling this with gcc 2.95 and gnu make 3.80.
> >
> >   Does anyone know why it's trying to include mntent.h? From what I've
> > read, this is a system V header file, so I can't understand why . Are
> > there any switches I should be passing to make?
>
> Why not use the FreeBSD port?


  Because learning how to use some of the other tools outside the scope of
the ports tree is kind of interesting, imho. I'd like to learn more about
gcc and other tools for building software in FreeBSD, even if its just a
purely academic pursuit.

  I guess working on a layer lower than the ports collection adds some
satisfaction to my curiousity.

  There are those who use their cars solely for transportation, and others
who enjoy restoring them/taking them apart/modifying them. I think the
same kind of principles apply. Those just using their vehicles for
transportation scratch their heads and wonder why anyone would have an
interest in anything other than hassle free service.






>
> Kris
>

The Moon is Waxing Crescent (4% of Full)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Upgrade Question

2006-11-22 Thread Graham Bentley
You've confused STABLE with RELEASE.  6.2 has not reached RELEASE.  
6-STABLE is the latest "these changes worked fine in CURRENT (right now, 
aka 7) and have been MFCed (merged from current) so that more people can 
try them out", which right now corresponds to the version of FreeBSDthat  
is just about to be released which also happens to be called6.2-RC1  
(release candidate 1)).  When 6.2 is ready to go, a new RELEASEbranch is  
created (6.2-RELEASE) which only gets security fixes.


So, if I want the 'latest version' that 'isnt a work in progress' (or at  
least tested
to the point where it is know to be working correctly in the majority of  
scenarios)

always use the RELEASE branches ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: firefox build error

2006-11-22 Thread Drew Sanford

Lowell Gilbert wrote:

Laurence Sanford <[EMAIL PROTECTED]> writes:


Firefox build from ports is exiting with this error:

cc -o gtk2xtbin.o -c  -DMOZILLA_INTERNAL_API -DOSTYPE=\"FreeBSD6\"
-DOSARCH=\"FreeBSD\" -DBUILD_ID=00 -D_IMPL_GTKXTBIN_API
-DUSE_XIM  -I../../../dist/include/xpcom
-I../../../dist/include/gtkxtbin -I../../../dist/include
-I/usr/local/include/nspr -I/usr/local/include -I/usr/local/include
-I/usr/include -I../../../dist/sdk/include -I.  -I/usr/X11R6/include
-fPIC -I/usr/X11R6/include  -I/usr/X11R6/include  -I/usr/X11R6/include
-Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -O2
-fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -O2 -pipe
-DNDEBUG -DTRIMMED -O2 -DXTHREADS -DXUSE_MTSAFE_API
-I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include
-I/usr/local/include/atk-1.0 -I/usr/local/include/cairo
-I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include
-I/usr/local/include/freetype2 -I/usr/local/include
-I/usr/X11R6/include  -I/usr/X11R6/include  -I/usr/X11R6/include
-include ../../../mozilla-config.h -DMOZILLA_CLIENT gtk2xtbin.c
In file included from gtk2xtbin.h:44,
 from gtk2xtbin.c:46:
/usr/X11R6/include/X11/Intrinsic.h:1181: error: syntax error before
"_X_SENTINEL"
/usr/X11R6/include/X11/Intrinsic.h:1325: error: syntax error before
"_X_SENTINEL"
/usr/X11R6/include/X11/Intrinsic.h:1392: error: syntax error before
"_X_SENTINEL"
/usr/X11R6/include/X11/Intrinsic.h:1399: error: syntax error before
"_X_SENTINEL"
/usr/X11R6/include/X11/Intrinsic.h:1423: error: syntax error before
"_X_SENTINEL"
/usr/X11R6/include/X11/Intrinsic.h:1475: error: syntax error before
"_X_SENTINEL"
/usr/X11R6/include/X11/Intrinsic.h:1498: error: syntax error before
"_X_SENTINEL"
/usr/X11R6/include/X11/Intrinsic.h:1572: error: syntax error before
"_X_SENTINEL"
/usr/X11R6/include/X11/Intrinsic.h:1593: error: syntax error before
"_X_SENTINEL"
/usr/X11R6/include/X11/Intrinsic.h:1604: error: syntax error before
"_X_SENTINEL"
/usr/X11R6/include/X11/Intrinsic.h:1615: error: syntax error before
"_X_SENTINEL"
/usr/X11R6/include/X11/Intrinsic.h:1630: error: syntax error before
"_X_SENTINEL"
/usr/X11R6/include/X11/Intrinsic.h:1645: error: syntax error before
"_X_SENTINEL"
gtk2xtbin.c:188: warning: initialization from incompatible pointer type
gtk2xtbin.c: In function `xt_client_create':
gtk2xtbin.c:566: warning: implicit declaration of function
XtVaCreateWidget'
gtk2xtbin.c:568: warning: assignment makes pointer from integer
without a cast
gmake[2]: *** [gtk2xtbin.o] Error 1
gmake[2]: Leaving directory
/usr/ports/www/firefox/work/mozilla/widget/src/gtkxtbin'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2

Stop in /usr/ports/www/firefox.

I figure something is out of date, but I've updated xorg and gtk20 and
I'm still getting this. Any pointers? Thanks in advance.


Did you do the Gnome-stuff update described in UPDATING last month?


No, I didn't. Of course, another box I have running 6.1 that is only a 
few days different version of the same software did not exhibit this 
problem. I performed the command indicated in UPDATING, and tried again. 
It failed with the same error. If it helps any, I'm getting exactly the 
same error trying to upgrade Thunderbird, and both the firefox and the 
firefox15 port give this error.

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


Re: Gnome display configuration problem

2006-11-22 Thread Frank Shute
On Wed, Nov 22, 2006 at 02:00:43PM -0500, Gary Robinson wrote:
>
> Hi,
> 
> Yesterday I installed freebsd 6.1 on an old Dell PowerEdge 1300. It's 
> working fine with one exception. I installed gnome from freebsd ports, 
> and it's giving me a 640x480, 80 Hz screen resolution. The Screen 
> Resolution Preferences panel gives that combination as the only option. 
> But my monitor has better capabilities.
> 
> I have edited my xorg.conf.new so that it contains info describing my 
> display, a Nanoa T2-17TS:
> 
> Section "Monitor"
>   DisplaySize   1250  938 # mm
>   Identifier   "Monitor0"
>   VendorName   "Nanoa"
>   ModelName"T2-17TS"
>   Option  "DPMS"
> HorizSync   30-86
> VertRefresh 55-160
> EndSection
> 
> Other relevant information was automatically filled in be "Xorg -config 
> xorg.conf.new":
> 
> Section "Device"
> ### Available Driver options are:-
> ### Values: : integer, : float, : "True"/"False",
> ### : "String", : " Hz/kHz/MHz"
> ### [arg]: arg optional
> #Option "accel"   # []
> #Option "crt_display" # []
> #Option "composite_sync"  # []
> #Option "hw_cursor"   # []
> #Option "linear"  # []
> #Option "tv_out"  # []
> #Option "tv_standard" # 
> #Option "mmio_cache"  # []
> #Option "test_mmio_cache" # []
> #Option "panel_display"   # []
> #Option "probe_clocks"# []
> #Option "reference_clock" # 
> #Option "shadow_fb"   # []
> #Option "sw_cursor"   # []
>   Identifier  "Card0"
>   Driver  "ati"
>   VendorName  "ATI"
>   BoardName   "3D Rage IIC AGP"
>   ChipSet "ati"
>   ChipId  0x4757
>   ChipRev 0x7a
>   BusID   "PCI:1:0:0"
> EndSection
> 
> Section "Screen"
>   Identifier "Screen0"
>   Device "Card0"
>   Monitor"Monitor0"
>   SubSection "Display"
>   Viewport   0 0
>   Depth 1
>   EndSubSection
>   SubSection "Display"
>   Viewport   0 0
>   Depth 4
>   EndSubSection
>   SubSection "Display"
>   Viewport   0 0
>   Depth 8
>   EndSubSection
>   SubSection "Display"
>   Viewport   0 0
>   Depth 15
>   EndSubSection
>   SubSection "Display"
>   Viewport   0 0
>   Depth 16
>   EndSubSection
>   SubSection "Display"
>   Viewport   0 0
>   Depth 24
>   EndSubSection
> EndSection
> 
> Does anyone have any thoughts about what I can do so that Gnome gives 
> me more options?
> 
> Any help would be appreciated.

Try replacing your screen section with something like this:

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"Monitor0"
DefaultColorDepth 24


SubSection "Display"
Depth   24
Modes   "1280x1024" "1152x864" "1024x768" "640x480"
ViewPort0 0
EndSubSection
EndSection

Swap the Modes order to find something comfortable. 1280x1024 might be a bit
uncomfortable (small text). Or you might be able to toggle through the
modes in Gnome.

-- 

 Frank 


echo "f r a n k @ e s p e r a n c e - l i n u x . c o . u k" | sed 's/ //g'

  --->PGP keyID: 0x10BD6F4B<---  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Opera > Cups > Print!

2006-11-22 Thread Beni
On Wednesday 22 November 2006 01:49, Graham Bentley wrote:
> Anyone got this working?
>
> Firefox and other apps all printing fine :)
>
> Tried Opera advice and googled about
> to no avail  Thanks !

I'm using KDE and had to put the following in the Printer Program-tab from the 
Print-menu in Opera :
Program : kprinter
Parameter : -stdin (mind the "dash")

This opens the standard kde-printing window where you can choose your 
installed printer from.

You should check the freebsd-questions archives, I believe there was an 
similar answar for printing with opera under gnome.

Hope this helps,

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


Re: mntent.h creating problems - compiling gcc4

2006-11-22 Thread Kris Kennaway
On Wed, Nov 22, 2006 at 11:37:34AM -0600, Jamie wrote:
> 
> 
>   Greetings!
> 
>   I am having trouble compiling gcc 4.0.3 on FreeBSD 4.9. The compiler
> seems to be referencing mntent.h and the compilation fails with:
> 
> from /usr/include/mntent.h:2,
>  from ../../../gcc-4.0.3/libmudflap/mf-hooks2.c:97:
> /usr/include/mntent.h:2:20: error: #include nested too deeply
> 
> 
>   I am compiling this with gcc 2.95 and gnu make 3.80.
> 
>   Does anyone know why it's trying to include mntent.h? From what I've
> read, this is a system V header file, so I can't understand why . Are
> there any switches I should be passing to make?

Why not use the FreeBSD port?

Kris


pgpZHBctfZPZD.pgp
Description: PGP signature


Re: Big external drives - which filesystem?

2006-11-22 Thread Ivan Levchenko

There is a UFS2 driver for Windows, google on it and you are sure to
find it. (There are also ext2/3 drivers for Windows if you prefer that
one.)

I use ext2 on my usb pen drive and it works great under windows.

On 11/16/06, Chris Hastie <[EMAIL PROTECTED]> wrote:

I've just acquired a Western Digital 200GB USB 2 external HDD. After
some initial glitches my FreeBSD 5.4-RELEASE machine seems to recognise
it fine.

It comes pre-formatted with a single FAT32 file system (although
confusingly there is a note in the manual about FAT32 not supporting
partitions >32 GB and suggesting you change it to NTFS).

Attempting to mount this hits the "mountmsdosfs(); disk too big, sorry"
problem.

The primary intended use for this drive is for off-site backups, but it
would be useful if it was formatted such that I can easily plug it into
Windows boxes to get at files occasionally. What are my best options for
achieving this?

The MSDOSFS_LARGE kernel option seems to come with a lot of warnings and
caveats. Is it really as ropey as it sounds? Is NTFS an option? Or would
I be better partitioning the drive into two FAT32 partitions of < 128GB
each? If I go down that route how does this appear to FreeBSD -
presumably as different slices on da0 which are mounted separately? Or
am I just asking for trouble using these filesystems and should just
stick to ufs2 and abandon any plans to maintain compatibility with
windows machines?

Thanks for your help.
--
Chris Hastie
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"




--
Best Regards,

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


Gnome display configuration problem

2006-11-22 Thread Gary Robinson
Hi,

Yesterday I installed freebsd 6.1 on an old Dell PowerEdge 1300. It's 
working fine with one exception. I installed gnome from freebsd ports, 
and it's giving me a 640x480, 80 Hz screen resolution. The Screen 
Resolution Preferences panel gives that combination as the only option. 
But my monitor has better capabilities.

I have edited my xorg.conf.new so that it contains info describing my 
display, a Nanoa T2-17TS:

Section "Monitor"
DisplaySize   1250  938 # mm
Identifier   "Monitor0"
VendorName   "Nanoa"
ModelName"T2-17TS"
Option  "DPMS"
HorizSync   30-86
VertRefresh 55-160
EndSection

Other relevant information was automatically filled in be "Xorg -config 
xorg.conf.new":

Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "accel" # []
#Option "crt_display"   # []
#Option "composite_sync"# []
#Option "hw_cursor" # []
#Option "linear"# []
#Option "tv_out"# []
#Option "tv_standard"   # 
#Option "mmio_cache"# []
#Option "test_mmio_cache"   # []
#Option "panel_display" # []
#Option "probe_clocks"  # []
#Option "reference_clock"   # 
#Option "shadow_fb" # []
#Option "sw_cursor" # []
Identifier  "Card0"
Driver  "ati"
VendorName  "ATI"
BoardName   "3D Rage IIC AGP"
ChipSet "ati"
ChipId  0x4757
ChipRev 0x7a
BusID   "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"Monitor0"
SubSection "Display"
Viewport   0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport   0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport   0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport   0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport   0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport   0 0
Depth 24
EndSubSection
EndSection

Does anyone have any thoughts about what I can do so that Gnome gives 
me more options?

Any help would be appreciated.

-- 

Gary Robinson
CTO
Emergent Music, LLC
[EMAIL PROTECTED]
207-942-3463
Company: http://www.goombah.com
Blog:http://www.garyrobinson.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


BTX Loader

2006-11-22 Thread Robert Kellison
I have tried to install Free BSD 6.1 after burning the ISO to CD.   The
loader loads very slowly (on character per 1 or 2 seconds) and finally hangs
up after the line (root @ opu.cse.buffalo.edu ..)  My computer is a Shuttle
XPX SK21G with a Sempron 3100 and a SATA drive.   I am about to give up
after not finding any fixes.   Do you have any solutions?Thank You

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


Re: IPFW & NFS

2006-11-22 Thread Bill Moran
In response to vittorio <[EMAIL PROTECTED]>:

> I have two FreeBSD 6.1 boxes one of which (IP 10.0.0.1) is an NFS server and 
> the other one (IP 10.0.0.2) is, among other things, an NFS client sharing 
> directories with the NFS server.
> It all works correctly and I can mount_nfs all the directories from the 
> server.
> BUT, I'm now trying to use an IPFW firewall both on the server and on the 
> client. My simple aim is to setup connections between the 10.0.0.1 server and 
> the 10.0.0.2 client ** only **; no connections should be possible with other 
> clients!
> Now I've tried the poor documentation I could find googling with the 
> keywords "freebsd ipfw nfs" to no avail, I cannot mount_nfs any share on te 
> client because something goes wrong with RPC.
> Concentrating on the client side (no ipfw for the moment on teh server) I 
> tried the following

NFS is difficult to firewall, as it's not guaranteed to use the same
ports all the time.

The NFS server has options to restrict who can connect, see the man
page for exports.

Othwerwise, Chuck's advice was good.  Additionally, you can debug IPFW
using 'ipfw show', and by inserting "log" statements into your ruleset
to get more useful feedback.

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


check_disk_smb: another nagios problem

2006-11-22 Thread Thierry Lacoste
There is something weird about check_disk_smb from nagios-plugins-1.4.3,1
on FreeBSD 6.1-RELEASE-p10.

From the command line (pwd is /usr/local/libexec/nagios) the switches
work as expected:
# ./check_disk_smb -H 194.214.13.140 -s public -u guest -p ""
Domain=[MIAGE] OS=[Unix] Server=[Samba 3.0.22]
Disk ok - 396M (79%) free on \\194.214.13.140\public

One has the same result without the switches:
./check_disk_smb 194.214.13.140 public guest ""
Domain=[MIAGE] OS=[Unix] Server=[Samba 3.0.22]
Disk ok - 396M (79%) free on \\194.214.13.140\public

But the second form is the only way I can make it work within nagios

define command{
command_namecheck_disk_smb
command_line$USER1$/check_disk_smb $HOSTADDRESS$ public guest ""
}

If I introduce the switches (e.g like below) I have all sorts of errors
(invalid warning threshold, Access denied, etc ...) depending on
the order of the arguments.

define command{
command_namecheck_disk_smb
command_line$USER1$/check_disk_smb -H $HOSTADDRESS$ -s public -u 
guest -p ""
}

Is anybody else seeing this?
Have I done something wrong?

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


Re: IPFW & NFS

2006-11-22 Thread Chuck Swiger

vittorio wrote:
I have two FreeBSD 6.1 boxes one of which (IP 10.0.0.1) is an NFS server and 
the other one (IP 10.0.0.2) is, among other things, an NFS client sharing 
directories with the NFS server.
It all works correctly and I can mount_nfs all the directories from the 
server.
BUT, I'm now trying to use an IPFW firewall both on the server and on the 
client. My simple aim is to setup connections between the 10.0.0.1 server and 
the 10.0.0.2 client ** only **; no connections should be possible with other 
clients!


You should probably use a permit all between .1 and .2, rather than trying to 
use stateful rules with RPC services which will run on arbitrarily chosen ports.


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


mntent.h creating problems - compiling gcc4

2006-11-22 Thread Jamie


  Greetings!

  I am having trouble compiling gcc 4.0.3 on FreeBSD 4.9. The compiler
seems to be referencing mntent.h and the compilation fails with:

from /usr/include/mntent.h:2,
 from ../../../gcc-4.0.3/libmudflap/mf-hooks2.c:97:
/usr/include/mntent.h:2:20: error: #include nested too deeply


  I am compiling this with gcc 2.95 and gnu make 3.80.

  Does anyone know why it's trying to include mntent.h? From what I've
read, this is a system V header file, so I can't understand why . Are
there any switches I should be passing to make?





  Commands I'm running:

mkdir gcc-build
cd gcc-build
../gcc-4.0.3/configure --prefix=/tools --disable-nls --enable-shared
--enable-languages=c

make bootstrap




  - Jamie












The Moon is Waxing Crescent (4% of Full)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


IPFW & NFS

2006-11-22 Thread vittorio
I have two FreeBSD 6.1 boxes one of which (IP 10.0.0.1) is an NFS server and 
the other one (IP 10.0.0.2) is, among other things, an NFS client sharing 
directories with the NFS server.
It all works correctly and I can mount_nfs all the directories from the 
server.
BUT, I'm now trying to use an IPFW firewall both on the server and on the 
client. My simple aim is to setup connections between the 10.0.0.1 server and 
the 10.0.0.2 client ** only **; no connections should be possible with other 
clients!
Now I've tried the poor documentation I could find googling with the 
keywords "freebsd ipfw nfs" to no avail, I cannot mount_nfs any share on te 
client because something goes wrong with RPC.
Concentrating on the client side (no ipfw for the moment on teh server) I 
tried the following

ipfw add 300 allow ip from 10.0.0.1 2049,111,1022 to 10.0.0.2 via fxp0 setup 
keep-state

OR
ipfw add 300 allow ip from 10.0.0.1 to 10.0.0.2  2049,111,1022 via fxp0 setup 
keep-state
  
OR
ipfw add 300 allow ip from 10.0.0.1 2049,111,1022 to me via fxp0 setup 
keep-state

OR
ipfw add 300 allow ip from 10.0.0.1 to me  2049,111,1022 via fxp0 setup 
keep-state

If I disable the firewall it all goes smootly.

Could you please help me?

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


Re: To which port GPG belongs?

2006-11-22 Thread Svein Halvor Halvorsen
VeeJay wrote:
> I have this Help Instructions from a Step-by-Step for Apache installation

On a side note, you would probably want to install Apache via ports.


Svein Halvor



signature.asc
Description: OpenPGP digital signature


Re: External USB drive kernel problems

2006-11-22 Thread Christopher Sean Hilton
On Tue, 2006-11-21 at 12:38 -0500, [EMAIL PROTECTED] wrote:
> (Please reply directly to me, as I am not subscribed)
> 
> I just bought a VIA external USB enclosure with a Hitachi 200GB ATA drive
> to use for disk-based backups.  I put it on my test box here, which I just
> upgraded to 6.2-Prerelease.  All drivers required by the handbook for this
> application are still in the kernel:
> 
> device scbus
> device da
> device pass
> device uhci
> device ohci
> device usb
> device umass
> device ehci
> 
> However, it will not even finish booting with the USB drive plugged in.
> It gets hung up on "Waiting 5 seconds for SCSI devices to settle".  If I
> unplug the drive, it immediately finishes booting ok.  If I then plug it
> back in, I get this:
> 
> Nov 21 12:17:23 amanda kernel: umass0: VIA Technologies Inc. USB 2.0 IDE
> Bridge, rev 2.00/0.03, addr 2
> Nov 21 12:19:33 amanda kernel: da0 at umass-sim0 bus 0 target 0 lun 0
> Nov 21 12:19:33 amanda kernel: da0:  Fixed
> Direct Access SCSI-2 device
> Nov 21 12:19:33 amanda kernel: da0: 40.000MB/s transfers
> Nov 21 12:19:33 amanda kernel: da0: 305245MB (625142448 512 byte sectors:
> 255H 63S/T 38913C)
> Nov 21 12:19:33 amanda kernel: umass0: Invalid CSW: tag 9 should be 10
> Nov 21 12:19:33 amanda kernel: (da0:umass-sim0:0:0:0): Synchronize cache
> failed, status == 0x10, scsi status == 0x0
> 
> Nov 21 12:24:58 amanda kernel: Opened disk da0 -> 5
> 
> If I try to then run sysinstall to run fdisk, it will not allow the fdisk
> configuration to be written to it.
> 
> TIA for any advice, ideas, fixes, etc.
> 

In all likelyhood FreeBSD needs some quirk to work with the IDE bridge
chipset in your enclosure. I have noticed that the plain jane enclosures
seem to work fine but the ones with special features fail. In particular
I have an enclosure with both a disk and an SD media slot purchased from
and branded by Compusa that does not work with FreeBSD. I have also
noticed that the enclosures with a one touch backup button aren't
supported. I unfortunately do not know how to debug these enclosures.

They tend to be so cheap that I just home in on the ones that are
supported. I've noticed that the local Best Buy is carrying an Adaptec
enclosure. I have two of the 2.5" ones and they seem to work fine.
Here's a link to the 3.5" version which I assume uses that same chipset
as the 2.5" one:

http://preview.tinyurl.com/vzsha
http://www.bestbuy.com/site/olspage.jsp?skuId=6991605&st=adaptec&type=product&id=1099392683637
  
-- Chris


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


Re: linux-sun-jdk15, Syntax error: word unexpected (expecting ")")

2006-11-22 Thread Andy Harrison

On 11/22/06, Boris Samorodov <[EMAIL PROTECTED]> wrote:


Where did you get the version 1.5.0.09? I checked out cvsweb, and
there is 1.5.0.07.


Doh!  Sorry...  totally spaced out.  I forgot that last month I had
updated the Makefile to try to use the new version since 1.5.0.07 can
no longer be obtained from the Sun website.

# diff old.Makefile Makefile

[EMAIL PROTECTED]:/usr/ports/java/linux-sun-jdk15]
5c5
< # $FreeBSD: /repoman/r/pcvs/ports/java/linux-sun-jdk15/Makefile,v
1.21 2006/06/13 19:51:13 glewis Exp $
---

# $FreeBSD: ports/java/linux-sun-jdk15/Makefile,v 1.21 2006/06/13 19:51:13 
glewis Exp $

10c10
< PORTEPOCH=2
---

#PORTEPOCH=   2

35c35
< JDK_REVISION= 07
---

JDK_REVISION= 09



So anyway, probably not a good question for this list ;)


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


Re: processes not getting fair share of available disk I/O (was: Re: TCP parameters and interpreting tcpdump output )

2006-11-22 Thread Kris Kennaway
On Tue, Nov 21, 2006 at 11:12:38PM +, Dieter wrote:
> > I'm surprised that you're seeing that much of a "hang".  Even if the disks
> > are busy, the system should slow down all disk processes equally, so no
> > one process "blocks", but they're all a little slower.
> 
> I collected a bit of data:
> 
> While copying a large file from disk1 to disk2,
> 
> time ls on a small directory on disk3 (not cached in memory)
> 
> real0m0.032s
> user0m0.000s
> sys 0m0.003s
> 
> time ls on a small directory on disk2
> 
> real4m51.911s
> user0m0.000s
> sys 0m0.002s
> 
> I expect access to a busy disk to take longer, but 5 minutes is
> a bit much.  And that's the root directory of the filesystem,
> it didn't have to follow a long chain of directories to get there.
> 
> Sometimes I see long delays when accessing disk3, but it is
> behaving at the moment.

ls still has to acquire a number of locks in order to be sure that the
contents of the directory aren't changing.  If there are lots of other
processes all competing for these locks, it will be slow.  It looks
like that's the case on your system, although details of your workload
have been trimmed from your email.

This should be better in a future version of FreeBSD (when it's safe
to use shared locks instead of exlusive for vfs lookups) but today
there may not be much you can do apart from lowering the load.

Kris



pgpxVypHMUWZx.pgp
Description: PGP signature


Re: 'pkg_version' comparison failure

2006-11-22 Thread Gerard Seibert
On Wednesday November 22, 2006 at 07:45:07 (AM) RW wrote:


> On Wednesday 22 November 2006 11:48, Gerard Seibert wrote:
> > What would cause this command:
> >
> > /usr/sbin/pkg_version -vIL=
> >
> > to produce this error message:
> >
> > openoffice.org-2.0.3!   Comparison failed
> >
> > I have updated the ports tree several times; however, the error remains.
> > No other ports exhibits this phenomena.
> 
> This port recently moved.

Thanks! I check the UPDATING file on a daily basis; however, I never
check the MOVED. Maybe I should start.


-- 
Gerard

 Mail from '@gmail' is rejected and/or discarded here. Don't waste
 your time!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ezmlm Port Okay Or Junk?

2006-11-22 Thread Jerry McAllister
On Wed, Nov 22, 2006 at 10:30:58AM +0300, Andrew Pantyukhin wrote:

> On 11/22/06, Rachel Florentine <[EMAIL PROTECTED]> wrote:
> >105Hi;
> >Okay, I learned from sad experience and you all
> >that the qmail port is junk. What about ezmlm?
> >Same thing? Or good to go?
> 
> Didn't you know that /usr/ports is a big pile of
> junk? The problem is, we can't live without it.

That's a weird thing to say.
Although there are many things in ports that are not supported or
are someone's mostly useless extra toy, a lot of the ports are well
done and well supported and worth using in general.   If he doesn't
like qmail and won't use sendmail, then he can check out others and
a question about which people like is not so bad an idea, although
it is unfortunately likely to set of yet another religious war YARW.

jerry

> ___
> 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: Building Sendmail from ports

2006-11-22 Thread DAve

David Robillard wrote:

[ ---8<--- Text has been removed! ---8<---]


But, where will the port install my *.mc and *.cf files? This I can't
seem to figure out. I would like to know before I hit 'make install' in
the port dir. I would think it will install them into
/usr/local/share/sendmail/cf, would that be correct?


Hi DAve,

When you use the mail/sendmail port, it does install files in
/usr/local/share/sendmail. Think of it as the base system's sendmail
files in /usr/share/sendmail.


As I expected.



Now, the .mc and .cf files are still kept in /etc/mail and not in
/usr/local/etc/mail as one could think by using a port.


Got that from reading the make files, good to confirm.



Note that you will find two scripts in /usr/local/etc/rc.d when you
install the sendmail port. They are `sendmail.sh.sample' and
`sm-client.sh.sample'. But you don't need to use them. The base
system's /etc/rc.d/sendmail script handles both the base system's
sendmail and the port's sendmail.


I use a custom rc script already due to my split config.



The key for a pain free mail/sendmail ports usage is to do what you
said. That is to edit make.conf(5) and to use special make(1) targets
from the mail/sendmail's Makefile.

Briefly, here's the way I do things when I update mail/sendmail (YMMV of 
course)


sudo vi /etc/make.conf

##
# mail/sendmail port configuration.
##

# Do not build and install the base distribution of sendmail.
#
NO_SENDMAIL= TRUE

# Specify where the configuration directory is located.
#
SENDMAIL_CF_DIR=/usr/local/share/sendmail/cf

.if ${.CURDIR:M*/mail/sendmail}
SENDMAIL_WITHOUT_IPV6=yes \
SENDMAIL_WITHOUT_NIS=yes \
SENDMAIL_WITH_TLS=yes \
SENDMAIL_WITH_SMTPS=yes \
SENDMAIL_WITH_LDAP=yes \
SENDMAIL_WITH_BERKELEYDB_VER=42 \
SENDMAIL_WITH_SOCKETMAP=yes \
SENDMAIL_WITH_PICKY_HELO_CHECK=yes \
SENDMAIL_WITH_SHARED_MILTER=yes
.endif

sudo porteasy -uv mail/sendmail
sudo porteasy -uv security/openssl
sudo porteasy -uv security/gnutls

cd /usr/ports/mail/sendmail

sudo make
# -OR if you don't want to edit make.conf(5), you can run something like 
this:

sudo make -DSENDMAIL_WITHOUT_IPV6 -DSENDMAIL_WITHOUT_NIS
-DSENDMAIL_WITH_TLS -DSENDMAIL_WITH_SMTPS \
-DSENDMAIL_WITH_BERKELEYDB_VER=42 -DSENDMAIL_WITH_SOCKETMAP
-DSENDMAIL_WITH_PICKY_HELO_CHECK -DSENDMAIL_WITH_SHARED_MILTER

sudo make tls-install
sudo make install
sudo make mailer.conf
sudo make clean

Now, you might not need the exact same features of Sendmail as I do,
of course. But the `make mailer.conf' is quite important. That's going
to edit /etc/mail/mailer.conf which instructs the OS to use
/usr/local/sbin/sendmail instead of the base system's sendmail. You
don't have to change your PATH either.


Saw that in the Makefile.



Why? Because if take a look at /usr/sbin/sendmail, it's not a binary,
it's a symbolic link to `/usr/sbin/mailwrapper'. Just read the
mailwrapper(8) man page and you'll understand how things work.


Yep.




I want to make certain that when I build new sendmail.in.cf and
sendmail.out.cf the correct files are used by m4. Currently I run the
following when making changes to my *.mc files

/usr/bin/m4 -D_CF_DIR_=/usr/share/sendmail/cf/
/usr/share/sendmail/cf/m4/cf.m4 sendmail.in.mc > sendmail.in.cf


Take a look at the /etc/mail/Makefile and you'll see that it can
determine your _CF_DIR_. But it takes a wrong decision. It uses either
/usr/share/sendmail/cf or /usr/src/contrib/sendmail/cf.


Previously I didn't want to change the installed Makefile in /etc/mail, 
I likely will now.




To work around this, you can edit /etc/mail/Makefile or use the
following at the top of your sendmail.mc files:

dnl include.
dnl Use the following m4 macro file.
dnl
include(`/usr/share/sendmail/cf/m4/cf.m4')dnl


Excellent idea!



That's it. If you need any help, don't hesitate to contact me.

Have fun :)


I appreciate the heads up, thanks!

DAve


--
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Password Security

2006-11-22 Thread Jerry McAllister
On Wed, Nov 22, 2006 at 04:41:37AM +0100, VeeJay wrote:

> Hi
> 
> I need to secure my data and server. Any advice will be highly appreciated.
> 
> I am going to place my FreeBSD server at a shared place?
> 
> I am just afraid that any unauthorized person might boot machine in single
> user mode and steal the data?
> How can I make my Server secure that if if boots in single user mode, it
> still demands the password and without password one cannot do anything?
> or make it possible that booting in Single user mode, doesn't provide any
> shell?

Lock it in a box.   Anyone who can put their hands physically can
get in to the machine with a little tinkering even if you disable
lots of software.

I think you can get rid of the single user option in the boot,
but anyone with a CD can defeat that if they want to.  It would
make things harder for yourself in managing the system, but it
would slow a person down from casual interference.

Also, many machines have BIOS level boot passwords that can be turned 
on.  Using that would slow a person down, but be annoying for youself,
especially in times such as power failures - the system would not come
back up automatically without someone entering the BIOS password.

Plus, if a person is determined enough, they can defeat that as well
by removing the battery backup for the MB or the flash memory.   But, 
it would stop casual tinkering.   

jerry

> 
> Thanks in advance
> 
> --
> 
> BR / vj
> ___
> 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: linux-sun-jdk15, Syntax error: word unexpected (expecting ")")

2006-11-22 Thread Boris Samorodov
On Wed, 22 Nov 2006 10:07:44 -0500 Andy Harrison wrote:

> I'm trying to install jdk15 because I need it to access the ilom on
> some Sun x4100 boxes.  Has anyone else seen or know how to handle this
> error message?  I tried both bash and tcsh with a clean env just to
> see if that might be mucking something up.  No luck...



> # make -D DISABLE_VULNERABILITIES extract
> ==
> Warning: This JDK may be unstable. You are advised to use the native
> FreeBSD 1.5 JDK, in ports/java/jdk15.

> This Java VM will attempt to obtain some system information by
> accessing files in linux's procfs.  You must install the Linux
> emulation procfs filesystem for this to work correctly.  The JVM
> will exhibit various problems otherwise.  This can be accomplished
> by adding the following line to your /etc/fstab file:

> linprocfs   /compat/linux/proc   linprocfs   rw   0  0

> and then, as root, executing the commands:

> kldload linprocfs
> mount /compat/linux/proc

> ==
> ===>  Extracting for linux-sun-jdk-1.5.0.09
> => MD5 Checksum OK for jdk-1_5_0_09-linux-i586.bin.
> => SHA256 Checksum OK for jdk-1_5_0_09-linux-i586.bin.
> ===>   linux-sun-jdk-1.5.0.09 depends on file:

Where did you get the version 1.5.0.09? I checked out cvsweb, and
there is 1.5.0.07.

> /compat/linux/etc/fedora-release - found
> /usr/ports/java/linux-sun-jdk15/work/install.sfx: 1: Syntax error:
> word unexpected (expecting ")")
> *** Error code 2

> Stop in /usr/ports/java/linux-sun-jdk15.


> I'm running FreeBSD 6.1-RELEASE-p10 and I already have
> linux-firefox-2.0 working well with linux-sun-jdk-1.4.2.12.  And as of
> yesterday, all my ports are current.

> Any suggestions?


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Upgrade Question

2006-11-22 Thread Jerry McAllister
On Wed, Nov 22, 2006 at 01:34:23AM +, Robert Davison wrote:

> If my cvs-upfile reads, and specfically im looking at the default release 
> line
>
>   *default release=cvs delete use-rel-suffix compress
> *default delete use-rel-suffix
>
>   src-all
> ports-all tag=.
> doc-all tag=.
> 
>   Can anyone tell me what release and branch of FreeBSD im tracking. its 
> a 6.1 system. I'm asking as I will soon be testing the waters with 
> Buildworld and mergemaster etc to get to 6.2. What would the default 
> release= change to then ? if 'cvs' is tracking the 6.1 branch ?

I think you need another line to tell it what branch to track.
Here is my file that tracks 6.1.   Take off the '_1' part off of
the   RELENG_6_1   to make it justRELENG_6 
and you can track the latest of 6.xxx, whatever it is at the moment.

*default host=cvsup.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default tag=RELENG_6_1
*default release=cvs 
*default delete use-rel-suffix

*default compress

src-all
ports-all tag=.
doc-all tag=.


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


Re: I don't see anything to answer my question

2006-11-22 Thread Jerry McAllister
On Tue, Nov 21, 2006 at 07:05:53PM -0600, [EMAIL PROTECTED] wrote:

> On 11/21/06, Jerry McAllister <[EMAIL PROTECTED]> wrote:
> >On Mon, Nov 20, 2006 at 09:38:26PM -0500, rickie lyman wrote:
> >
> >> I am a newbee and sometimes Dizzy too. My question is I have a computer 
> >that
> >> has a rather large drive but it is all formated in NTFs and yes it has XP
> >> Pro on it how would I be able to put Free BSD on there without loosing 
> >the
> >> files I have with the other operating system?? I told you that I was
> >> confused.
> >
> >First, is there plenty of empty space on that disk.   If you have
> >used up all the space with something, then you can't do it on that
> >disk.  You will have to add one.
> >
> >But, more than likely, you haven't used up the space - there is probably
> >lots, more than half still unfilled.   So, then, no problem.
> >
> >You will have to use some utility to shrink the existing NTFS file
> >system on the drive.
> >
> >As far as I know, there are no freeware utilities that will do this
> >for NTFS.   The ones that come with FreeBSD will handle fat and fat32
> >just fine, but not NTFS.
> 
> A quick Gogol* led me to this:
> 
> http://www.linuxmigration.com/quickref/install/disk.html
> 
> Which mentions Man-drake 9.1 (& therfor is of dubious
> currency: http://www.mandriva.com/ ), though one might
> assume that many of thee Torvaldsians's so-called "distros"
> might do similarly.  In other words: try a linux live CD/DVD.
> 
> I would try knoppix, because I have a CD, except that I do
> not have an NTFS anything handy to test it myself.
> 
> Otherwise, McAllister's writeup is sound, sane, and probably
> as in-depth as you can hope for.

Thanks.

> 
> *http://www.google.com/search?hl=en&q=resize+ntfs

Mentions various Linux ways to do it, but I suspect that the poster
who wants to install FreeBSD might not be interested in first installing
some Linux - which would take some partition manipulation and then
doing the FreeBSD install.   Of course, maybe he can set up a SUSE
live CD and do it.   I think Suse might also claim to be able to do
the resizing during install.  But, that still means doing two systems
to get one.Is that better than getting a cheap utility -- maybe,
who knows.

Google also pops up an add for 'Partition Commander 10 which claims
to be able to resize NTFS on a live system even without even a reboot.
It's price seems to be $10 or $20 less than Partition Magic so it
might be interesting, but I haven't used it so can't verify.

jerry

> -- 
> --
> ___
> 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: firefox build error

2006-11-22 Thread Lowell Gilbert
Laurence Sanford <[EMAIL PROTECTED]> writes:

> Firefox build from ports is exiting with this error:
>
> cc -o gtk2xtbin.o -c  -DMOZILLA_INTERNAL_API -DOSTYPE=\"FreeBSD6\"
> -DOSARCH=\"FreeBSD\" -DBUILD_ID=00 -D_IMPL_GTKXTBIN_API
> -DUSE_XIM  -I../../../dist/include/xpcom
> -I../../../dist/include/gtkxtbin -I../../../dist/include
> -I/usr/local/include/nspr -I/usr/local/include -I/usr/local/include
> -I/usr/include -I../../../dist/sdk/include -I.  -I/usr/X11R6/include
> -fPIC -I/usr/X11R6/include  -I/usr/X11R6/include  -I/usr/X11R6/include
> -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -O2
> -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -O2 -pipe
> -DNDEBUG -DTRIMMED -O2 -DXTHREADS -DXUSE_MTSAFE_API
> -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include
> -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo
> -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include
> -I/usr/local/include/freetype2 -I/usr/local/include
> -I/usr/X11R6/include  -I/usr/X11R6/include  -I/usr/X11R6/include
> -include ../../../mozilla-config.h -DMOZILLA_CLIENT gtk2xtbin.c
> In file included from gtk2xtbin.h:44,
>  from gtk2xtbin.c:46:
> /usr/X11R6/include/X11/Intrinsic.h:1181: error: syntax error before
> "_X_SENTINEL"
> /usr/X11R6/include/X11/Intrinsic.h:1325: error: syntax error before
> "_X_SENTINEL"
> /usr/X11R6/include/X11/Intrinsic.h:1392: error: syntax error before
> "_X_SENTINEL"
> /usr/X11R6/include/X11/Intrinsic.h:1399: error: syntax error before
> "_X_SENTINEL"
> /usr/X11R6/include/X11/Intrinsic.h:1423: error: syntax error before
> "_X_SENTINEL"
> /usr/X11R6/include/X11/Intrinsic.h:1475: error: syntax error before
> "_X_SENTINEL"
> /usr/X11R6/include/X11/Intrinsic.h:1498: error: syntax error before
> "_X_SENTINEL"
> /usr/X11R6/include/X11/Intrinsic.h:1572: error: syntax error before
> "_X_SENTINEL"
> /usr/X11R6/include/X11/Intrinsic.h:1593: error: syntax error before
> "_X_SENTINEL"
> /usr/X11R6/include/X11/Intrinsic.h:1604: error: syntax error before
> "_X_SENTINEL"
> /usr/X11R6/include/X11/Intrinsic.h:1615: error: syntax error before
> "_X_SENTINEL"
> /usr/X11R6/include/X11/Intrinsic.h:1630: error: syntax error before
> "_X_SENTINEL"
> /usr/X11R6/include/X11/Intrinsic.h:1645: error: syntax error before
> "_X_SENTINEL"
> gtk2xtbin.c:188: warning: initialization from incompatible pointer type
> gtk2xtbin.c: In function `xt_client_create':
> gtk2xtbin.c:566: warning: implicit declaration of function
> XtVaCreateWidget'
> gtk2xtbin.c:568: warning: assignment makes pointer from integer
> without a cast
> gmake[2]: *** [gtk2xtbin.o] Error 1
> gmake[2]: Leaving directory
> /usr/ports/www/firefox/work/mozilla/widget/src/gtkxtbin'
> gmake[1]: *** [tier_9] Error 2
> gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla'
> gmake: *** [default] Error 2
> *** Error code 2
>
> Stop in /usr/ports/www/firefox.
>
> I figure something is out of date, but I've updated xorg and gtk20 and
> I'm still getting this. Any pointers? Thanks in advance.

Did you do the Gnome-stuff update described in UPDATING last month?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: linux-sun-jdk15, Syntax error: word unexpected (expecting ")")

2006-11-22 Thread Andy Harrison

On 11/22/06, Boris Samorodov <[EMAIL PROTECTED]> wrote:

You didn't mention if by a chance you did follow those instructions
about linprocfs...



Yes, it's mounted.

# grep lin /etc/fstab
linprocfs   /compat/linux/proc  linprocfs   rw
0   0

# mount | grep lin
linprocfs on /usr/compat/linux/proc (linprocfs, local)

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


Re: Password Security

2006-11-22 Thread Andy Greenwood

I've used geli to encrypt my swap partition following the instructions
in the handbook and it went quite well. If you really need to secure
the data on the machine, mark the terminal as insecure and encrypt all
the disks, including swap.

Keep in mind though, that no system is completely secure. It may be
secure enough, but there is *always* a way in for the determined
individual.

On 11/22/06, Jeff Hinrichs - DM&T <[EMAIL PROTECTED]> wrote:

Although I haven't used either, gbde and geli are possible methods.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-encrypting.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"




--
I'm nerdy in the extreme and whiter than sour cream
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: To which port GPG belongs?

2006-11-22 Thread Karol Kwiatkowski
On 22/11/2006 15:48, VeeJay wrote:
> Thanks for your quick thoughts...
> 
> I am still unable to verify Key
> 
> I have got this key from Apache site
> 
> 

[ key snipped ]

> but how to verify because
> 
> When I give this command
> 
> # gpg httpd-2.0.59.tar.gz.asc
> gpg: Signature made Thu Jul 27 19:44:54 2006 CEST using RSA key ID 10FDE075
> gpg: Can't check signature: public key not found
> #

You don't have public key 0x10FDE075 in your keyring. You can either
download it from one of keyservers or form apache site:

$ fetch http://www.apache.org/dist/httpd/KEYS
KEYS  100% of  295 kB  108 kBps
$ gpg --import KEYS
gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information
[...]
gpg: key 10FDE075: public key [email] imported
[...]
gpg: Total number processed: 58
gpg:   w/o user IDs: 4
gpg:   imported: 52  (RSA: 24)
gpg:  unchanged: 2
gpg: 3 marginal(s) needed, 1 complete(s) needed, classic trust model
gpg: depth: 0  valid:   1  signed:   4  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1  valid:   4  signed:   0  trust: 4-, 0q, 0n, 0m, 0f, 0u



Then you can verify (here I'm verifying 1.3 version):

$ gpg --verify  apache_1.3.37.tar.gz.asc pathto/apache_1.3.37.tar.gz
gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information
gpg: Signature made Thu 27 Jul 20:35:51 2006 CEST using RSA key ID
10FDE075
gpg: Good signature from "[email]
[...]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:  There is no indication that the signature belongs to the
owner.
Primary key fingerprint: 33 16 9B 46 FC 12 D4 01  CA 6D DB D7 DE EA 4F D7


Be sure you read that last fat WARNING. It says the signature is
correct but my gnupg doesn't know if the key used to sign is trusted.
In reality that means I don't really know to whom the key really belongs.

HTH, but it you really want to use gnupg you should at least read
"Getting started"[1] form GnuPG site. Without understanding where it
all can fail you won't gain anything.

Regards,

Karol

[1] http://www.gnupg.org/gph/en/manual.html#INTRO

-- 
Karol Kwiatkowski  
OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc



signature.asc
Description: OpenPGP digital signature


Re: Does disk encryption causes a performance penalty for Data Access/Read/Write, etc

2006-11-22 Thread Nick Pavlica

Does *disk encryption* causes a *performance* penalty for Data
Access/Read/Write, etc?


I haven't done any testing, but would assume that it would impact it
to a certain degree, because there is the additional encryption
overhead.

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


Re: Does disk encryption causes a performance penalty for Data Access/Read/Write, etc

2006-11-22 Thread Bill Moran
In response to VeeJay <[EMAIL PROTECTED]>:
> 
> Does *disk encryption* causes a *performance* penalty for Data
> Access/Read/Write, etc?

Any kind of encryption causes a performance penalty.

However, if your CPU is powerful enough, it's possible (even likely) that
the CPU is still able to encrypt faster than the disk can write the data.
The result would be that you won't notice the penalty unless you've got
other CPU-intensive tasks running that reduce the amount of CPU
available to the encryption process.

HTH

-- 
Bill Moran
Collaborative Fusion Inc.



IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.


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


Re: linux-sun-jdk15, Syntax error: word unexpected (expecting ")")

2006-11-22 Thread Boris Samorodov
On Wed, 22 Nov 2006 10:07:44 -0500 Andy Harrison wrote:

> I'm trying to install jdk15 because I need it to access the ilom on
> some Sun x4100 boxes.  Has anyone else seen or know how to handle this
> error message?  I tried both bash and tcsh with a clean env just to
> see if that might be mucking something up.  No luck...



> # make -D DISABLE_VULNERABILITIES extract
> ==
> Warning: This JDK may be unstable. You are advised to use the native
> FreeBSD 1.5 JDK, in ports/java/jdk15.

> This Java VM will attempt to obtain some system information by
> accessing files in linux's procfs.  You must install the Linux
> emulation procfs filesystem for this to work correctly.  The JVM
> will exhibit various problems otherwise.  This can be accomplished
> by adding the following line to your /etc/fstab file:

> linprocfs   /compat/linux/proc   linprocfs   rw   0  0

> and then, as root, executing the commands:

> kldload linprocfs
> mount /compat/linux/proc

> ==
> ===>  Extracting for linux-sun-jdk-1.5.0.09
> => MD5 Checksum OK for jdk-1_5_0_09-linux-i586.bin.
> => SHA256 Checksum OK for jdk-1_5_0_09-linux-i586.bin.
> ===>   linux-sun-jdk-1.5.0.09 depends on file:
> /compat/linux/etc/fedora-release - found
> /usr/ports/java/linux-sun-jdk15/work/install.sfx: 1: Syntax error:
> word unexpected (expecting ")")
> *** Error code 2

> Stop in /usr/ports/java/linux-sun-jdk15.


> I'm running FreeBSD 6.1-RELEASE-p10 and I already have
> linux-firefox-2.0 working well with linux-sun-jdk-1.4.2.12.  And as of
> yesterday, all my ports are current.

> Any suggestions?

You didn't mention if by a chance you did follow those instructions
about linprocfs...


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Does disk encryption causes a performance penalty for Data Access/Read/Write, etc

2006-11-22 Thread VeeJay

Hi

Does *disk encryption* causes a *performance* penalty for Data
Access/Read/Write, etc?

--
Thanks!

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


linux-sun-jdk15, Syntax error: word unexpected (expecting ")")

2006-11-22 Thread Andy Harrison

I'm trying to install jdk15 because I need it to access the ilom on
some Sun x4100 boxes.  Has anyone else seen or know how to handle this
error message?  I tried both bash and tcsh with a clean env just to
see if that might be mucking something up.  No luck...



# make -D DISABLE_VULNERABILITIES extract
==
Warning: This JDK may be unstable. You are advised to use the native
FreeBSD 1.5 JDK, in ports/java/jdk15.

This Java VM will attempt to obtain some system information by
accessing files in linux's procfs.  You must install the Linux
emulation procfs filesystem for this to work correctly.  The JVM
will exhibit various problems otherwise.  This can be accomplished
by adding the following line to your /etc/fstab file:

linprocfs   /compat/linux/proc   linprocfs   rw   0  0

and then, as root, executing the commands:

kldload linprocfs
mount /compat/linux/proc

==
===>  Extracting for linux-sun-jdk-1.5.0.09
=> MD5 Checksum OK for jdk-1_5_0_09-linux-i586.bin.
=> SHA256 Checksum OK for jdk-1_5_0_09-linux-i586.bin.
===>   linux-sun-jdk-1.5.0.09 depends on file:
/compat/linux/etc/fedora-release - found
/usr/ports/java/linux-sun-jdk15/work/install.sfx: 1: Syntax error:
word unexpected (expecting ")")
*** Error code 2

Stop in /usr/ports/java/linux-sun-jdk15.


I'm running FreeBSD 6.1-RELEASE-p10 and I already have
linux-firefox-2.0 working well with linux-sun-jdk-1.4.2.12.  And as of
yesterday, all my ports are current.

Any suggestions?

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


Re: To which port GPG belongs?

2006-11-22 Thread VeeJay

I have this Help Instructions from a Step-by-Step for Apache installation


lynx http://httpd.apache.org/download.cgi

   

gpg --import KEYS

gpg httpd-2.0.49.tar.gz.asc

   gpg: Good signature from "Sander Striker <[EMAIL PROTECTED]>"

tar zxvf httpd-2.0.49.tar.gz



this doesn't work either gpg --import KEYS



On 11/22/06, Karol Kwiatkowski <[EMAIL PROTECTED]> wrote:


On 22/11/2006 14:53, VeeJay wrote:
> Hi
>
> If I want to run commands like
>
>
> # gpg httpd-2.0.49.tar.gz.asc
>
> Which port one should install, becasue there are many...

/usr/ports/security/gnupg

Btw, there's excellent documentation at http://www.gnupg.org/


> And with which options one should install to have maximum security
measure
> i.e. LDAP, CURL, etc

Take the defaults. You can add some functionality later, if required.

HTH.

Karol

--
Karol Kwiatkowski  
OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc







--
Thanks!

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


problems with check_dhcp in nagios

2006-11-22 Thread Thierry Lacoste
Hello,

I'm using nagios-2.4 with nagios-plugins-1.4.3,1 on FreeBSD 6.1-RELEASE-p10.
I have a problem to make check_dhcp work.

dhclient works as expected:
[EMAIL PROTECTED] ~]# dhclient em0
DHCPREQUEST on em0 to 255.255.255.255 port 67
DHCPREQUEST on em0 to 255.255.255.255 port 67
DHCPDISCOVER on em0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on em0 to 255.255.255.255 port 67 interval 8
DHCPOFFER from 194.214.13.3
DHCPOFFER from 194.214.13.2
DHCPOFFER already seen.
DHCPREQUEST on em0 to 255.255.255.255 port 67
DHCPACK from 194.214.13.3
bound to 194.214.13.6 -- renewal in 21600 seconds.

But check_dhcp doesn't work (with dhclient killed):
[EMAIL PROTECTED] ~]# /usr/local/libexec/nagios/check_dhcp -i em0 -v
DHCP socket: 3
Hardware address: 000d56bd84c5
DHCPDISCOVER to 255.255.255.255 port 67
DHCPDISCOVER XID: 1804289383 (0x6B8B4567)
DHCDISCOVER ciaddr:  0.0.0.0
DHCDISCOVER yiaddr:  0.0.0.0
DHCDISCOVER siaddr:  0.0.0.0
DHCDISCOVER giaddr:  0.0.0.0
send_dhcp_packet result: 548




No (more) data received
Result=ERROR
Total responses seen on the wire: 0
Valid responses for this machine: 0
DHCP problem: No DHCPOFFERs were received.

The -s switch to specify the IP of a DHCP server doesn't help.

Using ethereal I can see one "DHCP Discover" packet sent  and
nothing else.
I don't know if it is relevant but I noticed that the source adress
of this packet is the IP of the machine while the source address
of  "DHCP Discover" packets issued by dhclient is 0.0.0.0.

Any tip would be appreciated.

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


additional processor in IBM xSeries

2006-11-22 Thread Marko Kobal

Hi,

I have an IBM xSeries 225 with two-processor motherboard, currently with only 
one Intel Xeon 2.4 GHz. OS is 6.1p10, otherwise is this an 
apache22-mysql50-php5 web server.

I would like to add an additional, second Intel Xeon 2.4 GHz. Do I have to 
change anything in OS, kernel, etc, before this step or can I just plug in the 
additional proc and thats it?

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


Re: To which port GPG belongs?

2006-11-22 Thread VeeJay

Thanks for your quick thoughts...

I am still unable to verify Key

I have got this key from Apache site


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.4 (GNU/Linux)

iQEVAwUARMj7lvcTqHkQ/eB1AQKApAgAjnO4vMS0hmJc7FI/X/qT5L9ZmwZpZFLW
uFFlLCOlRNluQ4e+Y+a9lIlbvkhGATWC4ukDSa4EEuVa/Bs6rgDFm0jJW8c+pjG7
NybvXIfVl2bmUI2LJPAJsAYm3vhThvPROVLuTg6FawCTAdjGrMli2gJQmNdw++Lk
CzntFbrQajaZCV2Tc1wMOOzKFM7jPvgxAla9vd0tfRVAdMZQfz2BXGF0Nis7cd7i
QmgdeExfKlQehJ3kf09z8td07IuXmxxg5Z3ktB3SNnKo8MclNcbUlDwiAM8ePieG
pfGV1TQqHd+CvfRn/MoS5Sl74GtpXw0vgr4/A1ZjoTw3OM9x+cYHSQ==
=JQal
-END PGP SIGNATURE-

but how to verify because

When I give this command

# gpg httpd-2.0.59.tar.gz.asc
gpg: Signature made Thu Jul 27 19:44:54 2006 CEST using RSA key ID 10FDE075
gpg: Can't check signature: public key not found
#

What to do... please help!!!


On 11/22/06, Karol Kwiatkowski <[EMAIL PROTECTED]> wrote:


On 22/11/2006 14:53, VeeJay wrote:
> Hi
>
> If I want to run commands like
>
>
> # gpg httpd-2.0.49.tar.gz.asc
>
> Which port one should install, becasue there are many...

/usr/ports/security/gnupg

Btw, there's excellent documentation at http://www.gnupg.org/


> And with which options one should install to have maximum security
measure
> i.e. LDAP, CURL, etc

Take the defaults. You can add some functionality later, if required.

HTH.

Karol

--
Karol Kwiatkowski  
OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc







--
Thanks!

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


Re: Password Security

2006-11-22 Thread

Although I haven't used either, gbde and geli are possible methods.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-encrypting.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Building Sendmail from ports

2006-11-22 Thread David Robillard

[ ---8<--- Text has been removed! ---8<---]


But, where will the port install my *.mc and *.cf files? This I can't
seem to figure out. I would like to know before I hit 'make install' in
the port dir. I would think it will install them into
/usr/local/share/sendmail/cf, would that be correct?


Hi DAve,

When you use the mail/sendmail port, it does install files in
/usr/local/share/sendmail. Think of it as the base system's sendmail
files in /usr/share/sendmail.

Now, the .mc and .cf files are still kept in /etc/mail and not in
/usr/local/etc/mail as one could think by using a port.

Note that you will find two scripts in /usr/local/etc/rc.d when you
install the sendmail port. They are `sendmail.sh.sample' and
`sm-client.sh.sample'. But you don't need to use them. The base
system's /etc/rc.d/sendmail script handles both the base system's
sendmail and the port's sendmail.

The key for a pain free mail/sendmail ports usage is to do what you
said. That is to edit make.conf(5) and to use special make(1) targets
from the mail/sendmail's Makefile.

Briefly, here's the way I do things when I update mail/sendmail (YMMV of course)

sudo vi /etc/make.conf

##
# mail/sendmail port configuration.
##

# Do not build and install the base distribution of sendmail.
#
NO_SENDMAIL= TRUE

# Specify where the configuration directory is located.
#
SENDMAIL_CF_DIR=/usr/local/share/sendmail/cf

.if ${.CURDIR:M*/mail/sendmail}
SENDMAIL_WITHOUT_IPV6=yes \
SENDMAIL_WITHOUT_NIS=yes \
SENDMAIL_WITH_TLS=yes \
SENDMAIL_WITH_SMTPS=yes \
SENDMAIL_WITH_LDAP=yes \
SENDMAIL_WITH_BERKELEYDB_VER=42 \
SENDMAIL_WITH_SOCKETMAP=yes \
SENDMAIL_WITH_PICKY_HELO_CHECK=yes \
SENDMAIL_WITH_SHARED_MILTER=yes
.endif

sudo porteasy -uv mail/sendmail
sudo porteasy -uv security/openssl
sudo porteasy -uv security/gnutls

cd /usr/ports/mail/sendmail

sudo make
# -OR if you don't want to edit make.conf(5), you can run something like this:
sudo make -DSENDMAIL_WITHOUT_IPV6 -DSENDMAIL_WITHOUT_NIS
-DSENDMAIL_WITH_TLS -DSENDMAIL_WITH_SMTPS \
-DSENDMAIL_WITH_BERKELEYDB_VER=42 -DSENDMAIL_WITH_SOCKETMAP
-DSENDMAIL_WITH_PICKY_HELO_CHECK -DSENDMAIL_WITH_SHARED_MILTER

sudo make tls-install
sudo make install
sudo make mailer.conf
sudo make clean

Now, you might not need the exact same features of Sendmail as I do,
of course. But the `make mailer.conf' is quite important. That's going
to edit /etc/mail/mailer.conf which instructs the OS to use
/usr/local/sbin/sendmail instead of the base system's sendmail. You
don't have to change your PATH either.

Why? Because if take a look at /usr/sbin/sendmail, it's not a binary,
it's a symbolic link to `/usr/sbin/mailwrapper'. Just read the
mailwrapper(8) man page and you'll understand how things work.


I want to make certain that when I build new sendmail.in.cf and
sendmail.out.cf the correct files are used by m4. Currently I run the
following when making changes to my *.mc files

/usr/bin/m4 -D_CF_DIR_=/usr/share/sendmail/cf/
/usr/share/sendmail/cf/m4/cf.m4 sendmail.in.mc > sendmail.in.cf


Take a look at the /etc/mail/Makefile and you'll see that it can
determine your _CF_DIR_. But it takes a wrong decision. It uses either
/usr/share/sendmail/cf or /usr/src/contrib/sendmail/cf.

To work around this, you can edit /etc/mail/Makefile or use the
following at the top of your sendmail.mc files:

dnl include.
dnl Use the following m4 macro file.
dnl
include(`/usr/share/sendmail/cf/m4/cf.m4')dnl

That's it. If you need any help, don't hesitate to contact me.

Have fun :)

David
--
David Robillard
UNIX systems administrator & Oracle DBA
CISSP, RHCE & Sun Certified Security Administrator
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: To which port GPG belongs?

2006-11-22 Thread Felix 'buebo' Kakrow
Am 22.11.06 14:53 schrieb VeeJay <[EMAIL PROTECTED]>:
> Hi
> 
> If I want to run commands like
> 
> 
> # gpg httpd-2.0.49.tar.gz.asc
> 
> Which port one should install, becasue there are many...
How about security/gnupg or security/gnupg-devel?

I've never messed with the options on this one, but unless you want
something very exotic (like encrypting living monkeys and storing them
in MySQL Databases) there should be no need to.

Regards,
Felix
-- 
If you love someone, set them free.
If they don't come back, then call them up when you're drunk.


signature.asc
Description: Digital signature


Re: NIC driver question

2006-11-22 Thread Aftab Jahan Subedar
U can always add additional Intel/3COM NIC, in case the builtin card is 
not recognized.


--

Aftab Jahan Subedar
CEO/Software Engineer
Subedar Technologies Ltd
Soubedar Baag Bibir Bagicha #1
North Jatra Bari
Dhaka 1204
Bangladesh
http://www.DhakaStockExchangeGame.com


Frank Bonnet wrote:


Hello

I will receive in few days my new mail server the machine will
be an IBM X3650 bi xeon.

I wonder what would be the "best" network interface to
plug in (if necessary) as I don't know for now what is
the builtin interfaces in this machine.

To be clear I'm asking gurus on what is the "best FreeBSD supported"
NIC driver to avoid eventual perfomances problems.

Thanks a lot.



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


Re: To which port GPG belongs?

2006-11-22 Thread Karol Kwiatkowski
On 22/11/2006 14:53, VeeJay wrote:
> Hi
> 
> If I want to run commands like
> 
> 
> # gpg httpd-2.0.49.tar.gz.asc
> 
> Which port one should install, becasue there are many...

/usr/ports/security/gnupg

Btw, there's excellent documentation at http://www.gnupg.org/


> And with which options one should install to have maximum security measure
> i.e. LDAP, CURL, etc

Take the defaults. You can add some functionality later, if required.

HTH.

Karol

-- 
Karol Kwiatkowski  
OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc



signature.asc
Description: OpenPGP digital signature


To which port GPG belongs?

2006-11-22 Thread VeeJay

Hi

If I want to run commands like


# gpg httpd-2.0.49.tar.gz.asc

Which port one should install, becasue there are many...


1. /usr/ports/security/gnome-gpg
2. /usr/ports/security/gpgme03
3. /usr/ports/security/kgpg
4. /usr/ports/security/nofgpg
5. /usr/ports/security/ruby-gpgme

And with which options one should install to have maximum security measure
i.e. LDAP, CURL, etc

--
Thanks!

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


Re: 'pkg_version' comparison failure

2006-11-22 Thread RW
On Wednesday 22 November 2006 11:48, Gerard Seibert wrote:
> What would cause this command:
>
>   /usr/sbin/pkg_version -vIL=
>
> to produce this error message:
>
> openoffice.org-2.0.3!   Comparison failed
>
> I have updated the ports tree several times; however, the error remains.
> No other ports exhibits this phenomena.

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


ADI AD1888 AC'97 audio CODEC on ASUS P4P800S

2006-11-22 Thread alan ramlan
give me driver sound ad1888 for P4P800S plese.


 

Sponsored Link

Online degrees - find the right program to advance your career. 
www.nextag.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Upgrade Question

2006-11-22 Thread Alex Zbyslaw

Gerard Seibert wrote:


On Tuesday November 21, 2006 at 09:08:42 (PM) [EMAIL PROTECTED] wrote:


 


RELENG_6 for whatever 6-STABLE is (6.2 right now but will soon
enough be moving on towards 6.3.).
   



I wasn't aware that 6.2 had been released as 'STABLE' yet.

 


Short version: No, the OP was correct.

Long version:

You've confused STABLE with RELEASE.  6.2 has not reached RELEASE.  
6-STABLE is the latest "these changes worked fine in CURRENT (right now, 
aka 7) and have been MFCed (merged from current) so that more people can 
try them out", which right now corresponds to the version of FreeBSD 
that is just about to be released which also happens to be called 
6.2-RC1 (release candidate 1)).  When 6.2 is ready to go, a new RELEASE 
branch is created (6.2-RELEASE) which only gets security fixes.  
6-STABLE then starts tracking 6.3, just as the OP said, though no 6.3 
branch is created as such (iiuc).  6.3 tags start being created when 
enough worthwhile changes have been MFCed into 6-STABLE and the next 
release cycle is ready to start.


Depressingly, the STABLE tag makes perfect sense once you grasp the 
branch structure that FreeBSD uses, but causes no end of confusion 
otherwise.


STABLE in this context means "worked stably in the most up-to-date 
version of the source code that exists".  It does not means "stable 
enough to use on production servers or other critical environments", 
though frequently it will be - just not always, as changes which worked 
for the limited number of people who run CURRENT machines, may break in 
more diverse environments when more people running STABLE try them.


--Alex


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


Re: Upgrade Question

2006-11-22 Thread Gerard Seibert
On Tuesday November 21, 2006 at 09:08:42 (PM) [EMAIL PROTECTED] wrote:


> RELENG_6 for whatever 6-STABLE is (6.2 right now but will soon
> enough be moving on towards 6.3.).

I wasn't aware that 6.2 had been released as 'STABLE' yet.

-- 
Gerard

 Mail from '@gmail' is rejected and/or discarded here. Don't waste
 your time!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


'pkg_version' comparison failure

2006-11-22 Thread Gerard Seibert

What would cause this command:

/usr/sbin/pkg_version -vIL=

to produce this error message:

openoffice.org-2.0.3!   Comparison failed

I have updated the ports tree several times; however, the error remains. 
No other ports exhibits this phenomena.


--
Gerard
[EMAIL PROTECTED]

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


> Subject: Re: Ezmlm Port Okay Or Junk?

2006-11-22 Thread Graham Bentley

Can you expand on this ?

I have noticed that quite alot of ports are broken on 6.2
but then again I only loaded it a few days ago and havent
updated the tree (thinking this is the 'latest' version - flawed?)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"