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

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

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

 Hi,

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

 The error message looks like:

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

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

 Best regards,

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




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


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

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

True, libtool is among the several ports affected. For libtool I
uncompressed by hand and so make accepted to complete, but it
defeats the purpose of portupgrade if one has to do everything by
hand.

  Since I upgraded that machine from 6.x to 7.3 I am hitting a memory
  limit with xz when trying to build/upgrade several ports.
 
  The error message looks like:
 
   /usr/local/bin/xz: /usr/ports/distfiles//libpng-1.4.1.tar.xz: Memory usage
  limit reached
   /usr/local/bin/xz: Limit was 46 MiB, but 65 MiB would have been needed
 
  Is there a config parameter to tell the make files in /usr/ports to
  desactivate xz memory limit?

TIA,

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: Memory limit in xz (/usr/local/bin/xz)

2010-06-15 Thread Bruce Cran
On Tuesday 15 June 2010 03:57:28 Olivier Nicole wrote:
 Hi,
 
 Since I upgraded that machine from 6.x to 7.3 I am hitting a memory
 limit with xz when trying to build/upgrade several ports.
 
 The error message looks like:
 
   /usr/local/bin/xz: /usr/ports/distfiles//libpng-1.4.1.tar.xz: Memory
 usage limit reached /usr/local/bin/xz: Limit was 46 MiB, but 65 MiB would
 have been needed
 
 Is there a config parameter to tell the make files in /usr/ports to
 desactivate xz memory limit?

From xz(1):

   To  prevent uncomfortable surprises caused by huge memory usage, xz has
   a built-in memory usage limiter. While some operating  systems  provide
   ways  to  limit  the  memory  usage  of processes, relying on it wasn't
   deemed to be flexible enough. The default limit depends  on  the  total
   amount of physical RAM:

[...]

The default limit can be overridden with --memory=limit.

and

ENVIRONMENT
   XZ_OPT A space-separated list of options is parsed from  XZ_OPT  before
  parsing  the  options  given on the command line. Note that only
  options are parsed from XZ_OPT;  all  non-options  are  silently
  ignored.  Parsing is done with getopt_long(3) which is used also
  for the command line arguments.

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


Re: detached a mounted ufs filesystem

2010-06-15 Thread Ian Smith
I'm a little confused by your using two different names, so you might 
get two copies of this ..

On Mon, 14 Jun 2010, Zhengtao Cui wrote:

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

Ok, there's no label on da0s1, as suspected.  And from your other reply 
to Polytropon, there's sure no label for 'dangerously dedicated' da0a:

 : 'fsck_ufs /dev/da0a' gives me the same result as /dev/da0.
 :
 : The 'newfs -N /dev/da0a' prints a very long list of numbers such as
 :
 : 160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624, 3010976,
 : 3387328, 3763680, 4140032, 4516384, 4892736, 5269088, 5645440, 6021792,
 : 6398144, 6774496, 7150848, 7527200, 7903552, 8279904, 8656256, 9032608,
 : 9408960, 9785312, 10161664, 10538016, 10914368, 11290720, 11667072, 
12043424, ..
 :
 : And I tried 'fsck_ffs -b 160 /dev/da0a', it says
 :
 : Alternate super block location: 160
 : ** /dev/da0a160 is not a file system superblock
 : 
 : Using /dev/da0 or other numbers in the list gives me the same results.

I hope you're using -d and/or -n switches to fsck_ffs as advised; you 
don't want to write to this disk until you're sure it's likely correct.

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

See below; first you want to make sure you have a good backup of *at 
least* the first couple of tracks, so you can restore that if need be.

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

I suggest carefully reading dd(1) ('man 1 dd'), at least the relevant 
bits for copying whole sectors (ignoring block, ascii etc modes).  The 
default block/sector size is 512 but specifying it makes it clearer:

# dd bs=512 count=126 if=/dev/da0 of=/somepath/backup_da0_126sectors 

That said, it would be far better if you can temporarily spare the 
114GB space, to backup an image of the whole disk:

# dd bs=512 if=/dev/da0 conv=sync,noerror of=/somepath/backup_of_da0

If you can do that, you can use that image with bsdlabel -f file to play 
with the image first, only writing to the real disk when all looks good.

Or alternatively, if you get it wrong on the real disk, you could just 
dd back to da0 from the file (as above, but swapping if= and of=)

Now, bsdlabel.  Carefully read man bsdlabel, and if possible practice 
saving and editing some labels from a good disk but with the -n switch, 
so no changes are made; this will report what bsdlabel would do without 
the -n switch and report any problems found with the layout you specify.  

If you are not comfortable with vi (I'm not), you could set your shell's 
EDITOR variable to ee (or another) first.  I do this in my /root/.cshrc 
with 'setenv EDITOR ee'

All of that said, to stress being as careful as possible, the examples 
given in bsdlabel(8) are exactly what you need for da0s1 .. if you use 
the -f file switch you can do it all with your saved image instead:

===
   bsdlabel -w /dev/da0s1

 Create a label for da0s1.

   bsdlabel -e da0s1

 Read the label for da0s1, edit it, and install the result.

   bsdlabel -e -n da0s1

 Read the on-disk label for da0s1, edit it, and display what the new label
 would be (in sectors).  It does not install the new label either in-core
 or on-disk.

   bsdlabel -w da0s1

 Write a default label on da0s1.  Use another bsdlabel -e command to edit
 the partitioning and file system information.

   bsdlabel -R da0s1 savedlabel

 Restore the on-disk and in-core label for da0s1 from information in
 savedlabel.

   bsdlabel -R -n da0s1 label_layout

 Display what the label would be for da0s1 using the partition layout in
 label_layout.  This is useful for determining how much space would be
 allotted for various partitions with a labeling scheme using %-based or *
 partition sizes.
===

If the 'd' partition was the only one on this disk, as seems likely, 
then your label format should wind up looking like this, on your data:

# /dev/da0s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  c: 234436482   0unused0 0 # raw part, don't edit
  d: 234436482   04.2BSD

Please take care.  Personally, I always use sysinstall(8) or sade(8) to 
slice and label disks, so if my advice re this is incorrect, hopefully 
someone will chime in with something more correct, or perhaps easier.

cheers, Ian

[Leaving the tail quoted, for reference to the data, not my opinions :]

  On Mon, 14 Jun 2010, Ian Smith wrote:
  
   In freebsd-questions Digest, Vol 314, Issue 13, Message: 22
   On Sat, 12 Jun 2010 22:38:15 -0400 Xihong Yin x...@gmx.com wrote:
   
'fdisk /dev/da0' output is
   
*** Working on device /dev/da0 ***
parameters extracted from in-core disklabel are:
cylinders=14593 heads=255 sectors/track=63 (16065 blks/cyl)
   
Figures below won't work with BIOS for partitions not in 

RE: Nanobsd not booting...

2010-06-15 Thread peter harrison
Never mind - I found what I needed in the nanobsd script itself. I
needed to set the boot drive and avoid a serial console. Thanks
anyway.

Peter.

-Original Message-
From: Peter Harrison peter.piggy...@virgin.net
Sent: 14 June 2010 21:57
To: questi...@freebsd.org questi...@freebsd.org
Subject: Nanobsd not booting...


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

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

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

And then I just get a flashing underscore.

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


TIA


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


* wildcard in.sh script

2010-06-15 Thread Aiza
I have a directory with files in it. The first 3 letters of the file 
names is the group prefix. I'm trying to write a script to accept the 3 
letter of the group followed by a * to mean its a prefix lookup. But 
when I run it I get a message NO match that is not issued by the 
script. Its like * is not allowed as input.


Looking for sample .sh code for handling this standard type of lookup or 
some online tutorial that has sample code for bourne shell programming.


.


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


Re: * wildcard in.sh script

2010-06-15 Thread Svein Skogen (Listmail Account)
On 15.06.2010 10:25, Aiza wrote:
 I have a directory with files in it. The first 3 letters of the file
 names is the group prefix. I'm trying to write a script to accept the 3
 letter of the group followed by a * to mean its a prefix lookup. But
 when I run it I get a message NO match that is not issued by the
 script. Its like * is not allowed as input.
 
 Looking for sample .sh code for handling this standard type of lookup or
 some online tutorial that has sample code for bourne shell programming.
 
 .

Just for the fun of it. Try escaping the asterisk (\*) and see if that
works?

//Svein

-- 
+---+---
  /\   |Svein Skogen   | sv...@d80.iso100.no
  \ /   |Solberg Østli 9| PGP Key:  0xE5E76831
   X|2020 Skedsmokorset | sv...@jernhuset.no
  / \   |Norway | PGP Key:  0xCE96CE13
|   | sv...@stillbilde.net
 ascii  |   | PGP Key:  0x58CD33B6
 ribbon |System Admin   | svein-listm...@stillbilde.net
Campaign|stillbilde.net | PGP Key:  0x22D494A4
+---+---
|msn messenger: | Mobile Phone: +47 907 03 575
|sv...@jernhuset.no | RIPE handle:SS16503-RIPE
+---+---
 If you really are in a hurry, mail me at
   svein-mob...@stillbilde.net
 This mailbox goes directly to my cellphone and is checked
even when I'm not in front of my computer.

 Picture Gallery:
  https://gallery.stillbilde.net/v/svein/




signature.asc
Description: OpenPGP digital signature


Re: * wildcard in.sh script

2010-06-15 Thread Fbsd1

Svein Skogen (Listmail Account) wrote:

On 15.06.2010 10:25, Aiza wrote:

I have a directory with files in it. The first 3 letters of the file
names is the group prefix. I'm trying to write a script to accept the 3
letter of the group followed by a * to mean its a prefix lookup. But
when I run it I get a message NO match that is not issued by the
script. Its like * is not allowed as input.

Looking for sample .sh code for handling this standard type of lookup or
some online tutorial that has sample code for bourne shell programming.

.


Just for the fun of it. Try escaping the asterisk (\*) and see if that
works?

//Svein

Not in the script but on the command line. newjails rm2*  as input to 
the script.

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


Re: * wildcard in.sh script

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

On 15/06/2010 09:25:45, Aiza wrote:
 I have a directory with files in it. The first 3 letters of the file
 names is the group prefix. I'm trying to write a script to accept the 3
 letter of the group followed by a * to mean its a prefix lookup. But
 when I run it I get a message NO match that is not issued by the
 script. Its like * is not allowed as input.
 
 Looking for sample .sh code for handling this standard type of lookup or
 some online tutorial that has sample code for bourne shell programming.

It would be helpful if you could show us some code, so we can tell
exactly what you're trying to do.

It sounds like your problem is you'ld like to supply a globbing pattern
as an argument to your script, and then apply it within the script.  So
you'ld like to call the script something like this:

   $ myscript.sh -p globpattern filename

The trick there would be to enclose globpattern in quote marks, which
will cause it to be passed literally into the script, rather than your
interactive shell attempting to expand the pattern before starting the
script and passing the arguments to it.  (That's a classic way of
getting a No match error message which seems to come from a program
that couldn't have generated it)

Note that it's not just the shell that can do globbing expansions --
find(1), pkg_info(1) are two examples I can think of immediately.  These
glob-pattern command line arguments similarly need quoting to protect
them from the shell.

Cheers,

Matthew

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

iEYEARECAAYFAkwXQToACgkQ8Mjk52CukIxOrACggdei0bi8k13jyOg3tGQXyKp3
yFgAnjPJHivqt4VqM84UnGWqpFA/QQnR
=FwzT
-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: * wildcard in.sh script

2010-06-15 Thread Aiza

Aiza wrote:
I have a directory with files in it. The first 3 letters of the file 
names is the group prefix. I'm trying to write a script to accept the 3 
letter of the group followed by a * to mean its a prefix lookup. But 
when I run it I get a message NO match that is not issued by the 
script. Its like * is not allowed as input.


Looking for sample .sh code for handling this standard type of lookup or 
some online tutorial that has sample code for bourne shell programming.






Here is the code

  prefix_name1=$1
  prefix_name2=`echo -n ${prefix_name1} | sed 's/*.*$//'`
  echo prefix_name1 = ${prefix_name1}
  echo prefix_name2 = ${prefix_name2}


  if [ ${prefix_name1} -nq ${prefix_name2} ]; then
  echo prefix_name2 = ${prefix_name2}
  fi
exerr hard stop


Here is the test and out put
# admin cell*
admin: No match.

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


kernel module krpc required for zfs on amd64, but not needed on ia64?

2010-06-15 Thread Anton Shterenlikht
On ia64 to get zfs I only need to have
makeoptions MODULES_OVERRIDE=opensolaris zfs
in the kernel config:

# kldstat
Id Refs AddressSize Name
 19 0xe400 cc6688   kernel
 21 0xe4cc8000 1ff4a8   zfs.ko
 32 0xe4ec8000 14b60opensolaris.ko



On amd64 it seems one also needs krpc kernel module:

KLD zfs.ko: depends on krpc - not available or version mismatch

Is this expected?

Perhaps on ia64 krpc is included via some other
kernel config option?

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


i cannot login as root

2010-06-15 Thread Giorgos Tsiapaliokas
hello,

my system has 2 users the user terietor and the root user.

after a failed upgrade of my system with portmaster,i can't login as root
but i can login as terietor.
root was using the csh shell and terietor was using the bash shell.

P.S.:when i login as terietor i see this symbol %# instead of
u...@localhost:~/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: * wildcard in.sh script

2010-06-15 Thread RW
On Tue, 15 Jun 2010 17:06:11 +0800
Aiza aiz...@comclark.com wrote:


 Here is the test and out put
 # admin cell*
 admin: No match.

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


Re: * wildcard in.sh script

2010-06-15 Thread RW
On Tue, 15 Jun 2010 12:20:14 +0100
RW rwmailli...@googlemail.com wrote:

 On Tue, 15 Jun 2010 17:06:11 +0800
 Aiza aiz...@comclark.com wrote:
 
 
  Here is the test and out put
  # admin cell*
  admin: No match.
 
 try ./admin cell*

Sorry that would be not found, not No match

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


Re: i cannot login as root

2010-06-15 Thread Glen Barber

Hi,

On 6/15/10 7:15 AM, Giorgos Tsiapaliokas wrote:

hello,

my system has 2 users the user terietor and the root user.

after a failed upgrade of my system with portmaster,i can't login as root
but i can login as terietor.
root was using the csh shell and terietor was using the bash shell.



Are you sure you don't have this backwards?

portmaster should not touch /bin/csh, since it is not a port - it is 
part of the base system.  However, if root's shell is set to bash and 
portmaster blew up upgrading that port, this would prevent you from 
logging in as root, and is a good example of why not to change root's 
default shell to something not in the base install.


If this is the case, and you have physical access to the machine, drop 
into single-user mode and use chsh(1) to reset root's shell to /bin/csh.


Regards,

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


RE:i cannot login as root

2010-06-15 Thread Giorgos Tsiapaliokas
my root acc is using csh.

i tried via singel user mode to change it but it said that it is a read-only
enviroment.:(
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE:i cannot login as root

2010-06-15 Thread Giorgos Tsiapaliokas
i can't :(

it says that is is only read-only enviroment..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: * wildcard in.sh script

2010-06-15 Thread Aiza


This is the output. want to build list only containing
file names prefixed with job. Putting   around the value on the 
command line worked. But before this can go to production will have to 
fix the code so no   on the command value.


#  admin  job*
prefix_name1 = job*
prefix_name2 = job
 if job* != job
 list all1 = pen2
pen1
job_3
job_2
job_1
cell_B
cell_A
loop  = pen2
pen1
job_3
job_2
job_1
cell_B
cell_A*
hard stop


This is the code. From the results above the for is not looping 
through the file name list.


  dir=/usr/local
  prefix_name1=$1
  prefix_name2=`echo -n ${prefix_name1} | sed 's/*.*$//'`

  echo prefix_name1 = ${prefix_name1}
  echo prefix_name2 = ${prefix_name2}

  echo  if ${prefix_name1} != ${prefix_name2}
  if [ ${prefix_name1} != ${prefix_name2} ]; then

[ -d ${dir}/etc/jail/ ]  \
  cd ${dir}/etc/jail/  list=`ls | xargs rcorder`
echo  list all1 = ${list}
# know this worked because see it in the o/p

for jail in ${list}*; do
 echo loop  = ${jail}
 # this only shows first file name in the o/p
 # though the * on the for command would do globbing
done
  fi
exerr hard stop




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


Re: i cannot login as root

2010-06-15 Thread Neal Hogan
On Tue, Jun 15, 2010 at 7:32 AM, Giorgos Tsiapaliokas
terie...@gmail.com wrote:
 i can't :(

 it says that is is only read-only enviroment..

use the world wide web, and look for an answer
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE:i cannot login as root

2010-06-15 Thread Giorgos Tsiapaliokas
ok,thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE:i cannot login as root

2010-06-15 Thread Giorgos Tsiapaliokas
--
 i gave in single user mode

# mount -u /
# mount -a -t ufs
# passwd
#chsh -s /bin/csh

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


Re: i cannot login as root

2010-06-15 Thread Bas Smeelen
On 06/15/2010 02:29 PM, Giorgos Tsiapaliokas wrote:
 my root acc is using csh.

 i tried via singel user mode to change it but it said that it is a read-only
 enviroment.:(

   
Did you try mount -o rw / to remount your / (root) partition read write?
If you where using portmaster to update/upgrade your ports this should
not affect root's csh or csh at all, though.

Also when you have remounted your / partition read write in single user
mode you can use vipw to make sure root's shell is /bin/csh or change
this if it's not the case.

What error do you get, when you try to login as root in multi user mode?

A websearch on recover freebsd root password might help also

Good luck.


DISCLAIMER:
This e-mail is for the intended recipient(s) only.
Access, disclosure, copying, distribution or reliance on any of it by anyone 
else is prohibited.
If you have received it by mistake please let us know by reply and then delete 
it from your system.

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


system state after freebsd-update and before portugprade -af

2010-06-15 Thread n dhert
When doing a major version upgrade of FreeBSD, the last (mandatory) step is
to rebuild and reinstall all third party software (ports)
(# portupgrade -af )

I have a system with 750+ ports, I guess the portupgrade -af will take
something like 30 hours to compile
(on a test system with 425 ports portugprade -af took 15 hours).

What happens in the periode that not every port is yet rebuilt and
reinstalled?
Will applications (webserver, print server, X server, and the many other
apps) not be working,
until these ports (and the ports they depend on) will be successfully
recompiled ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: system state after freebsd-update and before portugprade -af

2010-06-15 Thread Chris Rees
You're generally ok until you run make delete-old, which clears out the old
kind and hoses any port linked to them.

Sorry for top-posting, Android won't let me quote. There's a bug report on
it!

On 15 Jun 2010 14:35, n dhert ndhert...@gmail.com wrote:

When doing a major version upgrade of FreeBSD, the last (mandatory) step is
to rebuild and reinstall all third party software (ports)
(# portupgrade -af )

I have a system with 750+ ports, I guess the portupgrade -af will take
something like 30 hours to compile
(on a test system with 425 ports portugprade -af took 15 hours).

What happens in the periode that not every port is yet rebuilt and
reinstalled?
Will applications (webserver, print server, X server, and the many other
apps) not be working,
until these ports (and the ports they depend on) will be successfully
recompiled ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: system state after freebsd-update and before portugprade -af

2010-06-15 Thread Chris Rees
Clears out the old libs, sorry. Prediction playing up!

Sorry for top-posting, Android won't let me quote. There's a bug report on
it!

On 15 Jun 2010 14:57, Chris Rees utis...@gmail.com wrote:

You're generally ok until you run make delete-old, which clears out the old
kind and hoses any port linked to them.

Sorry for top-posting, Android won't let me quote. There's a bug report on
it!



 On 15 Jun 2010 14:35, n dhert ndhert...@gmail.com wrote:

 When doing a major version upg...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: * wildcard in.sh script

2010-06-15 Thread Randal L. Schwartz
 Aiza == Aiza  aiz...@comclark.com writes:

Aiza This is the output. want to build list only containing file names
Aiza prefixed with job. Putting   around the value on the command
Aiza line worked. But before this can go to production will have to fix
Aiza the code so no   on the command value.

You can't fix your script to do that.  The expansion of '*' is a
function of the shell before it even gets to your script.  So this is
not possible.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: system state after freebsd-update and before portugprade -af

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

On 15/06/2010 14:34:43, n dhert wrote:
 When doing a major version upgrade of FreeBSD, the last (mandatory) step is
 to rebuild and reinstall all third party software (ports)
 (# portupgrade -af )
 
 I have a system with 750+ ports, I guess the portupgrade -af will take
 something like 30 hours to compile
 (on a test system with 425 ports portugprade -af took 15 hours).
 
 What happens in the periode that not every port is yet rebuilt and
 reinstalled?
 Will applications (webserver, print server, X server, and the many other
 apps) not be working,
 until these ports (and the ports they depend on) will be successfully
 recompiled ?

It's a mixed bag, really.  Unless you can build all your required ports
off-line, and then do all the upgrading via packages you're going to
have hours of downtime and various other possible effects on service.

You can sort-of do this upgrade in-place on a live system, but you'ld
have to do it at a weekend or overnight or whenever your site gets
minimum traffic.  You've also got to watch the upgrade process
carefully, and restart daemons as required.  Eg. something like mysql
will be stopped on deinstall, but you'll have to restart it as soon as
the updated version is installed.  Check pkgtools.conf -- there's foo
you can put in the AFTERINSTALL hash to try and automate that:

  AFTERINSTALL = {
'*' = proc { |origin|
   cmd_start_rc(origin)
},
  }

On the other hand, for something like Apache+mod_php, you don't want to
bounce apache until all of the php5 and pecl modules have been rebuilt.
 Your php applications probably won't work during the time everything is
being rebuilt.

Shared libraries will generally get rebuilt fairly early in the process.
 In general this will not cause any running application that links
against the old version of the shlib to stop running.  It may well
prevent starting a new instance of a process, even though there are
backup copies of the old shlib saved in /usr/local/compat/pkg.  That's
potentially a big Ooops.

In summary: probably best to arrange enough downtime to do the upgrade
and just turn everything off while you are doing it.  If you really need
minimum downtime, think about one of the following:

* Create a jail on your server, build all required ports as
  packages and then do your upgrade by package juggling only

* Build a whole new system in a jail in its own partition, then
  reboot using that partition as the root.  Works particularly
  well if your system is using ZFS.

* Use a spare machine to build an upgraded system, switch it
  in place of the live server, then upgrade the live box at leisure
  and switch back. (Works well in combination with the packages
  only method above.)

There are other tricks, like splitting a RAID1 mirror, upgrading one of
the disks only, then only once the upgrade has been tested and approved
do you put the mirror back together and resynch.  In this case, if it
all goes horribly wrong, you can just reboot from the other half of the
mirror back into the original system and then resynch in the other
direction to get back to square one.  You can have the server back live
running on one disk while you rebuild the other or while the resynch is
happening if you need to.

Cheers,

Matthew

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

iEYEARECAAYFAkwXjkUACgkQ8Mjk52CukIwN1gCglHMeFnwryuUM9K8xaEnGB9SZ
kJwAnRLTWPDwyrc4p85W1F/ROXH9Qqky
=a8iR
-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


CFP for Surge Scalability Conference 2010

2010-06-15 Thread Jason Dixon
We're excited to announce Surge, the Scalability and Performance
Conference, to be held in Baltimore on Sept 30 and Oct 1, 2010.  The
event focuses on case studies that demonstrate successes (and failures)
in Web applications and Internet architectures.

Our Keynote speakers include John Allspaw and Theo Schlossnagle.  We are
currently accepting submissions for the Call For Papers through July
9th.  You can find more information, including our current list of
speakers, online:

http://omniti.com/surge/2010

If you've been to Velocity, or wanted to but couldn't afford it, then
Surge is just what you've been waiting for.  For more information,
including CFP, sponsorship of the event, or participating as an
exhibitor, please contact us at su...@omniti.com.

Thanks,

-- 
Jason Dixon
OmniTI Computer Consulting, Inc.
jdi...@omniti.com
443.325.1357 x.241
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: SATA time outs

2010-06-15 Thread Casey Scott
I'd appreciate it if someone could lend some assistance with this issue. The 
machine in question is pretty much unusable atm!

Regards,
Casey

- Casey Scott ca...@phantombsd.org wrote:

 Since upgrading to 8.0 RELEASE, I continually get these errors:
 
 ...
 Jun 11 15:24:08  kernel: ad6: 953869MB Seagate ST31000340AS SD1A
 at ata3-master SATA150
 Jun 11 15:24:08  kernel: (probe6:ahc0:0:6:0): TEST UNIT READY.
 CDB: 0 0 0 0 0 0
 Jun 11 15:24:08  kernel: (probe6:ahc0:0:6:0): CAM Status: SCSI
 Status Error
 Jun 11 15:24:08  kernel: (probe6:ahc0:0:6:0): SCSI Status: Check
 Condition
 Jun 11 15:24:08  kernel: (probe6:ahc0:0:6:0): UNIT ATTENTION
 asc:29,2
 Jun 11 15:24:08  kernel: (probe6:ahc0:0:6:0): SCSI bus reset
 occurred
 Jun 11 15:24:08  kernel: (probe6:ahc0:0:6:0): Retrying Command
 (per Sense Data)
 ...
 
 
 I've tried 3 different drives w/ 2 different disk controllers.
 Anything I use as the second drive generates this message on boot, and
 will eventually fail with timeout errors after a couple hours.  The
 other drive on the system, ad4, never displays these symptoms. This
 isn't new hardware, and worked flawlessly until now.
 
 Any suggestions? Has a bug been introduced into the ata driver?
 
 Regards,
 Casey
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: SATA time outs

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

On 15/06/2010 16:06:36, Casey Scott wrote:
 I'd appreciate it if someone could lend some assistance with this
 issue. The machine in question is pretty much unusable atm!

You've tried swapping out the drives and the disk controllers, but have
you tried swapping out the SATA cables?  I say this, because I
personally once spent about two weeks trying to debug a weird problem
that turned out to be due to a broken conductor in some ethernet cable.
Talk about egg-on-face.

When doing diagnosis by swapping out components, always start with the
cheapest components and work up to the most expensive.

Now, component failure is certainly a possibility given that you say the
kit is some years old.  That can be a side effect of upgrading to a new
release -- if you're doing a lot of extra compiling and stuff the extra
load can tip marginal hardware over the edge -- but it is a also
possibility that there is some sort of introduced bug with the new system.

To confirm this, you'll need to boot back into an older version of the
system and show that all your hardware comes back to life.  Rather than
blowing away all your upgrading work, try using a livecd -- you can fsck
and mount 8.0 UFS filesystems from a 7.x livecd no problem, but be
careful with ZFS, as there may have been some on-disk format changes
that aren't backwards compatible.  You might want to grab an 8-STABLE
snapshot .iso as well: if that works, then you can be fairly certain the
problem will be fixed in 8.1-RELEASE  (although there has definitely
been a zpool version bump between 8.0-RELEASE and 8.1-RELEASE).

Cheers,

Matthew

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

iEYEARECAAYFAkwXn2IACgkQ8Mjk52CukIxYxQCgi693uu68KKuY1Hg8ScwkP8kV
wsYAoIm9g14MHpsktg9cXIXzC5ZVANpg
=hvho
-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: SATA time outs

2010-06-15 Thread Casey Scott
I did try different cables. Just failed to mention that. The LiveCD is 
a great suggestion. I'll try that this evening, and see how everything
 works. 

I considered the hardware being marginal, but was surprised when a 
brand new disk controller also failed. In any case, I'll try the LiveCD
and see what I've got to work with. 

Thanks,
Casey

- Matthew Seaman m.sea...@infracaninophile.co.uk wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 15/06/2010 16:06:36, Casey Scott wrote:
  I'd appreciate it if someone could lend some assistance with this
  issue. The machine in question is pretty much unusable atm!
 
 You've tried swapping out the drives and the disk controllers, but
 have
 you tried swapping out the SATA cables?  I say this, because I
 personally once spent about two weeks trying to debug a weird problem
 that turned out to be due to a broken conductor in some ethernet
 cable.
 Talk about egg-on-face.
 
 When doing diagnosis by swapping out components, always start with
 the
 cheapest components and work up to the most expensive.
 
 Now, component failure is certainly a possibility given that you say
 the
 kit is some years old.  That can be a side effect of upgrading to a
 new
 release -- if you're doing a lot of extra compiling and stuff the
 extra
 load can tip marginal hardware over the edge -- but it is a also
 possibility that there is some sort of introduced bug with the new
 system.
 
 To confirm this, you'll need to boot back into an older version of
 the
 system and show that all your hardware comes back to life.  Rather
 than
 blowing away all your upgrading work, try using a livecd -- you can
 fsck
 and mount 8.0 UFS filesystems from a 7.x livecd no problem, but be
 careful with ZFS, as there may have been some on-disk format changes
 that aren't backwards compatible.  You might want to grab an 8-STABLE
 snapshot .iso as well: if that works, then you can be fairly certain
 the
 problem will be fixed in 8.1-RELEASE  (although there has definitely
 been a zpool version bump between 8.0-RELEASE and 8.1-RELEASE).
 
   Cheers,
 
   Matthew
 
 - -- 
 Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
   Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW
 -BEGIN PGP SIGNATURE-
 Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iEYEARECAAYFAkwXn2IACgkQ8Mjk52CukIxYxQCgi693uu68KKuY1Hg8ScwkP8kV
 wsYAoIm9g14MHpsktg9cXIXzC5ZVANpg
 =hvho
 -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: terrible mplayer performance

2010-06-15 Thread Chip Camden
On Jun 14 2010 21:06, Neil Short wrote:
 --- On Mon, 6/14/10, Polytropon free...@edvax.de wrote:
 
  
  
  Check the output of pciconf -lv to see what
  identification of
  your graphics hardware is output. 
 
 result:
 ...
 vgap...@pci0:0:2:0: class=0x03 card=0x140a103c chip=0x00468086 
 rev=0x02 hdr=0x00
 vendor = 'Intel Corporation'
 class  = display
 subclass   = VGA
 ...
 

You have exactly the same chipset I do.  I have not seen any mention of
work being done on the intel driver for this chipset, but I would be glad
to lend a hand if someone could direct me on how to begin.

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


Re: * wildcard in.sh script

2010-06-15 Thread Chip Camden
On Jun 15 2010 17:06, Aiza wrote:
 Aiza wrote:
 I have a directory with files in it. The first 3 letters of the file 
 names is the group prefix. I'm trying to write a script to accept the 3 
 letter of the group followed by a * to mean its a prefix lookup. But 
 when I run it I get a message NO match that is not issued by the 
 script. Its like * is not allowed as input.
 
 Looking for sample .sh code for handling this standard type of lookup or 
 some online tutorial that has sample code for bourne shell programming.
 
 
 
 
 Here is the code
 
   prefix_name1=$1
   prefix_name2=`echo -n ${prefix_name1} | sed 's/*.*$//'`
   echo prefix_name1 = ${prefix_name1}
   echo prefix_name2 = ${prefix_name2}
 
 
   if [ ${prefix_name1} -nq ${prefix_name2} ]; then
   echo prefix_name2 = ${prefix_name2}
   fi
 exerr hard stop
 
 
 Here is the test and out put
 # admin cell*
 admin: No match.
 

As others have mentioned, you need to quote or escape the * in the
command line:

admin cell*

You've also botched your regex (/*.*$/) -- it can't begin with a *.  What 
exactly
are you trying to match?

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


Re: * wildcard in.sh script

2010-06-15 Thread Polytropon
On Tue, 15 Jun 2010 09:25:05 -0700, Chip Camden sterl...@camdensoftware.com 
wrote:
 As others have mentioned, you need to quote or escape the * in the
 command line:
 
 admin cell*

The problem, for explaination purposes, is that the shell you
enter the command will already expand cell* to cell_A, cell_B
and so on. This means that inside your script $1 will be assigned
the first matching entry, $2 would be the second one, $3 a third
one and so on.

To avoid this, you need to directly communicate the * to your
script's parameter $1, which is done by escaping or quoting it.
In this case, $1 will contain a literal * inside the script.

In most cases when scripting, it's useful not to assume such a
complicated command line processing. You better let the shell
do the expansion of *, so your script gets a lot of parameters,
one for each match, and you then continue to process them.

Another option is to just provide a prefix pattern to your
script, and let IT then add the * to expand it internally
within the script (i. e. by the shell that processes the
script). So you won't have to give a * at the command line
of the calling dialog shell.




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


Burning CDs on FreeBSD 7.2

2010-06-15 Thread Mark Terribile

Hi,

I have several systems, one on 5.4 and two on 7.2 .  I keep the 5.4 system 
because every time I upgrade something breaks and cannot be fixed without 
(apparently) weeks of effort.  I *am* trying to get off it.

Now: my 5.4 system is down until I replace some hardware.  In the meantime I 
need to burn about forty data CDs.  I've been using burncd on 5.4 but when I 
try it on 7.2 the drive and process lock up during the fixate step.  Clearing 
them requires a reboot.

Does anyone have advice, pointers, etc.?  If you point me to pseudo-SCSI, 
please give me pointers to all parts of the solution, since the various man 
pages don't have proper links to each other.  (Hint to man page authors: the 
SEE ALSO entries are very important, and you must consider ALL levels, from 
other apps to the system calls used.)

Thank you for your help.

Mark Terribile


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


Re: Burning CDs on FreeBSD 7.2

2010-06-15 Thread Polytropon
On Tue, 15 Jun 2010 10:58:22 -0700 (PDT), Mark Terribile 
materrib...@yahoo.com wrote:
 Does anyone have advice, pointers, etc.?  If you point me to
 pseudo-SCSI, please give me pointers to all parts of the solution,
 since the various man pages don't have proper links to each other. 

First of all, load the kernel module for ATAPICAM:

# kldload atapicam

You can also make this permanent by adding

atapicam_load=YES

to /boot/loader.conf. Of course, you can also recompile your kernel
with device atapicam added.

If the module is loaded successfully, see what SCSI equipment
will show up:

# camcontrol devlist
HL-DT-ST DVD-RAM GSA-H58N 1.01 at scbus2 target 0 lun 0 (cd0,pass0)

This is an example of how a ATAPI recorder shows up as a SCSI
device: it's the device 2:0:0, corresponding to /dev/cd0 and
/dev/pass0.

Unless you're burning CDs with root permissions, you need to make
sure your user will have proper writing access to the following
files, e. g. by using the group operator for your user:

own cd0 root:operator
permcd0 0664
own xpt0root:operator
permxpt00660
own pass0   root:operator
permpass0   0660

This is an example from /etc/devfs.conf. Make sure devfs is
restarted to reflect those changes. In the following example,
I just assume commands will be issued by root.

If you want to burn data CDs, I recommend using cdrecord.

In step 1, you prepare the ISO to be burned:

# cd /path/to/your/files/
# mkisofs -r -J -o /tmp/cd1.iso vol1/

Then you burn it:

# cdrecord dev=2,0,0 speed=16 -v -eject -tao -data /tmp/cd1.iso

You can of course combine both steps:

# cd /path/to/your/files/
# mkisofs -r -J vol1/ | cdrecord dev=2,0,0 speed=16 -v -eject -tao 
-data -

An addition: I have setup an alias for burning data CDs in ~/.cshrc
for less typing:

alias burndata 'cdrecord dev=2,0,0 speed=16 -v -eject -tao -data'

This makes it more easy to deal with existing ISO files, which often
is the way I go (instead of the combined method).




-- 
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: Burning CDs on FreeBSD 7.2

2010-06-15 Thread Jerry McAllister
On Tue, Jun 15, 2010 at 10:58:22AM -0700, Mark Terribile wrote:

 
 Hi,
 
 I have several systems, one on 5.4 and two on 7.2 .  I keep the 5.4 system 
 because every time I upgrade something breaks and cannot be fixed without 
 (apparently) weeks of effort.  I *am* trying to get off it.
 
 Now: my 5.4 system is down until I replace some hardware.  In the meantime I 
 need to burn about forty data CDs.  I've been using burncd on 5.4 but when I 
 try it on 7.2 the drive and process lock up during the fixate step.  Clearing 
 them requires a reboot.
 
 Does anyone have advice, pointers, etc.?  If you point me to pseudo-SCSI, 
 please give me pointers to all parts of the solution, since the various man 
 pages don't have proper links to each other.  (Hint to man page authors: the 
 SEE ALSO entries are very important, and you must consider ALL levels, from 
 other apps to the system calls used.)

Here is the command string I use successfully to burn a dir of picture
files on FreeBSD 7.1 system.

/usr/sbin/burncd -f /dev/acd0c -s max data PIC2005-cdimage fixate

I don't remember what I did to create the PIC2005-cdimage file.

I was having trouble with the system trying to run the burner too fast
with I had a speed argument in the command line.  Without it, it
runs fast enough for the few I was making.

jerry 


 
 Thank you for your help.
 
 Mark Terribile
   
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: SATA time outs

2010-06-15 Thread Michael Powell
Casey Scott wrote:

 Since upgrading to 8.0 RELEASE, I continually get these errors:
 
 ...
 Jun 11 15:24:08  kernel: ad6: 953869MB Seagate ST31000340AS SD1A at
 ata3-master SATA150 Jun 11 15:24:08  kernel: (probe6:ahc0:0:6:0): TEST
 UNIT READY. CDB: 0 0 0 0 0 0 Jun 11 15:24:08  kernel:
 (probe6:ahc0:0:6:0): CAM Status: SCSI Status Error Jun 11 15:24:08 
 kernel: (probe6:ahc0:0:6:0): SCSI Status: Check Condition Jun 11 15:24:08
  kernel: (probe6:ahc0:0:6:0): UNIT ATTENTION asc:29,2 Jun 11 15:24:08
  kernel: (probe6:ahc0:0:6:0): SCSI bus reset occurred Jun 11 15:24:08
  kernel: (probe6:ahc0:0:6:0): Retrying Command (per Sense Data) ...
 
 
 I've tried 3 different drives w/ 2 different disk controllers. Anything I
 use as the second drive generates this message on boot, and will
 eventually fail with timeout errors after a couple hours.  The other drive
 on the system, ad4, never displays these symptoms. This isn't new
 hardware, and worked flawlessly until now.
 
 Any suggestions? Has a bug been introduced into the ata driver?
 

These drives are known to be failing in large numbers, with various forms of 
defective firmwares. The worst is the so-called self-bricking feature. Try 
some other kind of drive other than just replacing with more of the same. 
Possibly a firmware flash might help in cases other then the self-bricking 
scenario, as once it happens they're done.

Also, I'm very leery of putting Green drives in any kind of server 
environment. They spend way to much time parking heads and spinning down. 
Another thing to watch for is using desktop drives with RAID controllers. 
Enterprise drives have a very short timeout period designed to keep them 
from being dropped by the RAID controller:

http://wdc.custhelp.com/cgi-bin/wdc.cfg/php/enduser/std_adp.php?p_faqid=1397

If it is slightly older motherboard/BIOS look and see if these are set to 
1 in sysctl -a and maybe try toggling in loader,conf like the following:

hw.pci.enable_msi=0
hw.pci.enable_msix=0

vmstat -i and look for really outlandish interrupt storm. Hard to tell as 
disk controllers are usually pretty busy here. Newer equipment is supposed 
to be able to operate in a shared interrupt environment. Can try and 
manually sort out so that irq's for the controller aren't shared.

As far as the ATA driver code, if you have recently changed from 7.x to 8.x 
that might be worth considering. If there has been a regression I'm sure a 
PR would be in order. Just a few random thoughts off the top of my head. But 
me, the first thing I'd do is dump the Seagates.

-Mike


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


Re: SATA time outs

2010-06-15 Thread Michael Powell
Michael Powell wrote:
[snip]
 
 As far as the ATA driver code, if you have recently changed from 7.x to
 8.x that might be worth considering. If there has been a regression I'm
 sure a PR would be in order. Just a few random thoughts off the top of my
 head. But me, the first thing I'd do is dump the Seagates.
 

After a reread when it finally stuck that this started with an upgrade to 8, 
I like Mathew's suggestion to use a 7.x LiveCD (and possibly a -Stable 
snapshot as well) to see if it is a 7.x vs 8.x problem. Even so, there still 
might be a possibility that firmware in the drive tickled something in 8.x 
that it didn't hit under 7.x. 

-Mike


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


splash screen does go away

2010-06-15 Thread David DEMELIER
Hi,

I just wanted to try a splash at boot, so I compiled my kernel with
these options :

device  splash
options SC_PIXEL_MODE
options VESA
options X86BIOS

And added to my /boot/loader.conf :

splash_bmp_load=YES
bitmap_load=YES
bitmap_name=/boot/splash.bmp

Where splash.bmp is a 1024x768 picture.

It works well, but after the boot, the splash does not die and I must
press some key to remove it. For the moment I found a workaround to
prevent this by adding to the /etc/rc.conf :

allscreens_flags=MODE_291

Is this behavior expected or is it a bug?

Kind regards.

-- 
Demelier 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


concerning flash under freebsd

2010-06-15 Thread Alexander Best
hi there,

why is flash still causing such problems under freebsd? i've been
having the same issues for years nows:

- browser tabs freeze completely
- `ps` reports a lot of nspluginwrapper/npviewer.bin processes
- nspluginwrapper/npviewer.bin coredumps

i read that the cause for this is a buggy implementation of the linux
futex emulation. when will this get fixed?

almost everyone who uses flash under freebsd has something like this
in his ~/.profile:

alias killflash='pkill -9 npviewer.bin ; rm -f ~/npviewer.bin.core';

cheers.
alex

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


Re: splash screen does go away

2010-06-15 Thread Warren Block

On Tue, 15 Jun 2010, David DEMELIER wrote:


I just wanted to try a splash at boot, so I compiled my kernel with
these options :

device  splash
options SC_PIXEL_MODE
options VESA
options X86BIOS

And added to my /boot/loader.conf :

splash_bmp_load=YES
bitmap_load=YES
bitmap_name=/boot/splash.bmp

Where splash.bmp is a 1024x768 picture.

It works well, but after the boot, the splash does not die and I must
press some key to remove it. For the moment I found a workaround to
prevent this by adding to the /etc/rc.conf :

allscreens_flags=MODE_291

Is this behavior expected or is it a bug?


Don't know if it's a bug, but the splash screen is also used as a screen 
saver blank screen in some interaction I've never quite figured out.


See vidcontrol's -t option and allscreens_flags in 
/etc/defaults/rc.conf.


-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: concerning flash under freebsd

2010-06-15 Thread Chip Camden
On Jun 15 2010 22:55, Alexander Best wrote:
 hi there,
 
 why is flash still causing such problems under freebsd? i've been
 having the same issues for years nows:
 
 - browser tabs freeze completely
 - `ps` reports a lot of nspluginwrapper/npviewer.bin processes
 - nspluginwrapper/npviewer.bin coredumps
 
 i read that the cause for this is a buggy implementation of the linux
 futex emulation. when will this get fixed?
 
 almost everyone who uses flash under freebsd has something like this
 in his ~/.profile:
 
 alias killflash='pkill -9 npviewer.bin ; rm -f ~/npviewer.bin.core';
 
 cheers.
 alex
 

My alias for killflash is Don't install it.

Flash is buggy software on any platform.

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


Re: concerning flash under freebsd

2010-06-15 Thread Programmer in Training

Quoting Chip Camden sterl...@camdensoftware.com:
snip

My alias for killflash is Don't install it.

Flash is buggy software on any platform.

snip

While that may be, try telling that to your 4 yr old nephew who likes  
to play those flash based games on PBS Kids. Almost all Internet video  
has moved to flash as well (such as all the sermons on sermons.net  
which my church uses). Flash is buggy, I'll give you that, but Don't  
install it. is not an option for a lot of people.


--
Yours in Christ,

PIT
All original content (C) under the OWL http://owl.apotheon.org
Emails are not formal business letters, whatever businesses may want.
Please do not CC me. If I'm posting to a list it is because I am subscribed.

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


Re: concerning flash under freebsd

2010-06-15 Thread Chuck Swiger
On Jun 15, 2010, at 2:49 PM, Programmer in Training wrote:
[ ... ]
 While that may be, try telling that to your 4 yr old nephew who likes to play 
 those flash based games on PBS Kids. Almost all Internet video has moved to 
 flash as well (such as all the sermons on sermons.net which my church uses). 
 Flash is buggy, I'll give you that, but Don't install it. is not an option 
 for a lot of people.

Adobe supports Windows, MacOSX, Linux, and Solaris (from 
http://get.adobe.com/flashplayer/otherversions ).  If it is important to you 
that Flash works well, you should either persuade Adobe to provide a FreeBSD 
version, or you should switch to using one of the platforms on which Flash is 
supported.

Regards,
-- 
-Chuck

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


databases/php5-odbc vs. libiodbc

2010-06-15 Thread Kyryll A Mirnenko aka Mirya
  Currently the databases/php5-odbc PHP extension is hardcoded to be compiled 
with unixODBC backend, so the users that have libiodbc installed (as a 
dependency of kde4 ports, for ex.) can't installed the first 'cause those two 
ODBC ports conflict with each other.
  The php-odbc configure script however says (./configure --help) it can be 
compiled with iODBC support (--with-iodbc=/usr/local), but for some reason 
simply replacing the configure script arguments for the port (with libiodbc 
installed from ports) result in nothing being done: the configure script 
creates the Makefile with empty target, so nothing is built actually.
  Did anyone have success before with building php5-odbc lniked to iodbc 
backend?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: concerning flash under freebsd

2010-06-15 Thread Programmer in Training

Quoting Chuck Swiger cswi...@mac.com:


On Jun 15, 2010, at 2:49 PM, Programmer in Training wrote:
[ ... ]
While that may be, try telling that to your 4 yr old nephew who   
likes to play those flash based games on PBS Kids. Almost all   
Internet video has moved to flash as well (such as all the sermons   
on sermons.net which my church uses). Flash is buggy, I'll give you  
 that, but Don't install it. is not an option for a lot of people.


Adobe supports Windows, MacOSX, Linux, and Solaris (from   
http://get.adobe.com/flashplayer/otherversions ).  If it is   
important to you that Flash works well, you should either persuade   
Adobe to provide a FreeBSD version, or you should switch to using   
one of the platforms on which Flash is supported.


Regards,
--
-Chuck


I had little of the problems described in the original post (aside  
from needing an alias for killing flash, I never actually thought of  
making one until now). It doesn't change the fact that Don't install  
it. isn't a valid option. I also take issue with the well use a  
supported OS schtick. I will tell Adobe to provide a FreeBSD-native  
release, though it would be nice to know I won't be the only one. I'm  
actually going right now to do so. Who's with me?


--
Yours in Christ,

PIT
All original content (C) under the OWL http://owl.apotheon.org
Emails are not formal business letters, whatever businesses may want.
Please do not CC me. If I'm posting to a list it is because I am subscribed.

___
freebsd-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 ports - libintl.so.8 not found

2010-06-15 Thread Scott Schappell
I'm trying to upgrade ports and they keep choking. In particular gpg is one of 
them:

echo '#!/bin/sh' ./gpg_dearmor
echo ../../g10/gpg2 --no-options --no-greeting \
 --no-secmem-warning --batch --dearmor ./gpg_dearmor
chmod 755 ./gpg_dearmor
./gpg_dearmor  ./pubring.gpg  ./pubring.asc
/libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required by 
libgcrypt.so.16
gmake[3]: *** [pubring.gpg] Error 1
gmake[3]: Leaving directory 
`/usr/ports/security/gnupg/work/gnupg-2.0.14/tests/openpgp'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/security/gnupg/work/gnupg-2.0.14/tests'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/security/gnupg/work/gnupg-2.0.14'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/security/gnupg.
*** Error code 1

Stop in /usr/ports/security/gnupg.

Another one this happened to was ghostscript8-nox11

What do I need to do to fix this problem?

Thanks!


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


Re: concerning flash under freebsd

2010-06-15 Thread Samuel Martín Moro
Their last Linux release only exists for x86.
Two ArchLinux mailinglists are advising users about uninstalling Flash from
our systems.

Flash is hardly working on BSD. And often bug on Linux.

I spent one month, for my work, trying to correct a few of those crashes (we
provide FreeBSD servers, our administrative intranet uses Flash sockets).
Well, nspluginwrapper source is a complete mindfuck.
Just wait for newer releases, and check if what you need works.

For now, HTML5 is about to replace it, spreading on YoutubeCo., and we
still did not knew a working version of Flash under Linux.
The day Adobe would provide compatible softwares, they may speak about
supporting Linux/Solaris...
Until that, the cleanest way to proceed, is to setup a Windows VM...



Samuel Martín Moro
CamTrace S.A.S

Remember, the problem is not that people are stupid;
 the problem is that modems are cheap.
Vince Sabio


On Wed, Jun 16, 2010 at 12:06 AM, Chuck Swiger cswi...@mac.com wrote:

 On Jun 15, 2010, at 2:49 PM, Programmer in Training wrote:
 [ ... ]
  While that may be, try telling that to your 4 yr old nephew who likes to
 play those flash based games on PBS Kids. Almost all Internet video has
 moved to flash as well (such as all the sermons on sermons.net which my
 church uses). Flash is buggy, I'll give you that, but Don't install it. is
 not an option for a lot of people.

 Adobe supports Windows, MacOSX, Linux, and Solaris (from
 http://get.adobe.com/flashplayer/otherversions ).  If it is important to
 you that Flash works well, you should either persuade Adobe to provide a
 FreeBSD version, or you should switch to using one of the platforms on which
 Flash is supported.

 Regards,
 --
 -Chuck

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


RESOLVED: Problem upgrading ports - libintl.so.8 not found

2010-06-15 Thread Scott Schappell
On Jun 15, 2010, at 3:26 PM, Scott Schappell wrote:

 I'm trying to upgrade ports and they keep choking. In particular gpg is one 
 of them:
 
 echo '#!/bin/sh' ./gpg_dearmor
 echo ../../g10/gpg2 --no-options --no-greeting \
 --no-secmem-warning --batch --dearmor ./gpg_dearmor
 chmod 755 ./gpg_dearmor
 ./gpg_dearmor  ./pubring.gpg  ./pubring.asc
 /libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required by 
 libgcrypt.so.16
 gmake[3]: *** [pubring.gpg] Error 1
 gmake[3]: Leaving directory 
 `/usr/ports/security/gnupg/work/gnupg-2.0.14/tests/openpgp'
 gmake[2]: *** [all-recursive] Error 1
 gmake[2]: Leaving directory 
 `/usr/ports/security/gnupg/work/gnupg-2.0.14/tests'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory `/usr/ports/security/gnupg/work/gnupg-2.0.14'
 gmake: *** [all] Error 2
 *** Error code 1
 
 Stop in /usr/ports/security/gnupg.
 *** Error code 1
 
 Stop in /usr/ports/security/gnupg.
 
 Another one this happened to was ghostscript8-nox11
 
 What do I need to do to fix this problem?
 
 Thanks!

After digging through /usr/ports/UPDATING, I copied all .so.8 and .so.16 
libraries to /usr/local/lib and /usr/local/lib/compat/pkg and those ports are 
now compiling. I'm assuming that's the approved solution until ports are 
updated?

My apologies for bugging the list, I missed that info the first time I read 
through UPDATING.

At least now this will be archived if someone else has the problem, I suppose.

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


Re: concerning flash under freebsd

2010-06-15 Thread Chuck Swiger
On Jun 15, 2010, at 3:11 PM, Programmer in Training wrote:
 Quoting Chuck Swiger cswi...@mac.com:
 Adobe supports Windows, MacOSX, Linux, and Solaris (from  
 http://get.adobe.com/flashplayer/otherversions ).  If it is  important to 
 you that Flash works well, you should either persuade  Adobe to provide a 
 FreeBSD version, or you should switch to using  one of the platforms on 
 which Flash is supported.
 
 I had little of the problems described in the original post (aside from 
 needing an alias for killing flash, I never actually thought of making one 
 until now). It doesn't change the fact that Don't install it. isn't a valid 
 option.

Evidently so, for some people.

 I also take issue with the well use a supported OS schtick.

I'm not sure that last word means what you think it means.  Try reading Adobe's 
EULA:

3.1 General Use. You may install and Use one copy of the Software on your 
Compatible Computer.  See Section 4 for important restrictions on the Use of 
the Software.

3.2 Server Use. This agreement does not permit you to install or Use the 
Software on a computer file server.  For information on Use of Software on a 
computer file server please refer to [ ... ]

4.1 Adobe Runtime Restrictions. You will not Use any Adobe Runtime on any 
non-PC device or with any embedded or device version of any operating system. 
For the avoidance of doubt, and by example only, you may not Use an Adobe 
Runtime on any (a) mobile device, set top box (STB), handheld, phone, game 
console, TV, DVD player, media center (other than with Windows XP Media Center 
Edition and its successors), electronic billboard or other digital signage, 
Internet appliance or other Internet-connected device, PDA, medical device, 
ATM, telematic device, gaming machine, home automation system, kiosk, remote 
control device, or any other consumer electronics device, (b) operator-based 
mobile, cable, satellite, or television system or (c) other closed system 
device. No right or license to Use any Adobe Runtime is granted for such 
prohibited uses.

Are you running Samba or NFS filesharing?  Or is your machine a mini-ITX box 
which might be considered an Internet-connected device rather than a normal 
PC?  There's a reason why the FreeBSD precompiled packages can't include 
Flash-- the project is forbidden from redistributing it.

Regards,
-- 
-Chuck

___
freebsd-questions@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 ports - libintl.so.8 not found

2010-06-15 Thread Eitan Adler
always read UPDATING
On Wed, Jun 16, 2010 at 1:26 AM, Scott Schappell arc...@silvertree.org wrote:
 I'm trying to upgrade ports and they keep choking. In particular gpg is one 
 of them:
...
 /libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required by 
 libgcrypt.so.16
...
 What do I need to do to fix this problem?




20100530:
  AFFECTS: users of devel/gettext (i.e.: YOU)
  AUTHOR: a...@freebsd.org

  Another version of gettext (0.18), and another shared library version
  bump (from intl.8 to intl.9), so:

  All ports that have an identifiable known direct dependency on gettext
  have had their PORTREVISIONs bumped.  If after upgrading:

# portupgrade -rf gettext
# portmaster -w -r gettext

  The upgrade of devel/gobject-introspection may fail because it is looking
  for libintl.so.8.  In this case, do the following:

# cd /usr/ports/devel/gobject-introspection
# make clean
# make deinstall
# make install clean

  Then continue your upgrade procedure normally.

  If there are still ports on your system that are looking for libintl.so.8
  (either in ${LOCALBASE}/lib/compat/pkg, or non-existent), _please_ file
  a PR so that a correct direct dependency can be added.

  Once you are satisfied that no ports still depend on the old versions (such
  as libgettextpo.so.4 and libintl.so.8) you can safely delete them from the
  ${LOCALBASE}/lib/compat/pkg directory if they are present there.





-- 
Eitan Adler

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


Re: concerning flash under freebsd

2010-06-15 Thread Programmer in Training

Quoting Chuck Swiger cswi...@mac.com:

Please see last line of sig.


On Jun 15, 2010, at 3:11 PM, Programmer in Training wrote:

Quoting Chuck Swiger cswi...@mac.com:
Adobe supports Windows, MacOSX, Linux, and Solaris (from
http://get.adobe.com/flashplayer/otherversions ).  If it is
important to you that Flash works well, you should either persuade  
  Adobe to provide a FreeBSD version, or you should switch to  
using   one of the platforms on which Flash is supported.


I had little of the problems described in the original post (aside   
from needing an alias for killing flash, I never actually thought   
of making one until now). It doesn't change the fact that Don't   
install it. isn't a valid option.


Evidently so, for some people.


I also take issue with the well use a supported OS schtick.


I'm not sure that last word means what you think it means.  Try   
reading Adobe's EULA:


3.1 General Use. You may install and Use one copy of the Software   
on your Compatible Computer.  See Section 4 for important   
restrictions on the Use of the Software.


3.2 Server Use. This agreement does not permit you to install or Use  
 the Software on a computer file server.  For information on Use of   
Software on a computer file server please refer to [ ... ]


4.1 Adobe Runtime Restrictions. You will not Use any Adobe Runtime   
on any non-PC device or with any embedded or device version of any   
operating system. For the avoidance of doubt, and by example only,   
you may not Use an Adobe Runtime on any (a) mobile device, set top   
box (STB), handheld, phone, game console, TV, DVD player, media   
center (other than with Windows XP Media Center Edition and its   
successors), electronic billboard or other digital signage, Internet  
 appliance or other Internet-connected device, PDA, medical device,   
ATM, telematic device, gaming machine, home automation system,   
kiosk, remote control device, or any other consumer electronics   
device, (b) operator-based mobile, cable, satellite, or television   
system or (c) other closed system device. No right or license to Use  
 any Adobe Runtime is granted for such prohibited uses.


Are you running Samba or NFS filesharing?  Or is your machine a   
mini-ITX box which might be considered an Internet-connected   
device rather than a normal PC?  There's a reason why the FreeBSD   
precompiled packages can't include Flash-- the project is forbidden   
from redistributing it.


That's actually fairly restrictive (and retarded). Why does it have  
official Linux support, though? You can run Samaba or NFS filesharing  
on any of those (and hey, what about file-sharing amongst Windows  
computers?). Stupid Adobe.


--
Yours in Christ,

PIT
All original content (C) under the OWL http://owl.apotheon.org
Emails are not formal business letters, whatever businesses may want.
Please do not CC me. If I'm posting to a list it is because I am subscribed.

___
freebsd-questions@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 ports - libintl.so.8 not found

2010-06-15 Thread Robert Huff

Eitan Adler writes:

   What do I need to do to fix this problem?
  
  20100530:
AFFECTS: users of devel/gettext (i.e.: YOU)
AUTHOR: a...@freebsd.org

When doing this, I also had problems with something which led
to a problem with textproc/flex.  I have to completely de-install
flex, then re-install.  That fixed things.


Robert Huff

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


Re: Problem upgrading ports - libintl.so.8 not found

2010-06-15 Thread Scott Schappell

On Jun 15, 2010, at 3:43 PM, Eitan Adler wrote:

 20100530:
  AFFECTS: users of devel/gettext (i.e.: YOU)
  AUTHOR: a...@freebsd.org

I did do the make clean, make deinstall and make instal clean and it was still 
throwing that error.   The only way I got the gnupg and ghostscript8-nox11 
ports to update was by copying the .8 libraries over from a backup. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: * wildcard in.sh script

2010-06-15 Thread Aiza

Chip Camden wrote:

On Jun 15 2010 17:06, Aiza wrote:

Aiza wrote:
I have a directory with files in it. The first 3 letters of the file 
names is the group prefix. I'm trying to write a script to accept the 3 
letter of the group followed by a * to mean its a prefix lookup. But 
when I run it I get a message NO match that is not issued by the 
script. Its like * is not allowed as input.


Looking for sample .sh code for handling this standard type of lookup or 
some online tutorial that has sample code for bourne shell programming.





Here is the code

  prefix_name1=$1
  prefix_name2=`echo -n ${prefix_name1} | sed 's/*.*$//'`
  echo prefix_name1 = ${prefix_name1}
  echo prefix_name2 = ${prefix_name2}


  if [ ${prefix_name1} -nq ${prefix_name2} ]; then
  echo prefix_name2 = ${prefix_name2}
  fi
exerr hard stop


Here is the test and out put
# admin cell*
admin: No match.



As others have mentioned, you need to quote or escape the * in the
command line:

admin cell*

You've also botched your regex (/*.*$/) -- it can't begin with a *.  What 
exactly
are you trying to match?

As shown in the posted test results you can see that the * is removed 
from the input cell* and becomes cell and then cell* is compared to cell 
to determine if a search by prefix command was entered on the script 
command line. So the regex (/*.*$/) is working as coded as long as the 
script command line is coded like this cell*.

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


Online gaming and file downloads - latency hell!

2010-06-15 Thread Modulok
Yo,

I have a FreeBSD box acting as a router between me and the Internet.
Whenever someone on the local network downloads something, the other
connections have a really high latency. A second or more. For people
who like to download large files and play online games, it's not good.

I tried traffic shaping with PF, which works - almost: I tried the
home example in the PF book, but it doesn't work out so well. I can
throttle users with no trouble, but even so that doesn't seem to help
the latency issue unless I choke the 'big file download' users almost
completely off. It's like nothing helps. I tried a priority based
queue where all traffic on the gaming ports was placed in front of all
other traffic, and while I saw a very mild improvement, latency was
still really pitiful.

Is there anything else I can do? Anyone have a similar setup and wish
to share config files? Are there some sysctl's that would help this
out or something. I'm almost ready to just buy a 'gaming' *gag* router
which implements their own brand of QoS, but don't want to sink to
that level if I don't have to.

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


Re: concerning flash under freebsd

2010-06-15 Thread Charlie Kester

On Tue 15 Jun 2010 at 15:11:47 PDT Programmer in Training wrote:


Don't install it. isn't a valid option.  


Sure it is.  The fact that it's an option you don't want to accept
doesn't make it invalid.


I also take issue with the well use a supported OS schtick. I will
tell Adobe to provide a FreeBSD-native release, though it would be nice
to know I won't be the only one. I'm actually going right now to do so.
Who's with me?


Actually, you're starting down a well-trodden path.  Many people have
already asked Adobe for a FreeBSD-native release, and Adobe has never
seen fit to do so.  The FreeBSD desktop market is apparently too small
to make it worth their while.  That's a perfectly valid position for
them to take, no matter how much we might dislike it.

And Use a supported OS if you want Flash isn't a schtick.  It's
eminently practical advice, from people who have tried but don't see any
way the situation on FreeBSD is likely to change.

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


Re: SATA time outs

2010-06-15 Thread Casey Scott
 
 After a reread when it finally stuck that this started with an upgrade
 to 8, 
 I like Mathew's suggestion to use a 7.x LiveCD (and possibly a -Stable
 
 snapshot as well) to see if it is a 7.x vs 8.x problem. Even so, there
 still 
 might be a possibility that firmware in the drive tickled something in
 8.x 
 that it didn't hit under 7.x. 

Same issue occurs under 7.2. I guess I ran this hardware into the ground.
:-).  Thanks for the help everyone that replied. 


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


Problem installing GTK20

2010-06-15 Thread Olivier Nicole
Hi,

It seems that it is a problem that appeared before, but the suggested
workaround did not work.

When trying to portupgrade gtk, I get the error:

checking Pango flags... gnome-config: not found
configure: error: 
*** Pango not found. Pango built with Cairo support is required
*** to build GTK+. See http://www.pango.org for Pango information.

I tried to reinstall cairo and pango, but pangocairo is always missing:

pkg-config --exists pangocairo
gnome-config: not found

I just cvsup'ed so I should have the very lasted stuff.

What do I do wrong?

TIA,

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