Re: ath atheros 5424/2424 on the CQ60 Presario

2009-09-30 Thread Kenneth
Thank you!

The led flashes with traffic now...however, the flashing between blue and 
orange is irritating, so I removed the lines, and yes, the card works.  It 
would be nice to have a steady blue to signifiy a connection.

To get my ath0 device working, I have the following 2 files with the lines 
shown:

File 1) /etc/rc.conf (fill in the ? with your wep key in position 1 on your 
router...my laptop didn't want to work without the weptxkey 1 and the 1: in 
front of the key itself)
ifconfig_ath0=DHCP ssid spider mode AUTO weptxkey 1 wepkey 1:0x?? 
authmode open wepmode on

File 2) /boot/loader.conf
if_ath_load=YES
wlan_scan_ap_load=YES
wlan_scan_sta_load=YES
wlan_wep_load_load=YES

Also, on my wireless router, I had to disable Super G mode.  The man page for 
the atheros driver says the atheros Super G mode is not supported.  I verified 
that it was not supported, at least 100%.  My laptop would talk to the router, 
but my DHCP server would not answer my laptop's DHCPDISCOVER requests.  It 
worked as soon as I disabled Super G on the router.  If you use an authmode 
other than open, I think you need to load another module in 
/boot/loader.conf...refer to the Freebsd Handbook 31.3.2.  I have not tested 
that.

-Original Message-
From: Warren Block wbl...@wonkity.com
Sent: Sep 14, 2009 9:29 AM
To: Kenneth kennet...@earthlink.net
Cc: Jules Gilbert jules.sto...@gmail.com, freebsd-questions@freebsd.org
Subject: Re: ath atheros 5424/2424 on the CQ60 Presario

On Mon, 14 Sep 2009, Kenneth wrote:

 Anyone been able to use the ath driver on an atheros 5424/2424?  I have a 
 Compaq Presario CQ60 and can not get the wireless light to turn blue?

For a working LED, the Atheros AR5007 (5424/2424) in my Acer requires

dev.ath.0.ledpin=3
dev.ath.0.softled=1

in /etc/sysctl.conf.  Works without that, just no LED.

-Warren Block * Rapid City, South Dakota USA

___
freebsd-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: Question about FreeBSD installation procedure

2009-09-30 Thread Ian Smith
In freebsd-questions Digest, Vol 278, Issue 4, Message 2
On Tue, 29 Sep 2009 12:36:00 +0800 (WST) Bret Busby b...@busby.net wrote:
  On Sat, 26 Sep 2009, Manolis Kiagias wrote:
   Bret Busby wrote:
   Hello.
  
   I have been interested in installing FreeBSD on my laptop (HP/Compaq
   NX5000, 2MB RAM), in a free 20MB partition.

[..]

  See
  http://busby.net/bret/Screenshot--dev-sda-GParted.png

Presumably from your screenshot, what Linux Gparted calls /dev/sda8

  However, with the response above, and, with all of the responses thus 
  far, to the query, it appears that I cannot install FreeBSD on the 
  computer, without a full system rebuild, involving removal of all of the 
  installed operating systems and software from the computer, then 
  repartitioning, or, slicing up, the hard drive, and then creating new 
  logical, extended partitions, and then reinstalling each of the 
  operating systems, and all of the software for each of the operating 
  systems, trying to ensure that I then have at least all of the software 
  that is currently installed on each operating system on the computer, 
  and, the data that is currently present on the computer.

Bret, none of that much drama will be necessary :)  Manolis nailed it, 
but I'll add a little reinforcement if it helps reassure you that what 
you want to do is a) entirely possible and b) not terribly difficult.

  And, with being required to do all of that, I do not know what would 
  happen, regarding issues such as the interrupt conflict that I 
  encountered when trying to initially install Debian 3.1 on the computer, 
  the interrupt conflict being between the WiFi card and the ethernet 
  card, which reuired Ubuntu to resolve the conflict, then (at the time, 
  as I was then a strictly Debian user) uninstalling Ubuntu to reinstall 
  Debian 3.1, with the solution to the interrupt conflict, having used 
  Mandriva Linux to do the partitioning, so as to retain the initial 
  installation of MS Win XP, which I would probably lose, and have to 
  install from scratch, as part of installing BSD on the system.

I can't comment on your wifi or interrupt issues, but there's no reason 
you need to lose any of your existing systems to install FreeBSD here. 

First, make SURE you have good backups, whatever else you do.  Sooner or 
later the HD is going to fail anyway, so be prepared and be comfortable.

More or less as Manolis later said, using gparted since you have it:

a) delete the 20GB logical partition /dev/sda8 for the space you need.

b) move the free space in the extended partition to the end, after the 
present sda9 and sda10.  these may then become sda8 and sda9, and you 
may later need to edit references to these to account for renumbering.

c) shrink the extended partition sda2 to the end of (now) sda9, which 
will provide 20GB of unallocated free space on the disk.

d) create a new slice (primary partition in DOS terms) using all of the 
20GB free space.  gparted will call it /dev/sda3, and it'll be the third 
partition in the MBR.  FreeBSD will see this as slice /dev/ad0s3, and 
there you can install FreeBSD, probably in several FreeBSD partitions.

  So, getting the system set up, initially, to get Debian 3.1 running (it 
  has been superseded on the system, first by Debian 4, and, now, by 
  Debian 5), took a fair bit of time and effort, and problem solving, 
  using various operating systems, to get the one extra operating system 
  installed.

Sure, and you learned quite a lot in the process :)

  Due to the time and effort involved, and the apparent complexity, it all 
  seems too difficult, to install BSD.

Nope.  Just a bit more learning, shifting a bit further from 'DOS-think'

  If FreeBSD would be able to be installed in a logical partition, within 
  an extended partition, as can be done with Linux, it would probably be 
  able to be done by me - in the meantime, it is simply too difficult.

It's only too difficult until you know how to do it.  Manolis and I have 
both shown you a fairly straightforward way of doing it, and others have 
provided good background info on how FreeBSD uses diskspace.  Go for it!

As a bonus, you should be able to access all of the other filesystems on 
your disk from FreeBSD, at least read-only.  FAT32 (mount_msdosfs), NTFS 
(I don't, but many people here have done), ext3 - not sure about write 
capability, but certainly ext2.  Way back on FreeBSD 3.3 I salvaged many 
OS/2 HPFS filesystems from various extended partitions, readonly, and 
last time I looked (FreeBSD 7.0) the HPFS code was still in the tree.

You'll find that FreeBSD knows the (covering) extended partition as 
/dev/ad0s5 and the logical partitions within as /dev/ad0s6, s7 etc.

FAT32 is reliable read-write, and most useful for shipping files between 
different OS, especially if you enclose them in a tar(1) or zip(1) file 
if you need to maintain file ownerships and permissions.

cheers, Ian

Re: problems with hal in freebsd 7.2 i386

2009-09-30 Thread herbert langhans
I had similar troubles with hal. 

The easiest solutions is to get rid of hal. Deinstall it. The xorg-package you 
can compile without hal (use make configure and uncheck hal) and it will work.

Cheers
herb langhans  
 
On Tue, Sep 29, 2009 at 03:59:23PM -0700, chr...@uvic.ca wrote:
 I have several related problems with hald on 7.2 i386. First, on one
 machine (FreeBSD 7.2-RELEASE-p2), hald will not start at startup, nor by
 executing the startup script /usr/local/etc/rc.d/hald start. It doesn't
 exit with any error code: it simply produces no output at all, and ps -ax
 | grep hal shows that it didn't start. Incidentally, the dbus and cupsd
 scripts in the same directory also do nothing.
 
 On the other machine, however (FreeBSD 7.2-RELEASE), hald doesn't *build*.
 It errors out with:
 
 /usr/local/lib/libpolkit.so: undefined reference to `strn...@fbsd_1.1'
 gmake[4]: *** [hald] Error 1
 gmake[4]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.11/hald'
 gmake[3]: *** [all-recursive] Error 1
 gmake[3]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.11/hald'
 gmake[2]: *** [all] Error 2
 gmake[2]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.11/hald'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.11'
 gmake: *** [all] Error 2
 *** Error code 1
 
 Stop in /usr/ports/sysutils/hal.
 *** Error code 1
 
 Stop in /usr/ports/sysutils/hal.
 
 This machine was a new install from the 7.2 i386 CD, so to save time I
 used packages that had already been built on the first machine. All of
 these packages were built within a day of each other, from a previously
 updated ports tree with all previously installed packages removed.
 
 Xorg and hald and dbus and everything related installed just fine, and
 Xorg works, except that the mouse doesn't work, which I suspect is caused
 by hald not working. On this machine, the hald that was compiled on the
 first machine won't start, this time giving an error:
 
 r...@nimue /usr/local/etc/rc.d
 # ./hald start
 Starting hald.
   
   r...@nimue
 /usr/local/etc/rc.d
 # /libexec/ld-elf.so.1: /lib/libc.so.7: version FBSD_1.1 required by
 /usr/local/lib/libpolkit.so.2 not found
 
 Any thoughts?
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
sprachtraining langhans
herbert langhans, warschau
http://www.langhans.com.pl
herbert dot raimund at gmx dot net
+0048 603 341 441

___
freebsd-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: backups cloning

2009-09-30 Thread Giorgos Keramidas
On Tue, 29 Sep 2009 22:23:00 -0400, PJ af.gour...@videotron.ca wrote:
 Polytropon wrote:
 Assuming nobody uses tape drives anymore, you need to specify
 another file, which is the standard output in this case, which
 may not be obvious, but it is if we reorder the command line:

 # dump -0 -L - a -u -f - /dev/ad1s1a | restore -r -f -

 1. will the s1a slice dump the entire system, that is, the a, d, e, f
 and g slices or is it partitions?

No, dump will backup a single partition (or filesystem) specified by the
options you pass, i.e.:

*   Dump only the ad0s1a partition to standard output:

dump -0 -L -a -u -f - /dev/ad0s1a

*   Dump only the ad0s1d partition to standard output:

dump -0 -L -a -u -f - /dev/ad0s1d

You will have to run multiple `dump' instances to backup more than one
partition.  For example, a short script that I run daily to save dumps
at level 2 for all my laptop's UFS filesystems includes code that is
equivalent to the following set of commands:

TODAY=$( date -u '+%Y-%m-%d' )

dump -2 -L -a -u -f - /dev/ad0s1a  kobe.2.${TODAY}.ad0s1a
dump -2 -L -a -u -f - /dev/ad0s1d  kobe.2.${TODAY}.ad0s1d
dump -2 -L -a -u -f - /dev/ad0s1e  kobe.2.${TODAY}.ad0s1e
dump -2 -L -a -u -f - /dev/ad0s3d  kobe.2.${TODAY}.ad0s3d

Each partition is dumped to a separate output file, so I can restore
them separately.

 I am trying to dump the whole system (all the slices)except swap
 to a usb (sata2 500gb disk) and then restore to another computer with
 7.2 minimal installation.

 I think that's not possible because dump operates on file system
 level, which means on partitions, not on slices.

 I've been very confused with the slices/partitions.  I meant above, to
 dump the whole slice - but I guess that it has to be done with the
 partitions.

You cannot dump a full slice (what other operating systems call a BIOS
partition) in a single dump run.  Use multiple dump commands like the
ones shown above.

 Slices ad2s1d,e,f and g dump ok to usb. a does not - errors (should use
 -L when dumping live filesystems)

 and when I do dump -0Laf  /dev /ad1s1a  /dev/da0s1a
 the errors are
 write error 10 blocks into volume 1
 do you want to restart:

This is not a correct invocation of dump.  You can't pass multiple
partitions in one instance of dump, like /dev, /ad1s1a and /dev/da0s1a.

If the order of dump options confuses you, reorder them the same way
Polytropon did, so that the `-f OUTPUT' option stands out a bit more:

dump -0 -a -L -f - /ad1s1a

A break-down of these options is now easier to understand:

* This will save a level 0 dump (the -0 option) of partition
  /ad1s1a.

* The dump will not be split into multiple tape `archives' (the -a
  option).

* Before trying to save the current state of the input partition,
  dump will create a `snapshot' so that a consistent state of all
  files in the partition will be saved in the dumped archive (the -L
  option).

* The backup archive will be sent to standard output (the '-'
  argument of the -f option).

The special '-' value for the output file of the -f option may be a bit
confusing, but it is useful if you are going to immediately pipe dump's
output to the restore(8) program.  Otherwise, if you are just going to
save the dump archive to another disk, you could have used:

dump -0 -a -L -f dumpfile /ad1s1a

The dump utility would then save a dump archive to `dumpfile' instead of
writing everything to its standard output.

 To illustrate a dump and restore process that involves several
 partitions, just let me add this example:

 Stage 1: Initialize slice and partitions
 # fdisk -I -B ad1
 # bsdlabel -w -B ad1s1
 # bsdlabel -e ad1s1
 a: 512M * 4.2BSD 0 0 0
 b: 1024M * swap
 c: * * unused --- don't change
 e: 2G * 4.2BSD 0 0 0
 f: 2G * 4.2BSD 0 0 0
 g: 10G * 4.2BSD 0 0 0
 h: * * 4.2BSD 0 0 0
 ^KX (means: save  exit)
 # newfs /dev/ad1s1a
 # newfs -U /dev/ad1s1e
 # newfs -U /dev/ad1s1f
 # newfs -U /dev/ad1s1g
 # newfs -U /dev/ad1s1h

 Stage 2: Go into SUM and prepare the source partitions

 why into SUM? I'm really the only user and I usually stay as root
 if SUM, shouldn't the # below be $?

Because when you are running in multi-user mode there may be services
and other background processes changing the files of the source
partitions while you are dumping them.

By going into single-user mode, you ensure that there is only one active
process in your system: the root shell you are using to back  restore
the files.

___
freebsd-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: fix remote degraded gmirror

2009-09-30 Thread Robin Becker

.


a simple

dd if=/dev/zero of=/dev/adX bs=1M count=1

would fix that if nothing else

if there's was no existing label, there is nothing to do except gmirror man
instructions.  Gmirror is block level mirroring which why no other steps are
needed.

well now I really need advice, the data centre guy successfully inserted another 
disk in the right place and it appears to be the same model. However, smartctl 
-a /dev/ad4 seems to show a number of errors and many of the indicators are 
prefail or old_age.


In addition the disk doesn't have exactly the same length so when I tried to 
insert gmirror complains that it is too small.


What are my options?
--
Robin Becker
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


anonymous ftp user only from specific subnet / ips

2009-09-30 Thread Stefan Miklosovic
hi list,

I've ftp server, where I want to deny anonymous
logins from the outer net, but allow logins of anonymous
users from inner net. Normal system users would have
ftp access to theirs home directories from both networks.

I am using vsftpd, I wanted to configure tcp wrappers, but it does not
solve my problem.

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


ion windows manager on FreeBSD

2009-09-30 Thread Albert Shih
Hi all

I'm trying to compile 

http://modeemi.fi/~tuomov/ion/download.html

on my FreeBSD 8.0-RC1 and didn't success

I would like to known if anyone can help me make ion work ? Maybe someone
have the patch file for the system.mk ? 

Long time ago ion ports was kick off from the ports system because the will
of the developper (please don't troll). I just saw the license just change
maybe now it's possible to put again ion in the ports system ? 

I would like to help for the ports but as you can see I unable to build for
myself.

Regards
-- 
Albert SHIH
SIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
Heure local/Local time:
Mer 30 sep 2009 12:01:57 CEST
___
freebsd-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: backups cloning

2009-09-30 Thread Warren Block

On Wed, 30 Sep 2009, Polytropon wrote:


On Tue, 29 Sep 2009 21:49:01 -0600 (MDT), Warren Block wbl...@wonkity.com 
wrote:

So usually I back up /, /var, and /usr to files
on a USB disk or sshfs.  Then I switch to the new target system, booting
it with a FreeBSD disk and doing a minimal install.  That makes sure the
MBR is installed, gives me a chance to set all the filesystem sizes, and
newfses them.


Similar here. In most cases, the FreeBSD live system is completely
sufficient: run sysinstall, slice, boot loader, partitions, drop
to shell; mount USB stick, restore from files located there.


Then I restore from the dump files created earlier, over the running
system.  First /usr, then /var, then /.  On reboot, it's a clone.


This means you bring up the minimal (installed) system first, then
do the restore? Why not do it right after the basic steps of
preparation right from the install CD?


Probably mostly inertia, but I also like that it makes certain 
everything has been done to make a complete bootable system.  Seems like 
when I do it manually, CRS syndrome kicks in and I forget a step which 
ends up taking more time.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-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: ion windows manager on FreeBSD

2009-09-30 Thread Dmitry Marakasov
* Albert Shih (albert.s...@obspm.fr) wrote:

 I'm trying to compile 
 
   http://modeemi.fi/~tuomov/ion/download.html
 
 on my FreeBSD 8.0-RC1 and didn't success
 
 I would like to known if anyone can help me make ion work ? Maybe someone
 have the patch file for the system.mk ? 
 
 Long time ago ion ports was kick off from the ports system because the will
 of the developper (please don't troll). I just saw the license just change
 maybe now it's possible to put again ion in the ports system ? 
 
 I would like to help for the ports but as you can see I unable to build for
 myself.

I've seen the license change too. I'm working on the port currently.

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amd...@amdmi3.ru  ..:  jabber: amd...@jabber.ruhttp://www.amdmi3.ru
___
freebsd-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: fix remote degraded gmirror

2009-09-30 Thread krad
2009/9/30 Robin Becker ro...@reportlab.com

 .


 a simple

 dd if=/dev/zero of=/dev/adX bs=1M count=1

 would fix that if nothing else

 if there's was no existing label, there is nothing to do except gmirror
 man
 instructions.  Gmirror is block level mirroring which why no other steps
 are
 needed.

  well now I really need advice, the data centre guy successfully inserted
 another disk in the right place and it appears to be the same model.
 However, smartctl -a /dev/ad4 seems to show a number of errors and many of
 the indicators are prefail or old_age.

 In addition the disk doesn't have exactly the same length so when I tried
 to insert gmirror complains that it is too small.

 What are my options?
 --
 Robin Becker

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


1st thing sure up what you have.

create another mirror, partition, newfs it up and rsync the the contents of
the active drive over to it.

Keep the rsync every 10 minutes or so depeneding on how much data you have
and what impact it has on system resources

You then have two options

boot off the new drive, destroy the gmirror on the old drive and add it to
the new mirror on the old drive


or

buy another new drive, Make sure its bigger this time. Add it to the box and
add it the the old gmirror

you can then leave the 1st new drive in there potentially and have it as a
hot 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: fix remote degraded gmirror

2009-09-30 Thread Adam Vande More
On Wed, Sep 30, 2009 at 4:37 AM, Robin Becker ro...@reportlab.com wrote:

 .


 a simple

 dd if=/dev/zero of=/dev/adX bs=1M count=1

 would fix that if nothing else

 if there's was no existing label, there is nothing to do except gmirror
 man
 instructions.  Gmirror is block level mirroring which why no other steps
 are
 needed.

  well now I really need advice, the data centre guy successfully inserted
 another disk in the right place and it appears to be the same model.
 However, smartctl -a /dev/ad4 seems to show a number of errors and many of
 the indicators are prefail or old_age.

 In addition the disk doesn't have exactly the same length so when I tried
 to insert gmirror complains that it is too small.

 What are my options?
 --
 Robin Becker


This has been answered already but you should be aware that when using
gmirror, your back disk should either be the same model or bigger as hard
drive capacities differ between manufacturers.  As in Seagate 250GB ~= WD
250GB.  So this is not an uncommon problem.


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


Re: Netwroked Storage

2009-09-30 Thread Adam Vande More
On Tue, Sep 29, 2009 at 10:39 AM, Grant Peel gp...@thenetnow.com wrote:

 Hi all,

 For the past few months I have been researching methods to create a storage
 enclosure, perferably with out spending many 10s of k's of $'s.

 The intent here is to connect about 10 Web servers, each of them hosting
 about 200 domains, to a central storage system to house users home
 directories.

 I am still looking for feedback regarding what level of hardware ( how much
 RAM , cpu bus speed etc) people might be using for a similar setup.

 The end idea is to lead FreeBSD on the storage system, create one huge
 /home directory, export it via NFS and share that on all the Web machines.

 It might be worth noting that the Web machines host a full array of
 software, i.e. Mail, Web, MySQL, PHP etc.

 Does anyone use a similar setup? What kind of I/O bottlenecks are created?


Your questions cannot be answer specifically because they do not contain
enough info.  Here is what I chose to do in a similar but smaller enviro.

1.  This a good place for virtualization.  FreeBSD jails are the most
efficient form that I'm aware of including XEN.  Jails have limitations XEN
doesn't however.
2.  High load DB's shouldn't be virtualized.
3.  EZjails port helps alot!
4.  Machine specs would depend on system load, you've given no indication
other than apps.
5.  You should preplan backup and failover setup.  Heartbeat, CARP, rdiff,
and other utilities should help here.




 Any feedback would be welcome.

 -Grant




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


kdebase4 installation

2009-09-30 Thread Alain G. Fabry
I'm having problem with kdebase4 installation. Below is error code, what do I 
need to do to get this fixed?

Last portsnap + did 'make disclean', but still get this error.

[ 42%] Generating konsoleadaptor.moc
Scanning dependencies of target konsoleprivate
[ 42%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/konsoleprivate_automoc.o
[ 42%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/BlockArray.o
[ 43%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/BookmarkHandler.o
[ 43%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/ColorScheme.o
[ 43%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/Emulation.o
[ 43%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/Filter.o
[ 44%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/History.o
[ 44%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/HistorySizeDialog.o
[ 44%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/IncrementalSearchBar.o
[ 44%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/KeyboardTranslator.o
[ 45%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/ProcessInfo.o
/usr/ports/x11/kdebase4/work/kdebase-4.3.1/apps/konsole/src/ProcessInfo.cpp: In 
member function 'virtual bool FreeBSDProcessInfo::readCurrentDir(int)':
/usr/ports/x11/kdebase4/work/kdebase-4.3.1/apps/konsole/src/ProcessInfo.cpp:751:
 error: 'kinfo_getfile' was not declared in this scope
/usr/ports/x11/kdebase4/work/kdebase-4.3.1/apps/konsole/src/ProcessInfo.cpp:756:
 error: invalid use of incomplete type 'struct kinfo_file'
/usr/ports/x11/kdebase4/work/kdebase-4.3.1/apps/konsole/src/ProcessInfo.cpp:748:
 error: forward declaration of 'struct kinfo_file'
/usr/ports/x11/kdebase4/work/kdebase-4.3.1/apps/konsole/src/ProcessInfo.cpp:756:
 error: invalid use of incomplete type 'struct kinfo_file'
/usr/ports/x11/kdebase4/work/kdebase-4.3.1/apps/konsole/src/ProcessInfo.cpp:748:
 error: forward declaration of 'struct kinfo_file'
/usr/ports/x11/kdebase4/work/kdebase-4.3.1/apps/konsole/src/ProcessInfo.cpp:756:
 error: 'KF_FD_TYPE_CWD' was not declared in this scope
/usr/ports/x11/kdebase4/work/kdebase-4.3.1/apps/konsole/src/ProcessInfo.cpp:757:
 error: invalid use of incomplete type 'struct kinfo_file'
/usr/ports/x11/kdebase4/work/kdebase-4.3.1/apps/konsole/src/ProcessInfo.cpp:748:
 error: forward declaration of 'struct kinfo_file'
/usr/ports/x11/kdebase4/work/kdebase-4.3.1/apps/konsole/src/ProcessInfo.cpp:757:
 error: invalid use of incomplete type 'struct kinfo_file'
/usr/ports/x11/kdebase4/work/kdebase-4.3.1/apps/konsole/src/ProcessInfo.cpp:748:
 error: forward declaration of 'struct kinfo_file'
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 1

Stop in /usr/ports/x11/kdebase4.




Thanks in advance

Alain
___
freebsd-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: geom not clearing metadata labels

2009-09-30 Thread Ross

R I've got a geom based file system that is running under 2 geom
R modules: multipath and journal.

Solved the problem, so here's some notes for the archive:

- the answers were hiding throughout in the freebsd-geom mailing list
archives, I just forgot to look there initially.

- this was a single data disk that was improperly partitioned/sliced
in the beginning, therefore the metadata information was being picked
up twice and auto creating the journal device under each device.

- if the journal is being picked up multiple times (ie slice +
partition), then remove one of the formatting options (via dd
if=/dev/zero of=/dev/x bs=512 count=32) so only 1 journal is
picked up.  Then do gjournal clear /dev/x to properly remove the
metadata.

- hardcode the gjournal labels for situations like this, as it'll
stop it being autoloaded under multiple devices.

- gjournal hardcoded provider labels are up to 15 characters long, so
long device names can be a pain (like multipath/0s1a is too
long).

Probably a few other notes that I've forgotten, but that'll get you on
the right path.

R.


-- 

___
freebsd-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: fix remote degraded gmirror

2009-09-30 Thread Robin Becker

Adam Vande More wrote:
.


 This has been answered already but you should be aware that when using
 gmirror, your back disk should either be the same model or bigger as hard
 drive capacities differ between manufacturers.  As in Seagate 250GB ~= WD
 250GB.  So this is not an uncommon problem.


yes this is a fairly old WD

original was

Device Model: WDC WD1600JS-22MHB0
Firmware Version: 02.01C03
User Capacity: 160,041,885,696 bytes


they replaced with

Device Model: WDC WD1600JS-75NCB2
Firmware Version: 10.02E03
User Capacity: 160,000,000,000 bytes

which looks quite strange as it looks like something got lopped off somehow. I 
didn't think bad blocking/sectoring was done any more. Anyhow they've removed 
this disk and are considering options (at least I hope they are).

--
Robin Becker
___
freebsd-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 no Oracle on FreeBSD ?

2009-09-30 Thread LoH


The reality is that Oracle is meant to be a very expensive solution 
for companies that don't know what to do. This makes Red Hat etc an 
ideal contender for this situation as it promises full enterprise 
support.
Whether it is the truth or if its even a good solution is completely 
irreverent to these 2 tech companies because at the end of the day 
they are just trying to make money and please the stock holders.

snip



Huh? Last I remember reading, Oracle hasn't put a native version 
together for FreeBSD because running it through the linuxlator works 
well enough to justify not spending engineering resources on 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


Problem upgrading 7.2 to 8.0-RC1

2009-09-30 Thread Leonardo M . Ramé
Hi, I'm trying to upgrade from 7.2 to 8.0-RC1 without success. Any hint?

This is my data:

uname -a: 
FreeBSD toshiba-leo.localhost.localdomain 7.2-STABLE-200906 FreeBSD 
7.2-STABLE-200906 #0: Sun Jun  7 10:23:49 UTC 2009 
r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

freebsd-update:

[r...@toshiba-leo]# freebsd-update -v debug -r 8.0-RC1 upgrade
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching public key from update5.FreeBSD.org... fetch: 
http://update5.FreeBSD.org/7.2-STABLE-200906/amd64/pub.ssl: Not Found
failed.
Fetching public key from update2.FreeBSD.org... fetch: 
http://update2.FreeBSD.org/7.2-STABLE-200906/amd64/pub.ssl: Not Found
failed.
Fetching public key from update4.FreeBSD.org... fetch: 
http://update4.FreeBSD.org/7.2-STABLE-200906/amd64/pub.ssl: Not Found
failed.
No mirrors remaining, giving up.



Leonardo M. Ramé
http://leonardorame.blogspot.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: Problem upgrading 7.2 to 8.0-RC1

2009-09-30 Thread Adam Vande More
On Wed, Sep 30, 2009 at 9:38 AM, Leonardo M. Ramé martinr...@yahoo.comwrote:

 Hi, I'm trying to upgrade from 7.2 to 8.0-RC1 without success. Any hint?

 This is my data:

 uname -a:
 FreeBSD toshiba-leo.localhost.localdomain 7.2-STABLE-200906 FreeBSD
 7.2-STABLE-200906 #0: Sun Jun  7 10:23:49 UTC 2009
 r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

 freebsd-update:

 [r...@toshiba-leo]# freebsd-update -v debug -r 8.0-RC1 upgrade
 Looking up update.FreeBSD.org mirrors... 3 mirrors found.
 Fetching public key from update5.FreeBSD.org... fetch:
 http://update5.FreeBSD.org/7.2-STABLE-200906/amd64/pub.ssl: Not Found
 failed.
 Fetching public key from update2.FreeBSD.org... fetch:
 http://update2.FreeBSD.org/7.2-STABLE-200906/amd64/pub.ssl: Not Found
 failed.
 Fetching public key from update4.FreeBSD.org... fetch:
 http://update4.FreeBSD.org/7.2-STABLE-200906/amd64/pub.ssl: Not Found
 failed.
 No mirrors remaining, giving up.



 Leonardo M. Ramé
 http://leonardorame.blogspot.com


 man freebsd-update

DESCRIPTION
 The freebsd-update tool is used to fetch, install, and rollback binary
 updates to the FreeBSD base system.  Note that updates are only
available
 if they are being built for the FreeBSD release and architecture being
 used; in particular, the FreeBSD Security Team only builds updates for
 releases shipped in binary form by the FreeBSD Release Engineering
Team,
 e.g., FreeBSD 6.1-RELEASE and FreeBSD 6.2-RC1, but not FreeBSD
6.2-STABLE
 or FreeBSD 7.0-CURRENT.

You are not running supported version.


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


Re: ion windows manager on FreeBSD

2009-09-30 Thread Dmitry Marakasov
* Albert Shih (albert.s...@obspm.fr) wrote:

 I would like to known if anyone can help me make ion work ? Maybe someone
 have the patch file for the system.mk ? 

Please try this:

http://people.freebsd.org/~amdmi3/ion3.tar

It builds file in tinderbox, but I haven't tested how it works yet.

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amd...@amdmi3.ru  ..:  jabber: amd...@jabber.ruhttp://www.amdmi3.ru
___
freebsd-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: Netwroked Storage

2009-09-30 Thread Grant Peel
- Original Message - 
From: Adam Vande More amvandem...@gmail.com

To: Grant Peel gp...@thenetnow.com
Cc: freebsd-questions@freebsd.org
Sent: Wednesday, September 30, 2009 9:07 AM
Subject: Re: Netwroked Storage



On Tue, Sep 29, 2009 at 10:39 AM, Grant Peel gp...@thenetnow.com wrote:


Hi all,

For the past few months I have been researching methods to create a 
storage

enclosure, perferably with out spending many 10s of k's of $'s.

The intent here is to connect about 10 Web servers, each of them hosting
about 200 domains, to a central storage system to house users home
directories.

I am still looking for feedback regarding what level of hardware ( how 
much

RAM , cpu bus speed etc) people might be using for a similar setup.

The end idea is to lead FreeBSD on the storage system, create one huge
/home directory, export it via NFS and share that on all the Web 
machines.


It might be worth noting that the Web machines host a full array of
software, i.e. Mail, Web, MySQL, PHP etc.

Does anyone use a similar setup? What kind of I/O bottlenecks are 
created?




Your questions cannot be answer specifically because they do not contain
enough info.  Here is what I chose to do in a similar but smaller enviro.

1.  This a good place for virtualization.  FreeBSD jails are the most
efficient form that I'm aware of including XEN.  Jails have limitations 
XEN

doesn't however.
2.  High load DB's shouldn't be virtualized.
3.  EZjails port helps alot!
4.  Machine specs would depend on system load, you've given no indication
other than apps.
5.  You should preplan backup and failover setup.  Heartbeat, CARP, rdiff,
and other utilities should help here.





Any feedback would be welcome.

-Grant





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





Hi Adam,

Thanks for the reply.

Whatever software flavour I settle on (I am trending towards FreeNAS at this 
point), I will be be running a RAID 5 array with a specific share dedicated 
to backups. Indeed, I already have a robust backup schemem in place. So no 
worries about loosing data per #5 on your list.


Per #4 on your list, I am not sure if you are asking about the NAS machine, 
or the clients. The CLients are all Dell machines (R200's, PE860's and 
PE#750's). They are all Pent 4 and Xenon machines, currently using 100MB 
ethernet. (LAN AND WAN). All of them are connected to my central switch via 
a LAN vlan, and a wan vlan. The ethernet switch is also a dell 48 port 
Managed 100MB switch, with two GB ports. The current Internet traffic is 
about 2 Megabits sustained. The hard drive lights on each server are 
blinking about once per second, a little more solid when FTP activity is 
high. As far as the NAS machine specs go, I have not decided on anything 
yet, and am looking for input on this, any takers?


I have also just came up with another question:

All of the 200 domains on each server have thier own Real Unix user 
(obviously). Once the NAS is setup, (using NFS), how do the permissions on 
the NAS machine play out? i.e. when user 'hisname' logs into a server via 
ftp, and uploads a file to his home directory (which is on the NAS), will 
the file permissions be the same, and will 'hisname' own the file exactly 
the same as if he were writing to the local (server) disk? In the NAS 
exports do I have to map every user to the NFS or can I just maproot?


TIA,

-Grant






___
freebsd-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: Problem upgrading 7.2 to 8.0-RC1

2009-09-30 Thread Leonardo M . Ramé
 From: Adam Vande More amvandem...@gmail.com
 Subject: Re: Problem upgrading 7.2 to 8.0-RC1
 To: Leonardo M. Ramé martinr...@yahoo.com
 Cc: freebsd-questions@freebsd.org
 Date: Wednesday, September 30, 2009, 11:45 AM
 On Wed, Sep 30,
 2009 at 9:38 AM, Leonardo M. Ramé martinr...@yahoo.com
 wrote:
 
 Hi, I'm trying to upgrade from 7.2 to 8.0-RC1 without
 success. Any hint?
 
 
 
 This is my data:
 
 
 
 uname -a:
 
 FreeBSD toshiba-leo.localhost.localdomain 7.2-STABLE-200906
 FreeBSD 7.2-STABLE-200906 #0: Sun Jun  7 10:23:49 UTC 2009
    
 r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
  amd64
 
 
 
 freebsd-update:
 
 
 
 [r...@toshiba-leo]# freebsd-update -v debug -r 8.0-RC1
 upgrade
 
 Looking up update.FreeBSD.org
 mirrors... 3 mirrors found.
 
 Fetching public key from update5.FreeBSD.org... fetch: 
 http://update5.FreeBSD.org/7.2-STABLE-200906/amd64/pub.ssl:
 Not Found
 
 failed.
 
 Fetching public key from update2.FreeBSD.org... fetch: 
 http://update2.FreeBSD.org/7.2-STABLE-200906/amd64/pub.ssl:
 Not Found
 
 failed.
 
 Fetching public key from update4.FreeBSD.org... fetch: 
 http://update4.FreeBSD.org/7.2-STABLE-200906/amd64/pub.ssl:
 Not Found
 
 failed.
 
 No mirrors remaining, giving up.
 
 
 
 
 
 
 
 Leonardo M. Ramé
 
 http://leonardorame.blogspot.com
 
 
 
 
 
 man freebsd-update
 
 DESCRIPTION
  The freebsd-update tool is used to fetch, install,
 and rollback binary
  updates to the FreeBSD base system.  Note that
 updates are only available
 
  if they are being built for the FreeBSD release
 and architecture being
  used; in particular, the FreeBSD Security Team
 only builds updates for
  releases shipped in binary form by the FreeBSD
 Release Engineering Team,
 
  e.g., FreeBSD 6.1-RELEASE and FreeBSD 6.2-RC1, but
 not FreeBSD 6.2-STABLE
  or FreeBSD 7.0-CURRENT.
 
 You are not running supported version.
 
 
 -- 
 Adam Vande More
 


Thanks Adam, any workaround to upgrade to 8.0?

Leonardo.



___
freebsd-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: ion windows manager on FreeBSD

2009-09-30 Thread Albert Shih
 Le 30/09/2009 à 18:45:35+0400, Dmitry Marakasov a écrit
 * Albert Shih (albert.s...@obspm.fr) wrote:
 
  I would like to known if anyone can help me make ion work ? Maybe someone
  have the patch file for the system.mk ? 
 
 Please try this:
 
 http://people.freebsd.org/~amdmi3/ion3.tar
 
 It builds file in tinderbox, but I haven't tested how it works yet.

I'm happy to see I'm not the only ET (http://www.imdb.com/title/tt0083866/)
to like this wm ;-)

Well I've just try you tarbut it's not working.

Finally after 3 h I get a system.mk working. 

I'm sure every normal developper can do better. But for me I've my ion
working ;-)

Regards.

JAS
-- 
Albert SHIH
SIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
Heure local/Local time:
Mer 30 sep 2009 16:56:08 CEST
##
## System settings
##

##
## Installation paths
##

# Installation path prefix. Unless you know what you're doing, the default
# of /usr/local is likely the correct choice.
PREFIX=/usr/local

# Unless you are creating a package conforming to some OS's standards, you
# probably do not want to modify the following directories:

# Main binaries
BINDIR=$(PREFIX)/bin
# Configuration .lua files
ETCDIR=$(PREFIX)/etc/ion3
# Some .lua files and ion-* shell scripts
SHAREDIR=$(PREFIX)/share/ion3
# Manual pages
MANDIR=$(PREFIX)/share/man
# Some documents
DOCDIR=$(PREFIX)/share/doc/ion3
# Nothing at the moment
INCDIR=$(PREFIX)/include/ion3
# Nothing at the moment
LIBDIR=$(PREFIX)/lib
# Modules
MODULEDIR=$(LIBDIR)/ion3/mod
# Compiled Lua source code
LCDIR=$(LIBDIR)/ion3/lc
# ion-completefile (does not belong in SHAREDIR being a binary file)
EXTRABINDIR=$(LIBDIR)/ion3/bin
# For ion-completeman system-wide cache
VARDIR=/var/cache/ion3
# Message catalogs
LOCALEDIR=$(PREFIX)/share/locale

# Executable suffix (for Cygwin).
#BIN_SUFFIX = .exe


##
## Modules
##

# Set PRELOAD_MODULES=1 if your system does not support dynamically loaded
# modules through 'libdl' or has non-standard naming conventions.
# You will likely need this option on e.g. Cygwin and Mac OS X.
#PRELOAD_MODULES=1

# Flags to link with libdl. Even if PRELOAD_MODULES=1, you may need this
# setting (for e.g. Lua, when not instructed by pkg-config).
#DL_LIBS=-ldl


##
## Lua
##

# If you have installed Lua 5.1 from the official tarball without changing
# paths, this should do it.
LUA_DIR=/usr/local
LUA_LIBS = -L$(LUA_DIR)/lib/lua51 -llua
LUA_INCLUDES = -I$(LUA_DIR)/include/lua51
LUA=$(LUA_DIR)/bin/lua-5.1
LUAC=$(LUA_DIR)/bin/luac-5.1

# If you are using the Debian packages, the following settings should be
# what you want.
#LUA_LIBS=`pkg-config --libs lua5.1`
#LUA_INCLUDES=`pkg-config --cflags lua5.1`
#LUA=/usr/bin/lua5.1
#LUAC=/usr/bin/luac5.1


##
## X libraries, includes and options
##

# Paths
X11_PREFIX=/usr/local
# SunOS/Solaris
#X11_PREFIX=/usr/openwin

X11_LIBS=-L$(X11_PREFIX)/lib -lX11 -lXext
X11_INCLUDES=-I$(X11_PREFIX)/include

# XFree86 libraries up to 4.3.0 have a bug that can cause a segfault.
# The following setting  should  work around that situation.
DEFINES += -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND

# Use the Xutf8 routines (XFree86 extension) instead of the Xmb routines
# in an UTF-8 locale. (No, you don't need this in UTF-8 locales, and 
# most likely don't even want. It's only there because both Xmb and 
# Xutf8 routines are broken, in different ways.)
#DEFINES += -DCF_DE_USE_XUTF8

# Remap F11 key to SunF36 and F12 to SunF37? You may want to set this
# on SunOS.
#DEFINES += -DCF_SUN_F1X_REMAP


##
## Localisation
##

# If you're on an archaic system (such as relatively recent *BSD releases)
# without even dummy multibyte/widechar and localisation support, you may 
# have to uncomment the following line:
DEFINES += -DCF_NO_LOCALE -DCF_NO_GETTEXT

# On some other systems you may need to explicitly link against libintl.
#EXTRA_LIBS += -lintl
# You may also need to give the location of its headers. The following
# should work on Mac OS X (which needs the above option as well) with
# macports.
#EXTRA_INCLUDES += -I/opt/local/include


##
## libc
##

# You may uncomment this if you know that your system C libary provides
# asprintf and  vasprintf. (GNU libc does.) If HAS_SYSTEM_ASPRINTF is not
# defined, an implementation provided in libtu/sprintf_2.2/ is used. 
#HAS_SYSTEM_ASPRINTF=1

# The following setting is needed with GNU libc for clock_gettime and the
# monotonic clock. Other systems may not need it, or may not provide a
# monotonic clock at all (which Ion can live with, and usually detect).
EXTRA_LIBS += -lrt

# Cygwin needs this.
#DEFINES += -DCF_NO_GETLOADAVG


#
# If you're using/have gcc, it is unlikely that you need to modify
# any of the settings below this line.
#
#


##
## C compiler. 
##

CC=gcc

# Same as '-Wall -pedantic' without '-Wunused' as callbacks often
# have unused variables.
WARN=   -W -Wimplicit -Wreturn-type 

Re: java/jdk16 vulnerability?

2009-09-30 Thread cpghost
On Mon, Sep 28, 2009 at 08:48:37PM -0700, Greg Lewis wrote:
 On Mon, Sep 28, 2009 at 12:10:48PM +0200, cpghost wrote:
  Freenet (http://www.freenetproject.org/) on my FreeBSD/amd64 system
  complains about an old and vulnerable Java version:
  
Your installed version of Java is vulnerable to a severe remote
exploit (remote code execution!). You must upgrade to at least Java
5 update 20 or Java 6 update 15 as soon as possible. Freenet has
disabled any plugins handling XML for the time being, but this
includes searching and chat so you should upgrade ASAP!
 
 We're almost certainly vulnerable.  The jdk16 port is at Update 3.

Ah, I see. Thanks for clarifying.

See http://www.cert.fi/en/reports/2009/vulnerability2009085.html for
details.
  
Also, please do not use Thaw or Freetalk. The UPnP plugin is
enabled, it might present a risk if you have bad guys on your LAN,
but without it Freenet will not be able to port forward and will
have severe problems.
  
  I'm running java/jdk16:
  
  phenom# java -version
  java version 1.6.0_03-p4
  Java(TM) SE Runtime Environment (build 
  1.6.0_03-p4-root_08_sep_2009_17_05-b00)
  Java HotSpot(TM) 64-Bit Server VM (build 
  1.6.0_03-p4-root_08_sep_2009_17_05-b00, mixed mode)
  
  On 7.2-STABLE:
  
  phenom# uname -a
  FreeBSD phenom.cordula.ws 7.2-STABLE FreeBSD 7.2-STABLE #0: Tue Sep  8 
  10:43:26 CEST 2009 r...@phenom.cordula.ws:/usr/obj/usr/src/sys/GENERIC  
  amd64
  
  Is that version of Java really vulnerable? If yes, why doesn't
# portaudit -Fda
  report it as such, and could you please update the java/jdk16 port?
 
 We need an entry in the VUXML database I guess.
 
 Updating java/jdk16 is going to be a slow process.  There are lots of
 changes between Update 3 and Update 15.  I've partially merged Update 4,
 but obviously that still leaves many to go...

Looks like *a lot* of work...

Any chance to see progress here before 8.0-RELEASE? It's not a big deal,
but shipping an updated port without that vuln. would be nice.

 Greg Lewis  Email   : gle...@eyesbeyond.com
 Eyes Beyond Web : http://www.eyesbeyond.com
 Information Technology  FreeBSD : gle...@freebsd.org

Thanks for the great work supporting JDK natively on FreeBSD,

-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: backups cloning

2009-09-30 Thread Jerry McAllister
On Tue, Sep 29, 2009 at 07:44:38PM -0400, PJ wrote:

 I am getting more and more confused with all the info regarding backing
 up and cloning or moving systems from disk to disk or computer to computer.
 I would like to do 2 things:
 1. clone several instances of 7.2 from and existing installation
 2. set up a backup script to back up changes either every night or once
 a week
 
 There are numerous solutions out there; but they are mostly confusing,
 erroneous or non functional.
 To start, could someone please explail to the the following, which I
 found here:http://forums.freebsd.org/showthread.php?t=185

This page is essentially correct.   But, it covers several situations.
You need to decide which situation you are working on.

Are  you trying to make a backup of your system in case something
fails or are you trying to make a clone to boot in another system?

As for the restore, are you trying to use it to create a disk to
move to another machine to boot with or to recover a failed disk
on the same machine or just have a bootable disk handy if your
current one fails?Each is different.

If you are just making a dump in case of a disk failure, then
just dump to a file on some removable media (USB drive, Tape, 
across the net, etc) and forget about doing the restore for now.
You do that if the disk fails and you have acquired a new disk
and prepared it for service including slicing and partitioning 
and putting an MBR on it and a boot sector.  Then you use the
fixit boot to restore those backups.

If you are making a clone drive to move to another system
then you have to slice and partition the new drive and then
do the piped dump-restores you indicate below.

If you are making a disk to switch to in case of a failure, you
start by making a slice and partitioned drive and do the dump-restores.
But, then you keep it current using rsync.   Note that in this case, you
only do the dump-restore once.  The rsync does all the updating.  
Alternatively you might use some of the mirroring software to make a 
mirror drive that is [almost] always an exact copy.  That is a completely 
different process.

If you are making a disk to move to another machine then you probably
do not want the -u switch on the dump command.That is meant for
making a series of full and change dumps as backups. 

 
 You can move system from disk to disk on fly with
 Code:
 
 $ newfs -U /dev/ad2s1a
 $ mount /dev/ad2s1a /target
 $ cd /target
 $ dump -0Lauf - /dev/ad1s1a  | restore -rf -
 
 you can do the same using sudo
 Code:
 
 $ sudo echo
 $ sudo dump -0Lauf - /dev/ad1s1a  | sudo restore -rf -
 
 This may be clear to someone; it certainly is not to me.
 As I understand it, newfs will (re)format the slice.
 Ok,  But what is standard out in the above example.  The dump is from
 where to where?
 Could someone clarify all this for me?

The only thing the sudo does is make you root.
If you are already root, you don't need it - as in the first example
you give.   In this particular case, it is probably better to just
be root and run this as root.   That wouldn't always be the case in
every sudo situation.

The dump command as you give it reads the /dev/ad1s1a file system
and sends it to standard out.   That is what the  '-f -'  part of
the command tells it.   The restore command reads from standard in
and restores the data sent to it from the dump via the pipe which
is the '|'.  The pipe takes whatever is in the standard out from
where it is coming and puts it in the standard in where it is going.

 So far, I have been unable to dump the / slice, not even with the -L
 option. I am trying to dump the whole system (all the slices)except swap
 to a usb (sata2 500gb disk) and then restore to another computer with
 7.2 minimal installation.

 Slices ad2s1d,e,f and g dump ok to usb. a does not - errors (should use
 -L when dumping live filesystems)

So, what are the errors.

 Do you have to newfs each slice before restoring?  But if you are
 restoring on a running 7.2 system, don't you have to restore to another
 disk than the one the system is on?

You have asked two unrelated questions.   First:
No, but it is a convenient way to make sure there is a clean
receiving place.Actually, I don't bother doing the restore.
I just write a dump file and leave it there in case I need to
restore from it later.   So my dump command would look something like:

   dump -0Laf /target/ad1s1adump /dev/ad1s1a

So the file ad1s1adump would contain the dump.  You might add
in some characters that identify the date of the dump in the name
of the file.

Also, you can mount the source filesystem and dump using the
mount name.   So, if /dev/ad1s1a is normally mounted as /work,
then it would work - and be mnemonic to do:

  dump -0Laf /target/workdump.20090930 /work

Second: You cannot unmount a filesystem that is in use.  But if you have 
permissions you can write to it.   But, if you try to restore to the root 
filesystem of a running system, you can

Re: backups cloning

2009-09-30 Thread Jerry McAllister
On Tue, Sep 29, 2009 at 10:48:30PM -0400, PJ wrote:

 Polytropon wrote:
  On Tue, 29 Sep 2009 21:26:19 -0400, PJ af.gour...@videotron.ca wrote:

  But what does that mean? But ad2s1a has just been newfs'd - so how can
  it be dumped if its been formatted?
  
  When you're working on this low level, triple-check all your
  commands. Failure to do so can cause data loss. In the example
  you presented, ad1 was the source disk, ad2 the target disk.
  You DON'T want to newfs your source disk.

  And what exactly does stdout mean?
  
 
  This refers to the standard output. In most cases, this is the
  terminal, the screen, such as
 
  # cat /etc/fstab
 
  will write the /etc/fstab to stdout. If you redirect it, for
  example by using  or |, you can make stdout a file, or the
  input - stdin - for another program.
 
  This is how the dump | restore process works: It leaves out
  the use the tape or use the file, but instead directs the
  output of dump - the dump itself - to the restore program as
  input to be restored.

  What is dump doing? outputting what to where exactly?
  
  The dump program is outputting a dump of the specified partition
  to the standard output, which in this case is directly trans-
  mitted to the restore program, which picks it up and processes
  it = restores it.
 
  I don't see it or
  should I say, understand this at all.
 
  Have a look at the command line again, simplified:
 
  # dump -0 -f - /dev/ad0s1a | restore -r -f -
 
  Run the dump program, do a full backup of the 1st partition of
  the 1st slice of the 1st disk, write this dump to the standard
  output, pipe this output to the restore program, do a full
  restore, read the dump to be restored from standard input.

  and then the restore is from what
  to where?
 
  The restore program gets the dump to be restored from the standard
  input - remember, that's the output of the dump program - and
  writes it to the current working directory. That's the reason
  why you should always check with
 
  # pwd
 
  in which directory you're currently located, because that will
  be the place where the restored data will appear.

  write error 10 blocks into volume 1
  do you want to restart:
  
 
  Could you present the command you're actually using, especially
  with where you issued it from?

 Duh I think I see where this is leading... I'm pretty sure it was
 issued from / which makes it redundant, right? I should have issued it
 from somewhere else, like from home, usr or whatever but not from / as
 that is what I was trying to dump :-[

No, that is not a problem.   You can be in any directory and do the dump
command, except if you want that restore to work you have to be in
the receiving filesystem/directory.

I just noticed that I missed that you were newfs-ing the wrong partition.
That was the one you wanted to read from and your newfs would wipe out
everything on it.If you do the newfs - a good idea - it has to be
on the new filesystem you will be writing to.

jerry




  The first time I tried with -L the error was 20 blocks...
  Both the slices for dump from and to are same size (2gb) and certainly
  not full by a long shot ( if I reccall correctly, only about 14% is used)
  
 
  I'm not sure where you put the dump file. Write error seems
  to indicate one of the following problems:
  a) The snapshot cannot be created.
  b) The dump file cannot be created.
 
 
 

  And what's this about a snapshot? AFAIK, I'm not making a snapshot;
  anyway, there is no long pause except for the dumb look on my face upon
  seeing these messages.
  
 
  Check man dump and search for the -L option. The dump program,
  in order to obtain a dump from a file system that's currently in
  use, will need to make a snapshot because it cannot handle data
  that is changing. So it will dump the data with the state of the
  snapshot, allowing the file system to be altered afterwards.
 
 
 

  As it is, I am currently erasing the brand new 500gb disk on which I
  want to restore.
  
 
  Excellent.
 
 
 

  Things started out really bad... don't u;nderstand what is going on.
  
 
  Polite question: Have you read the manpages and the section in the
  Handbook?

 Yes... but my brain can't handle it all so quickly... and being as
 impatient as I am, I tend to miss things on the run... it usually comes
 to me sooner or later... unfortunately, it's more often later than
 sooner... I've been reading the stuff in the man pages, and getting more
 confused by googling... Actually, I've been trying to get things
 straightened ot for at least 3 days already.
 
 

  I
  installed a minimal 7.2, booted up and turned to another computer to do
  some serious work. About 2 hours and 49 minutes later I notice messages
  on the 7.2 about a page fault or something like that and then the system
  reboots.
  
 
  This often indicates a hardware problem...
 

Re: ion windows manager on FreeBSD

2009-09-30 Thread Gary Jennejohn
On Wed, 30 Sep 2009 16:59:25 +0200
Albert Shih albert.s...@obspm.fr wrote:

  Le 30/09/2009 __ 18:45:35+0400, Dmitry Marakasov a __crit
  * Albert Shih (albert.s...@obspm.fr) wrote:
  
   I would like to known if anyone can help me make ion work ? Maybe someone
   have the patch file for the system.mk ? 
  
  Please try this:
  
  http://people.freebsd.org/~amdmi3/ion3.tar
  
  It builds file in tinderbox, but I haven't tested how it works yet.
 
 I'm happy to see I'm not the only ET (http://www.imdb.com/title/tt0083866/)
 to like this wm ;-)
 
 Well I've just try you tarbut it's not working.
 

Not a very useful error message.

I just installed it (9-CURRENT AMD64) and it works just fine for me.  At
least, the basic functionality seems to be there.

I didn't do more testing because I can't stand it.

---
Gary Jennejohn
___
freebsd-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: Problem upgrading 7.2 to 8.0-RC1

2009-09-30 Thread Adam Vande More
On Wed, Sep 30, 2009 at 9:58 AM, Leonardo M. Ramé martinr...@yahoo.comwrote:

  From: Adam Vande More amvandem...@gmail.com
  Subject: Re: Problem upgrading 7.2 to 8.0-RC1
  To: Leonardo M. Ramé martinr...@yahoo.com
  Cc: freebsd-questions@freebsd.org
  Date: Wednesday, September 30, 2009, 11:45 AM
  On Wed, Sep 30,
  2009 at 9:38 AM, Leonardo M. Ramé martinr...@yahoo.com
  wrote:
 
  Hi, I'm trying to upgrade from 7.2 to 8.0-RC1 without
  success. Any hint?
 
 
 
  This is my data:
 
 
 
  uname -a:
 
  FreeBSD toshiba-leo.localhost.localdomain 7.2-STABLE-200906
  FreeBSD 7.2-STABLE-200906 #0: Sun Jun  7 10:23:49 UTC 2009
 
  r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
   amd64
 
 
 
  freebsd-update:
 
 
 
  [r...@toshiba-leo]# freebsd-update -v debug -r 8.0-RC1
  upgrade
 
  Looking up update.FreeBSD.org
  mirrors... 3 mirrors found.
 
  Fetching public key from update5.FreeBSD.org... fetch:
 http://update5.FreeBSD.org/7.2-STABLE-200906/amd64/pub.ssl:
  Not Found
 
  failed.
 
  Fetching public key from update2.FreeBSD.org... fetch:
 http://update2.FreeBSD.org/7.2-STABLE-200906/amd64/pub.ssl:
  Not Found
 
  failed.
 
  Fetching public key from update4.FreeBSD.org... fetch:
 http://update4.FreeBSD.org/7.2-STABLE-200906/amd64/pub.ssl:
  Not Found
 
  failed.
 
  No mirrors remaining, giving up.
 
 
 
 
 
 
 
  Leonardo M. Ramé
 
  http://leonardorame.blogspot.com
 
 
 
 
 
  man freebsd-update
 
  DESCRIPTION
   The freebsd-update tool is used to fetch, install,
  and rollback binary
   updates to the FreeBSD base system.  Note that
  updates are only available
 
   if they are being built for the FreeBSD release
  and architecture being
   used; in particular, the FreeBSD Security Team
  only builds updates for
   releases shipped in binary form by the FreeBSD
  Release Engineering Team,
 
   e.g., FreeBSD 6.1-RELEASE and FreeBSD 6.2-RC1, but
  not FreeBSD 6.2-STABLE
   or FreeBSD 7.0-CURRENT.
 
  You are not running supported version.
 
 
  --
  Adam Vande More
 


 Thanks Adam, any workaround to upgrade to 8.0?

 Leonardo.


I normally csup(1) whatever branch I'm trying to get too.
/usr/src/share/examples/cvsup/stable-supfile is a good starting although
you'll need to edit *default release=cvs tag=RELENG_8 and an appropriate
*default host= line.  Then use handbook for building and installing
http://www.freebsd.org/doc/en/books/handbook/makeworld.html

You'll also want to do something like the following from portmaster man
page.

 Using portmaster to do a complete reinstallation of all your ports:
   1. portmaster --list-origins  ~/installed-port-list
   2. Update your ports tree
   3. portmaster --clean-distfiles-all
   4. portmaster --check-port-dbdir
   5. portmaster -Faf
   6. pkg_delete '*'
   7. rm -rf /usr/local/lib/compat/pkg
   8. Manually check /usr/local and /var/db/pkg
  to make sure that they are really empty
   9. portmaster `cat ~/installed-port-list`

 You probably want to use the -D option for the installation and then
run
 --clean-distfiles[-all] again when you are done.  You might also want
to
 consider using the --force-config option when installing the new ports.





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


Re: backups cloning

2009-09-30 Thread Jerry McAllister
On Wed, Sep 30, 2009 at 05:08:05AM +0200, Polytropon wrote:

 Forgot to mention this:
 
 
 On Tue, 29 Sep 2009 22:23:00 -0400, PJ af.gour...@videotron.ca wrote:
  1. will the s1a slice dump the entire system, that is, the a, d, e, f
  and g slices or is it partitions?
 
 The ad0s1 slice (containing the a, d, e, f and g partitions) can
 be copied 1:1 with dd. By using dump + restore, the partitions
 need to be copied after another. In each case, the entire system
 will be copied. For this purpose, even the long lasting
 
   # dd if=/dev/ad0 of=/dev/da0 bs=1m
   # dd if=/dev/ad0 of=/dev/da0 bs=512 count=1
 
 method can be used.
 

It can be used, but it is not a good way to do it.
That is because it copies sector by sector and the new 
disk/filesystem may not match the old exactly.  Besides
when it is newly written on a file by file basis, it can
be more efficiently laid out and accomodate any changes in
size and sector addressing.  dd cannot do that.

jerry


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


what is wrong with pear?

2009-09-30 Thread Per olof Ljungmark
After a pkg_delete -r pear

I get

/usr/ports/devel/pear# portinstall pear
[Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 204 packages
found (-34 +0) (...) done]
[Gathering depends for devel/pear
. done]
---  Installing 'pear-1.9.0' from a port (devel/pear)
---  Building '/usr/ports/devel/pear'
===  Cleaning for pear-1.9.0
===  Vulnerability check disabled, database not found
===  Extracting for pear-1.9.0
= MD5 Checksum OK for pear-1.9.0.tar.bz2.
= SHA256 Checksum OK for pear-1.9.0.tar.bz2.
===  Patching for pear-1.9.0
===  Applying FreeBSD patches for pear-1.9.0
===  Configuring for pear-1.9.0
---  Installing the new version via the port
===  Installing for pear-1.9.0
===   pear-1.9.0 depends on file: /usr/local/include/php/main/php.h - found
===   pear-1.9.0 depends on file: /usr/local/lib/php/20060613/pcre.so -
found
===   pear-1.9.0 depends on file: /usr/local/lib/php/20060613/xml.so -
found
===   Generating temporary packing list
===  Checking if devel/pear already installed
*** Error code 254

Stop in /usr/ports/devel/pear.
*** Error code 1

Stop in /usr/ports/devel/pear.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portinstall20090930-15477-xp5bhw-0 env make reinstall
** Fix the installation problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! devel/pear(install error)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


how to play *.evo animations (EnSight proprietary format)?

2009-09-30 Thread Anton Shterenlikht
I've several old *.evo animations. This is the
proprietary format developed by CEI:

http://www.ensight.com/envideo.html

CEI have free players for MSWindows, MacOS and linux.
I've had a quick look at the ports tree, and searched
the net a bit, but cannot find a program which would
play *.evo files on FreeBSD.

Any suggestions?

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-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: ion windows manager on FreeBSD

2009-09-30 Thread Mark Linimon
On Wed, Sep 30, 2009 at 03:05:08PM +0400, Dmitry Marakasov wrote:
 I've seen the license change too. I'm working on the port currently.

As a reminder, the last time this software was in the ports tree, the
developer threatened us with a lawsuit.  This repeats what he has
previously done to several other BSDs and several Linux distributions.
This is why ports for his software are no longer available for these
platforms.

Whether the license has changed or not, the fact that the author feels
the desire to use lawsuits to achieve his goals makes his software too
much of a liability for FreeBSD to redistribute.

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


mplayer: X11 error: BadAlloc (insufficient resources for operation)

2009-09-30 Thread Anton Shterenlikht
I've installed port multimedia/mplayer (mplayer-0.99.11_14)
on 9.0-current ia64.

Trying to play an mpeg video I get endless stream of 

X11 error: BadAlloc (insufficient resources for operation)
X11 error: BadAlloc (insufficient resources for operation)
V:   7.6 190/190 17% 82%  0.0% 0 0 
X11 error: BadAlloc (insufficient resources for operation)
X11 error: BadAlloc (insufficient resources for operation)
X11 error: BadAlloc (insufficient resources for operation)
X11 error: BadAlloc (insufficient resources for operation)
X11 error: BadAlloc (insufficient resources for operation)
X11 error: BadAlloc (insufficient resources for operation)

Exiting... (End of file)

Please advise

many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-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: ion windows manager on FreeBSD

2009-09-30 Thread Albert Shih
 Le 30/09/2009 à 17:27:46+0200, Gary Jennejohn a écrit
 On Wed, 30 Sep 2009 16:59:25 +0200
 Albert Shih albert.s...@obspm.fr wrote:
 
   Le 30/09/2009 __ 18:45:35+0400, Dmitry Marakasov a __crit
   * Albert Shih (albert.s...@obspm.fr) wrote:
   
I would like to known if anyone can help me make ion work ? Maybe 
someone
have the patch file for the system.mk ? 
   
   Please try this:
   
   http://people.freebsd.org/~amdmi3/ion3.tar
   
   It builds file in tinderbox, but I haven't tested how it works yet.
  
  I'm happy to see I'm not the only ET (http://www.imdb.com/title/tt0083866/)
  to like this wm ;-)
  
  Well I've just try you tarbut it's not working.
  
 
 Not a very useful error message.

You right.

 
 I just installed it (9-CURRENT AMD64) and it works just fine for me.  At
 least, the basic functionality seems to be there.

You right again

It's work...I don't known why (I'm not a FreeBSD-ports guru...) if I try to
build outside the ports tree, just with the patch file it's don't wokr.

But inside de ports tree it's working.

I'm using 

FreeBSD-8.0-RC1

with all ports up2date.

Thanks for Dmitry for this ports. I'm going to keep this thing somewhere

Regards.


-- 
Albert SHIH
SIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
Heure local/Local time:
Mer 30 sep 2009 18:56:32 CEST
___
freebsd-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: mplayer: X11 error: BadAlloc (insufficient resources for operation)

2009-09-30 Thread Anton Shterenlikht
On Wed, Sep 30, 2009 at 05:36:40PM +0100, Anton Shterenlikht wrote:
 I've installed port multimedia/mplayer (mplayer-0.99.11_14)
 on 9.0-current ia64.
 
 Trying to play an mpeg video I get endless stream of 
 
 X11 error: BadAlloc (insufficient resources for operation)
 X11 error: BadAlloc (insufficient resources for operation)
 V:   7.6 190/190 17% 82%  0.0% 0 0 
 X11 error: BadAlloc (insufficient resources for operation)
 X11 error: BadAlloc (insufficient resources for operation)
 X11 error: BadAlloc (insufficient resources for operation)
 X11 error: BadAlloc (insufficient resources for operation)
 X11 error: BadAlloc (insufficient resources for operation)
 X11 error: BadAlloc (insufficient resources for operation)
 
 Exiting... (End of file)

the same error happens on i386 HEAD:

Playing /usr/home/mexas/ex1.mpg.
MPEG-ES file format detected.
VIDEO:  MPEG1  656x432  (aspect 1)  25.000 fps  1152.0 kbps (144.0 kbyte/s)
==
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 656 x 432 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==
Audio: no sound
Starting playback...
VDec: vo config request - 656 x 432 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.52:1 - prescaling to correct movie aspect.
VO: [xv] 656x432 = 656x432 Planar YV12 
New_Face failed. Maybe the font path is wrong.  

Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
[ws] Error in display.
[ws]  Error code: 11 ( BadAlloc (insufficient resources for operation) )
[ws]  Request code: 132
[ws]  Minor code: 19
[ws]  Modules: flip_page

many thanks for any advice

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Questions regarding portmaster's man page

2009-09-30 Thread Christer Solskogen
Hi!

The man page for portmaster say this:
 Alternatively you could use portmaster -a -f -D to do an ``in place''
 update of your ports.  If that process is interrupted for any reason you
 can use portmaster -a -f -D -R to avoid rebuilding ports already rebuilt
 on previous runs.  However the first method (delete everything and rein-
 stall) is preferred.

I'm wondering why the first method is preferred.

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


just cloning

2009-09-30 Thread PJ
Maybe this is what I really need since I want to set up 3 identical 7.2
computers and back them up and update as needed. This should assure a
minimum of headaches like what I have been experienceg lately.
This link
http://cabstand.com/usbflash.html
seems to be about right, but I'd like to get some opinions on what would
be the best way to go about this.
I assume that I must do one difinitive installation on 1 computer. Then
to clone, do I dump the partitions to a usb disk and restore to the
other two computers; or do I follow the instructions on the above link.
Obviously, it would be nice if it could be K.I.S.S.

___
freebsd-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: just cloning

2009-09-30 Thread Manolis Kiagias
PJ wrote:
 Maybe this is what I really need since I want to set up 3 identical 7.2
 computers and back them up and update as needed. This should assure a
 minimum of headaches like what I have been experienceg lately.
 This link
 http://cabstand.com/usbflash.html
 seems to be about right, but I'd like to get some opinions on what would
 be the best way to go about this.
 I assume that I must do one difinitive installation on 1 computer. Then
 to clone, do I dump the partitions to a usb disk and restore to the
 other two computers; or do I follow the instructions on the above link.
 Obviously, it would be nice if it could be K.I.S.S.

   

Can't tell about these instructions (would be nice to try them though)
but I can assure you I've used the dump/restore method numerous times
and it works great.
There are a few things one should take care of:

1. Don't forget to install MBR / boot blocks on your new disk after
restoring the dump(s)
(see also this post
http://lists.freebsd.org/pipermail/freebsd-questions/2009-July/201809.html)
2. Don't forget to manually create directories that you excluded from
your dump (like /dev /mnt)
3. Since you will (obviously) not dump /tmp don't forget to set the
sticky bit on it when you newfs and mount it - All sort of weird things
will happen if it is not set.
4. If the machines are identical it probably doesn't matter, but it
would be a good idea to label the partitions so you don't have to rely
on device names in fstab (as these change depending on the motherboard,
disk controller, sata connector used etc.), see
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-glabel.html

You can even restore by booting the FreeBSD live FS CD (or the DVD). As
I recall you may have to define TMPDIR to something writable (to a
directory in the USB disk you are using for the dumps) for restore to
work properly.  Restore will tell you about this if needed.
___
freebsd-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: Problem upgrading 7.2 to 8.0-RC1

2009-09-30 Thread Tim Judd
On 9/30/09, Leonardo M. Ramé martinr...@yahoo.com wrote:
 Hi, I'm trying to upgrade from 7.2 to 8.0-RC1 without success. Any hint?

 This is my data:

 uname -a:
 FreeBSD toshiba-leo.localhost.localdomain 7.2-STABLE-200906 FreeBSD
 7.2-STABLE-200906 #0: Sun Jun  7 10:23:49 UTC 2009
 r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

 freebsd-update:

 [r...@toshiba-leo]# freebsd-update -v debug -r 8.0-RC1 upgrade
 Looking up update.FreeBSD.org mirrors... 3 mirrors found.
 Fetching public key from update5.FreeBSD.org... fetch:
 http://update5.FreeBSD.org/7.2-STABLE-200906/amd64/pub.ssl: Not Found
 failed.
 Fetching public key from update2.FreeBSD.org... fetch:
 http://update2.FreeBSD.org/7.2-STABLE-200906/amd64/pub.ssl: Not Found
 failed.
 Fetching public key from update4.FreeBSD.org... fetch:
 http://update4.FreeBSD.org/7.2-STABLE-200906/amd64/pub.ssl: Not Found
 failed.
 No mirrors remaining, giving up.



 Leonardo M. Ramé
 http://leonardorame.blogspot.com


freebsd-update code (at last check) supported updating -RELEASE and
-SECURITY systems, but not -STABLE.

Because it's trying to fetch a -STABLE uname, and it doesn't have an
idea of the latest time it was built (looks like a snapshot, to us
humans), it is unable to move past the keys.

You'll need to run -RELEASE[-p#] to update or update from source.


the freebsd-update program is a shell script.  read it, it's enlightening.

--Tim
___
freebsd-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: problems with hal in freebsd 7.2 i386

2009-09-30 Thread chrisa
 I had similar troubles with hal.

 The easiest solutions is to get rid of hal. Deinstall it. The xorg-package
 you can compile without hal (use make configure and uncheck hal) and it
 will work.

 Cheers
 herb langhans

Thank you.

I discovered that compiling all ports on the relevant machine made it
compile and start. Isn't it odd that the ones compiled on a slightly
different i386 machine didn't? Anyway, the mouse still doesn't work in X,
and from what I'm hearing, it's possible to get the mouse to work in X
without it, so I am going to get rid of hal.

By the way, any ideas on why the mouse input mightn't work in X? It's a
usb mouse, but moused in text mode works with it.

Cheers.

___
freebsd-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: problems with hal in freebsd 7.2 i386

2009-09-30 Thread Warren Block

On Wed, 30 Sep 2009, chr...@uvic.ca wrote:


I discovered that compiling all ports on the relevant machine made it
compile and start. Isn't it odd that the ones compiled on a slightly
different i386 machine didn't?


Not really.  There are lots of ways for two slightly different 
machines to be really different.


Anyway, the mouse still doesn't work in X, and from what I'm hearing, 
it's possible to get the mouse to work in X without it, so I am going 
to get rid of hal.


Or you could fix your configuration.


By the way, any ideas on why the mouse input mightn't work in X? It's a
usb mouse, but moused in text mode works with it.


Your xorg.conf probably has outdated options in it.  But it's hard to 
tell without seeing it.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-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: problems with hal in freebsd 7.2 i386

2009-09-30 Thread Adam Vande More
On Wed, Sep 30, 2009 at 2:11 PM, chr...@uvic.ca wrote:

  I had similar troubles with hal.
 
  The easiest solutions is to get rid of hal. Deinstall it. The
 xorg-package
  you can compile without hal (use make configure and uncheck hal) and it
  will work.
 
  Cheers
  herb langhans

 Thank you.

 I discovered that compiling all ports on the relevant machine made it
 compile and start. Isn't it odd that the ones compiled on a slightly
 different i386 machine didn't? Anyway, the mouse still doesn't work in X,
 and from what I'm hearing, it's possible to get the mouse to work in X
 without it, so I am going to get rid of hal.

 By the way, any ideas on why the mouse input mightn't work in X? It's a
 usb mouse, but moused in text mode works with it.

 Cheers.

 My systems work well with hal. I find overall setup to be faster and
smoother(at this point in time) with hal enabled although there is much
adversity to it on this list.

Do you have xf86-input-mouse installed?

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


Re: ion windows manager on FreeBSD

2009-09-30 Thread Albert Shih
 Le 30/09/2009 à 18:58:43+0200, Albert Shih a écrit
  Le 30/09/2009 à 17:27:46+0200, Gary Jennejohn a écrit
  On Wed, 30 Sep 2009 16:59:25 +0200
  Albert Shih albert.s...@obspm.fr wrote:
  
Le 30/09/2009 __ 18:45:35+0400, Dmitry Marakasov a __crit
* Albert Shih (albert.s...@obspm.fr) wrote:

 I would like to known if anyone can help me make ion work ? Maybe 
 someone
 have the patch file for the system.mk ? 

Please try this:

http://people.freebsd.org/~amdmi3/ion3.tar

It builds file in tinderbox, but I haven't tested how it works yet.
   
   I'm happy to see I'm not the only ET 
   (http://www.imdb.com/title/tt0083866/)
   to like this wm ;-)
   
   Well I've just try you tarbut it's not working.
   
  
  Not a very useful error message.
 
 You right.
 
  
  I just installed it (9-CURRENT AMD64) and it works just fine for me.  At
  least, the basic functionality seems to be there.
 
 You right again
 
 It's work...I don't known why (I'm not a FreeBSD-ports guru...) if I try to
 build outside the ports tree, just with the patch file it's don't wokr.
 
 But inside de ports tree it's working.
 
and after 3h of using, I think the ports is good.

You save «my life» ;-)

Thanks again. 

Regards.

-- 
Albert SHIH
SIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
Heure local/Local time:
Mer 30 sep 2009 21:38:11 CEST
___
freebsd-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: problems with hal in freebsd 7.2 i386

2009-09-30 Thread chrisa
 On Wed, 30 Sep 2009, chr...@uvic.ca wrote:

 I discovered that compiling all ports on the relevant machine made it
 compile and start. Isn't it odd that the ones compiled on a slightly
 different i386 machine didn't?

 Not really.  There are lots of ways for two slightly different
 machines to be really different.

Fair enough. This makes me wonder, though, how the packages downloaded
from the ftp server can be run without problems on most machines. What is
the difference between the machine compiling those for everyone to use and
me compiling my own for another of my machines to use? Is there something
you have to do to make sure they're compatible?

 Anyway, the mouse still doesn't work in X, and from what I'm hearing,
 it's possible to get the mouse to work in X without it, so I am going
 to get rid of hal.

 Or you could fix your configuration.

I'd love to.

 By the way, any ideas on why the mouse input mightn't work in X? It's a
 usb mouse, but moused in text mode works with it.

 Your xorg.conf probably has outdated options in it.  But it's hard to
 tell without seeing it.

Actually, I don't have one at all. I'm letting Xorg autodetect everything.
Evidently it's not autodetecting the mouse. I'm thinking it's time to try
manual configuration.

___
freebsd-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: problems with hal in freebsd 7.2 i386

2009-09-30 Thread chrisa
 My systems work well with hal. I find overall setup to be faster and
 smoother(at this point in time) with hal enabled although there is much
 adversity to it on this list.

 Do you have xf86-input-mouse installed?

I do have it installed. I'm going to try manual configuration to see if I
can make it work.

By the way, you find it faster and smoother with hal enabled? I recall
reading an earlier thread about hal where some people found everything
slower and less responsive. Interesting.

___
freebsd-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: problems with hal in freebsd 7.2 i386

2009-09-30 Thread Adam Vande More
On Wed, Sep 30, 2009 at 2:43 PM, chr...@uvic.ca wrote:

  My systems work well with hal. I find overall setup to be faster and
  smoother(at this point in time) with hal enabled although there is much
  adversity to it on this list.
 
  Do you have xf86-input-mouse installed?

 I do have it installed. I'm going to try manual configuration to see if I
 can make it work.

 By the way, you find it faster and smoother with hal enabled?


Yup

I recall
 reading an earlier thread about hal where some people found everything
 slower and less responsive. Interesting.


I think this was due to couple of different factors with a large one being a
one point there was a bug causing extreme cpu usage.  IMO, there was also
been a lot of misinformation and probably misconfiguration due to it.

As stated already, posting /var/log/Xorg.0.log is the best way to solve
this.



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


Re: ion windows manager on FreeBSD

2009-09-30 Thread Albert Shih
 Le 30/09/2009 à 11:19:15-0500, Mark Linimon a écrit
 On Wed, Sep 30, 2009 at 03:05:08PM +0400, Dmitry Marakasov wrote:
  I've seen the license change too. I'm working on the port currently.
 
 As a reminder, the last time this software was in the ports tree, the
 developer threatened us with a lawsuit.  This repeats what he has
 previously done to several other BSDs and several Linux distributions.
 This is why ports for his software are no longer available for these
 platforms.
 
 Whether the license has changed or not, the fact that the author feels
 the desire to use lawsuits to achieve his goals makes his software too
 much of a liability for FreeBSD to redistribute.
 

Well I think you decision is already take so I'm not going argue with you.
Just little information : As I understand Tuomo Valkonen as stop the
developement of this software. Here is what he say :

 «I have recently given up on the failure known as Linux, and switched to
 Windows. As I thus probably won't be working much on Ion3 anymore, and
 since it seems very stable anyway, the 28-day clause in the license should
 serve little practical purpose anymore. It has therefore been lifted.»
 
-- http://www.modeemi.fi/~tuomov/ion/news.html

Anyway if you don't want that ports I can understand easily why. That make
me sad, but thanks to Dmitry I can use ion-3  and because ion-3 not
going to evolve I'm going to keep that «pseudo-ports» in some «safe»-place.

Regards.
-- 
Albert SHIH
SIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
Heure local/Local time:
Mer 30 sep 2009 21:51:13 CEST
___
freebsd-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: problems with hal in freebsd 7.2 i386

2009-09-30 Thread Warren Block

On Wed, 30 Sep 2009, chr...@uvic.ca wrote:


My systems work well with hal. I find overall setup to be faster and
smoother(at this point in time) with hal enabled although there is much
adversity to it on this list.

Do you have xf86-input-mouse installed?


I do have it installed. I'm going to try manual configuration to see if I
can make it work.


If you can tell what graphics card you have, no doubt someone can 
provide a sample.  I can come up with ones for ATI and Intel.



By the way, you find it faster and smoother with hal enabled? I recall
reading an earlier thread about hal where some people found everything
slower and less responsive. Interesting.


It turns out that hal plus a disable hal option makes things not work. 
The opposite is probably also true.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-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 restore Base_Bind on amd64 7.2 p3

2009-09-30 Thread David Southwell
 

 -Original Message-
 From: owner-freebsd-questi...@freebsd.org 
 [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of 
 da...@vizion2000.net
 Sent: 29 September 2009 13:06
 To: 'Frank Steinborn'
 Cc: freebsd-questions@freebsd.org
 Subject: RE: How to restore Base_Bind on amd64 7.2 p3
 
  
 
  -Original Message-
  From: owner-freebsd-questi...@freebsd.org
  [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Frank 
  Steinborn
  Sent: 29 September 2009 11:47
  To: David Southwell
  Cc: ' ?'; freebsd-questions@freebsd.org
  Subject: Re: How to restore Base_Bind on amd64 7.2 p3
  
  David Southwell wrote:
   By base-bind I mean the version of bind that is included 
 in freebsd
   7.2 operating system which is a version earlier than the
  latest Bind96.
   
   When installing bind96 and I did not keep base-bind.
   
   Now multiple ports give the following type of problem 
 -this is just 
   one example.
   ___
   gnome-vfs-2.24.1_1
   
   compile stops with message:
   
   ===  gnome-vfs-2.24.1_1 depends on shared library: pango-1.0.0 - 
   found
   gnome-vfs-2.24.1_1: bind installed with PORT_REPLACES_BASE_BIOND 
   causes build problems.
   *** error code 1
   
   Stop in /usr/ports/devel/gnome-vfs
   *** Error Code 1
   
   Stop in /usr/ports/devel/gnome-vfs
   _
  
  You should be able to restore the bind from base by using the 
  install.sh script in /usr/src/contrib/bind9. Deinstall the 
 port first, 
  though.
  
 ThanksI deinstalled the port and tried to run install-sh 
 
 # sh install-sh
 and got the response:
  install: no input file specified
 
 Any chance you might make me a little wiser on how to use install-sh?\
 
 Thanks
 
 David
 
Sorrty to ask again - but I really need to solve this problem asap.

Thanks in advance

David

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


more problems. but not with 7.2

2009-09-30 Thread Henry Olyer
First, I want to thank Kenneth and Warren, and a few others who's names I
never caught.  I am up now with FBSD 7.2, on a browser and with my air-card
running.

Okay, so now I am back at work on my application.   A few of you know of my
science-fiction work.

I'm trying to run a movie using mplayer.  Here follows the text from an X
session.  How do I configure my sound (same machine, the CQ60-419WM,) and
also tighen up the font's, please?




Player 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team
CPU: AMD Sempron(tm) SI-42 (Family: 17, Model: 3, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

Playing DAF_English.mov.
ISO: File Type Major Brand: Original QuickTime
Quicktime/MOV file format detected.
[mov] Video stream found, -vid 0
[mov] Audio stream found, -aid 2
VIDEO:  [avc1]  720x404  24bpp  23.976 fps0.0 kbps ( 0.0 kbyte/s)
==
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==
==
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000-192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio)
decoder)
==
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or
directory
AO: [null] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 404 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 720x404 = 720x404 Planar YV12
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
A: 111.8 V: 111.8 A-V:  0.001 ct:  0.022 2682/2682  8%  2%  1.0% 26 0
Exiting... (Quit)
___
freebsd-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: problems with hal in freebsd 7.2 i386

2009-09-30 Thread chrisa
 On Wed, 30 Sep 2009, chr...@uvic.ca wrote:

 My systems work well with hal. I find overall setup to be faster and
 smoother(at this point in time) with hal enabled although there is much
 adversity to it on this list.

 Do you have xf86-input-mouse installed?

 I do have it installed. I'm going to try manual configuration to see if
 I
 can make it work.

 If you can tell what graphics card you have, no doubt someone can
 provide a sample.  I can come up with ones for ATI and Intel.

It's a Silicon Integrated Systems [SiS] 661/741/760 PCI/AGP or something.
Built-in to the motherboard. That's what Xorg autodetects, anyway, and it
starts up and shows blackbox.

I ran Xorg -configure and started it with the result xorg.conf.new, and
that time the screen stayed black throughout. Odd.


 By the way, you find it faster and smoother with hal enabled? I recall
 reading an earlier thread about hal where some people found everything
 slower and less responsive. Interesting.

 It turns out that hal plus a disable hal option makes things not work.
 The opposite is probably also true.

Interesting.

Anyhow, I looked at my Xorg.0.log. I noticed a line saying it can't find
any input devices, and relies upon hal to find them. Then I ran a ps -ax
and found that hal isn't running, even though it should be, being set to
start in rc.conf, along with dbus. So I started it, the startup script
appeared to work, but hald still isn't running. Then I started dbus first,
then hald, and they were both running, restarted X, and suddenly it works.

I swear both were running last night when the mouse and keyboard input
didn't work. They are, after all, set to start up at boot time. Also, the
most recent Xorg.0.log contains the lines:

(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on HAL to provide the list of input devices.
If no devices become available, reconfigure HAL or disable
AllowEmptyInput.

even though the mouse and keyboard both work now. To make sure that it was
the most recent log file, I deleted all the Xorg logs, restarted it, and
read the most recent one. And it still contains those lines with the
working mouse and keyboard.

Thanks, all, for your help. Now I only have TWO problems left!

___
freebsd-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: backups cloning

2009-09-30 Thread Polytropon
About the dd method:

On Wed, 30 Sep 2009 11:30:58 -0400, Jerry McAllister jerr...@msu.edu wrote:
 It can be used, but it is not a good way to do it.

For regular backups or even for cloning, it's not very
performant, I agree. I'm mostly using this method for
forensic purposes, when I need a copy of a media (a
whole disk, one slice or a particular partition) to toy
around with, so I don't mess up the original data.



 That is because it copies sector by sector and the new 
 disk/filesystem may not match the old exactly. 

That's a known problem. Another problem is time complexity.
The dd program does copy everything - even the unused disk
blocks (which don't need to be copied). This makes this
process often last very long.



 Besides
 when it is newly written on a file by file basis, it can
 be more efficiently laid out and accomodate any changes in
 size and sector addressing.  dd cannot do that.

That's true. This is the point where tools like cpdup and
rsync come into mind (according to creating backups or
clones).



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


Re: how to play *.evo animations (EnSight proprietary format)?

2009-09-30 Thread Polytropon
On Wed, 30 Sep 2009 17:01:01 +0100, Anton Shterenlikht me...@bristol.ac.uk 
wrote:
 I've had a quick look at the ports tree, and searched
 the net a bit, but cannot find a program which would
 play *.evo files on FreeBSD.
 
 Any suggestions?

Have you already tried the bleeding obvious, mplayer? :-)



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


Re: mplayer: X11 error: BadAlloc (insufficient resources for operation)

2009-09-30 Thread cpghost
On Wed, Sep 30, 2009 at 05:36:40PM +0100, Anton Shterenlikht wrote:
 I've installed port multimedia/mplayer (mplayer-0.99.11_14)
 on 9.0-current ia64.
 
 Trying to play an mpeg video I get endless stream of 
 
 X11 error: BadAlloc (insufficient resources for operation)
 X11 error: BadAlloc (insufficient resources for operation)
 V:   7.6 190/190 17% 82%  0.0% 0 0 
 X11 error: BadAlloc (insufficient resources for operation)
 X11 error: BadAlloc (insufficient resources for operation)
 X11 error: BadAlloc (insufficient resources for operation)
 X11 error: BadAlloc (insufficient resources for operation)
 X11 error: BadAlloc (insufficient resources for operation)
 X11 error: BadAlloc (insufficient resources for operation)

This usually happens when X doesn't have enough resources to
allocate to direct viewing with the xv (XView) driver. This
is very often related to DRM/DRI or memory problems.

As a work around, try playing the video with the x11 driver
instead:

$ mplayer -vo x11 somefile.avi

On a very slow machine, x11 isn't as good as xv driver, but it's
better than nothing. On a reasonably fast machine (2 GB or so),
you shouldn't notice any difference.

Also you can't use full screen mode with x11 driver like with xv, but
if your CPU is fast enough, you can use software zooming with the -zoom
option.

BTW, I often experience that mplayer with -vo xv works very well the
first time I start X (directly after booting), but not on subsequent
starts of X. I traced this down to the following data point, but was
unable to investigate further as I have NO experience in drm/dri
debugging:

On a first start of X on my machine, xvinfo yields:

$ xvinfo
X-Video Extension version 2.2
screen #0
  Adaptor #0: RadeonHD Textured Video
number of ports: 16
port base: 64
operations supported: PutImage 
supported visuals:
  depth 24, visualID 0x21
no port attributes defined
maximum XvImage size: 8192 x 8192

(...)

and mplayer -vo xv ... and everything else works great;
while on subsequent starts of X, it returns something like

$ xvinfo
X-Video Extension version 2.2
screen #0
no adaptors present

and mplayer -vo xv yields those X11 BadAlloc errors, and scrolling
in tin/rtin, firefox etc... is *painfully* slow.

This is with the following kld modules
 51 0x80e67000 5ab6dradeon.ko
 61 0x80ec2000 11795drm.ko
and radeonhd driver:

  drm0: ATI Radeon HD 3200 Graphics on vgapci0
  info: [drm] MSI enabled 1 message(s)
  vgapci0: child drm0 requested pci_enable_busmaster
  info: [drm] Initialized radeon 1.29.0 20080528
  info: [drm] Setting GART location based on new memory map
  info: [drm] Loading RS780/RS880 Microcode
  info: [drm] Resetting GPU
  info: [drm] writeback test succeeded in 1 usecs
  drm0: [ITHREAD]

It may be similar with other Xorg drivers that can't initialize
drm/dri properly, or can't allocate enough memory for DRI to
mplayer. X11 BadAlloc can also happen on large videos only, while
mplayer is able to play smaller videos with xv...

Good luck.

 Exiting... (End of file)
 
 Please advise
 
 many thanks
 
 -- 
 Anton Shterenlikht
 Room 2.6, Queen's Building
 Mech Eng Dept
 Bristol University
 University Walk, Bristol BS8 1TR, UK
 Tel: +44 (0)117 331 5944
 Fax: +44 (0)117 929 4423

-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


ndis interface doesn't show up (intel 5300)

2009-09-30 Thread Michal

Hello,

I'm struggling to get Intel 5300 wireless mini pci-e card working on 
FreeBSD 8.0-RC1 (amd64, both GENERIC and my custom kernel).
I get no error messages. Kernel module builds and loads fine but then 
ndis interface never shows up.


Here is exactly what I'm doing:
Drivers for XP64 downloaded from intel website. I've tried latest and 
old drivers. Unzipped on FreeBSD.

Then:
ndisgen NETw5x64.inf NETw5x64.sys
 This .INF file appears to be ASCII. [return]
 This .SYS file appears to be in Windows(r) PE format. [return]
 Driver file conversion - conversion was successful. [enter]
 Firmware file conversion [enter]
 Kernel module generation
  Generating Makefile... done.
  Building kernel module... done.
  Cleaning up... done.

So NETw5x64_sys.ko has been successfully generated. Note that when it 
asks me for additional firmware files I don't give it any - is that ok?


Then I'm moving this module to /boot/modules and I'm loading it:
 kldload -v NETw5x64_sys.ko
 Loaded NETw5x64_sys.ko, id=8

And that's pretty much it, module get loaded together with nids.ko and 
if_nids.ko but nothing really happens. No additional network interfaces, 
nothing in dmesg output. Tried with debug.ndis=1 and get no additional 
informations.


Any ideas, please? Anybody got this card to work on FreeBSD?

Michal
--
The future is here. It's just not widely distributed yet. -William Gibson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: what is wrong with pear?

2009-09-30 Thread Per olof Ljungmark

Per olof Ljungmark wrote:

After a pkg_delete -r pear

I get

/usr/ports/devel/pear# portinstall pear
[Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 204 packages
found (-34 +0) (...) done]
[Gathering depends for devel/pear
. done]
---  Installing 'pear-1.9.0' from a port (devel/pear)
---  Building '/usr/ports/devel/pear'
===  Cleaning for pear-1.9.0
===  Vulnerability check disabled, database not found
===  Extracting for pear-1.9.0
= MD5 Checksum OK for pear-1.9.0.tar.bz2.
= SHA256 Checksum OK for pear-1.9.0.tar.bz2.
===  Patching for pear-1.9.0
===  Applying FreeBSD patches for pear-1.9.0
===  Configuring for pear-1.9.0
---  Installing the new version via the port
===  Installing for pear-1.9.0
===   pear-1.9.0 depends on file: /usr/local/include/php/main/php.h - found
===   pear-1.9.0 depends on file: /usr/local/lib/php/20060613/pcre.so -
found
===   pear-1.9.0 depends on file: /usr/local/lib/php/20060613/xml.so -
found
===   Generating temporary packing list
===  Checking if devel/pear already installed
*** Error code 254

Stop in /usr/ports/devel/pear.
*** Error code 1

Stop in /usr/ports/devel/pear.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portinstall20090930-15477-xp5bhw-0 env make reinstall
** Fix the installation problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! devel/pear(install error)


Well, to answer myself, I don't know. After a pkg_delete -a pear 
installed ok again...

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


Re: problems with hal in freebsd 7.2 i386

2009-09-30 Thread CmdLnKid

On Wed, 30 Sep 2009 16:36 -, chrisa wrote:


On Wed, 30 Sep 2009, chr...@uvic.ca wrote:


My systems work well with hal. I find overall setup to be faster and
smoother(at this point in time) with hal enabled although there is much
adversity to it on this list.

Do you have xf86-input-mouse installed?


I do have it installed. I'm going to try manual configuration to see if
I
can make it work.


If you can tell what graphics card you have, no doubt someone can
provide a sample.  I can come up with ones for ATI and Intel.


It's a Silicon Integrated Systems [SiS] 661/741/760 PCI/AGP or something.
Built-in to the motherboard. That's what Xorg autodetects, anyway, and it
starts up and shows blackbox.

I ran Xorg -configure and started it with the result xorg.conf.new, and
that time the screen stayed black throughout. Odd.




By the way, you find it faster and smoother with hal enabled? I recall
reading an earlier thread about hal where some people found everything
slower and less responsive. Interesting.


It turns out that hal plus a disable hal option makes things not work.
The opposite is probably also true.


Interesting.

Anyhow, I looked at my Xorg.0.log. I noticed a line saying it can't find
any input devices, and relies upon hal to find them. Then I ran a ps -ax
and found that hal isn't running, even though it should be, being set to
start in rc.conf, along with dbus. So I started it, the startup script
appeared to work, but hald still isn't running. Then I started dbus first,
then hald, and they were both running, restarted X, and suddenly it works.

I swear both were running last night when the mouse and keyboard input
didn't work. They are, after all, set to start up at boot time. Also, the
most recent Xorg.0.log contains the lines:

(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on HAL to provide the list of input devices.
   If no devices become available, reconfigure HAL or disable
AllowEmptyInput.

even though the mouse and keyboard both work now. To make sure that it was
the most recent log file, I deleted all the Xorg logs, restarted it, and
read the most recent one. And it still contains those lines with the
working mouse and keyboard.

Thanks, all, for your help. Now I only have TWO problems left!

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



Add the following to your X11 config and see what you come up with.

Section ServerFlags
option  AutoAddDevicesoff
option  AllowEmptyInput   off
EndSection

Best regards

--

  - (2^(N-1))
___
freebsd-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: problems with hal in freebsd 7.2 i386

2009-09-30 Thread chrisa
 Add the following to your X11 config and see what you come up with.

 Section ServerFlags
  option  AutoAddDevicesoff
  option  AllowEmptyInput   off
 EndSection

 Best regards

All right, I did that. Created a new xorg.conf since it's working with the
autoconfig now. The mouse and keyboard still work, and Xorg.0.log follows.


X.Org X Server 1.6.1
Release Date: 2009-4-14
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 7.2-RELEASE-p3 i386
Current Operating System: FreeBSD nimue.gv.shawcable.net 7.2-RELEASE-p3
FreeBSD 7.2-RELEASE-p3 #0: Tue Sep 29 12:51:56 PDT 2009
chr...@nimue.gv.shawcable.net:/usr/obj/usr/src/sys/NODEBUG i386
Build Date: 29 September 2009  09:08:23PM

Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Wed Sep 30 14:56:25 2009
(==) Using config file: /usr/local/etc/X11/xorg.conf
(==) No Layout section.  Using the first Screen section.
(==) No screen section available. Using defaults.
(**) |--Screen Default Screen Section (0)
(**) |   |--Monitor default monitor
(==) No monitor specified for screen Default Screen Section.
Using a default monitor configuration.
(**) Option AllowEmptyInput off
(**) Option AutoAddDevices off
(**) Not automatically adding devices
(==) Automatically enabling devices
(==) FontPath set to:
/usr/local/lib/X11/fonts/misc/,
/usr/local/lib/X11/fonts/TTF/,
/usr/local/lib/X11/fonts/OTF,
/usr/local/lib/X11/fonts/Type1/,
/usr/local/lib/X11/fonts/100dpi/,
/usr/local/lib/X11/fonts/75dpi/,
built-ins
(==) ModulePath set to /usr/local/lib/xorg/modules
(==) |--Input Device default pointer
(==) |--Input Device default keyboard
(==) No Layout section. Using the default mouse configuration.
(==) No Layout section. Using the default keyboard configuration.
(II) Loader magic: 0x6a0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 5.0
X.Org XInput driver : 4.0
X.Org Server Extension : 2.0
(II) Loader running on freebsd
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9

(--) PCI:*(0...@1:0:0) Silicon Integrated Systems [SiS] 661/741/760 PCI/AGP
or 662/761Gx PCIE VGA Display Adapter rev 0, Mem @ 0xe000/134217728,
0xec00/131072, I/O @ 0xd000/128, BIOS @ 0x/65536
(II) System resource ranges:
[0] -1  0   0x000f - 0x000f (0x1) MX[B]
[1] -1  0   0x000c - 0x000e (0x3) MX[B]
[2] -1  0   0x - 0x0009 (0xa) MX[B]
[3] -1  0   0x - 0x (0x1) IX[B]
[4] -1  0   0x - 0x00ff (0x100) IX[B]
(II) LoadModule: extmod
(II) Loading /usr/local/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor=X.Org Foundation
compiled for 1.6.1, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: dbe
(II) Loading /usr/local/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor=X.Org Foundation
compiled for 1.6.1, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: glx
(II) Loading /usr/local/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor=X.Org Foundation
compiled for 1.6.1, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(==) AIGLX disabled
(II) Loading extension GLX
(II) LoadModule: record
(II) Loading /usr/local/lib/xorg/modules/extensions//librecord.so
(II) Module record: vendor=X.Org Foundation
compiled for 1.6.1, module version = 1.13.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: dri
(II) Loading /usr/local/lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor=X.Org Foundation
compiled for 1.6.1, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: dri2
(II) Loading /usr/local/lib/xorg/modules/extensions//libdri2.so
(II) Module dri2: vendor=X.Org Foundation
compiled for 1.6.1, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(==) Matched sis for the 

Re: problems with hal in freebsd 7.2 i386

2009-09-30 Thread herbert langhans
Maybe start over again installing the ports? There are drivers for the sis 
chipset, for the case you havent discovered them: 
/usr/ports/x11-drivers/xf86-video-sis

Also the already mentioned /usr/ports/x11-drivers/xf86-input-mouse

And then reinstall /usr/ports/x11/xorg (with a make config before)

I have a similar combination, though using the traditional ps2 mouse..

Cheers
herb langhans

-- 
sprachtraining langhans
herbert langhans, warschau
http://www.langhans.com.pl
herbert dot raimund at gmx dot net
+0048 603 341 441

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


syslog-ng.conf.sample from port sysutils/syslog-ng3 errors

2009-09-30 Thread Austin Friestman
The sample config file for syslog-ng3 does not work.
When I install sysutils/syslog-ng3 from ports, the sample config file
/usr/local/etc/syslog-ng/syslog-ng.conf.sample seems to have a number
of things wrong with it.
First, the port is looking for it in /usr/local/etc not
/usr/local/etc/syslog-ng contrary to what most of the tutorials on
it's installation indicate.
Once you've moved the file to the right location, this happens

[afriest...@monolith /usr/local/etc]$ sudo /usr/local/etc/rc.d/syslog-ng start
Starting syslog_ng.
Configuration file has no version number, assuming syslog-ng 2.1
format. Please add @version: maj.min to the beginning of the file;
WARNING: global: the default value of chain_hostnames is changing to
'no' in version 3.0, please update your configuration accordingly;
Your configuration file uses an obsoleted keyword, please update your
configuration; keyword='sync', change='flush_lines'
WARNING: input: sources do not remove new-line characters from
messages by default in version 3.0, please add 'no-multi-line' flag to
your configuration if you want to retain this functionality;
WARNING: file source: default value of follow_freq in file sources is
changing in 3.0 to '1' for all files except /proc/kmsg;
WARNING: template: the default value for template-escape is changing
to 'no' in version 3.0, please update your configuration file
accordingly;
Unknown facility; facility='console'

Adding @version3.0 to the first line of the file helps quite a bit
[afriest...@monolith /usr/local/etc]$ sudo /usr/local/etc/rc.d/syslog-ng start
Starting syslog_ng.
Your configuration file uses an obsoleted keyword, please update your
configuration; keyword='sync', change='flush_lines'
Unknown facility; facility='console'

Changing
options { long_hostnames(off); sync(0); };
to
options { long_hostnames(off); flush_lines(0); };
takes care of all but that last line.

While searching for answers to this problem, I came across
http://dbaspot.com/forums/solaris/240478-syslog-ng-warning-unknown-facility-facility-authpriv.html
which suggests mapping of the facilities seems to be done in eventlog
(which syslog-ng is based on)
Neither of the two files in /usr/local/include/eventlog (evtlog.h and
evtmaps.h) mention a thing about a console facility
However, there is a LOG_CONSOLE definition in /usr/include/syslog.h,
which is included in the above evtlog.h.  see next line
#define LOG_CONSOLE (143) /* /dev/console output */

I feel like I'm close to getting syslog-ng working, I just need a
little help now that I'm getting into parts of the system I'm not
familiar with.

[afriest...@monolith ~]$ uname -a
FreeBSD monolith.vertive.local 7.2-STABLE FreeBSD 7.2-STABLE #0: Mon
Sep 21 16:40:02 CDT 2009
___
freebsd-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: problems with hal in freebsd 7.2 i386

2009-09-30 Thread Warren Block

On Wed, 30 Sep 2009, CmdLnKid wrote:

On Wed, 30 Sep 2009 16:36 -, chrisa wrote:

(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on HAL to provide the list of input devices.
   If no devices become available, reconfigure HAL or disable
AllowEmptyInput.


These are normal messages.  (II)nformation, not (EE)rror.


even though the mouse and keyboard both work now.

^^^

Just wanted to emphasize that.

To make sure that it was the most recent log file, I deleted all the 
Xorg logs, restarted it, and read the most recent one. And it still 
contains those lines with the working mouse and keyboard.


Add the following to your X11 config and see what you come up with.

Section ServerFlags
   option  AutoAddDevicesoff
   option  AllowEmptyInput   off
EndSection


Why?  Several months ago, these were used to work around bugs.  Shortly 
afterwards, the bugs were fixed.  Now the use of those options is 
causing problems more often than solving them.


The time to add those options is when xorg doesn't work without them.

-Warren Block * Rapid City, South Dakota USA
___
freebsd-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: problems with hal in freebsd 7.2 i386

2009-09-30 Thread Warren Block

On Wed, 30 Sep 2009, chr...@uvic.ca wrote:


Add the following to your X11 config and see what you come up with.

Section ServerFlags
 option  AutoAddDevicesoff
 option  AllowEmptyInput   off
EndSection

Best regards


All right, I did that.


What are you trying to fix with those entries?


Created a new xorg.conf since it's working with the autoconfig now.


And what is in it?


The mouse and keyboard still work, and Xorg.0.log follows.



(EE) config/hal: NewInputDeviceRequest failed (8)
(II) config/hal: Adding input device AT Keyboard
(EE) config/hal: NewInputDeviceRequest failed (8)


Well, that's broken.  Look, there are basically two ways to configure 
keyboard and mouse for xorg.  There's the old way, where you have 
InputDevice entries for them in xorg.conf.


Then there's the new way, where you run hal and let it handle the 
keyboard and mouse for xorg.  No InputDevice sections are needed.  For 
example, here is my xorg.conf from the Acer Aspire One.  Note the lack 
of InputDevice sections and those magic ServerFlags options.


Section ServerLayout
Identifier   AA1 Manually Configured
Screen   0  Screen0 0 0
Option   DontZap Off
Option   AIGLX On
EndSection

Section Files
ModulePath   /usr/local/lib/xorg/modules
FontPath /usr/local/lib/X11/fonts/misc/
FontPath /usr/local/lib/X11/fonts/TTF/
FontPath /usr/local/lib/X11/fonts/OTF
FontPath /usr/local/lib/X11/fonts/Type1/
FontPath /usr/local/lib/X11/fonts/100dpi/
FontPath /usr/local/lib/X11/fonts/75dpi/
FontPath /usr/local/lib/X11/fonts/bitstream-vera/
EndSection

Section DRI
Group 0
Mode  0660
EndSection

Section Monitor
Identifier   Monitor0
VendorName   LGD
Option   DPMS
EndSection

Section Device
Identifier  Card0
Driver  intel
VendorName  Intel Corporation
BoardName   Mobile 945GME Express Integrated Graphics Controller
BusID   PCI:0:2:0
Option  Monitor-LVDS Monitor0
Option  MonitorLayout LVDS,VGA
Option  AccelMethod EXA
Option  MigrationHeuristic greedy
Option  CacheLines 1980
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
SubSection Display
Virtual 1024 600
EndSubSection
EndSection

-Warren Block * Rapid City, South Dakota USA
___
freebsd-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: problems with hal in freebsd 7.2 i386

2009-09-30 Thread Warren Block

On Thu, 1 Oct 2009, herbert langhans wrote:

Maybe start over again installing the ports? There are drivers for the 
sis chipset, for the case you havent discovered them: 
/usr/ports/x11-drivers/xf86-video-sis


Please quote a little context to identify the problem.  It's usually not 
necessary to throw out all the ports, or all the xorg ports.  If hal 
support is missing in xorg-server, just rebuilding xorg-server with the 
correct config should be enough.



Also the already mentioned /usr/ports/x11-drivers/xf86-input-mouse

And then reinstall /usr/ports/x11/xorg (with a make config before)


If necessary (usually not), it won't help unless you

cd /usr/ports/x11/xorg
make rmconfig-recursive
make config-recursive

And then rebuild, deinstall, and reinstall the appropriate ports. 
xorg-server for sure, maybe others.


But I would ask again: what, exactly, is the problem to be solved?

-Warren Block * Rapid City, South Dakota USA
___
freebsd-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: devel/pear port build failure

2009-09-30 Thread Terry Sposato
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Per olof Ljungmark wrote:
 Hi,

 Did you work this one out? I am caught with the same problem albeit
 with 1.9.0.

 Thanks,

 -- per

 Terry Sposato wrote:
 Hi,

 I am having trouble building the devel/pear port. I have tried
 the following, rebuild all dependant ports (all of php etc.) -
 Extracted new ports tree, used portmaster, always returns the
 same error:

 [got][/usr/ports/devel/pear]# make install clean ===  Installing
 for pear-1.8.1 ===   pear-1.8.1 depends on file:
 /usr/local/include/php/main/php.h - found ===   pear-1.8.1
 depends on file: /usr/local/lib/php/20060613/pcre.so - found ===
 pear-1.8.1 depends on file: /usr/local/lib/php/20060613/xml.so -
 found ===   Generating temporary packing list ===  Checking if
 devel/pear already installed

 Bootstrapping Installer... Using previously
 install ... ok

 Extracting installer.. Using previously installed
 installer ... ok

 Preparing installer.. Updating channel
 doc.php.net Channel doc.php.net is up to date Updating
 channel pear.php.net Channel pear.php.net is up to date
 Updating channel pecl.php.net Channel pecl.php.net is up to
 date

 Installing selected packages.. Package:
 PEAR-stable.. already installed ...
 ok Package: Structures_Graph-stable.. already
 installed ... ok Package:
 Archive_Tar-stable... already installed ...
 ok Package: Console_Getopt-stable already
 installed ... ok *** Signal 11

 Stop in /usr/ports/devel/pear.

 Anyone have this issue?

 Please reply to me directly as I am currently not on the list.

 Regards,

 Terry

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

I still haven't resolved this issue.
There are some people on the freebsd forums which are having the issue
as well, no fix yet as far as i can tell.

Regards,

Terry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
iEYEARECAAYFAkrD6d8ACgkQggJ6ImaGmQp57wCfX9jqcCzi0UgjLmtqVbkAkQ2C
4e0An2W+1In+WL0vtzQjL7hqXq7uo2Uk
=qPzr
-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: Netwroked Storage

2009-09-30 Thread Olivier Nicole
Hi,

 All of the 200 domains on each server have thier own Real Unix user 
 (obviously). Once the NAS is setup, (using NFS), how do the permissions on 
 the NAS machine play out? i.e. when user 'hisname' logs into a server via 
 ftp, and uploads a file to his home directory (which is on the NAS), will 
 the file permissions be the same, and will 'hisname' own the file exactly 
 the same as if he were writing to the local (server) disk? 

That is expected, else something bad would exists in the configuration
of the NAS.

 In the NAS 
 exports do I have to map every user to the NFS or can I just maproot?

Maproot is the easiest as it gives complete access to the NFS exported
directory.

Now you may consider that for security reason, users of client-machine
1 should only be allowed to NFS mount their own home directory.

In that case, you may need the users of client-machine 1 to exist on
client-machine 1 and on the server, etc for machine 2... Actually I
never had this case when a user account only exists on an NFS client
but not on the NFS server, so I am not too sure. I guess that user ID
of the users should be different on every client system.

You may consider an LDAP directory for your users, where the server
would see all the users, but each client-machine would see only the
users belonging to it (I thing that there is an host attributes, so
client-1 only sees the users with host=client-1).

Good luck,

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


Re: problems with hal in freebsd 7.2 i386

2009-09-30 Thread chrisa
 On Wed, 30 Sep 2009, chr...@uvic.ca wrote:

 Add the following to your X11 config and see what you come up with.

 Section ServerFlags
  option  AutoAddDevicesoff
  option  AllowEmptyInput   off
 EndSection

 Best regards

 All right, I did that.

 What are you trying to fix with those entries?

Nothing. I was just doing it to see what happens.


 Created a new xorg.conf since it's working with the autoconfig now.

 And what is in it?

Only this:

Section ServerFlags
option  AutoAddDevicesoff
option  AllowEmptyInput   off
EndSection

and nothing else.


 The mouse and keyboard still work, and Xorg.0.log follows.

 (EE) config/hal: NewInputDeviceRequest failed (8)
 (II) config/hal: Adding input device AT Keyboard
 (EE) config/hal: NewInputDeviceRequest failed (8)

 Well, that's broken.  Look, there are basically two ways to configure
 keyboard and mouse for xorg.  There's the old way, where you have
 InputDevice entries for them in xorg.conf.

 Then there's the new way, where you run hal and let it handle the
 keyboard and mouse for xorg.  No InputDevice sections are needed.  For
 example, here is my xorg.conf from the Acer Aspire One.  Note the lack
 of InputDevice sections and those magic ServerFlags options.

It does indeed appear broken. The keyboard and mouse still work, though,
which doesn't make any sense to me. I don't have any InputDevice sections,
as you can see, so if hal isn't configuring the keyboard and mouse, what
is?

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