6.4 Netapp iscsi

2010-06-14 Thread Alex Huth
Hello!

I have to implement Bacula using NetApp iscsi. I have already searched
for a while, but found only solutions for 7.x and higher or FreeBSD as
a iscsi target.
How can i do that on 6.4?

Greetings

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


Sudden refusal to boot with page fault in swapper

2010-06-14 Thread Matthew Hambley
My FreeBSD system (amd64, SATA, root on ZFS) has suddenly started 
refusing to boot up. It crashes out with a page fault just after the ZFS 
warning that I only have 4GB of RAM.


The following is a transcription of what I see:


ZFS file system version 13
ZFS storage pool version 13
Timecounters tick every 1.000msec

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address = 0x4
fault code = supervisor write data, page not present
instruction pointer = 0x20:0xf...810c522a
stack pointer = 0x28:0xf...81128af0
frame pointer = 0x28:0xf...81128b10
code segment = base 0x0, limit 0xf, type 0x1b
 = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = interupt enabled, resume, IOPL = 0
current process = 0 (swapper)
trap number = 12
panic: page fault
cupid = 0
uptime : 1s
Cannot dump, Device not defined or unavailable
Automatic reboot in 15 seconds


The ellipses in addresses represents continued f's. These addresses seem 
to be the same each time. I have tried using the Without ACPI boot 
option to no avail.


Originally I had a problem in that using a USB keyboard meant I was 
unable to press a key to halt the reboot timer but a USB to PS/2 adapter 
solved that.


This problem has suspiciously started happening after I had trouble 
performing the big gettext upgrade to the ports tree but I don't see 
how changes to the ports tree can affect the base system which is 
presumably where I still am this early in the boot process. However, for 
completeness, the portmaster -w -r gettext command kept failing half 
way through over the xz archiver. In the end I gave up and went with a 
portmaster -a expecting some minor problems which could be fixed with 
manual recompilation of effected ports.


While some web searching didn't turn up an answer to my problem it did 
show that a memory fault is often suspected in these situations. I used 
an Ultimate Boot disc to test the memory and it tested okay.


Have I hosed my system? And help gratefully received.

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


Simulate CRON

2010-06-14 Thread Carmel
I saw a posting here months ago regarding a way to simulate running a
script under CRON. I wrote it down and now cannot find it. Googling has
not proved very useful either. I just cannot remember the program name.

I hope I am explaining this sanely enough.

-- 
Carmel ✌
carmel...@hotmail.com

|===
|===
|===
|===
|

   THE DAILY PLANET

SUPERMAN SAVES DESSERT!
Plans to Eat it later
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


.cshrc usage

2010-06-14 Thread Aiza
I want to change the console prompt for all users that get accounts 
created. I added it to /etc/csh.cshrc which says it a system-wide .cshrc 
file. But after adding a new user with pw command with -m and logging in 
as the user name the prompt is still the old way. Do I have to add it to

/usr/share/skel/dot.cshrc to get the change to take effect?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Simulate CRON

2010-06-14 Thread Amitabh Kant
On Mon, Jun 14, 2010 at 3:42 PM, Carmel carmel...@hotmail.com wrote:

 I saw a posting here months ago regarding a way to simulate running a
 script under CRON. I wrote it down and now cannot find it. Googling has
 not proved very useful either. I just cannot remember the program name.

 I hope I am explaining this sanely enough.

 --
 Carmel ✌
 carmel...@hotmail.com


Are you looking for a cron syntax check? If yes, then this site should be of
some help:

http://www.hxpi.com/cron_sandbox.php


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


Re: Simulate CRON

2010-06-14 Thread Carmel
On Mon, 14 Jun 2010 16:41:19 +0530
Amitabh Kant amitabhk...@gmail.com articulated:


 On Mon, Jun 14, 2010 at 3:42 PM, Carmel carmel...@hotmail.com wrote:
 
  I saw a posting here months ago regarding a way to simulate running
  a script under CRON. I wrote it down and now cannot find it.
  Googling has not proved very useful either. I just cannot remember
  the program name.
 
  I hope I am explaining this sanely enough.
 
 Are you looking for a cron syntax check? If yes, then this site
 should be of some help:
 
 http://www.hxpi.com/cron_sandbox.php

No, sorry. There was a command or program, I forgot which, that would
allow a user to run a program under another environment, similar to the
environment that a script under CRON would be running under.

-- 
Carmel ✌
carmel...@hotmail.com

|===
|===
|===
|===
|

We're living in a golden age.  All you need is gold.

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


Re: Simulate CRON

2010-06-14 Thread Robert Huff

Carmel writes:

I saw a posting here months ago regarding a way to simulate running
a script under CRON. I wrote it down and now cannot find it.
Googling has not proved very useful either. I just cannot remember
the program name.

   Are you looking for a cron syntax check? If yes, then this site
   should be of some help:
  
  No, sorry. There was a command or program, I forgot which, that
  would allow a user to run a program under another environment,
  similar to the environment that a script under CRON would be
  running under.

Are you possibly talking about a jail?



Robert Huff



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


Re: Simulate CRON

2010-06-14 Thread C. P. Ghost
On Mon, Jun 14, 2010 at 1:39 PM, Carmel carmel...@hotmail.com wrote:
 No, sorry. There was a command or program, I forgot which, that would
 allow a user to run a program under another environment, similar to the
 environment that a script under CRON would be running under.

at(1) maybe?

-cpghost.

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


Re: Simulate CRON

2010-06-14 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 14/06/2010 12:55:34, Robert Huff wrote:
 
 Carmel writes:
 
I saw a posting here months ago regarding a way to simulate running
a script under CRON. I wrote it down and now cannot find it.
Googling has not proved very useful either. I just cannot remember
the program name.

   Are you looking for a cron syntax check? If yes, then this site
   should be of some help:
  
  No, sorry. There was a command or program, I forgot which, that
  would allow a user to run a program under another environment,
  similar to the environment that a script under CRON would be
  running under.
 
   Are you possibly talking about a jail?

Try:

   env -i USER=$USER HOME=$HOME LOGNAME=$LOGNAME \
 PATH=/usr/bin:/bin SHELL=/bin/sh PWD=$HOME your-script-name

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwWHPQACgkQ8Mjk52CukIx5fQCaAlvxOIEvdG96J1+lSB0UCQlX
NqsAnjFA4gG6eJtPiHlIBcfdRzjxaSAB
=AwPN
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Simulate CRON

2010-06-14 Thread Jonathan McKeown
On Monday 14 June 2010 13:39:15 Carmel wrote:
 On Mon, 14 Jun 2010 16:41:19 +0530

 Amitabh Kant amitabhk...@gmail.com articulated:
  On Mon, Jun 14, 2010 at 3:42 PM, Carmel carmel...@hotmail.com wrote:
   I saw a posting here months ago regarding a way to simulate running
   a script under CRON. I wrote it down and now cannot find it.
   Googling has not proved very useful either. I just cannot remember
   the program name.
  
   I hope I am explaining this sanely enough.
 
  Are you looking for a cron syntax check? If yes, then this site
  should be of some help:
 
  http://www.hxpi.com/cron_sandbox.php

 No, sorry. There was a command or program, I forgot which, that would
 allow a user to run a program under another environment, similar to the
 environment that a script under CRON would be running under.

env(1)?

From the manpage:

The env utility executes another utility after modifying the environment as 
specified on the command line.

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


Re: Simulate CRON

2010-06-14 Thread Carmel
On Mon, 14 Jun 2010 07:55:34 -0400
Robert Huff roberth...@rcn.com articulated:


   Are you possibly talking about a jail?

Sorry, no. I am going to try searching the questions archives and
perhaps come up with it.

-- 
Carmel ✌
carmel...@hotmail.com

|===
|===
|===
|===
|

Carson's Consolation:
Nothing is ever a complete failure.
It can always be used as a bad example.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Archive Server Error

2010-06-14 Thread Carmel
I am/was attempting to search the archive located at:
http://lists.freebsd.org/pipermail/freebsd-questions/

Unfortunately, I am continually greeted with this error message:

quote

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to 
complete your request.

Please contact the server administrator, w...@freebsd.org and inform them of 
the time the error occurred, and anything you might have done that may have 
caused the error.

More information about this error may be available in the server error log.

/quote

Is this a known problem or am I just doing something stupid?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Archive Server Error

2010-06-14 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 14/06/2010 13:21:40, Carmel wrote:
 I am/was attempting to search the archive located at:
 http://lists.freebsd.org/pipermail/freebsd-questions/
 
 Unfortunately, I am continually greeted with this error message:
 
 quote
 
 Internal Server Error
 The server encountered an internal error or misconfiguration and was unable 
 to complete your request.

Works for me.  Try again.  If you still see the problem, it's possible
your browser has cached the error page and isn't really going back to
the site at all.  Try quitting and restarting your browser.

If you're using a web proxy, then the same caching problem might occur
there.  If the proxy isn't under your control, then probably the best
thing for you to do is leave well alone for several hours, and then try
again.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwWIBIACgkQ8Mjk52CukIxP0gCbB6zMeieqqok1CZ9hsUmaW2WS
AScAnR7BrhCwzNQ++/DUoUDrZCekOsfJ
=UNve
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: php help, please....

2010-06-14 Thread Ivan Voras
On 06/12/10 20:47, Gary Kline wrote:

  but it
  seems strange that php would simply =change= out from under
  me.  well, so to speak.  can you suggest any php list that i
  should sub to?  

Unfortunately they do it all the time - every sub-release and especially
major releases can be relied upon to have subtle changes.

Client-side PHP code bit-rots due to this on its own, with nothing being
changed anywhere but in the interpreter.

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


Re: How to make macromedia flash working from Opera?

2010-06-14 Thread sghctoma
You need opera-linuxplugins-10.10.20091120_2. Also, if you are
planning to use Flash only with Opera, you can delete nspluginwrapper,
it is not needed.

sghctoma

On Sun, Jun 13, 2010 at 11:42:54AM -0700, Yuri wrote:
 
 Flash works in firefox (through nspluginwrapper). But not in Opera.
 How to make it work in Opera as well?
 
 I have these installed:
 linux-f10-flashplugin-10.0r45 Adobe Flash Player NPAPI Plugin
 nspluginwrapper-1.3.0_4 A compatibility plugin for Mozilla NPAPI 
 (development version)
 opera-10.10.20091120_2 Blazingly fast, full-featured, 
 standards-compliant browser,
 
 Yuri
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Archive Server Error

2010-06-14 Thread A. Wright

On Mon, 14 Jun 2010, Matthew Seaman wrote:


On 14/06/2010 13:21:40, Carmel wrote:

I am/was attempting to search the archive located at:
http://lists.freebsd.org/pipermail/freebsd-questions/

Unfortunately, I am continually greeted with this error message:


  [ error message deleted ]


Works for me.  Try again.  If you still see the problem, it's possible
your browser has cached the error page and isn't really going back to
the site at all.  Try quitting and restarting your browser.


Interesting.  Archive search hasn't worked for me for weeks,
with the same 500 error returned.

Not a cache issue; clearing/restarting has no effect, and I have
seen the issue on several machines/browsers (FBSD/links, Mac/Firefox,
Mac/Safari).  I'm wondering about firewall/proxy -- I'll give it
a whirl when off-site later today.

A.

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


Re: Archive Server Error

2010-06-14 Thread Carmel
On Mon, 14 Jun 2010 10:46:55 -0300 (ADT)
A. Wright and...@qemg.org articulated:

 On Mon, 14 Jun 2010, Matthew Seaman wrote:
 
  On 14/06/2010 13:21:40, Carmel wrote:
  I am/was attempting to search the archive located at:
  http://lists.freebsd.org/pipermail/freebsd-questions/
 
  Unfortunately, I am continually greeted with this error message:
 
[ error message deleted ]
 
  Works for me.  Try again.  If you still see the problem, it's
  possible your browser has cached the error page and isn't really
  going back to the site at all.  Try quitting and restarting your
  browser.
 
 Interesting.  Archive search hasn't worked for me for weeks,
 with the same 500 error returned.
 
 Not a cache issue; clearing/restarting has no effect, and I have
 seen the issue on several machines/browsers (FBSD/links, Mac/Firefox,
 Mac/Safari).  I'm wondering about firewall/proxy -- I'll give it
 a whirl when off-site later today.

I just tried from a different computer using a different web browser
with the same results.

I was wondering about this notation on the page though:

Note:The archive search index was last rebuilt at Thursday, 08 Feb 2007
06:16:51 UTC. Any postings after that will not be found by a search.
Index rebuild is usally done once every 24 hours for this list. You can
use a View by date link below to access more recent postings.

Is there any specific reason that the archive has not been re-index in
over three years? I don't remember the date of the post I wasx
referring to, so that could become a rather long process.

-- 
Carmel ✌
carmel...@hotmail.com

|===
|===
|===
|===
|

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


RE: llvm in head?

2010-06-14 Thread Johan Hendriks
Hello,

How to use llvm/clang to build the world and the kernel in HEAD since
the import? The wiki on clangBSD is not clear on this point (I think
it has not been updated).

Thanks, regards.

On i386, AMD64 and ppc you do not have to do anything.
It will be build with clang/llvm by default.

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


SATA time outs

2010-06-14 Thread Casey Scott
Since upgrading to 8.0 RELEASE, I continually get these errors:

...
Jun 11 15:24:08  kernel: ad6: 953869MB Seagate ST31000340AS SD1A at 
ata3-master SATA150
Jun 11 15:24:08  kernel: (probe6:ahc0:0:6:0): TEST UNIT READY. CDB: 0 0 0 0 
0 0
Jun 11 15:24:08  kernel: (probe6:ahc0:0:6:0): CAM Status: SCSI Status Error
Jun 11 15:24:08  kernel: (probe6:ahc0:0:6:0): SCSI Status: Check Condition
Jun 11 15:24:08  kernel: (probe6:ahc0:0:6:0): UNIT ATTENTION asc:29,2
Jun 11 15:24:08  kernel: (probe6:ahc0:0:6:0): SCSI bus reset occurred
Jun 11 15:24:08  kernel: (probe6:ahc0:0:6:0): Retrying Command (per Sense 
Data)
...


I've tried 3 different drives w/ 2 different disk controllers. Anything I use 
as the second drive generates this message on boot, and will eventually fail 
with timeout errors after a couple hours.  The other drive on the system, ad4, 
never displays these symptoms. This isn't new hardware, and worked flawlessly 
until now.

Any suggestions? Has a bug been introduced into the ata driver?

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


Re: .cshrc usage

2010-06-14 Thread Polytropon
On Mon, 14 Jun 2010 18:23:52 +0800, Aiza aiz...@comclark.com wrote:
 I want to change the console prompt for all users that get accounts 
 created. I added it to /etc/csh.cshrc which says it a system-wide .cshrc 
 file. But after adding a new user with pw command with -m and logging in 
 as the user name the prompt is still the old way. Do I have to add it to
 /usr/share/skel/dot.cshrc to get the change to take effect?

Check the users' ~/.cshrc to see if they override those settings.
I also have some standard settings for all users in /etc/csh.cshrc,
and users' ~/.cshrc are usually empty (unless they add their own
settings or override mine).

if ($?prompt) then
set promptchars = %#
set prompt = %...@%m:%~%# 
set autolist
#   ... more stuff here ...
endif

This is an example on how to properly implement the standard prompt
(username, hostname, current directory with home substitution, and
permission indicator).

The /usr/share/skel directory contains files that are copied to a
user's directory when an account is created. This means: See what's
in those files. If they override your global settings, change them.
If an account has already been created, check the user's files.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE:resize freebsd slice

2010-06-14 Thread Giorgos Tsiapaliokas
thanks gyus for your help but the problem is solved, i reinstall FBSD from
the begging..:)

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


Re: Switched to Bash and Comparison of Shells

2010-06-14 Thread Dan D Niles
On Fri, 2010-06-11 at 11:46 +0930, Malcolm Kay wrote:
 On Fri, 11 Jun 2010 02:49 am, Dan D Niles wrote:
  I had been using csh/tcsh for 20 years and I just switched to
  bash.  The recent discussion about the differences between the
  shells prompted me to take another look at bash.  I thought
  I'd share my perception of the differences between tcsh and
  bash.
 
 It seems to me that it is a little late in the day to be changing
 to bash. Some well known Linux distributions are beginning to see 
 that some non-posix features of bash can create difficulties. I 
 believe recent releases of Ubuntu use dash as the prefered 
 shell, and it looks as though Debian will be going the same way.
 Dash is supposed to be a modern, faster and cleaner 
 implementation of sh -- if installed through FBSD ports it has 
 the same man page as sh.

For an interactive shell, it doesn't really matter if it has non-POSIX
features or not.  For scripts it is a different story.  If you use
non-POSIX features in a script, it becomes less portable.  I switched my
interactive shell not my scripting shell. 

The problem with Linux distros is they replaced /bin/sh with bash.  I
imagine that non-POSIX features started to creep into their shell
scripts and they became less portable.   I agree with Linux distros
using a POSIX shell for /bin/sh instead of bash.  Ubuntu has been using
dash as of at least 9.04, BTW.



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


Re: Archive Server Error

2010-06-14 Thread Andrew Wright

On Mon, 14 Jun 2010, A. Wright wrote:


Not a cache issue; clearing/restarting has no effect, and I have
seen the issue on several machines/browsers (FBSD/links, Mac/Firefox,
Mac/Safari).  I'm wondering about firewall/proxy -- I'll give it
a whirl when off-site later today.


Still nothing when checking from home.

I'm wondering about network topology -- it is dead when
viewed from my server (138.73.29.51).

Traceroute returns this:
traceroute to wwwdyn.freebsd.org (69.147.83.38), 64 hops max, 52 byte 
packets
 1  138.73.29.254 (138.73.29.254)  0.618 ms  0.555 ms  0.541 ms
 2  bfg-6506.mta.ca (138.73.101.254)  0.801 ms  0.311 ms  0.323 ms
 3  198.164.29.73 (198.164.29.73)  0.855 ms  0.792 ms  0.507 ms
 4  198.164.29.65 (198.164.29.65)  8.464 ms  8.194 ms  8.109 ms
 5  142.166.176.1 (142.166.176.1)  124.732 ms  124.961 ms  114.841 ms
 6  xe-1-0-0-200.dr02.fctn.nb.aliant.net (142.166.209.194)  129.638 ms  
117.374 ms  117.979 ms
 7  so-1-3-0.cr02.stjh.nb.aliant.net (142.166.185.145)  126.063 ms  
123.422 ms  130.776 ms
 8  te-0-2-5-0.cr01.hlfx.ns.aliant.net (142.166.181.137)  126.243 ms  
130.194 ms  123.887 ms
 9  xe-3-0-0.bx01.asbn.va.aliant.net (207.231.227.6)  144.084 ms  
148.291 ms  146.069 ms
10  yho1.asbn.va.aliant.net (207.231.227.26)  146.966 ms  143.405 ms  
144.975 ms
11  ae-6.pat1.dce.yahoo.com (216.115.102.172)  140.772 ms  146.617 ms  
166.540 ms
12  as-0.pat2.che.yahoo.com (216.115.101.145)  166.338 ms  201.429 ms  
172.191 ms
13  as-1.pat2.dnx.yahoo.com (216.115.96.55)  206.685 ms  212.076 ms  
212.919 ms
14  as-0.pat1.pao.yahoo.com (216.115.101.128)  221.059 ms  220.649 ms  
222.264 ms
15  ae-1-d140.msr1.sp1.yahoo.com (216.115.107.53)  230.591 ms
ae-0-d140.msr1.sp1.yahoo.com (216.115.107.49)  235.904 ms
UNKNOWN-216-115-107-73.yahoo.com (216.115.107.73)  229.977 ms
16  * * gi-1-39.bas-b1.sp1.yahoo.com (98.136.16.61)  661.870 ms
17  wwwdyn.freebsd.org (69.147.83.38)  235.035 ms  238.288 ms  229.476 
ms

Could there be some bad cacheing on the server?  I'm guessing that
wwdyn indicates some load balancing?

There seems to be some strange configuration going on; if the
IP is substituted:
http://69.147.83.38/pipermail/freebsd-questions/
a document not found error results referring to a machine
called realcgi.sky.freebsd.org.

A.

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


Re: Lpr 'queue full errorSOLVED

2010-06-14 Thread Al Plant

Al Plant wrote:

Aloha,

I have a network HP Laserjet 1100 printer that has been running with out 
failure since 2004 on my office lan using aps2 filter on a FreeBSD 4.9 
Lpr print server. It became intermittent recently in that it prints 
files from the command line only. The gui's on the three desktop boxes 
on the lan (all FreeBSD 8  9) no longer print.


The error is queue is full when print job is sent from a gui. It works 
fine from the command line. Could the aps2 filter have failed?


Any suggestions as to what to look for appreciated. Search only showed 
similar questions no answers.


Thanks,



Aloha,

Problem solved:

For the record.

I found a lpc command in FreeBSD Unleashed.
LPR trouble shooting section.

lpc clean all

This command used on the client hosts and the server removed a lot of 
cruft left by the printing processes.


It appears to print  as it should after this command.


~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

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


Nanobsd not booting...

2010-06-14 Thread Peter Harrison
I need some help with Nanobsd. I've built an image for testing purposes with 
the sample conf file from the howto, and using the generic kernel config. The 
build runs without errors.

After dd'ing the image to a usb stick, I can mount the partitions and see the 
contents (.COPYRIGHT file and root directory for instance), fdisk shows 
partition 1 marked active. But the stick won't boot - the machine in question 
definitely supports usb boot (it boots the 8.0-RELEASE image off the same usb 
stick without problem).

It POSTs fine, then says Verifying DMI pool data...

And then I just get a flashing underscore.

Any thoughts as to what I've done wrong and how to fix it?


TIA


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


Re: Archive Server Error

2010-06-14 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 14/06/2010 18:35:39, Andrew Wright wrote:
 On Mon, 14 Jun 2010, A. Wright wrote:
 
 Not a cache issue; clearing/restarting has no effect, and I have
 seen the issue on several machines/browsers (FBSD/links, Mac/Firefox,
 Mac/Safari).  I'm wondering about firewall/proxy -- I'll give it
 a whirl when off-site later today.
 
 Still nothing when checking from home.
 
 I'm wondering about network topology -- it is dead when
 viewed from my server (138.73.29.51).
 
 Traceroute returns this:
 traceroute to wwwdyn.freebsd.org (69.147.83.38), 64 hops max, 52
 byte packets
  1  138.73.29.254 (138.73.29.254)  0.618 ms  0.555 ms  0.541 ms
  2  bfg-6506.mta.ca (138.73.101.254)  0.801 ms  0.311 ms  0.323 ms
  3  198.164.29.73 (198.164.29.73)  0.855 ms  0.792 ms  0.507 ms
  4  198.164.29.65 (198.164.29.65)  8.464 ms  8.194 ms  8.109 ms
  5  142.166.176.1 (142.166.176.1)  124.732 ms  124.961 ms  114.841 ms
  6  xe-1-0-0-200.dr02.fctn.nb.aliant.net (142.166.209.194)  129.638
 ms  117.374 ms  117.979 ms
  7  so-1-3-0.cr02.stjh.nb.aliant.net (142.166.185.145)  126.063 ms 
 123.422 ms  130.776 ms
  8  te-0-2-5-0.cr01.hlfx.ns.aliant.net (142.166.181.137)  126.243
 ms  130.194 ms  123.887 ms
  9  xe-3-0-0.bx01.asbn.va.aliant.net (207.231.227.6)  144.084 ms 
 148.291 ms  146.069 ms
 10  yho1.asbn.va.aliant.net (207.231.227.26)  146.966 ms  143.405
 ms  144.975 ms
 11  ae-6.pat1.dce.yahoo.com (216.115.102.172)  140.772 ms  146.617
 ms  166.540 ms
 12  as-0.pat2.che.yahoo.com (216.115.101.145)  166.338 ms  201.429
 ms  172.191 ms
 13  as-1.pat2.dnx.yahoo.com (216.115.96.55)  206.685 ms  212.076 ms 
 212.919 ms
 14  as-0.pat1.pao.yahoo.com (216.115.101.128)  221.059 ms  220.649
 ms  222.264 ms
 15  ae-1-d140.msr1.sp1.yahoo.com (216.115.107.53)  230.591 ms
 ae-0-d140.msr1.sp1.yahoo.com (216.115.107.49)  235.904 ms
 UNKNOWN-216-115-107-73.yahoo.com (216.115.107.73)  229.977 ms
 16  * * gi-1-39.bas-b1.sp1.yahoo.com (98.136.16.61)  661.870 ms
 17  wwwdyn.freebsd.org (69.147.83.38)  235.035 ms  238.288 ms 
 229.476 ms
 
 Could there be some bad cacheing on the server?  I'm guessing that
 wwdyn indicates some load balancing?

Possibly. I get subtly a different traceroute to yours once the traffic
gets into Yahoo's network.

lucid-nonsense:~:% traceroute lists.freebsd.org
traceroute to wwwdyn.freebsd.org (69.147.83.38), 64 hops max, 52 byte
packets
 1  gate (81.187.76.161)  1.221 ms  1.125 ms  1.048 ms
 2  2.b.gormless.thn.aaisp.net.uk (90.155.53.112)  27.369 ms  27.692 ms
 27.523 ms
 3  a.armless.thn.aaisp.net.uk (90.155.53.6)  28.955 ms  27.807 ms
27.771 ms
 4  lvl3gw.thn.packetexchange.net (212.187.197.193)  28.535 ms  28.301
ms  28.761 ms
 5  ae-34-52.ebr2.London1.Level3.net (4.69.139.97)  28.824 ms  29.236 ms
 28.486 ms
 6  ae-41-41.ebr1.NewYork1.Level3.net (4.69.137.66)  97.785 ms
ae-44-44.ebr1.NewYork1.Level3.net (4.69.137.78)  97.880 ms  97.654 ms
 7  ae-91-91.csw4.NewYork1.Level3.net (4.69.134.78)  102.875 ms
ae-71-71.csw2.NewYork1.Level3.net (4.69.134.70)  98.293 ms
ae-81-81.csw3.NewYork1.Level3.net (4.69.134.74)  104.146 ms
 8  ae-94-94.ebr4.NewYork1.Level3.net (4.69.134.125)  98.448 ms
ae-74-74.ebr4.NewYork1.Level3.net (4.69.134.117)  110.459 ms
ae-84-84.ebr4.NewYork1.Level3.net (4.69.134.121)  98.013 ms
 9  ae-2-2.ebr4.SanJose1.Level3.net (4.69.135.185)  170.752 ms  167.141
ms  178.554 ms
10  ae-94-94.csw4.SanJose1.Level3.net (4.69.134.254)  166.887 ms
ae-64-64.csw1.SanJose1.Level3.net (4.69.134.242)  166.901 ms  167.271 ms
11  ae-13-69.car3.SanJose1.Level3.net (4.68.18.5)  168.587 ms  351.785
ms  220.689 ms
12  4.71.112.14 (4.71.112.14)  176.247 ms  176.649 ms  175.371 ms
13  ae-0-d161.msr1.sp1.yahoo.com (216.115.107.59)  167.602 ms
ae-1-d161.msr1.sp1.yahoo.com (216.115.107.63)  168.532 ms
ae-1-d171.msr2.sp1.yahoo.com (216.115.107.87)  168.556 ms
14  gi-1-41.bas-b2.sp1.yahoo.com (209.131.32.33)  169.761 ms
UNKNOWN-98-136-16-47.yahoo.com (98.136.16.47)  168.770 ms
UNKNOWN-98-136-16-57.yahoo.com (98.136.16.57)  168.393 ms
15  wwwdyn.freebsd.org (69.147.83.38)  168.668 ms  168.849 ms  169.531 ms

Of course, this could very well be the reason why I get different
results to you.  I have IPv6 connectivity.

lucid-nonsense:~:% traceroute6 lists.freebsd.org
traceroute6 to wwwdyn.freebsd.org (2001:4f8:fff6::26) from
2001:8b0:151:1::1, 64 hops max, 12 byte packets
 1  b.gormless.thn.aaisp.net.uk  27.407 ms  26.967 ms  26.968 ms
 2  2001:7f8:4::50e8:1  26.974 ms  26.678 ms  27.100 ms
 3  10gigabitethernet1-1.core1.lon1.he.net  27.534 ms  27.328 ms  27.568 ms
 4  10gigabitethernet2-3.core1.ny4.ipv6.he.net  98.253 ms  96.154 ms
95.826 ms
 5  10gigabitethernet2-3.core1.ash1.ipv6.he.net  100.939 ms  101.851 ms
 105.118 ms
 6  10gigabitethernet1-2.core1.atl1.he.net  121.391 ms  122.689 ms
123.839 ms
 7  2001:470:0:ce::2  177.073 ms  177.019 ms  177.612 ms
 8  

terrible mplayer performance

2010-06-14 Thread Neil Short
Ok. I'm stuck. Mplayer's performance is worse on this laptop than it is on my 
Toshiba running with a half-speed processor. I have attempted all the 
suggestions I can find re: getting the performance.
The video is slow - so it lags the audio by quite a bit. I keep getting Your 
processor is too slow... stuff.

What to do?

I built mplayer from ports (not package).
mplayer-1.0.r20100117_1

My computer is an HP Pavilion dv4

xorg.conf is set up to run the vesa driver. That's how X -configure set it up. 
I have no idea what graphics device is actually on this machine.

dmesg shows:
Copyright (c) 1992-2010 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.1-PRERELEASE #1: Mon Jun  7 10:53:01 MST 2010
nesh...@carmen:/usr/obj/usr/src/sys/CARMEN amd64
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM) i3 CPU   M 330  @ 2.13GHz (2127.92-MHz K8-class CPU)
  Origin = GenuineIntel  Id = 0x20652  Family = 6  Model = 25  Stepping = 2
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
,PBE
  
Features2=0x98e3bdSSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
  AMD Features=0x28000800SYSCALL,RDTSCP,LM
  AMD Features2=0x1LAHF
  TSC: P-state invariant
real memory  = 4294967296 (4096 MB)
avail memory = 3892748288 (3712 MB)
ACPI APIC Table: HPQOEM SLIC-MPC
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  4
 cpu3 (AP): APIC ID:  5
...
vgapci0: VGA-compatible display port 0x6050-0x6057 mem 
0xd000-0xd03f,0xc000-0xcfff irq 16 at device 2.0 on pci0
agp0: Intel Ironlake (M) SVGA controller on vgapci0
agp0: detected 32764k stolen memory
agp0: aperture size is 256M
...
==

 What did you do? the man holding the flashlight asked.

 I put down a spider, he said, wondering why the man didn't see; in the beam 
of yellow light the spider bloated up larger than life. So it could get away.


  

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


Re: closing X

2010-06-14 Thread Derek Funk

On 6/13/2010 7:12 PM, Glen Barber wrote:

Hi Derek,

On 6/13/10 10:51 AM, Derek Funk wrote:

I have setup PCBSD and a Standard Freebsd with gui. and kbunto. They do
not close X completely. I get a flashing screen.
I can still type commands while the screen flashes. I have done a google
search but nothing seems to match my problem.

I installed opensolaris and it doesn't do this but I want bsd.

I have a Toshiba Satellite laptop that has intel mobile graphics. Is
this something with the intel graphics driver or an installed software
conflict.



Does it sound similar to this issue?

http://lists.freedesktop.org/archives/xorg/2009-August/046958.html

Regards,

Yea, that is mostly what I am experiencing.  I followed the thread and 
didn't see a resolution.


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


Re: terrible mplayer performance

2010-06-14 Thread Chip Camden
On Jun 14 2010 15:13, Neil Short wrote:
 Ok. I'm stuck. Mplayer's performance is worse on this laptop than it is on my 
 Toshiba running with a half-speed processor. I have attempted all the 
 suggestions I can find re: getting the performance.
 The video is slow - so it lags the audio by quite a bit. I keep getting Your 
 processor is too slow... stuff.
 
 What to do?
 
 I built mplayer from ports (not package).
 mplayer-1.0.r20100117_1
 
 My computer is an HP Pavilion dv4
 
 xorg.conf is set up to run the vesa driver. That's how X -configure set it 
 up. I have no idea what graphics device is actually on this machine.
 
 dmesg shows:
 Copyright (c) 1992-2010 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 8.1-PRERELEASE #1: Mon Jun  7 10:53:01 MST 2010
 nesh...@carmen:/usr/obj/usr/src/sys/CARMEN amd64
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Intel(R) Core(TM) i3 CPU   M 330  @ 2.13GHz (2127.92-MHz K8-class 
 CPU)
   Origin = GenuineIntel  Id = 0x20652  Family = 6  Model = 25  Stepping = 2
   
 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
 ,PBE
   
 Features2=0x98e3bdSSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
   AMD Features=0x28000800SYSCALL,RDTSCP,LM
   AMD Features2=0x1LAHF
   TSC: P-state invariant
 real memory  = 4294967296 (4096 MB)
 avail memory = 3892748288 (3712 MB)
 ACPI APIC Table: HPQOEM SLIC-MPC
 FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
  cpu2 (AP): APIC ID:  4
  cpu3 (AP): APIC ID:  5
 ...
 vgapci0: VGA-compatible display port 0x6050-0x6057 mem 
 0xd000-0xd03f,0xc000-0xcfff irq 16 at device 2.0 on pci0
 agp0: Intel Ironlake (M) SVGA controller on vgapci0
 agp0: detected 32764k stolen memory
 agp0: aperture size is 256M
 ...
 ==
 
  What did you do? the man holding the flashlight asked.
 
  I put down a spider, he said, wondering why the man didn't see; in the 
 beam of yellow light the spider bloated up larger than life. So it could get 
 away.
 

I have an i3 M 350 -- the intel drivers do not yet work for this chipset.
It's the Intel HM55, probably.  To verify, give us the output of

pciconf -vl | grep vgapci0

The chip= portion of that has the PCI ID.  Mine's 00468086.  For now at
least, I'm stuck on vesa.  But mplayer seems to run fine for me.

-- 
Sterling (Chip) Camden
http://camdensoftware.com | http://chipstips.com | http://chipsquips.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: terrible mplayer performance

2010-06-14 Thread Polytropon
On Mon, 14 Jun 2010 15:13:38 -0700 (PDT), Neil Short nesh...@yahoo.com wrote:
 Ok. I'm stuck. Mplayer's performance is worse on this laptop than
 it is on my Toshiba running with a half-speed processor. I have
 attempted all the suggestions I can find re: getting the performance.

You should use direct rendering when possible, it seems to be the
fastest playback.



 The video is slow - so it lags the audio by quite a bit. I keep
 getting Your processor is too slow... stuff.

Try -framedrop or -hardframedrop, but that's not the solution,
just a workaround.



 What to do?
 
 I built mplayer from ports (not package).
 mplayer-1.0.r20100117_1
 
 My computer is an HP Pavilion dv4
 
 xorg.conf is set up to run the vesa driver. That's how X -configure
 set it up. I have no idea what graphics device is actually on this
 machine.

This looks like the problem. You should use the correct driver for
your graphics card; vesa can be seen as last compatibility option,
usually not very performant.



 dmesg shows:
 Copyright (c) 1992-2010 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 8.1-PRERELEASE #1: Mon Jun  7 10:53:01 MST 2010
 nesh...@carmen:/usr/obj/usr/src/sys/CARMEN amd64
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Intel(R) Core(TM) i3 CPU   M 330  @ 2.13GHz (2127.92-MHz K8-class 
 CPU)
   Origin = GenuineIntel  Id = 0x20652  Family = 6  Model = 25  Stepping = 2
   
 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
 ,PBE
   
 Features2=0x98e3bdSSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
   AMD Features=0x28000800SYSCALL,RDTSCP,LM
   AMD Features2=0x1LAHF
   TSC: P-state invariant
 real memory  = 4294967296 (4096 MB)
 avail memory = 3892748288 (3712 MB)
 ACPI APIC Table: HPQOEM SLIC-MPC
 FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
  cpu2 (AP): APIC ID:  4
  cpu3 (AP): APIC ID:  5
 ...
 vgapci0: VGA-compatible display port 0x6050-0x6057 mem 
 0xd000-0xd03f,0xc000-0xcfff irq 16 at device 2.0 on pci0
 agp0: Intel Ironlake (M) SVGA controller on vgapci0
 agp0: detected 32764k stolen memory
 agp0: aperture size is 256M
 ...
 ==

You have a multicore processor and 4 GB of RAM and video playback
is slow? Impossible! My P2/300 with 512 MB RAM plays video without
any problems (running FreeBSD 5 and who knows what old version
of mplayer)...

Check the output of pciconf -lv to see what identification of
your graphics hardware is output. Then change xorg.conf to use
the proper driver for this. After this change (and a restart of
X), mplayer should use the correct output driver.

You can enter mplayer -vo help to get a list of the available
output drivers (e. g. xv, x11, gl, gl2, dgl, sdl and so on).




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: llvm in head?

2010-06-14 Thread Koop Mast
On Sun, 2010-06-13 at 15:36 +0200, Patrick Lamaiziere wrote:
 Hello,
 
 How to use llvm/clang to build the world and the kernel in HEAD since
 the import? The wiki on clangBSD is not clear on this point (I think
 it has not been updated).

You can't yet atm. The Makefile chances to make that happen haven't been
committed yet.

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


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


Re: llvm in head?

2010-06-14 Thread Patrick Lamaiziere
Le Mon, 14 Jun 2010 16:46:22 +0200,
Johan Hendriks jo...@double-l.nl a écrit :

 Hello,
 
 How to use llvm/clang to build the world and the kernel in HEAD since
 the import? The wiki on clangBSD is not clear on this point (I think
 it has not been updated).
 
 Thanks, regards.
 
 On i386, AMD64 and ppc you do not have to do anything.
 It will be build with clang/llvm by default.

Sure, but my question is to build the world and the kernel using it.

I've setup a fresh current in a virtual box, then set up
/etc/src.conf with:
CC=clang
NO_WERROR=
WERROR=

Then if I try to do a make buildworld, clang is used but it always fails
while building libgcc.

So I think I missed something.

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


Re: llvm in head?

2010-06-14 Thread Patrick Lamaiziere
Le Tue, 15 Jun 2010 01:01:40 +0200,
Koop Mast k...@rainbow-runner.nl a écrit :

  How to use llvm/clang to build the world and the kernel in HEAD
  since the import? The wiki on clangBSD is not clear on this point
  (I think it has not been updated).
 
 You can't yet atm. The Makefile chances to make that happen haven't
 been committed yet.

Ah! I will wait so.

I would like to test it on a real machine, how is the stability of
head nowadays? I used head between 7 and 8 and that worked mostly fine.

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


Re: detached a mounted ufs filesystem

2010-06-14 Thread Xihong Yin

'fsck_ufs /dev/da0a' gives me the same result as /dev/da0.

The 'newfs -N /dev/da0a' prints a very long list of numbers such as

160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624,
3010976,
 3387328, 3763680, 4140032, 4516384, 4892736, 5269088, 5645440, 6021792,
 6398144, 6774496, 7150848, 7527200, 7903552, 8279904, 8656256, 9032608,
 9408960, 9785312, 10161664, 10538016, 10914368, 11290720, 11667072,
12043424, ..

And I tried 'fsck_ffs -b 160 /dev/da0a', it says

Alternate super block location: 160
** /dev/da0a
160 is not a file system superblock

Using /dev/da0 or other numbers in the list gives me the same results.

Thanks,



On Sun, 13 Jun 2010, Polytropon wrote:


On Sat, 12 Jun 2010 22:38:15 -0400, Xihong Yin x...@gmx.com wrote:

'fdisk /dev/da0' output is

*** Working on device /dev/da0 ***
parameters extracted from in-core disklabel are:
cylinders=14593 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=14593 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
 start 63, size 234436482 (114470 Meg), flag 80 (active)
 beg: cyl 0/ head 1/ sector 1;
 end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED


This indicates that at least the FreeBSD slice seems to be intact.
Maybe it's just the label that's missing (and therefore, the
partitions can't be accessed).




I tried 'fsck_ufs /dev/da0', it says

** /dev/da0
Cannot find file system superblock
ioctl (GCINFO): Inappropriate ioctl for device
fsck_ufs: /dev/da0: can't read disk label


You said there was also /dev/da0a, maybe you can check this partition?
Make sure, for the first try, to use the -d flag (debug), so there are
no changes to the file system.




I forget what layout the disk has. Normally I used /dev/da0s1d
to mount the disk.


There should be more than one copy of the partition table on the disk.
I'm not sure if I'm mixing up things here, but fsck_ffs also allows
you to refer to a different superblock. Use

# newfs -N /dev/da0a

to print out superblock locations; this command will NOT create a
file system!

Use fsck_ffs -bblock to refer to a possible alternate superblock
for checking.




--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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


Re: detached a mounted ufs filesystem

2010-06-14 Thread Zhengtao Cui

# bsdlabel /dev/da0s1

says

bsdlabel: unable to get correct path for /dev/da0s1: No such file or
directory.

How do I make a fresh label if I have only 'c' and 'd' partitions?

How do I dd the first 126 sectors to a file?

Thanks,



On Mon, 14 Jun 2010, Ian Smith wrote:


In freebsd-questions Digest, Vol 314, Issue 13, Message: 22
On Sat, 12 Jun 2010 22:38:15 -0400 Xihong Yin x...@gmx.com wrote:

 'fdisk /dev/da0' output is

 *** Working on device /dev/da0 ***
 parameters extracted from in-core disklabel are:
 cylinders=14593 heads=255 sectors/track=63 (16065 blks/cyl)

 Figures below won't work with BIOS for partitions not in cyl 1
 parameters to be used for BIOS calculations are:
 cylinders=14593 heads=255 sectors/track=63 (16065 blks/cyl)

 Media sector size is 512
 Warning: BIOS sector numbering starts with sector 1
 Information from DOS bootblock is:
 The data for partition 1 is:
 sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
  start 63, size 234436482 (114470 Meg), flag 80 (active)
  beg: cyl 0/ head 1/ sector 1;
  end: cyl 1023/ head 254/ sector 63

Ok, the DOS partition table looks likely intact; it says you have one
slice ad0s1 occupying the entire disk _after_ the first 63 sectors.

Checking .. 14593 * 255 * 63 = 234436545 sectors, less
DOS partition 1 (FreeBSD s1) = 234436482 sectors equals 63 sectors,
being all of cylinder 0, head 0; slices start on cylinder boundaries.

 The data for partition 2 is:
 UNUSED
 The data for partition 3 is:
 UNUSED
 The data for partition 4 is:
 UNUSED

 I tried 'fsck_ufs /dev/da0', it says

 ** /dev/da0
 Cannot find file system superblock
 ioctl (GCINFO): Inappropriate ioctl for device
 fsck_ufs: /dev/da0: can't read disk label

Yes, as it should.  You haven't lost your MBR  partition table, but it
appears you may have lost the bsdlabel at the beginning of slice 1; this
is likely why FreeBSD only finds /dev/da0 and (perhaps) /dev/da0a ..

In the absence of a label on slice 1 (listing FreeBSD partitions c, the
whole slice, and one or more of a, b, d - h) the system seems to assume
this is a 'dangerously dedicated' disk, with no slices, covering the
whole disk - but still with no label.  I think the system is probably
assuming wrongly here, from a missing or damaged label.

Polytropon's advice to dd the whole drive to somewhere is excellent if
you have 114GB spare somewhere - but if you don't, at least dd the first
126 or so sectors to a file in case of further disasters.

 I forget what layout the disk has. Normally I used /dev/da0s1d to mount the 
disk.

 What the next step should I do?

First, to see if there's any meaningful label there, try just:

# bsdlabel /dev/da0s1

If that disk just had a single 'd' partition, as sounds maybe likely?,
and it doesn't show up with the above command, then you may get away
with just making a fresh label for the whole slice, with just 'c' and
'd' partitions, both of size 234436482 sectors.

I'm not the best person to advise on the right bsdlabel command, so I
won't speculate (possibly mis-advising you) on that.  If you had other
partitions than just 'd' in that slice then working out the boundaries
and sizes will be a lot more complex, but if just one it looks fixable.

Of course, if the label at the beginning of slice 1 was clobbered, so
may have been other data, but with a new label you might be able to
recover it with 'fsck da0s1d' if the filesystem is more or less intact.

It's always worth keeping a copy of the output of bsdlabel for every
FreeBSD slice somewhere safe (like on paper!) for times such as these.

cheers, Ian


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


upgrade problem

2010-06-14 Thread AN
After a recent Gnome upgrade I'm having a problem with a box on a USB KVM 
switch.


FreeBSD test.fu.bar 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #1: Wed Jun  9 
20:18:01 IDT 2010 r...@test.fu.bar:/usr/obj/usr/src/sys/GENERIC  amd64

# pkg_info |grep gnome2
gnome2-2.30.1_1 The meta-port for the GNOME 2 integrated X11 desktop

I have the box connected to a Belkin USB 2 port switch, it has been 
working fine for over a year.  The other box is Suse 11, when I switch to 
the linux box everything is fine.  However, when I switch to the FreeBSD 
box, the Xwindows session is killed, and I am left at a console prompt.


I grabbed the following off the console:

(gnome-panel:88272): GLib-GObject-CRITICAL **: g_object_run_dispose: 
assertion `

G_IS_OBJECT (object)' failed

(gnome-panel:88272): GLib-GObject-CRITICAL **: g_object_run_dispose: 
assertion `

G_IS_OBJECT (object)' failed
Jun 13 20:01:33 test gnome-keyring-daemon[88264]: dbus failure 
unregistering fro

m session: Connection is closed
xinit:  connection to X server lost.
# Jun 13 20:01:33 test gnome-keyring-daemon[88264]: dbus failure un
registering from session: Connection is closed
ugen7.3: Belkin Corporation at usbus7 (disconnected)
ums1: at uhub8, port 1, addr 3 (disconnected)
ukbd1: at uhub8, port 1, addr 3 (disconnected)
ugen7.3: Belkin Corporation at usbus7
uhid0: Flip CC Device on usbus7
ugen7.4: vendor 0x04d9 at usbus7
ukbd0: vendor 0x04d9 USB Keyboard, class 0/0, rev 1.10/3.10, addr 4 on 
usbus7

kbd2 at ukbd0
uhid1: vendor 0x04d9 USB Keyboard, class 0/0, rev 1.10/3.10, addr 4 on 
usbus7

ugen7.5: Logitech at usbus7
ums0: Logitech USB Receiver, class 0/0, rev 1.10/46.00, addr 5 on usbus7
ums0: 8 buttons and [XYZT] coordinates ID=0
uhid2: Logitech USB Receiver, class 0/0, rev 1.10/46.00, addr 5 on usbus


From the log file:
Jun 13 20:01:22 test kernel: ugen7.3: Belkin Corporation at usbus7 
(disconnected)
Jun 13 20:01:22 test kernel: uhid0: at uhub8, port 1, addr 3 
(disconnected)

Jun 13 20:01:23 test kernel: ugen7.3: Belkin Corporation at usbus7
Jun 13 20:01:23 test kernel: ums1: Flip Mouse on usbus7
Jun 13 20:01:23 test kernel: ums1: 5 buttons and [XYZ] coordinates ID=0
Jun 13 20:01:23 test kernel: ukbd1: Flip Keyboard on usbus7
Jun 13 20:01:23 test kernel: kbd3 at ukbd1
Jun 13 20:01:23 test kernel: ugen7.4: vendor 0x04d9 at usbus7 
(disconnected)
Jun 13 20:01:23 test kernel: ukbd0: at uhub8, port 4, addr 4 
(disconnected)
Jun 13 20:01:23 test kernel: uhid1: at uhub8, port 4, addr 4 
(disconnected)

Jun 13 20:01:24 test kernel: ugen7.5: Logitech at usbus7 (disconnected)
Jun 13 20:01:24 test kernel: ums0: at uhub8, port 3, addr 5 (disconnected)
Jun 13 20:01:24 test kernel: uhid2: at uhub8, port 3, addr 5 
(disconnected)
Jun 13 20:01:33 test gnome-keyring-daemon[88264]: dbus failure 
unregistering from session: Connection is closed
Jun 13 20:01:33 test kernel: pid 88249 (Xorg), uid 0: exited on signal 6 
(core dumped)
Jun 13 20:01:33 test gnome-keyring-daemon[88264]: dbus failure 
unregistering from session: Connection is closed
Jun 13 20:46:38 test kernel: ugen7.3: Belkin Corporation at usbus7 
(disconnected)

Jun 13 20:46:38 test kernel: ums1: at uhub8, port 1, addr 3 (disconnected)
Jun 13 20:46:38 test kernel: ukbd1: at uhub8, port 1, addr 3 
(disconnected)
Jun 13 20:46:39 test root: Unknown USB device: vendor 0x050d product 
0x3201 bus uhub8

Jun 13 20:46:39 test kernel: ugen7.3: Belkin Corporation at usbus7
Jun 13 20:46:39 test kernel: uhid0: Flip CC Device on usbus7
Jun 13 20:46:39 test root: Unknown USB device: vendor 0x04d9 product 
0x1603 bus uhub8

Jun 13 20:46:39 test kernel: ugen7.4: vendor 0x04d9 at usbus7
Jun 13 20:46:39 test kernel: ukbd0: vendor 0x04d9 USB Keyboard, class 
0/0, rev 1.10/3.10, addr 4 on usbus7

Jun 13 20:46:39 test kernel: kbd2 at ukbd0
Jun 13 20:46:39 test kernel: uhid1: vendor 0x04d9 USB Keyboard, class 
0/0, rev 1.10/3.10, addr 4 on usbus7
Jun 13 20:46:40 test root: Unknown USB device: vendor 0x046d product 
0xc51b bus uhub8

Jun 13 20:46:40 test kernel: ugen7.5: Logitech at usbus7
Jun 13 20:46:40 test kernel: ums0: Logitech USB Receiver, class 0/0, rev 
1.10/46.00, addr 5 on usbus7

Jun 13 20:46:40 test kernel: ums0: 8 buttons and [XYZT] coordinates ID=0
Jun 13 20:46:40 test kernel: uhid2: Logitech USB Receiver, class 0/0, rev 
1.10/46.00, addr 5 on usbus7
Jun 13 20:47:33 test console-kit-daemon[1287]: WARNING: kvm_getenvv 
failed: cannot open /proc/28837/mem
Jun 13 20:47:33 test gnome-session[28837]: WARNING: Unable to determine 
session: Unable to lookup session information for process '28837'
Jun 13 20:47:35 test console-kit-daemon[1287]: WARNING: kvm_getenvv 
failed: cannot open /proc/28878/mem
Jun 13 20:47:35 test console-kit-daemon[1287]: WARNING: kvm_getenvv 
failed: cannot open /proc/28880/mem
Jun 13 20:47:35 test pulseaudio[28883]: pid.c: Stale PID file, 
overwriting.
Jun 13 20:47:36 test pulseaudio[28883]: module.c: module-detect is 
deprecated: Please use module-udev-detect instead of 

Re: closing X

2010-06-14 Thread Glen Barber

On 6/14/10 6:21 PM, Derek Funk wrote:

On 6/13/2010 7:12 PM, Glen Barber wrote:

Hi Derek,

On 6/13/10 10:51 AM, Derek Funk wrote:

I have setup PCBSD and a Standard Freebsd with gui. and kbunto. They do
not close X completely. I get a flashing screen.
I can still type commands while the screen flashes. I have done a google
search but nothing seems to match my problem.

I installed opensolaris and it doesn't do this but I want bsd.

I have a Toshiba Satellite laptop that has intel mobile graphics. Is
this something with the intel graphics driver or an installed software
conflict.



Does it sound similar to this issue?

http://lists.freedesktop.org/archives/xorg/2009-August/046958.html

Regards,


Yea, that is mostly what I am experiencing. I followed the thread and
didn't see a resolution.




Last I used that laptop, there still was no resolution.  The only thing 
I could find to prevent it from happening in the first place is to not 
use xscreensaver, xrander, etc.  Once I disabled those apps, the 
flashing console went away.


I did find that 'startx' from the flashing console, and immediately 
closing X would drop me back to a normal, visible console.


Regards,

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


turkish translate

2010-06-14 Thread e.k
Dear Sir/Madam,

I can also help for a Turkish translation (The FreeBSD Project web page)
freebsd.org/tr/


Kind regards,
Emre Kalyoncu

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


Memory limit in xz (/usr/local/bin/xz)

2010-06-14 Thread Olivier Nicole
Hi,

Since I upgraded that machine from 6.x to 7.3 I am hitting a memory
limit with xz when trying to build/upgrade several ports.

The error message looks like:

  /usr/local/bin/xz: /usr/ports/distfiles//libpng-1.4.1.tar.xz: Memory usage 
limit reached
  /usr/local/bin/xz: Limit was 46 MiB, but 65 MiB would have been needed

Is there a config parameter to tell the make files in /usr/ports to
desactivate xz memory limit?

Best regards,

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


Re: terrible mplayer performance

2010-06-14 Thread Neil Short
--- On Mon, 6/14/10, Polytropon free...@edvax.de wrote:

 
 
 Check the output of pciconf -lv to see what
 identification of
 your graphics hardware is output. 

result:
...
vgap...@pci0:0:2:0: class=0x03 card=0x140a103c chip=0x00468086 rev=0x02 
hdr=0x00
vendor = 'Intel Corporation'
class  = display
subclass   = VGA
...

 Then change xorg.conf to
 use
 the proper driver for this. After this change (and a
 restart of
 X), mplayer should use the correct output driver.
 
 You can enter mplayer -vo help to get a list of the
 available
 output drivers (e. g. xv, x11, gl, gl2, dgl, sdl and so
 on).
 
 
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...
 


  

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


Re: turkish translate

2010-06-14 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 15/06/2010 03:08:15, e.k wrote:

 I can also help for a Turkish translation (The FreeBSD Project web page)
 freebsd.org/tr/

Excellent, and very good of you to show interest.

Might I suggest that you join the freebsd-...@freebsd.org mailing list,
and enquire again there?  They should be able to put you in touch with
other people working on Turkish translations.  Actually, I think most
such could be contacted via http://www.enderunix.org/

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwXEkUACgkQ8Mjk52CukIzr3wCgioOfcdE3hD6LDRqIkN41a36I
eioAoJB++O8icRXJkNjgLsKVa7HK7YWb
=MZDK
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Memory limit in xz (/usr/local/bin/xz)

2010-06-14 Thread Dsewnr Lu
I have the same problem when I want to upgrade libtool from 15 to 22,
thanks.

On Tue, Jun 15, 2010 at 10:57 AM, Olivier Nicole 
olivier.nic...@cs.ait.ac.th wrote:

 Hi,

 Since I upgraded that machine from 6.x to 7.3 I am hitting a memory
 limit with xz when trying to build/upgrade several ports.

 The error message looks like:

  /usr/local/bin/xz: /usr/ports/distfiles//libpng-1.4.1.tar.xz: Memory usage
 limit reached
  /usr/local/bin/xz: Limit was 46 MiB, but 65 MiB would have been needed

 Is there a config parameter to tell the make files in /usr/ports to
 desactivate xz memory limit?

 Best regards,

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




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