Re: error trying to burncd thhen ecomign unkillable process

2009-01-25 Thread Polytropon
On Sun, 25 Jan 2009 17:23:35 +1000, Warren Liddell shin...@maydias.com wrote:
  % camcontrol devlist
 
 Typed this but no output what so ever, which presumably isnt a good thing.

If you have ATAPI devices, you need to have the ATAPICAM facility
loaded, either by

# kldload /boot/kernel/atapicam.ko

or by compiling it into your kernel. If you don't have the proper
permissions, access to ATAPICAM won't work. Access to cd, pass and
xpt is needed (rules to be setup in /etc/devfs.conf), or simply
call the command as root or via sudo.



 enterprise# growisofs -dvd-compat -Z /dev/acd0=neroultraV7.iso
 :-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for device
 
 Something aint right obviously.

Obviously. You need to specify an ATAPICAM device, /dev/cd0 for
example. If you want to use /dev/dvd like in the example on
growisofs's manpage, you need to change the symlink in /etc/devfs.conf:

linkcd0 dvd

The symlink usually points to acd0 which isn't ATAPICAM compatible.


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


Re: X panics on xorg 7.4

2009-01-25 Thread Matthew Seaman

EA EA wrote:

I just upgraded X and when I started X with a fresh config.
When X starts I see the normal no-wm-yet screen with an unmovable mouse.
When I press ctrl+alt+spc I hear 3 beeps followed by a black screen.
I tried x11/nvidia-driver and x11-drivers/xf86-video-nv.

What should I be trying to fix it?  What information do you (I?) need to
debug?


Please read the first 20090123 entry in /usr/ports/UPDATING

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


Re: X panics on xorg 7.4

2009-01-25 Thread Matthew Seaman

EA EA wrote:

I just upgraded X and when I started X with a fresh config.
When X starts I see the normal no-wm-yet screen with an unmovable mouse.
When I press ctrl+alt+spc I hear 3 beeps followed by a black screen.
I tried x11/nvidia-driver and x11-drivers/xf86-video-nv.

What should I be trying to fix it?  What information do you (I?) need to
debug?


Please read the first 20090123 entry in /usr/ports/UPDATING

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


Re: portupgrade

2009-01-25 Thread Matthew Seaman

Ajtim Civolvap wrote:

Hi!

My system 7.1.
I am (was) user of postmaster but the last update for Xorg it did mess. Than I 
use portupgrade -arR and was okay, X works okay but when I run:


portupgrade -arR
** Port marked as IGNORE: x11-drivers/xf86-video-vga:
is marked as broken: Needs to be removed
** Port marked as IGNORE: x11-drivers/xf86-video-via:
requires pciVideoPtr typedef
** Port directory not found: x11/xorg-protos
** Port directory not found: x11/xphelloworld
---  Skipping 'x11/xorg-apps' (xorg-apps-7.3) because a requisite 
package 'xphelloworld-1.0.1_1' (x11/xphelloworld) failed (specify -k to 
force)
---  Skipping 'x11-drivers/xorg-drivers' (xorg-drivers-7.3_3) because a 
requisite package 'xf86-video-via-0.2.2_3' (x11-drivers/xf86-video-via) 
failed (specify -k to force)
---  Skipping 'x11/xorg' (xorg-7.3_2) because a requisite 
package 'xorg-apps-7.3' (x11/xorg-apps) failed (specify -k to force)

** Listing the failed packages (-:ignored / *:skipped / !:failed)
- x11-drivers/xf86-video-vga (marked as IGNORE)
- x11-drivers/xf86-video-via (marked as IGNORE)
- x11/xorg-protos (port directory error)
- x11/xphelloworld (port directory error)
* x11/xorg-apps (xorg-apps-7.3)
* x11-drivers/xorg-drivers (xorg-drivers-7.3_3)
* x11/xorg (xorg-7.3_2)

I understand for VGA or VIA port but how can correct the other, please?


If you don't need vga or via drivers, do this:

  # cd /usr/ports/x11-drivers/xorg-drivers
  # make config
  (select keyboard, mouse and *only* what video drivers you need on your H/W)

Then delete the offending driver packages:

  pkg_delete -f xf86-video-via-\* xf86-video-vga-\*

Note: you may well have several other extraneous video driver packages
installed.  They can be deleted in the same way.

If you do need one of those drivers, then don't upgrade your X windows just
yet.  There will be more updates coming out over time, no doubt.  You could
ask on the freebsd-...@... list about what is happening in that regard.

x11/xorg-protos and x11/xphelloworld have been removed -- just delete
what you have installed:

 # pkg_delete -f xphelloworld-1.0.1_1 xorg-protos-\*

Now fix up the dependency linkages in your package database:

 # pkgdb -F

and then proceed with the upgrade as before:

 # portupgrade -a

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


dummies version of dummies to setup printers in freebsd

2009-01-25 Thread Warren Liddell
i have a cannon pixma ip1000 and i have tried various ways to set it up so i 
can print using methods found through google, but so far nothing has had 
success, so id like to know if there is an idiots guide to the dummies version 
of trying to setup a printer to work cause im in desperate need of step by 
step instructions to get it goin.
___
freebsd-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 create a DVD backup filesystem?

2009-01-25 Thread Wojciech Puchar


I think the ISO-9660 + RockRidge is the most comfortable way for
what you intend - allthough the tar method (or even the UFS method)
won't be any problem here. But as I said, maximum compatibility is
always welcome for backups.


well not always.
___
freebsd-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 create a DVD backup filesystem?

2009-01-25 Thread Wojciech Puchar

cdr.iso:ISO 9660 CD-ROM filesystem data 'CDROM
642848 -rw-r--r--   1 kline  wheel  657922048 Jan 24 15:34 cdr.iso

what is the safest command to use to burn to 1. a CD, and 2. a
DVD?  Since `file' says that cdr.iso is a filesystem, I'm


if it ISO9660 filesystem image.

you may check it before writing this way

mdconfig -a -o readonly -t vnode -f cdr.iso
mount_cd9660 /dev/md0 /mnt

then after checking

umount /mnt
mdconfig -d -u 0

(assumed you don't use other md devices that moment, if so, device number 
will not be md0)



assuming that I don't need to grow or newfs anything on the disc.


cdrtools for CD
dvd+rw-tools for DVD
___
freebsd-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 create a DVD backup filesystem?

2009-01-25 Thread Wojciech Puchar


I know this is *very* lazy stuff, but it works, and I never change
a running system. :-)

which is always a good thing.
___
freebsd-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: dummies version of dummies to setup printers in freebsd

2009-01-25 Thread Aryeh Friedman
This may or may not be suitable for your situation but this is how I
generally set printers up:

1. Install print/cups (yes the full wrapper port)
2. Edit your /etc/make.conf by adding a line that says no LPR
3. Add CUPS_ENABLE=YES to your /etc/rc.conf
4. Manually start cups (run cupsd as root)
5. Point your web browser to http://localhost:631
6. Click on adminstration--Add Printer
7. Enter what ever you want on the first screen
8. (This step will vary based on how your printer is connected... in
this case I assume it is networked like mine is)
   if your printer is a standard network printer CUPS should find it
automatically if it doesn't otherwise socket://[IP] where IP is the IP
of the printer (you will have to search the web perhaps for
non-network printers)
9. Enter the type of printer it is off the menu (cannon is not limited
so you will need to search for the right PPD file)
10. Click on add-printer
11. The user name and password is the user name and password for any
account on the machine (I have never tested anything but root or my
personal account)
12. Print a test page if everything has gone well proceed if not try
to figure out what you missed
13. Click on printers and set the new printer to be your default printer
14. Since by default the base system installs lpd when it is installed
you need to deinstall it the easiest way to do this as root do:
  rm /usr/bin/lp* /usr/sbin/lp*

15. If everything has gone well up to now try to print from the
command line with something like lpr /etc/passwd
16. If step 15 worked reboot and try to print again
17. (only if you have a desktop manager or other GUI stuff installed)
Make sure that all your commonly used GUI applications can print
18. Your done (well almost)
19. (optional) if you do a lot of command line printing you may want
to install a pritty print program like print/enscript-letter and alias
it to lpr in your .cshrc or the equiv
20. Now your done

On Sun, Jan 25, 2009 at 3:54 AM, Warren Liddell shin...@maydias.com wrote:
 i have a cannon pixma ip1000 and i have tried various ways to set it up so i
 can print using methods found through google, but so far nothing has had
 success, so id like to know if there is an idiots guide to the dummies version
 of trying to setup a printer to work cause im in desperate need of step by
 step instructions to get it goin.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


Re: dummies version of dummies to setup printers in freebsd

2009-01-25 Thread Manolis Kiagias
Warren Liddell wrote:
 i have a cannon pixma ip1000 and i have tried various ways to set it up so i 
 can print using methods found through google, but so far nothing has had 
 success, so id like to know if there is an idiots guide to the dummies 
 version 
 of trying to setup a printer to work cause im in desperate need of step by 
 step instructions to get it goin.
   

AFAIR, this is one of the difficult to get working models in FreeBSD (or
linux for that matter). CUPS does not support it directly (it is a
'winprinter'). Canon has a linux driver here:

http://software.canon-europe.com/software/0022414.asp?model=

and this can probably be adapted (if if contains a PPD for CUPS) but
this may not be the easiest task.

Other than that, I always found the following wiki entry in
desktopbsd.net easy to follow for a successful CUPS setup:

http://desktopbsd.net/wiki/doku.php?id=doc:printing
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Pine4.64 installation on FreeBSD 7.1 (i386)

2009-01-25 Thread Saifi Khan
Hi:

[note: i'm aware about Alpine in ports and am keen to install and use
only Pine].

i'm trying to build Pine 4.64 from the sources downloaded from Univ of
Wash site.
For SSL support, i have installed OpenSSL 0.9.8j from ports.

Here is the standard command run at the top of the pine source tree.

./build 'SSLCERTS=/etc/ssl'   \
'SSLINCLUDE=/usr/local/include/openssl'   \
'SSLLIB=/usr/local/lib'   \
bsf

The first error reported right in the beginning is

  File /etc/ssl/factory.pem is missing
   This might indicate that CA certs did not get properly
   installed.  If you get certificate validation failures
   in Pine, this might be the reason for them.

On reviewing the OpenSSL code base, there is no factory.pem
or a bunch of CA certs.

Two questions:
1. what is the purpose of factory.pem ?
2. where do i get the bunch of CA certs ?

Thanks in advance for helping me out,
as i try to learn more about FreeBSD approach of doing the things.
i've been a Gentoo user mostly.

-- 
thanks
Saifi.
___
freebsd-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: swap_pager complaints but not using swap

2009-01-25 Thread Kris Kennaway

Dieter wrote:

AMD64  FreeBSD 7.0  2 GiB main memory

My console says:

login: swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22, size: 4096
swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22, size: 4096
swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22, size: 4096
swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22, size: 4096

pstat -sk
Device  1K-blocks UsedAvail Capacity
/dev/ad6s10   4590208   96  4590112 0%

Wow, using a whole 96K of swap.  I don't see any disk related
complaints in dmesg.

Is this something to worry about?

Yes, the system was *trying* to do swap I/O and timing out while doing so.

Kris


Whoops, I forgot to change the subject line after adding the k option
to pstat.  Without the k it said 0 used.  And this morning it occurs to
me that even if swap used was zero, it could have been trying to *start*
using swap.

Anyway... given this timeout explaination, I'm guessing that page/swap
has to compete with user processes for disk i/o, and thus probably
suffers from the same lack of fair i/o scheduling that user processes
suffer from.  E.g. one process doing disk i/o can lock out another
process for at least several minutes, probably indefinitely.  :-(


There is a timeout of (from memory) 60 seconds.  I've not seen this 
timeout exceeded on properly functioning disk hardware (even heavily 
loaded), only on broken hardware/controllers, or on I/O devices that are 
intrinsically slow for some reason (USB stick, or swapping to a file).


Unless you're doing something truly unspeakable to that disk's load, I'd 
look at the hardware.


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


Starting privoxy+ipv6 at boot

2009-01-25 Thread beni
Hi List,

I installed www/privoxy+ipv6, the patched privoxy for ipv6. It installs fine 
but I have to start it everytime manually at boot.

I added this to /etc/rc.conf :
privoxy_enable=YES
privoxy_flags=/usr/local/etc/privoxy/config

Since there is no startup script provided, I copied the one (privoxy.in) from 
www/privoxy/files to my /usr/local/etc/rc.d :
r...@bsdaddict# ls -l /usr/local/etc/rc.d/privoxy*
-rwxr-xr-x  1 root  wheel  1497 20 jan 21:41 /usr/local/etc/rc.d/privoxy
r...@bsdaddict#

I tried renaming it to privoxy.sh and privoxy (without any extension) but 
nothing seems to work. All I get is this error message in dmesg :
r...@bsdaddict# dmesg -a | grep privoxy
/etc/rc: WARNING: run_rc_command: cannot run %%PREFIX%%/sbin/privoxy
r...@bsdaddict#

Starting privoxy manually is no problem, everything works as it should.

So how do I launch privoxy at boot ? Thanks for any help.
 
Beni Brinckman.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


jail devfs openpty

2009-01-25 Thread Peter Vereshagin
Hello,

I am doing the portupgrade inside my jail.
I see that script(1) have no permission on openpty.
I deleted all the devfs rules on tha jail's /dev both by hand and by deleting 
the ruleset string in master's rc.conf.
So i stopped jail and mounted devfs by hand. Started jail. It appears to work, 
the portupgrade.
I suppose that if mounted with /etc/rc.d/jail the devfs has some tweak that 
makes it different from mounted by hand.

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


jail init, but another question

2009-01-25 Thread Peter Vereshagin
Hello,

I always try to set up the devfs ruleset in rc.conf. So my question is about 
this in /etc/defaults/rc.conf:
===
#jail_example_devfs_ruleset=ruleset_name  # devfs ruleset to apply to jail
===

It appears not to work in /etc/rc.conf without this rc.subr patch: 
===
$ diff -u /etc/rc.subr /usr/src/etc/rc.subr 
--- /etc/rc.subr2008-07-20 19:26:20.0 +0500
+++ /usr/src/etc/rc.subr2008-05-12 12:29:03.0 +0500
@@ -1242,7 +1242,7 @@
 devfs_set_ruleset()
 {
local devdir rs _me
-   [ -n $1 ]  eval rs=\$1 || rs=
+   [ -n $1 ]  eval rs=\$$1 || rs=
[ -n $2 ]  devdir=-m $2 || devdir=
_me=devfs_set_ruleset
===

And, by far the ruleset_name does not work in favour of ruleset number. But I 
remember it did work on freebsd-5.4.

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


Installing FreeBSD on multy hosts

2009-01-25 Thread Proskurin Kirill

Hello all.

I search some guides - how to install FreeBSD on 10+ hosts at once.
As I understand right - it is some thing about PXE and some install.cfg.

--
Best regards,
Proskurin Kirill
___
freebsd-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: swap_pager complaints but not using swap

2009-01-25 Thread Scott Bennett
 On Sat, 24 Jan 2009 14:48:39 + Dieter free...@sopwith.solgatos.com
wrote:
  AMD64  FreeBSD 7.0  2 GiB main memory
 
  My console says:
 
  login: swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22, 
  size: 4096
  swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22, size: 4096
  swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22, size: 4096
  swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22, size: 4096
 
  pstat -sk
  Device  1K-blocks UsedAvail Capacity
  /dev/ad6s10   4590208   96  4590112 0%
 
  Wow, using a whole 96K of swap.  I don't see any disk related
  complaints in dmesg.
 
  Is this something to worry about?
 
  Yes, the system was *trying* to do swap I/O and timing out while doing 
  so.

 isn't swapspace supposed to be on a 'b' partition?  Are you using swap 
 on a slice 10?  how is that possible when the i386/amd64 BIOS can't see 
 more than 4 primary partitions?
 
 Kris, would you mind giving input to this?  How can there be a s10, and 
 how can you add swapspace to a device that isn't a partition 'b' nor a 
 file backed swapspace?  Those were the only two ways I thought was 
 supported for swap.
 
 Dieter, does my questions above sound to be a correct interpretation of 
 your disk setup?

Traditionally swap used the b partition.  But then traditionally, there

 Even then, however, the swapdev line in the kernel config file made
it possible to change it and to add additional partitions of equal size
on other drives.

weren't MBR style partitions, called slices in FreeBSD-land.

I suspect that the computers Unix grew up on (PDP-7, PDP-11, VAX) had
to boot from the beginning of the disk, so the a partition went there.
The Alpha continues in this DEC tradition.  I was about to say that
swap went next for speed, since the machines back then never had enough
main memory, but those old disks didn't have variable number of sectors
on inner vs outer tracks, so the speed would have been the same across
the platter.  So I'm not sure why swap was next.

 Speed was indeed the reason.  Swapping in UNIX dates further back than
virtual memory support.  Swapping made it possible to have more process
memory allocated than was available in real memory, but it was necessary
to swap out an entire process to swap in a process whose memory was located
at the same addresses as the one forced out.  That didn't necessarily mean
writing all of the first process's memory out, just enough to make room for
the one coming in.  The downside, of course, was that anything *not* written
to the swap area was vulnerable to damage by other processes unless some
sort of storage protection mechanism was available in the hardware a la
System/360 storage protection.  Of course, the same risk applied to any
other processes in memory (i.e., not swapped out already) at the time, too.
 Swap in 3BSD (the first VM UNIX system) and 4BSD was active for another
purpose, too.  Large memory moves/copies on those old machines could actually
be *slower* than writing to a disk and then reading the data back in at the
target memory location. (Yes, speechless horror is the correct reaction
here.:-)
 /usr was typically placed right after the swap area (i.e., partition d).
The idea was that / and /usr would be the most heavily accessed file systems,
so it made sense to have them surrounding the swap area to minimize head
movement distances and delays.  On systems with more than one disk drive
that did a lot of compiling, sorting, editing, or anything else with much
activity in /tmp, it was especially helpful to move /tmp to a separate drive
from / and /usr.  The manual used to give suggested partition configurations
for two- and three-drive systems for optimum speed.

This machine has 2 GiB of main memory and almost never uses the swap
partition, so I put swap at the slow end of the drive.  Yes I have
swap on slice 10.  I use NetBSD's fdisk, as it handles more than
4 slices nicely, unlike FreeBSD's fdisk.  As far as I know, the BIOS

 So NetBSD's fdisk understands logical partitions in an extended
partition?  Cool.  I wish we had it in FreeBSD.  It's really a pain to
have to shut FreeBSD down and boot a standalone program to change the layout
of a disk that has an EP. :-(  At least the FreeBSD kernel has no problem
understanding a disk like that.

firmware doesn't need to know about swap.  I think the BIOS firmware
just loads and runs the MBR, which in turn loads and runs the bootstrap
in the selected slice (or loads and runs the MBR in a different disk if
you want).

I suppose I could put a BSD disklabel on slice 10 and set it up
with the whole slice as the b partition.  But as far as I can tell
FreeBSD is happy with /dev/ad6s10.  As I wrote in my previous

 It should be.

message I suspect that the pager/swaper is competing for disk i/o.
I forgot to ask if there is some sysctl or other knob to lengthen
the timeout.  The real fix is to improve the i/o fairness, 

Re: Installing FreeBSD on multy hosts

2009-01-25 Thread Wojciech Puchar


I search some guides - how to install FreeBSD on 10+ hosts at once.
As I understand right - it is some thing about PXE and some install.cfg.
no. just make PXE able to boot ANY FreeBSD install (single user is enough, 
or boot from CD/DVD) and then copy all files from one host to another.

then just change configs (like hostname and IP in your rc.conf)
___
freebsd-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 FreeBSD on multy hosts

2009-01-25 Thread Wojciech Puchar

Hello all.

I search some guides - how to install FreeBSD on 10+ hosts at once.
As I understand right - it is some thing about PXE and some install.cfg.


forgot - you have to of course make disklabel, newfs and make disk 
bootable (bsdlabel -B disk)

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


Re: Starting privoxy+ipv6 at boot

2009-01-25 Thread Wojciech Puchar


I tried renaming it to privoxy.sh and privoxy (without any extension) but
nothing seems to work. All I get is this error message in dmesg :
r...@bsdaddict# dmesg -a | grep privoxy
/etc/rc: WARNING: run_rc_command: cannot run %%PREFIX%%/sbin/privoxy
r...@bsdaddict#


please do sent-pr for ports.
it's bug in port system IMHO, %%PREFIX%% wasn't replaced at build time.


___
freebsd-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 FreeBSD on multy hosts

2009-01-25 Thread Proskurin Kirill

Wojciech Puchar пишет:

Hello all.

I search some guides - how to install FreeBSD on 10+ hosts at once.
As I understand right - it is some thing about PXE and some install.cfg.


forgot - you have to of course make disklabel, newfs and make disk 
bootable (bsdlabel -B disk)




Well - and if need just to power on server and say it to boot at PXE and 
go away for 30 min.

And then I came back - I have a typical preconfigured server.
I need full automatisation.

--
Best regards,
Proskurin Kirill

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


Starting X with xf86-video-vesa

2009-01-25 Thread EA EA
In my third attempt to get any form of a working X server I tried the
xf86-video-vesa driver.
(x11/nvidia-driver fails, x11-drivers/xf86-video-nv fails)

I get the following error message:
failed to set mtrr: Invalid argument

In Xorg.log I have the following line at the end
(==) VESA(0): Write combining range (0x0,0x1000) was already clear
___
freebsd-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: KDE: What a monster!

2009-01-25 Thread Wojciech Puchar


Without wanting to start an endless discussion, I may say that I've
recognized the tendency to slow down programs in UNIX world such as
it is always described in Windows land: As soon as you get a new
OS or new programs, everything runs slower than before. In order to
keep the overall usage speed, you need to have more hardware power.


fortunately it's only tendency to trendy software like KDE. not for all 
unix software. and definitely NOT for FreeBSD OS inself, that gets 
same or faster every release on THE SAME machine!


it's not unix problem. it's problem of people that like to have their unix 
be like windows so it is :)


for me it's not a problem at all!




I'm running a P4 2GHz for more than 4 years now happily (I think),
but when I needed to build a new software installation due to a
data fallout in July 2008, I found everything running slower.


what exactly software you rebuild and found slower (except KDE/Gnome 
bloatware) ?




THIS TO ALL FreeBSD DEVELOPERS: NOT YOUR FAULT! Every release of
FreeBSD brought a higher bootup speed to my system, faster system
services and better performance.


INDEED. contrary to linux that it's mostly faster in artifical tests, 
slower on everything else. contrary to NetBSD, (no idea about openbsd), 
not mentioning Slowlaris :)


that's why i use it!



But what about these advantages? They've got eaten up by all the
applications installed, their libraries and especially their GUI
toolkits. Nearly every Gtk application has been switched from
Gtk 1 to Gtk 2, including more disk consuming libs and depencencies,
slower program startup and slower reaction.


unfortunately you are right. but you can use IMHO firefox with GTK1



My favourite examples are:

* Opera, hardly reacting on input while loading a web
  page (and no, I don't try to use Flash stuff)


it's not libraries fault but opera fault IMHO.
i see the same!




* Gimp, loads very slowly, needs seconds (!) to show
  the right click menu, needs several seconds to launch
  printing dialog


what gimp version. mine starts 10 seconds, then works quick.
checked with ldd - it uses gtk2 and tons of other libs.
are you sure there are no other problems with your system?



On the other hand, there are old programs that seem to profit
from the system's speed gain. That's why I love to use them instead
of their oversized brothers.


so use them as long as you can - as i do.



Such an oversized brother is KDE 4. Don't get me wrong, please.


so why do you use it? it's mostly useless even if it would be fast.

There is NO USE for it's GUI, and it's programs are toys, not much 
usable.


use separate programs for spreadsheets, word processors and similar 
office work.




On an up-to-date hardware basis, it's surely a joy to use, fast


you are wrong. it's slow on quad core intel with 4GB RAM.
i tested it.


and responsive. But if your system isn't from today, you don't
gonna have fun with it. Around me, other users seem to favour
Gnome instead of KDE because they are not willing to update their


gnome is slow too. just a little bit less slow ;)


my main and only personal computer is IBM Thinkpad T23 laptop with 
Pentium 3M/1200 and 256MB RAM.


without all these bloats it happily runs all i need fast without any 
swapping. only opera gets slower ;)


BTW are there somewhere available older version of opera package? :)
___
freebsd-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 FreeBSD on multy hosts

2009-01-25 Thread Wojciech Puchar
Well - and if need just to power on server and say it to boot at PXE and go 
away for 30 min.

And then I came back - I have a typical preconfigured server.
I need full automatisation.
so make simple PXE bootable system and write script to make 
disklabels, do newfs, install (copy/untar) your system, fix rc.conf and 
make disk bootable

___
freebsd-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 FreeBSD on multy hosts

2009-01-25 Thread Lokadamus

Proskurin Kirill wrote:

Hello all.

I search some guides - how to install FreeBSD on 10+ hosts at once.
As I understand right - it is some thing about PXE and some install.cfg.


Another idea is to make one installation and make an image of it.
With clonezilla it will be able to use pxe to install it on many hosts.
http://clonezilla.org/
After you install your image, you must, how Wojciech Puchar told you, 
change ip (or you use dhcp), hostname and other stuff like this.


I've not tested clonezilla, but at work i use acronis trueimage to 
install windows on clients.

Greeting
___
freebsd-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 FreeBSD on multy hosts

2009-01-25 Thread Wojciech Puchar



Another idea is to make one installation and make an image of it.
With clonezilla it will be able to use pxe to install it on many hosts.
http://clonezilla.org/
After you install your image, you must, how Wojciech Puchar told you, change 
ip (or you use dhcp), hostname and other stuff like this.


I've not tested clonezilla, but at work i use acronis trueimage to install 
windows on clients.


why don't simply use unix tools. for same-sized harddrives simply use dd
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ghostscript8 fails to build

2009-01-25 Thread LtCdData
Hi
I am having problems building ghostscript8-8.63 from ports with the below 
errorsnip
: multiple definition of `gs_shared_init'
./obj/../soobj/gdevl256.o(.text+0x780): first defined here
gmake[1]: *** [bin/../sobin/libgs.so.8.63] Error 1
/snip
After some googling about it seems this is an old issue with  a conflict 
between lvga256 and vgalib. The fix seems to be to build it without SVGAlib,  
but so far I have failed to get it to do. Ill assume I am doing something 
wrong here as I am not a coder. Any help with how to actually get 
ghostscript8 to build without SVGAlib would be much appreciated 

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


Why are the Zionist leaders in Israel so happy about the new President?

2009-01-25 Thread Lawrence Auster
Why is the President of Israel, the terrorist who just oversaw the Zionist mass 
murder and maiming of thousands of Palestinians so happy
that Obama is President of the USA?
by David Duke


Read the excerpt from the Israeli News about how President Perez and Israel 
think that Obama’s becoming U.S. President is great day
for Israel.

Israel’s President Shimon Peres ecstatic over the election of Obama
Ronen Medzini Israel News Jan. 21

“Today is a great day not only for the United States of America, but for the 
entire world,” President Shimon Peres wrote in a letter
addressed to Barack Obama on the day of his inauguration as president of the 
United States.

“Obama was elected by the United States, but as a matter of fact, he was chosen 
by the whole of humankind,”

Why is Peres so ecstatic?

Why shouldn’t he be, he knows that Obama is completely in the grip of the 
extremist Jewish Zionists in America, and he knows that the
greater Obama’s popularity and idol worship, the more Obama can do for the 
International Zionist Cause.

Any thinking and caring human being who realizes that the Zionist-controlled 
American foreign policy has been a disaster for the robbed
and murdered people of Palestine, Lebanon, Iraq and a catastrophe for the 
50,000 American wounded in Iraq and Afghanistan, as well
as an economic catastrophe for the hardworking Americans who pay trillions to 
finance these wars for Israel — must wake up the fact that
supporting Obama and increasing his popularity  will only aid Zionist 
terrorism, war, and their murder and oppression of the Palestinians. It
will also hasten the economic suffering of billions of people around the world 
as his popularity enables him to more easily aid the Zionist
International Bankers steal the wealth of the United States, Europe and the 
world.  Obama is totally in the bloodstained and green ink-
stained hands of the Zionists. The hard truth is that the more good will and 
support Obama has also gives more power to support the
Zionist agenda!

Mark my words. The Obama Presidency will be disaster for America and for the 
world.

Obama was put into office by the Zionists. His top two cohorts for years have 
been the radical Jews David Axelrod and Rahm
Emmanuel. Both have long records of radical Zionism and have been attack dogs 
against anyone perceived as having the slightest
opposition to Israel. One such victim was Sen. Charles Percy, who both men 
worked to defeat and destroy because he dared to only be
99 percent rather than 100 percent pro-Israel. Rahm Emmanuel, a dual citizen of 
Israel who went to fight for Israel, he has a long
pedigree of Jewish extremism. His father served in the Irgun Terrorist Gang and 
he himself is named after an Irgun terrorist.

Zionist leaders in Chicago actually call Obama “the first Jewish President” and 
boast that Jews were key players in Obama’s every step
up the ladder to President.

from the very earliest days, extremist Jews were the largest contributors to 
his campaign. In the beginning of his Presidential bid, three
Hollywood Jews that constantly make movies about Jewish suffering, but never 
about the Zionist terrorism and theft against the
Palestinian people, Steven Spielberg, David Geffen, and Jeffrey Katzenberg 
raised 1.2 million for Obama in a single Hollywood party.

By the time Obama’s campaign was in full swing, he had huge support from the 
criminal Zionist International Banking firms such as
Goldman Sachs and Lehman brothers. Goldman Sachs was Obama’s biggest single 
contributor, and his vast war chest came not from
American manufacturing firms like GM or even American oil companies, (not one 
was in his top twenty) it was overwhelmingly dominated
by Zionist international bankers, the same ones whose thievery and fraud are 
giving the world this economic depression.

For those looking for meaningful social and political change, do you really 
think it will come from this man who has already been bought
heart, head and soul by the most powerful czars of the international financial 
establishment and the biggest globalists in the world?

I know that many are desperate for change, so desperate that you want to 
believe anything. But in the face of these facts can’t you see
that Obama will be even more dangerous to freedom and justice than even George 
Bush and his band of Neocons were. What better
way to wipe out George Bush’s hated legacy and make the world believe that 
America has really changed than with the election of
Obama. But, all the real Zionist power, Zionist media power, and Zionist 
financial power in America is still in place, even stronger than
ever.

Many Americans and others around the world who want to do good are now telling 
us how wonderful Obama will be as president. What
a great change it will be from the old policies. This is because of the 
Zionist-Controlled media hype, promoting Obama. The fact is that
these poor sods are ignorantly helping the radical Zionist agenda in Israel and 

Re: ghostscript8 fails to build

2009-01-25 Thread Roland Smith
On Sun, Jan 25, 2009 at 02:38:25PM +, LtCdData wrote:
 Hi
 I am having problems building ghostscript8-8.63 from ports with the below 
 errorsnip
 : multiple definition of `gs_shared_init'
 ./obj/../soobj/gdevl256.o(.text+0x780): first defined here
 gmake[1]: *** [bin/../sobin/libgs.so.8.63] Error 1
 /snip
 After some googling about it seems this is an old issue with  a conflict 
 between lvga256 and vgalib. The fix seems to be to build it without SVGAlib,  
 but so far I have failed to get it to do. Ill assume I am doing something 
 wrong here as I am not a coder. Any help with how to actually get 
 ghostscript8 to build without SVGAlib would be much appreciated 

As root, go to the port directory with 'cd /usr/ports/print/ghostscript8'. 
Type 'make config' and disable the two SVGA lib drivers. You can use the
PageUp and PageDown keys to scroll through the list of drivers. Disable
anything you don't need. Then issue the commands 'make clean', and 'make
install clean' to build and install the software.

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


pgptGaCiVshJE.pgp
Description: PGP signature


Re: Why are the Zionist leaders in Israel so happy about the newPresident?

2009-01-25 Thread Anthony M. Rasat
Lawrence Auster wrote:
Bla bla bla Ku Klux Klan crap.

Why don't you bring your hatred outta here. This is a family-oriented channel.

Next time, even when you put OOT label on subject, I still will call it crap.

If you name me Jewish lover, well, I'm Asian, that means I'm a chink. But it's 
Mr. Chink to you, thank you very much.

-- 

Regards,

Anthony M. Rasat
Manager - Technical, Network and Support Division
PT. Jawa Pos National Network
Graha Pena Jawa Pos Group Building, 5th floor
Jln. Raya Kebayoran Lama 12, Jakarta Selatan 12210
Indonesia.-
Phone 02132185562
Phone 081574217035
Fax 02153651465
Web http://www.jpnn.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


remove kerberos 5 from FreeBSD

2009-01-25 Thread Ansar Mohammed
Hello All,

Does anyone know how I can remove the Kerberos 5 installation from FreeBSD?

 

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


nspluginwrapper

2009-01-25 Thread Old Zhang
I have the following errors when I view YouTube video. I got the errors 
from linux-flashplugin9 and firefox3.


LoadPlugin: failed to initialize shared library
/usr/home/Drive/.mozilla/plugins/nppdf.so [/lib/libc.so.6: version
GLIBC_2.1.3 required by /usr/home/Drive/.mozilla/plugins/nppdf.so not
defined]
LoadPlugin: failed to initialize shared library
/usr/home/Drive/.mozilla/plugins/nppdf.so [/lib/libc.so.6: version
GLIBC_2.1.3 required by /usr/home/Drive/.mozilla/plugins/nppdf.so not
defined]

(npviewer.bin:59941): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
*** NSPlugin Wrapper *** ERROR: NPP_Write() wait for reply: Message
timeout
*** NSPlugin Wrapper ***
WARNING:(/usr/ports/www/nspluginwrapper/work/nspluginwrapper-1.2.2/src/npw-wrapper.c:2236):invoke_NPP_DestroyStream:
assertion failed: (rpc_method_invoke_possible(plugin-connection))
*** NSPlugin Wrapper ***
WARNING:(/usr/ports/www/nspluginwrapper/work/nspluginwrapper-1.2.2/src/npw-wrapper.c:1974):invoke_NPP_GetValue:
assertion failed: (rpc_method_invoke_possible(plugin-connection))
*** NSPlugin Wrapper *** WARNING: unhandled variable 11 in
NPP_GetValue()
*** NSPlugin Wrapper ***
WARNING:(/usr/ports/www/nspluginwrapper/work/nspluginwrapper-1.2.2/src/npw-wrapper.c:1855):invoke_NPP_Destroy:
assertion failed: (rpc_method_invoke_possible(plugin-connection))

---
If I use firefox 2, I get the following errors:


LoadPlugin: failed to initialize shared library
/usr/home/Drive/.mozilla/plugins/nppdf.so [/lib/libc.so.6: version
GLIBC_2.1.3 required by /usr/home/Drive/.mozilla/plugins/nppdf.so not
defined]

(npviewer.bin:59983): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
*** NSPlugin Wrapper *** ERROR: NPP_SetWindow() wait for reply: Message
timeout
*** NSPlugin Wrapper ***
WARNING:(/usr/ports/www/nspluginwrapper/work/nspluginwrapper-1.2.2/src/npw-wrapper.c:1974):invoke_NPP_GetValue:
assertion failed: (rpc_method_invoke_possible(plugin-connection))
*** NSPlugin Wrapper *** WARNING: unhandled variable 11 in
NPP_GetValue()
*** NSPlugin Wrapper ***
WARNING:(/usr/ports/www/nspluginwrapper/work/nspluginwrapper-1.2.2/src/npw-wrapper.c:1924):invoke_NPP_SetWindow:
assertion failed: (rpc_method_invoke_possible(plugin-connection))
*** NSPlugin Wrapper ***
WARNING:(/usr/ports/www/nspluginwrapper/work/nspluginwrapper-1.2.2/src/npw-wrapper.c:2164):invoke_NPP_NewStream:
assertion failed: (rpc_method_invoke_possible(plugin-connection))

--
'uname -a' output is

FreeBSD .x.xx.com 7.1-STABLE FreeBSD 7.1-STABLE #0: Tue
Jan 20 08:09:21 EST 2009
r...@.x.x.com:/usr/obj/usr/src/sys/MY7KERNEL  i386

How do I fix it?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


coretemp for AMD?

2009-01-25 Thread Chris Whitehouse

Hello,

Can I read cpu die temperature for my AMD Athlon 64 X2 cpu with 
coretemp? According to


http://www.alcpu.com/CoreTemp/supportlist.html

it includes AMD processors but when I load coretemp.ko sysctl still 
can't see dev.cpu.?.temperature.


Is this even the same coretemp as the website talks about windows a lot?

This is on FreeBSD 7.1-PRERELEASE #1: Tue Dec 16 18:28:48 GMT 2008 with 
GENERIC kernel.


Thanks

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


Re: Installing FreeBSD on multy hosts

2009-01-25 Thread Polytropon
On Sun, 25 Jan 2009 15:53:12 +0100 (CET), Wojciech Puchar 
woj...@wojtek.tensor.gdynia.pl wrote:
 why don't simply use unix tools. for same-sized harddrives simply use dd

Or dump / restore, as described in the handbook.


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


Re: remove kerberos 5 from FreeBSD

2009-01-25 Thread Roland Smith
On Sun, Jan 25, 2009 at 11:06:32AM -0500, Ansar Mohammed wrote:
 Hello All,
 
 Does anyone know how I can remove the Kerberos 5 installation from FreeBSD?

Put 'WITHOUT_KERBEROS=true' in /etc/src.conf, and rebuild the system
from source, as documented in the Handbook.

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


pgpdGFZUP30h2.pgp
Description: PGP signature


Re: coretemp for AMD?

2009-01-25 Thread Josh Carroll
On Sun, Jan 25, 2009 at 11:21 AM, Chris Whitehouse cwhi...@onetel.com wrote:
 Hello,

 Can I read cpu die temperature for my AMD Athlon 64 X2 cpu with coretemp?
 According to

 http://www.alcpu.com/CoreTemp/supportlist.html

 it includes AMD processors but when I load coretemp.ko sysctl still can't
 see dev.cpu.?.temperature.

 Is this even the same coretemp as the website talks about windows a lot?

 This is on FreeBSD 7.1-PRERELEASE #1: Tue Dec 16 18:28:48 GMT 2008 with
 GENERIC kernel.

For (supported) AMD processors, check out k8temp(4).

Josh
___
freebsd-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 create a DVD backup filesystem?

2009-01-25 Thread cpghost
On Sun, Jan 25, 2009 at 10:05:12AM +0100, Wojciech Puchar wrote:
  cdr.iso:ISO 9660 CD-ROM filesystem data 'CDROM
  642848 -rw-r--r--   1 kline  wheel  657922048 Jan 24 15:34 cdr.iso
 
  what is the safest command to use to burn to 1. a CD, and 2. a
  DVD?  Since `file' says that cdr.iso is a filesystem, I'm
 
 if it ISO9660 filesystem image.
 
 you may check it before writing this way
 
 mdconfig -a -o readonly -t vnode -f cdr.iso
 mount_cd9660 /dev/md0 /mnt
 
 then after checking
 
 umount /mnt
 mdconfig -d -u 0
 
 (assumed you don't use other md devices that moment, if so, device number 
 will not be md0)

Right.

But you can do it even faster, since our bsdtar is able to read (most)
iso9660 images directly, e.g.:

$ tar -tf cdr.iso

-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: (no subject)

2009-01-25 Thread Ramiro Caso

 Date: Sat, 24 Jan 2009 22:29:01 -0500
 From: wcl...@dl1.njit.edu
 To: freebsd-questions@freebsd.org
 Subject: (no subject)
 
 I just in stalled VTiger and missed the instructions on how to install it
 .do know or is there a command that will let me find that info

You could take a look at /usr/ports/www/vtiger/files/pkg-message.in; this won't 
make the appropriate substitutions (i.e., '%%WWWDIR%%' for the actual 
directory), but still it's something (the same goes for 
www/vtiger-customerportal and german/vtiger, if you installed any of them).

_
Permanece actualizado con MSN Noticias. Clic aquí
http://noticias.cl.msn.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: remove kerberos 5 from FreeBSD

2009-01-25 Thread Gonzalo Nemmi
On Sunday 25 January 2009 2:25:55 pm Roland Smith wrote:
 On Sun, Jan 25, 2009 at 11:06:32AM -0500, Ansar Mohammed wrote:
  Hello All,
 
  Does anyone know how I can remove the Kerberos 5 installation from
  FreeBSD?

 Put 'WITHOUT_KERBEROS=true' in /etc/src.conf, and rebuild the system
 from source, as documented in the Handbook.

 Roland

Speaking of wich ... is there a examples/src.conf file hidden somewhere in 
7.0-REL or do I have to create my own from scratch based on man src.conf?

[gonz...@inferna ~]% locate src.conf
/usr/share/man/man5/src.conf.5.gz
/usr/src/share/man/man5/src.conf.5
[gonz...@inferna ~]%

Regards
-- 
Blessings
Gonzalo Nemmi
___
freebsd-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: coretemp for AMD?

2009-01-25 Thread Mike Clarke
On Sunday 25 January 2009, Chris Whitehouse wrote:

 Can I read cpu die temperature for my AMD Athlon 64 X2 cpu with
 coretemp? 

According to the man page the coretemp driver only provides support for 
the on-die digital thermal sensor present in Intel Core and newer CPUs, 
suggesting that it wouldn't work for AMD CPUs.

But I get sensible looking results for my Athlon 64 X2 4850e with the 
following command:

sysctl hw.acpi.thermal.tz0.temperature

 According to 

 http://www.alcpu.com/CoreTemp/supportlist.html

 it includes AMD processors but when I load coretemp.ko sysctl still
 can't see dev.cpu.?.temperature.

 Is this even the same coretemp as the website talks about windows a
 lot?

That looks like a totally different Windows only application.

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


Re: Why are the Zionist leaders in Israel so happy about the new President?

2009-01-25 Thread Wojciech Puchar



Why is the President of Israel, the terrorist who just oversaw the Zionist mass 
murder and maiming of thousands of Palestinians so happy
that Obama is President of the USA?
by David Duke

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


Re: remove kerberos 5 from FreeBSD

2009-01-25 Thread Gonzalo Nemmi
On Sunday 25 January 2009 4:15:24 pm Bogdan Potishuk wrote:
 Gonzalo Nemmi said the following on 25.01.2009 19:05:
  On Sunday 25 January 2009 2:25:55 pm Roland Smith wrote:
  On Sun, Jan 25, 2009 at 11:06:32AM -0500, Ansar Mohammed wrote:
  Hello All,
 
  Does anyone know how I can remove the Kerberos 5 installation from
  FreeBSD?
 
  Put 'WITHOUT_KERBEROS=true' in /etc/src.conf, and rebuild the system
  from source, as documented in the Handbook.
 
  Roland
 
  Speaking of wich ... is there a examples/src.conf file hidden somewhere
  in 7.0-REL or do I have to create my own from scratch based on man
  src.conf?
 
  [gonz...@inferna ~]% locate src.conf
  /usr/share/man/man5/src.conf.5.gz
  /usr/src/share/man/man5/src.conf.5
  [gonz...@inferna ~]%

 You have to create /etc/src.conf with required options from src.conf(5)

That's what I thought .. I just wanted to make sure ... I found it odd that 
there are examples/* for almost everything except for src.conf
Anyway .. as soon as I have some spare time, I'll try to come up with a 
src.conf that could go under /usr/share/examples/etc/ in order to avoid the 
need to go through  src.conf(5) in order to create one.

Thanks for your kind answer.
Regards

-- 
Blessings
Gonzalo Nemmi
___
freebsd-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: remove kerberos 5 from FreeBSD

2009-01-25 Thread Roland Smith
On Sun, Jan 25, 2009 at 03:05:37PM -0200, Gonzalo Nemmi wrote:
 On Sunday 25 January 2009 2:25:55 pm Roland Smith wrote:
  On Sun, Jan 25, 2009 at 11:06:32AM -0500, Ansar Mohammed wrote:
   Hello All,
  
   Does anyone know how I can remove the Kerberos 5 installation from
   FreeBSD?
 
  Put 'WITHOUT_KERBEROS=true' in /etc/src.conf, and rebuild the system
  from source, as documented in the Handbook.
 

 Speaking of wich ... is there a examples/src.conf file hidden somewhere in 
 7.0-REL or do I have to create my own from scratch based on man src.conf?

You'll have to create it based on the manpage. All variables are listed
in there. The default is to have no src.conf and build a kernel/world
with everything in it.

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


pgpEh4jpEfYim.pgp
Description: PGP signature


Re: remove kerberos 5 from FreeBSD

2009-01-25 Thread Gonzalo Nemmi
On Sunday 25 January 2009 4:53:12 pm Roland Smith wrote:
 On Sun, Jan 25, 2009 at 03:05:37PM -0200, Gonzalo Nemmi wrote:
  On Sunday 25 January 2009 2:25:55 pm Roland Smith wrote:
   On Sun, Jan 25, 2009 at 11:06:32AM -0500, Ansar Mohammed wrote:
Hello All,
   
Does anyone know how I can remove the Kerberos 5 installation from
FreeBSD?
  
   Put 'WITHOUT_KERBEROS=true' in /etc/src.conf, and rebuild the system
   from source, as documented in the Handbook.
 
  Speaking of wich ... is there a examples/src.conf file hidden somewhere
  in 7.0-REL or do I have to create my own from scratch based on man
  src.conf?

 You'll have to create it based on the manpage. All variables are listed
 in there. The default is to have no src.conf and build a kernel/world
 with everything in it.

 Roland

Sure thing Roland, I understand that .. otherwise chances are user would end 
up with half a system or a crippled one .. but I was thinking on 
a /usr/share/examples/etc/src.conf that would come in handy when rebuilding 
the whole system for, say, a notebook .. when you know in advanced that 
there's a lot of stuff you won't need.

Going through src.conf(5) is ok .. but having a src.conf template already 
available and fully commented sounds better to me ...

Nothing is further from the truth than my opinions, but I still think that 
having such a file available does come in handy :)

Best Regards
-- 
Blessings
Gonzalo Nemmi
___
freebsd-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: ghostscript8 fails to build- cheerz

2009-01-25 Thread LtCdData
On Sunday 25 January 2009, Roland Smith wrote:
 On Sun, Jan 25, 2009 at 02:38:25PM +, LtCdData wrote:
  Hi
  I am having problems building ghostscript8-8.63 from ports with the below
  errorsnip
 
  : multiple definition of `gs_shared_init'
 
  ./obj/../soobj/gdevl256.o(.text+0x780): first defined here
  gmake[1]: *** [bin/../sobin/libgs.so.8.63] Error 1
  /snip
  After some googling about it seems this is an old issue with  a conflict
  between lvga256 and vgalib. The fix seems to be to build it without
  SVGAlib, but so far I have failed to get it to do. Ill assume I am doing
  something wrong here as I am not a coder. Any help with how to actually
  get ghostscript8 to build without SVGAlib would be much appreciated

 As root, go to the port directory with 'cd /usr/ports/print/ghostscript8'.
 Type 'make config' and disable the two SVGA lib drivers. You can use the
 PageUp and PageDown keys to scroll through the list of drivers. Disable
 anything you don't need. Then issue the commands 'make clean', and 'make
 install clean' to build and install the software.

 Roland

worked a charm thanks :-)

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


atacontrol software or hardware raid

2009-01-25 Thread Omer Faruk Sen
How can I detect if system has Software or hardware raid? Since in manual page:

 The atacontrol command can also be used to create purely software RAID
 arrays in systems that do NOT have a real hardware RAID card such as a
 Highpoint or Promise card.  A common scenario is a 1U server such as the
 HP DL320 G4 or G5.  These servers contain a SATA controller that has 2
 channels that can contain 2 disks per channel, but the servers are wired
 to only place a single SATA drive on each channel.

Or how can I find out if the hardware is real hardware RAID card?
For example my system has following dmesg output:

ad4: 152627MB Seagate ST3160815AS 4.AAB at ata2-master SATA300
ad6: 152627MB Seagate ST3160815AS 4.AAB at ata3-master SATA300
ar0: 152625MB Intel MatrixRAID RAID1 status: READY
ar0: disk0 READY (master) using ad6 at ata3-master
ar0: disk1 READY (mirror) using ad4 at ata2-master

This system is an intel server with S3210SH server board in it. While
installing system I see ad4,ad6 and ar0 as harddrives in sysinstall. I
choose to install ar0.

Additionally as far as I see ar0 is very susceptible to errors since a
single CRC error can break the RAID consistency is that normal?  I
really appreciate those who uses such a kind of RAID1

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


Buildworld error

2009-01-25 Thread Terry

I am trying to upgrade from 7.0-STABLE to 7.1 Release.
I used RELENG_7_1 as my cvsup tag.

But no matter what I try I get error's during make buildworld

---

/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/sched-ebb.c: In 
function 'schedule_ebbs':
/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/sched-ebb.c:542: 
internal compiler error: in find_idf, at tree-into-ssa.c:1040

Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://gcc.gnu.org/bugs.html for instructions.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/cc/cc_int.
*** Error code 1
--

I did read on google that one person got around it by installing ccache 
but it didnt work for me


also the error is not all ways the same

--
/include  -c asn1_HostAddress.c -o asn1_HostAddress.So
asn1_HostAddress.c: In function 'decode_HostAddress':
asn1_HostAddress.c:52: internal compiler error: in find_idf, at 
tree-into-ssa.c:1040

Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://gcc.gnu.org/bugs.html for instructions.
*** Error code 1

Stop in /usr/src/kerberos5/lib/libasn1.
-
The machine runs fine and ports build with no problems.
Any info welcome
Thanks

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


Re: coretemp for AMD?

2009-01-25 Thread Chris Whitehouse

Josh Carroll wrote:

On Sun, Jan 25, 2009 at 11:21 AM, Chris Whitehouse cwhi...@onetel.com wrote:

Hello,

Can I read cpu die temperature for my AMD Athlon 64 X2 cpu with coretemp?
According to

http://www.alcpu.com/CoreTemp/supportlist.html

it includes AMD processors but when I load coretemp.ko sysctl still can't
see dev.cpu.?.temperature.

Is this even the same coretemp as the website talks about windows a lot?

This is on FreeBSD 7.1-PRERELEASE #1: Tue Dec 16 18:28:48 GMT 2008 with
GENERIC kernel.


For (supported) AMD processors, check out k8temp(4).


That's it thank you!

Chris

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


Re: freebsd-questions Digest, Vol 246, Issue 51

2009-01-25 Thread Bob Falanga
 
 
---Original Message---
 
From: freebsd-questions-requ...@freebsd.org
Date: 1/24/2009 5:47:01 PM
To: freebsd-questions@freebsd.org
Subject: freebsd-questions Digest, Vol 246, Issue 51
 
Send freebsd-questions mailing list submissions to
  freebsd-questions@freebsd.org
 
To subscribe or unsubscribe via the World Wide Web, visit
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
or, via email, send a message with subject or body 'help' to
  freebsd-questions-requ...@freebsd.org
 
You can reach the person managing the list at
  freebsd-questions-ow...@freebsd.org
 
When replying, please edit your Subject line so it is more specific
than Re: Contents of freebsd-questions digest...
 
 
Today's Topics:
 
   1. default CFLAGS (Saifi Khan)
   2. Re: port openoffice.org-devl (3.1.20081224) installs fine but
  does not run (Sergio de Almeida Lenzi)
   3. Re: flashplugin7 doesn't play video (Wojciech Puchar)
   4. Re: default CFLAGS (RW)
   5. Re: opera 9.63 installation and Qt version (Saifi Khan)
   6. Re: Registry corrupt? (Jack L. Stone)
   7. Re: default CFLAGS (RW)
   8. Re: Registry corrupt? (Robert Huff)
   9. Re: Registry corrupt? (Jack L. Stone)
  10. Re: Start-up of freeBSD need help with one question.
  (Lowell Gilbert)
  11. Re: x11-toolkits/linux-gtk2 problem/question. (Lowell Gilbert)
  12. Re: Registry corrupt? (Jack L. Stone)
  13. Healtd (Graeme Dargie)
  14. Re: port openoffice.org-devl (3.1.20081224) installs fine but
  does not run (Matthias Apitz)
  15. Re: default CFLAGS (Morgan Wesstr?m)
  16. Re: opera 9.63 installation and Qt version (Paul B. Mahol)
  17. Re: Registry corrupt? (Daniel Bye)
  18. Re: default CFLAGS (RW)
  19. Re: jdk16 (Frank Shute)
  20. Re: x11-toolkits/linux-gtk2 problem/question. (Jimmie James)
  21. Re: default CFLAGS (Pojken Purken)
  22. Sharing ports hierarchy via NFS to different arch/versions.
  (Doug Poland)
  23. Re: default CFLAGS (Saifi Khan)
  24. Re: default CFLAGS (Morgan Wesstr?m)
  25. Re: Registry corrupt? (Wojciech Puchar)
  26. Re: how to scrollback in terminal (Tim Judd)
  27. Re: Registry corrupt? (Tim Judd)
  28. Re: swap_pager complaints but not using swap (Tim Judd)
  29. Re: default CFLAGS (RW)
  30. Re: mounting Nokia N95 (Warren Liddell)
  31. Re: default CFLAGS (Morgan Wesstr?m)
  32. Re: swap_pager complaints but not using swap (Kris Kennaway)
 
 
--
 
Message: 1
Date: Sat, 24 Jan 2009 17:35:38 + (GMT)
From: Saifi Khan saifi.k...@twincling.org
Subject: default CFLAGS
To: FreeBSD Questions freebsd-questions@freebsd.org
Message-ID: pine.lnx.4.64.0901241734020.6...@localhost
Content-Type: TEXT/PLAIN; charset=US-ASCII
 
Hi all:
 
What is the default CFLAGS if *no* CFLAGS has been specified in
/etc/make.conf ?
 
As an example, let us consider a FreeBSD 7.1 system running on a
Intel Celeron M.
 
thanks
Saifi.
 
 
--
 
Message: 2
Date: Sat, 24 Jan 2009 10:13:32 -0200
From: Sergio de Almeida Lenzi le...@k1.com.br
Subject: Re: port openoffice.org-devl (3.1.20081224) installs fine but
  does not run
To: Matthias Apitz g...@unixarea.de, freebsd-questions
  questi...@freebsd.org
Message-ID: 1232799212.7222.10.ca...@lenzix.cwb.casa
Content-Type: text/plain
 
Hello...
 
 
It is because the installation (the makefile is wrong, it install the
binary /usr/local/openoffice.org/openoffice.org3/program/soffice
as a copy of soffice.bin)
it must install it as a shell script that fixes the loader path.
here is the shell script (named soffice).
copy over the binary soffice and make it executable
here it runs fine...   FreeBSD amd64.
=
#!/bin/sh
#*
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2008 by Sun Microsystems, Inc.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# $RCSfile: soffice.sh,v $
#
# $Revision: 1.34 $
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public
License
# version 3 along with OpenOffice.org.  If not, see
# http://www.openoffice.org/license.html
# for a copy of the LGPLv3 License.
#
#*
 
#
# STAR_PROFILE_LOCKING_DISABLED=1
# export STAR_PROFILE_LOCKING_DISABLED
#
 
# file locking now 

Re: coretemp for AMD?

2009-01-25 Thread Mike Clarke
On Sunday 25 January 2009, Josh Carroll wrote:

 For (supported) AMD processors, check out k8temp(4).

That gives very odd results for me:

curlew:/home/mike% sudo k8temp
CPU 0 Core 0 Sensor 0: 13c
CPU 0 Core 0 Sensor 1: 11c
CPU 0 Core 1 Sensor 0: 19c
CPU 0 Core 1 Sensor 1: 2c

Those are all well below room temperature!

But ...

curlew:/home/mike% sysctl hw.acpi.thermal.tz0.temperature
hw.acpi.thermal.tz0.temperature: 28.0C

Which is just a bit below the temperature reported by the BIOS (31C) 
when I rebooted about 30 minutes ago. I have powerd running and it's 
pulled the CPU frequency down from 2500 to 1000. Turning off powerd 
pushes the temperature up to 30C.

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


snd_hda no sound; device hints question

2009-01-25 Thread Eitan Adler
I have the snd_hda driver which creates /dev/dsp0.0 and /dev/sndstat but
I get no sound when I do cat /bin/sh  /dev/dsp0.0.
I know I need to change device hints etc. but I'm not sure to which ones.
/dev/sndstat attached with verbose level 3

FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
Installed devices:
pcm0: HDA Realtek ALC888 PCM #0 Analog at cad 0 nid 1 on hdac0 kld
snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex default)
[pcm0:play:dsp0.p0]: spd 48000, fmt 0x1010, flags 0x00101000,
0x0020
interrupts 218, underruns 0, feed 218, ready 0
[b:4096/2048/2|bs:4096/2048/2]
{userland} - feeder_vchan(0x1010) - feeder_volume(0x1010) -
{hardware}
pcm0:play:dsp0.p0[pcm0:virtual:dsp0.vp0]: spd 8000/48000, fmt
0x0008/0x1010, flags 0x1000, 0x0008
interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:4096/128/32]
{userland} - feeder_root(0x0008) - feeder_8to16(0x0008 -
0x0080) - feeder_rate(8000 - 48000) -
feeder_monotostereo16(0x0080 - 0x1080) -
feeder_sign16(0x1080 - 0x1010) - {hardware}
[pcm0:record:dsp0.r0]: spd 48000, fmt 0x1010, flags 0x00101000,
0x
interrupts 0, overruns 0, feed 0, hfree 4096, sfree 4096
[b:4096/2048/2|bs:4096/2048/2]
{hardware} - feeder_root(0x1010) - feeder_vchan(0x1010) -
{userland}
pcm0:record:dsp0.r0[pcm0:virtual:dsp0.vr0]: spd 0, fmt
0x/0x0008, flags 0x1000, 0x
interrupts 0, overruns 0, feed 0, hfree 0, sfree 0 [b:0/0/0|bs:0/0/0]
{hardware} - feeder_root(0x) - {userland}
pcm1: HDA Realtek ALC888 PCM #1 Analog at cad 0 nid 1 on hdac0 kld
snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex)
[pcm1:play:dsp1.p0]: spd 48000, fmt 0x1010, flags 0x00101000,
0x0020
interrupts 0, underruns 0, feed 0, ready 0 
[b:4096/2048/2|bs:4096/2048/2]
{userland} - feeder_vchan(0x1010) - feeder_volume(0x1010) -
{hardware}
pcm1:play:dsp1.p0[pcm1:virtual:dsp1.vp0]: spd 0, fmt
0x/0x0008, flags 0x1000, 0x
interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:0/0/0]
{userland} - feeder_root(0x) - {hardware}
[pcm1:record:dsp1.r0]: spd 48000, fmt 0x1010, flags 0x00101000,
0x
interrupts 0, overruns 0, feed 0, hfree 4096, sfree 4096
[b:4096/2048/2|bs:4096/2048/2]
{hardware} - feeder_root(0x1010) - feeder_vchan(0x1010) -
{userland}
pcm1:record:dsp1.r0[pcm1:virtual:dsp1.vr0]: spd 0, fmt
0x/0x0008, flags 0x1000, 0x
interrupts 0, overruns 0, feed 0, hfree 0, sfree 0 [b:0/0/0|bs:0/0/0]
{hardware} - feeder_root(0x) - {userland}
pcm2: HDA Realtek ALC888 PCM #2 Digital at cad 0 nid 1 on hdac0 kld
snd_hda [MPSAFE] (1p:1v/0r:0v channels)
[pcm2:play:dsp2.p0]: spd 48000, fmt 0x1010, flags 0x00101000,
0x
interrupts 0, underruns 0, feed 0, ready 0 
[b:4096/2048/2|bs:4096/2048/2]
{userland} - feeder_vchan(0x1010) - {hardware}
pcm2:play:dsp2.p0[pcm2:virtual:dsp2.vp0]: spd 0, fmt
0x/0x0008, flags 0x1000, 0x
interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:0/0/0]
{userland} - feeder_root(0x) - {hardware}

File Versions:
$FreeBSD$
$FreeBSD$
-- 
Eitan Adler
Security is increased by designing for the way humans actually behave.
-Jakob Nielsen
___
freebsd-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: atacontrol software or hardware raid

2009-01-25 Thread Josh Paetzel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Omer Faruk Sen wrote:
 How can I detect if system has Software or hardware raid? Since in manual 
 page:
 
  The atacontrol command can also be used to create purely software RAID
  arrays in systems that do NOT have a real hardware RAID card such as a
  Highpoint or Promise card.  A common scenario is a 1U server such as the
  HP DL320 G4 or G5.  These servers contain a SATA controller that has 2
  channels that can contain 2 disks per channel, but the servers are wired
  to only place a single SATA drive on each channel.
 
 Or how can I find out if the hardware is real hardware RAID card?
 For example my system has following dmesg output:
 
 ad4: 152627MB Seagate ST3160815AS 4.AAB at ata2-master SATA300
 ad6: 152627MB Seagate ST3160815AS 4.AAB at ata3-master SATA300
 ar0: 152625MB Intel MatrixRAID RAID1 status: READY
 ar0: disk0 READY (master) using ad6 at ata3-master
 ar0: disk1 READY (mirror) using ad4 at ata2-master
 
 This system is an intel server with S3210SH server board in it. While
 installing system I see ad4,ad6 and ar0 as harddrives in sysinstall. I
 choose to install ar0.
 
 Additionally as far as I see ar0 is very susceptible to errors since a
 single CRC error can break the RAID consistency is that normal?  I
 really appreciate those who uses such a kind of RAID1
 
 Regards.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

ar RAID devices are almost always software/BIOS RAID.  In this case
intel matrix raid is software RAID provided by the system BIOS.  The
disadvantages of using it is your RAID array isn't portable to machines
that don't have the same BIOS raid implimentation.

One of the advantages of BIOS RAID is that you can boot from stripes,
which you aren't doing anyways.

You'll probably find that disabling the motherboard RAID and creating a
gmirror device is a better option for software RAID 1.

- --
Thanks,

Josh Paetzel

PGP: 8A48 EF36 5E9F 4EDA 5ABC 11B4 26F9 01F1 27AF AECB
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkl81jYACgkQJvkB8Sevrsu1swCcCCq6/cG0WYajBvutibgvhIaA
kn8An27y/SPbEKzRyaWntfZV95z/UJia
=k2Gx
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: atacontrol software or hardware raid

2009-01-25 Thread Josh Paetzel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Omer Faruk Sen wrote:
 How can I detect if system has Software or hardware raid? Since in manual 
 page:
 
  The atacontrol command can also be used to create purely software RAID
  arrays in systems that do NOT have a real hardware RAID card such as a
  Highpoint or Promise card.  A common scenario is a 1U server such as the
  HP DL320 G4 or G5.  These servers contain a SATA controller that has 2
  channels that can contain 2 disks per channel, but the servers are wired
  to only place a single SATA drive on each channel.
 
 Or how can I find out if the hardware is real hardware RAID card?
 For example my system has following dmesg output:
 
 ad4: 152627MB Seagate ST3160815AS 4.AAB at ata2-master SATA300
 ad6: 152627MB Seagate ST3160815AS 4.AAB at ata3-master SATA300
 ar0: 152625MB Intel MatrixRAID RAID1 status: READY
 ar0: disk0 READY (master) using ad6 at ata3-master
 ar0: disk1 READY (mirror) using ad4 at ata2-master
 
 This system is an intel server with S3210SH server board in it. While
 installing system I see ad4,ad6 and ar0 as harddrives in sysinstall. I
 choose to install ar0.
 
 Additionally as far as I see ar0 is very susceptible to errors since a
 single CRC error can break the RAID consistency is that normal?  I
 really appreciate those who uses such a kind of RAID1
 
 Regards.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

ar RAID devices are almost always software/BIOS RAID.  In this case
intel matrix raid is software RAID provided by the system BIOS.  The
disadvantages of using it is your RAID array isn't portable to machines
that don't have the same BIOS raid implimentation.

One of the advantages of BIOS RAID is that you can boot from stripes,
which you aren't doing anyways.

You'll probably find that disabling the motherboard RAID and creating a
gmirror device is a better option for software RAID 1.

- --
Thanks,

Josh Paetzel

PGP: 8A48 EF36 5E9F 4EDA 5ABC 11B4 26F9 01F1 27AF AECB
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkl81jYACgkQJvkB8Sevrsu1swCcCCq6/cG0WYajBvutibgvhIaA
kn8An27y/SPbEKzRyaWntfZV95z/UJia
=k2Gx
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


make -jN build with portmaster

2009-01-25 Thread cpghost
To build ports in parallel on a 4 core machine, I usually
do this manually:

  # cd /usr/ports/some/port
  # make configure  make -j5 build  make install clean

because all steps except make build are not compatible
with -jN (some ports don't work with -jN in the make build
phase either, but they are quite rare).

Now, is there a way to teach portmaster to build or rebuild
ports this way? The only workaround for now is something
like:

  # cd /usr/ports/some/port
  # make configure  make -j5 build
  # portmaster -b -d -C name-of-some/port-in-pkg-var-db

which doesn't clean up some/port/work before building,
thus using the manual parallel step before.

So, how can portmaster run 'make -jN build' instead of
simple 'make build'?

(I know about portmaster's -m option, but passing -jN to
it won't work, as it would also try to apply this to other
phases than make build).

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: atacontrol software or hardware raid

2009-01-25 Thread Wojciech Puchar


ar RAID devices are almost always software/BIOS RAID.  In this case
intel matrix raid is software RAID provided by the system BIOS.  The


it's always better to use gmirror. not mentioning more flexibility (you do 
not have to mirror whole drives)

___
freebsd-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:Buildworld error

2009-01-25 Thread Terry

I am trying to upgrade from 7.0-STABLE to 7.1 Release.
I used RELENG_7_1 as my cvsup tag.

But no matter what I try I get error's during make buildworld

---

/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/sched-ebb.c: In 
function 'schedule_ebbs':
/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/sched-ebb.c:542: 
internal compiler error: in find_idf, at tree-into-ssa.c:1040

Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://gcc.gnu.org/bugs.html for instructions.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/cc/cc_int.
*** Error code 1
--

I did read on google that one person got around it by installing ccache 
but it didnt work for me


also the error is not all ways the same

--
/include  -c asn1_HostAddress.c -o asn1_HostAddress.So
asn1_HostAddress.c: In function 'decode_HostAddress':
asn1_HostAddress.c:52: internal compiler error: in find_idf, at 
tree-into-ssa.c:1040

Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://gcc.gnu.org/bugs.html for instructions.
*** Error code 1

Stop in /usr/src/kerberos5/lib/libasn1.
-
The machine runs fine and ports build with no problems.
Any info welcome


Forgot to mention I have tried the steps in the handbook 


# chflags -R noschg /usr/obj/usr
# rm -rf /usr/obj/usr
# cd /usr/src
# make cleandir
# make cleandir


Thanks

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


hex editors, disk info

2009-01-25 Thread Alex Karpovic
Friends,

I need a hex editor able to work directly with disks, preferably
those, which can be started without X.
I tried hexcurse, chexedit, bpatch - and it seems that they are unable
to open /dev/something.

Also, I would like to know about a tool to show low-level disk
information. For example, how can I see a number of sectors available?
___
freebsd-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: make -jN build with portmaster

2009-01-25 Thread Josh Carroll
On Sun, Jan 25, 2009 at 4:44 PM, cpghost cpgh...@cordula.ws wrote:
 To build ports in parallel on a 4 core machine, I usually
 do this manually:

  # cd /usr/ports/some/port
  # make configure  make -j5 build  make install clean

 because all steps except make build are not compatible
 with -jN (some ports don't work with -jN in the make build
 phase either, but they are quite rare).

 Now, is there a way to teach portmaster to build or rebuild
 ports this way? The only workaround for now is something
 like:

What I do is the following via make.conf, which will work for
portmaster/portupgrade or manual builds:

# set MAKE_ARGS for the build target(s)
.if !(make(*install) || make(package))
MAKE_ARGS+=-j8
.endif

Then as you find ports that don't build properly, add an entry like this:

# some ports don't like -j8, so we can undo the MAKE_ARGS addition for those
.if ${.CURDIR:M*/multimedia/mplayer}
MAKE_ARGS:=${MAKE_ARGS:C/-j8//}
.endif

It's a bit of a hack, but I've had decent success with this. Enough
ports fail to build with -jX, that I'd never do the above on a
production machine, especially since it's possible for some sort of
silent error that produces an unpredictable binary. But for my home
machine, I've been pretty happy with it.

Regards,
Josh
___
freebsd-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 are the Zionist leaders in Israel so happy about the new President?

2009-01-25 Thread Da Rock
On Sun, 2009-01-25 at 18:57 +0100, Wojciech Puchar wrote:
  Why is the President of Israel, the terrorist who just oversaw the Zionist 
  mass murder and maiming of thousands of Palestinians so happy
  that Obama is President of the USA?
  by David Duke
 because he use FreeBSD?

ROFL

___
freebsd-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 are the Zionist leaders in Israel so happy about the newPresident?

2009-01-25 Thread Glen Barber
 Why don't you bring your hatred outta here. This is a family-oriented channel.

 Next time, even when you put OOT label on subject, I still will call it crap.

 If you name me Jewish lover, well, I'm Asian, that means I'm a chink. But 
 it's Mr. Chink to you, thank you very much.


Mark it as spam and move on.

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


Re: coretemp for AMD?

2009-01-25 Thread Chris Whitehouse

Mike Clarke wrote:

On Sunday 25 January 2009, Josh Carroll wrote:


For (supported) AMD processors, check out k8temp(4).


That gives very odd results for me:

curlew:/home/mike% sudo k8temp
CPU 0 Core 0 Sensor 0: 13c
CPU 0 Core 0 Sensor 1: 11c
CPU 0 Core 1 Sensor 0: 19c
CPU 0 Core 1 Sensor 1: 2c

Those are all well below room temperature!

But ...

curlew:/home/mike% sysctl hw.acpi.thermal.tz0.temperature
hw.acpi.thermal.tz0.temperature: 28.0C

Which is just a bit below the temperature reported by the BIOS (31C) 
when I rebooted about 30 minutes ago. I have powerd running and it's 
pulled the CPU frequency down from 2500 to 1000. Turning off powerd 
pushes the temperature up to 30C.


It works for me, I ran it and sysctl hw.acpi.thermal.tz0.temperature 
every 2 seconds in a while loop and cpu temperatures follow cpu activity 
closely and change in 1deg steps between about 25deg and 42deg. When I 
rebooted and checked temperature in the BIOS it was pretty much the same 
as what k8temp was saying just previously. 
hw.acpi.thermal.tz0.temperature is fixed on 40deg even with high cpu 
activity.


Maybe your processor is not supported?

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


Re: make -jN build with portmaster

2009-01-25 Thread cpghost
On Sun, Jan 25, 2009 at 05:22:04PM -0500, Josh Carroll wrote:
 On Sun, Jan 25, 2009 at 4:44 PM, cpghost cpgh...@cordula.ws wrote:
  To build ports in parallel on a 4 core machine, I usually
  do this manually:
 
   # cd /usr/ports/some/port
   # make configure  make -j5 build  make install clean
 
  because all steps except make build are not compatible
  with -jN (some ports don't work with -jN in the make build
  phase either, but they are quite rare).
 
  Now, is there a way to teach portmaster to build or rebuild
  ports this way? The only workaround for now is something
  like:
 
 What I do is the following via make.conf, which will work for
 portmaster/portupgrade or manual builds:
 
 # set MAKE_ARGS for the build target(s)
 .if !(make(*install) || make(package))
 MAKE_ARGS+=-j8
 .endif
 
 Then as you find ports that don't build properly, add an entry like this:
 
 # some ports don't like -j8, so we can undo the MAKE_ARGS addition for those
 .if ${.CURDIR:M*/multimedia/mplayer}
 MAKE_ARGS:=${MAKE_ARGS:C/-j8//}
 .endif

That's a good hint indeed. I'll try it. Maybe I'll modify it a bit to
include ONLY the build target, because -jN fails on nearly every
other target, AFAICS.

 It's a bit of a hack, but I've had decent success with this. Enough
 ports fail to build with -jX, that I'd never do the above on a
 production machine, especially since it's possible for some sort of
 silent error that produces an unpredictable binary. But for my home
 machine, I've been pretty happy with it.

Yes, that's true, and it could happen. But I don't remember having
had a port compile, yet silently fail, yet. (*knocking-on-wood*). ;)

 Regards,
 Josh

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: coretemp for AMD?

2009-01-25 Thread Tore Lund
Mike Clarke wrote:
 But I get sensible looking results for my Athlon 64 X2 4850e with the 
 following command:
 
   sysctl hw.acpi.thermal.tz0.temperature

For some reason it works on your 4850e.  But for some of us this command
does not work.  It never reports anything but 40 C on my Athlon 64 X2
6000+.  sysutils/k8temp, however, reports 20 C /28 C.
-- 
Tore

___
freebsd-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: Buildworld error

2009-01-25 Thread Glen Barber
On Sun, Jan 25, 2009 at 1:56 PM, Terry te...@bluelight.org.uk wrote:
 I am trying to upgrade from 7.0-STABLE to 7.1 Release.
 I used RELENG_7_1 as my cvsup tag.

 But no matter what I try I get error's during make buildworld

 ---

 /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/sched-ebb.c: In
 function 'schedule_ebbs':
 /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/sched-ebb.c:542:
 internal compiler error: in find_idf, at tree-into-ssa.c:1040
 Please submit a full bug report,
 with preprocessed source if appropriate.
 See URL:http://gcc.gnu.org/bugs.html for instructions.
 *** Error code 1

 Stop in /usr/src/gnu/usr.bin/cc/cc_int.
 *** Error code 1
 --

 I did read on google that one person got around it by installing ccache but
 it didnt work for me

 also the error is not all ways the same

 --
 /include  -c asn1_HostAddress.c -o asn1_HostAddress.So
 asn1_HostAddress.c: In function 'decode_HostAddress':
 asn1_HostAddress.c:52: internal compiler error: in find_idf, at
 tree-into-ssa.c:1040
 Please submit a full bug report,
 with preprocessed source if appropriate.
 See URL:http://gcc.gnu.org/bugs.html for instructions.
 *** Error code 1

 Stop in /usr/src/kerberos5/lib/libasn1.

Do you have anything obscure in make.conf ?  When it fails in
succession, does it fail *after* the last point of failure, or is it
randomized?  When was your last c(v)sup?


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


Re: Newbie: offline package use / XFCE.

2009-01-25 Thread Thomas W. Holloway
On Tue, 20 Jan 2009 18:16:45 -0500, Manolis Kiagias  
sonic200...@gmail.com wrote:



As a side note, I have a machine specifically for building packages and
it just happens that I finished a complete build run today (for FreeBSD
7.1 32bit). This includes XFCE, Xorg, Gnome + power tools + fifth toe,
KDE4 (4.1 actually) and few other things. More than 1.5G of packages.  I
could possibly upload just the XFCE + dependencies packages somewhere so
you can download them and use them. Contact me directly if you wish to
go down that route.


Let me take this opportunity to express my sincere thanks to Mr. Kiagias  
for his (offline) assistance with this. In the process, we seem to have  
uncovered a small bug: pkg_add -n apparently does not check properly for  
_local_ dependencies. Being a newb, I leave any bug reporting to Mr.  
Kiagias.


Thanks again to Mr. Kiagias and the list.

regards,

Tom Holloway


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


Re: Newbie: offline package use / XFCE.

2009-01-25 Thread Manolis Kiagias
Thomas W. Holloway wrote:
 On Tue, 20 Jan 2009 18:16:45 -0500, Manolis Kiagias
 sonic200...@gmail.com wrote:

 As a side note, I have a machine specifically for building packages and
 it just happens that I finished a complete build run today (for FreeBSD
 7.1 32bit). This includes XFCE, Xorg, Gnome + power tools + fifth toe,
 KDE4 (4.1 actually) and few other things. More than 1.5G of packages.  I
 could possibly upload just the XFCE + dependencies packages somewhere so
 you can download them and use them. Contact me directly if you wish to
 go down that route.

 Let me take this opportunity to express my sincere thanks to Mr.
 Kiagias for his (offline) assistance with this. In the process, we
 seem to have uncovered a small bug: pkg_add -n apparently does not
 check properly for _local_ dependencies. Being a newb, I leave any bug
 reporting to Mr. Kiagias.

 Thanks again to Mr. Kiagias and the list.

 regards,

 Tom Holloway

Thanks Tom.
Problem report submitted already!
___
freebsd-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: hex editors, disk info

2009-01-25 Thread Bruce Cran
On Sun, 25 Jan 2009 23:51:45 +0200
Alex Karpovic alekar2...@gmail.com wrote:

 I need a hex editor able to work directly with disks, preferably
 those, which can be started without X.
 I tried hexcurse, chexedit, bpatch - and it seems that they are unable
 to open /dev/something.

Have you tried /usr/bin/hd? It seems it doesn't have any problem opening
disk devices.

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


can i split a pdf file?

2009-01-25 Thread Gary Kline
Folks,

Is there a way to split a large pdf file into smaller [ say 1MB ]
chunks?  Or are there open source tools out there that i can
build?  

thanks in advance,

gary


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

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


Fwd: hex editors, disk info

2009-01-25 Thread Alex Karpovic
 I need a hex editor able to work directly with disks, preferably
 those, which can be started without X.
 I tried hexcurse, chexedit, bpatch - and it seems that they are unable
 to open /dev/something.

 Have you tried /usr/bin/hd? It seems it doesn't have any problem opening
 disk devices.

Bruce, hd is suitable for viewing only. I need *editing* tool.
___
freebsd-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: can i split a pdf file?

2009-01-25 Thread cpghost
On Sun, Jan 25, 2009 at 04:18:26PM -0800, Gary Kline wrote:
   Folks,
 
   Is there a way to split a large pdf file into smaller [ say 1MB ]
   chunks?  Or are there open source tools out there that i can
   build?  
   
   thanks in advance,
 
   gary

To split the file, use split(1):

  $ split -b 1M file.pdf file-chunk

See man split.

But you won't be able to view the chunks separately,
because, well, they aren't PDF files anymore. ;-)
For this, you'd prefer to split the PDF file after
N pages. You may want to investigate print/pdftk:

From /usr/ports/print/pdftk/pkg-descr:

  If PDF is electronic paper, then pdftk is an electronic staple-remover,
  hole-punch, binder, secret-decoder-ring, and X-Ray-glasses.
  Pdftk is a simple tool for doing everyday things with PDF documents.
  Keep one in the top drawer of your desktop and use it to:
  
  Merge PDF Documents
  Split PDF Pages into a New Document
  Decrypt Input as Necessary (Password Required)
  Encrypt Output as Desired
  Burst a PDF Document into Single Pages
  Report on PDF Metrics, including Metadata and Bookmarks
  Uncompress and Re-Compress Page Streams
  Repair Corrupted PDF (Where Possible)
  
  Pdftk is also an example of how to use a library of Java classes
  in a stand-alone C++ program. Specifically, it demonstrates how GCJ and CNI
  allow C++ code to use iText's (itext-paulo) Java classes.
  
  WWW: http://www.accesspdf.com/pdftk/

There are also other less heavy-weight programs to extract
pages and page-ranges from a PDF and PostScript file...

-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 create a DVD backup filesystem?

2009-01-25 Thread Gary Kline
On Sun, Jan 25, 2009 at 03:18:43AM +0100, Polytropon wrote:
 On Sat, 24 Jan 2009 17:56:33 -0800, Gary Kline kl...@thought.org wrote:
  Now that I have 
  
  cdr.iso:ISO 9660 CD-ROM filesystem data 'CDROM 
  642848 -rw-r--r--   1 kline  wheel  657922048 Jan 24 15:34 cdr.iso
  
  what is the safest command to use to burn to 1. a CD, and 2. a
  DVD?  Since `file' says that cdr.iso is a filesystem, I'm
  assuming that I don't need to grow or newfs anything on the disc.
 
 You're right. It is a pre-mastered file system that just needs to be
 recorded onto a media. The size 657922048 indicates that it would fit
 onto a regular CD-R.
 
 
 
  cdrdao seems like more toward audio, so i'm guessing that it's
  either cdrecord or burncd.  I'll share my shell script once it
  works on both media.
 
 Yes, both will work, and yes, cdrdao is better for audio or mixed
 forms (allthough it can burn data ISO, too, but I don't know how,
 out of the box). :-)
 
 You may follow my examples from Date: Sun, 25 Jan 2009 02:53:46 +0100.
 
 I'm a lazy guy, so I've setup the following aliases in /etc/csh.cshrc:
 
   alias   burndata'cdrecord dev=1,0,0 speed=16 -v -eject -tao 
 -data'
   alias   burnaudio   'cdrecord dev=1,0,0 speed=16 -v -eject -dao 
 -audio'
   alias   burntoc 'cdrdao write --driver generic-mmc-raw --device 
 1,0,0 --speed 16 --eject'
 
 And I've got a shell script burndvd in ~/bin (included in $PATH):
 
   #!/bin/sh
 
   if [ $1 =  ]; then
   echo $0 iso
   exit 1
   fi
 
   if [ ! -f $1 ]; then
   echo $0: cannot open $1
   exit 1
   fi
 
   growisofs -dvd-compat -Z /dev/dvd=$1
   cdcontrol eject
 
 I know this is *very* lazy stuff, but it works, and I never change
 a running system. :-)
 
 
 

Yo! thanks!   

:-)


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

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

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


Re: can i split a pdf file?

2009-01-25 Thread Wojciech Puchar

Folks,

Is there a way to split a large pdf file into smaller [ say 1MB ]
chunks?  Or are there open source tools out there that i can
build?

as every other file. use split.

or you meant splitting to separate pdf by some pages?

convert to ps (pdf2ps)
then use mpage to extract pages
then make pdf back
___
freebsd-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: can i split a pdf file?

2009-01-25 Thread Wojciech Puchar

because, well, they aren't PDF files anymore. ;-)
For this, you'd prefer to split the PDF file after
N pages. You may want to investigate print/pdftk:


From /usr/ports/print/pdftk/pkg-descr:


 If PDF is electronic paper, then pdftk is an electronic staple-remover,
 hole-punch, binder, secret-decoder-ring, and X-Ray-glasses.
 Pdftk is a simple tool for doing everyday things with PDF documents.
 Keep one in the top drawer of your desktop and use it to:


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


Re: make -jN build with portmaster

2009-01-25 Thread RW
On Sun, 25 Jan 2009 23:46:54 +0100
cpghost cpgh...@cordula.ws wrote:

 That's a good hint indeed. I'll try it. Maybe I'll modify it a bit to
 include ONLY the build target, because -jN fails on nearly every
 other target, AFAICS.

Don't forget that there are two different makes; BSD make does the ports
infrastructure bit, and usually gmake (Gnu Make) does the actual build
and install in the work directory.

IIRC  MAKE_ARGS only goes to the lower-level make (gmake), and aside
from those ports that don't work with -j at all, the failure with
other targets are caused by bsd make i.e. by trying to run the whole
ports infrastructure with -j. 
___
freebsd-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 create a DVD backup filesystem?

2009-01-25 Thread Gary Kline
On Sun, Jan 25, 2009 at 03:35:44AM +0100, cpghost wrote:
 On Sat, Jan 24, 2009 at 05:56:33PM -0800, Gary Kline wrote:
  Now that I have 
  
  cdr.iso:ISO 9660 CD-ROM filesystem data 'CDROM 
  642848 -rw-r--r--   1 kline  wheel  657922048 Jan 24 15:34 cdr.iso
  
  what is the safest command to use to burn to 1. a CD, and 2. a
  DVD?  Since `file' says that cdr.iso is a filesystem, I'm
  assuming that I don't need to grow or newfs anything on the disc.
 
 In addition to the cdrecord examples shown earlier, you can also
 simply use burncd:
 
 # burncd -f /dev/acd0 -s max data cdr.iso fixate
 
 But remember one thing: don't try to mix and match accesses to
 /dev/acd0 and /dev/cd0. IIRC, there are (were?) some issues with
 using ATAPI and ATAPICAM drivers simultaneously.
 
 If you prefer to stick to ATAPICAM (recommended), use cdrecord
 to write to the virtual device represending the burner. Use
 cdrecord's -scanbus option (as root!) to find out:
 
 phenom# cdrecord -scanbus
 Cdrecord-Clone 2.01 (amd64-unknown-freebsd7.1) Copyright (C) 1995-2004
 Jörg Schilling
 Using libscg version 'schily-0.8'.
 scsibus0:
 0,0,0 0) *
 0,1,0 1) 'Optiarc ' 'DVD RW AD-7203A ' '1.01' Removable CD-ROM
 0,2,0 2) *
 0,3,0 3) *
 0,4,0 4) *
 0,5,0 5) *
 0,6,0 6) *
 0,7,0 7) *
 
 This would then be on that machine:
 
 # cdrecord -v speed=8 dev=0,1,0 cdr.iso
 
 To burn to a DVD, use growisofs, using something like this:
 
 # growisofs -dvd-compat -speed=8 -Z /dev/cd0=cdr.iso
 
 Regards,
 -cpghost.
 
 -- 
 Cordula's Web. http://www.cordula.ws/


Thanks for the clue.  I remember some sort of cmd that told me
that my second drive was (I thought) 1,1,0... but wasn't abs
certain.  Your ``cdrecord -scanbus'' did the trick::


Using libscg version 'schily-0.8'.
scsibus1:
1,0,0   100) 'PIONEER ' 'DVD-RW  DVR-112D' '1.21' Removable CD-ROM
1,1,0   101) 'LITE-ON ' 'DVDRW LH-20A1P  ' 'KL0N' Removable CD-ROM
1,2,0   102) *
1,3,0   103) *
1,4,0   104) *
1,5,0   105) *
1,6,0   106) *
1,7,0   107) *

Being new to this burning discs as backup, i didn't want to
risk trying my second burner.  (seeing smoke coming from the
drive or whatever...  ;)  Now I'm set to try.

gary




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

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


Delivering system mail

2009-01-25 Thread Rem P Roberti

I currently have to retrieve crontab generated system mail from the command
line.  Is it possible to have system mail delivered to my Thunderbird 
mail client?


Rem
___
freebsd-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: can i split a pdf file?

2009-01-25 Thread Charlie Kester

On Sun 25 Jan 2009 at 16:18:26 PST Gary Kline wrote:


Is there a way to split a large pdf file into smaller [ say 1MB ]
	chunks?  Or are there open source tools out there that i can build?  


pdfsam ( http://www.pdfsam.org/ ) does both splits and merges of pdf
files, but it doesn't seem to be in the FreeBSD ports system.

There is a pdfmerge in /usr/ports/print, but no pdfsplit.

-- Charlie


___
freebsd-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: can i split a pdf file?

2009-01-25 Thread cpghost
On Mon, Jan 26, 2009 at 01:37:08AM +0100, Wojciech Puchar wrote:
  because, well, they aren't PDF files anymore. ;-)
  For this, you'd prefer to split the PDF file after
  N pages. You may want to investigate print/pdftk:
 
  From /usr/ports/print/pdftk/pkg-descr:
 
   If PDF is electronic paper, then pdftk is an electronic staple-remover,
   hole-punch, binder, secret-decoder-ring, and X-Ray-glasses.
   Pdftk is a simple tool for doing everyday things with PDF documents.
   Keep one in the top drawer of your desktop and use it to:
 
 nice tool. thanks

Thanks. Though I prefer your solution (via mpage). pdftk
looks a bit too heavy for such a simple task. ;-)

Cheers,
-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: Registry corrupt?

2009-01-25 Thread Mel
On Saturday 24 January 2009 04:06:39 Jack L. Stone wrote:
 At 04:33 PM 1.23.2009 +0100, cpghost wrote:
 On Fri, Jan 23, 2009 at 05:56:45PM +0300, Odhiambo Washington wrote:
  On Fri, Jan 23, 2009 at 5:19 PM, Jack L. Stone

 ja...@sage-american.comwrote:
   During an upgrade from fbsd-6.3 -- fbsd-7.0, something strange
   happened. Some of the programs will not run after rehash or even when
   given the precise path to the program. System doesn't see several
   but not all programs. I've upgraded several servers (using source
   files -- cvsup) withoug any such problem. It's just this one machine.
 
 Some programs will not run because of a library version bump. Those
 programs will need to be recompiled, i.e. rebuild all ports.
 
 You can check this by running 'ldd' on the specific program. Let's
 assume that you have zip installed:
 
 $ ldd /usr/local/bin/zip
 /usr/local/bin/zip:
 libbz2.so.3 = /usr/lib/libbz2.so.3 (0x80065c000)
 libc.so.7 = /lib/libc.so.7 (0x80076c000)

 Thanks for that tip. Here's output of one of the programs that doesn't run:
 ldd /usr/local/bin/fastest_cvsup
 ldd: /usr/local/bin/fastest_cvsup: not a dynamic executable

 BUT, it is executable and using the exact path to the program still gives
 this error:
 /usr/local/bin/fastest_cvsup: not found

file /usr/bin/perl will give you the answer.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-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: can i split a pdf file?

2009-01-25 Thread Charlie Kester

On Sun 25 Jan 2009 at 16:51:56 PST Charlie Kester wrote:

On Sun 25 Jan 2009 at 16:18:26 PST Gary Kline wrote:


Is there a way to split a large pdf file into smaller [ say 1MB ]
	chunks?  Or are there open source tools out there that i can build?  


pdfsam ( http://www.pdfsam.org/ ) does both splits and merges of pdf
files, but it doesn't seem to be in the FreeBSD ports system.



Here's a suite of commandline tools for manipulating pdf's, in case you
don't want a gui:

http://multivalent.sourceforge.net/Tools/

This one uses Java, like pdfsam and pdftk.  Like pdfsam, it doesn't seem
to be in the ports tree.

-- Charlie
___
freebsd-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: remove kerberos 5 from FreeBSD

2009-01-25 Thread Mel
On Sunday 25 January 2009 10:00:01 Gonzalo Nemmi wrote:

 Going through src.conf(5) is ok .. but having a src.conf template already
 available and fully commented sounds better to me ...

 Nothing is further from the truth than my opinions, but I still think that
 having such a file available does come in handy :)

You can base all switches on /usr/share/mk/bsd.own.mk for easy typing and use 
similar logic in your src.conf:
OFF=ZFS SENDMAIL KERBEROS
.for var in ${OFF}
WITHOUT_${var}=yes
.endfor

Also, bsd.own.mk can be ahead of the man page.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-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: Delivering system mail

2009-01-25 Thread Sahil Tandon
On Sun, 25 Jan 2009, Rem P Roberti wrote:

 I currently have to retrieve crontab generated system mail from the command
 line.  Is it possible to have system mail delivered to my Thunderbird  
 mail client?

According to the cron(8) manual:

   When executing commands, any output is mailed to the owner of the crontab
   (or to the user named in the MAILTO environment variable in the crontab, 
   if such exists).

So you can configure Thunderbird to retrieve email for the user running the
crontab, or set the MAILTO environment variable within your crontab.

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


Re: jail init, but another question

2009-01-25 Thread Mel
On Sunday 25 January 2009 02:35:16 Peter Vereshagin wrote:
 Hello,

 I always try to set up the devfs ruleset in rc.conf. So my question is
 about this in /etc/defaults/rc.conf: ===
 #jail_example_devfs_ruleset=ruleset_name  # devfs ruleset to apply to
 jail ===

 It appears not to work in /etc/rc.conf without this rc.subr patch:
 ===
 $ diff -u /etc/rc.subr /usr/src/etc/rc.subr
 --- /etc/rc.subr2008-07-20 19:26:20.0 +0500
 +++ /usr/src/etc/rc.subr2008-05-12 12:29:03.0 +0500
 @@ -1242,7 +1242,7 @@
  devfs_set_ruleset()
  {
 local devdir rs _me
 -   [ -n $1 ]  eval rs=\$1 || rs=
 +   [ -n $1 ]  eval rs=\$$1 || rs=
 [ -n $2 ]  devdir=-m $2 || devdir=
 _me=devfs_set_ruleset
 ===

 And, by far the ruleset_name does not work in favour of ruleset number.

your patch broke it. eval rs=\$1 means rs will be set to the literal $1, while 
it should expand to the ruleset number, using the ruleset name, because 
devfs_rulesets_from_file sets:
eval $rulename=\$rulenum

Something else is wrong. Set rc_debug=YES in /etc/rc.conf then
/etc/rc.d/jail start example

to trace how the rulesets are evaluated.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-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: jail devfs openpty

2009-01-25 Thread Mel
On Sunday 25 January 2009 02:25:17 Peter Vereshagin wrote:
 Hello,

 I am doing the portupgrade inside my jail.
 I see that script(1) have no permission on openpty.
 I deleted all the devfs rules on tha jail's /dev both by hand and by
 deleting the ruleset string in master's rc.conf. So i stopped jail and
 mounted devfs by hand. Started jail. It appears to work, the portupgrade. I
 suppose that if mounted with /etc/rc.d/jail the devfs has some tweak that
 makes it different from mounted by hand.

Are you sure that's the problem?
When going inside a jail with jexec(8) there is no /dev/tty. You have to login 
using ssh to get fully functional tty's.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-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: dlopen Undefined symbol with x11/nvidia-driver

2009-01-25 Thread Mel
On Saturday 24 January 2009 19:05:19 EA EA wrote:
 dlopen: /usr/local/lib/xorg/modules//libwfb.so: Undefined symbol
 miZeroLineScreenIndex
 (EE) Failed to load /usr/local/lib/modules//libfw.so
 (EE) Failed to load module wfb (loader failed 7)

 Fatal server error:
 Caught sigal 11.  Server aborting

 Abort trap: 6 (core dumped)


 Any idea what is causing this or how to fix it ?

You upgraded xorg-server after nvidia-driver, which installed it's own libwfb 
over nvidia's. Reinstall nvidia-driver and the problem should go away.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-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: Wierd Port Problem

2009-01-25 Thread Mel
On Saturday 24 January 2009 16:37:08 Jeffrey R. Hellem wrote:

 [r...@server /usr/ports/databases/php5-dba]# make clean
 ===  Cleaning for php5-dba-5.2.8
 [r...@server /usr/ports/databases/php5-dba]#

 i tried make install

 [r...@server /usr/ports/databases/php5-dba]# make install
 install:

That's not supposed to happen. Can you provide:
ls -la `make -C /usr/ports/databases/php5-dba -V WRKDIR`
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-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: can i split a pdf file?

2009-01-25 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Charlie Kester wrote:
 On Sun 25 Jan 2009 at 16:18:26 PST Gary Kline wrote:

 Is there a way to split a large pdf file into smaller [ say 1MB ]
 chunks?  Or are there open source tools out there that i can build?  
 
 pdfsam ( http://www.pdfsam.org/ ) does both splits and merges of pdf
 files, but it doesn't seem to be in the FreeBSD ports system.
 
 There is a pdfmerge in /usr/ports/print, but no pdfsplit.
 

It's a very junky way to do it (but the only way I know), use pdf2ps to convert
the pdf to postscript, then you stand at least a good chance of doing the split,
which many utilities allow.  You could even do it graphically via gv.  The
problem with this (and the reason it might well fail anyhow) is because some
things that pdfs do aren't implemented in any standard postscript level I ever
heard of.  It depends how many of the more recent extensions to pdf are being
used.  I've done this, *sometimes*.

Because the pdf spec is fully published, it might one day allow someone to write
a splitter, but because the spec is SO enormous, maybe they won't, either.
Actually, that's a really good notion ... I need to give it some thought.

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

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkl9D/MACgkQz62J6PPcoOnxIQCgg+Suf4NpK8TXTNbYZIW0BCrR
fKYAn3ljinZw9s1fPG39IMpblVNg0H+N
=mGhJ
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: remove kerberos 5 from FreeBSD

2009-01-25 Thread Gonzalo Nemmi
On Sunday 25 January 2009 11:42:59 pm Mel wrote:
 On Sunday 25 January 2009 10:00:01 Gonzalo Nemmi wrote:
  Going through src.conf(5) is ok .. but having a src.conf template already
  available and fully commented sounds better to me ...
 
  Nothing is further from the truth than my opinions, but I still think
  that having such a file available does come in handy :)

 You can base all switches on /usr/share/mk/bsd.own.mk for easy typing and
 use similar logic in your src.conf:
 OFF=ZFS SENDMAIL KERBEROS
 .for var in ${OFF}
 WITHOUT_${var}=yes
 .endfor

 Also, bsd.own.mk can be ahead of the man page.

That's a _really_ good tip ...
So much so that it should probably be documented somewhere.

Thanks a lot Mel !

Regards
-- 
Blessings
Gonzalo Nemmi
___
freebsd-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: Delivering system mail

2009-01-25 Thread Gonzalo Nemmi
On Sunday 25 January 2009 11:01:11 pm Rem P Roberti wrote:
 I currently have to retrieve crontab generated system mail from the command
 line.  Is it possible to have system mail delivered to my Thunderbird
 mail client?

 Rem

On a default system, you probably want to edit /etc/aliases an make root mail 
get redirected to you ...

In order to do so, open your /etc/aliases file, look for the line that reads:

# Pretty much everything else in this file points to root, so
# you would do well in either reading root's mailbox or forwarding
# root's email from here.

root:

and edit it so it looks like this:

 # Pretty much everything else in this file points to root, so
# you would do well in either reading root's mailbox or forwarding
# root's email from here.

root:   yourusername

save the changes and run the following command as root:

newaliases

From then on, all mail directed to root (like those crontab send) will be 
forwarded to you .. so all you need to do is set up your mail client to pick 
up it's mail from /var/mail/yourusername and there you go :)

Hope that helps.

Regards
-- 
Blessings
Gonzalo Nemmi
___
freebsd-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 are the Zionist leaders in Israel so happy about the new President?

2009-01-25 Thread Chad Perrin
On Sun, Jan 25, 2009 at 06:57:48PM +0100, Wojciech Puchar wrote:
 
 Why is the President of Israel, the terrorist who just oversaw the Zionist 
 mass murder and maiming of thousands of Palestinians so happy
 that Obama is President of the USA?
 by David Duke
 because he use FreeBSD?

Man . . . if I'd known that, I might have considered voting for him.
Maybe.

-- 
Chad Perrin [ content licensed OWL: http://owl.apotheon.org ]
Quoth FreeBSD Secure Programming Guidelines: In fact, never ever use
gets() or sprintf(), period. If you do - we will send evil dwarfs after
you.


pgpA48MwRNnmK.pgp
Description: PGP signature


Re: Why are the Zionist leaders in Israel so happy about the newPresident?

2009-01-25 Thread Chad Perrin
On Sun, Jan 25, 2009 at 04:04:15PM +, Anthony M. Rasat wrote:
 Lawrence Auster wrote:
 Bla bla bla Ku Klux Klan crap.
 
 Why don't you bring your hatred outta here. This is a family-oriented channel.
 
 Next time, even when you put OOT label on subject, I still will call it crap.
 
 If you name me Jewish lover, well, I'm Asian, that means I'm a chink. But 
 it's Mr. Chink to you, thank you very much.

Technically, chink is a slur for Chinese -- not Asian in general.

Just tryin' ta help.

-- 
Chad Perrin [ content licensed OWL: http://owl.apotheon.org ]
Quoth Sterling Camden: The Church doesn't want people calling for
inquisitions.


pgpEUHWrZVNsF.pgp
Description: PGP signature


Re: dlopen Undefined symbol with x11/nvidia-driver

2009-01-25 Thread Eitan Adler
 Any idea what is causing this or how to fix it ?
 
 You upgraded xorg-server after nvidia-driver, which installed it's own libwfb 
 over nvidia's. Reinstall nvidia-driver and the problem should go away.
 
I tried both ways.  In either case the symlink was still from libwfb -
nvidia libwfb.


-- 
Eitan Adler
Security is increased by designing for the way humans actually behave.
-Jakob Nielsen
___
freebsd-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: Sharing ports hierarchy via NFS to different arch/versions.

2009-01-25 Thread Mel
On Saturday 24 January 2009 09:32:54 Doug Poland wrote:
 Hello,

 I've got a network running different versions of FreeBSD (6.3, 7.0) on
 different architectures (i386, SPARC64).

 What I'd like to do is export the ports hierarchy to all machines, but
 preserving ports/packages for each version/architecture.  I also want
 to make rebuilding indexes run as fast as possible.

 Right now, I simply exports(5) /usr/ports via NFSv3.  The problem
 comes in with INDEX files and packages.  Indexes get updated only when
 the host serving the export updates the hierarchy via portsnap update.
  If I create a package on SPARC64 and the package exists already for
 an i386 build, then I've got an issue.

 Can someone point me to a doc/google/man page that may give me some
 guidance in setting up such an environment?

The following 2 lines on each machine in /etc/make.conf should fix those 
problems:
PACKAGES=${PORTSDIR}/packages/${ARCH}
INDEXFILE=INDEX-${ARCH}-${OSVERSION:C/([0-9]).*/\1/}

Packages will end up in /usr/ports/packages/sparc64 on sparc64 machines 
and /usr/ports/packages/i386 on i386 machines etc.
Indexfiles will be named according to arch as well.

Adjust PKG_PATH in your environment if you use pkg_add(1) accordingly.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD 7.1, Xorg 7.4, Nvidia

2009-01-25 Thread Jeff Molofee
I upgrade to Xorg 7.4 yesterday, and now I can't seem to start gnome. 
For the life of me, I can't figure out what is going on. startx and X 
both start fine... (that is how I am able to type this email). But when 
starting the machine, my screen just flashes a few times and returns to 
the console. Looking at Xorg.0.log I see the same error a few others are 
getting...


dlopen: /usr/local/lib/xorg/modules//libwfb.so: Undefined symbol
miZeroLineScreenIndex
(EE) Failed to load /usr/local/lib/modules//libfw.so
(EE) Failed to load module wfb (loader failed 7)
(EE) NVIDIA(0): Need libwfb but wfbScreenInit not found

I am also not able to use Vesa or NV (both options that have worked in 
the past when having issues with the Nvidia driver).


I have read updating, and none of the advice has helped.

I have even tried the 180.22 driver.

Can anyone tell me what I need to do to get Gnome/GDM working again? I 
don't care if I have 3d, as long as I have a usuable system until 
drivers or issues are resolved.


___
freebsd-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 7.1, Xorg 7.4, Nvidia

2009-01-25 Thread Eitan Adler
Jeff Molofee wrote:
 I upgrade to Xorg 7.4 yesterday, and now I can't seem to start gnome.
 For the life of me, I can't figure out what is going on. startx and X
 both start fine... (that is how I am able to type this email). But when
 starting the machine, my screen just flashes a few times and returns to
 the console. Looking at Xorg.0.log I see the same error a few others are
 getting...
 
 dlopen: /usr/local/lib/xorg/modules//libwfb.so: Undefined symbol
 miZeroLineScreenIndex
 (EE) Failed to load /usr/local/lib/modules//libfw.so
 (EE) Failed to load module wfb (loader failed 7)
 (EE) NVIDIA(0): Need libwfb but wfbScreenInit not found
 
 I am also not able to use Vesa or NV (both options that have worked in
 the past when having issues with the Nvidia driver).
I had the exact same issue.  I played around so much I don't know
/exactly/ what helped but the following might:
1) restart hald, devd, the computer
2) use xf86-video-nv
3) run X -configure again
4) recompile xorg-server
5) These same steps in a different order.

Someone mentioned that I installed xorg after nvidia-driver which messed
up some symlink or another.  As far as I could tell this is not true.

-- 
Eitan Adler
Security is increased by designing for the way humans actually behave.
-Jakob Nielsen
___
freebsd-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: dlopen Undefined symbol with x11/nvidia-driver

2009-01-25 Thread Mel
On Sunday 25 January 2009 17:46:20 Eitan Adler wrote:
  Any idea what is causing this or how to fix it ?
 
  You upgraded xorg-server after nvidia-driver, which installed it's own
  libwfb over nvidia's. Reinstall nvidia-driver and the problem should go
  away.

 I tried both ways.  In either case the symlink was still from libwfb -
 nvidia libwfb.

Judging from a google search on miZeroLineScreenIndex, the fix needs to come 
from nvidia, as xorg yet again broke ABI.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-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: Delivering system mail

2009-01-25 Thread Rem P Roberti

On Sunday 25 January 2009 11:01:11 pm Rem P Roberti wrote:
  

I currently have to retrieve crontab generated system mail from the command
line.  Is it possible to have system mail delivered to my Thunderbird
mail client?

Rem


On a default system, you probably want to edit /etc/aliases an make root mail 
get redirected to you ...

In order to do so, open your /etc/aliases file, look for the line that reads:

# Pretty much everything else in this file points to root, so
# you would do well in either reading root's mailbox or forwarding
# root's email from here.

root:

and edit it so it looks like this:

 # Pretty much everything else in this file points to root, so
# you would do well in either reading root's mailbox or forwarding
# root's email from here.

root:   yourusername

save the changes and run the following command as root:

newaliases

From then on, all mail directed to root (like those crontab send) will be 
forwarded to you .. so all you need to do is set up your mail client to pick 
up it's mail from /var/mail/yourusername and there you go :)

Hope that helps.

Regards
  

   I had made the changes to aliases as soon as I set up the system.  The
   only thing that I have
   yet to do is configure Thunderbird to go fetch user's mail.  I'll try
   setting up a a rule to
   do that and see what happens.  Thanks all for the help.
   Rem
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Solaris Compat?

2009-01-25 Thread Da Rock
I don't want to raise an argument here (on multiple levels, no less...),
but what would the compatibility be between FreeBSD (release) and
Solaris?

Why I ask is Adobe have released a version of flash for Solaris, and I'm
wondering if this might work better than the linux_compat types. I tried
running it straight out, but I'm getting errors of a missing
libsocket.so library.

Any thoughts? Perhaps an idea on whether this library could be built on
FBSD?

BTW, before anyone raises an issue regarding EULA apparently Adobe don't
care now IF an EU sets it up on any platform (if it works), just that
they won't support it any way.

___
freebsd-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: swap_pager complaints but not using swap

2009-01-25 Thread Dieter
 AMD64  FreeBSD 7.0  2 GiB main memory

 My console says:

 login: swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22, size: 4096
 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22, size: 4096
 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22, size: 4096
 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22, size: 4096

 pstat -sk
 Device  1K-blocks UsedAvail Capacity
 /dev/ad6s10   4590208   96  4590112 0%

 Wow, using a whole 96K of swap.  I don't see any disk related
 complaints in dmesg.

 Is this something to worry about?
 Yes, the system was *trying* to do swap I/O and timing out while doing so.

 Kris
 
 Whoops, I forgot to change the subject line after adding the k option
 to pstat.  Without the k it said 0 used.  And this morning it occurs to
 me that even if swap used was zero, it could have been trying to *start*
 using swap.
 
 Anyway... given this timeout explaination, I'm guessing that page/swap
 has to compete with user processes for disk i/o, and thus probably
 suffers from the same lack of fair i/o scheduling that user processes
 suffer from.  E.g. one process doing disk i/o can lock out another
 process for at least several minutes, probably indefinitely.  :-(
 
 There is a timeout of (from memory) 60 seconds.  I've not seen this 
 timeout exceeded on properly functioning disk hardware (even heavily 
 loaded), only on broken hardware/controllers, or on I/O devices that are 
 intrinsically slow for some reason (USB stick, or swapping to a file).
 
 Unless you're doing something truly unspeakable to that disk's load, I'd 
 look at the hardware.

zcat /ad8/7.1-RELEASE-amd64-dvd1.iso.gz  /ad6/7.1-RELEASE-amd64-dvd1.iso

I'll spare you the real paths. :-)  The target was to slice 2, which is
very near the beginning of the disk, while swap is in slice 10 at the
very end of the same disk.  These disks are both Seagate 7200 SATA
connected to nforce4-ultra.

I just ran the same command again, and the CPU is 89-96% idle.  So it is
I/O bound writing to the disk, as expected.

The machine was rebooted Tuesday afternoon (I had been testing a firewire
patch for Sean).  Friday morning I copied the 7.1 ISO to the machine
and was verifying checksums.  After I noticed the swap_pager complaints
on the console I checked and it was only using 96 KiB of swap.

Two days later (Sunday morning) swap usage has grown to 500 KiB:

pstat -sk
Device  1K-blocks UsedAvail Capacity
/dev/ad6s10   4590208  500  4589708 0%

So the machine doesn't normally use swap much at all, but messing with
the large ISO apparently kicked something out of memory, and the disk
with the swap partition was already busy writing at the other end of
the disk.

Do you consider writing a large file to disk a truly unspeakable load?

Scott Bennett writes:

 This machine has 2 GiB of main memory and almost never uses the swap
 partition, so I put swap at the slow end of the drive.  Yes I have
 swap on slice 10.  I use NetBSD's fdisk, as it handles more than
 4 slices nicely, unlike FreeBSD's fdisk.  As far as I know, the BIOS

 So NetBSD's fdisk understands logical partitions in an extended
 partition?  Cool.  I wish we had it in FreeBSD.  It's really a pain to
 have to shut FreeBSD down and boot a standalone program to change the layout
 of a disk that has an EP. :-(  At least the FreeBSD kernel has no problem
 understanding a disk like that.

I haven't ported NetBSD's fdisk to FreeBSD, I just boot NetBSD, fdisk
the new disk, and boot back to FreeBSD.  I also use NetBSD's MBR,
which has a nice boot menu.  (well, as nice as it can be with only
512 bytes to work with)  It would be nice to have NetBSD's fdisk
ported, as FreeBSD's fdisk can't even read the logical/extended
partitions.

 message I suspect that the pager/swaper is competing for disk i/o.
 I forgot to ask if there is some sysctl or other knob to lengthen
 the timeout.  The real fix is to improve the i/o fairness, but I've
 been asking about this for 2-3 years and not getting anywhere.

 BSD UNIX introduced the disksort() routine into its kernel ages ago.
 I know it was in 4.2BSD, but it may well have been there long before then.
 disksort() was added to satisfy a maximum number of disk I/O requests with
 a minimum of head movement and delay.  Basically, it sorts new requests
 into queues for each drive such that the arm moves from request to request
 in one direction through the disk, and then the next queue started is sorted
 into the opposite sequence for the arm to move in the opposite direction.
 The result is that the arm moves back and forth from the start to the end
 of the disk and then back again, reading and writing as it goes, thus
 minimizing the distance traveled for each request handled.  In FreeBSD,
 I think there is also some sort of change to the algorithm that tends to
 subprioritize or subdivide requests according to the amount of data to be
 read/written in each request, but I 

Re: Delivering system mail

2009-01-25 Thread Gonzalo Nemmi
On Monday 26 January 2009 2:42:13 am Rem P Roberti wrote:
 On Sunday 25 January 2009 11:01:11 pm Rem P Roberti wrote:


 I currently have to retrieve crontab generated system mail from the command
 line.  Is it possible to have system mail delivered to my Thunderbird
 mail client?

 Rem


 On a default system, you probably want to edit /etc/aliases an make root
 mail get redirected to you ...

 In order to do so, open your /etc/aliases file, look for the line that
 reads:

 # Pretty much everything else in this file points to root, so
 # you would do well in either reading root's mailbox or forwarding
 # root's email from here.

 root:

 and edit it so it looks like this:

  # Pretty much everything else in this file points to root, so
 # you would do well in either reading root's mailbox or forwarding
 # root's email from here.

 root:   yourusername

 save the changes and run the following command as root:

 newaliases

 From then on, all mail directed to root (like those crontab send) will
  be

 forwarded to you .. so all you need to do is set up your mail client to
 pick up it's mail from /var/mail/yourusername and there you go :)

 Hope that helps.

 Regards


I had made the changes to aliases as soon as I set up the system.  The
only thing that I have
yet to do is configure Thunderbird to go fetch user's mail.  I'll try
setting up a a rule to
do that and see what happens.  Thanks all for the help.
Rem

Rem, you can do better than that .. AFAIK you can create a new account on 
Thunderbird and it'll create a new In-box for that account ..

So, create a new account, name it local mail or something like that, and 
configure it so it fetches email messages from localhost or localmail 
or  /var/mail/yourusername (instead of POP or IMAP) so every system 
generated mail will go straight to your new account mailbox avoiding the 
mixing of external and system mail .. thus .. ridding you from the need to 
create tedious rules to sort mail ;)

Hope I helped.

Regards
-- 
Blessings
Gonzalo Nemmi
___
freebsd-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   >