With fresh 9.1 install, bash completion no longer expands $HOME

2013-06-10 Thread David P. Caldwell
On my 9.0-based machines, if I typed $HOME[tab] when typing a command
in bash, the $HOME would be overwritten by the actual path to my home
directory (the value of $HOME) and tab completion would work as
expected.

After a fresh 9.1 install, this does not work as well.

$HOME is still detected by completion, but it is not expanded after
pressing tab (this does not matter to me), but also an extra space is
inserted after tab.

For example, if I have a directory named src under my home directory,
and my working directory is an unrelated directory, and I type cd
$HOME/sr[tab]:

Under 9.0:
cd /home/dcaldwell/src/[cursor]

Under 9.1:
cd $HOME/src [cursor]

So under 9.1 I lose the slash and see a space instead, essentially,
which renders this not very useful.

If I use ~ rather than $HOME, it works correctly under both. Obviously
I could probably learn to type ~ rather than $HOME but it would be a
hard habit to break after years. :)

For bash (and for most software) I am using binary packages from the
-release distribution, so my 9.0 machines have 4.1.11 and my 9.1
machines have 4.2.37.

I don't know enough about all the moving parts to know where to start
tracking this down, so can someone point me in the right direction?
(Unless there's an known problem or change I'm missing.) I can't
figure out where completion is configured in bash outside the
/usr/local/etc/bash_completion.d/ directory, which incidentally on my
9.1 setup contains:

$ ls /usr/local/etc/bash_completion.d/
dbus-bash-completion.sh*gdbus-bash-completion.sh*
gsettings-bash-completion.sh*

Thanks,

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


Re: small fanless mini-pc for home router/firewall?

2013-05-08 Thread C. P. Ghost
On Wed, May 8, 2013 at 4:10 PM, firm...@gmail.com firm...@gmail.com wrote:

 What is the best option out there for a mini-pc to run FreeBSD as a home
 router/firewall?  (needs to have 2 nic's)


I had some pretty good experiences with older Soekris models (net-4801)
acting as fanless routers and little servers (DHCP, NFS, lighttpd, etc...).

http://soekris.com/products/net4801.html

I don't know how well their newer products run on FreeBSD though,
especially after the switch to clang. Others on this list may be able
to add their experiences.

-cpghost.

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


Re: Youtube Flash Videos broken?

2013-04-07 Thread C. P. Ghost
On Sun, Apr 7, 2013 at 12:21 PM, Jerry je...@seibercom.net wrote:

 On Sat, 06 Apr 2013 23:57:47 +0200
 Ralf Mardorf articulated:

  On Sat, 2013-04-06 at 23:53 +0200, Ralf Mardorf wrote:
   On Sat, 2013-04-06 at 23:39 +0200, Jens Schweikhardt wrote:
http://www.youtube.com/watch?v=Ywn2Lz5zmYg
  
   Firefox 20.0 Arch Linux x86_64 can't play this video too. Neither
   flash, nor gnash installed. Perhaps it's a video with a commercial,
   before the video can be watched? Wicked!
  
http://www.youtube.com/watch?v=oUPtiYiMCbQ
  
   Video and audio are ok for this video, still without flash or gnash.
 
  Perhaps we should switch to Windows :D. SICR

 I have pretty much given up on using Firefox with FreeBSD on sites that
 utilize Flash. It usually just sucks. Sites like comedy Central are
 just not view-able utilizing that combination. I use my Windows PC or
 Laptop for those times. Plus, I can keep Flash and or Java up-to-date
 far easier.


Nearly the same here: I'm keeping two virtual machines on my FreeBSD
laptop: a Windows 7 and a Linux one, and I'm starting the Win7 VM when
I stumble across that oddball Flash-only website that would not even display
on the Linux VM. This way, I'm keeping a clean and lean FreeBSD environment,
unpolluted by tons of Linuxulator compat libraries needed just to make
that flash plugin work.

Plus, it's easier to reset the Win7 VM to a previous virus-free stage after
each use... even though something like this
  http://www.qubes-os.org/trac
would be even better, I assume. ;)

--
 Jerry ♔


-cpghost.

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

Re:

2013-03-29 Thread C. P. Ghost
On Thu, Mar 28, 2013 at 11:03 PM, Jeff Belyea jbely...@gmail.com wrote:

 I have a new computer with windows 8, which I hate with a passion. I don't
 play music and I don't do a lot of pictures. Basically I only search, some
 EBay and games. Can I replace win8 with BSD?


Of course you can. I suggest that you

0. make a full backup of your win8 drive... just in case you want to
go back.

You may also want to extract the win8 product key and write it down:

*
http://superuser.com/questions/495794/how-can-i-find-the-product-key-that-was-used-to-activate-windows-8
*
http://forums.mydigitallife.info/threads/30363-Windows-8-Product-Key-Viewer

1. fetch a memstick image e.g. from here:

ftp://ftp2.us.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/9.1/FreeBSD-9.1-RELEASE-amd64-memstick.img

and write it with your favorite application on a USB flash drive.

2. switch your computer firmware from UEFI to CSM (compatibility
support module), a.k.a. old BIOS mode, so you can boot external media.

3. boot from the USB flash drive, and experiment with FreeBSD.

4. install to disk (eventually after resizing and repartitioning the win8
part if you want to keep that).

Good luck!

-cpghost.

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


Re: OT: The future of USENET?

2013-03-27 Thread C. P. Ghost
On Wed, Mar 27, 2013 at 10:49 AM, Matthias Apitz g...@unixarea.de wrote:


 Hello,

 This is a bit OT, but maybe some of you FreeBSD folks are as well
 affected like me and/or have any answer or comments...

 In the past I've used a lot the so called newsgroups, even running my own
 inn
 news server for our company and nn as the newsreader. I liked to post
 there technical (and other) questions and answers, or I've google'ed for
 solutions.

 Nowadays there is a big silence :-(
 Where have all the people gone? Is USENET coming to its end?


Well, the public Usenet forums are dwindling, but still there, and
some of them are still quite active. Usenet is also still doing well in
closed communities which can afford to run a newsserver (e.g. some
Universities). I wouldn't write off Usenet yet; neither as a technology
nor as a real network.

-cpghost.


 matthias
 --
 Matthias Apitz   |  /\ ASCII Ribbon Campaign:
 www.asciiribbon.org
 E-mail: g...@unixarea.de |  \ / - No HTML/RTF in E-mail
 WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
 phone: +49-170-4527211   |  / \ - Respect for open standards
 ___
 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


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


Re: OT: The future of USENET?

2013-03-27 Thread C. P. Ghost
On Wed, Mar 27, 2013 at 9:37 PM, Joshua Isom jri...@gmail.com wrote:

 On 3/27/2013 3:25 PM, Walter Hurry wrote:

 On Wed, 27 Mar 2013 14:12:06 -0400, grarpamp wrote:

  Now there are very few, if any, free servers


 There are still free news servers available. My ISP bundles usenet,
 nevertheless I prefer the free one as it's faster and more reliable.


 The last ISP I knew had usenet complained about the bandwidth and storage
 required.


If they carried alt.binaries.*, then yes: it was a legitimate concern.
To carry those groups requires enormous bandwidth, and bandwidth
costs money, a lot of money. Storage isn't really an issue though.., even
with smallish retention periods of 60 days or so.

That's what commercial Usenet providers a la Giganews are for: they
have some very big pipes and the necessary storage infrastructure for
many-years retention, and can pay for all this through their subscribers
fees. I see no problems that regular ISPs dropped Usenet as part of their
standard offering, as long as alternatives such as those Usenet providers
are available for a couple of bucks per month to those who need them.


  They had a dedicated satellite instead of using their backbone, and only
 cached a couple days.  All the porn and warez has the side affect of wiping
 out the cost benefit.


-cpghost.

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


Status of Xen/Dom0 on FreeBSD?

2013-03-26 Thread C. P. Ghost
Hello,

I'm wondering if there's been some progress on the Xen/Dom0
front recently. The Wiki
  https://wiki.freebsd.org/FreeBSD/Xen
still doesn't show any improvements in this area, but it may
also be outdated (?).

Thanks,
-cpghost.

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


Re: Status of Xen/Dom0 on FreeBSD?

2013-03-26 Thread C. P. Ghost
On Tue, Mar 26, 2013 at 5:10 PM, Shane Ambler free...@shaneware.biz wrote:

 On 26/03/2013 23:30, C. P. Ghost wrote:

 Hello,

 I'm wondering if there's been some progress on the Xen/Dom0
 front recently. The Wiki

 https://wiki.freebsd.org/**FreeBSD/Xenhttps://wiki.freebsd.org/FreeBSD/Xen
 still doesn't show any improvements in this area, but it may
 also be outdated (?).


 Not sure about any Xen/Dom0 work but I get the impression that bhyve is
 the focus of freebsd development in that area.

 https://wiki.freebsd.org/bhyve


Interesting! Thanks for the hint.

However, that's not what I'm looking for. I'm interested in running
a type-1 Hypervisor with FreeBSD as the host (as in Xen/Dom0) and
all kinds of DomU clients (FreeBSD, Linux, Windows, etc.). The host
machine will be a server with at least 90 GB RAM (later up to 512 GB)
and plenty of SAS/SATA drives.

Since I'm considering running ZFS on those drives at the host level,
and serving the clients on top of that, FreeBSD as Xen/Dom0 seems
like a good idea... if it was already available. However, I'm not sure
yet if ZFS would be advisable for this scenario or if it would kill
performance. If not, I wouldn't mind running Xen/Dom0 with some
lightweight Linux distro as host, and FreeBSD as DomU. It wouldn't
be as nice as a native FreeBSD setup, but it's better than nothing.

Thanks,
-cpghost.

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


Re: Grepping though a disk

2013-03-04 Thread C. P. Ghost
On Mon, Mar 4, 2013 at 1:36 AM, Polytropon free...@edvax.de wrote:
 Any suggestion is welcome!

How about crawling the metadata, locating each block
that is already allocated, and skip those blocks when you
scan the disk? That could reduce the searching space
significantly. blkls(1) et al. from the Sleuth Kit are your friends.

Good luck,
-cpghost.

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


Re: an upto date list of new ports

2013-03-01 Thread C. P. Ghost
On Fri, Mar 1, 2013 at 8:50 AM, Aryeh Friedman aryeh.fried...@gmail.com wrote:
 is there a site or other location that lists *NEW* (not updated) ports
 since a given date?

http://www.freshports.org/

has some limited options (24hrs, 48hrs, 7days, one month)...
but since the ports tree is now under SVN, it's probably easier
to use SVN directly to find out.

-cpghost.

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


Re: Soekris or .. ?

2013-03-01 Thread C. P. Ghost
On Fri, Mar 1, 2013 at 11:49 AM, Julien Cigar jci...@ulb.ac.be wrote:
 Hello,

 I'm looking for a small Soekris-like (http://soekris.com/) box which support
 FreeBSD, any experience or brand to advise .. ?

I'm using Soekris net4801 boxes with FreeBSD without problems
since many years as small routers with pf, dhcp, bind, lighttpd etc...
Last version i've tested is 8.3. I didn't update to 9.X yet for no other
reasons than lack of time to try it, and I don't know if clang supports
Geode well enough so I can't say anything about -CURRENT. But save
for this, Soekris boxes and FreeBSD are a great match.

 Thank you,
 Julien

-cpghost.

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


Re: Should I bother with a gvinum stripe when using a pair of SSDs?

2013-02-16 Thread C. P. Ghost
On Sat, Feb 16, 2013 at 3:47 PM, Jens Schweikhardt
schwe...@schweikhardt.net wrote:
 hello, world\n

 currently the only gvinum partition on my home system is a stripe for /home
 across two Velociraptor HDDs. I'm thinking of replacing the HDDs with a
 pair of SSDs. I was thinking of reducing complexity and in the migration
 possibly no longer use gvinum at all--one less thing to configure and worry
 about.

  * Would gvinum striping bring any speed advantage with a pair of SSDs?
  * Or am I hitting other limits so that striping SSDs is a waste anyway?
  * Should I finally take the plunge and acquaint myself with ZFS?

 System has 4GB RAM in an ASUS P5Q3 Deluxe with SATA II. It appears to me
 that SATA II with 300MB/s is maxed out by a single SSD and striping it
 will not improve r/w throughput. Is my simplistic reasoning correct?

Jens,

as always it depends on what you're trying to achieve:
  - max speed / lower latency?
  - max storage?
  - max redundancy?
  - max run-time-to-data-loss?

Your choice of SSD probably means you'd like to reduce latency
and maximize data throughput.

Since you're going SSD, I suspect that maximizing total storage
capacity is definitely not your primary concern, right? In this case,
you probably won't need some space-saving RAID variants (like
RAID-5, RAID-Z, ...), therefore simple striping or mirroring would
be adequate.

However, striping puts your data at risk: lose one SSD, and the whole
volume becomes unusable. Mirroring would at least preserve some
redundancy.

Moreover, by NOT using ZFS, you're sacrificing the by-sector
checksumming that becomes rather important with SSD whose mode
of failure tends to favor single (silent!) sector corruption that may
go undetected for a while and grow worse over time. You may then
want a mirrored ZFS configuration if this is a concern.

Each solution has its pros and cons, and there are quite some
trade offs in there.

 Regards,

 Jens
 --
 Jens Schweikhardt http://www.schweikhardt.net/
 SIGSIG -- signature too long (core dumped)

-cpghost.

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


Re: Should I bother with a gvinum stripe when using a pair of SSDs?

2013-02-16 Thread C. P. Ghost
On Sat, Feb 16, 2013 at 7:34 PM, Jens Schweikhardt
schwe...@schweikhardt.net wrote:
 On Sat, Feb 16, 2013 at 04:44:06PM +0100, C. P. Ghost wrote:
 # On Sat, Feb 16, 2013 at 3:47 PM, Jens Schweikhardt
 # schwe...@schweikhardt.net wrote:
 #  hello, world\n
 # 
 #  currently the only gvinum partition on my home system is a stripe for 
 /home
 #  across two Velociraptor HDDs. I'm thinking of replacing the HDDs with a
 #  pair of SSDs. I was thinking of reducing complexity and in the migration
 #  possibly no longer use gvinum at all--one less thing to configure and 
 worry
 #  about.
 # 
 #   * Would gvinum striping bring any speed advantage with a pair of SSDs?
 #   * Or am I hitting other limits so that striping SSDs is a waste anyway?
 #   * Should I finally take the plunge and acquaint myself with ZFS?
 # 
 #  System has 4GB RAM in an ASUS P5Q3 Deluxe with SATA II. It appears to me
 #  that SATA II with 300MB/s is maxed out by a single SSD and striping it
 #  will not improve r/w throughput. Is my simplistic reasoning correct?
 #
 # Jens,
 #
 # as always it depends on what you're trying to achieve:
 #   - max speed / lower latency?
 #   - max storage?
 #   - max redundancy?
 #   - max run-time-to-data-loss?
 #
 # Your choice of SSD probably means you'd like to reduce latency
 # and maximize data throughput.

 Exactly, when I started vith vinum many years ago in the magnetic HD
 age, striping with vinum gave me almost factor 2 in r/w speed as
 measured with dd. (I do backups regularly to other media, so data
 loss protection is not my primary concern).

 I realize that maximum SSD speeds as advertised by vendors and tests
 (e.g. 520MB/s for contemporary top notch SSDs) may only be reached
 under certain conditions far away from my normal usage, which is
 re-building worlds and kernels and ports on a daily basis. So if for
 my realworld working set a single SSD can deliver 300MB/s, striping
 with vinum just might get me a factor 2 again to 600MB/s across
 two SSDs. Then it would be worthwile to keep gvinum.

 Does that make sense? My understanding of SSD and SATA capabilities
 may however be completely dreamed up...

Assuming the right cables etc.., I *guess* the limiting factor would
ultimately be the (AHCI-)SATA controller itself, or even the bus to
which it is attached. Add to this that embedded DMA controllers may
compete for the bus, limiting transfer rates even more. I don't know
how such a setup scales; that's way too system dependent. If you have
hard requirements w.r.t. latency and throughput, you'll ultimately have
to run some real world tests on the target system.

 Regards,

 Jens
 --
 Jens Schweikhardt http://www.schweikhardt.net/
 SIGSIG -- signature too long (core dumped)

-cpghost.

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


Re: Entry level C++ projects

2013-01-12 Thread C. P. Ghost
On Sat, Jan 12, 2013 at 11:10 AM, alwin doss alwindos...@gmail.com wrote:
 Hi All,

 I am a C++ developer and I want to contribute to FreeBSD.
 There are so many applications.
 Is there any C++ project which is simple enough to start with.

 Thanks in advance for your help.

Hi Alwin,

there's indeed a lot to do, though it's mostly in plain C.
If you want to help, please check out the PR-Database:

http://www.freebsd.org/cgi/query-pr-summary.cgi

and pick one problem report. Then try to fix it, and submit
a (working) patch as a follow-up. That's an excellent way to
get acquainted with the system and get some practice. ;-)

 Alwin Doss
 God's Beloved

Kind regards,
-cpghost.

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


Re: Trying to find out how to mount as user

2013-01-03 Thread C. P. Ghost
On Wed, Jan 2, 2013 at 5:29 PM, Leslie Jensen les...@eskk.nu wrote:
 Hello.

 I want to write a script, where I as a normal user, can back up my files
 with rsync to another machine (pc01), which shares a directory via NFS.

 I have an entry in the local machines /etc/fstab

 pc01:/backup /mnt/backupnfs rw,noauto   0   0


 The command:
 mount /mnt/backup works as root.

 If I do sudo mount /mnt/backup I get
 [tcp] pc01:/backup: Permission denied

 I'm a member of the local wheel group and at the remote machine as
 well(pc01)

 pc01:/backup has
 drwxrwxr-x  28 root  wheel  1024  1 Jan 14:44 backup/


 The local mount point /mnt/backup has
 drwxr-xr-x   5 root  wheel  512  1 Jan 17:18 mnt/

 drwxr-xr-x  2 root  wheel  512  1 Jan 11:38 backup/

 I've tried to ad write permissions to the group, but it did not help me.

 I understand that I have a permission problem but I can't figure it out.

Try setting vfs.usermount to 1:

# sysctl vfs.usermount=1

-cpghost.

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


Re: svn revision in uname

2012-12-18 Thread C. P. Ghost
On Mon, Dec 17, 2012 at 2:13 PM, David Demelier
demelier.da...@gmail.com wrote:
 I hope it will be removed soon, it pollutes the uname -a output.

I don't hope so. It helps us keep track of the exact revision
numbers of deployed servers here. Please don't remove it,
or at least, provide an additional switch to uname to
retrieve it.

Thanks,
-cpghost.

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


Re: updatedb?

2012-12-18 Thread C. P. Ghost
On Tue, Dec 18, 2012 at 10:01 PM, Walter Hurry walterhu...@gmail.com wrote:
 $ sudo /usr/libexec/locate.updatedb
 WARNING
 Executing updatedb as root.  This WILL reveal all filenames
 on your machine to all login users, which is a security risk.
 $

 Why is it a security risk? Security through obscurity? Really? In this
 day and age?

 Or am I missing something?

Suppose someone managed to start a shell under your account
and is seeking to escalate privileges, i.e. to become root. If he can
look at a full unrestricted locatedb, he may pay particular attention
to config files, log files etc... that may otherwise be hidden from sight.

Just by looking at this, he may infer that a particular software package
at a particular revision is actually running on that host and is configured
in a particular way. E.g., he may see that logfiles accumulate in /var/log
and are cleaned only once a week. It would be then easy to induce that
program to create more log files, thus denying service to other programs
that need /var as well. This, in turn, could result in real exploits of those
other programs...

Sure, most of this is already world-visible and in the regular locatedb
because we're so liberal with the rights of /var/db/pkg, /var/log, /etc, ... but
some admins prefer to hide particularly sensitive programs, their configs,
logs etc., in a non-world-readable directory hierarchy. Running
locate.updatedb(8) with root privileges would defeat that strategy.
That's why it is discouraged.

Of course, this is even more necessary when you have regular users on
that machine that don't necessarily trust each others. They wouldn't like
their home dirs to be world-readable by default by everyone else. Maybe
they won't object (and set /home/$USER to -rwxr-xr-x instead of -rwxr-x---
or -rwx--) but that's their call, not the sysadmin's.

-cpghost.

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


serial connection

2012-12-15 Thread Jonathan P

hello everyone, i need to establish a connection between 2 freebsd systems, but 
i have to this over a serial line, any advices? thank you all so much!  
  
___
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: wine-fbsd64 -- no longer in ports

2012-11-19 Thread C. P. Ghost
On Mon, Nov 19, 2012 at 1:31 PM, Hexing hexhex...@gmail.com wrote:
 per...@pluto.rain.com (Perry Hutchison) writes:

 Bernt Hansson b...@bananmonarki.se wrote:
 On 2012-11-17 21:36, Gary Aitken wrote:
  # portmaster -n emulators/wine-fbsd64
=== No /usr/ports/emulators/wine-fbsd64 exists, and no information
=== about emulators/wine-fbsd64 can be found in /usr/ports/MOVED
  hints?
 There has never been such a port, you have to install from package.

 Ordinarily, packages are created by building ports.
 If this one is an exception, how is it created?

 I guess that just remove it and install /usr/ports/emulators/wine or
 /usr/ports/emulators/wine-devel would be OK.

Nope, not for amd64:

% grep 'ONLY_FOR_ARCHS' /usr/ports/emulators/wine/Makefile
ONLY_FOR_ARCHS= i386
% grep 'ONLY_FOR_ARCHS' /usr/ports/emulators/wine-devel/Makefile
ONLY_FOR_ARCHS= i386

The wine and wine-devel ports won't even compile on amd64.

There was some guy who claims to have managed creating a
binary _package_ for amd64 somehow, and wo sent periodic
announcement updates about to this list. I don't know if it was
legit or not: I never install stuff bypassing ports. But apparently,
he didn't create a _port_, nor did he modify/enhance the current
i386-only wine ports.

 The name 'wine-fbsd64' looks strange. You installed it before? and
 when did you find this name?

-cpghost.

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


Re: FreeBSD needs Git to ensure repo integrity [was: 2012 incident]

2012-11-19 Thread C. P. Ghost
On Mon, Nov 19, 2012 at 1:47 PM, Volodymyr Kostyrko c.kw...@gmail.com wrote:
 19.11.2012 14:34, Ivan Voras wrote:

 On 17/11/2012 22:48, Chris Rees wrote:

 (and is GPL btw)


 Since we're discussing it, Mercurial is BSDL-ed, and apparently has
 proper crypto signing using GPG:


 http://mercurial.selenic.com/wiki/FAQ#FAQ.2FTechnicalDetails.How_do_Mercurial_hashes_get_calculated.3F


 :%s/BSD/LGP/

 http://mercurial.selenic.com/about/

Even if it was BSD licensed, Mercurial has a huge dependency:
Python; and Git is Perl-based. So neither of them is ideal, IMHO.
If at all, we'd need a lean and mean distributed SCM program
like Mercurial or Git, but written in C that we could add to base.
Any volunteers?

-cpghost.

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


Re: wine-fbsd64 -- no longer in ports

2012-11-19 Thread C. P. Ghost
On Mon, Nov 19, 2012 at 6:01 PM, Hexing hexhex...@gmail.com wrote:
 C. P. Ghost cpgh...@cordula.ws writes:

 On Mon, Nov 19, 2012 at 1:31 PM, Hexing hexhex...@gmail.com wrote:
 I guess that just remove it and install /usr/ports/emulators/wine or
 /usr/ports/emulators/wine-devel would be OK.

 Nope, not for amd64:

 % grep 'ONLY_FOR_ARCHS' /usr/ports/emulators/wine/Makefile
 ONLY_FOR_ARCHS= i386
 % grep 'ONLY_FOR_ARCHS' /usr/ports/emulators/wine-devel/Makefile
 ONLY_FOR_ARCHS= i386

 The wine and wine-devel ports won't even compile on amd64.

 There was some guy who claims to have managed creating a
 binary _package_ for amd64 somehow, and wo sent periodic
 announcement updates about to this list. I don't know if it was
 legit or not: I never install stuff bypassing ports. But apparently,
 he didn't create a _port_, nor did he modify/enhance the current
 i386-only wine ports.

 The name 'wine-fbsd64' looks strange. You installed it before? and
 when did you find this name?

 -cpghost.

 Oh, I didn't know that and never try to install wine before. Thanks for
 your information.

Volodymyr has pointed out that this was a port (and not a
binary package) that never got committed. As a port, you can
examine precisely what it does and it may be worth a try if you
feel that it doesn't mess with your installation and doesn't
compromise it. I didn't try it, can't say anything at all about it.

-cpghost.

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


Re: FreeBSD needs Git to ensure repo integrity [was: 2012 incident]

2012-11-18 Thread C. P. Ghost
On Sun, Nov 18, 2012 at 6:59 AM, grarpamp grarp...@gmail.com wrote:
 joerg_wun...@uriah.heep.sax.de
 You don't even have a name

 Your domain indicates Germany, please have a chat with CCC.de about
 the various good uses for nyms. And consult your library for some
 fine historical use cases. If that's counter to your beliefs, you
 are free to show us the way and post all your personal infos to the
 list.

Uh-oh grarpamp, I hope you realize whom you're trying to lecture here!
Joerg Wunsch is a highly appreciated long-time FreeBSD contributor and
was member of the Core Team for a long time (I met him in person in
the 90-ies and he's a very kind person). I wouldn't dismiss his advice
lightly, unless I had a very good reason.

Now, back to our regular programming.

Thanks,
-cpghost.

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


Re: how to correct corrupted ports tree?

2012-11-17 Thread C. P. Ghost
On Sat, Nov 17, 2012 at 11:02 AM, Polytropon free...@edvax.de wrote:
 On Fri, 16 Nov 2012 21:56:21 -0700, Gary Aitken wrote:
 I don't see a way to force refetch of the actual ports files
 like distinfo when portsnap thinks the port is up to date.

 You cansolve the problem of few per-file mismatches by
 using the traditional CVS approach of updating the ports
 tree. Only files not matching the current (on-server) content
 will be updated.

CVSup/csup is deprecated now and shouldn't be used anymore:

http://www.freebsd.org/news/2012-compromise.html

We should stop advertizing it as a way to update the ports tree.
svn or portsnap is the way to go now.

-cpghost.

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


Which NNTP newsreader for huge newsgroups?

2012-10-30 Thread C. P. Ghost
Hello,

I'm looking for an NNTP newsreader that can gracefully
handle newsgroups with a *huge* number of posts, if
possible with a moderate memory and CPU footprint.

My newsreader of choice, news/tin, while quite good for
newsgroups with a moderate number of articles can't
cope with some alt.binaries.* groups that contain over
2,000,000+ active/unread articles. It effectively thrashes
the system and consumes enormous amounts of swap
space and CPU cycles just for opening such a newsgroup.
It also takes ages to update the local index as well, because
it keeps fetching headers for articles that don't even exist or
should have been skipped, according to ~/.newsrc

If you wonder about such huge newsgroups: they are
increasingly common now that commercial NNTP providers
are over 1,000+ retention days for binaries, and some of
those newsgroups are being flooded with crap in an attempt
to DoS them.

What NNTP newsreader are you using? Which one would
you recommend for those huge newsgroups?

Thanks,
-cpghost.

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


Re: laptop with no BIOS? or BIOS reflash pain

2012-10-24 Thread C. P. Ghost
On Fri, Oct 19, 2012 at 1:57 PM, Polytropon free...@edvax.de wrote:
 On Fri, 19 Oct 2012 11:38:48 +0100 (BST), Anton Shterenlikht wrote:
 Anyway, I think I've heard there are some laptops
 with no BIOS, is this true?

 Per termini technici, yes.

 Some systems use EFI (or UEFI) instead of a BIOS. It's
 comparable to a much more advanced (than BIOS) micro-OS
 that initializes the hardware, connectes to the Internet,
 tells the manufacturer what you're doing and keeps limiting
 you in what you are allowed to install. :-)

Heh... ;-)

(U)EFI is nothing new for us old farts: we've had OpenBoot[1] on
Sun hardware for ages, and even though it didn't limit us w.r.t. the
OS you wanted to boot (that's why you can install FreeBSD/sparc64
on used Sun machines), it had its issues too. Mainly that it needed
a counter-part in hardware peripherals. E.g.: without F-Code in ROM,
a PCI-based frame buffer wouldn't be usable there, because it wouldn't
reply to the OpenBoot queries.

The point is that firmware CAN be a mini-OS and more powerful
than PC-BIOS. There's nothing wrong with that, and the flexibility
of OFW/OpenBoot was for us sysadmins invaluable, esp. with
diskless machines. What's wrong, is UEFI's DRM-scheme used to
prevent non-signed code to be loaded... without mandating in
the specs that the BIOS vendor MUST allow the device owner
to add his/her own keys to it. That's the evil part of it.

[1]: http://en.wikipedia.org/wiki/Open_Firmware

-cpghost.

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


Re: port of wayland?

2012-10-24 Thread C. P. Ghost
On Tue, Oct 23, 2012 at 2:53 PM, Matthias Apitz g...@unixarea.de wrote:

 Hello,

 Is there work in progress to bring http://wayland.freedesktop.org/
 into the ports collection?

I don't think that this will happen anytime soon.
There are way too many Linuxisms in Wayland:

http://forums.freebsd.org/showthread.php?t=19081

But I may be wrong: they could have started moving towards
other platforms recently (?).

IMHO, there's much more pressing need for some really *useful*
work on FreeBSD, like, say, finally getting Xen/Dom0 support.
This, and ZFS, would be a killer app in data centers all around the
world! ;-) Let the Linux guys get Wayland up and running smoothly
enough, then we may think of porting evdev and other Linuxisms
into a new compatibility shim.

 matthias
 --
 Matthias Apitz   |  /\ ASCII Ribbon Campaign: www.asciiribbon.org
 E-mail: g...@unixarea.de |  \ / - No HTML/RTF in E-mail
 WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
 phone: +49-170-4527211   |  / \ - Respect for open standards

-cpghost.

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


Re: a metric for number of users

2012-10-17 Thread C. P. Ghost
On Mon, Oct 15, 2012 at 7:34 PM, Chad Perrin per...@apotheon.com wrote:
 Is there some way I could get the number of unique IPs hitting FreeBSD
 servers for software updates?  I'm curious about the direct comparison of
 numbers between FreeBSD, Ubuntu, Fedora, and SUSE for this metric.

You could ask for this, but beware of drawing wrong conclusions. Where I'm
currently working, we're fetching sources, ports and distfiles only
once, rebuild,
test, and then mirror internally to a couple of 10k machines. And I'm sure
we're not alone doing this: it's certainly not such an uncommon scenario out
there.

 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]

-cpghost.

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


Re: editing pdf files

2012-10-12 Thread C. P. Ghost
On Sat, Oct 13, 2012 at 1:46 AM, Gary Kline kl...@thought.org wrote:
 On Fri, Oct 12, 2012 at 10:40:29PM +0400, Boris Samorodov wrote:
 10.10.2012 02:35, Gary Aitken пишет:

  Can someone give me advice on editing pdf files?

 Take a look at graphics/inkscape.

 --
 WBR, Boris Samorodov (bsam)
 FreeBSD Committer, http://www.FreeBSD.org The Power To Serve


 ive got a question that fits in here.  hopefully.

 last week  I found a book from 1901 that google had scanned and listed
 as a pdf file.  it was text plus photos of the rich/famous of the
 1800s.  somehow, google found the exact string that matched my great
 grandfather [from the civil war].  I d'loaded the file (maybe 2mbytes)
 and searched using acroread.  nada.  I used the pdftotext utility.
 same: nothing but  some 600 page numbers.

 my guess is that google just took photos of the book and used other
 tools to create a pdf file.  I am not =that= serious  about genealogy,
 but I would like to know if there are any tools to edit this kind of
 pdf file.

I suspect the following: they scanned the book and put all the images
into the PDF. The PDF itself is merely a container for scanned pages;
it thus contains no text (save for the page numbers).

That Google was able to search in this file is probably due to them running
some OCR program on the image files, and then indexing the (approximate)
text that the OCR program generated. Probably they used something like
tesseract-ocr from ports graphics/tesseract:
  http://code.google.com/p/tesseract-ocr/

 tia guys,

 gary


 --
  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Twenty-six years of service to the Unix community.

-cpghost.

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

Re: Unlocking HDD ATA password

2012-10-09 Thread C. P. Ghost
On Mon, Oct 8, 2012 at 11:29 PM, Polytropon free...@edvax.de wrote:
 I have a question regarding the use (or the make usable again)
 of hard disks locked with ATA password: I have a Samsung disk
 (2.5 with PATA interface) and approx. 160 GB capacity which
 is locked by some ATA password which nobody knows.

 What tool is to be used in FreeBSD to transmit the password to
 the unit in order to wake it up?

camcontrol(8) maybe? After some patching?

http://blog.multiplay.co.uk/2011/08/freebsd-security-support-for-ata-devices-via-camcontrol/

I have not tried it and don't know if it is what you need;
I just found it while googling.

-cpghost.

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


Re: how restore an unencrypted dump on an encrypted file system?

2012-09-30 Thread C. P. Ghost
On Sun, Sep 30, 2012 at 10:09 AM, s m sam.gh1...@gmail.com wrote:
 thanks saeedeh

 OK i try to explain what i have done more in detail.

 i want to restore unencrypted dump files on an encrypted file system.
 in order to do that, i encrypted my file system by geli command and
 sure that is done correctly because when i install base and kernel on
 it, freebsd start up successfully.

 problem is here: when i restore my dump files and restart my freebsd,
 boot PXE menu is shown and i select my freebsd but after that, the
 error message invalid format occurs and i see this message:
   FreeBSD/i386 BOOT
  Default: 0:ad(0,a)/boot/loader
  boot:

 it selects the default kernel correctly and after some seconds an
 error message is shown which consists of some hardware addresses.

 i don't know how to fix it.
 any hints that might fix my problem are appreciated.

You could try to let us know what kind of error message you
get (i.e. the exact wording). ;-)

My guess (out of the blue) is that kernel and modules are
now out of sync. This happens when you restore the modules
from backup but use a newer kernel (or vice-versa).

If you restore stuff from backup, make sure you don't restore
anything under your freshly (re-)installed /boot. Or make sure
you restore *everything* into /boot, and not just some parts
of it. /boot has to be consistent; either everything from the new
install, or everything from the backup up install, but not a
mix of both.

As others pointed out, you need to provide more detailed
infos about your backup and restore procedure. It it impossible
to guess correctly what you have done otherwise.

-cpghost.

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


Offshore Partnership

2012-09-18 Thread Webtechno Outsourcing (P) Ltd.
 

Free BSD

freebsd-questions@FreeBSD.org

--

Hello,

Hope you are doing great!

I have visited your company's website, I am not sure if this is an
appropriate way to reach you to share the information I have, but I
apologize for any inconvenience you might get by this email.

I would like to introduce WEBTECHNO OUTSOURCING Pvt. Ltd.  An ISO 9001:2008
certified 5year old software and web Development Company providing
Professional Offshore Development Services since its inception. We are team
strength of 100+ developers majorly working on:-


 

 

 


Microsoft  

:

.NET (C#, VB.NET, ASP.NET, ADO.NET), Classic ASP, VB


Databases

:

SQL Server 2000/5/8, Access, Oracle, MySQL (DBA and DB developers)


Open Source

:  

PHP, Joomla, Magento, OS Commerce, Zen Cart, Wordpress,


Other Tech 

:

Java, JSP, XML, HTML, XHTML, HTTP, CSS, JavaScript, Ajax, 


Mobile Development

:

Iphone, Android, Symbian, Windows, Blackberry


Design

:

Graphic Design, Flash Design, Flash Development


Support

:

SEO, Project Management,  Quality Assurance,


3D Development

:

3D Studio Max, MAYA, Light Wave 3D, Softimage SXI


2D Development

: 

Flash, Action Script 3.0, Image Ready, GIF etc.



Your benefit to outsource to Webtechno:
1. Project Manager assistance available.
2. Highly scalable Infrastructure. 
3. Project Management Process as per ISO and CMMI Level standards.
4. In-house Microsoft certified training center to upgrade our developers.

5. Data Security.
6. Disaster recovery precautions. 
7. Saves you Cost.

8. Fast turnaround 

 

WE WANT TO JOIN WITH YOU AS YOUR COST EFFECTIVE OUTSOURCING PARNTER FOR YOUR
WEB PROJECT SO PLEASE MAY CONSIDER. 

 

Your early reply will be highly appreciated. 


Yours truly,
SATISH KUMAR

  (Business Manager)

 

 



WEBTECHNO OUTSOURCING (P) LTD.

AN ISO 9001-2008 CERTIFIED COMPANY

1312, Best Sky Tower, Netaji Subhash Place

Pitampura, New Delhi - 110034(India)

Ph: +91-9560904747, +91-9540047007, +91-11-47581615

www.webtechno.in email:  mailto:i...@webtechno.in i...@webtechno.in

Skype: webtechno.in Gtalk: webtechnooutsourcing  Facebook:
Facebook.com/webtechno


-

Web Development | Mobiles Apps | Animation | SEO | Software Development
Company




This transmission may contain information that is privileged, confidential,
legally privileged, and/or exempt from disclosure under applicable law.  If
you are not the intended recipient, you are hereby notified that any
disclosure, copying, distribution, or use of the information contained
herein (including any reliance thereon) is STRICTLY PROHIBITED.  Although
this transmission and any attachments are believed to be free of any virus
or other defect that might affect any computer system into which it is
received and opened, it is the responsibility of the recipient to ensure
that it is virus free and no responsibility is accepted by Webtechno, its
subsidiaries and affiliates, as applicable, for any loss or damage arising
in any way from its use.  If you received this transmission in error, please
immediately contact the sender and destroy the material in its entirety,
whether in electronic or hard copy format. Thank 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: cksum entire dir??

2012-09-14 Thread C. P. Ghost
On Thu, Sep 13, 2012 at 9:18 PM, Karl Vogel vogelke+free...@pobox.com wrote:
 Here's a simple, system-independent way to find duplicate files.  All you

There's also sysutils/samefile:

http://www.schweikhardt.net/samefile/index.html

-cpghost.

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


Re: svn and/or portsnap

2012-09-09 Thread C. P. Ghost
On Sun, Sep 9, 2012 at 1:26 PM, Helmut Schneider jumpe...@gmx.de wrote:
 Currently I'm updating ports and src twice a day so I will keep using
 svn for both.

While you certainly can, isn't it a bit excessive to update so frequently?
Remember, it's not just fetching the sources and ports, you must also
compile world _and_ ports if you want to stay current. I highly doubt that
you want to do this twice a day, even on a very fast machine.

And if you don't compile twice a day, it may be better to keep sources
(and ports) with the installed binaries in sync. Just in case you need to
investigate security breaches or buggy programs -- then you'll be glad
to have the _corresponding_ sources available instead of some sources
for binaries you have not installed yet.

 Thanks.

Regards,
-cpghost.

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


Re: Warning - FreeBSD (*BSD) entanglement in Linux ecosystem

2012-08-22 Thread C. P. Ghost
On Wed, Aug 22, 2012 at 3:41 PM, David Jackson djackson...@gmail.com wrote:
 That sort of shows my point in fact. There is nothing stopping FreeBSD from
 implementing cgroups,  udev, fanotify, timerfd, signalfd, its not like
 Linux is going to enforce patents on these things, its software, and
 freebsd can easily add code to support these things, and as well, systemd.

Right!

Nothing prevents us from writing a Linux compat shim similar
to the Linux-ABI (linuxulator) to provide the framework needed
by systemd et al. Make it optional, if necessary, so that the base
default FreeBSD system won't be contaminated.

It would also be nice to be able to kldload linux drivers
(binary blobs developed for Linux and provided by 3rd party
hardware vendors), but that would be harder to implement.
Then again, why not try? Isn't it like ndis(4), all over again?

-cpghost.

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


Re: about system api

2012-08-18 Thread C. P. Ghost
On Sat, Aug 18, 2012 at 6:44 AM, Aric leea...@126.com wrote:
 Hi,all

 could anybody knows how to get the FreeBSD system APIs

What do you mean with system API?

Maybe the interfaces to the kernel, as defined in
/usr/include/sys?

 2012-08-18

 Aric

-cpghost.

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


Re: Patent hit - MS goes after Linux - FreeBSD ?

2012-08-05 Thread C. P. Ghost
On Sun, Aug 5, 2012 at 8:15 PM, Jerry je...@seibercom.net wrote:
 I never stated than anyone should be denied the right to create or write
 basically whatever they so desire; however, if they are going to
 piggyback their work on another author or developer's works, then that
 individual deserves to receive compensation.

The point here is that an INDIVIDUAL deserves compensation.

Whether some mega corp with a huge portfolio of patents deserves
the same is to be questioned. Especially considering that those huge
mega corps use those patents to stomp all over the little (programmer)
guy and destroy his little livelihood. That's what patents were initially
designed to prevent: that some predatory industrial magnate would
steal the idea of the little inventor to make a profit, without compensating
the inventor for his ideas.

Sadly, this principle (protecting the little inventors) has been turned
upside-down due to the abysmal performance of the Patent Office
examiners who rubber stamping just about every patent application
with the words machinery for ... in it.

-cpghost.

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


Re: Webpage screenshot

2012-08-05 Thread C. P. Ghost
On Sun, Aug 5, 2012 at 8:41 PM, Polytropon free...@edvax.de wrote:
 I'm searching for a simple way to create a screenshot from
 a web page, i. e. convert the rendered page into a PNG (or
 something similar) graphic format. This is intended to be
 used for usability and design visualization where different
 components of the web page can be colored using Gimp to
 show their structure by inking the different elements.

 The idea of taking a screenshot from the web browser may
 look sufficient at first, but it is problematic when the
 web page doesn't fit horizontally or vertically. This
 sometimes doesn't even work when using the browser in
 total fullscreen (which is 1400x1050 or 2800x1050 here).
 Using the browsers print to PS functionaliy also add
 pagination that is not desired, and continuous form
 printing export doesn't exist.

 How would you suggest to solve this task? CLI utilities
 are welcome - the less interaction, the better. It doesn't
 matter if the result is a 800x1 px image with 300 px
 white margin left and right. :-)

I'm still using xwd(1) to grab a window (using -frame to add
the decoration of the window manager) here, and convert it
then to .png with the Gimp. Of course, I take care of displaying
just the interesting part of the web page that I need by scrolling
to the interesting part.

If you need a complete snapshot of the page, you may try this:
open Firefox with some insane big -geometry settings, perhaps
to a big virtual screen in X; and then grab that whole window
with xwd(1). I didn't try that, but it may be enough. If your X server
won't handle this big a screen, try with a nesting server like
x11-servers/xorg-nestserver.

Good luck!

 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

-cpghost.

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


Re: Patent hit - MS goes after Linux - FreeBSD ?

2012-08-03 Thread C. P. Ghost
On Fri, Aug 3, 2012 at 6:15 PM, Julian H. Stacey j...@berklix.com wrote:
 This is the reason software patents comprise such a blight on the world
 of software development.

 Yes, agreed,  not just software.

 The european patent office system pressures examiners towards granting
 if they can't quickly find prove the application is already known.

 http://www.berklix.com/~jhs/txt/patents/

Sadly, the time they had the likes of Albert Einstein as patent
examiners [1] are well over...

[1]: https://www.ige.ch/en/about-us/einstein/einstein-at-the-patent-office.html

 Cheers,
 Julian

-cpghost.

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


Re: Patent hit - MS goes after Linux - FreeBSD ?

2012-08-02 Thread C. P. Ghost
On Thu, Aug 2, 2012 at 8:57 PM, Chad Perrin per...@apotheon.com wrote:
 It is possible that Microsoft is going the way of SCO -- into its grave,
 having hung all its hopes on litigation.  Along the way, though, it will
 probably do a lot of damage to a lot of people, projects, and businesses,
 and I just hope it doesn't get as far as the FreeBSD project or any
 FreeBSD users before things come crashing down.

Right!

Let's also hope that most patents that could harm us (should there
be some lurking out there) will have expired by then. Unless Congress
pulls a Mickey Mouse Protection Act-lookalike on patents by extending
them just as they did with Copyright.

But as usual with Congress, I wouldn't hold my breath: they aren't
exactly known for enacting reasonable and sensible laws. Especially
not when heavily lobbied by mega corps with deep pockets like MSFT,
Oracle, Apple and so on. Yes, things will get really nasty once those
corporations go the way of the SCO.

 (disclaimer: I am not a lawyer.  This is not legal advice.  Et cetera.)

 --
 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]

Regards,
-cpghost.

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


Re: fsck on FAT32 filesystem?

2012-07-20 Thread C. P. Ghost
On Thu, Jul 19, 2012 at 4:53 AM, Robert Bonomi bon...@mail.r-bonomi.com wrote:
 All I'm going to say is:
   1) There's a _reason_ the gov't requires hard drives with anthing higher
  than 'somewhat' classified data on them to be =physically= destroyed
  before leving the secure area.

Speaking from experience, I confirm that it's true. However,
regulations have been tightened further recently as to mandate
sector-level encryption of the hard disks as well, just to be on the
sure(rer) side. At least in certain particularly sensitive areas.

   2) As of 2007, 'over-writing' data (regardless of how many times) is *not*
  sufficient, any more, for _any_ military purposes.

Yes. With enough resources, it is possible to read lower magnetic
layers of HDDs, at least partially. And with SDDs, it's trivial to locate
the old sectors, because their firmware doesn't overwrite the same
physical spots for obvious reasons.

That's why sector-level disk encryption is paramount nowadays.
And that opens a whole new Pandora's box of key management
issues and vulnerabilities. ;-)

-cpghost.

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


Re: fsck on FAT32 filesystem?

2012-07-20 Thread C. P. Ghost
On Fri, Jul 20, 2012 at 6:07 PM, Wojciech Puchar
woj...@wojtek.tensor.gdynia.pl wrote:
 regulations have been tightened further recently as to mandate
 sector-level encryption of the hard disks as well, just to be on the
 sure(rer) side. At least in certain particularly sensitive areas.

 which may be a proof that governments know backdoors alloving recovery
 from encrypted drives using builtin hardware encryption (FDE).

 Not that easy with geli ;)

Indeed.

But getting GELI certified and approved by the relevant
institutions and agencies isn't that easy either. Yet without
getting both, we aren't allowed to rely on GELI as the sole
encryption-provider. As an add-on on top of a certified solution,
GELI wouldn't hurt though: it's a decent piece of code.

-cpghost.

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


Re: Why Clang

2012-06-22 Thread C. P. Ghost
On Thu, Jun 21, 2012 at 7:28 PM, Mark Felder f...@feld.me wrote:
 On Thu, 21 Jun 2012 12:16:31 -0500, Wojciech Puchar
 woj...@wojtek.tensor.gdynia.pl wrote:

 programs compiled by GPLv3 compiler are not encumbered.

 This has not been decided in court yet.

In which court not? Of which jurisdiction?

Even if one jurisdiction says something doesn't mean all other
190+ or so countries would agree.

Since we're an international project, better be safe (legally) than
sorry, and avoid GPLv3 when possible.

-cpghost.

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


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

2012-06-14 Thread C. P. Ghost
On Tue, Jun 5, 2012 at 8:19 PM, Kurt Buff kurt.b...@gmail.com wrote:
 UEFI considerations drive Fedora to pay MSFT to sign their kernel binaries
 http://cwonline.computerworld.com/t/8035515/1292406/565573/0/

 This would seem to make compiling from source difficult.

 Kurt

I'm not sure I understand the issue, but this is my take on it
so far:

1. What's preventing the makers of boot loaders like GRUB (which can
also boot FreeBSD) from getting a certificate ONCE? And if they have
one, what's preventing them from loading ANY kernel at all? It is only
the first stage boot loader that needs to be signed, or not?

2. What's preventing anyone of us in the EU from stepping up
efforts with the EU Commission and the EU Parliament to stop
Microsoft from monopolizing the ARM (and later x86) platforms,
i.e. by becoming the only gatekeepers? After all, EU sovereign
states and their economies can't depend on a US corporation
having a global kill switch to their whole infrastructure. We're not
just talking about Windows dominance here, but a lot more:
dominance on the whole hardware segment. I'm pretty sure this
scheme is highly anti-competitive, and I guess it runs afoul of a lot
of already existing EU regulations.

-cpghost.

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


Re: link_elf_obj: symbol ata_controlcmd undefined

2012-06-14 Thread C. P. Ghost
  # Entropy device
device  ether   # Ethernet support
device  vlan# 802.1Q VLAN support
device  tun # Packet tunnel.
device  pty # BSD-style compatibility pseudo ttys
device  md  # Memory disks
device  gif # IPv6 and IPv4 tunneling
device  faith   # IPv6-to-IPv4 relaying (translation)
device  firmware# firmware assist module

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device  bpf # Berkeley packet filter

# USB support
options USB_DEBUG   # enable debug msgs
device  uhci# UHCI PCI-USB interface
device  ohci# OHCI PCI-USB interface
device  ehci# EHCI PCI-USB interface (USB 2.0)
device  xhci# XHCI PCI-USB interface (USB 3.0)
device  usb # USB Bus (required)
#device udbp# USB Double Bulk Pipe devices (needs netgraph)
device  uhid# Human Interface Devices
device  ukbd# Keyboard
device  ulpt# Printer
device  umass   # Disks/Mass storage - Requires scbus and da
device  ums # Mouse
device  urio# Diamond Rio 500 MP3 player
# USB Serial devices
device  u3g # USB-based 3G modems (Option, Huawei, Sierra)
device  uark# Technologies ARK3116 based serial adapters
device  ubsa# Belkin F5U103 and compatible serial adapters
device  uftdi   # For FTDI usb serial adapters
device  uipaq   # Some WinCE based devices
device  uplcom  # Prolific PL-2303 serial adapters
device  uslcom  # SI Labs CP2101/CP2102 serial adapters
device  uvisor  # Visor and Palm devices
device  uvscom  # USB serial support for DDI pocket's PHS
# USB Ethernet, requires miibus
device  aue # ADMtek USB Ethernet
device  axe # ASIX Electronics USB Ethernet
device  cdce# Generic USB over Ethernet
device  cue # CATC USB Ethernet
device  kue # Kawasaki LSI USB Ethernet
device  rue # RealTek RTL8150 USB Ethernet
device  udav# Davicom DM9601E USB
# USB Wireless
device  rum # Ralink Technology RT2501USB wireless NICs
device  run # Ralink Technology RT2700/RT2800/RT3000 NICs.
device  uath# Atheros AR5523 wireless NICs
device  upgt# Conexant/Intersil PrismGT wireless NICs.
device  ural# Ralink Technology RT2500USB wireless NICs
device  urtw# Realtek RTL8187B/L wireless NICs
device  zyd # ZyDAS zd1211/zd1211b wireless NICs

# FireWire support
device  firewire# FireWire bus code
# sbp(4) works for some systems but causes boot failure on others
#device sbp # SCSI over FireWire (Requires scbus and da)
device  fwe # Ethernet over FireWire (non-standard!)
device  fwip# IP over FireWire (RFC 2734,3146)
device  dcons   # Dumb console driver
device  dcons_crom  # Configuration ROM for dcons

# Sound support
device  sound   # Generic sound driver (required)
device  snd_es137x  # Ensoniq AudioPCI ES137x
device  snd_hda # Intel High Definition Audio
device  snd_ich # Intel, NVidia and other ICH AC'97 Audio
device  snd_uaudio  # USB Audio
device  snd_via8233 # VIA VT8233x Audio

Regards,
-cpghost.

 Thanks
 Subhro

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

 On 20-May-2012, at 5:53 PM, C. P. Ghost wrote:

 Hello,

 what does this boot message means, and where
 does it come from?

 link_elf_obj: symbol ata_controlcmd undefined
 linker_load_file: Unsupported file type

 It appears between between
  ZFS storage pool version 28
 and
  drm0: ATI Radeon HD 3200 Graphics on vgapci0

 uname -a:

 FreeBSD phenom.cordula.ws 9.0-STABLE FreeBSD 9.0-STABLE #0
 r235604: Fri May 18 15:49:06 CEST 2012 r...@phenom.cordula.ws:
 /usr/obj/usr/src/sys/GENERIC  amd64

 TIA,
 -cpghost.

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


Re: UEFI Secure Boot Specs - And some sanity

2012-06-14 Thread C. P. Ghost
On Sat, Jun 9, 2012 at 12:17 AM, grarpamp grarp...@gmail.com wrote:
 I did say effectively. If people would actually read that chapter
 in the spec (minimally 27.5) they would find that they can:
 - Load a new PK without asking if in default SetupMode
 - If not in SetupMode, chainload a new PK provided it is
 signed by the current PK.
 - Clear the PK in a 'secure platform specific method'.

Only if they fully follow the spec. This is rather unlikely.

Even today, there are still many broken DMI/SMBIOS
tables out there that contain barely enough stuff for
Windows to boot successfully. What makes you think
UEFI BIOS makers will go all the trouble to implement
such a complex spec, if all they have to do is to ensure
compliance with MS requirements?

I wouldn't count on an option or switch to override this
system.

Technically, we may very well have to replace the BIOS,
or even the BIOS chip itself (that'll be fun if it is physically
mounted on the board!), and replace it with a chip flashed
with a free BIOS.

And by then, the corps who are responsible for this UEFI
mess will have made it illegal to
  1. tinker with your own hardware, as it would be DRM circumvention
and
  2. implement a free UEFI BIOS as it would violate some UEFI patents.

Basically, we may end up in a situation where running FreeBSD
on a modified motherboard could be outright illegal. Which is
exactly the point, isn't it?

-cpghost.

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


Re: FreeBSD9 - I can't get my mouse to work

2012-06-07 Thread C. P. Ghost
On Wed, Jun 6, 2012 at 1:14 AM, Walter Hurry walterhu...@gmail.com wrote:
 Firstly, sorry if this is a bit of a newbie question. I am quite new to
 FreeBSD (though fairly experienced at Linux). Almost everything in FreeBSD
 is fine, except that no matter what I try I cannot get the (USB) mouse to
 work.

IMHO, you've hit the same problem as this:

http://lists.freebsd.org/pipermail/freebsd-questions/2012-May/241148.html

Unfortunately, there was no follow-up, and nobody seems
to have enough skills to fix hald.

Good luck,
-cpghost.

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


Re: FreeBSD9 - I can't get my mouse to work

2012-06-07 Thread C. P. Ghost
On Thu, Jun 7, 2012 at 7:14 PM, C. P. Ghost cpgh...@cordula.ws wrote:
 On Wed, Jun 6, 2012 at 1:14 AM, Walter Hurry walterhu...@gmail.com wrote:
 Firstly, sorry if this is a bit of a newbie question. I am quite new to
 FreeBSD (though fairly experienced at Linux). Almost everything in FreeBSD
 is fine, except that no matter what I try I cannot get the (USB) mouse to
 work.

 IMHO, you've hit the same problem as this:

 http://lists.freebsd.org/pipermail/freebsd-questions/2012-May/241148.html

Sorry, I forgot to add the original mail:

http://lists.freebsd.org/pipermail/freebsd-questions/2012-May/241042.html

 Unfortunately, there was no follow-up, and nobody seems
 to have enough skills to fix hald.

 Good luck,
 -cpghost.

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


Re: Mouse stopped working in X

2012-05-23 Thread C. P. Ghost
On Tue, May 22, 2012 at 10:44 AM, Polytropon free...@edvax.de wrote:
 On Tue, 22 May 2012 10:17:16 +0200, Bernt Hansson wrote:
 There is a second way of doing this stunt.

 Start X
 When X is up and running press CTRL+ALT+F3 or any F* frpm F3 up to F8
 then you get to the console
 Su to root in the console and type in

 /usr/local/etc/rc.d/dbus restart  /usr/local/etc/rc.d/hald restart

 Then press ALT+F9 to get back to X

 So if that is the _solution_, why not try to automate it?
 Not tested, just a suggestion:

 Make this the last-1 line in ~/.xinitrc (or ~/.xsession depending
 on actual setup), before the exec call to the WM / DE, maybe
 like this:

        #!/bin/sh
        [ -f ~/.xmodmaprc ]  xmodmap ~/.xmodmaprc
        xterm 
        xsetroot -solid rgb:3b/4c/7a
        xset b 100 1000 15 
        xset r rate 250 30 
        xset s off 
        xset -dpms 
  -     sudo /usr/local/etc/rc.d/dbus restart  sudo 
 /usr/local/etc/rc.d/hald restart
        exec wmaker

 It should happen when X is running, and it should be
 back to normal when the WM or DE is launched (and
 all background programs have fully started).

Yep, that's a good idea... as well as switching to a text console, issue
the commands there, and then go back to X.

But IMHO, the *real* solution is to fix hald (or its config), so that it
tries /dev/sysmouse, or whatever mouse is configured in Xorg.conf,
instead of automatically picking some wrong mouse device.

I guess the problem stems from the fact, that when moused is running,
it has already grabbed the real mouse device (e.g. /dev/psm0) and
provides the virtual device /dev/sysmouse. When hald starts the first
time, it tries to grab the real mouse device too... and fails because that
mouse is already used by moused, and is therefore locked. Only when
hald tries to load /dev/sysmouse the second time it is started, will it succeed.

Unfortunatly, hald config is pretty black magic to me. I wouldn't touch that
with a 10 ft. pole.

 --
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

Thanks,
-cpghost.

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


Re: Mouse stopped working in X

2012-05-20 Thread C. P. Ghost
On Fri, May 18, 2012 at 2:27 PM, Bernt Hansson b...@bananmonarki.se wrote:
 2012-05-18 13:49, J. W. Ballantine skrev:

 Hi,

 Before the update of x11 on 4/21/2012, X was working fine, but now
 when I startx, my usb and touchpad mouse are no longer found.  The
 mouse works in terminal mode, and hald and dbus are started in
 /etc/rc.conf.

 I have exactly the same problem. What windowmanager are you
 using? I'm using xfce4, I have a workaround for that.

 1. start X
 2. when it comes up press alt+F2, the start program dialog comes up
 3. type in xterm or your terminal of choice
 4. in your terminal su to root then type

 /usr/local/etc/rc.d/dbus restart  /usr/local/etc/rc.d/hald restart

 wait a few seconds and the mouse should work again.

I have the same problem but with a ps/2 mouse. Restarting dbus
and hald from within an xterm is a workable workaround.

Since I'm using fluxbox, I start an xterm in ~/.xinitrc in the background
to get a terminal before exec-ing fluxbox. Luckily, this xterm has
already the focus.

This is the relevant part of /var/log/Xorg.0.log regarding the
mouse:

(II) config/hal: Adding input device PS/2 Mouse
(II) LoadModule: mouse
(II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so
(II) Module mouse: vendor=X.Org Foundation
compiled for 1.7.7, module version = 1.7.1
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 7.0
(WW) PS/2 Mouse: No Device specified, looking for one...
(II) PS/2 Mouse: Setting Device option to /dev/psm0
(--) PS/2 Mouse: Device: /dev/psm0
(==) PS/2 Mouse: Protocol: Auto
(**) PS/2 Mouse: always reports core events
(**) Option Device /dev/psm0
(EE) xf86OpenSerial: Cannot open device /dev/psm0
Device busy.
(EE) PS/2 Mouse: cannot open input device
(II) UnloadModule: mouse
(EE) PreInit returned NULL for PS/2 Mouse
(EE) config/hal: NewInputDeviceRequest failed (8)

After restarting hald:

(II) config/hal: Adding input device PS/2 Mouse
(WW) PS/2 Mouse: No Device specified, looking for one...
(II) PS/2 Mouse: Setting Device option to /dev/sysmouse
(--) PS/2 Mouse: Device: /dev/sysmouse
(==) PS/2 Mouse: Protocol: Auto
(**) PS/2 Mouse: always reports core events
(**) Option Device /dev/sysmouse
(==) PS/2 Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) PS/2 Mouse: ZAxisMapping: buttons 4 and 5
(**) PS/2 Mouse: Buttons: 9
(II) XINPUT: Adding extended input device PS/2 Mouse (type: MOUSE)

Interestingly, the first time Xorg tries to access the
mouse, it opens /dev/psm0, and the second time after
manually restarting hald, it accesses /dev/sysmouse...
which is the driver that I always use in /etc/X11/xorg.conf:

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  ZAxisMapping 4 5 6 7
EndSection

Shouldn't Xorg use /dev/sysmouse all the time then?
Why does it try to open /dev/psm0?

I hope this problem will get fixed soon. ;-)

Thanks for the good workaround.

Regards,
-cpghost.

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


link_elf_obj: symbol ata_controlcmd undefined

2012-05-20 Thread C. P. Ghost
Hello,

what does this boot message means, and where
does it come from?

link_elf_obj: symbol ata_controlcmd undefined
linker_load_file: Unsupported file type

It appears between between
  ZFS storage pool version 28
and
  drm0: ATI Radeon HD 3200 Graphics on vgapci0

uname -a:

FreeBSD phenom.cordula.ws 9.0-STABLE FreeBSD 9.0-STABLE #0
r235604: Fri May 18 15:49:06 CEST 2012 r...@phenom.cordula.ws:
/usr/obj/usr/src/sys/GENERIC  amd64

TIA,
-cpghost.

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


Re: FreeBSD's backwards webdesign / corporate identity

2012-04-11 Thread C. P. Ghost
On Sun, Apr 8, 2012 at 2:40 PM, Tony ableton...@gmail.com wrote:
 The current design is an uneven mix of various styles, and seems more
 forced than well thought out. First you have the shiny Satanic 3D-lookalike
 logo (yes, despite what y'all say, it's still Satanic) that might look cool
 the first few times one looks at it. Now though it's more like what the
 hell *is* that thing anyway?

(...)

Last time, a redesign brought us the sex toy logo to appease
the anti-Beastie fraction. So, please, not again. Let's concentrate
on improving FreeBSD itself. There's more than enough work to do
in this department before we even consider letting ourselves be
distracted by design issues again.

Thank you,
-cpghost.

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


Re: Printer recommendation please

2012-04-02 Thread C. P. Ghost
On Sun, Apr 1, 2012 at 12:09 PM, Da Rock
freebsd-questi...@herveybayaustralia.com.au wrote:
 On 04/01/12 19:29, Polytropon wrote:

 Firmware attacks!

 ROFL! Sorry my mind went to an interesting place with this one images of
 printers on spring break flashing their cartridges, opening flaps to show
 off their drums... :D

Reminds me of the VAXorcist... ;-)

http://www.gnu.org/fun/jokes/vaxorcist.html

-cpghost.

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


port2

2012-03-21 Thread r p

___
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: Editor With NO Shell Access?

2012-03-13 Thread C. P. Ghost
On Mon, Mar 12, 2012 at 8:19 PM, Tim Daneliuk tun...@tundraware.com wrote:
 I have a situation where I need to provide people with the ability to edit
 files.  However, under no circumstances do I want them to be able to exit
 to the shell.   The client in question has strong (and unyielding) InfoSec
 requirements in this regard.

If the requirements are THAT hard, I think it would be
best to do it the good ole fashioned way: modify the
source code of their favorite editor, by patching out ALL
calls to system(2), exec*(2), popen() et al. This way,
you'll be sure that editor binary won't call out ANY external
process whatsoever.

A little bit less secure, but based on the same idea, would
be to provide replacements for those process-creating
functions in a custom library, say, libnofork.so where each
of these functions immediately return or signal an error like
EPERM instead of ultimately doing the syscall. Then link your
client's editor with -lnofork to mask the original libc definitions.

It is a little bit less secure than manually removing or commenting
out calls to system(), exec*(), popen*() etc, because the editor
could at least in theory call dlopen() on the original libc, where
the functions are still there, or it could even issue the kernel
syscalls directly, without going through libc... although that is
very unlikely with the usual editors.

It is also less secure, because from within this modified editor,
the user could read the contents of libc.so into libnofork.so, and
then restart the editor. But you get the basic idea.

Alternatively, you may want to look into ways to disable forking()
in general for a process. Some old Unices provided a way to
selectively disable certain syscalls based on some root-definable
administrative per-user or per-application policy, but I don't know
whether this is possible with FreeBSD. Perhaps the new Capsicum [1]
provides this, or will in the foreseeable future? I have not looked into
it yet.

[1]: http://www.cl.cam.ac.uk/research/security/capsicum/

 So ... are there editors without this feature?  Can I compile something like
 joe or vi to inhibit this feature?

Yes, see above: provide a replacement library and link against that.
Consider static linking for slightly increased security, and make sure
the user can't modify the editor binary, can't modify any dynamic
libraries it links against, and can't replace that binary with another
binary. Security is like an onion.

 Tim Daneliuk     tun...@tundraware.com
 PGP Key:         http://www.tundraware.com/PGP/

Regards,
-cpghost.

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


Re: Security? [Re: Why is this Symbol in the front of your website. A humble request.]

2012-02-25 Thread C. P. Ghost
On Sat, Feb 25, 2012 at 12:28 PM, Daniel Feenberg feenb...@nber.org wrote:
 An email address can be hidden from bots without violating section 508, for
 instance:

  feenberg is at nber dot org

 or some variant won't be picked up by a robot.

Most bots use some rather sophisticated regexp pattern
matching nowadays, including some primitive JavaScript
parsing to defeat the most popular JS-based obfuscations.
This one is very, very obvious and among the easiest ones
(including the is variation). You couldn't hide from them
this way.

-cpghost.

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


Re: Why is this Symbol in the front of your website. A humble request.

2012-02-25 Thread C. P. Ghost
On Fri, Feb 24, 2012 at 8:32 AM, Erich Dollansky
er...@alogreentechnologies.com wrote:
 On Friday 24 February 2012 14:14:32 Matthew Seaman wrote:
 On 24/02/2012 06:59, Erich Dollansky wrote:
  I live in Asia and they really have these things here. Just without the 
  horns.

 That would be what most people call a ball.  They have them in the
 west too...

 do they vibrate when they get moved?

Yes, but only if they run FreeBSD, and only if they have the
hw.balls.vibrating sysctl(8) set to 1.

-cpghost.

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


Re: Installing Samsung CLX-2160 color laser printer on USB using CUPS

2012-02-25 Thread C. P. Ghost
On Sat, Feb 25, 2012 at 10:14 PM, Polytropon free...@edvax.de wrote:
 I have a problem installing a Samsung CLX-2160 color
 laser printer using CUPS. In the http://localhost:631
 web-based configuration, none of the methods that are
 supposed to be used for installing a printer works.

(... snip ...)

 What am I doing wrong? :-)

Have you heeded *all* the advices here?
  /usr/ports/print/cups-base/pkg-message

Permissions are usually the culprit when CUPS doesn't work.

-cpghost.

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


Cryopid for FreeBSD?

2012-02-17 Thread C. P. Ghost
Hello,

is there an equivalent to Linux' cryopid for FreeBSD?

http://code.google.com/p/cryopid/

Thanks,
-cpghost.

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


Re: corrupted tar.gz archive - I lost my backups :)/:(

2012-02-14 Thread C. P. Ghost
On Tue, Feb 14, 2012 at 2:56 AM, _ pancakekin...@gmail.com wrote:
 Trying to recover these files on 8.2, I found that some of the archives -
 unfortunately those with
 the files that are dear to me - are corrupted.

Do you have MD5, SHA256 etc... checksums of the
.tar.gz files somewhere? Do they still match, or do
they differ now?

(If they match, you have a software problem with tar
or gzip; try reading the files under Linux (Knoppix?)
just to be sure. If they don't match, either the media
is corrupt (very likely), or something's wrong on the
code path that reads your backup device (a lot less
likely))

-cpghost.

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


Re: Software Development using Freebsd.

2012-02-07 Thread C. P. Ghost
On Tue, Feb 7, 2012 at 5:34 PM, Waitman Gobble gobble...@gmail.com wrote:

 On Feb 6, 2012 6:13 PM, C. P. Ghost cpgh...@cordula.ws wrote:

 On Mon, Feb 6, 2012 at 11:37 PM, Jorge Biquez jbiq...@intranet.com.mx
 wrote:
  Now we will try to have a graphical mode in Freebsd. With that we would
  like
  to be able to develop graphical applications for Windows (we all know
  that's
  the market and here some companies is what they are looking), so maybe
  sound
  crazy but I am looking to develop applications for Windows without using
  WIndows or Microsofot products at least.

 Go for Qt. It is a great cross-platform C++ GUI framework, with plugins to
 SQL
 databases, networking and everything you would typically need. There's
 even
 PyQt, if you want Python bindings.

 Check out the examples in the Qt distribution too to get an idea:

 http://developer.qt.nokia.com/doc/qt-4.8/all-examples.html

 I agree Qt is a great solution however you are probably going to want to
 ship static binaries to windows clients (only), especially to non-techical
 end users... otherwise it gets kind of insane, much more challenging than
 distributing java based apps IMHO.

 But the IDE is fantastic plus you get a nice integration with webkit.

 if I remember (been awhile) the license terms are a little different for
 static, would have to re-read carefully.

I don't know about licensing issues w.r.t. static binaries; but you're
absolutely right: it's definitely worth looking into.

Another cross-platform GUI is wxWidgets (C++, but has Python
bindings too). It's not as rich a library as Qt IMHO, but quite nice
too. You may want to combine wxWidgets with Poco though (all
of this is in ports, btw).

-cpghost.

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


Re: Software Development using Freebsd.

2012-02-06 Thread C. P. Ghost
On Mon, Feb 6, 2012 at 11:37 PM, Jorge Biquez jbiq...@intranet.com.mx wrote:
 Now we will try to have a graphical mode in Freebsd. With that we would like
 to be able to develop graphical applications for Windows (we all know that's
 the market and here some companies is what they are looking), so maybe sound
 crazy but I am looking to develop applications for Windows without using
 WIndows or Microsofot products at least.

Go for Qt. It is a great cross-platform C++ GUI framework, with plugins to SQL
databases, networking and everything you would typically need. There's even
PyQt, if you want Python bindings.

Check out the examples in the Qt distribution too to get an idea:

http://developer.qt.nokia.com/doc/qt-4.8/all-examples.html

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


Re: Which Common Lisp port for FreeBSD/sparc64?

2012-01-23 Thread C. P. Ghost
On Wed, Jan 18, 2012 at 11:01 PM, Roland Smith rsm...@xs4all.nl wrote:
 On Wed, Jan 18, 2012 at 09:50:54PM +0100, Michel Talon wrote:
 You can find various cmucl snapshots here:
 http://common-lisp.net/project/cmucl/downloads/snapshots/2012/01/ i think
 one of the authors has a sparc machine, and also runs maxima, so i would be
 confident that cmucl works OK on the sparc, but it is here apparently under
 solaris.

 Looking into cmucl-2012-01-sparcv9-solaris10.tar.bz2, it seems that the lisp
 itself is 32-bit: file bin/lisp
 bin/lisp: ELF 32-bit MSB executable, SPARC32PLUS, V8+ Required, version 1
 (SYSV), dynamically linked (uses shared libs), not stripped

 Looking at http://www.cons.org/cmucl/platforms.html, only x86 and amd64 (using
 the x86 32-bit binaries) are supported on FreeBSD. Only solaris is supported
 on sparc hardware.

 And according to http://sbcl.sourceforge.net/platform-table.html, sbcl doesn't
 run on FreeBSD/sparc. It seems that the latest release only supports x86 and
 amd64, irrespective of OS.

Thank you guys for all the suggestions. I'll look into this.

Kind regards,
-cpghost.

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


Which Common Lisp port for FreeBSD/sparc64?

2012-01-16 Thread C. P. Ghost
Hi,

is anyone running a Common Lisp port on FreeBSD/sparc64?
I'm asking because none of our Common Lisp ports lang/clisp,
lang/ccl, lang/cmucl, lang/sbcl compile on sparc64.

On Debian Linux 6.0.1a for SPARC, at least sbcl is available.
Maybe clisp as well, IIRC.

Any suggestions for running Common Lisp on FreeBSD/sparc64?
Oh, I need that because of math/maxima and math/open-axiom.

Thanks,
-cpghost.

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


Re: sour grapes .. was FreeBSD Kernel Internals Documentation

2012-01-01 Thread C. P. Ghost
On Sun, Jan 1, 2012 at 7:41 PM, doug d...@fledge.watson.org wrote:
 That said, FreeBSD has a giant disadvantage in the desktop world. In trying
 to find if there will be any sort for my current laptop I came across a
 comment from Robert Noland saying that Xorg is becoming more and more Linux
 centric. That is a problem the FreeBSD project can not overcome.

Did he mean frameworks like evdev(4) and so?

http://www.x.org/archive/X11R7.5/doc/man/man4/evdev.4.html

Stuff like this really ought to be backported to FreeBSD, either
directly or by providing more Linuxisms on our side. It only
shows that our Linuxulator framework isn't compatible enough
with Linux and needs to be extended. There's no /technical/
reason why it can't be done.

And yes, it's a pain. But if most 3rd party software developers
converge towards a Linux standard (whatever that moving
target standard may be), we may have to inch towards this
standard too. That kind of convergence happened in the Unix
world all the time, including with POSIX. Now Linux is the new
de facto standard platform the 3rd party software, we may as
well adapt FreeBSD/Linuxulator.

Kind regards and a Happy New Year. ;-)

-cpghost.

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


Re: OT: Root access policy

2011-12-29 Thread C. P. Ghost
On Thu, Dec 29, 2011 at 10:01 AM, Irk Ed irked7...@gmail.com wrote:
 For the first time, a customer is asking me for root access to said
 customer's servers.

Are we talking about jail(8)- or server-level root access?

-cpghost.

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


Re: Graphic /boot/loader menu

2011-12-20 Thread C. P. Ghost
On Sun, Dec 18, 2011 at 6:24 PM, Conrad J. Sabatier conr...@cox.net wrote:
 Myself, personally, as much as I dislike the look of FreeBSD's boot
 menu, it does have the advantage of being very lightweight and adding
 minimal overhead to the booting process, which is an important
 consideration for a lot of people, no doubt.  YMMV.

It's important to us running FreeBSD on headless machines,
hooked up to remote serial consoles. A GUI boot menu wouldn't
work there, since these machines don't even have VGA circuitry.

 Let us know if you learn anything interesting re: this issue.

 --
 Conrad J. Sabatier
 conr...@cox.net

Regards,
-cpghost.

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


Re: Consistent ATI lockups [mi] EQ overflowing.

2011-11-22 Thread C. P. Ghost
On Tue, Nov 22, 2011 at 10:03 PM, Jimmie James jimmie...@gmail.com wrote:
 Symptoms: total lockup of X, Xorg pegged at 100% CPU time, LEDs don't work,
 keyboard is usless. SSH in allows a clean shutdown, about 50% of the time.

 FreeBSD jimmiejaz.org 8.2-STABLE FreeBSD 8.2-STABLE #0: Sun Jun 26 08:42:45
 EDT 2011     jim...@jimmiejaz.org:/usr/obj/usr/src/sys/FORTYTWO  i386
 vgapci0: VGA-compatible display port 0xb800-0xb8ff mem
 0xd000-0xdfff,0xff52-0xff52 irq 19 at device 3.0 on pci6
 drm0: ATI Radeon LW RV200 Mobility 7500 M7 on vgapci0
 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0

 vgapci0@pci0:6:3:0:     class=0x03 card=0x51571002 chip=0x4c571002
 rev=0x00 hdr=0x00
    vendor     = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
    device     = 'Mobility Radeon 7500 (M7 [LW])'
    class      = display
    subclass   = VGA

 xf86-video-ati-6.14.2 X.Org ati display driver

Just to facilitate debugging, I see the very same behavior
on 8.2-STABLE amd64 with the radeonhd driver:

xf86-video-radeonhd-1.3.0_4
xorg-server-1.7.7_3,1

Xorg is struck in an endless loop, consuming 100% CPU.

Yes, I should have switched from radeonhd to ati, but I didn't yet
on that machine.

-cpghost.

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


Re: [OT] but concerns all of us

2011-11-18 Thread C. P. Ghost
On Wed, Nov 16, 2011 at 11:24 PM, Mario Lobo l...@bsd.com.br wrote:
 My apologies to all for this, specially to those who already know about this
 and those who think too little of it.

 I am really worried about this:

 http://americancensorship.org/

Mario, I couldn't agree more and it's a very important topic.
But PLEASE let's take this thread to freebsd-chat@. It *really*
doesn't belong here.

Thanks,
-cpghost.

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


Re: What are the technical differences between Linux and BSD?

2011-11-12 Thread C. P. Ghost
On Sat, Nov 12, 2011 at 9:23 AM, Allen unix.hac...@comcast.net wrote:
 On 10/31/2011 3:50 PM, Zantgo wrote:

 I mean, like BSD is based on the original UNIX, and Linux on System
 V,

 Um, no BSD was a version of Unix that was done at Berkeley. They were
 one of the first Universities to REALLY get work done with Unix adding
 things that we all now take for granted (Vi, TCP/IP, more) and basically
 came out with this BSD which was in very high demand and VERY popular. It,
 in my mind, was better than the ATT Unix.

 Linux uses System V style Init. It's BASED on SunOS. Linus Torvalds said
 that when he started working on Linux, his reason for doing so, was that he
 wanted to run on HIS computer, the same thing he had been using at the
 University, which, was SunOS. He said his early inspiration for Linux was
 SunOS.

 Just because it uses System V init doesn't mean it's actually based on it...

Yes, but I guess that Linus probably used early versions of SunOS 4
which were not only BSD-based, but also not yet SysV-ied.

-cpghost.

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


Re: changing baud rate without recompiling

2011-11-09 Thread C. P. Ghost
On Wed, Nov 9, 2011 at 10:11 AM, saeedeh motlagh
saeedeh.motl...@gmail.com wrote:
 - change the baud rate in /etc/ttys file

(...)

 when i use  stty -f /dev/ttyu0.init 115200 the baud rate for
 ttyu0.init change to 115200. after that i use kill -1 1 in order to
 reinitialize devices but nothing happened and the baud rate for ttyu0
 is still 9600.

Are you sure you really updated /etc/ttys correctly?
  ttyu0   /usr/libexec/getty std.115200   dialup  on secure

What does 'ps ax | grep getty' say? Something like this:
   1416  u0  Is+0:00.24 /usr/libexec/getty std.9600 ttyu0
or like this:
   1416  u0  Is+0:00.24 /usr/libexec/getty std.115200 ttyu0

Then, check that std.115200 is indeed in /etc/gettytab.

Save for getty, I don't know what would reset the speed
to 9600... Maybe some weird setting in /etc/login.conf?

-cpghost.

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


Re: -Stable periodic updates

2011-11-05 Thread C. P. Ghost
On Sat, Nov 5, 2011 at 3:36 PM, Zantgo zan...@gmail.com wrote:
 I will say my question clear.
 If I have FreeBSD-8.2-stable, updated 2011/05/18, what I want to do is update 
 the current, as for example 2011/11/01. I am willing to read me a manual that 
 tells me how to do this.___

Short answer:

1. Update /usr/src with csup using an appropriate supfile. e.g.:

-- /etc/8stable-sup 
*default host=cvsup2.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_8
*default delete use-rel-suffix

*default compress

src-all
--- /etc/8stable-sup 

# csup -g -L2 /etc/8stable-sup

2. Compile /usr/src into /usr/obj:

# cd /usr/src
# make buildworld  make buildkernel KERNCONF=GENERIC

3. Install /usr/obj as the base system:

# make installkernel KERNCONF=GENERIC
# reboot (single user)

(You do this to verify that the new kernel is booting correctly)

(single-user)# mount -a
(single-user)# cd /usr/src
(single-user)# mergemaster -p
(single-user)# make installworld
(single-user)# mergemaster

(single-user)# make delete-old
[optional, but beware!] (single-user)# make delete-old-libs

(single-user)# reboot

4. Now update the ports tree /usr/ports

-- /etc/ports-sup ---
*default host=cvsup2.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix

*default compress

ports-all
--- /etc/ports-sup ---

# csup -g -L2 /etc/ports-sup

5. Update the installed ports on your system, by rebuilding
all ports that are not up-to-date:

# cd /usr/ports
# less UPDATING
(Read from the entry of the last time you've updated the ports)

(get a new portmaster just in case)
# portmaster -b ports-mgmt/portmaster

(now, rebuild all that is not up-to-date)
# portmaster -a

Or, if you prefer:

# pkg_version -v ''  /root/pkg-update-list.txt
# less /root/pkg-update-list
# portmaster -b (one-port-after-the-other-from-the-list-above)

(To get portmaster, install /usr/ports/ports-mgmt/portmaster)

Good luck,
-cpghost.

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


Re: -Stable periodic updates

2011-11-05 Thread C. P. Ghost
On Sat, Nov 5, 2011 at 3:36 PM, Zantgo zan...@gmail.com wrote:
 I will say my question clear.
 If I have FreeBSD-8.2-stable, updated 2011/05/18, what I want to do is update 
 the current, as for example 2011/11/01. I am willing to read me a manual that 
 tells me how to do this.___

If you want to update to the latest 8.2-STABLE (tracking -STABLE),
please follow the instructions in my previous mail. However, updating
to -CURRENT (i.e. FreeBSD 10.0-CURRENT, RELENG_10) is more
involved because of API breakages.

-cpghost.

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


Re: Checking for broken packages (as in linking)

2011-11-05 Thread C. P. Ghost
On Sat, Nov 5, 2011 at 7:27 AM, James Colannino ja...@colannino.org wrote:
 No, I don't mean checking for broken ports :-P  In fact, when I Google
 around for the answer to my question, that's all I can find, which is why I
 bring my question to the mailing list instead :)  Maybe broken ports or
 broken packages isn't the right term (what should I be searching for
 instead?)

 What I want to know is, are there tools that will check the ports I've
 installed and tell me if any of my packages are linked against libraries
 that are no longer there?  I'm paranoid that at some point, while I'm
 building and installing updates, I'm going to break something.

I'm using the following script (attached).

 I've been using FreeBSD for a little while now, but I'm still learning... :)
  Thanks in advance!

 James

HTH,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/


revdep-rebuild.py
Description: Binary data
___
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: Fast personal printing _without_ CUPS

2011-10-30 Thread C. P. Ghost
On Sun, Oct 30, 2011 at 1:13 PM, Jerry je...@seibercom.net wrote:
 The biggest loser in this is FreeBSD itself. Virtually any new PC or
 laptop, with the exception of the bargain basement brands, and even
 some of them are exempt, now come with N protocol wireless devices.

Instead of devoting so much time and energy whining about the
problem here on-list, even though you know full well that we can't
do anything about it for known reasons... why won't you lobby the
manufacturers of N devices, so that they either open their specs,
so we can write a driver, or at least release binary blobs compatible
with FreeBSD? Wouldn't that be more productive? You're very
outspoken on some aspects, so put that rhetorical skill to good use
and contact the major wireless chipset vendors; and then follow up
with them if you don't get the reply you want, just as you do here
on-list.

-cpghost.

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


Re: Fast personal printing _without_ CUPS

2011-10-27 Thread C. P. Ghost
On Thu, Oct 27, 2011 at 5:29 PM, Polytropon free...@edvax.de wrote:
 BUT: CUPS seems to be hardcoded into many applications
 today. They stopped working with the non-CUPS default
 system tools. An example is Opera. Another one is Gimp
 which works with system lp* tools, but has hardcoded
 queries to lpstat (a CUPS program that doesn't exist
 or cannot connect to the server). The upcoming question
 here is: WHY???

(...)

 CUPS also has program names that are derived from LPR's
 competitor. The lpstat command is such an example, and
 I think lpadmin also is.

lpstat and lpadmin are standard SysV tools for printing.
They existed LONG before CUPS:

http://developers.sun.com/solaris/articles/print/sol_lp1.html

Please note that there are two distinct toolsets for (traditional)
UNIX printing:
  * lpr tools for BSD printing
  * lp tools for SysV printing
Please don't call the BSD lpr toolset lp tools, that's pretty
confusing to us old-gen sysadmins. ;-)

Regards,
-cpghost.

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


Re: rsync and the ports tree

2011-10-26 Thread C. P. Ghost
On Wed, Oct 26, 2011 at 12:39 PM, Peter Kryszkiewicz
tundra2b...@gmail.com wrote:
 I have several machines installed in my temporary location and only my
 laptop gets the internet through wireless. So far I've been building ports
 on the other machines by rsync'ing the distfiles from the laptop as I need
 them (all machines have the same FreeBSD 8.2 installed).

 The problem comes after I did a 'portupgrade -a' on the laptop. To ensure
 the other ports trees are in sync, can I rsync the /usr/ports directory to
 the other machines? Since some of them are different architectures (amd64
 multicore for instance) I ran into situations where the distfiles are
 different (for gcc for example).

First of all, rsync is working perfectly if you want to
distribute /usr/ports/distfiles, /usr/ports to your internal
machines, even when they are not of the same architecture.
I'm doing this with a BIG farm of servers running i386, amd64,
and sparc64 for a long, long time.

You only need to make sure to rsync the *union* of your
/usr/ports/distfiles directories, or else it won't work.

Say, on amd64 you have
  /usr/ports/distfiles/some-distfile-for-amd64-only.tar.bz2
and on i386 you have
  /usr/ports/distfiles/some-distfile-for-i386-only.tar.bz2

Yes, that happens every now and then.

So you have to rsync both ways, so that you end up with
  /usr/ports/distfiles/some-distfile-for-amd64-only.tar.bz2
  /usr/ports/distfiles/some-distfile-for-i386-only.tar.bz2
on both i386 and amd64 machines.

The catch is: look out for rsync's --delete flag! When some
port managers delete old/stale distfiles, they may also delete
distfiles for the *other* arches because they (rightly) think
they are not needed here... and when you then rsync with --delete,
that would (wrongly) propagate such deletes to those arches,
and you end up with missing distfiles on the targets.

Since I have more than just two arches, I use a slightly different
2-layer workflow:

0. I have 3 servers that are allowed to fetch files from the outside:
 i386-master, amd64-master, sparc64-master.
   and a whole bunch of i386-slave-NNN, amd64-slave-NNN and
   sparc64-slave-NNN machines that would duplicate from their
   relative masters via rsync.

   On all -master(s), I keep $DISTFILES outside of /usr/ports
   (on /usr/local/distfiles, with a symbolic link in /usr/ports
  /usr/ports/distfiles - /usr/local/distfiles)

Initial update of i386-master, as usual:

1. On i386-master, csup /usr/ports.
   Run portmaster as usual to upgrade everything.
   This may delete old stale distfiles and non-i386-distfiles.
   This may fetch additional generic and i386-specific distfiles.

Copy the new /usr/ports (without distfiles) to the other
arch masters:

2. rsync -av --delete i386-master:/usr/ports to amd64-master
   and sparc64-master. CAUTION: Use --delete is okay, but only
   because distfiles are not under /usr/ports, so as not to nuke
   non-i386-specific distfiles of the other arches.

Copy i386-master's NEW distfiles to the other arch masters:

3. rsync -av i386-master:/usr/local/distfiles to amd64-master
   and sparc64-master. BEWARE: Don't use --delete here!
   Do this to copy new generic distfiles (and i386) from
   the i386-master build to amd64-master and sparc64-master.

Update amd64-master and sparc64-master's ports as usual:

4. On amd64-master, run portmaster as usual to upgrade everything.
   This may delete old stale distfiles and non-amd64-distfiles.
   This may fetch additional (generic and) amd64-specific-distfiles.

5. On sparc64-master, run portmaster as usual to upgrade everything.
   This may delete old stale distfiles and non-sparc64-distfiles.
   This may fetch additional (generic and) sparc64-specific-distfiles.

At this point, i386-master, amd64-master and sparc64-master are
fully updated, and their /usr/local/distfiles directories are up
to date w.r.t. their specific architectures. Now, copy everything
from the masters to the slaves:

6. On every i386-slave-NNN, rsync -av --delete:
 /usr/ports, /usr/local (including /usr/local/distfiles),
 /var/db/pkg, /var/db/ports
   from i386-master.

7. On every amd64-slave-NNN, rsync -av --delete:
 /usr/ports, /usr/local (including /usr/local/distfiles)
 /var/db/pkg, /var/db/ports
   from amd64-master.

8. On every sparc64-slave-NNN, rsync -av --delete:
 /usr/ports, /usr/local (including /usr/local/distfiles)
 /var/db/pkg, /var/db/ports
   from sparc64-master.

You may also need to update entries in /etc and /usr/local/etc
on the slaves.

 If not rsync, what is the best way to keep multiple ports trees on different
 hardware in sync, assuming everything runs FreeBSD 8.2?

 regards,
 Peter Kryszkiewicz

-cpghost.

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


Re: Dennis Ritchie has died. A suggestion

2011-10-24 Thread C. P. Ghost
On Wed, Oct 19, 2011 at 5:19 AM, Jonathan Vomacka juvi...@gmail.com wrote:
 On 10/17/2011 12:04 PM, Michael M wrote:
 *SNIP* / *PRUNE*

 For whatever it may be worth; I fully stand by dedicating the next
 release to dmr, as it wouldn't exist without him and Ken.

 +1

Another reason for a dmr release is that we've finally switched
to clang/llvm.

-cpghost.

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


Re: Dennis Ritchie has died. A suggestion

2011-10-15 Thread C. P. Ghost
On Thu, Oct 13, 2011 at 11:43 PM, mikel king mikel.k...@olivent.com wrote:

 On Oct 13, 2011, at 4:38 PM, Roland Smith wrote:

 With the recent death of Dennis Ritchie, we've lost one of the giants on 
 whose
 shoulders we are standing. But rather that mourn his passing, I think it 
 would
 be proper to remember and celebrate his achievements.

 His contributions to the C language and the UNIX operating system are a
 legacy that few can match.

 Therefore I would like to propose that the FreeBSD project dedicate the
 upcoming 9.0 release in his memory.

 Alternatively, an tribute on the FreeBSD website would be fitting, wouldn't 
 it?

+1 for a dmr release.

-cpghost.

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


Re: *caution* severely OT!!

2011-09-13 Thread C. P. Ghost
On Tue, Sep 13, 2011 at 9:34 PM, Gary Kline kl...@thought.org wrote:
 guys,

 can anyone start me on the way of porting a python program to C?
 tia,

Gary,

if you experience a performance bottleneck somewhere,
you may be better off performing some timings to
determine the exact cause, and then to port the specific
function(s) to a C module. Hints: ctypes, SWIG. Porting
the whole program may not be necessary. Save yourself
some quality time for other more pleasant tasks in life. ;-)

But if you really must, I suggest to port the program to
C++ instead of C, because there, you can make use of
the excellent STL data types and containers, that match
Python's somewhat. You may also consider using boost
libraries, if the STL isn't enough.

Good luck.

 gary

-cpghost.

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


Re: A quality operating system

2011-08-22 Thread C. P. Ghost
On Sun, Aug 21, 2011 at 10:24 PM, Matthew Seaman
m.sea...@infracaninophile.co.uk wrote:
 On 21/08/2011 05:13, Jorge Biquez wrote:
 if for some reason, I know it is impossible, but if for some reason
 FreeBSD would stop existing... serious users of FreeBSD, what would be
 your next OS?

 If the FreeBSD project disbanded (for some unimaginable reason), then I
 guess I'd have to choose an OS based on one of the forks of FreeBSD code
 base that would undoubtedly be created as a reaction to that.

 About the only thing that could conceivably cause FreeBSD to disband
 would be some sort of deep schism and internecine conflict within the
 developer community.  Even so, the usual course is for one of the
 schismatic groups to leave in a huff and start their own project,
 leaving the rump of the original to lick its wounds and carry on.

We've survived the biggest schism so far: the dropping of Beastie as
the default image in /boot/loader.conf and the introduction of the
sex toy logo. Since the community could survive this dual tragedy,
I'm optimistic it'll survive almost ANYTHING. :-)

-cpghost.

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


Re: Installing and using wine on amd64

2011-08-15 Thread C. P. Ghost
On Mon, Aug 15, 2011 at 9:37 AM, Christian Barthel b...@nyx.user-mode.org 
wrote:
 On Sun, Aug 14, 2011 at 10:27:08PM +0200, Polytropon wrote:
 Current system is 8.2-STABLE/amd64. Should I better re-install
 everything (Intel Core2 4300 1.80GHz / 1799.81-MHz K8-class CPU
 here, and 2 GB RAM, that's why the AMD64 choice) and use i386
 instead?

 I don't understand why you have chosen AMD64? You only have 2 GB memory,
 which can be adressed under i386 too and you can avoid a lot of
 problems.

 Today, I am not quite sure about AMD64 because with PAE (
 http://en.wikipedia.org/wiki/Physical_Address_Extension#FreeBSD),
 you have a far better opportunity to address memory above 4 GB.

Some applications run faster in 64-bit mode, because they
make good use of the additional free registers... This is
particularly important for crypto-stuff (it's noticeable even
without benchmarking), and in some multimedia applications
as well.

And just to wit: some register-hungry applications run even
faster on an old UltraSparc IIIi 1500 Mhz despite its slow
memory than on a Phenom with 2.4 GHz and fast DDR 3
RAM. So it all depends on the particular applications.

-cpghost.

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


Re: Alternative windowmanagers

2011-08-06 Thread C. P. Ghost
On Fri, Aug 5, 2011 at 9:12 PM, Christian Barthel b...@nyx.user-mode.org 
wrote:
 What is your window manager?

+1 for fluxbox. Minimalistic, functional, very easy to
configure. Using it for a long time and no desire to
change.

I used fvwm2 and ctwm before, and I still like and
use olvwm every now and then.

 Christian Barthel

-cpghost.

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


Re: Xorg at 100%CPU when browser is on

2011-08-02 Thread C. P. Ghost
On Tue, Aug 2, 2011 at 10:03 AM,  per...@pluto.rain.com wrote:
 C. P. Ghost cpgh...@cordula.ws wrote:

 ... when mplayer plays some (rare) video files.

 Xorg then stays at 100% CPU, and it is impossible to kill it,
 neither from the inside, nor from the outside (logged in via
 ssh) with SIGKILL. Only a reboot helps here.

 An unkillable process is almost certainly hung in a driver, and in
 this case I would strongly suspect it is a video driver.  Can you
 break to KDB (or get a dump) and get a ps listing and a traceback
 of the hung process?  That may enable someone familiar with the
 particular driver involved to debug it.

Good hint! I'll try to get a dump next time X hangs with that driver.

Meanwhile, I'll probably switch my main desktop to xf86-video-ati
as Warren suggested.

Thanks,
-cpghost.

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


Re: Xorg at 100%CPU when browser is on

2011-08-01 Thread C. P. Ghost
On Mon, Aug 1, 2011 at 8:56 AM, Yuri y...@rawbw.com wrote:
 I saw this with firefox, now I see the same with chrome.

 After a while when the browser is launched with ~10 tabs open, Xorg begins
 to consume 100% CPU and all graphics apps get sluggish. Quitting the browser
 brings situation back to normal.

 It looks amazing to me that both firefox and chrome exhibit the same
 behavior.

 Anybody sees the same? Anybody can explain why would such thing happen?

Same here, but when mplayer plays some (rare) video files.

Xorg then stays at 100% CPU, and it is impossible to kill it,
neither from the inside, nor from the outside (logged in via ssh)
with SIGKILL. Only a reboot helps here.

Running:
  FreeBSD 8.2-STABLE #0 r222832 amd64
with
  xorg-server-1.7.7_1,1
  xorg-drivers-7.5.1
and the radeonhd driver:

(--) PCI:*(0:1:5:0) 1002:9610:1462:7501 ATI Technologies Inc Radeon HD
3200 Graphics rev 0, Mem @ 0xd000/268435456, 0xfe9e/65536,
0xfe80/1048576, I/O @ 0xd000/256, BIOS @ 0x/65536
(II) LoadModule: radeonhd
(II) Loading /usr/local/lib/xorg/modules/drivers/radeonhd_drv.so
(II) Module radeonhd: vendor=AMD GPG
compiled for 1.7.7, module version = 1.3.0
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 6.0
(II) RADEONHD: version 1.3.0, built from dist of git branch master,
commit 8cbff7bf
(II) RADEONHD(0): ATOM BIOS Rom:
SubsystemVendorID: 0x1002 SubsystemID: 0x1002
IOBaseAddress: 0xd000
Filename: MS7501_H_5.b
BIOS Bootup Message:
B27721 RS780 DDR2 200e/500m

It happens only rarely, I can't reproduce that bug reliably.

 Yuri

-cpghost.

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


Re: Book recommendations (slightly OT)

2011-07-27 Thread C. P. Ghost
On Tue, Jul 26, 2011 at 9:57 PM, Mark Moellering m...@msen.com wrote:
 I want to automate some tasks, creating directories, file editing, etc.  I
 was going to pick up a book on shell scripting but wanted to ask the list
 if;
 A) I am barking up the wrong tree and should use something else.
 B) If I am headed in the right direction, what is the best book / resource
 to use?

Most automation can be done with shell scripting, but there are
situations where shell won't cut it. Then, you may want to give
Expect a try (hint: combine it with netcat a.k.a. nc and other tools).
If you don't like its TCL syntax, there's a port to Python in
misc/py-pexpect:

http://pexpect.sourceforge.net/

Good luck.

 Thanks in advance

 Mark Moellering

-cpghost.

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


Re: emacs-nox11

2011-07-24 Thread C. P. Ghost
On Sun, Jul 24, 2011 at 12:15 PM, Dick Hoogendijk d...@nagual.nl wrote:
 I want a plain console version of emacs installed on my freebsd-8.2 system.
 So I chose the editors/emacs-nox11 port, but I get an option screen with a
 lot of options set to 'on' for which I get the feeling they are X related.
 I.e. Freetype, Jpeg, Gif, GConf en lots of others. So, I'm confused and
 would very much like to know *which* of those options have to be turned on
 for a plaun console version of emacs. Hope to get some help.

Hi.

I have the following setup for my non-X11 emacs:

% cat /var/db/ports/emacs/options
# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for emacs-23.2_4,2
_OPTIONS_READ=emacs-23.2_4,2
WITHOUT_CANNA=true
WITH_DBUS=true
WITH_GCONF=true
WITH_GIF=true
WITH_GTK2=true
WITH_JPEG=true
WITH_M17N=true
WITHOUT_MOTIF=true
WITH_OTF=true
WITH_PNG=true
WITH_SOUND=true
WITH_SOURCES=true
WITH_SVG=true
WITH_TIFF=true
WITHOUT_XAW=true
WITH_XAW3D=true
WITH_SYNC_INPUT=true
WITH_SCROLLBARS=true
WITH_XFT=true
WITH_XIM=true
WITH_XPM=true

In /etc/make.conf:

.if ${.CURDIR:M*/editors/emacs}
WITHOUT_X11=yes
.endif

This is what emacs is linked to against:

% ldd `which emacs`
/usr/local/bin/emacs:
libthr.so.3 = /lib/libthr.so.3 (0x8007a3000)
libdbus-1.so.3 = /usr/local/lib/libdbus-1.so.3 (0x8008bc000)
libutil.so.8 = /lib/libutil.so.8 (0x800a0b000)
libncurses.so.8 = /lib/libncurses.so.8 (0x800b1b000)
libm.so.5 = /lib/libm.so.5 (0x800c68000)
libc.so.7 = /lib/libc.so.7 (0x800d88000)

Since there are no X11 libs in emacs despite all those options
being set anyway, I suppose that setting WITHOUT_X11 creates
a non-X11 emacs.

I'm using the following port (normal emacs, with WITHOUT_X11 set):

% echo /var/db/pkg/emacs*
/var/db/pkg/emacs-23.3_1,2

But I don't know if X dependencies are being pulled in when the
port is being built with all those options.

-cpghost.

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


Re: How to sync a file on FreeBSD?

2011-07-22 Thread C. P. Ghost
On Fri, Jul 22, 2011 at 8:44 AM, Unga unga...@yahoo.com wrote:
 Hi all

 How to sync a file on FreeBSD (esp. on 8.1) to disk?

 I used fsync(2), but does not immediately flush to disk.

 I want my writing to a file (a log file) immediately available to other users 
 to read.

It shouldn't matter: as soon as write(2) completes, the
system-wide file cache -- not the disk -- is updated, and
other users will transparently read(2) from that cache,
not from the disk.

What you probably want is to flush the userspace buffers
of your I/O library as soon as you write a line of output:
See fflush(3), set[v]buf(3)... You may also use a non-buffered
stream for writing logs.

fsync(2) has other uses. In particular, it is of NO use as
long as the logging application doesn't flush its I/O caches
itself.

 Best regards
 Unga

-cpghost.

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


Re: 2020: Will BSD and Linux be relevant anymore?

2011-07-21 Thread C. P. Ghost
On Thu, Jul 21, 2011 at 2:05 PM,  per...@pluto.rain.com wrote:
 Gary Gatten ggat...@waddell.com wrote:

 ... can a HAL be developed that runs on BSD that emulates
 Winblow$ such that any driver written for Winblow$ will work
 on *BSD?
 ...
 Something in the back of my head says there was / is something
 along this line already available or in the works, but I can't
 recall for sure.

 I _think_ we may already have something along these lines for
 NDIS (network) drivers, but I don't know how well it works.

Not using it today, but it helped me in the past for some exotic NICs.

Regarding the Windowsulator, I'm wondering if such a compat layer
would be possible. Don't Windows drivers all get created by some kind
of DDK/WDK, against a stable kernel-ABI?

I'm not familiar with Windows, but I don't think a typical windows
driver as written by a hardware vendor would manipulate the windows
kernel internals (data structures) directly, right? If that's correct,
we merely need to catch the ABI up- and down-calls from and to the
windows driver, and translate them into regular FreeBSD syscalls
(maybe augmented by a compat helper library?).

Since this is exactly the approach taken by the Linuxulator, I fail to
see why a similar method hasn't been tried for those windows kernel
driver (binary blobs). Maybe some artificial restrictions like, say,
patents are standing in the way? Or a technical restriction like such
binary blobs being encrypted with a public key, and only usable from
Windows kernel with their own secret key?

Only windows kernel hackers can tell.

-cpghost.

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


Re: 2020: Will BSD and Linux be relevant anymore?

2011-07-21 Thread C. P. Ghost
On Thu, Jul 21, 2011 at 6:58 PM, Chad Perrin per...@apotheon.com wrote:
 On Thu, Jul 21, 2011 at 05:13:56PM +0100, Jamie Paul Griffin wrote:

 Also, due to the nature of the course-work I absolutely could not work
 with anything other than UNIX and so I have to select my hardware
 around my choice of OS which of course is FreeBSD.

 This is a bigger deal than people might realize.  If Android actually
 exposed more of the Linux underpinnings it might be somewhat useful to
 me, but as it stands it is essentially just a toy.  Unless and until I
 get a full-power OS (preferably a real BSD Unix) on a tablet, no amount
 of peripherals, ubiquitous network connection, and internal power will
 make up for the simple fact it's just a damned toy.

Full ack!

I was considering buying one of those new ARM-based ASUS tablets (1)
to do some ARM assembly programming. Of course, I'd have liked to
replace Android with FreeBSD/arm or another BSD (or even Linux), but
I'm not sure it can be done already. So I'm holding off, because I
don't need a toy, I need a fully working OS on that thing, an OS with
a full suite of compilers etc...

(1): 
http://www.amazon.com/Transformer-TF101-A1-10-1-Inch-Tablet-Computer/dp/B004U78J1G

 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]

-cpghost.

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


Re: Tools to find unlegal files ( videos , music etc )

2011-07-20 Thread C. P. Ghost
On Tue, Jul 19, 2011 at 5:20 PM, Robert Bonomi bon...@mail.r-bonomi.com wrote:
 Obviously, it is _not_ unlawful to 'even open' a file that is 'labelled as
 private'.

 Herr Ghost subsequently clarified that he meant 'opened by a person' -- which,
 if _that_ is an accurate description of the law in question,  means that a
 purely mechanical process, such as a loop running file(1) on all files, and
 logging a filtered subset of that output would _not_ qualify as 'opening'
 under the law, either.

That's Frau Ghost, if you please.

Look, the problem isn't running some analyzer on the files,
it's the subsequent evaluation and interpretation of its
output by a human operator. That's the exact point in time
where the law applies (the law doesn't care about apparatus,
it cares about human behavior).

Over here, you can run as many filters on the files in an
automated fashion, but that won't do you any good when
you're not allowed to interpret the results (or even to merely
*look* at them), and *act* accordingly.

 To wit: If you're building on _my_ property, I _do_ have the right to demand
 proof that you are doing it 'legally'.

Please acknowledge that different jurisdictions also do
have different philosophies... and especially different
priorities w.r.t. the rights they are supposed to uphold.

If I understand what you're saying, it means that in your place,
private property rights rank higher than privacy protection
obligations. That's okay, and not something to criticize, but it's
not the case everywhere else in the world.

-cpghost.

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


Re: Tools to find unlegal files ( videos , music etc )

2011-07-20 Thread C. P. Ghost
On Tue, Jul 19, 2011 at 3:49 PM, Robert Bonomi bon...@mail.r-bonomi.com wrote:
  For example, if it is part of the _terms_of_emplyment_ -- which one
  *agreed* to, by going to work there --that you (the employeee) give
  permission for the company, or it's agents, to examine any file you
  store on the system.

 It depends on the jurisdiction. For example, in Germany, you as an
 employee CAN'T waive some basic rights by law, and every waiver you've
 signed with your employer is automatically null and void, at least the
 provisions that affect those specific rights.

 Do you mean to suggest that an employee _cannot_ give permission to *anyone*
 (whether it is the employer, or just a friend) to look at any file that is
 categorized as 'private' ??

 If they can give permission for 'someone' to look at a particular file,
 what prevents them from giving that someone permission to look at _every_
 such file?

We're getting to the point where only lawyers should give
binding advice, according to a particular jurisdiction, so I
obviously won't offer any such advice here.

The point though, is /roughly/ this: yes, an individual CAN give
permission for others to inspect his/her files (usually in his
presence). BUT a company CANNOT require or compel the
user to give this permission as a prerequisite for entering an
agreement. Or, in other words, a company couldn't simply state
in their TOS: user is giving permission to company to inspect
all files he stores in his private area. Such a language would
be null and void under most circumstance. That is at least the
situation here.

 Again, jurisdictions vary widely. We here in Europe are at the farthest
 spectrum in terms of privacy protection of workers (students etc..) in
 the workplace (school etc...).

 Educational institutions here _are_ subject to somewhat differnet rules
 than corporates.

True, most (i.e. all but a very few private Universities) are public
institutions
here. We're effectively and de jure part of the State infrastructure, and as
such subject to a different set of rules. However, privacy protection applies
just as much to corporations, if not even more so.

Or, to sum up this thread (if you please): original poster, and every other
sysadmin and IT head should check with their lawyer(s) before even
considering or attempting to invade their users' privacy for whatever reason.
The slippery when wet warning applies.

-cpghost.

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


Re: Tools to find unlegal files ( videos , music etc )

2011-07-19 Thread C. P. Ghost
On Tue, Jul 19, 2011 at 8:55 AM, Damien Fleuriot m...@my.gd wrote:
 On 19 Jul 2011, at 08:15, Frank Bonnet f.bon...@esiee.fr wrote:
 In France it's illegal and I have my boss's instruction :

 - find and delete the files that's all.

 Bon courage then...

 A file can not be illegal per se, so you won't be able to detect
 these by looking up names or contents.

 Even then, if a file is labeled as personal, privacy protection
 applies and it is *unlawful* for you to process it.

 (That is in the same way that your employer is strictly forbidden
 from peeking inside your email messages clearly labeled as personal,
 even if they were received on your work mailbox.)

Exactly!

Speaking with my university sysadmin hat on: you're NOT allowed to
peek inside personal files of your users, UNLESS the user has waived
his/her rights to privacy by explicitly agreeing to the TOS and
there's legal language in the TOS that allows staff to inspect files
(and then staff needs to abide by those rules in a very strict and
cautious manner). So unless the TOS are very explicit, a sysadmin or
an IT head can get in deep trouble w.r.t. privacy laws.

 You may want to look for files that are unusually large.
 They could possibly be ISOs, dvdrips, HD movie dumps...

Not to forget encrypted RAR files (which btw. could contain anything,
including legitimate content, so be careful here).

 We have the same problem here with users sharing movies on the file
 servers, and what makes it worse is some of their movie files are
 legit because they're, for example, official trailers that are
 reworked and redistributed to our customers.

 You won't win this, tell your boss it can not be done.

What can technically be done is that the copyright owner provides a
list of hashes for his files, and requests that you traverse your
filesystems, looking for files that match those hashes. AND, even
then, all you can do is flag the files, and you'll have to check with
the user that he/she doesn't own a license permitting him/her to own
that file!

However, even that isn't foolproof: nothing prevents a user from
flipping a bit or two, rescaling, resampling, splitting the files into
multiple files in a non-obvious manner, adding random bytes at the end
etc...: the result would still be infringing, but can't be detected
automatically (at least not in a reasonable amount of time).

Better talk with your users and resolve the problem using
non-technical means. Inventive users WILL always outsmart any
technical solution that you implement: this is a race you absolutely
can't win.

-cpghost.

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


Re: 2020: Will BSD and Linux be relevant anymore?

2011-07-19 Thread C. P. Ghost
On Tue, Jul 19, 2011 at 9:32 AM, Polytropon free...@edvax.de wrote:
 On Tue, 19 Jul 2011 08:18:41 +0200 (CEST), Konrad Heuer wrote:
 The
 number of installations is not the most important figure. Functionality is
 important -- ZFS, HAST, CARP, jails, as already mentioned -- would be nice
 to see a distributed file system.

 Hmmm... sounds familiar. Didn't VMS have that? Oh wait, things
 like VMS didn't even exist! :-)

How about OpenAFS?

http://www.openafs.org/

We've used original AFS at University on SunOS/Solaris in the 90ies,
and it's still going strong. Maybe FreeBSD's support in 1.6.0pre* needs
a bit of love (?), but we definitely don't need to reinvent the wheel. ;-)

-cpghost.

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


Re: Tools to find unlegal files ( videos , music etc )

2011-07-19 Thread C. P. Ghost
On Tue, Jul 19, 2011 at 11:51 AM, Lars Eighner
luvbeas...@larseighner.com wrote:
 On Tue, 19 Jul 2011, C. P. Ghost wrote:

 Speaking with my university sysadmin hat on: you're NOT allowed to
 peek inside personal files of your users, UNLESS the user has waived
 his/her rights to privacy by explicitly agreeing to the TOS and
 there's legal language in the TOS that allows staff to inspect files
 (and then staff needs to abide by those rules in a very strict and
 cautious manner). So unless the TOS are very explicit, a sysadmin or
 an IT head can get in deep trouble w.r.t. privacy laws.

 Yes, but I am not an expert on privacy laws in France, and I suspect
 you are not either.  Whether examining the magic number (first four bytes)
 of a file constitutes a breach of privacy is a matter for legal advice
 applicable to the particular jurisdiction.  You certainly can look at the
 external package: file size and name.

Fair enough. Automatically scanning files, hashing them etc... may or
may not run afoul privacy laws... which vary widely from jurisdiction
to jurisdiction. And yes, I'm no expert on french privacy laws.

 What can technically be done is that the copyright owner provides a
 list of hashes for his files, and requests that you traverse your
 filesystems, looking for files that match those hashes. AND, even
 then, all you can do is flag the files, and you'll have to check with
 the user that he/she doesn't own a license permitting him/her to own
 that file!

 You cannot generate a hash without at a certain automated level opening the
 file.  If you can do that, couldn't you generate a hash of the first four
 bytes to match with hashes of known magic numbers? If you can look at the
 whole file, surely you can look at just the first four bytes.

To check the magic numbers, you don't need a hash. Just check the
magic numbers (where legally allowable). However, a magic number would
merely say: this is an MP3, this is a MPEG file etc...: it is just a
hint (and a very weak one at that) as to the types of files. You as
staff will STILL have to manually look at the file: the MP3 could
contain random noise, the MPEG could contain a private video or video
letter etc.

So practically, you'll get a list of users owning multimedia
files. Unless your organization forbids files by content type, you
still face the problem of identifying the infringingness of said
files, and this can only be done reliably by manual (human)
inspection. And here, we're right again deep in privacy protection
land where things get incredibly hairy.

 However, even that isn't foolproof: nothing prevents a user from
 flipping a bit or two, rescaling, resampling, splitting the files into
 multiple files in a non-obvious manner, adding random bytes at the end
 etc...: the result would still be infringing, but can't be detected
 automatically (at least not in a reasonable amount of time).

 This is a bit like security.  There is no absolute that can be achieved. You
 don't have to be smarter than God, you just have to be smarter than the
 users.  Now the whole point of infringing schemes is that most dumb users
 have to be able to use the files they download.  They can reasonablely do
 things like rename the files or pass them through a commonly available
 decoder.  No point in trying to file share if users have to be the NSA to
 play the music.

 You can scan (where legal) for the common stuff.  You can't find stuff
 encoded by Dr. Evil Genius Hacker -- but neither can the party claiming to
 be infringed and neither can Suzie Shebop who just wants free music.

Yep.

But Dr. Evil Genius Hacker could write a user friendly program that
does all this, and John Stupiduser Doe would still be able to use
it. Just think of the encrypted RAR files: how many users know how
encryption works?  Yet, it's the most widely used form for sharing
files nowadays by countless technically ignorant users.

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

-cpghost.

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


Re: Tools to find unlegal files ( videos , music etc )

2011-07-19 Thread C. P. Ghost
On Tue, Jul 19, 2011 at 12:54 PM, Damien Fleuriot m...@my.gd wrote:
 On 7/19/11 11:06 AM, C. P. Ghost wrote:
 On Tue, Jul 19, 2011 at 8:55 AM, Damien Fleuriot m...@my.gd wrote:
 On 19 Jul 2011, at 08:15, Frank Bonnet f.bon...@esiee.fr wrote:
 In France it's illegal and I have my boss's instruction :

 - find and delete the files that's all.

 Bon courage then...

 A file can not be illegal per se, so you won't be able to detect
 these by looking up names or contents.

 Even then, if a file is labeled as personal, privacy protection
 applies and it is *unlawful* for you to process it.

 (That is in the same way that your employer is strictly forbidden
 from peeking inside your email messages clearly labeled as personal,
 even if they were received on your work mailbox.)

 Exactly!

 Speaking with my university sysadmin hat on: you're NOT allowed to
 peek inside personal files of your users, UNLESS the user has waived
 his/her rights to privacy by explicitly agreeing to the TOS and
 there's legal language in the TOS that allows staff to inspect files
 (and then staff needs to abide by those rules in a very strict and
 cautious manner). So unless the TOS are very explicit, a sysadmin or
 an IT head can get in deep trouble w.r.t. privacy laws.


 The poorly written IT TOS of a company can never bypass the law,
 regardless of anything you agreed to in your company's TOS.
 It *is* unlawful for them to even open your files as long as they are
 clearly labeled as private.

Absolutely right. This can't be emphasized enough.

As a matter of fact, we're merely setting quotas now (both total
and per-file), and don't bother checking what the users are storing
there. We also don't check their internet usage, though we do
warn them if they exceed some bandwidth and remind them in
general terms of respecting the law.

Should there be some infringement case brought up, we let the
lawyers of our law school / dept. and the lawyers of the copyright
group or copyright owners fight this over between themselves.
We as IT department don't inspect nor touch private files at all;
unless when legally compelled to by a judge's order. Everything
else would be just wasting resources and causing grief without end.

-cpghost.

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


Re: Tools to find unlegal files ( videos , music etc )

2011-07-19 Thread C. P. Ghost
On Tue, Jul 19, 2011 at 1:38 PM, Jerome Herman jher...@dichotomia.fr wrote:
 The best way to block illegal download before they happen. I found that
 closing most ports and requiring a login and password before giving access
 to unknown websites works wonder. (The access to the website is not blocked
 in any way, but you have to login first).

That's indeed a pretty neat idea! Thanks for the hint.

We've considered greylisting websites, and combining that
with the campus wide logins, but that idea never flew. Don't
know why and where it crashed.

-cpghost.

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


Re: Tools to find unlegal files ( videos , music etc )

2011-07-19 Thread C. P. Ghost
On Tue, Jul 19, 2011 at 1:57 PM, Robert Bonomi bon...@mail.r-bonomi.com wrote:
 The poorly written IT TOS of a company can never bypass the law,
 regardless of anything you agreed to in your company's TOS.

 male bovine excrement applies.

 For example, if it is part of the _terms_of_emplyment_ -- which one
 *agreed* to, by going to work there --that you (the employeee) give
 permission for the company, or it's agents, to examine any file you
 store on the system.

It depends on the jurisdiction. For example, in Germany, you as an
employee CAN'T waive some basic rights by law, and every waiver
you've signed with your employer is automatically null and void, at
least the provisions that affect those specific rights. It may not be
the same in your jurisdiction though, so you may be right too... in
your jurisdiction.

 It *is* unlawful for them to even open your files as long as they are
 clearly labeled as private.

 Oh my.  making back-ups is unlawful.  Replacing a failed drive in a RAID
 array is unlawful.  Re-arranging storage allocation is unlawful.  *SNORT*

From context, I assume he was meaning opening manually, i.e. inspecting
by a human being. Merely copying files as in backups and normal day to
day sysadmin routine, doesn't count as such, even though it is technically
open(2)ing. ;-)

 This is a corporate environment, it is in the terms of employment that
 company computers are for business use only, that anything on the
 machines is 'work done for hire', and thus property of the company.

Again, jurisdictions vary widely. We here in Europe are at the farthest
spectrum in terms of privacy protection of workers (students etc..) in
the workplace (school etc...). It may be different elsewhere. And since
the OP was in France, we're discussing this under the assumption
that their laws are pretty severe w.r.t. privacy, and at least meeting
if not exceeding European privacy and data protection standards.

 It's =not= a technology 'arms race', it is a simple matter of 'personnel
 management' and addressable on that basis.

 This does _not_ mean that 'technology' cannot serve a function in policy
 enforcement -- it simply means that technology, _in_and_of_itself_ is
 not the solution.

Agreed.

-cpghost.

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


Re: tftp - bad checksum error? can't transfer file

2011-07-10 Thread C. P. Ghost
On Fri, Jul 8, 2011 at 1:00 PM, Anton Shterenlikht me...@bristol.ac.uk wrote:
 I've had some trouble netbooting / jumpstaring recently with a similar
 pattern (using RARP/BOOTP/TFTP/NFS). It turned out to be a dying
 port on the switch whose errors were masked by TCP in day to day
 use, but alas were too frequent for UDP.

 I just have a direct ethernet connection
 between my FreeBSD laptop with bootpd/tftpd
 servers (one ethernet port only) and a node
 which I want to boot (also a single ethernet
 port). Is there way for me to check whether
 either of these ports are dying?
 Any further diagnostics I can do?

Just push a lot of data (/dev/zero, /dev/urandom, ...) over
this connection, via ssh or something like that, and monitor
the error rates in netstat -in on both ends. Look at Ierrs,
Idrop and Oerrs columns. If one of those ports are dying,
or if your cable isn't properly shielded, you'll notice immediately.

 Many thanks
 Anton

-cpghost.

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


Re: tftp - bad checksum error? can't transfer file

2011-07-08 Thread C. P. Ghost
On Fri, Jul 8, 2011 at 12:44 AM, Anton Shterenlikht me...@bristol.ac.uk wrote:
 I'm trying to troubleshoot tftpd(8).

(...)

    192.168.232.10.15388  buzi.tftp: [no cksum]  25 RRQ /bsd.rd.IP32 octet (
 o
 23:25:21.024160 IP (tos 0x0, ttl 64, id 56, offset 0, flags [none], proto UDP 
 (1
 7), length 30, bad cksum 0 (-293a)!)
    buzi.19330  192.168.232.10.15388: [udp sum ok] UDP, length 2
 23:25:51.013759 IP (tos 0x0, ttl 255, id 256, offset 0, flags [none], proto 
 UDP
 (17), length 53)

I've had some trouble netbooting / jumpstaring recently with a similar
pattern (using RARP/BOOTP/TFTP/NFS). It turned out to be a dying
port on the switch whose errors were masked by TCP in day to day
use, but alas were too frequent for UDP.

-cpghost.

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


Re: Re: why desktop apps are able to kill my freebsd box?

2011-07-05 Thread C. P. Ghost
On Tue, Jul 5, 2011 at 2:42 AM, Timo timo.bsdm...@gmail.com wrote:
 Why a faulty desktop application run as unprivileged user is able to
 crash my system?

 I mean, I know programs have bugs and sometimes they lead to crashes.
 I'm fine with that. But why a crashing program (for example firefox or
 banshee) is able to kill the whole system?

 And by 'crash' or 'kill' i mean that for whatever reason the system is
 frozen and doesn't reply to anything but a hard reset.

Can you still log in via ssh from another box?
Or at least, can you ping the frozen box from
the outside?

Usually, a frozen system isn't really frozen, it's just
Xorg which is. And that's often related to buggy
graphics drivers.

-cpghost.

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


  1   2   3   4   5   6   7   8   9   10   >