Version Selection

2012-06-11 Thread Doug Hardie
I have a number of servers that I am about to upgrade to FreeBSD 9.0.  The 
processors all have the ability to run i386 or amd64.  The machines all have 2 
GB memory which is more than adequate for their intended use.  Some of these 
are replacing very old equipment that is being retired and did not have the 
ability to run amd64 so everything has been i386 till now.  The question is 
what are the advantages or disadvantages of switching to amd64?  I have tested 
all the various applications on amd64 and they work fine.  Is there going to be 
any benefit down the road in a few years to being on amd64?  If so, now would 
be the time to switch.


___
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


possbility of a port for older versions of libintl?

2012-06-11 Thread Dan Mahoney, System Admin

Hey there,

I recently discovered that the vmware-tools package is compiled against 
libintl.so.8 -- yes, this is probably something that should be fixed at 
the vmware level, but VMware's love for FreeBSD isn't there.


As a workaround, it might be useful to have a port which compiles an older 
version of libintl (potential security issues notwithstanding, since it's 
assumed it will only be used by this one tool).


This seems to me to be somewhat *less* destabilizing than the 
commonly-suggested (and perhaps, oft-used) suggestion of symlinking 
/usr/lib/libintl.so.8 -- libintl.so.9


Thoughts?

--

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.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: Version Selection

2012-06-11 Thread Matthew Seaman
On 11/06/2012 07:20, Doug Hardie wrote:
 I have a number of servers that I am about to upgrade to FreeBSD 9.0.
 The processors all have the ability to run i386 or amd64.  The
 machines all have 2 GB memory which is more than adequate for their
 intended use.  Some of these are replacing very old equipment that is
 being retired and did not have the ability to run amd64 so everything
 has been i386 till now.  The question is what are the advantages or
 disadvantages of switching to amd64?  I have tested all the various
 applications on amd64 and they work fine.  Is there going to be any
 benefit down the road in a few years to being on amd64?  If so, now
 would be the time to switch.

In my experience I find that amd64 is the way to go.  As in: the only
reason to use i386 is if there is some software that requires i386 and
that you can't either replace with an amd64 compatible alternative, run
in 32bit mode using lib32 shlibs etc. or just do without entirely.

The principle reasoning behind this is that amd64 is essentially a
super-set of i386: just about anything you can do on i386, you can do on
amd64, but not necessarily vice-versa.  There are some differences in
performance and memory usage, but these are usually minor and in
practice mostly in favour of amd64.  Although you're only using 2GB RAM
now, amd64 does give you the possibility of expanding that to 4GB
should that become a requirement in future.

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





signature.asc
Description: OpenPGP digital signature


Re: possbility of a port for older versions of libintl?

2012-06-11 Thread Polytropon
On Mon, 11 Jun 2012 02:11:43 -0400 (EDT), Dan Mahoney, System Admin wrote:
 As a workaround, it might be useful to have a port which compiles an older 
 version of libintl (potential security issues notwithstanding, since it's 
 assumed it will only be used by this one tool).

Maybe using the port compatverx-arch-x.y (which has
the required lib version you need) in combination with the
ld.so library mapping (see man libmap.conf) will work?



-- 
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: ports: make config-recursive doesn't really

2012-06-11 Thread Thomas Mueller
from Gary Aitken free...@dreamchaser.org:

I'm trying to build a script to rebuild and reinstall everything I have 
installed from ports.  I don't want to have to keep checking on it and filling 
out the
+appropriate check boxes for options.  I naively assumed:

  for port in $ports
  do
cd /usr/port/$port
make config-recursive
cd ../..
  done

would allow me to set up all the dependencies before continuing with the 
install.

It appears, however, that it doesn't really recurse properly.  I say appears 
only because this is my first time trying this and despite doing the above
+setting of options, I am confronted with additional options screens as the 
build progresses.

Is there a way to get around this?

This has happened to me too, all too many times.

One way to avoid this problem is to run 

make config-recursive

repeatedly until you get no more dialog screens.

Or you can try portmaster as Subhro Sankha Kar suggests; I am only getting 
started with portmaster, successfully portmastered cdrtools.

I have a lot of ports now to upgrade (master?)  I like to keep a log such as by 
(command) |  tee /path/to/log-file, or anything else that works equally well.

Tom
___
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: Making a bootable backup (hard)disk... how?

2012-06-11 Thread Mike Clarke
On Monday 11 June 2012 00:03:59 Daniel Feenberg wrote:

 It does occur to me that /etc is not a felicitous place to keep this
 information, but given the desirability of dumping filesystems in read
 only state, placing the dump dates in the filesystem itself isn't
 feasible.

Dumping with the -L option creates a temporary read only snapshot which is 
used as the source for the backup. This enables you to safely backup a live 
filesystem,

More background on snapshots at 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/snapshots.html

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


Re: Is this something we (as consumers of FreeBSD) need to be aware of?

2012-06-11 Thread Ian Smith
In freebsd-questions Digest, Vol 418, Issue 19, Message: 23
On Sun, 10 Jun 2012 16:56:49 -0400 Jerry je...@seibercom.net wrote:
  On Sun, 10 Jun 2012 22:06:26 +0200
  Julian H. Stacey articulated:
[..]
  As a start here's :  http://berklix.org/uefi/
  
  URLs welcome. Contact names welcome. Volunteers welcome.
  
  It is posts like this that basically turn my stomach. A product, any
  product, should succeed or fail based on its own merits and not because
  some government agency aided or thwarted it. Most, it not nearly all PC
  manufacturers exist solely because of Microsoft. The PC market balloons
  every time Microsoft releases a new version of Windows. Seriously now,
  how many PC were sold because FreeBSD released version 9 of its OS? If
  you want to beat someone, you make a better product. You don't go
  running to your mamma asking for protection. That stinks of
  socialism/fascism. The UEFI specification has existed for years.
  Supposedly, Linux has been capable of using it for 8+ years. I have
  no idea if FreeBSD is even capable of handling it. It wouldn't
  surprise me it if couldn't though. What this really tells me is that
  there has been way to much procrastination by the FOSS. Microsoft
  simply took advantage of an existing standard (remember standards
  something the FOSS is always crying about) and now FOSS is begging for
  mercy. This is more than just slightly funny, it is pathetic. If 1% of
  the effort of spreading this BS over UEFI had gone into working on a
  solution for UEFI two years ago, we wouldn't be having this discussion
  at all.

I'vw been wondering when this topic would summon our longest-serving 
resident troll for Microsoft out of the woodwork for a proper full-tilt 
rant, replete with inimitable socialism/fascism jibe.  Gotta love it!

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


Re: Firefox Script Problems

2012-06-11 Thread sean

On Jun 11, 2012, at 12:27 AM, Subhro Sankha Kar wrote:

 Hello Sean,
 
 Can you run FF from a terminal and report back what you see?
 
 Thanks
 --
 Subhro Sankha Kar
 System Administrator
 Working and Playing with FreeBSD since 2002
 

Thank you for the reply.
I have cured the problem.
To fix the unresponsiveness I had to delete the .mozilla directory in my home 
directory and let Firefox recreate a new one on startup.
I just had to reconfigure FF to my personal settings since this is a first 
time run.

Thanks again

___
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


speed of dump

2012-06-11 Thread Robert Huff

Another thread, which I seem to have lost, was talking about
dump and sizing its cache.
Per my promise, appended is the log of this morning's level 0 dump,
using C=32.  THe system is -CURRENT from March, using AMD Phemon II
x4/3ghz and SATA 3gbit drives (one internal, one external.).


Robert Huff




Backup started. at Mon Jun 11 01:59:00 EDT 2012
/backup clean
Disk mounted
  DUMP: Date of this level 0 dump: Mon Jun 11 01:59:02 2012
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping snapshot of /dev/ad2s1a (/) to 2012.Jun.11.root.dump
  DUMP: mapping (Pass I) [regular files]
  DUMP: Cache 32 MB, blocksize = 65536
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 1295163 tape blocks.
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
  DUMP: DUMP: 1295138 tape blocks on 1 volume
  DUMP: finished in 106 seconds, throughput 12218 KBytes/sec
  DUMP: level 0 dump on Mon Jun 11 01:59:02 2012
  DUMP: Closing 2012.Jun.11.root.dump
  DUMP: DUMP IS DONE
Compressing with gzip ...
done
  DUMP: Date of this level 0 dump: Mon Jun 11 02:02:06 2012
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping snapshot of /dev/ad2s1d (/var) to 2012.Jun.11.var.dump
  DUMP: mapping (Pass I) [regular files]
  DUMP: Cache 32 MB, blocksize = 65536
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 545087 tape blocks.
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
  DUMP: DUMP: 545009 tape blocks on 1 volume
  DUMP: finished in 72 seconds, throughput 7569 KBytes/sec
  DUMP: level 0 dump on Mon Jun 11 02:02:06 2012
  DUMP: Closing 2012.Jun.11.var.dump
  DUMP: DUMP IS DONE
Compressing with gzip...
done
  DUMP: Date of this level 0 dump: Mon Jun 11 02:04:01 2012
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping snapshot of /dev/ad4p2 (/usr) to 2012.Jun.11.usr.dump
  DUMP: mapping (Pass I) [regular files]
  DUMP: Cache 32 MB, blocksize = 65536
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 34156025 tape blocks.
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
  DUMP: 11.75% done, finished in 0:37 at Mon Jun 11 02:46:45 2012
  DUMP: 29.89% done, finished in 0:23 at Mon Jun 11 02:37:39 2012
  DUMP: 44.21% done, finished in 0:18 at Mon Jun 11 02:38:07 2012
  DUMP: 63.00% done, finished in 0:11 at Mon Jun 11 02:35:56 2012
  DUMP: 83.78% done, finished in 0:04 at Mon Jun 11 02:34:02 2012
  DUMP: DUMP: 34166302 tape blocks on 1 volume
  DUMP: finished in 1746 seconds, throughput 19568 KBytes/sec
  DUMP: level 0 dump on Mon Jun 11 02:04:01 2012
  DUMP: Closing 2012.Jun.11.usr.dump
  DUMP: DUMP IS DONE
569586  /backup/Mon/root
34183010/backup/Mon/usr
139058  /backup/Mon/var
34891656/backup/Mon
Disk unmounted.
Backup complete. at Mon Jun 11 02:33:30 EDT 2012



___
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


mail server

2012-06-11 Thread Bahaa Babekir
I want to sent me configuration to build mail server step by step
-- 
bahaa
___
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: Version Selection

2012-06-11 Thread Brian W.
There are two advantages that come to mind quickly.

With amd64 you could install more than 4 gigs of ram and have it
recognized. With i386 if you need to do this pae would need to be
installed,  which FreeBSD doc pages say is if beta quality.

I bet that amd64 will get more dev attention.
On Jun 10, 2012 11:21 PM, Doug Hardie bc...@lafn.org wrote:

 I have a number of servers that I am about to upgrade to FreeBSD 9.0.  The
 processors all have the ability to run i386 or amd64.  The machines all
 have 2 GB memory which is more than adequate for their intended use.  Some
 of these are replacing very old equipment that is being retired and did not
 have the ability to run amd64 so everything has been i386 till now.  The
 question is what are the advantages or disadvantages of switching to amd64?
  I have tested all the various applications on amd64 and they work fine.
  Is there going to be any benefit down the road in a few years to being on
 amd64?  If so, now would be the time to switch.


 ___
 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: speed of dump

2012-06-11 Thread Warren Block

On Mon, 11 Jun 2012, Robert Huff wrote:



Another thread, which I seem to have lost, was talking about
dump and sizing its cache.
Per my promise, appended is the log of this morning's level 0 dump,
using C=32.  THe system is -CURRENT from March, using AMD Phemon II
x4/3ghz and SATA 3gbit drives (one internal, one external.).

 DUMP: finished in 1746 seconds, throughput 19568 KBytes/sec


Are you using -b64 ?  That can make a serious throughput improvement 
over smaller values.

___
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: speed of dump

2012-06-11 Thread Adam Vande More
On Mon, Jun 11, 2012 at 7:14 AM, Robert Huff roberth...@rcn.com wrote:


  DUMP: finished in 1746 seconds, throughput 19568 KBytes/sec


Looks like one of your disks must be USB.

-- 
Adam Vande More
___
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: xfce 4.10 update problems

2012-06-11 Thread jb
Warren Block wblock at wonkity.com writes:

 ... 
  - startx fails when moused enabled
  (EE) xf86OpenSerial: Cannot open device /dev/psm0
  Device busy.
  (EE) PS/2 Mouse: cannot open input device
  (EE) PreInit returned NULL for PS/2 Mouse
  (EE) config/hal: NewInputDeviceRequest failed (8)
  xinit: connection to X server lost
 
  Any known solutions ?
 
 Disable hal in xorg.conf, ServerLayout section:
 
 Option AutoAddDevices Off

OK, that's way to go.

But there is something strange.
I tried to fix the problem by disabling moused in /etc/rc.conf .
After reboot, I could 'startx' X session.
But 'ps' still showed moused processes:
$ ps auxww |grep -i mouse
root 1286 0.0 0.1 9716 1148 ?? Ss 8:55AM 0:01.02
/usr/sbin/moused -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid
root 1888 0.0 0.1 9716 1144 ?? Is 8:55AM 0:00.00
/usr/sbin/moused -p /dev/psm0 -t auto
root 2045 0.0 0.1 12340 2516 ?? I 8:55AM 0:00.01
hald-addon-mouse-sysmouse: /dev/psm0 (hald-addon-mouse-sy)
root 2065 0.0 0.1 12340 2520 ?? I 8:55AM 0:00.01
hald-addon-mouse-sysmouse: /dev/ums0 (hald-addon-mouse-sy)
jb 2262 0.0 0.1 9748 1284 2 S+ 9:03AM 0:00.01
grep -i mouse

I tested it by rebooting 3 times.
I have 2 mouses: Lenovo Thinkpad stick and external usb mouse.

How to explain that?
jb


___
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: xfce 4.10 update problems

2012-06-11 Thread Mark Felder

On Mon, 11 Jun 2012 10:22:51 -0500, jb jb.1234a...@gmail.com wrote:



I tested it by rebooting 3 times.
I have 2 mouses: Lenovo Thinkpad stick and external usb mouse.


moused_nondefault_enable=NO perhaps?
___
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: Is this something we (as consumers of FreeBSD) need to be aware of?

2012-06-11 Thread Chad Perrin
On Sun, Jun 10, 2012 at 07:23:20AM -0400, Jerry wrote:
 
 It is fairly easy to understand both sides in this discussion. When
 Microsoft supporters refer to open-source software as open-sore or
 socialist-software the FOSS community becomes enraged. However, when
 the open-source community retaliates it is considered acceptable. Quite
 frankly I read far more Microsoft based forums than open-source based
 ones and I can say without a doubt, at least in my experience,
 Microsoft proponents never attack open-source with the venomous hatred
 that open-source attacks Microsoft. In fact, the majority of Microsoft
 users that I know could not care less about what they consider an
 overly burdensome (geeky) open-source operating system.
 
 The whole argument can probably be boiled do to this:
 
 Disparaging other operating systems (Microsoft) and pointing out its
 failures is beneficial, constructive and therapeutic. Pointing out
 problems and failures regarding your own OS is destructive and flame
 bait.

Perhaps you're spending too much time in the community venues of open
source software projects.  In communities devoted to use of software
peddled by Microsoft, the reverse would be true, and this seems to me not
the least bit surprising, or even particularly inappropriate.  When you
stroll into a venue where it can reasonably be assumed there is a general
consensus position of favoring one thing over another (such as a sports
bar in Colorado, which would likely favor the Broncos over the Raiders),
then start loudly proclaiming the evils of the favored thing relative to
the unfavored (such as talking about how much better the Raiders are than
the Broncos, and how the Broncos fans are all a bunch of pansy whiners,
as you tend to do about open source software users and advocates while
you're hanging out here on a FreeBSD mailing list), what you are
contributing to the discussion may quite understandably be called
flamebait.  Expressing surprise that someone would apply such a label
in these circumstances is, in my estimation, at least disingenuous if not
wholly ludicrous, directly deceptive, and/or frankly dumb.

I, for one, generally try to avoid saying nonfactually disparaging things
about Microsoft or (especially) users of software peddled by Microsoft in
venues like this mailing list, in part because it's a bit
unsportsmanlike, and in part because it doesn't really contribute
anything positive.  It's kind of mind-boggling that people like you make
no evident effort to avoid saying disparaging things about FreeBSD and
its users in venues like this mailing list, where it's trollish, does not
contribute anything positive, and directly offends large numbers of
people subscribed to the list.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.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: OT - enjoy it

2012-06-11 Thread Chad Perrin
On Fri, Jun 08, 2012 at 06:26:16AM +, jb wrote:
 Chinese advertising of soccer championship Euro 2012
 
 http://avaxnews.com/wow/Chinese_Advertising_UEFA_Euro_2012.html

That . . . was nuts.  What just happened?

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.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: Is this something we (as consumers of FreeBSD) need to be aware of?

2012-06-11 Thread Jerry
On Mon, 11 Jun 2012 10:11:11 -0600
Chad Perrin articulated:

On Sun, Jun 10, 2012 at 07:23:20AM -0400, Jerry wrote:
 
 It is fairly easy to understand both sides in this discussion. When
 Microsoft supporters refer to open-source software as open-sore or
 socialist-software the FOSS community becomes enraged. However,
 when the open-source community retaliates it is considered
 acceptable. Quite frankly I read far more Microsoft based forums
 than open-source based ones and I can say without a doubt, at least
 in my experience, Microsoft proponents never attack open-source with
 the venomous hatred that open-source attacks Microsoft. In fact, the
 majority of Microsoft users that I know could not care less about
 what they consider an overly burdensome (geeky) open-source
 operating system.
 
 The whole argument can probably be boiled do to this:
 
 Disparaging other operating systems (Microsoft) and pointing out its
 failures is beneficial, constructive and therapeutic. Pointing out
 problems and failures regarding your own OS is destructive and flame
 bait.

Perhaps you're spending too much time in the community venues of open
source software projects.  In communities devoted to use of software
peddled by Microsoft, the reverse would be true, and this seems to me
not the least bit surprising, or even particularly inappropriate.
When you stroll into a venue where it can reasonably be assumed there
is a general consensus position of favoring one thing over another
(such as a sports bar in Colorado, which would likely favor the
Broncos over the Raiders), then start loudly proclaiming the evils of
the favored thing relative to the unfavored (such as talking about how
much better the Raiders are than the Broncos, and how the Broncos fans
are all a bunch of pansy whiners, as you tend to do about open source
software users and advocates while you're hanging out here on a
FreeBSD mailing list), what you are contributing to the discussion may
quite understandably be called flamebait.  Expressing surprise that
someone would apply such a label in these circumstances is, in my
estimation, at least disingenuous if not wholly ludicrous, directly
deceptive, and/or frankly dumb.

Your paranoia is kicking in again isn't it Chad. Anyway, to address
your sports analogy, if I walk into a NY City bar and enter into a
discussion regarding the pros and cons of the Jets VS Giants, which in
itself is ridiculous since neither is actually located in NY, and
blatantly scream out that the (Jets of Giants -- you pick) are a bunch
of mother-fucking, wife beating pedophiles, I think you would agree,
unless you happen to belong to that group, that I have gone way over
the top in my team assessment. There is a major difference between
criticizing and defamation. Perhaps someday you will learn the
difference. For the record, I have never heard of anyone using the term
mafia while referring to the FOSS. Then again, the Mafia is a
highly organized operation. I might also add that many people of
Italian descent consider the term mafia offensive.

I, for one, generally try to avoid saying nonfactually disparaging
things about Microsoft or (especially) users of software peddled by
Microsoft in venues like this mailing list, in part because it's a bit
unsportsmanlike, and in part because it doesn't really contribute
anything positive.  It's kind of mind-boggling that people like you
make no evident effort to avoid saying disparaging things about
FreeBSD and its users in venues like this mailing list, where it's
trollish, does not contribute anything positive, and directly offends
large numbers of people subscribed to the list.

When was this election held Chad? I am referring to the one that
appointed you list spokesperson. In any case, you make an interesting
statement without offering any documentation. Are you a politician
Chad? I was inquiring because you seem to like making sound bites sans
substance.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
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: USB 3.0 delay in 'detecting' attached drive

2012-06-11 Thread Waitman Gobble
On Mon, Jun 11, 2012 at 1:36 AM, Julian H. Stacey j...@berklix.com wrote:

 Waitman Gobble wrote:
  On Sun, Jun 10, 2012 at 4:59 PM, Julian H. Stacey j...@berklix.com
 wrote:
 
   Waitman Gobble wrote:
On Sun, Jun 10, 2012 at 1:56 PM, Julian H. Stacey j...@berklix.com
   wrote:
   
 Waitman Gobble wrote:
  Hi,
 
  I have a new machine with 2 USB 3.0 ports and 2 USB 2.0 ports.
 When I
 plug
  a USB 3.0 drive / cable into the USB 3.0 port it takes about 70
   seconds
 for
  the drive to show up, on the USB 2.0 port it's instantly. I
 haven't
   used
  USB 3.0 with FreeBSD so I'm not sure if this is expected or
 maybe I
   need
 to
  reconfigure something or look at a different kernel config.

 Might be a marginal power issue.
 USB 3 devices are allowed to consume 1.0 Amps.
 USB2 ports only need provide 0.5.

 I have a tower wont recognise my USB disc on its USB2 ports.
 On my new PCI express card in same tower, it comes up quickly.

 Cheers,
 Julian
  
Thanks.
   
Not sure if there's anything I can do about that. It's a new HP dv6
   laptop
which according to box was mfg in May 2012... I would assume hardware
   would
be designed and put together properly. :)
  
   Sounds new enough :-)
  
   My USB3 disc on my newish laptop with USB 2 socket  8.2  9.0 come
   up fast enough, not noticed problems, not specificaly timed it though.
  
   Try external power if you have a socket on disk box  ?
  
   Try disk on another known good FreeBSD USB3 card on a tower (my card
 cost
   30 Euro BTW)
  
   Or try a power doubler cable (connected via a female to female
   adapter, which Ive never seen on sale, I made my own by cutting up
   a dead mainboard), to the USB 3 male to male cable. (for any who
   dont know, cant omit that cable as USB3 socket on lapop size drives
   is a different shape, flater, wider.
  
   I wonder if it might be taking time dropping back to USB2 speed.
   if eg you don't have xhci in kernel ?
  
   I have all of
  config -x/boot/kernel/kernel | grep hci
  device  uhci
  device  ohci
  device  xhci
  device  ehci
   I just havent taken some out yet.
  
   Cheers,
   Julian

  I believe it uses ohci for usb 2.0,

 I doubt that.

  xhci for 3.0,

 Yes

  ehci for 1.0

 No


 Reading manuals:
  ehci : for a controller chip that Only does USB 2.0, not 1.0
  ohci : OHCI v1.0 USB1
  uhci : UHCI v1.1 USB1
  xhci : USB 1.0, 2.0 and 3.0

  (which I
  suppose might be connected to some device internally even if you do not
  have 1.0 port?)
 
  I originally built this system on a different machine, with different
  hardware, but it really shouldn't make a different AFAIK.
  .. But I did just csup and rebuild everything on the laptop... i needed
 to
  build some devices into the kernel anyhow,  and NOW the usb 3.0 connect
 is
  instantly, there is now no 70 second delay.

 Good.  BTW I'd not considered you might be seeing something on current,
 as this questions@ was originaly created for people new to FreeBSD
 Machine my end was 8.3-RELEASE. The current@ list would know if xhci
 was problematic.

  I'd have to check, maybe there
  was a change in xhci between June 2 and today which could have caused the
  issue. Or it was just a 'weird harold' event, for some reason it just
 felt
  like sitting there a minute.
 
  Thanks for your help,

 :-)

 Cheers,
 Julian
 --
 Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich
 http://berklix.com
  Reply below not above, cumulative like a play script,  indent with  .
  Format: Plain text. Not HTML, multipart/alternative, base64,
 quoted-printable.
Mail from @yahoo dumped @berklix.  http://berklix.org/yahoo/


Hi,

thanks - good point. maybe even freebsd-usb group would be better.
i'll see if it happens again and post in there.


Waitman
___
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


Dedicated pointing device for a Xephyr instance

2012-06-11 Thread schultz

Hi,

I have a Xorg server (x11-servers/xorg-server) running receiving
input from a synaptics touchpad at /dev/psm0. I would like to run
a Xephyr (x11-servers/xephyr) instance in this server that would
take input from a different, dedicated pointing device, in this
case a USB mouse at /dev/ums0.

The Xephyr help mentions a -mouse option. I have searched a lot on
the internet about this and even tried to read the relevant part
of Xephyr's source code. While I could not understand the overall
structure of that code, I noticed no relevant KdPointerDriver
structure.

It also seems that is possible on Linux with a evdev driver. Is it
also possible on FreeBSD?



___
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: Is this something we (as consumers of FreeBSD) need to be aware of?

2012-06-11 Thread Chad Perrin
On Mon, Jun 11, 2012 at 12:59:46PM -0400, Jerry wrote:
 On Mon, 11 Jun 2012 10:11:11 -0600 Chad Perrin articulated:
 
 On Sun, Jun 10, 2012 at 07:23:20AM -0400, Jerry wrote:
  
  It is fairly easy to understand both sides in this discussion. When
  Microsoft supporters refer to open-source software as open-sore or
  socialist-software the FOSS community becomes enraged. However,
  when the open-source community retaliates it is considered
  acceptable. Quite frankly I read far more Microsoft based forums
  than open-source based ones and I can say without a doubt, at least
  in my experience, Microsoft proponents never attack open-source with
  the venomous hatred that open-source attacks Microsoft. In fact, the
  majority of Microsoft users that I know could not care less about
  what they consider an overly burdensome (geeky) open-source
  operating system.
  
  The whole argument can probably be boiled do to this:
  
  Disparaging other operating systems (Microsoft) and pointing out its
  failures is beneficial, constructive and therapeutic. Pointing out
  problems and failures regarding your own OS is destructive and flame
  bait.
 
 Perhaps you're spending too much time in the community venues of open
 source software projects.  In communities devoted to use of software
 peddled by Microsoft, the reverse would be true, and this seems to me
 not the least bit surprising, or even particularly inappropriate.
 When you stroll into a venue where it can reasonably be assumed there
 is a general consensus position of favoring one thing over another
 (such as a sports bar in Colorado, which would likely favor the
 Broncos over the Raiders), then start loudly proclaiming the evils of
 the favored thing relative to the unfavored (such as talking about how
 much better the Raiders are than the Broncos, and how the Broncos fans
 are all a bunch of pansy whiners, as you tend to do about open source
 software users and advocates while you're hanging out here on a
 FreeBSD mailing list), what you are contributing to the discussion may
 quite understandably be called flamebait.  Expressing surprise that
 someone would apply such a label in these circumstances is, in my
 estimation, at least disingenuous if not wholly ludicrous, directly
 deceptive, and/or frankly dumb.
 
 Your paranoia is kicking in again isn't it Chad. Anyway, to address
 your sports analogy, if I walk into a NY City bar and enter into a
 discussion regarding the pros and cons of the Jets VS Giants, which in
 itself is ridiculous since neither is actually located in NY, and
 blatantly scream out that the (Jets of Giants -- you pick) are a bunch
 of mother-fucking, wife beating pedophiles, I think you would agree,
 unless you happen to belong to that group, that I have gone way over
 the top in my team assessment. There is a major difference between
 criticizing and defamation. Perhaps someday you will learn the
 difference. For the record, I have never heard of anyone using the term
 mafia while referring to the FOSS. Then again, the Mafia is a
 highly organized operation. I might also add that many people of
 Italian descent consider the term mafia offensive.

I'm going to actually ignore your completely irrelevant and hilariously
unfounded attempt at psychiatric diagnosis beyond this sentence, and get
to the point:

Ignoring for the moment http://linuxmafia.com it is true that I have
generally not heard of open source software or its community referred to
as mafia, but I have heard of such things referred to as being
socialist, fascist, or otherwise pejoratively accused of inapplicable
political, criminal, or generally objectionable (in at least someone's
eyes) character.  Three guesses who comes first to mind as having made
such statements, and the first two guesses don't count.


 
 I, for one, generally try to avoid saying nonfactually disparaging
 things about Microsoft or (especially) users of software peddled by
 Microsoft in venues like this mailing list, in part because it's a bit
 unsportsmanlike, and in part because it doesn't really contribute
 anything positive.  It's kind of mind-boggling that people like you
 make no evident effort to avoid saying disparaging things about
 FreeBSD and its users in venues like this mailing list, where it's
 trollish, does not contribute anything positive, and directly offends
 large numbers of people subscribed to the list.
 
 When was this election held Chad? I am referring to the one that
 appointed you list spokesperson. In any case, you make an interesting
 statement without offering any documentation. Are you a politician
 Chad? I was inquiring because you seem to like making sound bites sans
 substance.

I referred to no election.  I am not list spokesperson, nor do I pretend
to be or act as one, any more than you are the spokesperson for
capitalism.  I'm simply pointing out that you are an insufferable,
trollish jackass, initially in a polite manner.  The fact you avoid
actually engaging my 

Re: can't kill -9 Xorg

2012-06-11 Thread Subhro Sankha Kar
Hello

What happens if you run without a xorg.conf? Xorg has become pretty good at 
guessing correct settings these days.

Thanks
--
Subhro Sankha Kar
System Administrator
Working and Playing with FreeBSD since 2002

On 11-Jun-2012, at 5:01 PM, Anton Shterenlikht wrote:

 My X is unusable since the recent png update.
 
 This is r236740M on HP Compaq 6715s amd64 laptop.
 
 I've no hal installed (if this matters).
 
 # pkg info -x xorg
 linux-f10-xorg-libs-7.4_1  Xorg libraries (Linux Fedora 10)
 xorg-cf-files-1.0.4X.org cf files for use with imake builds
 xorg-fonts-7.5.1   X.org fonts meta-port
 xorg-fonts-100dpi-7.5.1X.Org 100dpi bitmap fonts
 xorg-fonts-75dpi-7.5.1 X.Org 75dpi bitmap fonts
 xorg-fonts-cyrillic-7.5.1  X.Org Cyrillic bitmap fonts
 xorg-fonts-miscbitmaps-7.5.1   X.Org miscellaneous bitmap fonts
 xorg-fonts-truetype-7.5.1  X.Org TrueType fonts
 xorg-fonts-type1-7.5.1 X.Org Type1 fonts
 xorg-libraries-7.5.1   X.org libraries meta-port
 xorg-macros-1.16.1 X.Org development aclocal macros
 xorg-server-1.7.7_5,1  X.Org X server and related programs
 # 
 
 # pkg info -x xf86
 libXxf86dga-1.1.2  X DGA Extension
 libXxf86misc-1.0.3 X XF86-Misc Extension
 libXxf86vm-1.1.1   X Vidmode Extension
 xf86-input-keyboard-1.6.1  X.Org keyboard input driver
 xf86-input-mouse-1.7.1 X.Org mouse input driver
 xf86-video-ati-6.14.3_1X.Org ati display driver
 xf86bigfontproto-1.2.0 XFree86-Bigfont extension headers
 xf86dgaproto-2.1   XFree86-DGA extension headers
 xf86driproto-2.1.1 XFree86-DRI extension headers
 xf86miscproto-0.9.3XFree86-Misc extension headers
 xf86vidmodeproto-2.3.1 XFree86-VidModeExtension extension headers
 # 
 
 My xorg.conf.new:
 
 
 Section ServerLayout
   Identifier X.org Configured
   Screen  0  Screen0 0 0
   InputDeviceMouse0 CorePointer
   InputDeviceKeyboard0 CoreKeyboard
   Option  AllowEmptyInput Off
 EndSection
 
 Section Files
   ModulePath   /usr/local/lib/xorg/modules
   FontPath /usr/local/lib/X11/fonts/misc/
   FontPath /usr/local/lib/X11/fonts/TTF/
   FontPath /usr/local/lib/X11/fonts/OTF
   FontPath /usr/local/lib/X11/fonts/Type1/
   FontPath /usr/local/lib/X11/fonts/100dpi/
   FontPath /usr/local/lib/X11/fonts/75dpi/
 EndSection
 
 Section Module
   Load  extmod
   Load  record
   Load  dbe
   Load  glx
   Load  dri
   Load  dri2
 EndSection
 
 Section InputDevice
   Identifier  Keyboard0
   Driver  kbd
 EndSection
 
 Section InputDevice
   Identifier  Mouse0
   Driver  mouse
   Option  Protocol auto
   Option  Device /dev/sysmouse
   Option  ZAxisMapping 4 5 6 7
 EndSection
 
 Section Monitor
   #DisplaySize  330   210 # mm
   Identifier   Monitor0
   VendorName   LPL
   ModelNamed600
 EndSection
 
 Section Device
   Identifier  Card0
   Driver  radeon
   VendorName  Advanced Micro Devices [AMD] nee ATI
   BoardName   RS690M [Radeon X1200 Series]
   BusID   PCI:1:5:0
   Option int10 on
   Option BusType PCIE
Option RenderAccel on
Option AccelMethod xaa
Option DynamicPM on
Option DRI on
 EndSection
 
 Section Screen
   Identifier Screen0
   Device Card0
   MonitorMonitor0
   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
 
 
 The Xorg.0.log:
 
 
 
 X.Org X Server 1.7.7
 Release Date: 2010-05-04
 X Protocol Version 11, Revision 0
 Build Operating System: FreeBSD 10.0-CURRENT amd64 
 Current Operating System: FreeBSD mech-aslap239.men.bris.ac.uk 10.0-CURRENT 
 FreeBSD 10.0-CURRENT #0 r236740M: Sat Jun  9 22:35:49 BST 2012 
 r...@mech-aslap239.men.bris.ac.uk:/usr/obj/usr/src/sys/BUZI amd64
 Build Date: 11 June 2012  12:11:20PM
 
 Current version of pixman: 0.24.2
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
 Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 (==) Log file: /var/log/Xorg.0.log, Time: Mon Jun 11 

Re: mysqld startup issue

2012-06-11 Thread Subhro Sankha Kar
On 11-Jun-2012, at 11:02 PM, Gary Aitken wrote:

 I've done the following after having a running system with a running mysql on 
 it:
 
 moved user accounts, although no logical move:
  /usr/home/foo was = /hd1/foo
 now
  /usr/home = /hd1/home  and /hd1/foo is now /hd1/home/foo
 repartitioned the SSD and restored the system from a dump taken prior to 
 repartitioning.
 removed all ports and reinstalled them
 
 Unfortunately, mysqld won't start:
 
 120611 10:55:52 [Warning] Can't create test file 
 /var/db/mysql/breakaway.lower-test

What's the permission of /var/db/mysql? Also what user is mysql running as?

Thanks
Subhro
--
Subhro Sankha Kar
System Administrator
Working and Playing with FreeBSD since 2002


 120611 10:55:52 [Warning] Can't create test file 
 /var/db/mysql/breakaway.lower-test
 mysqld: Table 'mysql.plugin' doesn't exist
 120611 10:55:52 [ERROR] Can't open the mysql.plugin table. Please run 
 mysql_upgrade to create it.
 120611 10:55:52 InnoDB: The InnoDB memory heap is disabled
 120611 10:55:52 InnoDB: Mutexes and rw_locks use GCC atomic builtins
 120611 10:55:52 InnoDB: Compressed tables use zlib 1.2.5
 120611 10:55:52 InnoDB: Initializing buffer pool, size = 128.0M
 120611 10:55:52 InnoDB: Completed initialization of buffer pool
 120611 10:55:52  InnoDB: Operating system error number 13 in a file operation.
 InnoDB: The error means mysqld does not have the access rights to
 InnoDB: the directory.
 InnoDB: File name ./ibdata1
 InnoDB: File operation call: 'create'.
 InnoDB: Cannot continue operation.
 
 Running mysqld --verbose shows:
 
  basedir /usr/local
  general-log-file/var/db/mysql/breakaway.log
 
 ls -aol /usr/local/libexec/mysqld
 -rwxr-xr-x  1 root  wheel  - 9558944 Jun 11 10:40 /usr/local/libexec/mysqld
 ls -dl /var/db/mysql
 drwxr-xr-x  2 mysql  mysql  512 Jun 11 10:31 /var/db/mysql
 
 cd /
 find . -ls | grep my.cnf
 
 shows nothing.
 
 This looks like some kind of access / setuid problem, but I'm not sure what.
 Suggestions?
 ___
 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: Is this something we (as consumers of FreeBSD) need to be aware of?

2012-06-11 Thread Jerry
On Mon, 11 Jun 2012 11:44:11 -0600
Chad Perrin articulated:

On Mon, Jun 11, 2012 at 12:59:46PM -0400, Jerry wrote:
 On Mon, 11 Jun 2012 10:11:11 -0600 Chad Perrin articulated:
 
 On Sun, Jun 10, 2012 at 07:23:20AM -0400, Jerry wrote:
  
  It is fairly easy to understand both sides in this discussion.
  When Microsoft supporters refer to open-source software as
  open-sore or socialist-software the FOSS community becomes
  enraged. However, when the open-source community retaliates it is
  considered acceptable. Quite frankly I read far more Microsoft
  based forums than open-source based ones and I can say without a
  doubt, at least in my experience, Microsoft proponents never
  attack open-source with the venomous hatred that open-source
  attacks Microsoft. In fact, the majority of Microsoft users that
  I know could not care less about what they consider an overly
  burdensome (geeky) open-source operating system.
  
  The whole argument can probably be boiled do to this:
  
  Disparaging other operating systems (Microsoft) and pointing out
  its failures is beneficial, constructive and therapeutic.
  Pointing out problems and failures regarding your own OS is
  destructive and flame bait.
 
 Perhaps you're spending too much time in the community venues of
 open source software projects.  In communities devoted to use of
 software peddled by Microsoft, the reverse would be true, and this
 seems to me not the least bit surprising, or even particularly
 inappropriate. When you stroll into a venue where it can reasonably
 be assumed there is a general consensus position of favoring one
 thing over another (such as a sports bar in Colorado, which would
 likely favor the Broncos over the Raiders), then start loudly
 proclaiming the evils of the favored thing relative to the
 unfavored (such as talking about how much better the Raiders are
 than the Broncos, and how the Broncos fans are all a bunch of pansy
 whiners, as you tend to do about open source software users and
 advocates while you're hanging out here on a FreeBSD mailing list),
 what you are contributing to the discussion may quite
 understandably be called flamebait.  Expressing surprise that
 someone would apply such a label in these circumstances is, in my
 estimation, at least disingenuous if not wholly ludicrous, directly
 deceptive, and/or frankly dumb.
 
 Your paranoia is kicking in again isn't it Chad. Anyway, to address
 your sports analogy, if I walk into a NY City bar and enter into a
 discussion regarding the pros and cons of the Jets VS Giants, which
 in itself is ridiculous since neither is actually located in NY, and
 blatantly scream out that the (Jets of Giants -- you pick) are a
 bunch of mother-fucking, wife beating pedophiles, I think you would
 agree, unless you happen to belong to that group, that I have gone
 way over the top in my team assessment. There is a major difference
 between criticizing and defamation. Perhaps someday you will learn
 the difference. For the record, I have never heard of anyone using
 the term mafia while referring to the FOSS. Then again, the
 Mafia is a highly organized operation. I might also add that many
 people of Italian descent consider the term mafia offensive.

I'm going to actually ignore your completely irrelevant and hilariously
unfounded attempt at psychiatric diagnosis beyond this sentence, and
get to the point:

Ignoring for the moment http://linuxmafia.com it is true that I have
generally not heard of open source software or its community referred
to as mafia, but I have heard of such things referred to as being
socialist, fascist, or otherwise pejoratively accused of inapplicable
political, criminal, or generally objectionable (in at least someone's
eyes) character.  Three guesses who comes first to mind as having made
such statements, and the first two guesses don't count.

I love the way you make a statement, then add a qualifier to the
statement making it virtually impossible to attack as well as giving
yourself a way out. I'll explain further in my reply near the end of
this post.

 I, for one, generally try to avoid saying nonfactually disparaging
 things about Microsoft or (especially) users of software peddled by
 Microsoft in venues like this mailing list, in part because it's a
 bit unsportsmanlike, and in part because it doesn't really
 contribute anything positive.  It's kind of mind-boggling that
 people like you make no evident effort to avoid saying disparaging
 things about FreeBSD and its users in venues like this mailing
 list, where it's trollish, does not contribute anything positive,
 and directly offends large numbers of people subscribed to the list.
 
 When was this election held Chad? I am referring to the one that
 appointed you list spokesperson. In any case, you make an interesting
 statement without offering any documentation. Are you a politician
 Chad? I was inquiring because you seem to like making sound bites
 sans substance.

I referred to no 

Re: xfce 4.10 update problems

2012-06-11 Thread Warren Block

On Mon, 11 Jun 2012, jb wrote:


Warren Block wblock at wonkity.com writes:


...

- startx fails when moused enabled
(EE) xf86OpenSerial: Cannot open device /dev/psm0
Device busy.
(EE) PS/2 Mouse: cannot open input device
(EE) PreInit returned NULL for PS/2 Mouse
(EE) config/hal: NewInputDeviceRequest failed (8)
xinit: connection to X server lost

Any known solutions ?


Disable hal in xorg.conf, ServerLayout section:

Option AutoAddDevices Off


OK, that's way to go.

But there is something strange.
I tried to fix the problem by disabling moused in /etc/rc.conf .
After reboot, I could 'startx' X session.
But 'ps' still showed moused processes:
$ ps auxww |grep -i mouse
root 1286 0.0 0.1 9716 1148 ?? Ss 8:55AM 0:01.02
/usr/sbin/moused -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid
root 1888 0.0 0.1 9716 1144 ?? Is 8:55AM 0:00.00
/usr/sbin/moused -p /dev/psm0 -t auto
root 2045 0.0 0.1 12340 2516 ?? I 8:55AM 0:00.01
hald-addon-mouse-sysmouse: /dev/psm0 (hald-addon-mouse-sy)
root 2065 0.0 0.1 12340 2520 ?? I 8:55AM 0:00.01
hald-addon-mouse-sysmouse: /dev/ums0 (hald-addon-mouse-sy)
jb 2262 0.0 0.1 9748 1284 2 S+ 9:03AM 0:00.01
grep -i mouse

I tested it by rebooting 3 times.
I have 2 mouses: Lenovo Thinkpad stick and external usb mouse.


devd runs moused when USB mice are attached, even if moused_enable=NO 
is set in rc.conf.


That's not a bad thing.  It seems like enabling moused is needed 
somehow, maybe just to get a handle on the mice before HAL starts.

___
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: mysqld startup issue

2012-06-11 Thread Michael Powell
Gary Aitken wrote:

 I've done the following after having a running system with a running mysql
 on it:
 
 moved user accounts, although no logical move:
   /usr/home/foo was = /hd1/foo
 now
   /usr/home = /hd1/home  and /hd1/foo is now /hd1/home/foo
 repartitioned the SSD and restored the system from a dump taken prior to
 repartitioning. removed all ports and reinstalled them

Although I have not really experienced much in the way of toruble with this, 
as my systems are not very 'busy', it can be better to boot from a LiveCD to 
do the dump because no files are open for writing and all your MySQL files 
will be static. No possibility of change during the dump. That being said, I 
have done dumps from live filesystems and have been able to restore them many 
times. Forewarned is forearmed.
 
 Unfortunately, mysqld won't start:
 
 120611 10:55:52 [Warning] Can't create test file
 /var/db/mysql/breakaway.lower-test 120611 10:55:52 [Warning] Can't create
 test file /var/db/mysql/breakaway.lower-test mysqld: Table 'mysql.plugin'
 doesn't exist 120611 10:55:52 [ERROR] Can't open the mysql.plugin table.
 Please run mysql_upgrade to create it. 120611 10:55:52 InnoDB: The InnoDB
 memory heap is disabled 120611 10:55:52 InnoDB: Mutexes and rw_locks use
 GCC atomic builtins 120611 10:55:52 InnoDB: Compressed tables use zlib
 1.2.5 120611 10:55:52 InnoDB: Initializing buffer pool, size = 128.0M
 120611 10:55:52 InnoDB: Completed initialization of buffer pool
 120611 10:55:52  InnoDB: Operating system error number 13 in a file
 operation. InnoDB: The error means mysqld does not have the access rights
 to InnoDB: the directory.
 InnoDB: File name ./ibdata1
 InnoDB: File operation call: 'create'.
 InnoDB: Cannot continue operation.

I have had trouble before when playing with these files outside of MySQL. 
What happens is if they get out of sync with the index they will become 
totally unusable. There are recovery procedures in the docs, but if memory 
serves it was just easier to delete the ib_logfile(x) and allow MySQL to 
recreate from scratch. Probably not central to your problem, per se, just 
thought I'd make mention in passing. I would recommend consulting the docs 
on this subject of index/logfile recovery prior to any blindly mucking about.
 
 Running mysqld --verbose shows:
 
   basedir /usr/local
   general-log-file/var/db/mysql/breakaway.log

Usually this file is of the form FQDN hostname.err
 
 ls -aol /usr/local/libexec/mysqld
 -rwxr-xr-x  1 root  wheel  - 9558944 Jun 11 10:40

mine shows:

testbed# ls -aol /usr/local/libexec/mysqld
-r-xr-xr-x  1 root  wheel  - 6694672 May 10 11:16 /usr/local/libexec/mysqld

 /usr/local/libexec/mysqld ls -dl /var/db/mysql
 drwxr-xr-x  2 mysql  mysql  512 Jun 11 10:31 /var/db/mysql

and my /var/db shows the below for the mysql directory:

drwxr-xr-x   21 mysql mysql3072 Jun  4 12:09 mysql
 
 cd /
 find . -ls | grep my.cnf
 
 shows nothing.
 
 This looks like some kind of access / setuid problem, but I'm not sure
 what. Suggestions?

Beginning with the mysql_enable=YES I have found when using rc startup 
scripts you need the entire path: /usr/local/etc/rc.d/mysql-server blah

Moving on to permissions. Don't recall specifically, but if memory serves 
during the port install/reinstall there is a choice displayed to keep/use a 
previous mysql:mysql user and group combo. Perhaps an incorrect choice 
allows for deleting this - never known as I have always chosen to not delete 
but to reuse the old accounts. 

Nevertheless, in /etc/group there should be an entry like this:

mysql:*:88:

And the user account as shown by vipw will look like this:

mysql:*:88:88::0:0:MySQL Daemon:/nonexistent:/sbin/nologin

These should both be handled 'automagically' by the ports build system. You 
can cd to /var/db and do a chown -R mysql:mysql mysql if you want to ensure 
file ownership is correct, provided the above referenced entries are in 
place.

The ports these days will place the my.cnf file in /usr/local/etc instead of 
the old location of /var/db/mysql. I believe it is still supposed to fall 
back to /var/db/mysql if not found. One thing I found out when I was having 
a problem was that MySQL will not source this file if permissions on it are 
world read/write. Not exactly sure what it's supposed to be (I'm sure this 
can be found in the docs) but I've just chmod'd it 444 when I'm done with 
edits.

I do not grasp why any movement of your home directories mentioned at the 
top would matter to MySQL. I suspect something more to do with the removed 
all ports and reinstalled them part. The mysql.plugin tells you to run an 
update script to update schema. There is more info on this in the docs. 
Don't believe that is the main problem. I suspect either you have InnoDB 
configs not being read in my.cnf or that InnoDB logfiles or index got 
corrupted by the backup process. If you have MyIsam tables and you comment 
out in my.cnf the activation (once you get my.cnf 

Re: speed of dump

2012-06-11 Thread Robert Huff

Warren Block writes:

  Another thread, which I seem to have lost, was talking about
   dump and sizing its cache.
  Per my promise, appended is the log of this morning's level 0 dump,
   using C=32.  THe system is -CURRENT from March, using AMD Phemon II
   x4/3ghz and SATA 3gbit drives (one internal, one external.).
  
DUMP: finished in 1746 seconds, throughput 19568 KBytes/sec
  
  Are you using -b64 ?  That can make a serious throughput improvement 
  over smaller values.

No.  I'll give it a try.
Thanks,


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: speed of dump

2012-06-11 Thread Robert Huff

Adam Vande More writes:

DUMP: finished in 1746 seconds, throughput 19568 KBytes/sec
  
  Looks like one of your disks must be USB.

Source disk: SATA, I believe 3mbit
Target disk: e-SATA, which may be limited to 1.5 mbit/sec.


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: Is this something we (as consumers of FreeBSD) need to be aware of?

2012-06-11 Thread Chad Perrin
On Mon, Jun 11, 2012 at 02:46:49PM -0400, Jerry wrote:
 On Mon, 11 Jun 2012 11:44:11 -0600 Chad Perrin articulated:
 On Mon, Jun 11, 2012 at 12:59:46PM -0400, Jerry wrote:
  
  Your paranoia is kicking in again isn't it Chad. Anyway, to address
  your sports analogy, if I walk into a NY City bar and enter into a
  discussion regarding the pros and cons of the Jets VS Giants, which
  in itself is ridiculous since neither is actually located in NY, and
  blatantly scream out that the (Jets of Giants -- you pick) are a
  bunch of mother-fucking, wife beating pedophiles, I think you would
  agree, unless you happen to belong to that group, that I have gone
  way over the top in my team assessment. There is a major difference
  between criticizing and defamation. Perhaps someday you will learn
  the difference. For the record, I have never heard of anyone using
  the term mafia while referring to the FOSS. Then again, the
  Mafia is a highly organized operation. I might also add that many
  people of Italian descent consider the term mafia offensive.
 
 I'm going to actually ignore your completely irrelevant and hilariously
 unfounded attempt at psychiatric diagnosis beyond this sentence, and
 get to the point:
 
 Ignoring for the moment http://linuxmafia.com it is true that I have
 generally not heard of open source software or its community referred
 to as mafia, but I have heard of such things referred to as being
 socialist, fascist, or otherwise pejoratively accused of inapplicable
 political, criminal, or generally objectionable (in at least someone's
 eyes) character.  Three guesses who comes first to mind as having made
 such statements, and the first two guesses don't count.
 
 I love the way you make a statement, then add a qualifier to the
 statement making it virtually impossible to attack as well as giving
 yourself a way out. I'll explain further in my reply near the end of
 this post.

This is interesting coming from someone whose immediately preceding
comment was an Internet diagnosis of paranoia coupled with a hypocritical
accusation of inappropriate phrasing directed at a third party.


 
  I, for one, generally try to avoid saying nonfactually disparaging
  things about Microsoft or (especially) users of software peddled by
  Microsoft in venues like this mailing list, in part because it's a
  bit unsportsmanlike, and in part because it doesn't really
  contribute anything positive.  It's kind of mind-boggling that
  people like you make no evident effort to avoid saying disparaging
  things about FreeBSD and its users in venues like this mailing
  list, where it's trollish, does not contribute anything positive,
  and directly offends large numbers of people subscribed to the list.
  
  When was this election held Chad? I am referring to the one that
  appointed you list spokesperson. In any case, you make an interesting
  statement without offering any documentation. Are you a politician
  Chad? I was inquiring because you seem to like making sound bites
  sans substance.
 
 I referred to no election.  I am not list spokesperson, nor do I
 pretend to be or act as one, any more than you are the spokesperson for
 capitalism.  I'm simply pointing out that you are an insufferable,
 trollish jackass, initially in a polite manner.  The fact you avoid
 actually engaging my points, in favor of simply bleating about
 transgressions I haven't even made, does a fairly good job of
 supporting my statements.
 
 As stated above in my latest response, it is difficult to counter a
 statement by you since you don't really state anything. You say, I
 have heard of such things referred to as being socialist,
 fascist, ... (truncated by me) etcetera. Well who the hell hasn't.
 News flash --  that isn't one. Then you add the (in at least someone's
 eyes) qualifier making it impossible to argue with. A good
 politician's trick by the way. Are you sure you are not into politics?
 If it were not for your paranoia, you could probably be a good one. You
 say nothing and speak volumes. Seriously, look over your postings for
 the past year. Your transgressions I haven't even made and similar
 statements are reproduced in an alarming number of them.

The obvious implication here is that you are one of those people who
makes comments insinuating (or outright claiming) socialist or fascist
ethics dominating open source communities.  I make no bones about the
fact I made implicative reference to you in that statement, so you don't
need to play dumb and pretend you don't know I was pointing out your own
hypocrisies.

The at least in someone's eyes parenthetical remark was in reference to
the presumably pejorative character of some remarks people like you often
make.  Nice job pretending I meant something else with that parenthetical
remark, though.  Your tendency to (intentionally, I think) misrepresent
the context of my statements when you fail to find a concrete argument to
present proves you're a real class act.  What 

Re: mysqld startup issue

2012-06-11 Thread Robert Bonomi

Gary Aitken wrote:
 To: FreeBSD Mailing List freebsd-questions@freebsd.org
 Subject: mysqld startup issue

 I've done the following after having a running system with a running mysql on 
 it:

 moved user accounts, although no logical move:
   /usr/home/foo was = /hd1/foo
 now
   /usr/home = /hd1/home  and /hd1/foo is now /hd1/home/foo
 repartitioned the SSD and restored the system from a dump taken prior to 
 repartitioning.
 removed all ports and reinstalled them

 Unfortunately, mysqld won't start:

[ sneck ]

 120611 10:55:52 [ERROR] Can't open the mysql.plugin table. Please run 
 mysql_upgrade to create it.

[ sneck ]

 This looks like some kind of access / setuid problem, but I'm not sure what.
 Suggestions?

Have you tried doing what the error message _tells_ you to do ?

If so, what happened?  

If not, why not?


___
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


Booting from ZFS with serial console

2012-06-11 Thread Brian McCann
Hi all.  I am in desperate need of some help with ZFS (maybe GPT) and
serial consoles.  I use 19200 for my console speed for everything, so I
recompiled the boot blocks using BOOT_COMCONSOLE_SPEED=19200  in
/etc/make.conf.  I then ran this to install new blocks to my two drives in
the mirror pair:

gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ad4
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ad6

If the keyboard is plugged in when the machine starts up, all is good.
 With the keyboard unplugged, I get a small error dump followed by BTX
Halted.

I tried this with the files from the install DVD, and the same thing
happens...BTX Halted without a keyboard plugged in.

In both cases, /boot.config has : -P -S19200.  I tried changing it to
-Dh -S19200, and I get the BTX Halted on every boot now.

Can someone please shed some light on why it's crashing like this?  I'm
fairly confident this behavior is a bug and not by design...but I can't
believe that this bug would not be noticed up until now.

Thanks!
--Brian

-- 
_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_
Brian McCann

I don't have to take this abuse from you -- I've got hundreds of
people waiting to abuse me.
-- Bill Murray, Ghostbusters
___
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: xfce 4.10 update problems

2012-06-11 Thread jb
Warren Block wblock at wonkity.com writes:

 ... 
  I have 2 mouses: Lenovo Thinkpad stick and external usb mouse.
 
 devd runs moused when USB mice are attached, even if moused_enable=NO 
 is set in rc.conf.
 
 That's not a bad thing.  It seems like enabling moused is needed 
 somehow, maybe just to get a handle on the mice before HAL starts.

Oops, I must have goofed multiple times.
Disabling moused in rc.conf did just that for the default (built-in) mouse.
$ ps auxww|grep -i mouse
root1938   1.0  0.1  12340   2628  ??  S10:31PM 0:00.92
hald-addon-mouse-sysmouse: /dev/psm0 (hald-addon-mouse-sy)
root1287   0.0  0.1   9716   1148  ??  Ss   10:31PM 0:00.12
/usr/sbin/moused -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid
root1958   0.0  0.1  12340   2516  ??  I10:31PM 0:00.01
hald-addon-mouse-sysmouse: /dev/ums0 (hald-addon-mouse-sy)
jb  2110   0.0  0.0   1928708   1  R+   10:34PM 0:00.02 grep -i 
mouse

No problem here.
Thanks guys.
jb


___
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: Is this something we (as consumers of FreeBSD) need to be aware of?

2012-06-11 Thread Jerry
On Mon, 11 Jun 2012 13:44:36 -0600
Chad Perrin articulated:

 As stated above in my latest response, it is difficult to counter a
 statement by you since you don't really state anything. You say, I
 have heard of such things referred to as being socialist,
 fascist, ... (truncated by me) etcetera. Well who the hell hasn't.
 News flash --  that isn't one. Then you add the (in at least
 someone's eyes) qualifier making it impossible to argue with. A good
 politician's trick by the way. Are you sure you are not into
 politics? If it were not for your paranoia, you could probably be a
 good one. You say nothing and speak volumes. Seriously, look over
 your postings for the past year. Your transgressions I haven't even
 made and similar statements are reproduced in an alarming number of
 them.

The obvious implication here is that you are one of those people who
makes comments insinuating (or outright claiming) socialist or fascist
ethics dominating open source communities.  I make no bones about the
fact I made implicative reference to you in that statement, so you
don't need to play dumb and pretend you don't know I was pointing out
your own hypocrisies.

The at least in someone's eyes parenthetical remark was in reference
to the presumably pejorative character of some remarks people like you
often make.  Nice job pretending I meant something else with that
parenthetical remark, though.  Your tendency to (intentionally, I
think) misrepresent the context of my statements when you fail to find
a concrete argument to present proves you're a real class act.  What
class that is, I leave as an inference for the reader.

Your paranoia is working overtime now.

I'm not sure what you're talking about with regard to the
transgressions I haven't made.  I did not refer to anyone as mafia
in this list, to my recollection, and I would be quite interested in
seeing verifiable quotes of me saying such a thing.  I similarly do
not recall expressing a pathological fear of persecution here.  I
pointed out that one person (not you) failed to say something
worthwhile in an earlier email, and that another person (you) have
unreasonable expectations if you really think that you have given
nobody any reason to call you a troll or refer to what you do as
flamebaiting when you show up in a FreeBSD community mailing list and
accuse open source software users and advocates of pejoratively
socialist, fascist, and otherwise reprehensible behavior in your eyes
just because they prefer something other than MS Windows, often
lumping an entire community in with a single noisy individual.

Oh, poor Chad. His feelings are hurt.

Chad, for some reason that totally escapes me at the moment, you feel
as if you are important enough for me to really care what you think.
News flash -- you aren't. I think of you as nothing more than an
incorrigible bore with an inflated ego. Your attempts to portray
yourself as an cognoscente while your persecution complex has pervaded
numerous posts you have responded to has become laughable. Perhaps you
are experiencing hypnagogic hallucinations. You really should consult
an expert in the field although I fear that you would be recalcitrant to
the idea.

It must be sad going through life feeling that everyone is casting
aspersions and heaping maledictions upon you. It is really sad.

Personally, I would much rather have a discussion with Poly. I respect
him, although I don't often agree with him. At least he discusses facts
and doesn't spend his time trying to defend himself against non existent
attacks.

If you want to reply back with actual facts pertinent to the subject of
this post, fine. Otherwise you are only wasting your time since I will
not play your sad woe is me game.


-- 
Jerry ♔ {This author has been Chad Perrin approved}

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
___
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: Is this something we (as consumers of FreeBSD) need to be aware of?

2012-06-11 Thread Mark Felder

Jerry, Chad: please unsubscribe me from your mailing list. 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


text format

2012-06-11 Thread i pwn
hi, sometime ago i asked a question about how to format a text, some  
people told me to use groff, but i would like to know how was file http://ipwn.altervista.org/files/Stoll,%20Clifford%20-%20The%20Cuckoo%27s%20Egg.txt 
 fomatted.

thanks in advance.
---
JID:ipwn#cih.ms
HP:ipwn.altervista.org





PGP.sig
Description: This is a digitally signed message part


any way to grab just One port to upgrade?

2012-06-11 Thread Gary Kline

it is easy to cvs or cvsup ports and get a whole slew of ports in
/usr/ports/distfiles, but too often, using portmaster [or another
tool], I'll have only one of two ports that fail because they are
either 1) broken, or 2) out of date.  is there any way I can grab
just the ones that fail to compile?  I'm down to fewer than 50
ports.
and wedged.

tia,

gary


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 Voice By Computer (for Universal Access): http:/www.thought.org/vbc
  The 8.57a release of Jottings: http://jottings.thought.org
 Twenty-five years of service to the Unix community.

___
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


[solved] Re: mysqld startup issue

2012-06-11 Thread Gary Aitken
Ugh.  Operator error.

I assumed from the docs there had to be a my.cnf file someplace,
if only to serve as the system default;
and that the my.cnf file was directing everything else.
It turns out there doesn't have to be one anywhere.
My thought process was hijacked by the errors produced 
from the missing --datadir option

starting using:

  mysqld --datadir=path 

was all that was required,
although clearly a my.cnf or ~/.my.cnf would make things easier.

 120611 10:55:52 [Warning] Can't create test file 
 /var/db/mysql/breakaway.lower-test
 mysqld: Table 'mysql.plugin' doesn't exist
 120611 10:55:52 [ERROR] Can't open the mysql.plugin table. Please run 
 mysql_upgrade to create it.
 120611 10:55:52 InnoDB: The InnoDB memory heap is disabled
 120611 10:55:52 InnoDB: Mutexes and rw_locks use GCC atomic builtins
 120611 10:55:52 InnoDB: Compressed tables use zlib 1.2.5
 120611 10:55:52 InnoDB: Initializing buffer pool, size = 128.0M
 120611 10:55:52 InnoDB: Completed initialization of buffer pool
 120611 10:55:52  InnoDB: Operating system error number 13 in a file operation.
 InnoDB: The error means mysqld does not have the access rights to
 InnoDB: the directory.
 InnoDB: File name ./ibdata1
 InnoDB: File operation call: 'create'.
 InnoDB: Cannot continue operation.
___
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: mysqld startup issue

2012-06-11 Thread Gary Aitken
On 06/11/12 13:48, Robert Bonomi wrote:

 Unfortunately, mysqld won't start:

 [ sneck ]
 
 120611 10:55:52 [ERROR] Can't open the mysql.plugin table. Please run 
 mysql_upgrade to create it.

 Have you tried doing what the error message _tells_ you to do ?

nope, and yup
nope, because the docs clearly state that the server needs to be running.
yup, because I did it anyway just to see what it would do

 If so, what happened?

Unsurprisingly, it craps out saying it cannot connect to the server.

problem was missing --datadir option when starting server
___
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: any way to grab just One port to upgrade?

2012-06-11 Thread Robert Simmons
On Mon, Jun 11, 2012 at 6:02 PM, Gary Kline kl...@thought.org wrote:
 it is easy to cvs or cvsup ports and get a whole slew of ports in
 /usr/ports/distfiles, but too often, using portmaster [or another
 tool], I'll have only one of two ports that fail because they are
 either 1) broken, or 2) out of date.  is there any way I can grab
 just the ones that fail to compile?  I'm down to fewer than 50
 ports.
 and wedged.

You don't want to have /usr/ports out of sync.  You want to let
cvsup/portsnap do it's thing.  It's ideal to have the whole ports
collection up-to-date.  You may want to start with a clean slate and
cvsup/portsnap a fresh copy of the ports collection if you think that
something is amiss.  You can make a backup of /usr/ports for peace of
mind too.

Also, can you please supply exactly what ports you're talking about
and what commands you are running to upgrade?  Error output for the
ports you say are broken would be another good thing to supply.
___
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 allow by MAC

2012-06-11 Thread Randal L. Schwartz
 Bill == Bill Yuan byc...@gmail.com writes:
Bill I want to create a white list MAC address,  Only the machine which it's 
MAC
Bill in the white list will be allowed,  all others will be blocked.

Bad idea.  Since (a) every MAC address that *is* allowed is transmitted
in the clear and (b) it's trivial to spoof a MAC address.

This. is. no. security.

Please stop even trying.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
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: Chromium 19 core dumps on launch...

2012-06-11 Thread George Liaskos
On Mon, Jun 11, 2012 at 3:04 AM, Keith Seyffarth w...@weif.net wrote:

 Friday I installed Chromium again because it would be nice to have a
 browser to test in other than Firefox and Opera. It was installed using
 portinstall -R chromium, which *appeared* to function properly.

 However, trying to run chrome results in:
 pid 50993 (chrome), uid 1001: exited on signal 11 (core dumped)

 From what I found online, it looked like I may have been encountering an
 issue with devel/google-perftools, but on reinstall was able to confirm
 that this is building with gcc not clang.

 I have also removed my ~/.config/chromium directory with no change in
 behavior.



 Not sure if it's relevant, but the last version of Chromium that was
 *functional* for me was 12. Versions 13-16 didn't support loading web
 pages (the browser would launch, but if I entered a URL in the address
 bar, I could leave the browser running overnight and it still wouldn't
 have started loading a page). Then when 17 and 18 wouldn't even compile
 (marked ignore), I just removed package.

Please try 19.0.1084.56_1, devel/google-perftools is not a dependency
of chromium anymore.


Regards,
George
___
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: text format

2012-06-11 Thread Alejandro Imass
On Mon, Jun 11, 2012 at 5:57 PM, i pwn pwnedom...@gmail.com wrote:
 hi, sometime ago i asked a question about how to format a text, some people
 told me to use groff, but i would like to know how was file
 http://ipwn.altervista.org/files/Stoll,%20Clifford%20-%20The%20Cuckoo%27s%20Egg.txt
 fomatted.
 thanks in advance.

Most probably nroff / groff

Take a look at the info from the authoring tools at rfceditor:

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


Re: Is this something we (as consumers of FreeBSD) need to be aware of?

2012-06-11 Thread Chad Perrin
On Mon, Jun 11, 2012 at 04:53:11PM -0400, Jerry wrote:

 . . .

You obviously aren't serious.  I can't believe I let you string me along
with this fantasy for so long.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.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: text format

2012-06-11 Thread Robert Bonomi
i pwn pwnedom...@gmail.com wrote:

 hi, sometime ago i asked a question about how to format a text, some  
 people told me to use groff, but i would like to know how was file 
 http://ipwn.altervista.org/files/Stoll,%20Clifford%20-%20The%20Cuckoo%27s%20Egg.txt
  
   fomatted.
 thanks in advance.

From the output alone, one -cannot- tell for certain.  That document could
have been produced by any number of programs -- including, but not limited
to 'electric pencil', 'pc-write', 'volkswriter', 'xywrite', 'wordstar',
'wordperfect', 'excel', and any form of 'runoff' or its descendants (including
but limited to: 'rnf','troff', 'ditroff', 'nroff', 'groff' and others) or
even a 'TeX' variant, such as 'LaTeX'.

'Considering the source', ditroff (or a varient) is likely.  Probably using
the 'me' macro set.  There are output quirks that make it unlikely that the
'ms' macroes were used.)


___
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: any way to grab just One port to upgrade?

2012-06-11 Thread Gary Kline
On Mon, Jun 11, 2012 at 06:14:52PM -0400, Robert Simmons wrote:
 Date: Mon, 11 Jun 2012 18:14:52 -0400
 From: Robert Simmons rsimmo...@gmail.com
 Subject: Re: any way to grab just One port to upgrade?
 To: freebsd-questions@freebsd.org
 
 On Mon, Jun 11, 2012 at 6:02 PM, Gary Kline kl...@thought.org wrote:
  it is easy to cvs or cvsup ports and get a whole slew of ports in
  /usr/ports/distfiles, but too often, using portmaster [or another
  tool], I'll have only one of two ports that fail because they are
  either 1) broken, or 2) out of date.  is there any way I can grab
  just the ones that fail to compile?  I'm down to fewer than 50
  ports.
  and wedged.
 
 You don't want to have /usr/ports out of sync.  You want to let
 cvsup/portsnap do it's thing.  It's ideal to have the whole ports
 collection up-to-date.  You may want to start with a clean slate and
 cvsup/portsnap a fresh copy of the ports collection if you think that
 something is amiss.  You can make a backup of /usr/ports for peace of
 mind too.
 
 Also, can you please supply exactly what ports you're talking about
 and what commands you are running to upgrade?  Error output for the
 ports you say are broken would be another good thing to supply.

something in x11-toolkits/gtk20 blew up.  S.
lolngstoryshrt, I rebuilt from scratch [[ from the very
beginning ]] around 2 hours ago.  it Just died.  here are
the last 20 lines::


gmake[2]: Leaving directory
`/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/modules'
Making all in demos
gmake[2]: Entering directory
`/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/demos'
/usr/local/bin/gdk-pixbuf-csource --raw --build-list\
apple_red  ./apple-red.png  \
gnome_foot ./gnome-foot.png \
 test-inline-pixbufs.h \
|| (rm -f test-inline-pixbufs.h  false)
failed to load ./apple-red.png: Couldn't recognize the image file
format for file './apple-red.png'
gmake[2]: *** [test-inline-pixbufs.h] Error 1
gmake[2]: Leaving directory
`/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/demos'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk20.
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk20.
root@ethic:/tmp# 

unless this port is known to be broken, I'll cvsup the ports
tree.


 ___
 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
 

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 Voice By Computer (for Universal Access): http:/www.thought.org/vbc
  The 8.57a release of Jottings: http://jottings.thought.org
 Twenty-five years of service to the Unix community.

___
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: Is this something we (as consumers of FreeBSD) need to be aware of?

2012-06-11 Thread Modulok
This thread has united the open source community into doing something useful
and constructive. Thanks guys. You really showed 'em.

-Modulok-
___
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: text format

2012-06-11 Thread pwnedomina

On 11-06-2012 23:40, Alejandro Imass wrote:

On Mon, Jun 11, 2012 at 5:57 PM, i pwnpwnedom...@gmail.com  wrote:

hi, sometime ago i asked a question about how to format a text, some people
told me to use groff, but i would like to know how was file
http://ipwn.altervista.org/files/Stoll,%20Clifford%20-%20The%20Cuckoo%27s%20Egg.txt
fomatted.
thanks in advance.

Most probably nroff / groff

Take a look at the info from the authoring tools at rfceditor:

http://www.rfc-editor.org/formatting.html


*formatted.
i've downloaded NroffEdit but when i open the ASCII text i want to 
convert/format, it says Not a valid nroff I-D

what should i do?
___
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


Newbie question: Why aren't my cron jobs running?

2012-06-11 Thread Walter Hurry
As the subject says, this is probably a newbie question (I am new to 
FreeBSD but quite experienced at Linux).

FreeBSD9 on x86_64.

Cron is running:

$ ps -ax|grep cron

 1513  ??  Is 0:00.01 /usr/sbin/cron -s

 2283   0  S+ 0:00.00 grep cron

$

I have a syntactically valid crontab:

$ crontab -l
#min hr dom month dow command

SHELL=/bin/bash

PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/
daddy/bin

HOME=/home/walterh

 00  02 *   * *   /home/walterh/exports.sh

 05  02 *   * *   /home/walterh/backup_etc.sh

 10  02 *   * *   /home/walterh/systemcheck.sh

 15  02 *   * *   /home/walterh/backup_bsd.sh

$ 

So what is wrong? Why is nothing happening? I have consulted the handbook 
but see nothing.

___
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: Newbie question: Why aren't my cron jobs running?

2012-06-11 Thread Michael Sierchio
On Mon, Jun 11, 2012 at 7:04 PM, Walter Hurry walterhu...@gmail.com wrote:
 As the subject says, this is probably a newbie question (I am new to

 FreeBSD but quite experienced at Linux).

 FreeBSD9 on x86_64.

 Cron is running:

 $ ps -ax|grep cron

  1513  ??  Is     0:00.01 /usr/sbin/cron -s

  2283   0  S+     0:00.00 grep cron

 $

 I have a syntactically valid crontab:

 $ crontab -l
 #min hr dom month dow command

 SHELL=/bin/bash

 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/
 daddy/bin

 HOME=/home/walterh

  00  02 *   *     *   /home/walterh/exports.sh

  05  02 *   *     *   /home/walterh/backup_etc.sh

  10  02 *   *     *   /home/walterh/systemcheck.sh

  15  02 *   *     *   /home/walterh/backup_bsd.sh

 $

 So what is wrong? Why is nothing happening? I have consulted the handbook
 but see nothing.

Have you installed bash?  It's not in the system base.

What's in your shell scripts?

- M
___
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: Newbie question: Why aren't my cron jobs running?

2012-06-11 Thread Walter Hurry
On Mon, 11 Jun 2012 19:10:21 -0700, Michael Sierchio wrote:

 Have you installed bash?  It's not in the system base.
 
 What's in your shell scripts?

Thanks for the quick response.

$ pkg_info|grep bash

bash-4.2.28 The GNU Project's Bourne Again SHell

$ which bash

/bin/bash

$ 

$ less $HOME/bin/exports.sh

#!/bin/bash

LOG=$HOME/log/exports.log

logger -t walterh-cronjob Exports started

echo Exports started at `date`  $LOG

rm $HOME/postgresql/*

psql packages -f $HOME/sql/exports.sql

cd $HOME/postgresql

tar cfz postgresql.tgz *

rm *csv

echo Exports finished at `date`  $LOG

logger -t walterh-cronjob Exports finished

/home/walterh/bin/exports.sh (END)

___
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: Newbie question: Why aren't my cron jobs running?

2012-06-11 Thread Michael Sierchio
On Mon, Jun 11, 2012 at 7:25 PM, Walter Hurry walterhu...@gmail.com wrote:

cat /etc/shells
___
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: Newbie question: Why aren't my cron jobs running?

2012-06-11 Thread Walter Hurry
On Mon, 11 Jun 2012 21:21:12 -0500, Adam Vande More wrote:

 You really have bash in /bin ?  Are your scripts executable?  What does
 /var/log/cron say?

$ file /bin/bash

/bin/bash: symbolic link to `/usr/local/bin/bash'

$ sudo tail -50 /var/log/cron (result snipped at 02:22:00 for brevity)

Jun 12 01:55:00 jupiter /usr/sbin/cron[1780]: (root) CMD (/usr/libexec/
atrun)

Jun 12 02:00:00 jupiter /usr/sbin/cron[1823]: (root) CMD (newsyslog)

Jun 12 02:00:00 jupiter /usr/sbin/cron[1825]: (operator) CMD (/usr/
libexec/save-entropy)

Jun 12 02:00:00 jupiter /usr/sbin/cron[1824]: (root) CMD (/usr/libexec/
atrun)

Jun 12 02:00:00 jupiter /usr/sbin/cron[1836]: (walterh) CMD (/home/
walterh/exports.sh)

Jun 12 02:01:00 jupiter /usr/sbin/cron[1849]: (root) CMD (adjkerntz -a)

Jun 12 02:05:00 jupiter /usr/sbin/cron[1874]: (root) CMD (/usr/libexec/
atrun)

Jun 12 02:05:00 jupiter /usr/sbin/cron[1875]: (walterh) CMD (/home/
walterh/backup_etc.sh)

Jun 12 02:10:00 jupiter /usr/sbin/cron[1912]: (root) CMD (/usr/libexec/
atrun)

Jun 12 02:10:00 jupiter /usr/sbin/cron[1913]: (walterh) CMD (/home/
walterh/systemcheck.sh)

Jun 12 02:11:00 jupiter /usr/sbin/cron[1924]: (operator) CMD (/usr/
libexec/save-entropy)

Jun 12 02:15:00 jupiter /usr/sbin/cron[1981]: (root) CMD (/usr/libexec/
atrun)

Jun 12 02:15:00 jupiter /usr/sbin/cron[1982]: (walterh) CMD (/home/
walterh/backup_bsd.sh)

Jun 12 02:20:00 jupiter /usr/sbin/cron[2013]: (root) CMD (/usr/libexec/
atrun)

Jun 12 02:22:00 jupiter /usr/sbin/cron[2025]: (operator) CMD (/usr/
libexec/save-entropy)

___
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: Newbie question: Why aren't my cron jobs running?

2012-06-11 Thread Walter Hurry
On Mon, 11 Jun 2012 19:36:28 -0700, Michael Sierchio wrote:

 cat /etc/shells

$ cat /etc/shells
# $FreeBSD: release/9.0.0/etc/shells 59717 2000-04-27 21:58:46Z ache $
#
# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.
/bin/sh
/bin/csh
/bin/tcsh
/usr/local/bin/bash
/usr/local/bin/rbash
$

___
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: Newbie question: Why aren't my cron jobs running?

2012-06-11 Thread Chris
On 6/11/2012 9:25 PM, Walter Hurry wrote:
 On Mon, 11 Jun 2012 19:10:21 -0700, Michael Sierchio wrote:
 
 Have you installed bash?  It's not in the system base.

 What's in your shell scripts?
 
 Thanks for the quick response.
 
 $ pkg_info|grep bash
 
 bash-4.2.28 The GNU Project's Bourne Again SHell
 
 $ which bash
 
 /bin/bash
 
 $ 
 
 $ less $HOME/bin/exports.sh
 
 #!/bin/bash
 
 LOG=$HOME/log/exports.log
 
 logger -t walterh-cronjob Exports started
 
 echo Exports started at `date`  $LOG
 
 rm $HOME/postgresql/*
 
 psql packages -f $HOME/sql/exports.sql
 
 cd $HOME/postgresql
 
 tar cfz postgresql.tgz *
 
 rm *csv
 
 echo Exports finished at `date`  $LOG
 
 logger -t walterh-cronjob Exports finished
 
 /home/walterh/bin/exports.sh (END)
 
 ___
 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
 
 
 


I tend to use full path names in my shell scripts.
So for shits n giggles, try that.
Instead of tar cfz postgresql.tgz *
Try /bin/tar cfz postgresql.tgz *  etc, etc, etc

Use the paths for all commands such as rm, psql, logger etc.

-- 
Keep well,

Chris
 
___
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


note

2012-06-11 Thread Arlen McIntyre
  I have a ASUS laptop that came with Windows 7. I finally
ended up with XP on one partition and Ubuntu on the other.
ASUS only supports the Windows 7 OS with this particular
architect. I want to keep XP on one partition and put FreeBSD
on the other partition ( I already have created). The problem is that
 the files I see for installation are ISO files for booting.
  I don't have audio in XP but it worked in Ubuntu. I was told by
an authorized ASUS dealer that I would not find any support from them
because of switching from the pre-installed Windows 7. I cannot update the
drivers in the BIOS
to tell my laptop to boot from DVD/CD. How can I get FreeBSD on
my other partition and have a dual OS system without the boot installation?

   I cannot afford to buy FreeBSD.

Thanks,

Derek
___
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: any way to grab just One port to upgrade?

2012-06-11 Thread Polytropon
On Mon, 11 Jun 2012 17:31:10 -0700, Gary Kline wrote:
 On Mon, Jun 11, 2012 at 06:14:52PM -0400, Robert Simmons wrote:
  Date: Mon, 11 Jun 2012 18:14:52 -0400
  From: Robert Simmons rsimmo...@gmail.com
  Subject: Re: any way to grab just One port to upgrade?
  To: freebsd-questions@freebsd.org
  
  On Mon, Jun 11, 2012 at 6:02 PM, Gary Kline kl...@thought.org wrote:
   it is easy to cvs or cvsup ports and get a whole slew of ports in
   /usr/ports/distfiles, but too often, using portmaster [or another
   tool], I'll have only one of two ports that fail because they are
   either 1) broken, or 2) out of date.  is there any way I can grab
   just the ones that fail to compile?  I'm down to fewer than 50
   ports.
   and wedged.
  
  You don't want to have /usr/ports out of sync.  You want to let
  cvsup/portsnap do it's thing.  It's ideal to have the whole ports
  collection up-to-date.  You may want to start with a clean slate and
  cvsup/portsnap a fresh copy of the ports collection if you think that
  something is amiss.  You can make a backup of /usr/ports for peace of
  mind too.
  
  Also, can you please supply exactly what ports you're talking about
  and what commands you are running to upgrade?  Error output for the
  ports you say are broken would be another good thing to supply.
 
   something in x11-toolkits/gtk20 blew up.  S.
   lolngstoryshrt, I rebuilt from scratch [[ from the very
   beginning ]] around 2 hours ago.  it Just died.  here are
   the last 20 lines::
 
 
 gmake[2]: Leaving directory
 `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/modules'
 Making all in demos
 gmake[2]: Entering directory
 `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/demos'
 /usr/local/bin/gdk-pixbuf-csource --raw --build-list\
 apple_red  ./apple-red.png  \
 gnome_foot ./gnome-foot.png \
  test-inline-pixbufs.h \
 || (rm -f test-inline-pixbufs.h  false)
 failed to load ./apple-red.png: Couldn't recognize the image file
 format for file './apple-red.png'
 gmake[2]: *** [test-inline-pixbufs.h] Error 1
 gmake[2]: Leaving directory
 `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/demos'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory
 `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6'
 gmake: *** [all] Error 2
 *** Error code 1
 
 Stop in /usr/ports/x11-toolkits/gtk20.
 *** Error code 1
 
 Stop in /usr/ports/x11-toolkits/gtk20.
 root@ethic:/tmp# 
 
   unless this port is known to be broken, I'll cvsup the ports
   tree.

If you're using csup instead of portsnap, you can get faster
updates of your ports tree (as portsnap transmits snapshots
which are less frequently taken).

In case you intendedly need to DOWNgrade a port (maybe because
the newer version doesn't work anymore, like the xzgv image
viewer), use the portdowngrade tool. As it as been mentioned,
having an out-of-sync ports tree is not recommended and can
lead to trouble.

So for example, if gtk20 fails, remove its cruft (make clean
for this port and maybe its dependencies; maybe also remove
the distfiles it downloaded), and update via CVS some hours
after the incident. It sometimes happens that the problems
magically resolve. :-)

It's recommended to restart port builds in a somewhat clean
environment, that's why it sometimes really helps to delete
files of a previous build.

Are you using a port management tool (e. g. portmaster) or do
you operate on bare ports)?




-- 
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: note

2012-06-11 Thread Michael Sierchio
On Mon, Jun 11, 2012 at 8:36 PM, Arlen McIntyre fallofz...@gmail.com wrote:

   I cannot afford to buy FreeBSD.

Dada is not dead!
___
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: text format

2012-06-11 Thread Polytropon
On Tue, 12 Jun 2012 01:50:15 +, pwnedomina wrote:
 On 11-06-2012 23:40, Alejandro Imass wrote:
  On Mon, Jun 11, 2012 at 5:57 PM, i pwnpwnedom...@gmail.com  wrote:
  hi, sometime ago i asked a question about how to format a text, some people
  told me to use groff, but i would like to know how was file
  http://ipwn.altervista.org/files/Stoll,%20Clifford%20-%20The%20Cuckoo%27s%20Egg.txt
  fomatted.
  thanks in advance.
  Most probably nroff / groff
 
  Take a look at the info from the authoring tools at rfceditor:
 
  http://www.rfc-editor.org/formatting.html
 
 *formatted.
 i've downloaded NroffEdit but when i open the ASCII text i want to 
 convert/format, it says Not a valid nroff I-D
 what should i do?

Erm, you did open the output file (as pointed to), _not_ the
source file? You're trying to edit text in a document you've
scanned. :-)

The output text can be edited with any text editor (vi, emacs,
joe, mcedit, whichever is your favourite), but it will be kept
in this format as it _has been_ generated that way (past tense).
In order to change formatting, you need the SOURCE file with
the macros. (Compare: HTML files rendered by browser: output
looks different than input; to change it, you need to edit
the HTML source.)

You can compare that to editing a man page: You need the page's
source (like found in /usr/src/share/examples/mdoc/example.1).
The text's SOURCE file would have looked similarly I assume.
THAT is the input format you need for the NroffEdit WYSIWYG
text editor.



-- 
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: note

2012-06-11 Thread Polytropon
On Mon, 11 Jun 2012 21:36:00 -0600, Arlen McIntyre wrote:
 How can I get FreeBSD on
 my other partition and have a dual OS system without the boot installation?

Qustion part one:

Prepare a USB stick with the FreeBSD memstick edition.
You'll find instructions on how to do that on the FreeBSD
website, as well as the installation media.

Preparation: Make sure you have _free_ disk space. This
means: Do not create any DOS partitions, just leave it
empty and let the installer perform the required tasks
of partitioning and formatting.



Question part two:

Install the FreeBSD boot manager (which is one of the first
steps during the installation process). You can then select
at system startup which OS to boot into.



I cannot afford to buy FreeBSD.

I'm sorry to hear that, but it won't be a problem. You won't go
to jail, don't be frightened. Just install it. It's free. :-)

No really: FreeBSD _is_ free to download and to use. You don't
need to buy it (even though you _may_ do so; refer to the FreeBSD
website for details).




-- 
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: any way to grab just One port to upgrade?

2012-06-11 Thread Robert Simmons
On Mon, Jun 11, 2012 at 8:31 PM, Gary Kline kl...@thought.org wrote:
 On Mon, Jun 11, 2012 at 06:14:52PM -0400, Robert Simmons wrote:
 Date: Mon, 11 Jun 2012 18:14:52 -0400
 From: Robert Simmons rsimmo...@gmail.com
 Subject: Re: any way to grab just One port to upgrade?
 To: freebsd-questions@freebsd.org

 On Mon, Jun 11, 2012 at 6:02 PM, Gary Kline kl...@thought.org wrote:
  it is easy to cvs or cvsup ports and get a whole slew of ports in
  /usr/ports/distfiles, but too often, using portmaster [or another
  tool], I'll have only one of two ports that fail because they are
  either 1) broken, or 2) out of date.  is there any way I can grab
  just the ones that fail to compile?  I'm down to fewer than 50
  ports.
  and wedged.

 You don't want to have /usr/ports out of sync.  You want to let
 cvsup/portsnap do it's thing.  It's ideal to have the whole ports
 collection up-to-date.  You may want to start with a clean slate and
 cvsup/portsnap a fresh copy of the ports collection if you think that
 something is amiss.  You can make a backup of /usr/ports for peace of
 mind too.

 Also, can you please supply exactly what ports you're talking about
 and what commands you are running to upgrade?  Error output for the
 ports you say are broken would be another good thing to supply.

        something in x11-toolkits/gtk20 blew up.  S.
        lolngstoryshrt, I rebuilt from scratch [[ from the very
        beginning ]] around 2 hours ago.  it Just died.  here are
        the last 20 lines::


 gmake[2]: Leaving directory
 `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/modules'
 Making all in demos
 gmake[2]: Entering directory
 `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/demos'
 /usr/local/bin/gdk-pixbuf-csource --raw --build-list            \
        apple_red  ./apple-red.png      \
                gnome_foot ./gnome-foot.png     \
         test-inline-pixbufs.h                         \
 || (rm -f test-inline-pixbufs.h  false)
 failed to load ./apple-red.png: Couldn't recognize the image file
 format for file './apple-red.png'
 gmake[2]: *** [test-inline-pixbufs.h] Error 1
 gmake[2]: Leaving directory
 `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/demos'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory
 `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6'
 gmake: *** [all] Error 2
 *** Error code 1

 Stop in /usr/ports/x11-toolkits/gtk20.
 *** Error code 1

 Stop in /usr/ports/x11-toolkits/gtk20.
 root@ethic:/tmp#

        unless this port is known to be broken, I'll cvsup the ports
        tree.

That may not be necessary.  I'm building gtk20 on a freshly installed
virtual machine with a freshly portsnap'd ports tree.  I noticed the
following in the CVS logs:
CVS log for ports/x11-toolkits/gtk20/Makefile
Revision 1.256: download - view: text, markup, annotated - select for diffs
Fri Jun 1 05:25:47 2012 UTC (10 days, 22 hours ago) by dinoex
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.255: preferred, colored
Changes since revision 1.255: +1 -1 lines
- update png to 1.5.10

Since png just changed, and the error you encountered is failed to
load ./apple-red.png: Couldn't recognize the image file, I think
you may have run into a bug.  I'll find out in the morning when the
build is done.
___
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: Newbie question: Why aren't my cron jobs running?

2012-06-11 Thread Robert Bonomi

Walter Hurry walterhu...@gmail.com wrote:

 As the subject says, this is probably a newbie question (I am new to 
 FreeBSD but quite experienced at Linux).

 FreeBSD9 on x86_64.

 Cron is running:

 $ ps -ax|grep cron

  1513  ??  Is 0:00.01 /usr/sbin/cron -s

  2283   0  S+ 0:00.00 grep cron

 $

 I have a syntactically valid crontab:

'Syntactically valid', yes, but I believe it does not mean what you think
it does applies.  more below.

 $ crontab -l
 #min hr dom month dow command

 SHELL=/bin/bash

 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/
 daddy/bin

 HOME=/home/walterh

  00  02 *   * *   /home/walterh/exports.sh

  05  02 *   * *   /home/walterh/backup_etc.sh

  10  02 *   * *   /home/walterh/systemcheck.sh

  15  02 *   * *   /home/walterh/backup_bsd.sh

 $ 

 So what is wrong? Why is nothing happening? I have consulted the handbook 
 but see nothing.

It _appears_ that there is whitespace _before_ the purporte 'minutes' value 
on each line that you intend to invoke a command.  If so, -THAT- is probably
what is causinng the unexpected behavior.  I believe cron is looking for
the 'minutes' value _before_ any white space, and using a value of '0' when
it finds 'nothing' before the white-space Field-separator.  That, thus,
the all the commands run at 'zero minutes' past the various hours, on the
-second- day of the month, and that command-line that cron would -attempt-
to execute on the 2nd looks like, *   /home/walterh/systemcheck.sh, which,
of course will have *wildly* unexpected results, epecially if the first
element of the '*' expansion _is_ marked as executable.

Remove the leading white-space and things should work the way you 'expect'.

Comment: using a leading zero on the numeric fields is a BAD IDEA(tm) -- you
are *strongly* encocuraged to remove them.  Yes, that means numbers will not
be column aligned, but it is a small price to pay to avoid the hair-tearing
that =will= ensue when using it bites you.


___
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: note

2012-06-11 Thread Lars Eighner

On Mon, 11 Jun 2012, Arlen McIntyre wrote:


 I have a ASUS laptop that came with Windows 7. I finally
ended up with XP on one partition and Ubuntu on the other.
ASUS only supports the Windows 7 OS with this particular
architect. I want to keep XP on one partition and put FreeBSD
on the other partition ( I already have created). The problem is that
the files I see for installation are ISO files for booting.
 I don't have audio in XP but it worked in Ubuntu. I was told by
an authorized ASUS dealer that I would not find any support from them
because of switching from the pre-installed Windows 7. I cannot update the
drivers in the BIOS
to tell my laptop to boot from DVD/CD.


Really?  What happens when you press F2 and keep it down during boot?


How can I get FreeBSD on
my other partition and have a dual OS system without the boot installation?

  I cannot afford to buy FreeBSD.


FreeBSD is not for sale.  It is free.  Some services will sell releases on
CD or DVD, generally at very affordable prices which are well worth it
compared to downloading by dial-up.  But what those services are selling is
the media and the service of copying FreeBSD to the media and getting the
media into your hands.  You can download and/or install FreeBSD for free.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
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