Re: apache2 doesn't .flv in my server

2012-06-04 Thread Kalle Møller
AddHandler flv-stream .flv ?

On Sun, Jun 3, 2012 at 9:36 PM, Bulent  Malik bma...@ihlas.net.tr wrote:
 Hello

 I use apache22-worker on freebsd9

 It Works. But I can't video file flv extension.

 I googled about that  and downloaded mod_flvx.c and followed the
 instructions. Also I see that flv is added as shared module in apache

 Httpd -M

 .

 alias_module (shared)

 rewrite_module (shared)

 php5_module (shared)

 h264_streaming_module (shared)

 flvx_module (shared)



 But when i call at http://myweb/example.flv   i only download this file.

 How can I solve this case ?





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



-- 

Med Venlig Hilsen

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


Re: Strange case of vanishing disk

2012-06-04 Thread Gary Aitken
On 06/03/12 20:59, Kaya Saman wrote:
 this is a very strange issue but I guess will either be related to 2
 things, PSU not being powerful enough or disk controller simply being crap.
 
 Here's what's going on. I have a little Chenbro 4 disk mini-ITX NAS
 server with 2x 2TB disks and 2x4TB disks as storage - all spread out
 over 2 ZFS storage pools. Additionally I am running the root file system
 on a 40GB SSD.
 
 [...]
 ___

 One thing I can think of is to disconnect the questionable disk from the 
 RAID controller card and connect it directly to the motherboard.

 Then you'd know whether the fault is with the hard drive or the RAID 
 controller.

 PSU = power supply unit? 180 watts seems very little, I didn't know any 
 modern system could run on so little. I thought the minimum would be around 
 400 watts, and this would not allow for a powerful gaming graphics card.

 Maybe you need to replace the power supply with something having more watts, 
 but make sure it will physically fit.

 Tom
 
 Thanks for the response!
 
 Here's some more info that I managed to dig up:
 
 Jun 4 02:39:19 Zeta-Ray root: ZFS: vdev I/O failure, zpool=ZFS_POOL_2 
 path=/dev/ad4 offset=270336 size=8192 error=6
 Jun 4 02:39:19 Zeta-Ray kernel: ata2: port is not ready (timeout 15000ms) tfd 
 = 00ff
 Jun 4 02:39:19 Zeta-Ray kernel: ata2: hardware reset timeout
 Jun 4 02:39:19 Zeta-Ray kernel: unknown: TIMEOUT - WRITE_DMA48 retrying (1 
 retry left) LBA=269091394
 
 
 Yeah, 180 Watts is what comes with the chassis as it's an external power 
 supply. Additionally the system is a Mini-ITX so that would account for less 
 power usage however, in this case I think it might be the PSU that's simply 
 not providing enough power.
 
 
 I will definitely try sticking the downed disk into the motherboard 
 controller directly as that will tell me if the disk is the issue or not.

If the problem is actually insufficient power, this won't tell you a thing.
You'll have to isolate the power supply as not being a problem before anything 
else will be relevant.  

If you swap the two new disks, and the one now on the card fails, it's probably 
not a disk problem.  But you still can't tell if its the card or insufficient 
power.

If you can sideline the two original disks and run, it's probably power.  But 
I'd guess you're oversubscribed in that department.  It should be relatively 
easy to estimate as mfg specs for cpu + mobo + disks is readily available.

Gary

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


Re: Portmaster and update progress, suggestion.

2012-06-04 Thread Leslie Jensen



2012-06-03 18:18, Warren Block skrev:

On Sun, 3 Jun 2012, Warren Block wrote:


On Sun, 3 Jun 2012, Leslie Jensen wrote:




2012-06-02 19:18, Doug Barton skrev:

On 6/2/2012 8:09 AM, Leslie Jensen wrote:

I'm thinking about some kind of information on the build progress


Portmaster already has that if you're building in a terminal window,
look in the titlebar. I can take a look at printing that in line if
you're not in a terminal window though.



I'm running in XFCE4 terminal and the titlebar is empty here!

So do I need to activate this function?


It's on by default. --no-term-title disables it, as does setting
PM_NO_TERM_TITLE in portmaster.rc.


Oh, and xfce's Terminal has a preferences setting that can prevent
dynamically-set titles from being displayed.
___
freebsd-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 found that setting and changed it.

I forgot to tell you that I'm working through an SSH connection and 
maybe it's because of that I cannot see any title?


I'll test as soon as I've got the system up with X again.


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


Re: Portmaster and update progress, suggestion.

2012-06-04 Thread Doug Barton
On 06/04/2012 00:35, Leslie Jensen wrote:
 I found that setting and changed it.

That should do it then. Thanks to Warren for suggesting it.

 I forgot to tell you that I'm working through an SSH connection and
 maybe it's because of that I cannot see any title?

Nope. Should work just fine for you, I've done thousands of portmaster
upgrades over ssh.

Let me know how it goes,

Doug

-- 

This .signature sanitized for your protection
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: umount device busy

2012-06-04 Thread Gary Aitken
On 06/03/12 21:05, Polytropon wrote:

 Good idea. However, you can do efficient backups of Windows
 data by using the ntfsprogs tools. This makes sure they can
 even be read under non-Windows systems.

I'll look into that. 

 if you are using xfce4, then you have most likely got gamin
 running as well, this caused the same problem for me when
 trying to umount an external USB drive

 gamin *is* installed, and I did have the file browser up and
 using it to look at the ntfs disk.  I thought it might be
 holding a file open, so first I backed it out to something
 not on the ntfs disk, then exited it.  Made no difference.
 
 Maybe the ganim lock is regarding a device file? Not sure
 about that, I'm not using it here.

I'm not sure what the deal is here, but exiting X does solve the problem.  I 
didn't try just killing the environment by shutting down the wm and leaving X 
up, but if I forget and do something like that again I'll try to remember to 
try it.

 In any case, the mount was done after X was started, and switching
 vtys crashes X so I don't do that.
 
 That sounds a bit wrong...

Agreed, but I saw someone else was having a similar problem with 9.0 release a 
bit earlier on a system, and no problem with 8.3.  At least I think that was 
it.  Hmmm, just looked and there's a firefox-bin.core and an 
xfce-appfinder.core.  Timestamps look about right for when I did a vty switch.

 Typo maybe? A command like ps2ascii sounds more reasonable if
 we consider PS being the output format. The command

duh.  need sleep.

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: Portmaster and update progress, suggestion.

2012-06-04 Thread Leslie Jensen



2012-06-04 09:41, Doug Barton skrev:

On 06/04/2012 00:35, Leslie Jensen wrote:

I found that setting and changed it.


That should do it then. Thanks to Warren for suggesting it.


I forgot to tell you that I'm working through an SSH connection and
maybe it's because of that I cannot see any title?


Nope. Should work just fine for you, I've done thousands of portmaster
upgrades over ssh.

Let me know how it goes,

Doug



I've set that dynamic title should go before initial title. I've also 
tried the setting that it should replace initial title. None of the 
settings changes anything.


I've no title at all apart from Terminal

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


Re: umount device busy

2012-06-04 Thread Lars Eighner

On Sun, 3 Jun 2012, Gary Aitken wrote:


This almost always means someone (i.e. you) is sitting in the directory.
If you tried this while su'ed and the un-su'ed you were still in the
directory /mnt/goflex, you'd get this message. This may also happen if
someone (i.e. you) is in the directory on another vtty. Naturally it can
also mean some operation is in progress, but generally you would have
recognized and avoided that.


That's what I kept thinking.  Backed out of all su ops, checked all
xterms; nada.  no other vtys opened.  In any case, the mount was done
after X was started, and switching vtys crashes X so I don't do that.


This needs fixing.


I thought maybe so, but didn't know for sure.  Thanks.
But Lars' mount -p is more assuring.


I like it because if you happen to have a configuration you would
like to use again, you can capture the output and make it your
fstab, + or - automount adjustments.




3.  I tried lsof but I don't get any output from it:
   lsof +d /mnt/goflex -x -- /mnt/goflex
   Where does it go if not to stdout?



You've got me! But why is there anything after -x? I don't quite
understand.


Otherwise -x thinks the /mnt/goflex belongs to it.


But what if you leave out ALL the stuff after -x.  Isn't it redundant with
the +d switch?  (That's not a Socratic question: I don't know.)

Anyway, I found the lsof FAQ by make extract in the port.  I quess I am not
too good at reading Makefiles because I don't see why it isn't copied to
/usr/local/share/lsof with the README and whatnot.


man -t lsof | sp2ascii  savefile.txt


Where'd you get/find sp2ascii?  I don't see one anywhere, not even on google.
(Except this thread...)  Secret weapon?


That's a good question.  Turns out all kinds of ps converters are installed
by ghostscript.

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

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


Re: Portmaster and update progress, suggestion.

2012-06-04 Thread Leslie Jensen



2012-06-04 10:14, Leslie Jensen skrev:



2012-06-04 09:41, Doug Barton skrev:

On 06/04/2012 00:35, Leslie Jensen wrote:

I found that setting and changed it.


That should do it then. Thanks to Warren for suggesting it.


I forgot to tell you that I'm working through an SSH connection and
maybe it's because of that I cannot see any title?


Nope. Should work just fine for you, I've done thousands of portmaster
upgrades over ssh.

Let me know how it goes,

Doug



I've set that dynamic title should go before initial title. I've also
tried the setting that it should replace initial title. None of the
settings changes anything.

I've no title at all apart from Terminal

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



After a restart of xfce I've got the Title to change, but I can only see 
the initial command ie portmaster All.




/Leslie


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


giflib update failed 4.1.6 - 4.2.0_1

2012-06-04 Thread n dhert
during my weekly portupgrades, giflib update failed:
...
...
Making all in doc^M
xmlto xhtml-nochunks gif2rgb.xml^M
xmlto: /usr/ports/graphics/giflib/work/giflib-4.2.0/doc/gif2rgb.xml does
not val
idate (status 3)^M
xmlto: Fix document syntax or use --skip-validation option^M
I/O error : Attempt to load network entity
http://www.oasis-open.org/docbook/xml
/4.1.2/docbookx.dtd^M
/usr/ports/graphics/giflib/work/giflib-4.2.0/doc/gif2rgb.xml:4: warning:
failed
to load external entity 
http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dt
d^M
   http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd; []^M
 ^^M
I/O error : Attempt to load network entity
http://www.oasis-open.org/docbook/xml
4.1.2/docbookx.dtd^M
warning: failed to load external entity 
http://www.oasis-open.org/docbook/xml/4
.1.2/docbookx.dtd^M
validity error : Could not load the external subset 
http://www.oasis-open.org/d
ocbook/xml/4.1.2/docbookx.dtd^M
Document /usr/ports/graphics/giflib/work/giflib-4.2.0/doc/gif2rgb.xml does
not v
alidate^M
*** Error code 13^M
^M
Stop in /usr/ports/graphics/giflib/work/giflib-4.2.0/doc.^M
*** Error code 1^M
^M
Stop in /usr/ports/graphics/giflib/work/giflib-4.2.0.^M
*** Error code 1^M
^M
Stop in /usr/ports/graphics/giflib/work/giflib-4.2.0.^M
*** Error code 1^M
^M
Stop in /usr/ports/graphics/giflib.^M
---  Build of graphics/giflib ended at: Mon, 04 Jun 2012 09:43:14 +0200
(consum
ed 00:03:57)
---  Upgrade of graphics/giflib ended at: Mon, 04 Jun 2012 09:43:14 +0200
(cons
umed 00:03:57)
---  ** Upgrade tasks 49: 6 done, 0 ignored, 0 skipped and 1 failed
What's wrong and how to solve ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: font sizes in xfce 4.10

2012-06-04 Thread Leslie Jensen



2012-05-28 06:53, Antonio Olivares skrev:



I copied the username/.config directory to another folder and nuked
it.  Then I see the pristine settings.  They are almost the same with
the exception of the clock moved to the side like it had been before
but was moved.  The fonts are the same :(, tiny.  If I change the size
it is not noticed.  The bottom panel has no icons except for two
folders on both ends and the application finder.  I guess I will have
to change that behavior manually.

I will see where I can adjust the sizes of the fonts since they don't
appear to be in a folder.

Thanks for helping out.

Regards,


Antonio


I believe that I have found a way to fix the issue.

The problem was the DPI, the fonts are the same size.  Now everything
seems to be normal :)

I vistited the online tour

http://www.xfce.org/about/tour

Then clicked on the application finder, appearance, then clicked on
DPI and raised the number to 96 did not see what it was though.

Thanks Polytropon for your valuable help and suggestions.

Regards,


Antonio
___
freebsd-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 now have a similar problem. The icons in the program menu is not 
displayed, only a white icon with a red cross.


Uninstalled the complete xfce4 and reinstalled it.

I also nuked the .config directory but icons are gone even so.

I have the 96 DPI setting as well.

Did you do anything else to retrieve the icons?

Thanks

/Leslie


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


Re: How to use an external USB3.0 drive with 4k sectors?

2012-06-04 Thread Jens Schweikhardt
On Mon, Jun 04, 2012 at 06:58:07AM +0200, Wojciech Puchar wrote:
# 
#  2. Replace the vendor installed NTFS with a UFS file system.
# 
#$ newfs -U /dev/da1s1
# 
#(No, I didn't bother to create BSD partitions)
# 
# but why still create msdos partition?

I didn't create one, I just left it as is. For some reason fdisk would
error out and sysinstall's fdisk would compute bogus capacities: use the
number of sectors and multiply them by 512 instead of 4096--that scared
me to the point I didn't want to have fdisk write to the disk.

Next on my TODO list: learn about gpart.

Regards,

Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Strange case of vanishing disk

2012-06-04 Thread Kaya Saman

On 06/04/2012 04:42 AM, Zane C. B-H. wrote:

On Mon, 04 Jun 2012 02:06:57 +0100
Kaya Samankayasa...@gmail.com  wrote:


Hi,

this is a very strange issue but I guess will either be related to
2 things, PSU not being powerful enough or disk controller simply
being crap.


Here's what's going on. I have a little Chenbro 4 disk mini-ITX NAS
server with 2x 2TB disks and 2x4TB disks as storage - all spread
out over 2 ZFS storage pools. Additionally I am running the root
file system on a 40GB SSD.

The strange thing with this is that I recently installed the 4TB
disks and they're brand new.


One disk connected to the system board works fine and shows up as
online and on one of the channels using atacontrol list.


The other disk is connected to a Startech.com Jmicron based 2x SATA
RAID controller card.


The disk connected to the controller card is having issues. At
first the drive wouldn't be seen by the system then after a while
all of a sudden it was there. No reboots, no io scans nothing it
just appeared.

After blasting it with IO for a few days the disk has now vanished
again.

I had this error in dmesg for a while:

ad4: TIMEOUT - READ_DMA retrying (1 retry left) LBA=113337535

I have tried to use pciconf -lbvv to show the connected interfaces
and the JMICRON comes up fine:


atapci0@pci0:2:0:0:class=0x010400 card=0x2366197b
chip=0x2366197b rev=0x02 hdr=0x00
  vendor = 'JMicron Technology Corp.'
  device = 'JMicron JMB366 AHCI/IDE Controller (JMB36X)'
  class  = mass storage
  subclass   = RAID
  bar   [10] = type I/O Port, range 32, base 0xd040, size  8,
enabled bar   [14] = type I/O Port, range 32, base 0xd030, size  4,
enabled bar   [18] = type I/O Port, range 32, base 0xd020, size  8,
enabled bar   [1c] = type I/O Port, range 32, base 0xd010, size  4,
enabled bar   [20] = type I/O Port, range 32, base 0xd000, size 16,
enabled bar   [24] = type Memory, range 32, base 0xd051, size
8192, enabled


So why isn't the disk?

I reckon as stated at the beginning that either the 180Watt PSU
inside the system isn't enough or the controller is just really
poor??


Could anyone suggest anything to look into, I'm sure I've covered
all the bases but just incase there is something else I can do with
this one??

Greetings,

It looks like you are using the default ATA drive with that. I would
suggest trying the AHCI driver and see if that works better.

kldload ahci

___
freebsd-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've just tried this and lost my whole system.

My boot disk is not labeled to work with ahci as it just has standard 
formatting on there.


Need to remove the ahci_load=YES from /boot/loader.conf file now.


Regards,


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


Re: (no subject)

2012-06-04 Thread Robert Huff

Wojciech Puchar writes:

   Some, too many, web sites are difficult or impossible to access
   without Adobe Flash. 
  
  true. but this is actually great filter that save your time. such
  sites doesn't have any real contents.

Ahem - no site _you_ have need of is Flash-only.
Do not presume to speak for other users.
(Though I agree - Flash-only is usually a bad sign,)


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: font sizes in xfce 4.10

2012-06-04 Thread Antonio Olivares
On Mon, Jun 4, 2012 at 4:34 AM, Leslie Jensen les...@eskk.nu wrote:


 2012-05-28 06:53, Antonio Olivares skrev:


 I copied the username/.config directory to another folder and nuked
 it.  Then I see the pristine settings.  They are almost the same with
 the exception of the clock moved to the side like it had been before
 but was moved.  The fonts are the same :(, tiny.  If I change the size
 it is not noticed.  The bottom panel has no icons except for two
 folders on both ends and the application finder.  I guess I will have
 to change that behavior manually.

 I will see where I can adjust the sizes of the fonts since they don't
 appear to be in a folder.

 Thanks for helping out.

 Regards,


 Antonio


 I believe that I have found a way to fix the issue.

 The problem was the DPI, the fonts are the same size.  Now everything
 seems to be normal :)

 I vistited the online tour

 http://www.xfce.org/about/tour

 Then clicked on the application finder, appearance, then clicked on
 DPI and raised the number to 96 did not see what it was though.


 I now have a similar problem. The icons in the program menu is not
 displayed, only a white icon with a red cross.

 Uninstalled the complete xfce4 and reinstalled it.

 I also nuked the .config directory but icons are gone even so.

 I have the 96 DPI setting as well.

 Did you do anything else to retrieve the icons?

 Thanks


Only the ones in the bottom panel :) [right click then select the
icons from the ones given]  On the menu, they are still missing :(  I
don't worry about these yet as I hope that some update(s) later on
will bring them back :)

I updated the png update as suggested in /usr/ports/UPDATING, but no
improvement in icons :(

Regards,


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


Re: giflib update failed 4.1.6 - 4.2.0_1

2012-06-04 Thread n dhert
the libungif port is not installed on my system, so can't delete it ...
2012/6/4 Leslie Jensen les...@eskk.nu


 I had a similar problem.

 Try to delete libungif

 Regards

 /Leslie


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


Dependencies for dns/unbound

2012-06-04 Thread Rada alive
I was hoping to test dns/unbound as a lighter-weight DNS cache service to
replace BIND. A few hours into make install i decided to abort and have a
look at the dependencies.
Can someone tell me why a DNS server needs packages like graphics/jpeg
and x11/randrproto?
Is there a way to build unbound on my system without all the trash?

I tried emailing the port maintainer but my message bounced back.

[root@pladaks /usr/ports/dns/unbound]# make all-depends-list
/usr/ports/devel/gmake
/usr/ports/textproc/expat2
/usr/ports/dns/ldns
/usr/ports/devel/gettext
/usr/ports/devel/doxygen
/usr/ports/devel/libtool
/usr/ports/converters/libiconv
/usr/ports/lang/perl5.12
/usr/ports/devel/tmake
/usr/ports/graphics/graphviz
/usr/ports/print/dvipsk-tetex
/usr/ports/print/teTeX
/usr/ports/lang/python27
/usr/ports/devel/bison
/usr/ports/devel/qt4-corelib
/usr/ports/x11-toolkits/qt4-gui
/usr/ports/devel/qt4-moc
/usr/ports/devel/qmake4
/usr/ports/devel/qt4-rcc
/usr/ports/textproc/qt4-xml
/usr/ports/print/ghostscript9
/usr/ports/graphics/png
/usr/ports/x11-toolkits/libXaw
/usr/ports/x11/libXpm
/usr/ports/x11-toolkits/libXmu
/usr/ports/x11-toolkits/libXt
/usr/ports/x11/libSM
/usr/ports/x11/libICE
/usr/ports/x11/libXext
/usr/ports/x11/libX11
/usr/ports/x11/libXau
/usr/ports/x11/libXdmcp
/usr/ports/x11/libXp
/usr/ports/x11/libXrender
/usr/ports/devel/pkg-config
/usr/ports/graphics/jpeg
/usr/ports/print/freetype2
/usr/ports/x11-fonts/fontconfig
/usr/ports/graphics/gd
/usr/ports/devel/libltdl
/usr/ports/devel/glib20
/usr/ports/x11-toolkits/pango
/usr/ports/devel/gio-fam-backend
/usr/ports/print/tex-texmflocal
/usr/ports/print/teTeX-texmf
/usr/ports/print/teTeX-base
/usr/ports/www/libwww
/usr/ports/devel/t1lib
/usr/ports/print/cm-super
/usr/ports/print/xdvik
/usr/ports/devel/m4
/usr/ports/x11/inputproto
/usr/ports/x11/libXrandr
/usr/ports/x11/libXinerama
/usr/ports/x11/libXfixes
/usr/ports/x11/libXcursor
/usr/ports/x11/libXi
/usr/ports/devel/qt4-uic
/usr/ports/devel/xdg-utils
/usr/ports/devel/autoconf
/usr/ports/dns/libidn
/usr/ports/graphics/jbig2dec
/usr/ports/graphics/tiff
/usr/ports/print/libpaper
/usr/ports/print/gsfonts
/usr/ports/devel/cmake
/usr/ports/x11/printproto
/usr/ports/x11/xextproto
/usr/ports/x11/xproto
/usr/ports/x11/kbproto
/usr/ports/devel/xorg-macros
/usr/ports/x11/xtrans
/usr/ports/x11/libxcb
/usr/ports/x11/bigreqsproto
/usr/ports/x11/xcmiscproto
/usr/ports/x11-fonts/xf86bigfontproto
/usr/ports/x11/renderproto
/usr/ports/devel/pcre
/usr/ports/devel/gobject-introspection
/usr/ports/x11-fonts/libXft
/usr/ports/graphics/cairo
/usr/ports/x11-fonts/xorg-fonts-truetype
/usr/ports/x11-fonts/encodings
/usr/ports/devel/gamin
/usr/ports/print/font-amsfonts
/usr/ports/textproc/texi2html
/usr/ports/archivers/unzip
/usr/ports/x11-fonts/p5-type1inst
/usr/ports/x11-toolkits/open-motif
/usr/ports/x11/randrproto
/usr/ports/x11/xineramaproto
/usr/ports/x11/fixesproto
/usr/ports/misc/hicolor-icon-theme
/usr/ports/misc/help2man
/usr/ports/devel/autoconf-wrapper
/usr/ports/graphics/jbigkit
/usr/ports/devel/libcheck
/usr/ports/textproc/libxslt
/usr/ports/x11/xcb-proto
/usr/ports/devel/libpthread-stubs
/usr/ports/devel/libffi
/usr/ports/x11/xcb-util-renderutil
/usr/ports/x11/pixman
/usr/ports/x11-fonts/font-bh-ttf
/usr/ports/x11-fonts/font-misc-meltho
/usr/ports/x11-fonts/font-misc-ethiopic
/usr/ports/x11-fonts/bitstream-vera
/usr/ports/x11-fonts/mkfontscale
/usr/ports/x11-fonts/bdftopcf
/usr/ports/x11-fonts/font-util
/usr/ports/x11-fonts/mkfontdir
/usr/ports/x11/xbitmaps
/usr/ports/devel/p5-Locale-gettext
/usr/ports/security/libgcrypt
/usr/ports/textproc/libxml2
/usr/ports/x11/xcb-util
/usr/ports/x11-fonts/libfontenc
/usr/ports/x11-fonts/libXfont
/usr/ports/security/libgpg-error
/usr/ports/devel/gperf
/usr/ports/x11-fonts/fontsproto
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Strange case of vanishing disk

2012-06-04 Thread Kaya Saman

On 06/04/2012 08:34 AM, Gary Aitken wrote:

On 06/03/12 20:59, Kaya Saman wrote:

this is a very strange issue but I guess will either be related to 2
things, PSU not being powerful enough or disk controller simply being crap.


Here's what's going on. I have a little Chenbro 4 disk mini-ITX NAS
server with 2x 2TB disks and 2x4TB disks as storage - all spread out
over 2 ZFS storage pools. Additionally I am running the root file system
on a 40GB SSD.

[...]

___

One thing I can think of is to disconnect the questionable disk from the RAID 
controller card and connect it directly to the motherboard.

Then you'd know whether the fault is with the hard drive or the RAID controller.

PSU = power supply unit? 180 watts seems very little, I didn't know any modern 
system could run on so little. I thought the minimum would be around 400 watts, 
and this would not allow for a powerful gaming graphics card.

Maybe you need to replace the power supply with something having more watts, 
but make sure it will physically fit.

Tom

Thanks for the response!

Here's some more info that I managed to dig up:

Jun 4 02:39:19 Zeta-Ray root: ZFS: vdev I/O failure, zpool=ZFS_POOL_2 
path=/dev/ad4 offset=270336 size=8192 error=6
Jun 4 02:39:19 Zeta-Ray kernel: ata2: port is not ready (timeout 15000ms) tfd = 
00ff
Jun 4 02:39:19 Zeta-Ray kernel: ata2: hardware reset timeout
Jun 4 02:39:19 Zeta-Ray kernel: unknown: TIMEOUT - WRITE_DMA48 retrying (1 
retry left) LBA=269091394


Yeah, 180 Watts is what comes with the chassis as it's an external power 
supply. Additionally the system is a Mini-ITX so that would account for less 
power usage however, in this case I think it might be the PSU that's simply not 
providing enough power.


I will definitely try sticking the downed disk into the motherboard 
controller directly as that will tell me if the disk is the issue or not.

If the problem is actually insufficient power, this won't tell you a thing.
You'll have to isolate the power supply as not being a problem before anything 
else will be relevant.

If you swap the two new disks, and the one now on the card fails, it's probably 
not a disk problem.  But you still can't tell if its the card or insufficient 
power.

If you can sideline the two original disks and run, it's probably power.  But 
I'd guess you're oversubscribed in that department.  It should be relatively 
easy to estimate as mfg specs for cpu + mobo + disks is readily available.

Gary



Yeah, this is really odd!

I just offlined the system and took a look at the BIOS. The hard disk 
controller was set to ATA NATIVE, I attempted changing to AHCI and the 
system failed to boot thereafter.


Booting into my rescue CD of FreeSBIE, with AHCI enabled only showed 
ad4 (the troubled disk) to be registering.


Switching the setting back I managed to see all disk including ad4 from 
SBIE. I fixed the /boot/loader.conf file by commenting out 
ahci_load=YES and vuala done! The system booted and the ZPOOL jumped 
back into life:


# zpool status
  pool: ZFS_POOL_1
 state: ONLINE
 scrub: none requested
config:

NAMESTATE READ WRITE CKSUM
ZFS_POOL_1  ONLINE   0 0 0
  ad13  ONLINE   0 0 0
  ad15  ONLINE   0 0 0

errors: No known data errors

  pool: ZFS_POOL_2
 state: ONLINE
 scrub: scrub stopped after 307445734561825857h27m with 0 errors on Mon 
Jun  4 16:24:10 2012

config:

NAMESTATE READ WRITE CKSUM
ZFS_POOL_2  ONLINE   0 0 0
  ad14  ONLINE   0 0 0
  ad4   ONLINE   0 0 0

errors: No known data errors



Here's the weird part now; I had to stop the SCRUB as the READ_DMA 
retrying errors came up again??



I have just swapped disks infact and ad4 seems to be playing up 
again :-(



ad4 of course being assigned any disk that's on the controller.



I am not sure of what to make of this?


Regards,


Kaya

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


Re: Portmaster and update progress, suggestion.

2012-06-04 Thread Warren Block

On Mon, 4 Jun 2012, Leslie Jensen wrote:


2012-06-04 09:41, Doug Barton skrev:

On 06/04/2012 00:35, Leslie Jensen wrote:

I found that setting and changed it.


That should do it then. Thanks to Warren for suggesting it.


I forgot to tell you that I'm working through an SSH connection and
maybe it's because of that I cannot see any title?


Nope. Should work just fine for you, I've done thousands of portmaster
upgrades over ssh.



I've set that dynamic title should go before initial title. I've also tried 
the setting that it should replace initial title. None of the settings 
changes anything.


I've no title at all apart from Terminal


Could be something in your prompt resetting it.  Does
  % printf \033];Funny Title\007
change the title?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


bsdlabel geometry params

2012-06-04 Thread Gary Aitken
According the the handbook, one should do the following to set up a new disk:

1 dd if=/dev/zero of=/dev/da1 bs=1k count=1
2 fdisk -BI da1 #Initialize your new disk
3 bsdlabel -B -w da1s1 auto #Label it.
4 bsdlabel -e da1s1 # Edit the bsdlabel just created and add any partitions.
5 mkdir -p /1
6 newfs /dev/da1s1e # Repeat this for every partition you created.
7 mount /dev/da1s1e /1 # Mount the partition(s)
8 vi /etc/fstab # Add the appropriate entry/entries to your /etc/fstab.

In step #4, bsdlabel gives you a label with zeros for fsize, bsize, bps/cpg
Is it necessary to fill these in, or is there a way to get some reasonable 
defaults?
newfs -N will give you numbers for bsize and fsize, but what about bps/cpg?

What does the install process do for this step?  I don't remember ever having 
to deal with it.

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


Re: Strange case of vanishing disk

2012-06-04 Thread Kaya Saman

On 06/04/2012 08:34 AM, Gary Aitken wrote:

On 06/03/12 20:59, Kaya Saman wrote:

this is a very strange issue but I guess will either be related to 2
things, PSU not being powerful enough or disk controller simply being crap.


Here's what's going on. I have a little Chenbro 4 disk mini-ITX NAS
server with 2x 2TB disks and 2x4TB disks as storage - all spread out
over 2 ZFS storage pools. Additionally I am running the root file system
on a 40GB SSD.

[...]

___

One thing I can think of is to disconnect the questionable disk from the RAID 
controller card and connect it directly to the motherboard.

Then you'd know whether the fault is with the hard drive or the RAID controller.

PSU = power supply unit? 180 watts seems very little, I didn't know any modern 
system could run on so little. I thought the minimum would be around 400 watts, 
and this would not allow for a powerful gaming graphics card.

Maybe you need to replace the power supply with something having more watts, 
but make sure it will physically fit.

Tom

Thanks for the response!

Here's some more info that I managed to dig up:

Jun 4 02:39:19 Zeta-Ray root: ZFS: vdev I/O failure, zpool=ZFS_POOL_2 
path=/dev/ad4 offset=270336 size=8192 error=6
Jun 4 02:39:19 Zeta-Ray kernel: ata2: port is not ready (timeout 15000ms) tfd = 
00ff
Jun 4 02:39:19 Zeta-Ray kernel: ata2: hardware reset timeout
Jun 4 02:39:19 Zeta-Ray kernel: unknown: TIMEOUT - WRITE_DMA48 retrying (1 
retry left) LBA=269091394


Yeah, 180 Watts is what comes with the chassis as it's an external power 
supply. Additionally the system is a Mini-ITX so that would account for less 
power usage however, in this case I think it might be the PSU that's simply not 
providing enough power.


I will definitely try sticking the downed disk into the motherboard 
controller directly as that will tell me if the disk is the issue or not.

If the problem is actually insufficient power, this won't tell you a thing.
You'll have to isolate the power supply as not being a problem before anything 
else will be relevant.

If you swap the two new disks, and the one now on the card fails, it's probably 
not a disk problem.  But you still can't tell if its the card or insufficient 
power.

If you can sideline the two original disks and run, it's probably power.  But 
I'd guess you're oversubscribed in that department.  It should be relatively 
easy to estimate as mfg specs for cpu + mobo + disks is readily available.

Gary


More digging yields this:

zpool iostat -v

--  -  -  -  -  -  -
ZFS_POOL_2   527G  6.74T  0  0  3.18K  1.39K
  ad4431G  3.20T  0  0  1.55K678
  ad14  95.6G  3.53T  0  0  1.63K740
--  -  -  -  -  -  -


There is not much bandwidth being used. the disk is fine!


The bandwidth gets a little more and the disk starts timing out:


--  -  -  -  -  -  -
ZFS_POOL_2   527G  6.74T  0  0  19.0K  12.8K
  ad4431G  3.20T  0  0  17.3K  5.97K
  ad14  95.6G  3.53T  0  0  1.72K  6.81K
--  -  -  -  -  -  -


I'm pretty sure it's the Strartech.com controller in the system!!


Regards,


Kaya




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


Re: (no subject)

2012-06-04 Thread Polytropon
On Mon, 04 Jun 2012 00:27:31 -0400, Thomas Mueller wrote:
 For a server, you don't need a lot of fancy stuff such as Adobe Flash
 
  and do you need this for a non-server? Adobe don't want us (FreeBSD users)
  to use their closed-source software. And i respect their will and don't
  use it. Which resulted in much easier browsing by the way :)
 
 Some, too many, web sites are difficult or impossible to access
 without Adobe Flash.

Those aren't web sites, those are Flash sites. :-)

With the upcoming decline and fall of Flash in mind, one
should not have to worry too much. When HTML 5 gets finally
adopted (including its audio, video and interactivity features),
which is essential to gain acccess to the growing mobile
markets, Flash will just be an unpleasant memory, just
like Java on the web. :-)



 Adobe may discontinue Linux version of Flash plugin except
 when bundled with Chrome browser.

There are alternatives that seem to work well enough (e. g. gnash).



 Some web sites use Flash just to be annoying, not to create a video.

Yes, Flash has taken the place that formerly has been occupied
by animated GIFs, except now sound and forced interactivity, as
well as slowness and bloat, have been successfully added.





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

2012-06-04 Thread Polytropon
On Mon, 4 Jun 2012 06:54:37 +0200 (CEST), Wojciech Puchar wrote:
 youtube is not a problem, use youtube-dl from ports and do download videos 
 to disk drive, then watch instead of having movies in the internet, 
 where they can disappear everytime youtube decide that you should's watch 
 it.

Additionally, it allows the user to use his favourite media
player (e. g. mplayer) with all its support (still, rew, ff,
brightness/contrast adjust, keyboard support) except to have
dealing with it in a web browser window with its very limited
means of user friendlyness.



-- 
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: apache2 doesn't .flv in my server

2012-06-04 Thread Bulent Malik

On Sun, Jun 3, 2012 at 9:36 PM, Bulent  Malik bma...@ihlas.net.tr wrote:
 Hello

 I use apache22-worker on freebsd9

 It Works. But I can't video file flv extension.

 I googled about that  and downloaded mod_flvx.c and followed the 
 instructions. Also I see that flv is added as shared module in apache
 Httpd -M
 alias_module (shared)
 rewrite_module (shared)
 php5_module (shared)
 h264_streaming_module (shared)
 flvx_module (shared)
 But when i call at http://myweb/example.flv   i only download this file.
 How can I solve this case ?

AddHandler flv-stream .flv ?

Yes there is that line in httpd.conf 
But flv doesn't work 


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


Re: Portmaster and update progress, suggestion.

2012-06-04 Thread Leslie Jensen



2012-06-04 15:54, Warren Block skrev:

% printf \033];Funny Title\007



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


Re: umount device busy

2012-06-04 Thread Polytropon
On Mon, 04 Jun 2012 01:56:49 -0600, Gary Aitken wrote:
 On 06/03/12 21:05, Polytropon wrote:
  Maybe the ganim lock is regarding a device file? Not sure
  about that, I'm not using it here.
 
 I'm not sure what the deal is here, but exiting X does solve
 the problem.  I didn't try just killing the environment by
 shutting down the wm and leaving X up, but if I forget and
 do something like that again I'll try to remember to try it.

I assume ganim get launched as a background process by Xfce
when starting X, and fortunately it exits when exiting X
(and _not_ staying active as a daemon).



  In any case, the mount was done after X was started, and switching
  vtys crashes X so I don't do that.
  
  That sounds a bit wrong...
 
 Agreed, but I saw someone else was having a similar problem
 with 9.0 release a bit earlier on a system, and no problem
 with 8.3.  At least I think that was it.  Hmmm, just looked
 and there's a firefox-bin.core and an xfce-appfinder.core. 
 Timestamps look about right for when I did a vty switch.

So it's not only X crashing, it's also applications crashing
(and so causing a core dump).





-- 
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: umount device busy

2012-06-04 Thread Warren Block

On Mon, 4 Jun 2012, Gary Aitken wrote:


On 06/03/12 21:05, Polytropon wrote:


Maybe the ganim lock is regarding a device file? Not sure
about that, I'm not using it here.


I'm not sure what the deal is here, but exiting X does solve the 
problem.  I didn't try just killing the environment by shutting down 
the wm and leaving X up, but if I forget and do something like that 
again I'll try to remember to try it.


gamin opens the directory (of the newly-mounted device) so it can check 
for new files being created or files being renamed, and then notify the 
window manager, which updates the user's desktop.  The open makes the 
device in-use, preventing an unmount.


Setting gamin to poll helps.  (I assume it opens the directory, scans, 
then closes it again, so there's a race condition there, but I haven't 
encountered it.)


gamin can also be disabled for certain directories.  That works (AFAIR, 
it's been a while), but then you lose instant icon updates on the very 
directories where it is the most useful.

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


Re: bsdlabel geometry params

2012-06-04 Thread Polytropon
On Mon, 04 Jun 2012 07:53:56 -0600, Gary Aitken wrote:
 According the the handbook, one should do the following to set up a new disk:
 
 1 dd if=/dev/zero of=/dev/da1 bs=1k count=1
 2 fdisk -BI da1 #Initialize your new disk
 3 bsdlabel -B -w da1s1 auto #Label it.
 4 bsdlabel -e da1s1 # Edit the bsdlabel just created and add any partitions.
 5 mkdir -p /1
 6 newfs /dev/da1s1e # Repeat this for every partition you created.
 7 mount /dev/da1s1e /1 # Mount the partition(s)
 8 vi /etc/fstab # Add the appropriate entry/entries to your /etc/fstab.
 
 In step #4, bsdlabel gives you a label with zeros for fsize, bsize, bps/cpg
 Is it necessary to fill these in, or is there a way to get some
 reasonable defaults?
 newfs -N will give you numbers for bsize and fsize, but what about bps/cpg?
 
 What does the install process do for this step?  I don't remember
 ever having to deal with it.

Maybe it's bit overcomplicated. I assume as you're creating
/dev/da1s1e here (non-boot volume on 1st slice, which would
be /dev/da1s1a instead), so basically you're creating a kind
of data disk (one full disk, not bootable).

You can have that much easier:

# newfs /dev/da1

Of course you can add options to newfs if needed, and also
apply tunefs afterwards. But dealing with slices (which are
DOS primary partitions) is not needed if what you're creating
will be a data disk as described.




-- 
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: umount device busy

2012-06-04 Thread Wojciech Puchar


As nearly as I can tell, I don't have anything pointing at that drive.

Questions:

1.  What does the No such file or directory mean from mkdir?
   It's a relative dir name, and I'm sitting at a valid dir.


no NTFS driver for FreeBSD is really well done. fusefs based ntfs driver 
in my opinion is more usable (but not really good)


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


Building youtube-dl from Ports causes trouble?

2012-06-04 Thread Scott Ballantyne
Good Morning everyone,

I updated my ports this morning, built youtube-dl, and after finding
some software wouldn't work, rebooted. Now X doesn't start, and when I
tried to start emacs, it seems that libpng, required by emacs, has
vanished.

So my current theory is that I should just rebuild all my ports? I'm
amazed that this could happen, truthfully.

Any suggestions, warnings, wrist slaps?

Running 9.0 GENERIC.

Thanks,
Scott
-- 
s...@ssr.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: Building youtube-dl from Ports causes trouble?

2012-06-04 Thread Jakub Lach
youtibe_dl is just python script, nothing related.

20120531:
  AFFECTS: users of graphics/png
  AUTHOR: din...@freebsd.org

  The PNG library has been updated to version 1.5.10.  Please rebuild all
  ports that depend on it.

  If you use portmaster:
portmaster -r png-
  If you use portupgrade:
portupgrade -fr graphics/png

This is VERY related I'm afraid..

--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/Building-youtube-dl-from-Ports-causes-trouble-tp5714957p5714959.html
Sent from the freebsd-questions mailing list archive at Nabble.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: Dependencies for dns/unbound

2012-06-04 Thread Michael Powell
Rada alive wrote:

 I was hoping to test dns/unbound as a lighter-weight DNS cache service to
 replace BIND. A few hours into make install i decided to abort and have
 a look at the dependencies.
 Can someone tell me why a DNS server needs packages like graphics/jpeg
 and x11/randrproto?

This I do not know.

 Is there a way to build unbound on my system without all the trash?

Try placing WITHOUT_X11= yes in /etc/make.conf

 I tried emailing the port maintainer but my message bounced back.
 
[snip]

-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: question on SYN_SENT

2012-06-04 Thread Chad Leigh Shire.Net LLC

On May 11, 2012, at 6:06 PM, Robert Bonomi wrote:
 
 'Should not' does not mean 'is not'. and unfortunately, it -is- attempting
 to go out.
 
 There are at least a couple of possible explanations, none of them good.
  1) the jail is attempting a DoS (or participating in  DDoS) against an
 Israeli _government_ network/machine.
  2) the jail is 'owned' by a botnet, and is trying to 'phone home' for
 instructions.

Sorry for the delay in response.  Did not mean to ignore this.  Was busy 
figuring out and correcting this (and then the other normal day to day stuff 
that comes up).

Yes, it looks like a customer's JBOSS installation had been hacked.  It was 
running in its own jail with RO mounting of /usr (except /usr/local) and /bin 
/sbin and other system directories.  It was basically scanning for more open 
JBOSS stuff.  The attack had just barely happened (the server had just been 
installed).  I disabled the JBOSS and cleaned everything up and scanned the 
jail for problem files etc.  Customer fixed the JBOSS vulnerability (well known 
one) and decided to leave it off for now.

Thanks for all the help on this

Chad


--

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


Re: Dependencies for dns/unbound

2012-06-04 Thread RW
On Mon, 4 Jun 2012 15:47:29 +0200
Rada alive wrote:

 I was hoping to test dns/unbound as a lighter-weight DNS cache
 service to replace BIND. A few hours into make install i decided to
 abort and have a look at the dependencies.
 Can someone tell me why a DNS server needs packages like
 graphics/jpeg and x11/randrproto?


It doesn't 

$ make all-depends-list
/usr/ports/devel/gmake
/usr/ports/textproc/expat2
/usr/ports/dns/ldns
/usr/ports/devel/gettext
/usr/ports/devel/libtool
/usr/ports/converters/libiconv

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


RE: Strange case of vanishing disk

2012-06-04 Thread Graeme Dargie


-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Kaya Saman
Sent: 04 June 2012 02:07
To: freebsd-questions@freebsd.org
Subject: Strange case of vanishing disk

Hi,

this is a very strange issue but I guess will either be related to 2 things, 
PSU not being powerful enough or disk controller simply being crap.


Here's what's going on. I have a little Chenbro 4 disk mini-ITX NAS 
server with 2x 2TB disks and 2x4TB disks as storage - all spread out 
over 2 ZFS storage pools. Additionally I am running the root file system 
on a 40GB SSD.

The strange thing with this is that I recently installed the 4TB disks 
and they're brand new.


One disk connected to the system board works fine and shows up as online 
and on one of the channels using atacontrol list.


The other disk is connected to a Startech.com Jmicron based 2x SATA RAID 
controller card.


The disk connected to the controller card is having issues. At first the 
drive wouldn't be seen by the system then after a while all of a sudden 
it was there. No reboots, no io scans nothing it just appeared.

After blasting it with IO for a few days the disk has now vanished 
again.

I had this error in dmesg for a while:

ad4: TIMEOUT - READ_DMA retrying (1 retry left) LBA=113337535

I have tried to use pciconf -lbvv to show the connected interfaces and 
the JMICRON comes up fine:


atapci0@pci0:2:0:0:class=0x010400 card=0x2366197b chip=0x2366197b 
rev=0x02 hdr=0x00
 vendor = 'JMicron Technology Corp.'
 device = 'JMicron JMB366 AHCI/IDE Controller (JMB36X)'
 class  = mass storage
 subclass   = RAID
 bar   [10] = type I/O Port, range 32, base 0xd040, size  8, enabled
 bar   [14] = type I/O Port, range 32, base 0xd030, size  4, enabled
 bar   [18] = type I/O Port, range 32, base 0xd020, size  8, enabled
 bar   [1c] = type I/O Port, range 32, base 0xd010, size  4, enabled
 bar   [20] = type I/O Port, range 32, base 0xd000, size 16, enabled
 bar   [24] = type Memory, range 32, base 0xd051, size 8192, enabled


So why isn't the disk?

I reckon as stated at the beginning that either the 180Watt PSU inside 
the system isn't enough or the controller is just really poor??


Could anyone suggest anything to look into, I'm sure I've covered all 
the bases but just incase there is something else I can do with this one??

Thanks.


Kaya
___
freebsd-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 have had a similar issue on a 3 machines before and in each case the cause 
was slightly different, on one updating the motherboard BIOS updated the AHCI 
microcode and the problem went away, another it was the power supply that was a 
little under powered and in the third which was much more odd was a faulty ram 
socket on the motherboard, in that case I had initially thought it was the on 
board sata controller that was the issue so I tried a new 6 port sata 
controller but the behaviour was the same, so I know it sounds strange but run 
memtest and see if throws up an errors.

Regards

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


Re: Building youtube-dl from Ports causes trouble?

2012-06-04 Thread Wojciech Puchar


I updated my ports this morning, built youtube-dl, and after finding


definitely not related to youtube-dl.


some software wouldn't work, rebooted. Now X doesn't start, and when I
tried to start emacs, it seems that libpng, required by emacs, has
vanished.

So my current theory is that I should just rebuild all my ports? I'm
amazed that this could happen, truthfully.


unfortunately ports subsystem is far from being good.
anyway making it good dealing with today modern software with enormous 
amount of dependencies is just very hard.



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


RE: Strange case of vanishing disk

2012-06-04 Thread Wojciech Puchar

I reckon as stated at the beginning that either the 180Watt PSU inside
the system isn't enough or the controller is just really poor??


well i got through the same.
changing PSU, forced a seller to replace my motherboard (got NEW, not the 
same - checked), checked all cables, even changing disks.


used separate JMicron (as yours) based PCIe controllers, and builtin SATA 
ports on motherboard. things happened randomly. Checked if chipset isn't 
overheating on board - it wasn't.


Then i just got worried and got some money to buy new (low end model) of 
Dell Poweredge.


Things now works with onboard controller, with addon JMicron PCIe (yes the 
same cards), with any cables and all disks i tried before including those 
i considered faulty.



What i think is that it is not controllers fault not disk faults or not 
even CPU/memory/chipset fault but bad motherboard electrical design of 
some motherboard.


Possibly because of just different pattern of operation under windoze 
most clients don't have such a problem and motherboard are continued to be 
cheaply produced.


As formerly failing JMicron controllers are working fine on Dell server 
proves that it isn't FreeBSD fault too.





Could anyone suggest anything to look into, I'm sure I've covered all
the bases but just incase there is something else I can do with this one??


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


Re: Strange case of vanishing disk

2012-06-04 Thread Wojciech Puchar


I just offlined the system and took a look at the BIOS. The hard disk 
controller was set to ATA NATIVE, I attempted changing to AHCI and the 
system failed to boot thereafter.


do you have ahci and ada drivers compiled in?



Booting into my rescue CD of FreeSBIE, with AHCI enabled only showed ad4 
(the troubled disk) to be registering.


showing up some, but not all disks after rebooting is quite common to the 
problem i described.


POWERING OFF (by disconnecting electricity, not by power button), waiting 
a minute, and powering on fixes the problem for some time.

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


RE: apache2 doesn't .flv in my server

2012-06-04 Thread Wojciech Puchar

But when i call at http://myweb/example.flv   i only download this file.
How can I solve this case ?



AddHandler flv-stream .flv ?


Yes there is that line in httpd.conf
But flv doesn't work


do you have

video/x-flv flv


in your mime table.

browser mostly ignore extension but look at mime type to decide on action.

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


Re: Strange case of vanishing disk

2012-06-04 Thread Kaya Saman

On 06/04/2012 06:26 PM, Wojciech Puchar wrote:


I just offlined the system and took a look at the BIOS. The hard 
disk controller was set to ATA NATIVE, I attempted changing to AHCI 
and the system failed to boot thereafter.


do you have ahci and ada drivers compiled in?



Booting into my rescue CD of FreeSBIE, with AHCI enabled only showed 
ad4 (the troubled disk) to be registering.


showing up some, but not all disks after rebooting is quite common to 
the problem i described.


POWERING OFF (by disconnecting electricity, not by power button), 
waiting a minute, and powering on fixes the problem for some time.


Thanks Wojciech for the responses!

It could be the motherboard; it's an Intel Core2Quad machine!


I am looking at alternatives like Portwell:

http://www.portwell.nl/products/WADE-8011.html

http://www.portwell.nl/products/WADE-8012.html

which are Xeon and i7 based system boards respectively and also 
industrial meaning that they are better designed then consumer desktop 
style boards.



It will be interesting to test once my new rackmount chassis comes along 
with a 400Watt PSU where the system will then go and see what happens 
from there..



This system has been up for 3+ years before running 3x disks; one SSD 
and 2x 2TB drives in a ZFS pool.


I only have 4GB RAM in here which may be an issue since I am also using 
round 5x Jails and 2x Apache Tomcat and 2x Postgresql databases inside 
to host separate instances of Xwiki - yep Java eats RAM for breakfast, 
lunch, and dinner :-)
- will soon be migrating this stuff off the box but not for now as need 
some ca$h first ;-)


Will wait for my new chassis then see what happens!


Regards,


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


Re: FreeBSD 8.3 support for LSI SAS 2208 based controllers/Dell PERC 710

2012-06-04 Thread Simon

I'm wondering if this was resolved. I was looking at Dell R610s with Perc H700
and no solid information either. Found a few threads with people having issues
with it, no solutions. These been out since early 2010, not cutting edge by any
means.

Is anyone using Dell R610/R620 with Perc H700/H710 reliably for some time?

How can a hardcore server-OS like FreeBSD not have solid support for these
popular server platforms :\

The more I run into these issues, the more I'm being forced to consider Linux;
this is somewhat sad. I hope I'm mistaken but it seems like there is less and
less support for mainstream server out-of-box hardware lately.

-Simon

On Thu, 17 May 2012 11:24:01 -0400, kpn...@pobox.com wrote:

On Wed, May 16, 2012 at 02:07:30PM -0500, Mark Felder wrote:
 On Wed, 16 May 2012 13:04:25 -0500, Rick Miller vmil...@hostileadmin.com  
 wrote:
 
 
 Would anyone else out there have any experience with installing
 FreeBSD on the R620 and be able to provide any tips for
 troubleshooting?
 
 
 Does 9.0 install on that hardware? It's possible your controller chip has  
 a slightly different revision that isn't listed in the driver. I'd expect  
 it to not work on 9.0 either in that case.

I also have an R620 possibly with the same card. 

FreeBSD 8.3 does not see the card.

FreeBSD 9.0 sees the card well enough to hang the kernel trying to
get a good response out of the probe.

I thought the mfi driver was the relevant one? I'm pretty sure that's
the one that hangs 9.0. I'll check tonight.

Having 9.0 hang makes it ... difficult ... to get a 9.0 install done
to the built-in usb drive. So I'm planning on trying to run a 9.0-current
kernel with an 8.3 userland at least for a little while.
-- 
Kevin P. Nealhttp://www.pobox.com/~kpn/

 Good grief, I've just noticed I've typed in a rant. Sorry chaps!
Keir Finlow Bates, circa 1998
___
freebsd-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


[SOLVED] Re: optionsng ignores /var/db/ports/portname/options

2012-06-04 Thread Roland Smith
On Sun, Jun 03, 2012 at 09:10:03PM +0200, Roland Smith wrote:
 On Sun, Jun 03, 2012 at 07:18:26PM +0100, Matthew Seaman wrote:
  On 03/06/2012 17:05, Roland Smith wrote:
   I've used 'make config' to set the PYCAIO option to on;
   
   slackbox# cat /var/db/ports/py27-py-stl/options
   # This file is auto-generated by 'make config'.
   # Options for py27-py-stl-3.1
   _OPTIONS_READ=py27-py-stl-3.1
   _FILE_COMPLETE_OPTIONS_LIST=PYCAIRO
   OPTIONS_FILE_SET+=PYCAIRO
   
   But the port seems to ignore it:
   
   slackbox# make showconfig
   === The following configuration options are available for 
   py27-py-stl-3.1:
PYCAIRO=off: Use (py)Cairo to enable stl2pdf
   === Use 'make config' to modify these settings
   
   Every time I do 'make config', the PYCAIRO option will be unset, even if 
   it
   shows as set in /var/db/ports/portname/options!
  
  What does
  
   % make -V PORT_OPTIONS
 
 slackbox# pwd
 /usr/ports/graphics/py-stl
 slackbox# make -V PORT_OPTIONS
 DOCS EXAMPLES NLS
  
  show?  If PYCAIRO is set in PORT_OPTIONS, then the port is accepting
  your setting of the option, and you've found a bug with the showconfig
  target.  (If so, please open a PR.)

Well, it was a bug, but not particularly in showconfig alone, see below.
 
  If not, then something odd is happening, as your port looks perfectly OK
  to me.  Are you using a ports tree updated within about the last 48 hours
  or so?  I know there were some bug fixes went in to all FOO_DESC lines to
  contain (brackets) and other syntactically significant characters.
 
 I updated my ports tree this afternoon. The really weird thing is that I
 tested 'make config' in several other ports where it worked fine...
 
  PS. Asking this on freebsd-ports@... might be a good idea.

The bad news is that it was a bug in the ports system. It turned out that
because of the way the unique name of the port was set (which happens twice),
the options file is not read from the same directory that it is written to!
Thanks to Baptiste Daroussin for clueing me in in this. I've gained a new
respect for the people maintaining the ports infrastructure. :-) It's kind of
amazing it works as well as it does.

The good news is that there are several workarounds. For future reference, the
workaround that I ended up using was to set the following variable in the port
makefile:

OPTIONSFILE=${PORT_DBDIR}/py27-${PORTNAME}/options


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


pgptSRxbItyLD.pgp
Description: PGP signature


RE: apache2 doesn't .flv in my server

2012-06-04 Thread Bulent Malik

 But when i call at http://myweb/example.flv   i only download this file.
 How can I solve this case ?

 AddHandler flv-stream .flv ?

 Yes there is that line in httpd.conf
 But flv doesn't work

do you have
video/x-flv flv
in your mime table.
browser mostly ignore extension but look at mime type to decide on action.

Yes there is too.
What can the problem ? 

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


Re: umount device busy

2012-06-04 Thread Gary Aitken
On 06/04/12 08:15, Warren Block wrote:

 gamin opens the directory (of the newly-mounted device) so it can check for 
 new files being created or files being renamed, and then notify the window 
 manager, which updates the user's desktop. The open makes the device in-use, 
 preventing an unmount.
 
 Setting gamin to poll helps. (I assume it opens the directory, scans, then 
 closes it again, so there's a race condition there, but I haven't encountered 
 it.)
 
 gamin can also be disabled for certain directories. That works (AFAIR, it's 
 been a while), but then you lose instant icon updates on the very directories 
 where it is the most useful.

Can you tell me where any of this is documented?
I can't find squat about gamin.
no man page and no docs in the /usr/local tree
Checked the port options for gamin itself and see there's a place to turn on 
the poller, to that should solve that problem.
But where does one learn about disabling specific directories or other info?

Thanks,

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


Re: Dependencies for dns/unbound

2012-06-04 Thread Matthew Seaman
On 04/06/2012 14:47, Rada alive wrote:
 [root@pladaks /usr/ports/dns/unbound]# make all-depends-list
 /usr/ports/devel/gmake
 /usr/ports/textproc/expat2
 /usr/ports/dns/ldns
 /usr/ports/devel/gettext
 /usr/ports/devel/doxygen
 /usr/ports/devel/libtool
 /usr/ports/converters/libiconv
 /usr/ports/lang/perl5.12
 /usr/ports/devel/tmake
 /usr/ports/graphics/graphviz
 /usr/ports/print/dvipsk-tetex
 /usr/ports/print/teTeX
 /usr/ports/lang/python27
 /usr/ports/devel/bison
 /usr/ports/devel/qt4-corelib
 [... etc -- rest of exceeding long list of dependencies trimmed ...]

Unset the DOCS option in dns/ldns.  Almost all of those dependencies are
due to the doxygen support that drags in.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: umount device busy

2012-06-04 Thread Polytropon
On Mon, 04 Jun 2012 13:15:33 -0600, Gary Aitken wrote:
 Can you tell me where any of this is documented?
 I can't find squat about gamin.
 no man page and no docs in the /usr/local tree

Welcome to the realm of modern software and its aversion
against documentation. :-)

In such cases, you often need to use a web browser, google,
and search for keywords related to your problem.



 Checked the port options for gamin itself and see there's
 a place to turn on the poller, to that should solve that problem.

No, this setting is done in a configuration file (installed
version of course). The setting is

poll /mnt/*
poll /media/*

or

poll /dev/*

or the like - not sure, I'm not using it.



 But where does one learn about disabling specific directories
 or other info?

In arbitrary web forums, wikis and user pages. :-)

Here's an example:

http://people.gnome.org/~veillard/gamin/config.html

Of course you need to conclude to use either ~/.gaminrc for
your user, or something different than /etc/gamin/mandatory_gaminrc
for system-wide use.



-- 
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: umount device busy

2012-06-04 Thread Gary Aitken
On 06/04/12 02:28, Lars Eighner wrote:

 This almost always means someone (i.e. you) is sitting in the directory.
 If you tried this while su'ed and the un-su'ed you were still in the
 directory /mnt/goflex, you'd get this message. This may also happen if
 someone (i.e. you) is in the directory on another vtty. Naturally it can
 also mean some operation is in progress, but generally you would have
 recognized and avoided that.

 That's what I kept thinking. Backed out of all su ops, checked all
 xterms; nada. no other vtys opened. In any case, the mount was done
 after X was started, and switching vtys crashes X so I don't do that.
 
 This needs fixing.

no kidding.
at the moment, other stuff has priority...

 3. I tried lsof but I don't get any output from it:
 lsof +d /mnt/goflex -x -- /mnt/goflex
 Where does it go if not to stdout?
 
 You've got me! But why is there anything after -x? I don't quite
 understand.

 Otherwise -x thinks the /mnt/goflex belongs to it.
 
 But what if you leave out ALL the stuff after -x. Isn't it redundant with
 the +d switch? (That's not a Socratic question: I don't know.)

That's what you get when you build a command line while reading the man page :-)
At least in this instance, you get the same result.

 Anyway, I found the lsof FAQ by make extract in the port. I quess I am not
 too good at reading Makefiles because I don't see why it isn't copied to
 /usr/local/share/lsof with the README and whatnot.

Thanks, got it.

Gary

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


Re: bsdlabel geometry params

2012-06-04 Thread Gary Aitken
On 06/04/12 08:42, Polytropon wrote:

 In step #4, bsdlabel gives you a label with zeros for fsize, bsize, bps/cpg
 Is it necessary to fill these in, or is there a way to get some
 reasonable defaults?
 newfs -N will give you numbers for bsize and fsize, but what about bps/cpg?

 What does the install process do for this step?  I don't remember
 ever having to deal with it.
 
 Maybe it's bit overcomplicated. I assume as you're creating
 /dev/da1s1e here (non-boot volume on 1st slice, which would
 be /dev/da1s1a instead), so basically you're creating a kind
 of data disk (one full disk, not bootable).

Actually, no.  That was a cut and paste from the handbook, IIRC.  The actual 
disk will have a backup system and another partition for cron dump files.

I don't quite understand the relationship between the params in the label and 
the filesystem.  My impression was that the params in the label for a 
filesystem were mandatory, but it appears not all of them are.  It seems like 
there should be a cmd to run to get reasonable starting point numbers.  If you 
don't have anything to go on, you could easily stick something in there that's 
worse than what a default would be.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: umount device busy

2012-06-04 Thread Warren Block

On Mon, 4 Jun 2012, Gary Aitken wrote:


On 06/04/12 08:15, Warren Block wrote:


gamin opens the directory (of the newly-mounted device) so it can check for new 
files being created or files being renamed, and then notify the window manager, 
which updates the user's desktop. The open makes the device in-use, preventing 
an unmount.

Setting gamin to poll helps. (I assume it opens the directory, scans, then 
closes it again, so there's a race condition there, but I haven't encountered it.)

gamin can also be disabled for certain directories. That works (AFAIR, it's 
been a while), but then you lose instant icon updates on the very directories 
where it is the most useful.


Can you tell me where any of this is documented?
I can't find squat about gamin.


Found on a google-quest after lsof or stat showed gamin locking the 
directory where I was mounting stuff:


http://people.gnome.org/~veillard/gamin/config.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [SOLVED] Re: optionsng ignores /var/db/ports/portname/options

2012-06-04 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 6/4/12 2:32 PM, Roland Smith wrote:
 On Sun, Jun 03, 2012 at 09:10:03PM +0200, Roland Smith wrote:
 On Sun, Jun 03, 2012 at 07:18:26PM +0100, Matthew Seaman wrote:
 On 03/06/2012 17:05, Roland Smith wrote:
 I've used 'make config' to set the PYCAIO option to on;
 
 slackbox# cat /var/db/ports/py27-py-stl/options # This file
 is auto-generated by 'make config'. # Options for
 py27-py-stl-3.1 _OPTIONS_READ=py27-py-stl-3.1 
 _FILE_COMPLETE_OPTIONS_LIST=PYCAIRO 
 OPTIONS_FILE_SET+=PYCAIRO
 
 But the port seems to ignore it:
 
 slackbox# make showconfig === The following configuration
 options are available for py27-py-stl-3.1: PYCAIRO=off: Use
 (py)Cairo to enable stl2pdf === Use 'make config' to modify
 these settings
 
 Every time I do 'make config', the PYCAIRO option will be
 unset, even if it shows as set in
 /var/db/ports/portname/options!
 
 What does
 
 % make -V PORT_OPTIONS
 
 slackbox# pwd /usr/ports/graphics/py-stl slackbox# make -V
 PORT_OPTIONS DOCS EXAMPLES NLS
 
 show?  If PYCAIRO is set in PORT_OPTIONS, then the port is
 accepting your setting of the option, and you've found a bug
 with the showconfig target.  (If so, please open a PR.)
 
 Well, it was a bug, but not particularly in showconfig alone, see
 below.
 
 If not, then something odd is happening, as your port looks
 perfectly OK to me.  Are you using a ports tree updated within
 about the last 48 hours or so?  I know there were some bug
 fixes went in to all FOO_DESC lines to contain (brackets) and
 other syntactically significant characters.
 
 I updated my ports tree this afternoon. The really weird thing is
 that I tested 'make config' in several other ports where it
 worked fine...
 
 PS. Asking this on freebsd-ports@... might be a good idea.
 
 The bad news is that it was a bug in the ports system. It turned
 out that because of the way the unique name of the port was set
 (which happens twice), the options file is not read from the same
 directory that it is written to! Thanks to Baptiste Daroussin for
 clueing me in in this. I've gained a new respect for the people
 maintaining the ports infrastructure. :-) It's kind of amazing it
 works as well as it does.
 
 The good news is that there are several workarounds. For future
 reference, the workaround that I ended up using was to set the
 following variable in the port makefile:
 
 OPTIONSFILE=${PORT_DBDIR}/py27-${PORTNAME}/options
 
 
 Roland

Hi Roland,

I don't think you want to hardcode the py27- in the variable
assignment, since it ties the filename to a specific version of
Python.  Check PYTHON_PKGNAMEPREFIX, and it should adjust itself as
the Python version changes.

Hope that helps,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/NFBcACgkQ0sRouByUApDtRgCgl0NvUTwexNS1TdZqqXElKWPX
SggAn1b/QRnU8rhwbtu0mebByp+IRB3A
=+ly7
-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: bsdlabel geometry params

2012-06-04 Thread Warren Block

On Mon, 4 Jun 2012, Gary Aitken wrote:


According the the handbook, one should do the following to set up a new disk:

1 dd if=/dev/zero of=/dev/da1 bs=1k count=1
2 fdisk -BI da1 #Initialize your new disk
3 bsdlabel -B -w da1s1 auto #Label it.
4 bsdlabel -e da1s1 # Edit the bsdlabel just created and add any partitions.
5 mkdir -p /1
6 newfs /dev/da1s1e # Repeat this for every partition you created.
7 mount /dev/da1s1e /1 # Mount the partition(s)
8 vi /etc/fstab # Add the appropriate entry/entries to your /etc/fstab.

In step #4, bsdlabel gives you a label with zeros for fsize, bsize, bps/cpg
Is it necessary to fill these in, or is there a way to get some reasonable 
defaults?
newfs -N will give you numbers for bsize and fsize, but what about bps/cpg?

What does the install process do for this step?  I don't remember ever having 
to deal with it.


What part of the Handbook?  I would suggest using gpart(8), it makes GPT 
partitions easy, and nasty old MBR partitions aren't any worse than with 
fdisk/bsdlabel.

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


Re: umount device busy

2012-06-04 Thread Gary Aitken
On 06/04/12 13:40, Polytropon wrote:
 On Mon, 04 Jun 2012 13:15:33 -0600, Gary Aitken wrote:
 Can you tell me where any of this is documented?
 I can't find squat about gamin.
 no man page and no docs in the /usr/local tree
 
 Welcome to the realm of modern software and its aversion
 against documentation. :-)
 
 In such cases, you often need to use a web browser, google,
 and search for keywords related to your problem.

Actually, did, but missed it.  I know I had the spelling right because I was 
flooded with gaRmin results and had to check.  I'll go hide in the corner 
now...

 Checked the port options for gamin itself and see there's
 a place to turn on the poller, to that should solve that problem.
 
 No, this setting is done in a configuration file (installed
 version of course). The setting is
 
   poll /mnt/*
   poll /media/*
 
 or
 
   poll /dev/*
 
 or the like - not sure, I'm not using it.

It's also an option at build time.  Or at least it shows up there:
 [*] GAM_POLLER  Use gamin's poller instead of kqueue's

 But where does one learn about disabling specific directories
 or other info?
 
 In arbitrary web forums, wikis and user pages. :-)
 
 Here's an example:
 
 http://people.gnome.org/~veillard/gamin/config.html

Found that easily now, 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: starting xfce4 reboots machine

2012-06-04 Thread Waitman Gobble
On Jun 3, 2012 9:52 AM, Waitman Gobble gobble...@gmail.com wrote:



 On Thu, May 31, 2012 at 12:10 AM, Joe Gain joe.g...@gmail.com wrote:

 On Thu, May 31, 2012 at 8:43 AM, Waitman Gobble gobble...@gmail.com
wrote:
  On Wed, May 30, 2012 at 11:26 PM, Waitman Gobble gobble...@gmail.com
wrote:
 
 
 
  On Mon, May 28, 2012 at 10:25 AM, Waitman Gobble gobble...@gmail.com
wrote:
 
 
 
  On Mon, May 28, 2012 at 7:42 AM, Warren Block wbl...@wonkity.com
wrote:
 
  On Sun, 27 May 2012, Waitman Gobble wrote:
 
   Hi,
 
  I've been running FreeBSD 10.0-CURRENT for some months, last time i
  rebuilt
  the system was April 20th. I've rebooted my machine many times and
  started
  X and Xfce4 without any trouble, however today I'm out of town on
the
  road
  and when I startx my machine reboots. If I log in as root and
startx i
  can
  run xorg without xfce4. but if i try startxfce4 the machine
reboots. If
  I
  try to startx without xfce4 from my non-root account it locks up.
  It's pretty quick and nothing I can see in the logs...
 
  Anyone have any ideas about troubleshooting??? It seems like it's
out of
  the blue with no changes to the system that I recall. :)
 
 
  First, make sure you have cairo-1.10 instead of 1.12.  After that,
run
  pkg_libchk from sysutils/bsdadminscripts.  Rebuild anything that
says it is
  missing libxfce4-utils.
 
  After that, well, I still see some unsteadiness from xfce-4.10.
There's
  a long delay on start, like a DNS timeout (but I have working DNS).
   Switching to console works, switching back usually does not,
rebooting the
  machine.  Leaving X and starting again reboots the machine.  These
last two
  could be due to the recent X upgrade, except I'm pretty sure they
did not
  happen until xfce-4.10.
 
 
  thanks. i'll check it out..
 
  Waitman
 
 
  spending some time troubleshooting this. it's a weird harold, the
machine
  runs fine for days doing various things (but if i want X i have to
log in
  as root first and startx, otherwise instant reboot). I've noticed
that if i
  do a pkg_add the thing reboots, if i run SciTe editor it reboots.
like snap
  of a finger instantly.
 
  I can do pkg_delete, i deleted cairo (but it claimed to be 1.10). i'll
  have to re-add somehow, might have to build from source if it won't
stop
  rebooting :)
 
  i'll try the pkg_libchk
 
  Thanks,
 
  Waitman
 
 
  this is kind of strange, ls -l /usr/local/lib | grep cairo - what's up
with
  the zero-byte files.. i did do a pkg_delete but didn't expect to see
this.
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org

 Can't help with a solution.

 I had a very similar problem. I'm following 9.0-STABLE (rev. 235976
 ca. week old) using xfce and have a thinkpad laptop with intel
 on-board graphics chip. My problems started when I updated the cairo
 port, and at the time I couldn't really believe that cairo was the
 cause of _the_ problem, because of the way X was crashing. What was
 even more frustrating was that the Xorg log file was not revealing
 anything other than unknown error and segfault. So, I didn't know
 what to do for a while, and after spending a couple of days looking
 for an answer, downgrading cairo fixed that issue.

 Couple of days later the new xfce is also available, and I have had no
 problems running it, on stable with downgraded (currently current
 again*) cairo. Be sure to read UPDATING with respect to xfce4-utils
 etc.

 It would be interesting to hear from someone who knows what's going on
 as this is the first major hiccup that I've had using freebsd.

 Thanks, Joe

 *
http://www.freshports.org/commit.php?category=graphicsport=cairofiles=yesmessage_id=201205260354.q4q3sboi042...@repoman.freebsd.org
 --
 joe gain

 jacob-burckhardt-str. 16
 78464 konstanz
 germany

 +49 (0)7531 60389

 (...otherwise in ???)



 Hi,

 I think I finally got to the bottom of my instant rebooting issue. I did
a csup and rebuilt world/kernel, but doing a pkg_add or running xfce4 would
still reboot the machine. This morning I scoured my logs and found one
message that lead me to solution: bad dir ino  AT OFFSET xxx: MANGLED
ENTRY.

 It looks like on my machine that /var/tmp got wrecked, the fsck on boot
wasn't catching it.

  I booted into single user mode and ran fsck -y a few times, the second
time it skipped the journal to do a 'regular fsck' (maybe there is a switch
to force it to skip the journal anyway?). w/o Journal it picked up the
inode problems and fixed.. then mounted drive rw and deleted stuff in
/var/tmp

  pkg_add works fine now, i haven't tried xfce4 yet but i bet it's going
to work.

 Waitman Gobble
 San Jose California USA


I updated to xfce4.10 using amd64 packages and everything seems to work,
except for some reason startxfce4 is missing but i can get it to
start fine by putting exec 

Re: starting xfce4 reboots machine

2012-06-04 Thread Gary Aitken

 I updated to xfce4.10 using amd64 packages and everything seems to work,
 except for some reason startxfce4 is missing but i can get it to
 start fine by putting exec xfce4-session in my .xinitrc.. anyone else
 experience this issue?

%which startxfce4
/usr/local/bin/startxfce4

installed from
  ports/x11-wm/xfce4
I think as a dependency on
  ports/x11-wm/xfce4-session

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


Re: bsdlabel geometry params

2012-06-04 Thread Gary Aitken
On 06/04/12 14:26, Warren Block wrote:
 On Mon, 4 Jun 2012, Gary Aitken wrote:
 
 According the the handbook, one should do the following to set up a new disk:

 1 dd if=/dev/zero of=/dev/da1 bs=1k count=1
 2 fdisk -BI da1 #Initialize your new disk
 3 bsdlabel -B -w da1s1 auto #Label it.
 4 bsdlabel -e da1s1 # Edit the bsdlabel just created and add any partitions.
 5 mkdir -p /1
 6 newfs /dev/da1s1e # Repeat this for every partition you created.
 7 mount /dev/da1s1e /1 # Mount the partition(s)
 8 vi /etc/fstab # Add the appropriate entry/entries to your /etc/fstab.

 In step #4, bsdlabel gives you a label with zeros for fsize, bsize, bps/cpg
 Is it necessary to fill these in, or is there a way to get some reasonable 
 defaults?
 newfs -N will give you numbers for bsize and fsize, but what about bps/cpg?

 What does the install process do for this step? I don't remember ever having 
 to deal with it.
 
 What part of the Handbook? I would suggest using gpart(8), it makes GPT 
 partitions easy, and nasty old MBR partitions aren't any worse than with 
 fdisk/bsdlabel.

19.3.2
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


9.0-R boots with undesirable utf

2012-06-04 Thread Chuck Bacon
MoBo:  ASUS M4A785TD-M EVO

uname -a:
FreeBSD tomato.local 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3
07:46:30 UTC 2012
r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

Boots up with an ungainly utf which presents 4-digit stuff where a single
is wanted.  Aging admin needs appropriate setenv '?' ISO-8859-1.
(Next question will be about jabber with re0 :-)


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


Re: bsdlabel geometry params

2012-06-04 Thread Warren Block

On Mon, 4 Jun 2012, Gary Aitken wrote:


What part of the Handbook? I would suggest using gpart(8), it makes GPT 
partitions easy, and nasty old MBR partitions aren't any worse than with 
fdisk/bsdlabel.


19.3.2


That's the Storage chapter, section Command Line Utilities.  That is 
yet another section that needs updating.  In the meantime, here:


http://www.wonkity.com/~wblock/docs/html/disksetup.html

The second half of that covers using gpart(8).  I suggest using GPT 
partitions unless your configuration does not allow them (gmirror, for 
example).

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


Re: [SOLVED] Re: optionsng ignores /var/db/ports/portname/options

2012-06-04 Thread Roland Smith
On Mon, Jun 04, 2012 at 04:01:27PM -0400, Greg Larkin wrote:
  Well, it was a bug, but not particularly in showconfig alone, see
  below.
  
  If not, then something odd is happening, as your port looks
  perfectly OK to me.  Are you using a ports tree updated within
  about the last 48 hours or so?  I know there were some bug
  fixes went in to all FOO_DESC lines to contain (brackets) and
  other syntactically significant characters.
  
  I updated my ports tree this afternoon. The really weird thing is
  that I tested 'make config' in several other ports where it
  worked fine...
  
  PS. Asking this on freebsd-ports@... might be a good idea.
  
  The bad news is that it was a bug in the ports system. It turned
  out that because of the way the unique name of the port was set
  (which happens twice), the options file is not read from the same
  directory that it is written to! Thanks to Baptiste Daroussin for
  clueing me in in this. I've gained a new respect for the people
  maintaining the ports infrastructure. :-) It's kind of amazing it
  works as well as it does.
  
  The good news is that there are several workarounds. For future
  reference, the workaround that I ended up using was to set the
  following variable in the port makefile:
  
  OPTIONSFILE=${PORT_DBDIR}/py27-${PORTNAME}/options
  
  
  Roland
 
 Hi Roland,
 
 I don't think you want to hardcode the py27- in the variable
 assignment, since it ties the filename to a specific version of
 Python.  Check PYTHON_PKGNAMEPREFIX, and it should adjust itself as
 the Python version changes.

Actually, if I understood correctly, the fact that PYTHON_PKGNAMEPREFIX
_changes_ from py- to py27- in different parts of the included .mk files is
what causes the problem in the first place. So I did this on purpose.

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


pgpT3JboMQ8pu.pgp
Description: PGP signature


how do I fix this?

2012-06-04 Thread Gary Kline

guys,

it has taken me  almost a month to upgrade 700 ports.
somehow, things grew to  1100+ ports. [?]  {this is just 
FWIW.}

I've tried portmaster and p'upgrade on security/gnupg  
I dont see why I should need these on my Server...

anyway, from portupgrade, I just learned this:



gmake[1]: Leaving directory
`/usr/ports/security/gnupg/work/gnupg-2.0.18'
gmake: *** [all] Error 2
*** Error code 1

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

Stop in /usr/ports/security/gnupg.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20120604-59509-nufufc-0 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=gnupg-2.0.17_1 UPGRADE_PORT_VER=2.0.17_1 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! security/gnupg (gnupg-2.0.17_1)   (linker error)
ethic# 


can anybody onlist figure out WTF is wrong here?

tia,

gary




-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 Voice By Computer (for Universal Access): http:/www.thought.org/vbc
  The 8.57a release of Jottings: http://jottings.thought.org
 Twenty-five years of service to the Unix community.

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


Re: starting xfce4 reboots machine

2012-06-04 Thread Waitman Gobble
On Jun 4, 2012 1:58 PM, Gary Aitken free...@dreamchaser.org wrote:


  I updated to xfce4.10 using amd64 packages and everything seems to work,
  except for some reason startxfce4 is missing but i can get it to
  start fine by putting exec xfce4-session in my .xinitrc.. anyone else
  experience this issue?

 %which startxfce4
 /usr/local/bin/startxfce4

 installed from
  ports/x11-wm/xfce4
 I think as a dependency on
  ports/x11-wm/xfce4-session

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

Thanks. that's where it used to be on my machine... this evening i'll check
and see if its in the tbz, i still have the package file.

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


Re: how do I fix this?

2012-06-04 Thread Jerry
On Mon, 4 Jun 2012 14:43:08 -0700
Gary Kline articulated:

from portupgrade, I just learned this:

gmake[1]: Leaving directory
`/usr/ports/security/gnupg/work/gnupg-2.0.18'
gmake: *** [all] Error 2
*** Error code 1

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

Stop in /usr/ports/security/gnupg.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20120604-59509-nufufc-0 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=gnupg-2.0.17_1 UPGRADE_PORT_VER=2.0.17_1 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! security/gnupg (gnupg-2.0.17_1)   (linker error)
ethic# 


 can anybody onlist figure out WTF is wrong here?

Well, for starters, gnupg is at version 2.0.19 in my ports tree, so I
am not sure what is wrong with yours. I might suggest the following.

1) Clean out /usr/ports/distfiles
2) Update your ports tree
3) Run: make clean in the gnupg port
4) Attempt to rebuild and install the port.


-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

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


Re: HP networked printer -- hp-setup won't use, hp-probe finds

2012-06-04 Thread Bernt Hansson

2012-06-03 02:08, Gary Aitken skrev:


I've deinstalled cups and its dependencies and rebuilt only hpijs.


Did you build it with foomatic-rip if so then you have ppd files in

/usr/local/share/foomatic/db/source/PPD/

Don't know if it is for your specific printer.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: (no subject)

2012-06-04 Thread Mario Lobo
On Monday 04 June 2012 11:12:01 Polytropon wrote:
 On Mon, 4 Jun 2012 06:54:37 +0200 (CEST), Wojciech Puchar wrote:
  youtube is not a problem, use youtube-dl from ports and do download
  videos to disk drive, then watch instead of having movies in the
  internet, where they can disappear everytime youtube decide that you
  should's watch it.
 
 Additionally, it allows the user to use his favourite media
 player (e. g. mplayer) with all its support (still, rew, ff,
 brightness/contrast adjust, keyboard support) except to have
 dealing with it in a web browser window with its very limited
 means of user friendlyness.

Flashblocker and downloadhelper plugins for FF. Work like a charm !!

-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since 2.2.8 [not Pro-Audio YET!!] (99% winblows FREE)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: (no subject)

2012-06-04 Thread Polytropon
On Mon, 4 Jun 2012 19:31:43 -0300, Mario Lobo wrote:
 On Monday 04 June 2012 11:12:01 Polytropon wrote:
  On Mon, 4 Jun 2012 06:54:37 +0200 (CEST), Wojciech Puchar wrote:
   youtube is not a problem, use youtube-dl from ports and do download
   videos to disk drive, then watch instead of having movies in the
   internet, where they can disappear everytime youtube decide that you
   should's watch it.
  
  Additionally, it allows the user to use his favourite media
  player (e. g. mplayer) with all its support (still, rew, ff,
  brightness/contrast adjust, keyboard support) except to have
  dealing with it in a web browser window with its very limited
  means of user friendlyness.
 
 Flashblocker and downloadhelper plugins for FF. Work like a charm !!

Yes, but may require too much interactivity. :-)



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


Strange dmesg entry, MCA

2012-06-04 Thread Rod Person
I'm seen this once or twice and it show up again today, I'm not exactly
sure what these MCA lines are telling me. Is this something to worry
about?

fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8
pid 90013 (cppunittester), uid 0: exited on signal 11 (core dumped)
MCA: Bank 4, Status 0x94454a13
MCA: Global Cap 0x0105, Status 0x
MCA: Vendor AuthenticAMD, ID 0x20f12, APIC ID 0
MCA: CPU 0 COR BUSLG Responder RD Memory
MCA: Address 0x1d11afcd0
MCA: Bank 2, Status 0xd0004863
MCA: Global Cap 0x0105, Status 0x
MCA: Vendor AuthenticAMD, ID 0x20f12, APIC ID 1
MCA: CPU 1 COR OVER BUSLG Source PREFETCH Memory

-- 
Rod Person http://www.rodperson.com rodper...@rodperson.com
  
Let us in the name of the Holy Trinity, go on sending all the slaves 
 that can be sold. 
- Letter from Christopher Columbus.
  J.A. Rawley, The Trans-Atlantic Slave Trade: A History. Pg.3
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 8.3 support for LSI SAS 2208 based controllers/Dell PERC 710

2012-06-04 Thread Simon

I'm glad to hear at least the Perc 6/i is working fine with R610 which is
what I'm looking to get to avoid all the trouble with the new R620 Albeit
I need to use the 1TB SAS drives that are 6gbps, so I really wanted to
use the H700 instead of the much older Perc 6/i, which I also have working
fine in a number of R710s

When you get a chance, please find out what those other R610s are
running and in what RAID config.

I'm surprised so few on the list use Dell's Perc H700

Thanks,
Simon


On Mon, 4 Jun 2012 19:03:35 -0400, kpn...@pobox.com wrote:

On Mon, Jun 04, 2012 at 02:28:18PM -0400, Simon wrote:
 
 I'm wondering if this was resolved. I was looking at Dell R610s with Perc 
 H700
 and no solid information either. Found a few threads with people having 
 issues
 with it, no solutions. These been out since early 2010, not cutting edge by 
 any
 means.
 
 Is anyone using Dell R610/R620 with Perc H700/H710 reliably for some time?

I've got an R610 with the PERC 6/i (not what you asked) that runs like a
champ. I plan on upgrading the card at some point, but for now it works
fine. The trick was to turn off _all_ the power savings features (C1E,
etc) in the BIOS.

We have I don't even know how many R610 at work running FreeBSD 8.2 with
some kind of RAID card, but I don't know which one. Those machines get
pounded all day every day and I haven't heard of any problems. I haven't
noticed any as a user. I'll find out and report back.

I also have my R620 and the latest stable/8 has support for the H710 card
(Mini, Monolithic). It works well enough to create a couple of ZFS
pools and copy the install of FreeBSD over to the disks. But I have the
Broadcom 5720 network daughtercard that doesn't work yet, so I don't know
how the H710 performs under load.

Am I correct that LSI is contributing to the drivers for the Dell cards
that use LSI chips? Can someone verify that I'm not looney?

The R620 went on sale within days of Intel's release of the chips. To be
fair to FreeBSD the firmware that Dell shipped is ... half baked at best.
For a while it insisted on using the wrong IP when using DHCP, the network
upgrade of the firmware via FTP+proxy requests the wrong URL, etc etc. The
Dell DVD-ROM USB drive can't be connected at the same time as the iDRAC
network port or else the firmware won't initialize. And Dell had access
to the hardware before it shipped. So I can't complain about FreeBSD's
support for the R620 not being 100% in place when Dell hasn't gotten their
act together yet.

I'm told that support for the Broadcom card is being worked on. I do not
have a timeframe.

-- 
Kevin P. Nealhttp://www.pobox.com/~kpn/

Seen on bottom of IBM part number 1887724:
DO NOT EXPOSE MOUSE PAD TO DIRECT SUNLIGHT FOR EXTENDED PERIODS OF TIME.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



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


Re: Strange case of vanishing disk

2012-06-04 Thread Zane C. B-H.
On Mon, 04 Jun 2012 12:20:13 +0100
Kaya Saman kayasa...@gmail.com wrote:

 On 06/04/2012 04:42 AM, Zane C. B-H. wrote:
  On Mon, 04 Jun 2012 02:06:57 +0100
  Kaya Samankayasa...@gmail.com  wrote:
 
 snip

 I've just tried this and lost my whole system.
 
 My boot disk is not labeled to work with ahci as it just has
 standard formatting on there.
 
 Need to remove the ahci_load=YES from /boot/loader.conf file now.

Ack, my apologies. Forgot about that.

Yeah, you will need to do it from the loader prompt if you want to
test it.

Unless you are booting off of gmirror or have /etc/fstab configured
with something else that will automatically be found, you will have a
problem.

But from the loader prompt it should be...

load /boot/kernel/ahci.kp
show rootdev

If rootdev shows any thing other than shows boot device as ad,
rewrite it as ada, using the set command. See loader(8).

This will get it to boot, although it will error and drop to single
user mode as /etc/fstab contains the old stuff. Just manually mount
everything and continue.

At this point it should be up and running and able to test it out.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Strange case of vanishing disk

2012-06-04 Thread Kaya Saman

On 06/05/2012 12:50 AM, Zane C. B-H. wrote:

On Mon, 04 Jun 2012 12:20:13 +0100
Kaya Samankayasa...@gmail.com  wrote:


On 06/04/2012 04:42 AM, Zane C. B-H. wrote:

On Mon, 04 Jun 2012 02:06:57 +0100
Kaya Samankayasa...@gmail.com   wrote:

snip

I've just tried this and lost my whole system.

My boot disk is not labeled to work with ahci as it just has
standard formatting on there.

Need to remove the ahci_load=YES from /boot/loader.conf file now.

Ack, my apologies. Forgot about that.

Yeah, you will need to do it from the loader prompt if you want to
test it.

Unless you are booting off of gmirror or have /etc/fstab configured
with something else that will automatically be found, you will have a
problem.

But from the loader prompt it should be...

load /boot/kernel/ahci.kp
show rootdev

If rootdev shows any thing other than shows boot device as ad,
rewrite it as ada, using the set command. See loader(8).

This will get it to boot, although it will error and drop to single
user mode as /etc/fstab contains the old stuff. Just manually mount
everything and continue.

At this point it should be up and running and able to test it out.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Thanks for the information!

I had a small issue at the bootloader prompt, my USB keyboard didn't 
work as in it seems the kernel modules weren't loaded in order for the 
keys to function.


Not sure how to get round that one :-)


Regards,


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


Re: Strange case of vanishing disk

2012-06-04 Thread Polytropon
On Tue, 05 Jun 2012 01:03:59 +0100, Kaya Saman wrote:
 I had a small issue at the bootloader prompt, my USB keyboard didn't 
 work as in it seems the kernel modules weren't loaded in order for the 
 keys to function.
 
 Not sure how to get round that one :-)

Check the BIOS settings: Sometimes you can enable USB
keyboard legacy so it will also work at the lower levels
of interactivity.


-- 
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: Chromium - fails to compile

2012-06-04 Thread ill...@gmail.com
On 3 June 2012 12:33, Yuri y...@rawbw.com wrote:
 On 05/30/2012 09:33, Lowell Gilbert wrote:

 Yes. Chromium currently depends on SSE3; the recommended way of enabling
 that appears to be setting CPUTYPE.


 Port should be ding that itself.
 Make use of misc/cpuid if needed. Make it BUILDDEP.

 Currently 19.0.1084.52 fails to build for me too.


Doesn't seem to matter what CPUTYPE is,
but adding -mssse3 to CFLAGS let it finish.

But the whole linux fiasco with chromium
depending on udev is making me not want
to use 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: Strange case of vanishing disk

2012-06-04 Thread Kaya Saman

On 06/05/2012 01:09 AM, Polytropon wrote:

On Tue, 05 Jun 2012 01:03:59 +0100, Kaya Saman wrote:

I had a small issue at the bootloader  prompt, my USB keyboard didn't
work as in it seems the kernel modules weren't loaded in order for the
keys to function.

Not sure how to get round that one :-)

Check the BIOS settings: Sometimes you can enable USB
keyboard legacy so it will also work at the lower levels
of interactivity.



Did that!

Enabled USB legacy support - didn't work.


At the time was Google'ing the issue too however nobody really had an 
answer all that was suggested was the load the keyboard modules, but 
how can one do that with access to system.



Regards,

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


Re: Strange dmesg entry, MCA

2012-06-04 Thread Chuck Swiger
On Jun 4, 2012, at 4:13 PM, Rod Person wrote:
 I'm seen this once or twice and it show up again today, I'm not exactly
 sure what these MCA lines are telling me. Is this something to worry
 about?
 
 fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8
 pid 90013 (cppunittester), uid 0: exited on signal 11 (core dumped)
 MCA: Bank 4, Status 0x94454a13
 MCA: Global Cap 0x0105, Status 0x
 MCA: Vendor AuthenticAMD, ID 0x20f12, APIC ID 0
 MCA: CPU 0 COR BUSLG Responder RD Memory
 MCA: Address 0x1d11afcd0
 MCA: Bank 2, Status 0xd0004863
 MCA: Global Cap 0x0105, Status 0x
 MCA: Vendor AuthenticAMD, ID 0x20f12, APIC ID 1
 MCA: CPU 1 COR OVER BUSLG Source PREFETCH Memory

Your CPUs were seeing correctible errors (probably via ECC memory or bus path); 
if they only happen rarely, it's probably OK to ignore them, but it's likely 
worth running memtest86 or prime95 overnight and seeing whether they find 
problems.

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: [SOLVED] Re: optionsng ignores /var/db/ports/portname/options

2012-06-04 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 6/4/12 5:25 PM, Roland Smith wrote:
 On Mon, Jun 04, 2012 at 04:01:27PM -0400, Greg Larkin wrote:
 Well, it was a bug, but not particularly in showconfig alone,
 see below.
 
 If not, then something odd is happening, as your port
 looks perfectly OK to me.  Are you using a ports tree
 updated within about the last 48 hours or so?  I know there
 were some bug fixes went in to all FOO_DESC lines to
 contain (brackets) and other syntactically significant
 characters.
 
 I updated my ports tree this afternoon. The really weird
 thing is that I tested 'make config' in several other ports
 where it worked fine...
 
 PS. Asking this on freebsd-ports@... might be a good idea.
 
 The bad news is that it was a bug in the ports system. It
 turned out that because of the way the unique name of the port
 was set (which happens twice), the options file is not read
 from the same directory that it is written to! Thanks to
 Baptiste Daroussin for clueing me in in this. I've gained a new
 respect for the people maintaining the ports infrastructure.
 :-) It's kind of amazing it works as well as it does.
 
 The good news is that there are several workarounds. For
 future reference, the workaround that I ended up using was to
 set the following variable in the port makefile:
 
 OPTIONSFILE=${PORT_DBDIR}/py27-${PORTNAME}/options
 
 
 Roland
 
 Hi Roland,
 
 I don't think you want to hardcode the py27- in the variable 
 assignment, since it ties the filename to a specific version of 
 Python.  Check PYTHON_PKGNAMEPREFIX, and it should adjust itself
 as the Python version changes.
 
 Actually, if I understood correctly, the fact that
 PYTHON_PKGNAMEPREFIX _changes_ from py- to py27- in different parts
 of the included .mk files is what causes the problem in the first
 place. So I did this on purpose.
 
 Roland

Hi Roland,

Ok, I should have read the previous thread emails more closely.  At
any rate, putting a specific Python version into the name of the
OPTIONSFILE seems a bit confusing.  Could you achieve the same outcome
by putting py- instead of py27- in the name?

Regards,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/NYqIACgkQ0sRouByUApBeJACgyuHOEkwVWIdVq31XkLtd89AQ
GWsAoLzZpiKWOAe2u8sEWEM/kGvvnmT+
=JKWu
-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: /usr/bin/find - binary operands howto

2012-06-04 Thread Karl Vogel
 On Sun, 3 Jun 2012 19:10:00 -0400, 
 grarpamp grarp...@gmail.com said:

G Given a fs with millions of inodes, multiple find runs is expensive.  As
G is performing the ch* on more than the minimum required inodes, which
G also needlessly updates the inode ctime. So I want one find, doing the
G ch* only if necessary.  So how should I write this? Do I want to use
G -true/-false somehow?

   It might be more efficient to keep find output in either a flat file or DB,
   so you can avoid multiple walks over the filetree.  You'll need GNU find:

   #!/bin/sh
   export PATH=/usr/local/bin:/bin:/usr/bin
   test $1 || set .

   echo '#filetype|inode|links|uname|gname|mode|size|mtime|pathname'
   gfind $@ -printf '%y|%i|%n|%u|%g|%m|%s|%T@|%p\n'
   exit 0

   Sample output:

   root# chown 1234 stuff
   root# chgrp 5678 stuff

   me% ls -l
   drwxr-sr-x 3 kev   local512 04-Jun-2012 21:01:41 .
   drwxr-xr-x 2 kev   local512 04-Jun-2012 21:38:47 mail
   -rw-r--r-x 1 kev   local  47072 04-Jun-2012 19:34:26 mail/junk*
   -rw-r--r-- 1 1234   5678 85 19-May-2012 23:28:30 stuff
   -rw-r--r-- 1 kev   local   8104 04-Jun-2012 19:43:44 testing

   me% [run script]
   #filetype|inode|links|uname|gname|mode|size|mtime|pathname
   d|873603|3|kev|local|2755|512|1338858101|.
   d|1188634|2|kev|local|2755|512|1338860327|./mail
   f|1188649|1|kev|local|645|47072|1338852866|./mail/junk
   f|955452|1|1234|5678|644|85|1337484510|./stuff
   f|873708|1|kev|local|644|8104|1338853424|./testing

   Run this first, then look for the conditions you want using awk or perl.
   Advantages:

   * Doesn't change ctime, no additional filetree-walking.

   * You can use this to create your locate DB, if you want to avoid a
 second pass through the filesystem.

   * Gives you a point-in-time picture of ownership, mode, etc. in case
 you need to back out your changes.

-- 
Karl Vogel  I don't speak for the USAF or my company

When I read about the evils of drinking, I gave up reading.  --Henny Youngman
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how do I fix this?

2012-06-04 Thread Gary Kline
On Mon, Jun 04, 2012 at 06:24:57PM -0400, Jerry wrote:
 Date: Mon, 4 Jun 2012 18:24:57 -0400
 From: Jerry je...@seibercom.net
 Subject: Re: how do I  fix this?
 To: FreeBSD freebsd-questions@freebsd.org
 X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.3)
 
 On Mon, 4 Jun 2012 14:43:08 -0700
 Gary Kline articulated:
 
 from portupgrade, I just learned this:
 
 gmake[1]: Leaving directory
 `/usr/ports/security/gnupg/work/gnupg-2.0.18'
 gmake: *** [all] Error 2
 *** Error code 1
 
 Stop in /usr/ports/security/gnupg.
 *** Error code 1
 
 Stop in /usr/ports/security/gnupg.
 ** Command failed [exit code 1]: /usr/bin/script -qa
 /tmp/portupgrade20120604-59509-nufufc-0 env UPGRADE_TOOL=portupgrade
 UPGRADE_PORT=gnupg-2.0.17_1 UPGRADE_PORT_VER=2.0.17_1 make
 ** Fix the problem and try again.
 ** Listing the failed packages (-:ignored / *:skipped / !:failed)
 ! security/gnupg (gnupg-2.0.17_1)   (linker error)
 ethic# 
 
 
  can anybody onlist figure out WTF is wrong here?
 
 Well, for starters, gnupg is at version 2.0.19 in my ports tree, so I
 am not sure what is wrong with yours. I might suggest the following.
 
 1) Clean out /usr/ports/distfiles
 2) Update your ports tree
 3) Run: make clean in the gnupg port
 4) Attempt to rebuild and install the port.
 
 
 -- 
 Jerry ???
 

no joy.  I did another full upgrade.  first time in many
months.  then spent a couple hours with portmaster (thank
you, Roland:).  this as a first upgrade.  

what I  want to do is get as current as possible and then 
install 7.5.  and stay there.  another question involves 
accepting the 3-D windows with whatever options they might
present.  is there any upgrade utility or flag that will
accept and upgrade things without me having to be here?

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 Voice By Computer (for Universal Access): http:/www.thought.org/vbc
  The 8.57a release of Jottings: http://jottings.thought.org
 Twenty-five years of service to the Unix community.

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


Re: [SOLVED] Re: optionsng ignores /var/db/ports/portname/options

2012-06-04 Thread Roland Smith
On Mon, Jun 04, 2012 at 09:36:35PM -0400, Greg Larkin wrote:
  Hi Roland,
  
  I don't think you want to hardcode the py27- in the variable 
  assignment, since it ties the filename to a specific version of 
  Python.  Check PYTHON_PKGNAMEPREFIX, and it should adjust itself
  as the Python version changes.
  
  Actually, if I understood correctly, the fact that
  PYTHON_PKGNAMEPREFIX _changes_ from py- to py27- in different parts
  of the included .mk files is what causes the problem in the first
  place. So I did this on purpose.
  
  Roland
 
 Hi Roland,
 
 Ok, I should have read the previous thread emails more closely.  At
 any rate, putting a specific Python version into the name of the
 OPTIONSFILE seems a bit confusing. 

OTOH, it keeps the name of /var/db/port/name/options in line with the
packagename (without the version number), and it is what most Python-based
ports seem to do.

 Could you achieve the same outcome
 by putting py- instead of py27- in the name?

Yes, more or less. There are ports that do that as well. But the majority seem
to include the python version. AFAICT to be able to install the same package
with different options for different Python versions. 

Anyway, the PR for updating my port is out. And one of the maintainers is
working on some of the warts of the ports system. It turns out that this bug
was already reported two years ago. But the ports system is quite a complex
beast...  

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


pgpTktPUUskY4.pgp
Description: PGP signature