Re: GeForce GTX 260M on amd64

2010-02-04 Thread George Liaskos
http://www.freebsd.org/cgi/cvsweb.cgi/ports/x11/nvidia-driver/

2010/2/4 Bc. Radek Krejca ra...@ceskedomeny.cz:
 Hello,

 I found this - now I am waiting if this will be in ports:

 http://www.nvnews.net/vbulletin/showthread.php?t=142120

 Radek

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


Disk label problem

2010-02-04 Thread Jurif
Hi!

Few days ago some annoying things happened. At first I had FreeBSD 7  box
with one disk(SATA). When i added another dish (SATA)  my  box stuck when
booting up.

Somethink like this comes up:
Mountroot

And i need manualy mount disk because disk label has beed changed and then
edit fstab file.

Now i'd like to know if is possible to lock existing hard disk label to
prevent this in the future if i add another harddrive ?

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


Re: crontab

2010-02-04 Thread krad
On 3 February 2010 15:49, Lowell Gilbert 
freebsd-questions-lo...@be-well.ilk.org wrote:

 Nadir Aliyev na...@ultel.net writes:

  Hello friends.
 
  I have interesting situation with cron.
 
  I created a
  simple script for process monitoring:
 
  #!/usr/local/bin/bash
  processname=`/bin/ps aux | /usr/bin/grep -v grep |
  /usr/bin/grep -c 'maintenance_jobs.php'`
  if [ $processname -le 0 ];
  then
  echo `/bin/date`  JOB WAS DEAD. RESTARTED! | mail -s ATTENTION
  m...@email.net;
  /usr/local/bin/php
  /usr/local/www/web/bin/maintenance_jobs.php  then is not interpretated
 by
  shell when i run this script from cron.
 
  I tried it on sh and bash. Result
  is same.
  But this script worked on pre 8 versions.

 The script got wrapped and apparently cut off.

 I can't understand it, and probably nobody else could either.

 --
 Lowell Gilbert, embedded/networking software engineer, Boston area

 http://be-well.ilk.org/~lowell/http://be-well.ilk.org/%7Elowell/
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org


double check everything in your environment and make sure its there in 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: Backup and FreeBSD/ZFS

2010-02-04 Thread krad
On 3 February 2010 19:21, Svein Skogen (Listmail Account) 
svein-listm...@stillbilde.net wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 03.02.2010 19:14, LoH wrote:
  If my memory serves, you're looking at something similar to taking a
  snapshot and then sending it to the tape device, so zfs send snapshot
  | (tape device access). This, IIRC, is functionally identical to
  dump/restore.

 Except for one smallish detail. Dump handles tape is full, switch to
 next one in a relatively painless way... Let's just say that ...
 there's a reason I've invested in an autoloader for my home server (it
 will, among other things, hold about a terabyte of Nikon .NEF files if
 that means anything)

 //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/
 - 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.12 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iEYEARECAAYFAktpzMgACgkQODUnwSLUlKRRfgCgulZAvQN61uE6HIcuvxzkU2yS
 HaAAmwcHY6YYqoTYlw/R/KeWuy/9ferH
 =zHrR
 -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


If you combine snapshoting with a redundant array, and maybe a secondary
pool that you zfs send your files ystems to (perhaps on a different box) its
questionable whether having stuff on tape has any advantage. If you are
taking the tapes off site it may be worth 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


Re: mysql silently failing to start - suggestions? (FIXED!)

2010-02-04 Thread Ruben de Groot
On Mon, Feb 01, 2010 at 09:13:40PM -0600, John typed:
 
 Good job, Mike!  You nailed it, though what some of the other helpful
 folks wrote had me on the right path, too.  For some reason, the
 binary-configure after the pkg_add left everything owned by 
 root:wheel.  cd /mysql ; chown -R mysql:mysql . was the solution.

That's because mysql_install_db which gets called by binary-configure has
/var/db/mysql hardcoded and doesn't read rc.conf.

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


Re: this may be impossible: iis there a way to play streams on our firefox?

2010-02-04 Thread RW
On Wed, 3 Feb 2010 17:29:57 -0800
Gary Kline kl...@thought.org wrote:

 
 
   Is there a way of streaming stuff like old tv shows, the
   bbc-player, and pbs steams on the freebsd version of
 firefox35?

Currently the best way of using BBC iplayer is a perl script called
get_iplayer which downloads DRM-free mp4 files intended for
mobile-devices. I don't think it's in ports, but you can download it as
a single file, which self-upgrades. It can access other interfaces for
radio programmes too. The last time I checked the  official iplayer
application didn't install under wine.

The online version is flash-based and should work with anything that
supports flash - I still  use windows firefox under wine, but it
probably will work with linux flash under emulation. 

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


Re: More sysinstall questions 1 of 2

2010-02-04 Thread Martin McCormick
Polytropon writes:
 This seems to be obvious because no changes have been made
 to the disk (i. e. no slicing, no MBRin, no partitioning).
 
The CDROM for installing FreeBSD correctly formats the
  drive and installs the OS on that very same box. My first
  question is why doesn't the mfs do the same thing?
 
 This is a matter of what has been selected within the partition
 editor. If not UFS2+S Y is set, no formatting process will
 take place.

From the shell prompt, I run sysinstall with no
arguments both from mfs and from a CDROM. As far as I can tell,
the screens are identical in that there is nothing new to turn
on or off when I run sysinstall from mfs. It immediately selects
ad0 as the drive to format:

  ÚÄÄ User Confirmation Requested ÄÄÄ¿
  ³ WARNING:  It is safe to use a geometry of 77504/16/63 for ad0 on ³
  ³ computers with modern BIOS versions.  If this disk is to be used ³
  ³ on an old machine it is recommended that it does not have more   ³
  ³ than 65535 cylinders, more than 255 heads, or more than  ³
  ³ 63 sectors per track.³
  ³  ³
  ³ Would you like to keep using the current geometry?   ³
  ³  ³
  ÃÄÄ´
  ³   [ Yes ] No ³
  ÀÄÄÙ

I type y to okay the geometry.

Disk name:  ad0FDISK Partition Editor
DISK Geometry:  77504 cyls/16 heads/63 sectors = 78124032 sectors (38146MB)

Offset   Size(ST)End Name  PType   Desc  SubtypeFlags

 0 63 62- 12 unused0
63   78123969   78124031 ufsid/4b6787a7598a9a8bs1  8freebsd
  78124032968   78124999- 12 unused0






The following commands are supported (in upper or lower case):

A = Use Entire Disk   G = set Drive Geometry   C = Create Slice
D = Delete Slice  Z = Toggle Size UnitsS = Set Bootable   | = Expert m.
T = Change Type   U = Undo All Changes W = Write Changes


Use F1 or ? to get more help, arrow keys to select.

I type the a and then the q to use the whole disk.

I enter the parameters on the next screen and  here is
what it looks like when filled in:

 FreeBSD Disklabel Editor

Disk: ad0   Partition name: ad0s1   Free: 0 blocks (0MB)

Part  Mount  Size Newfs   Part  Mount  Size Newfs
  -   -     -   -
ad0s1bswap 1024MB SWAP
ad0s1a/   37122MB UFS2   Y

I then installed the 8.0installation CDROM which calls
sysinstall after one enters country and terminal settings and
went through precisely the same steps except that I chose the
CDROM as the FreeBSD installation source as the network is not
up at that point.

The screen for the bsdlabel editor under the CDROM is identical
to that under mfs except for one line which may be due to the
manner in which I captured the screen shot. None of the values
are different. Here it is for the record:

 FreeBSD Disklabel Editor

Disk: ad0   Partition name: ad0s1   Free: 0 blocks (0MB)

Part  Mount  Size Newfs   Part  Mount  Size Newfs
  -   -     -   -
ad0s1bswap 1024MB SWAP
ad0s1a/   37122MB UFS2   Y









The following commands are valid here (upper or lower case):
C = CreateD = Delete   M = Mount pt.
N = Newfs OptsQ = Finish   S = Toggle SoftUpdates   Z = Custom Newfs
T = Toggle Newfs  U = Undo A = Auto DefaultsR = Delete+Merge

Use F1 or ? to get more help, arrow keys to select.


After filling in the bsdlabel screen's parameters and
selecting distributions, that is when we get:

   lq User Confirmation Requested qqk
   x Last Chance!  Are you SURE you want continue the installation? x
   xx
   x If you're running this on a disk with data you wish to savex
   x then WE STRONGLY ENCOURAGE YOU TO MAKE PROPER BACKUPS before   x
   x proceeding!x
   xx
   x We can take no responsibility for lost disk contents!  x
   tu
   x  [ Yes ] Nox
   

Voice Recognition System for FreeBSD...

2010-02-04 Thread Diego Montalvo
Trying to test out voice recognition software for FreeBSD is there a
recommended system (ports). Simply want to speak and have the computer
type what ever it transcribes...

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


Re: Backup and FreeBSD/ZFS

2010-02-04 Thread Svein Skogen (Listmail Account)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04.02.2010 10:39, krad wrote:
 If you combine snapshoting with a redundant array, and maybe a secondary
 pool that you zfs send your files ystems to (perhaps on a different box) its
 questionable whether having stuff on tape has any advantage. If you are
 taking the tapes off site it may be worth it.

On a monthly rotation the tapes are placed in a firetolerant safe. Since
the most critical thing here is the terabyte (and growing!) of original
photographs, I'm not thinking about just day-to-day diskfailure or
pebcaks (proper raid and snapshotting handles that rather well). However
snapshotting and raid solutions handles the house being on fire rather
poorly, or should we say Data integrity and fires, get along like a
house on fire? ;)

And I think ... everyone on this list can agree that data not properly
backed up, is a fancy way of saying data not yet lost. ;)

This is why I'm willing to (and have already) cough up for such
solutions as autoloaders for my home storage server, however my last
wrestle with ZFS (on freebsd RELENG_7) left me rather less than
enthusiastic about the backup options.

Someone told me that Amanda should handle this, and I'm looking into it
now (especially reading up on what I'd need to do to handle disaster
recovery), but other options are welcome as well, including the option
of going Solaris (if someone can point me to proper documentation on how
to get Solaris to do what I want).

The box itself is a C2D E7500 with 8GB ram, Asus P5Q Premium (the
deluxe version with fewer NICs is on the BigAdmin HCL, basically an
intel P45 chipset with sufficient number of pci-express slots, and four
Marvell Yukon gigabit nics with Marvell Alaska PHY), backed by LSI
SAS-MPT for the autoloader and SAS-MFI for the disks, and will handle
SMB/CIFS, NFS, and iSCSI services (and the backups of that data).
Nothing fancy here, meaning it should hardwarewise be no biggie to get
it up and running in FreeBSD, Solaris (or leave it on Windows Storage
server if that's the best solution, even if that means the
iSCSI-target-service has ... less than stellar performance).

So, I'm basically looking for pointers on what solutions to consider,
not looking for a pre-cooked solution. I have sufficient external
diskspace (still with redundancy) to handle the move-to-new-os-and-fs
issue...

Thanks again for taking the time to help me out here. ;)

//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/
- 
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktq6TwACgkQODUnwSLUlKQYzgCffVUn25D1CTJsg9SfVBCJNwvO
xKkAn17MEHNQUdFTf7b19U3rTd/ASduU
=2bla
-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: this may be impossible: iis there a way to play streams on our firefox?

2010-02-04 Thread Mike Clarke
On Thursday 04 February 2010, Adam Vande More wrote:

 On Wed, Feb 3, 2010 at 7:29 PM, Gary Kline kl...@thought.org wrote:
 Is there a way of streaming stuff like old tv shows, the
 bbc-player, and pbs steams on the freebsd version of
  firefox35?
 
 thought i'd give it a last try since everything is upgraded
  on my desktop.

 /usr/ports/www/linux-f10-flashplugin10

Is it just me or is the flash plugin still not fully functional? I'm 
running Firefox 3.5.7 with linux-f10-flashplugin-10.0r42 on 
8.0-RELEASE-p2, some flash videos work but many fail. For example BBC 
iplayer always comes up with a message This content doesn't seem to be 
working. Try again later superimposed over a still image of the start 
of the video. YouTube videos play but without any sound.

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


Re: this may be impossible: iis there a way to play streams on our firefox?

2010-02-04 Thread Adam Vande More
On Thu, Feb 4, 2010 at 9:56 AM, Mike Clarke jmc-freeb...@milibyte.co.ukwrote:

 Is it just me or is the flash plugin still not fully functional? I'm
 running Firefox 3.5.7 with linux-f10-flashplugin-10.0r42 on
 8.0-RELEASE-p2, some flash videos work but many fail. For example BBC
 iplayer always comes up with a message This content doesn't seem to be
 working. Try again later superimposed over a still image of the start
 of the video. YouTube videos play but without any sound.


I don't have either of those issues.  I've come across a couple of players
that don't work, but all the standard ones like youtube, pbs, bbc all work
perfectly for me.

-- 
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: this may be impossible: iis there a way to play streams on our firefox?

2010-02-04 Thread Adam Vande More
On Thu, Feb 4, 2010 at 10:07 AM, Adam Vande More amvandem...@gmail.comwrote:

 On Thu, Feb 4, 2010 at 9:56 AM, Mike Clarke 
 jmc-freeb...@milibyte.co.ukwrote:

 Is it just me or is the flash plugin still not fully functional? I'm
 running Firefox 3.5.7 with linux-f10-flashplugin-10.0r42 on
 8.0-RELEASE-p2, some flash videos work but many fail. For example BBC
 iplayer always comes up with a message This content doesn't seem to be
 working. Try again later superimposed over a still image of the start
 of the video. YouTube videos play but without any sound.


 I don't have either of those issues.  I've come across a couple of players
 that don't work, but all the standard ones like youtube, pbs, bbc all work
 perfectly for me.


I would like to amemd that statement by saying they work perfectly for me
except for an occasional temporary browser freeze.  This occur when entering
or leaving a page at which point the entire browser will hang for maybe 30
seconds then recover and perform as usual.  This a random event, but
probably occurs at least daily.


-- 
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: Voice Recognition System for FreeBSD...

2010-02-04 Thread Diego Montalvo
At this point just looking for a simple one word or maybe two word per
session speech to text


On 4 February 2010 08:03, Mark redt...@sbcglobal.net wrote:
 --- On Thu, 2/4/10, Diego Montalvo dmonta...@gmail.com wrote:

 From: Diego Montalvo dmonta...@gmail.com
 Subject: Voice Recognition System for FreeBSD...
 To: freebsd-questions@freebsd.org
 Date: Thursday, February 4, 2010, 9:22 AM
 Trying to test out voice recognition
 software for FreeBSD is there a
 recommended system (ports). Simply want to speak and have
 the computer
 type what ever it transcribes...

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

 IBM had a speech recognition engine that was open source, but it looks like 
 they pulled it off the open list. I think is was Via-Voice

 Look at audio/sphinx.

 I did some research sometime back, voice to text is the golden egg.  Even 
 with Microsoft based software, every person using it must train the 
 software. Getting doctors and nurses to sit down and spend the time going 
 through a list of words that they must repeate 10 to 15 times.
 Then they tend to alter the way they speak toward the end. When normal input 
 is tried, too many errors. Transcribers must go over the text and audio file. 
 Not much of a money or time saver at this point.


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


Re: this may be impossible: iis there a way to play streams on our firefox?

2010-02-04 Thread Robert Huff

Mike Clarke writes:

  Is it just me or is the flash plugin still not fully functional?

Possible causes:

the Linux plugin doesn't have all the capabilities of the
Windows version.
the Linux plugin does not interface completely/correctly with
the Linux emulation layer.
the Linux   emulation layer does not interface completely/
correctly with the rest of FreeBSD. 

I don't watch much Flash, so I almost never have the problem
you describe.


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


Upgrading sudo to 1.7.2.2 doesn't work with OPIE

2010-02-04 Thread Kirk Strauser
I'm using FreeBSD 8-STABLE from yesterday. I had sudo 1.6.9.20 installed 
and used portupgrade to upgrade it to 1.7.2.2. At this point, it stopped 
working:


$ sudo -v
otp-md5 [something]
Password:
Sorry, try again.
otp-md5 [something]
Password:
Sorry, try again.
otp-md5 [something]
Password:
Sorry, try again.
sudo: 3 incorrect password attempts

This is using the dist sudoers file, edited to allow me to use it. 
Reverting to the previous version works correctly:


# pkg_delete -f sudo-1.7.2.2
# pkg_add sudo-1.6.9.20.tbz
Will not overwrite existing /usr/local/etc/sudoers file.
# exit
$ sudo -v
otp-md5 [something]
Password:
$

Any idea why that may be or how I could troubleshoot it, short of 
bisecting the sudo releases until I find the culprit?

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


Re: Upgrading sudo to 1.7.2.2 doesn't work with OPIE

2010-02-04 Thread Kirk Strauser

On 02/04/2010 10:26 AM, Kirk Strauser wrote:
Any idea why that may be or how I could troubleshoot it, short of 
bisecting the sudo releases until I find the culprit?


Eh, did it anyway. The problem was with a change added between 1.7.2p1 
and 1.7.2p2. This patch fixes it:


--- auth/pam.c.orig 2010-02-04 10:43:28.635212518 -0600
+++ auth/pam.c  2010-02-04 10:43:34.194558424 -0600
@@ -107,13 +107,6 @@
 }

 /*
- * Set PAM_RUSER to the invoking user (the from user).
- * We set PAM_RHOST to avoid a bug in Solaris 7 and below.
- */
-(void) pam_set_item(pamh, PAM_RUSER, user_name);
-(void) pam_set_item(pamh, PAM_RHOST, user_host);
-
-/*
  * Some versions of pam_lastlog have a bug that
  * will cause a crash if PAM_TTY is not set so if
  * there is no tty, set PAM_TTY to the empty string.

I'll file a bug with the sudo folks, but if anyone else is having the 
same problem, this should get you running in the mean time.

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


Re: Backup and FreeBSD/ZFS

2010-02-04 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04/02/2010 15:35, Svein Skogen (Listmail Account) wrote:

 On a monthly rotation the tapes are placed in a firetolerant safe. Since
 the most critical thing here is the terabyte (and growing!) of original
 photographs, I'm not thinking about just day-to-day diskfailure or
 pebcaks (proper raid and snapshotting handles that rather well). However
 snapshotting and raid solutions handles the house being on fire rather
 poorly, or should we say Data integrity and fires, get along like a
 house on fire? ;)

fire tolerant?  That doesn't sound amazingly effective to me.  Would it
stand up to temperatures in excess of 600degC for more than about 20
minutes?  That's going to be fairly typical in a house fire...

A safe like that is a good idea for local storage of backup media while
it waits to go into the tape library or off-site.  It's a bad idea for
storing your entire archive.

You really want your backups to be stored in an off-site location.
Preferably by a company that has the right sort of secure archive
facilities.  'Off-site' means 'sufficiently far away that any
conceivable disaster can't affect them.'  The gold standard for
'conceivable disasters' is a fully laden and fuelled plane crashing
onto your premises.  I did once have a setup where 'off site' was a
storage company only a couple of streets over, but as their archive was
in a former World War II Bunker some 100 feet underground, that was
acceptable.  Usually you'ld be looking at several miles away at minimum.

 And I think ... everyone on this list can agree that data not properly
 backed up, is a fancy way of saying data not yet lost. ;)
 
 This is why I'm willing to (and have already) cough up for such
 solutions as autoloaders for my home storage server, however my last
 wrestle with ZFS (on freebsd RELENG_7) left me rather less than
 enthusiastic about the backup options.

Tape libraries are horribly expensive since they're not mass market
items.  They are also intrinsically prone to breaking down or failing
to work quite as well as the salesman implied.  They're the only viable
solution when your storage volumes get really huge, but what is
considered huge nowadays is rather more than terabyte scale.  If you can
get away with just a single tape drive you'll save yourself a lot of
money.

LTO4 tapes are rated at 800--1600GB depending on achievable compression,
so they might be big enough on their own.  As image formats are already
internally compressed, I'd expect them to come in at the low end of
that, which might be tight.  Worth trying out if you can get a drive on
evaluation.

You might want to evaluate getting a bunch of 1TB (or larger) hard dives
- -- either USB or hot-swap SATA.  They don't need to perform particularly
well, but they'd have to be rated for a lot of spin-up/spin-down cycles
(so something aimed at the mobile PC market).

One other thing you should seriously consider is on-line backup.  There
are quite a lot of providers out there, and they should be at least
competitive with running your own dedicated backup system.  They also
generally have the advantage of being instantly available if you need to
recover anything in a hurry.

 Someone told me that Amanda should handle this, and I'm looking into it
 now (especially reading up on what I'd need to do to handle disaster
 recovery), but other options are welcome as well, including the option
 of going Solaris (if someone can point me to proper documentation on how
 to get Solaris to do what I want).

Also checkout Bacula.  I've found Bacula quite a lot easier to manage
than Amanda, especially with tape libraries.

 The box itself is a C2D E7500 with 8GB ram, Asus P5Q Premium (the
 deluxe version with fewer NICs is on the BigAdmin HCL, basically an
 intel P45 chipset with sufficient number of pci-express slots, and four
 Marvell Yukon gigabit nics with Marvell Alaska PHY), backed by LSI
 SAS-MPT for the autoloader and SAS-MFI for the disks, and will handle
 SMB/CIFS, NFS, and iSCSI services (and the backups of that data).
 Nothing fancy here, meaning it should hardwarewise be no biggie to get
 it up and running in FreeBSD, Solaris (or leave it on Windows Storage
 server if that's the best solution, even if that means the
 iSCSI-target-service has ... less than stellar performance).
 
 So, I'm basically looking for pointers on what solutions to consider,
 not looking for a pre-cooked solution. I have sufficient external
 diskspace (still with redundancy) to handle the move-to-new-os-and-fs
 issue...
 
 Thanks again for taking the time to help me out here. ;)

Hard to know what to advise OS-wise.  FreeBSD will do the job, although
I'm not sure the iSCSI-target stuff is the best available.  So will
Solaris for that matter, although more likely to suffer from hardware
incompatibilites.  I really haven't got a clue about how well Windows
would perform although I personally would avoid it simply because it was
Windows...


Re: Backup and FreeBSD/ZFS

2010-02-04 Thread Svein Skogen (Listmail Account)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04.02.2010 17:57, Matthew Seaman wrote:
 On 04/02/2010 15:35, Svein Skogen (Listmail Account) wrote:
 
 On a monthly rotation the tapes are placed in a firetolerant safe. Since
 the most critical thing here is the terabyte (and growing!) of original
 photographs, I'm not thinking about just day-to-day diskfailure or
 pebcaks (proper raid and snapshotting handles that rather well). However
 snapshotting and raid solutions handles the house being on fire rather
 poorly, or should we say Data integrity and fires, get along like a
 house on fire? ;)
 
 fire tolerant?  That doesn't sound amazingly effective to me.  Would it
 stand up to temperatures in excess of 600degC for more than about 20
 minutes?  That's going to be fairly typical in a house fire...

Well, this one is the kind placed within the concrete of our cellar
(this is a home solution, not an industry one). But that area isn't
suitable for the servers for other reasons. The cellar is within the
bedrock of the area (the house foundation is directly on bedrock, and
the cellar area has been blasted out from the bedrock), so discounting
the plane-crash-into-building scenario, it's rather safe for our use
(and the plane-crash scenario would quite likely invalidate me along
with the backup, and so the need for a restore wouldn't be that critical)

 A safe like that is a good idea for local storage of backup media while
 it waits to go into the tape library or off-site.  It's a bad idea for
 storing your entire archive.
 

*snip*

 
 Tape libraries are horribly expensive since they're not mass market
 items.  They are also intrinsically prone to breaking down or failing
 to work quite as well as the salesman implied.  They're the only viable
 solution when your storage volumes get really huge, but what is
 considered huge nowadays is rather more than terabyte scale.  If you can
 get away with just a single tape drive you'll save yourself a lot of
 money.

Alas, a full backup of the current disk setup takes 4 tapes and ... I
really don't feel like staying up one entire night per week to swap
tapes (both for the backup and the verify). The autoloader I've got now
(8 slot, 1 drive, LTO-3, SAS) works fairly well with the currently
installed OS (Windows Storage Server 2008), giving about 60MB/Sec
sustained transfer rate.

 LTO4 tapes are rated at 800--1600GB depending on achievable compression,
 so they might be big enough on their own.  As image formats are already
 internally compressed, I'd expect them to come in at the low end of
 that, which might be tight.  Worth trying out if you can get a drive on
 evaluation.

A standalone LTO-4 might be a good alternative, if I didn't already have
the tapeloader. ;)

 You might want to evaluate getting a bunch of 1TB (or larger) hard dives
 -- either USB or hot-swap SATA.  They don't need to perform particularly
 well, but they'd have to be rated for a lot of spin-up/spin-down cycles
 (so something aimed at the mobile PC market).
 
 One other thing you should seriously consider is on-line backup.  There
 are quite a lot of providers out there, and they should be at least
 competitive with running your own dedicated backup system.  They also
 generally have the advantage of being instantly available if you need to
 recover anything in a hurry.

Online-backup-solutions are a no-go for me, alas.

 Someone told me that Amanda should handle this, and I'm looking into it
 now (especially reading up on what I'd need to do to handle disaster
 recovery), but other options are welcome as well, including the option
 of going Solaris (if someone can point me to proper documentation on how
 to get Solaris to do what I want).
 
 Also checkout Bacula.  I've found Bacula quite a lot easier to manage
 than Amanda, especially with tape libraries.
 
 The box itself is a C2D E7500 with 8GB ram, Asus P5Q Premium (the
 deluxe version with fewer NICs is on the BigAdmin HCL, basically an
 intel P45 chipset with sufficient number of pci-express slots, and four
 Marvell Yukon gigabit nics with Marvell Alaska PHY), backed by LSI
 SAS-MPT for the autoloader and SAS-MFI for the disks, and will handle
 SMB/CIFS, NFS, and iSCSI services (and the backups of that data).
 Nothing fancy here, meaning it should hardwarewise be no biggie to get
 it up and running in FreeBSD, Solaris (or leave it on Windows Storage
 server if that's the best solution, even if that means the
 iSCSI-target-service has ... less than stellar performance).
 
 So, I'm basically looking for pointers on what solutions to consider,
 not looking for a pre-cooked solution. I have sufficient external
 diskspace (still with redundancy) to handle the move-to-new-os-and-fs
 issue...
 
 Thanks again for taking the time to help me out here. ;)
 
 Hard to know what to advise OS-wise.  FreeBSD will do the job, although
 I'm not sure the iSCSI-target stuff is the best available.  So will
 Solaris for that matter, although more likely to 

Re: this may be impossible: iis there a way to play streams on our firefox?

2010-02-04 Thread Bob Johnson
On 2/4/10, Adam Vande More amvandem...@gmail.com wrote:
 On Thu, Feb 4, 2010 at 10:07 AM, Adam Vande More
 amvandem...@gmail.comwrote:

 On Thu, Feb 4, 2010 at 9:56 AM, Mike Clarke
 jmc-freeb...@milibyte.co.ukwrote:

 Is it just me or is the flash plugin still not fully functional? I'm
[...]


 I don't have either of those issues.  I've come across a couple of players
 that don't work, but all the standard ones like youtube, pbs, bbc all work
 perfectly for me.


 I would like to amemd that statement by saying they work perfectly for me
 except for an occasional temporary browser freeze.  This occur when entering
 or leaving a page at which point the entire browser will hang for maybe 30
 seconds then recover and perform as usual.  This a random event, but
 probably occurs at least daily.

When I upgraded one of my systems a few months ago, it had that
symptom, except it happened every time I entered a page that included
flash. I ended up uninstalling flash because it was too annoying and I
didn't really need it on that system.

More recently, I set up a system with flash and it works fine except
that in YouTube I often have to refresh the page to get the video to
load. For some reason the player doesn't seem to initialize when I
enter the page, but reloading it always works ok.

I suspect most of the problems people are having with Flash 10 have to
do with lingering old libraries or something like that. A brute force
rebuild of all ports might fix them. Also, pay attention to the
correct make.conf settings for the Linux kernel stuff.

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


confounding finding in print/cups-base (CUPS 1.4.2)

2010-02-04 Thread William Bulley
Since I need the GSSAPI (for Kerberos) feature of CUPS in FreeBSD
8.0-STABLE, I was somewhat taken aback when I found the cupsd server
failed to read its configuration file cupsd.conf when the line:

   DefaultAuthType Negotiate

was present in that file upon server start/restart.  The Negotiate
keyword is the way to indicate Kerberos support in CUPS according to
the CUPS documentation.

Attempting to start the CUPS server cupsd(8) from the command line
as root resulted in this error:

   freebsd# /usr/local/etc/rc.d/cupsd start
   Starting cupsd.
  
   Message from sysl...@itcom245 at Feb  4 10:35:31 ...
   itcom245 cupsd: Unable to read configuration file 
'/usr/local/etc/cups/cupsd.conf' - exiting!
   cupsd: Child exited with status 1!
   /usr/local/etc/rc.d/cupsd: WARNING: failed to start cupsd
   freebsd# /usr/local/etc/rc.d/cupsd stop
   cupsd not running?

and in the /var/log/cups/error.log file I found this line:

   Unknown default authorization type Negotiate on line 6.

Once line six (6) was removed, the cupsd server was able to start
without error (of course, Kerberos support was unavailable...)   :-(

The file print/cups-base/work/cups-1.4.2/scheduler/conf.c has this
section:

#ifdef HAVE_GSSAPI
else if (!strcasecmp(value, negotiate))
{
  loc-type = CUPSD_AUTH_NEGOTIATE;

  if (loc-level == CUPSD_AUTH_ANON)
loc-level = CUPSD_AUTH_USER;
}
#endif /* HAVE_GSSAPI */

which would normally be controlled by running ./configure at build
time and affecting lines such as these in work/cups-1.4.2/config.h:

   /*
* Do we have the GSSAPI support library (for Kerberos support)?
*/

   /* #undef HAVE_GSSAPI */
   /* #undef HAVE_GSSAPI_H */
   /* #undef HAVE_GSSAPI_GSSAPI_H */
   /* #undef HAVE_GSSAPI_GSSAPI_GENERIC_H */
   /* #undef HAVE_GSSAPI_GSSAPI_KRB5_H */
   /* #undef HAVE_GSSKRB5_REGISTER_ACCEPTOR_IDENTITY */
   /* #undef HAVE_GSS_C_NT_HOSTBASED_SERVICE */
   /* #undef HAVE_KRB5_CC_NEW_UNIQUE */
   /* #undef HAVE_KRB5_IPC_CLIENT_SET_TARGET_UID */
   /* #undef HAVE_KRB5_H */
   /* #undef HAVE_HEIMDAL */

Interestingly the Makefile in print/cups-base has this line inside
the CONFIGURE_ARGS section which makes all the above irrelevant:

   --disable-gssapi

So, my question is: why is the GSSAPI feature disabled in CUPS
1.4.2 when it was a configurable OPTION in CUPS 1.3.9 last Fall?

What should I do if I desire Kerberos support in CUPS 1.4.2 ??

Regards,

web...

--
William Bulley Email: w...@umich.edu

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


Re: Server compromised Zen-Cart record company Exploit

2010-02-04 Thread James Smallacombe


Replying to Bogdan Webb's reply recommending sohusin:

This appears to be exactly what I needed, thanks!  The stock ports PHP 
install already has the suhosin patch, but the extension is a godsend! 
Not only does it log everything, but it let's you manage php functions on 
a per virtual host basis, not just in php.ini.  Fantastic and is working 
great.  About the only thing I could want more would be to control the 
functions under the apache Directory directives (on top of in 
VirtualHost).


On Mon, 1 Feb 2010, James Smallacombe wrote:



(please reply-all; I am not sub'd and sorry for the top posting):

I have safe_mode off due to popular demand.  So many customer apps demand 
that it be kept off.  In fact, here is a post from one of the Zen people on 
the Zen-cart forum.  In light of this exploit, this might be a little ironic:


http://www.zen-cart.com/forum/showthread.php?t=76740

There is one for-sure patch: Turn off safe-mode.

Keep in mind that future versions of PHP will *not* even include a safe-mode 
... because it's a weak bandage giving a false sense of security to hosts who 
don't otherwise know how to properly secure their servers.


This begs the question: why? ie: why would you want to run your online 
business on a server that's got to use safe-mode in order to think they're 
securing the server?


I'm not trying to badmouth your server administrator; rather I'm attempting 
to strongly make the point that unless safe-mode is being used for a very 
specific reason for which there is no other solution (an unlikely situation), 
it shouldn't be used. And, if it is being used, you shouldn't run your 
business there, because there will be other security issues to which you'll 
be vulnerable but never have a clue about it until disaster strikes, because 
the big picture of security protection has been poorly implemented.


That said, Zen Cart will install and run even if Safe Mode is active; 
however, you run the risk of certain features not working with or without 
notice, and the unexpected appearance of warning or fatal errors while 
customers are using the site. And then there's the issue of the admin side 
needing to do various things that safe-mode doesn't like.


So, I guess, in short ... you can do it, but you do so at your own risk.

Maybe that's more than you wanted to hear ... sorry


From:  Bogdan Webb bog...@pgn.ro

try php's safe_mode but it is likely to keep the hackers off, indeed they
can get in and snatch some data but they would be kept out of a shell's
reach... but sometimes safe_mode is not enough... try considering Suhosin
but the addon not the patch... and define the
suhosin.executor.func.blacklist witch will deny use of certain php commands
that allow shell execution... but keep in mind it's impossible to prevent
all breaches... this php patch will only keep the hacker kiddos off but
there's still a good chance it can be broken... stay safe !

ref's:
http://www.hardened-php.net/suhosin.127.html
http://beta.pgn.ro/phps/phpinfo.php


On Sun, 31 Jan 2010, James Smallacombe wrote:



Whoever speculated that my server may have been compromised was on to 
something (see bottom).  The good news is, it does appear to be contained 
to the www unpriveleged user (with no shell).  The bad news is, they can 
still cause a lot of trouble.  I found the compromised customer site and 
chmod 0 their cart (had php binaries called core(some number).php that 
gave the hacker a nice browser screen to cause all kinds of trouble)


Not sure if this is related to the UDP floods, but if not, it's a heck of a 
coincidence.  At times, CPU went through the roof for the www user, mostly 
running some sort of perl scripts (nothing in the suexec-log).  I would 
kill apache, but couldn't restart it as it would show port 80 in use.  I 
would have to manually kill processes like these:


www  70471  1.4  0.1  6056  3824  ??  R  4:21PM   0:44.75 [eth0] (perl)
www  70470  1.2  0.1  6060  3828  ??  R  4:21PM   0:44.50 [bash] (perl)
www  64779  1.0  0.1  6056  3820  ??  R 4:07PM   2:24.34
/sbin/klogd -c 1 -x -x (perl)
www   70472  1.0  0.1  6060  3828  ??  R 4:21PM   0:44.84

I could not find ANY file named klogd on the system, let alone in /sbin. 
Clues as to how to dig myself out of this are appreciated


I found this in /tmp/bx1.txt:

--More--(5%)#!/usr/bin/php
?php

#
# --- Zen Cart 1.3.8 Remote Code Execution
# http://www.zen-cart.com/
# Zen Cart Ecommerce - putting the dream of server rooting within reach of 
anyone!

# A new version (1.3.8a)  is avaible on http://www.zen-cart.com/
#
# BlackH :)
#

error_reporting(E_ALL ^ E_NOTICE);
if($argc  2)
{
echo 
=___ Zen Cart 1.3.8 Remote Code Execution Exploit  =

|  BlackH bl4c...@gmail.com  |

|   

Re: Backup and FreeBSD/ZFS

2010-02-04 Thread Richard Mahlerwein
- Original Message 

From: Svein Skogen (Listmail Account) svein-listm...@stillbilde.net
To: freebsd-questions@freebsd.org
Sent: Thu, February 4, 2010 12:14:18 PM
Subject: Re: Backup and FreeBSD/ZFS

On 04.02.2010 17:57, Matthew Seaman wrote:
 On 04/02/2010 15:35, Svein Skogen (Listmail Account) wrote:

Alas, a full backup of the current disk setup takes 4 tapes and ... I
really don't feel like staying up one entire night per week to swap
tapes (both for the backup and the verify). The autoloader I've got now
(8 slot, 1 drive, LTO-3, SAS) works fairly well with the currently
installed OS (Windows Storage Server 2008), giving about 60MB/Sec
sustained transfer rate.

 LTO4 tapes are rated at 800--1600GB depending on achievable compression,
 so they might be big enough on their own.  As image formats are already
 internally compressed, I'd expect them to come in at the low end of
 that, which might be tight.  Worth trying out if you can get a drive on
 evaluation.

A standalone LTO-4 might be a good alternative, if I didn't already have
the tapeloader. ;)

Some (certainly not all) autoloaders can be upgraded/converted from LTO-3 to 
LTO-4 for about the same price as a standalone LTO-4.  

We use a windows based server for backups at work (nothing but a maintenance 
nightmare, let me tell you), and at home I have only a single-drive tape backup 
on my FreeBSD box (never a hiccup!) so I haven't been able to test the 
following, but would dump be able to understand the EOT and just be able to ask 
for a new one in the autoloader, which should be able to be set up to 
automatically move a new tape into the drive until it ran out?  

For what it's worth, I found Amanda unnecessarily complicated for my simple 
needs at home.  I tried Bacula as well and it seemed easier, but not enough to 
make it worth it.  I just dump the stuff I need to back up externally straight 
to tape on a weekly cron job.  They still fit on one tape.  :)



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


sysinstall and mfs

2010-02-04 Thread Martin McCormick
It appears that the same sysinstall executable that
works fine when run from the installation CDROM malfunctions
when run from a mfs platform even though it finds the disk it is
supposed to install on.

One can format the disk manually and mount the
partitions under mfs, but sysinstall can't seem to do the
installation. This does not make sense, but that is the score
right now.

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


Re: sysinstall and mfs

2010-02-04 Thread Jerry McAllister
On Thu, Feb 04, 2010 at 03:31:33PM -0600, Martin McCormick wrote:

   It appears that the same sysinstall executable that
 works fine when run from the installation CDROM malfunctions
 when run from a mfs platform even though it finds the disk it is
 supposed to install on.
 
   One can format the disk manually and mount the
 partitions under mfs, but sysinstall can't seem to do the
 installation. This does not make sense, but that is the score
 right now.

I don't understand why you are trying to do your own MFS for this.
You need to be booted to the MFS for it to make any difference and
that is what the install image (from the CD) normally does.  If you
just create an MFS and copy sysinstall to it, it will make no 
difference in its ability to modify the labels on the system disks.
They are already busy and you would have to reboot to unbusy them
and then you lose the MFS.   You could muck around and go down to
Single User and maybe come up running from MFS and free up the disk, 
but don't know a way to do that.

What happens when the boot or fixit is running is that you are booted
to a special filesystem that resides in MFS.  The system copies over
what it needs from the CD (or floppies) and runs from there.   Mainly
it is a filesystem and it allows nothing else but the MFS and the
boot media (CD/Floppy) to be mounted.   Then the hard disk is free to
diddle with the labels on.   If you do an install of something on to
the hard disk, then it creates a mount point within that Memory Filesystem 
and mounts the disk partition to it.   I don't know the naming
convention that it uses for the mount points, but it could be anything
such as iroot, iusr, etc or maybe something based on the partition name
such as mda1s1a, mda1s1d, etc.Maybe they make an mroot and then
put the rest of the mount points in that mroot directory just like they
will be in a running system.   So, if there are more than root partitions
they would look something like  /mroot, /mroot/tmp, /mroot/usr, etc.
Guess I should poke around sometime and see what they call them - sometime
when I have a lot of extra time.

The system uses these to install the software and then when it reboots, 
these temporary mount points disappear and when the new system comes
up, it just uses the mount points written in the /etc/fstab file (or in
the  /mroot/etc/fstab  file before the reboot when still doing the install)

This is rambling too much.   The point is that MFS is only meaningful
in this situation if the system is booted and running from it.  It 
does not mean anything to sysinstall otherwise.

There are other uses for MFS such as a handy device for creating
these boot images, but that has little bearing on how sysinstall runs.

jerry


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


which java on 8-release

2010-02-04 Thread Steve Franks
Hi,

Tried to get any permutation of XYZ-jre or XYZ-jdk installed on 8-rc1
and gave up.  I see still no diablo for 8.  What is the best way
forward (and how am I so dense that no one else has even asked this
question, I must be on the wrong track, no?)  I saw a few posts about
having to install diablo in order to build openjdk, so that's out
too...what is the 'magic' port that people use?  I just want to run
all the apps that need java, I don't plan to write any java on my own.

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


Re: which java on 8-release

2010-02-04 Thread Rob Farmer
On Thu, Feb 4, 2010 at 4:25 PM, Steve Franks bahamasfra...@gmail.com wrote:
 Hi,

 Tried to get any permutation of XYZ-jre or XYZ-jdk installed on 8-rc1
 and gave up.  I see still no diablo for 8.  What is the best way
 forward (and how am I so dense that no one else has even asked this
 question, I must be on the wrong track, no?)  I saw a few posts about
 having to install diablo in order to build openjdk, so that's out
 too...what is the 'magic' port that people use?  I just want to run
 all the apps that need java, I don't plan to write any java on my own.

Diablo should work on 8 with the misc/compat7x port - I'm running
diablo-jdk16 on -current without any problems.

-- 
Rob Farmer


 Thanks,
 Steve
 ___
 freebsd-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: which java on 8-release

2010-02-04 Thread Nerius Landys
 Tried to get any permutation of XYZ-jre or XYZ-jdk installed on 8-rc1
 and gave up.  I see still no diablo for 8.  What is the best way
 forward (and how am I so dense that no one else has even asked this
 question, I must be on the wrong track, no?)  I saw a few posts about
 having to install diablo in order to build openjdk, so that's out
 too...what is the 'magic' port that people use?  I just want to run
 all the apps that need java, I don't plan to write any java on my own.

I compiled Java 1.5 from ports on 8.0 (both on i386 and on amd64).

 cd /usr/ports/java/jdk15/
 make install clean
(Then follow directions about downloading tarballs and placing them in
/usr/ports/distfiles/ .)

Along the way to building this port, it automatically installed the
compat-7 mentioned above, as well as the diablo JDK.  When the install
was all finished, I uninstalled the diablo JDK so that I'd have just
my freshly-compiled JDK 1.5 installed.

I'm sure building JDK 1.6 from ports is similar:

 cd /usr/ports/java/jdk16/
 make install clean

I prefer JDK 1.5 because it's simpler and has less dependencies, but
that's just me.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: which java on 8-release

2010-02-04 Thread Jonathan Chen
On Thu, Feb 04, 2010 at 05:25:57PM -0700, Steve Franks wrote:
 Hi,
 
 Tried to get any permutation of XYZ-jre or XYZ-jdk installed on 8-rc1
 and gave up.  I see still no diablo for 8.  What is the best way
 forward (and how am I so dense that no one else has even asked this
 question, I must be on the wrong track, no?

You need to install compat7 and diablo-6. This will enable you to
build your 'seed' openjdk6 port; which you can package and transfer to
other hosts. You can remove compat7 and diablo-6 once openjdk6 has
been installed; as openjdk6 can be used to rebuild itself during
upgrades.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
--
Don't worry about avoiding temptation,
as you grow older, it starts avoiding you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: sysinstall and mfs

2010-02-04 Thread Martin McCormick
Jerry McAllister writes:
 I don't understand why you are trying to do your own MFS for this.
 You need to be booted to the MFS for it to make any difference and
 that is what the install image (from the CD) normally does.  If you
 just create an MFS and copy sysinstall to it, it will make no
 difference in its ability to modify the labels on the system disks.
 They are already busy and you would have to reboot to unbusy them

What I actually did was to download the mfsbsd tool set
which lets you create either an iso image you can burn to a CD
or another image that you spray on to the MBR of the hard drive via dd.

Either way, the system that comes up is not connected in
any way to the hard drive. That is what I thought one had when
booting from the CDROM. The only difference is that one is in
multiuser mode under mfs and single user mode when booting the
CDROM. That difference may be the problem.

It just occurred to me that one of the messages you see
as sysinstall starts up is that it is probing devices. Since
many of those devices are part of mfs, this may be how
things go wrong. Sysinstall may see a device that essentially
breaks its idea of the hard drive and where it is.

I have never been so confused about something that
seemed so straight-forward. Thanks for your help.

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


X11/freebsd problem

2010-02-04 Thread Chuck Robey
I have this problem with my built-under-freebsd-current Xorg, it gives me this
following sort of error everytime it starts up:

(pts/2):{14}% Xlib:  extension Generic Event Extension missing on display 
:0.0.
Xlib:  extension Generic Event Extension missing on display :0.0.

Usually, that 2nd line shows up 6 to 12 times, I trimmed the repetitions for
brevity.  Anyone got any idea what this sort of error is?  If it isn't a fairly
common sort of error, I think I'll hunt to see if maybe there's an Xorg mailing
list I could use.  I think that the error originated during the period when I
was writing a X11 graphical tablet driver, but it never (until now) seemed to
actually get it the way.  The version of X I was using is completely gone now,
and when I found out that the cut-rate graphical tablet itself was too defective
to give me a good basis for the driver, well, the driver is history now too
(except for all the stuff I learned, very useful!)

Thanks.  This all came up as I've been searching for a sound player with a good
GUI, and that's what triggered the error this time (the audacious port).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


wrong md5 sum of 8.0-RELEASE-amd64-dvd1.iso.gz ??

2010-02-04 Thread Shripad R.
hi,
i just wanted to upgrade my current 7.2 to 8.0 and wanted to do it from
scratch so downloaded 8.0-RELEASE-amd64-dvd1.iso.gz.
But the md5 mentioned here
http://www.freebsd.org/releases/8.0R/announce.html is :

MD5 (8.0-RELEASE-amd64-dvd1.iso) = 44c016ae8812a266f710d1845722366d

And the md5 i am getting after downloading the ISO is :

MD5 (8.0-RELEASE-amd64-dvd1.iso.gz) = add311be2d189cde1d47ba515c05f440

totally different. Can somebody plz confirm ?

I confirmed the download was complete and uninterrupted, but still just
concerned about this.

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


Re: wrong md5 sum of 8.0-RELEASE-amd64-dvd1.iso.gz ??

2010-02-04 Thread J65nko
On Fri, Feb 5, 2010 at 4:37 AM, Shripad R. shripad...@gmail.com wrote:
 hi,
 i just wanted to upgrade my current 7.2 to 8.0 and wanted to do it from
 scratch so downloaded 8.0-RELEASE-amd64-dvd1.iso.gz.
 But the md5 mentioned here
 http://www.freebsd.org/releases/8.0R/announce.html is :

 MD5 (8.0-RELEASE-amd64-dvd1.iso) = 44c016ae8812a266f710d1845722366d

Please note the .iso extension

 And the md5 i am getting after downloading the ISO is :
 MD5 (8.0-RELEASE-amd64-dvd1.iso.gz) = add311be2d189cde1d47ba515c05f440

Please note the .iso.gz extension

So unpack you iso.gz file and then recheck the MD5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: this may be impossible: iis there a way to play streams on our firefox?

2010-02-04 Thread Chuck Robey
Mike Clarke wrote:
 On Thursday 04 February 2010, Adam Vande More wrote:
 
 On Wed, Feb 3, 2010 at 7:29 PM, Gary Kline kl...@thought.org wrote:
Is there a way of streaming stuff like old tv shows, the
bbc-player, and pbs steams on the freebsd version of
 firefox35?

thought i'd give it a last try since everything is upgraded
 on my desktop.
 /usr/ports/www/linux-f10-flashplugin10
 
 Is it just me or is the flash plugin still not fully functional? I'm 
 running Firefox 3.5.7 with linux-f10-flashplugin-10.0r42 on 
 8.0-RELEASE-p2, some flash videos work but many fail. For example BBC 
 iplayer always comes up with a message This content doesn't seem to be 
 working. Try again later superimposed over a still image of the start 
 of the video. YouTube videos play but without any sound.
 

I've been using gnash with firefox, *everything* doesn't play, but the majority
does.  I really don't like being forced to use Linux things, and it seems that
gnash nicely gets that accomplished.  Note that the gnash install, right out of
the port, it's broken, so read up on drivers, and *replace* (not add to) your
current flash player with gnash.  I found that if you enter about:plugins
directly into the URL entry box on firefox, you got a whole lot of very useful
info about the current state of firefox plugins.  It'll tell you if there are
other flash plugins which need search  destroy.  What you have to do is to make
softlinks, but where, exactly, that's stretching my firefox knowledge.  I
personally, did get lucky.

Maybe I should say that someone on the freebsd lists pointed me at the
about:plugins, but I actually first thought it was some web page, so I had to
flop about like a fish out of water for a little while.  It's a html page, yes,
but built directly, dynamically, by firefox.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: wrong md5 sum of 8.0-RELEASE-amd64-dvd1.iso.gz ??

2010-02-04 Thread Thomas K.
On Fri, Feb 05, 2010 at 09:07:30AM +0530, Shripad R. wrote:

 MD5 (8.0-RELEASE-amd64-dvd1.iso) = 44c016ae8812a266f710d1845722366d
 MD5 (8.0-RELEASE-amd64-dvd1.iso.gz) = add311be2d189cde1d47ba515c05f440
 
 totally different. Can somebody plz confirm ?

Yes. Different files, different hash. Confirmed.

:-)

 I confirmed the download was complete and uninterrupted, but still just
 concerned about this.

If it wasn't for the user error, you should be. Compare to the correct
hash, or uncompress your downloaded file first.

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