Re: after youtube .swf, black xterm text => transparent

2012-11-23 Thread Volodymyr Kostyrko

23.11.2012 06:22, Gary Aitken:

Do you have a nvidia card ?

If yes right click on the youtube image and disable hardware acceleration,
it will probably solve it (solved for me)


I'm seeing this too. nvidia-driver is installed. I'm using E17 without opengl.

While this should work for flash plugin I was always hit by another bug -

< I can't use mouse on flash settings dialog unless flash is maximized.

Hmmm.  Seems to work for me whether normal sized, large sized, or full screen.
So the menu comes up on the right click,
and you can select "Settings..."
and the settings dialog comes up,
but you cannot change any of the settings?


I can navigate partially by keyboard.


But you can close the dialog using the "close" button using the mouse?


Mouse doesn't work at all.


And you can switch tabs in the settings dialog using the mouse?


Nope, only with keyboard.

--
Sphinx of black quartz, judge my vow.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


PF and tables for disabling network

2012-11-23 Thread David Demelier
Hello,

I would like to disable the network traffic for specific IPs, for the
moment I just add to my pf.conf a rule that will block everything for a
specified table like this :

table 

[...] others rules [...]

block from 

Then I just need to add my IP using pfctl, it will works, no packet can be
send / recv to the machine, however if that machine had some active
connections, these won't be closed and they can still use them (a SSH
client, game, ...)

How can I disable everything then?

Cheers

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


Re: PF and tables for disabling network

2012-11-23 Thread Fleuriot Damien

On Nov 23, 2012, at 3:46 PM, David Demelier  wrote:

> Hello,
> 
> I would like to disable the network traffic for specific IPs, for the
> moment I just add to my pf.conf a rule that will block everything for a
> specified table like this :
> 
> table 
> 
> [...] others rules [...]
> 
> block from 
> 
> Then I just need to add my IP using pfctl, it will works, no packet can be
> send / recv to the machine, however if that machine had some active
> connections, these won't be closed and they can still use them (a SSH
> client, game, ...)
> 
> How can I disable everything then?
> 
> Cheers
> 
> -- 
> Demelier David


First, you might want to use "block in quick on $externalif inet from " 
, to have:
- a quick rule, which stops ruleset evaluation immediately
- a more specific rule, which applies only to your WAN interface's inbound 
traffic

Be careful with the quick keyword, it's going to match packets immediately and 
entirely block these IPs.


Then, if you want to kill the active connections from people in the  
table, you might want to "script" a bit, like:

for i in `pfctl -t closed -T show`
do
pfctl -kK $i
done



Would that do the trick for you ?

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


newfs -m for large filesystem

2012-11-23 Thread Ireneusz Pluta

Hello,

are the remarks given for the -m option in tunefs(8) and newfs(8) still the same for very large 
filesystems, or the free-space margin might be safely reduced in these cases?


For instance, when I have a 12TB filesystem then the default 8% margin gets close to the value of 
1TB, which seems like a waste of capacity.


Thanks
Irek.
___
freebsd-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: using new pkgng system on 9.0 system

2012-11-23 Thread Fbsd8

Matthew Seaman wrote:

On 22/11/2012 14:51, Fbsd8 wrote:

Since pkg is being replaced by pkgng in Release 10.0 I would like to get
head start by playing with it on my 9.0 system.


Cool.


Where can I find a write up about installing and using pkgng?


If you start from http://wiki.freebsd.org/pkgng (which has quite a bit
of information in its own right) there are links to a number of articles
where people describe their experiences with pkgng.


Have all the pkg packages been converted to pkgng format and are they
being kept up to date?


Ah.  Now, there you have zeroed in on the biggest stumbling point at the
moment.  There are binary packages available, but only from the
beta-test server, and they aren't necessarily updated promptly, nor is
there a guarantee that every package you want might will be available.
Almost all ports will work just fine with pkgng -- the few exceptions
really are in need of fixing in any case; it's just that pkg_tools lets
you get away with things that pkgng doesn't.

Most people testing pkgng at the moment are building their own package
sets -- poudriere is a popular choice for doing that -- and setting up
their own private repositories.

There should have been official FreeBSD pkgng repos available 'Real Soon
Now' -- recent events have put the schedule back significantly, and
everyone is primarily concerned with doing it right rather than doing it
quickly.  So, please wait patiently for an announcement.  It will
happen, even if it does seem an interminable wait.

Cheers,

Matthew




Can I browse the beta-test server repositories for the packages I want?
___
freebsd-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: using new pkgng system on 9.0 system

2012-11-23 Thread Amitabh Kant
On Fri, Nov 23, 2012 at 12:33 AM, Matthew Seaman <
m.sea...@infracaninophile.co.uk> wrote:

>
>
> Most people testing pkgng at the moment are building their own package
> sets -- poudriere is a popular choice for doing that -- and setting up
> their own private repositories.
>
> There should have been official FreeBSD pkgng repos available 'Real Soon
> Now' -- recent events have put the schedule back significantly, and
> everyone is primarily concerned with doing it right rather than doing it
> quickly.  So, please wait patiently for an announcement.  It will
> happen, even if it does seem an interminable wait.
>
> Cheers,
>
> Matthew
>
> --
> Dr Matthew J Seaman MA, D.Phil.
>
> PGP: http://www.infracaninophile.co.uk/pgpkey
> JID: matt...@infracaninophile.co.uk
>
>
Mathew

Can' we create a new format package using recent version of portmaster? Or
am I reading everything incorrectly?

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


pkgng usage

2012-11-23 Thread Fbsd8

Installed pkgng as port. Converted my old pkg database to new format.

Ran pkg delete for virtualbox package using it's full name from pkg 
info. That worked fine.


But it left behind all it's dependences. Command pkg autoremove says 
there is noting to do.


How do I find and remove orphaned packages?

The
___
freebsd-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: using new pkgng system on 9.0 system

2012-11-23 Thread Matthew Seaman
On 23/11/2012 16:24, Amitabh Kant wrote:
> Can' we create a new format package using recent version of portmaster? Or
> am I reading everything incorrectly?

Yes, you can certainly do that.  portmaster works pretty well with pkgng
although it is still missing a few features compared to using it with
pkg_tools.

Cheers,

Matthew

___
freebsd-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: newfs -m for large filesystem

2012-11-23 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org  Fri Nov 23 09:31:00 2012
> Date: Fri, 23 Nov 2012 16:27:23 +0100
> From: Ireneusz Pluta 
> To: freebsd-questions@freebsd.org
> Subject: newfs -m for large filesystem
>
> Hello,
>
> are the remarks given for the -m option in tunefs(8) and newfs(8) still 
> the same for very large filesystems, or the free-space margin might be 
> safely reduced in these cases?
>
> For instance, when I have a 12TB filesystem then the default 8% margin 
> gets close to the value of 1TB, which seems like a waste of capacity.

the tunefs remarks do apply.  especially the threshold for space vs. time
optimization.

That said, there is nothing detrimental to reducing minfee to 5%



___
freebsd-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: pkgng usage

2012-11-23 Thread Matthew Seaman
On 23/11/2012 16:31, Fbsd8 wrote:
> Installed pkgng as port. Converted my old pkg database to new format.
> 
> Ran pkg delete for virtualbox package using it's full name from pkg
> info. That worked fine.
> 
> But it left behind all it's dependences. Command pkg autoremove says
> there is noting to do.
> 
> How do I find and remove orphaned packages?

You can use pkg_cutleaves with pkgng in this sort of situation.  The
autoremove flags don't get set by pkg2ng unfortunately, as it can't tell
what you installed explicitly by name and what was pulled in as a
dependency.

As you keep using pkgng, the autoremove flags will get set to more sane
values and that feature will become more useful.

Cheers,

Matthew

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


Should newfs include -S 4096? was Re: boot problem after freebsd-update from 9.1-RC2 to 9.1-RC3

2012-11-23 Thread freebsd
On 2012-11-20 21:10, Warren Block wrote:
> On Tue, 20 Nov 2012, free...@johnea.net wrote:
> 
>> On 2012-11-20 14:28, Gary Aitken wrote:
>>> On 11/20/12 13:34, free...@johnea.net wrote:
>>
 freebsd-update upgrade -r 9.1-RC3
>> ...
 "Not UFS"  "No ada0" "No boot"
>>
>>>
>>> Seems like it isn't supposed to work for 9.1-RC2
>>>
>>
>> I previously used binary update to migrate from 9.0 to 9.1, via:
>>
>> freebsd-update upgrade -r 9.1-RC1
>> freebsd-update install
>> reboot
>> freebsd-update install
>> reboot
>>
>> I'm starting to think having the swap partition in gm0s1a and the booting 
>> UFS partition in ada0s1b is the problem:
>> http://forums.freebsd.org/showthread.php?t=31954
>>
>> The "Not UFS" error comes immediately on boot.
>>
>> If I boot from rescue media, I can start the gmirror, mount it and chroot 
>> into it.
>>
>> The whole install seems fine except for the first stage boot loader finding 
>> the UFS partition.
>>
>> A handy bootloader config trick would be greatly appreciated!
> 
> boot(8) says
> 
>   The automatic boot will attempt to load /boot/loader from partition
>   `a' of either the floppy or the hard disk.
> 
> You could try setting the correct device path in /boot/boot.config, but I 
> suspect that won't be read until too late.
> 
> gptboot looks for the first UFS partition.  Maybe /boot/boot can be modified 
> to do that also.

I ended up booting from rescue media, removing one drive and stopping the 
gmirror, creating a new gmirror on the removed drive to place the UFS partition 
first, and performing a dump/restore to transfer the system. Then I was able to 
boot from the new gmitrror and add the second drive to it.

One of the complications was getting old metadata off of the drive. After 
trying a couple of 'dd' invocations:
# overwriting the first sector
dd if=/dev/zero of=/dev/ada0 bs=512 count=1
# also tried overwriting the last sector
diskinfo ada0 | cut -f4
3907029168
(subtract 34, per WB) (I actually just subtracted the trailing 68)
dd if=/dev/zero of=/dev/ada0 seek=3907029100

This would still seem to not delete all of the metadata, since after issuing:

gmirror label -b split gm0 /dev/ada0
gmirror load
# repartition new mirror
gpart create -s MBR mirror/gm0
# ignore "mirror/gm0s1 added, but partition is not aligned on 4096 bytes" after 
add
gpart add -t freebsd -a 4k mirror/gm0
# create the bsdlabel partitions in slice 1 (s1)
gpart create -s BSD mirror/gm0s1

I would see that the old gm0s1a and gm0s1b had reappeared, even though I had 
not yet issued the 'add -t freebsd-ufs'. I'm not sure if they came back with 
the 'add -t freebsd' or the 'create -s BSD'. 

The only thing that seemed to fix it was:

gpart destroy -F /dev/ada0

I also tried at one point:

gpart destroy -F ada0
gpart create -s gpt ada0
gpart destroy -F ada0

After that I could create the new partitions within the slice, with freebsd-ufs 
first:

# size of ufs partition must be calculated, from 'diskinfo -v /dev/ada0':
2000398934016 # media size in bytes (1.8T)
; 1024*1024*1024
1073741824
; 2000398934016/1073741824
1863.01668548583984375
# subtract 8G from 1863 = 1855G
gpart add -t freebsd-ufs -a 4k -s 1855G mirror/gm0s1
gpart add -t freebsd-swap -a 4k mirror/gm0s1

Everything looks good with 4K alignment, and freebsd-ufs first:

gpart show
=>63  3907029104  mirror/gm0  MBR  (1.8T)
  63  63  - free -  (31k)
 126  3907028979   1  freebsd  [active]  (1.8T)
  3907029105  62  - free -  (31k)

=> 0  3907028979  mirror/gm0s1  BSD  (1.8T)
   0   2- free -  (1.0k)
   2  3890216960 1  freebsd-ufs  (1.8T)
  389021696216812016 2  freebsd-swap  (8.0G)
  3907028978   1- free -  (512B)

After newfs, I was able to dump/restore to transfer the installed system from 
ada1 to gm0 (which is 9.1-RC3 now).

The thing I wonder about now: Should newfs include -S 4096?

I used:

newfs -U /dev/mirror/gm0s1a

Will this lead to 512 byte sector access to the disk through the file system?

Will this impact performance or longevity of the mirror?

Thanks again for the sage advice!

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


Odd X11 over SSH issue

2012-11-23 Thread Paul Kraus
I am seeing very poor response time running the VitrualBox GUI via X11
tunneled over SSH via the Internet. The issue _appears_ to be limited
to the VBox GUI as Firefox is reasonable. I am well aware of the
latency issues tunneling X11 over SSH across the Internet, but that is
what we are stuck with for the moment. The server is running FreeBSD 9
and is patched as of about 4 weeks ago.

Observations:

1. When I first SSH into the box I see a long delay after the SSH
tunnel is setup before being prompted for a password, and I do not
know if this delay is related to the VBox issue. Details below.

2. When I fire up VirtualBox it takes _minutes_ before the window
opens and each action (drawing contents, mouse clicks) takes
additional _minutes_. Looking at the VirtualBox process with truss I
see many, many errors of the form:

read(7,0x80193a02c,4096) ERR#35 'Resource temporarily 
unavailable'

where fd 7 is a socket. I would chock it up to network slowness, but I
do not see the same behavior with Firefox, xload, or xclock. An xterm
is even pretty snappy. Timing firefox, it takes under 10 seconds to
draw the window and fill it. It takes about 2 to 3 seconds to draw the
menu after clicking on the menu widget. With VirtualBox is takes
_minutes_ for every action, so it is clearly a call that VirtualBox is
making, but I can't figure it out from the truss output. The
VirtualBox GUI works fine when run on the console or on the local
network (not via SSH). I have a local system that I think is
configured the same way (but much slower hardware) and the VirtualBox
GUI is reasonable via SSH about 10-20 seconds to open the window and
5-10 second response time to mouse clicks). It is only when it is
tunneled over SSH via the Internet that the problem appears.

Details below.

Any suggestions where to look ? Or am I barking up the wrong tree ?

{1-2-3-4-5-6-7-}
SSH details:

Mini1:~ user$ ssh -X -C -v root@a.b.c.d
OpenSSH_5.2p1, OpenSSL 0.9.8r 8 Feb 2011
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to a.b.c.d [a.b.c.d] port 22.
debug1: Connection established.
debug1: identity file /Users/user/.ssh/identity type -1
debug1: identity file /Users/user/.ssh/id_rsa type -1
debug1: identity file /Users/user/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version
OpenSSH_5.8p2_hpn13v11 FreeBSD-20110503
debug1: match: OpenSSH_5.8p2_hpn13v11 FreeBSD-20110503 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.2
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 z...@openssh.com
debug1: kex: client->server aes128-ctr hmac-md5 z...@openssh.com
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'a.b.c.d' is known and matches the RSA host key.
debug1: Found key in /Users/user/.ssh/known_hosts:9
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /Users/user/.ssh/identity
debug1: Trying private key: /Users/user/.ssh/id_rsa
debug1: Trying private key: /Users/user/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive



Password:
debug1: Enabling compression at level 6.
debug1: Authentication succeeded (keyboard-interactive).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessi...@openssh.com
debug1: Entering interactive session.
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Warning: No xauth data; using fake authentication data for X11 forwarding.
debug1: Requesting X11 forwarding with authentication spoofing.
Last login: Fri Nov 23 11:20:26 2012 from e.f.g.h
FreeBSD 9.0-RELEASE-p3 (GENERIC) #0: Tue Jun 12 02:52:29 UTC 2012

{1-2-3-4-5-6-7-}

VBox Details (from truss):

10709: socket(PF_INET,SOCK_STREAM,6) = 7 (0x7)
10709: fcntl(7,F_SETFD,FD_CLOEXEC)   = 0 (0x0)
10709: setsockopt(0x7,0x6,0x1,0x7fffc578,0x4,0x2) = 0 (0x0)
10709: setsockopt(0x7,0x,0x8,0x7fffc578,0x4,0x2) = 0 (0x0)
10709: connect(7,{ AF_INET 127.0.0.1:6010 },16)  = 0 (0x0)
10709: getpeername(7,{ AF_INET 127.0.0.1:6010 },0x7fffc2d4) = 0 (0x0)
10709: __sysctl(0x7fffc2f0,0x2,0x7fffc340,0x7fffc2e8,0x0,0x0)
= 0 (0x0)
10709: access("/root/.Xauthority",4) = 0 (0x0)
10709: open("/root/.Xauthority",O_RDONLY,0666)   = 8 (0x8)
10709: fstat(8,{ mode=-rw--- ,inode=131090,size=199,blksize

OT: has Black Friday ever been tried at FreeBSD ?

2012-11-23 Thread jb
http://radio.woai.com/cc-common/news/sections/newsarticle.html?feed=104668&article=10591459


___
freebsd-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: Odd X11 over SSH issue

2012-11-23 Thread Adam Vande More
On Fri, Nov 23, 2012 at 11:43 AM, Paul Kraus  wrote:

> I am seeing very poor response time running the VitrualBox GUI via X11
> tunneled over SSH via the Internet. The issue _appears_ to be limited
> to the VBox GUI as Firefox is reasonable. I am well aware of the
> latency issues tunneling X11 over SSH across the Internet, but that is
> what we are stuck with for the moment. The server is running FreeBSD 9
> and is patched as of about 4 weeks ago.
>

Start it with "--graphicssystem native"


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


Re: using new pkgng system on 9.0 system

2012-11-23 Thread Matthew Seaman
On 23/11/2012 15:38, Fbsd8 wrote:
> Can I browse the beta-test server repositories for the packages I want?

Download the repo catalogue by setting up your pkg.conf appropriately
then running:

   pkg update

Then you can use tools like 'pkg search' or 'pkg rquery' to investigate
the available packages. (The first of those commands is more aimed at
human readable output, the second for scripting usage.)

Cheers,

Matthew


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




signature.asc
Description: OpenPGP digital signature


Re: Odd X11 over SSH issue

2012-11-23 Thread Paul Kraus
On Fri, Nov 23, 2012 at 1:01 PM, Adam Vande More  wrote:
> On Fri, Nov 23, 2012 at 11:43 AM, Paul Kraus  wrote:
>>
>> I am seeing very poor response time running the VitrualBox GUI via X11
>> tunneled over SSH via the Internet. The issue _appears_ to be limited
>> to the VBox GUI as Firefox is reasonable. I am well aware of the
>> latency issues tunneling X11 over SSH across the Internet, but that is
>> what we are stuck with for the moment. The server is running FreeBSD 9
>> and is patched as of about 4 weeks ago.
>
> Start it with "--graphicssystem native"

Tried it, did not make any noticeable difference, still over a
minute to open the window, but thanks for the suggestion. VBox is
version 4.1.22_OSE.

-- 
{1-2-3-4-5-6-7-}
Paul Kraus
-> Principal Consultant, Business Information Technology Systems
-> Deputy Technical Director, LoneStarCon 3 (http://lonestarcon3.org/)
-> Sound Coordinator, Schenectady Light Opera Company (
http://www.sloctheater.org/ )
-> Technical Advisor, Troy Civic Theatre Company
-> Technical Advisor, RPI Players
___
freebsd-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: using new pkgng system on 9.0 system

2012-11-23 Thread Fbsd8

Matthew Seaman wrote:

On 23/11/2012 15:38, Fbsd8 wrote:
Can I browse the beta-test server repositories for the packages I want?


>
>

Download the repo catalogue by setting up your pkg.conf appropriately
then running:

   pkg update

Then you can use tools like 'pkg search' or 'pkg rquery' to investigate
the available packages. (The first of those commands is more aimed at
human readable output, the second for scripting usage.)






Where do I find the url for the beta-test server repositories?
Can I use ftp or browser to see index content?
___
freebsd-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: using new pkgng system on 9.0 system

2012-11-23 Thread Walter Hurry
On Thu, 22 Nov 2012 19:03:50 +, Matthew Seaman wrote:

> Most people testing pkgng at the moment are building their own package
> sets -- poudriere is a popular choice for doing that -- and setting up
> their own private repositories.

Yes, I too am building my own package set and creating a private 
repository for local distributon. It seems to be working very well indeed.

Poudriere though: I read somewhere that ZFS is a prerequisite. Is that 
so? 

Second question: At the moment I'm using 'pkg create' to generate 
packages from conventionally built ports, 'pkg repo' to create/update the 
tarred repo file, and a tiny Python script for HTTP serving. Am I missing 
out on some functionality?


___
freebsd-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: using new pkgng system on 9.0 system

2012-11-23 Thread Matthew Seaman
On 23/11/2012 19:19, Fbsd8 wrote:
> Where do I find the url for the beta-test server repositories?
> Can I use ftp or browser to see index content?


pkg.conf as supplied in the port-mgmt/pkg port comes with the right URL
for the FreeBSD pkg repo[*], which is currently pointing at the
beta-test repo, but which will in the fullness of time be changed to
point at the actual production repo.

No, in general you can't assume that you'll be able to browse the repo
using a web browser or similar.  Even if you could, all you'ld see is a
lot of pkg tarballs which would tell you the package names and versions
and how much data you'll need to download and not a lot else.  Use the
repo catalogue.  It can tell you almost anything you might want to know
about the available packages in the repo.

Cheers,

Matthew

[*] Note: the default URL uses an SRV record in the DNS, which typical
web browsers don't know how to handle.  You'll just get NXDOMAIN if you
try and point Firefox at it.

For those who know how to handle SRV records, it looks like this:

worm:~:% dig _http._tcp.pkg.freebsd.org IN SRV

; <<>> DiG 9.8.3-P4 <<>> _http._tcp.pkg.freebsd.org IN SRV
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48300
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;_http._tcp.pkg.freebsd.org.IN  SRV

;; ANSWER SECTION:
_http._tcp.pkg.freebsd.org. 3600 IN SRV 10 10 80 pkgbeta.FreeBSD.org.

;; Query time: 44 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Fri Nov 23 21:13:50 2012
;; MSG SIZE  rcvd: 83

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




signature.asc
Description: OpenPGP digital signature


Compatability for various USB 3.0 / PCIe cards ?

2012-11-23 Thread Ronald F. Guilmette

Well friends, it's that time of year again... yep, it's shop till you drop
time!

This year it appears that everybody and his brother is having a sale on
compact (mostly 2.5 inch) external drives, and most of them nowadays have
a USB 3.0 connection.

That's swell, and there are some really good bargains on these things
out there... especially today... but there is a fly in the ointment.
My older motherboards don't have built-in USB 3.0 support, so I'll need
to add that.

So I'd like to know what (if any) USB 3.0 / PCIe adapter cards are known
to work well with FreeBSD at this time.

The cheapest one I found on Newegg was about thirteen bucks, but of course
they don't say anything about what chips are on that exactly.

There's also a Syba branded one on mazon for about fourteen bucks, and
in this case it explicitly says "Asmedia Chipset".

So?  What works with FreeBSD?  (Keep in mind that I don't want to spend
much.  Oddly enough, some of these things are priced in the low teens,
as I've said, but others cost as much as fifty bucks.  I can't imagine
that there is really that much different about the pricey ones to make
them worth the extra money.)


Regards,
rfg
___
freebsd-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: using new pkgng system on 9.0 system

2012-11-23 Thread Matthew Seaman
On 23/11/2012 20:36, Walter Hurry wrote:
> Poudriere though: I read somewhere that ZFS is a prerequisite. Is that 
> so? 

Yes.  poudriere uses the cloning and snapshotting abilities of ZFS as a
fundamental part of the way it works.  You can use tinderbox instead if
you only have conventional filesystems, but that isn't so easy to use as
poudriere.

> Second question: At the moment I'm using 'pkg create' to generate 
> packages from conventionally built ports, 'pkg repo' to create/update the 
> tarred repo file, and a tiny Python script for HTTP serving. Am I missing 
> out on some functionality?

Convenience mostly.  Basically what the package building software does
is take the repetitive chore of typing 'make buildpackage' over and over
again, and automates it.

Pkg repos built 'by hand' have exactly the functionality as those built
using poudriere.  You only need a very basic webserver to publish the
packages, or you can just use a file:// URL and no HTTP server at all if
you're creating packages to be used on the same machine.

Cheers,

Matthew

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




signature.asc
Description: OpenPGP digital signature


Re: Odd X11 over SSH issue

2012-11-23 Thread Lowell Gilbert
Paul Kraus  writes:

> I am seeing very poor response time running the VitrualBox GUI via X11
> tunneled over SSH via the Internet. The issue _appears_ to be limited
> to the VBox GUI as Firefox is reasonable. I am well aware of the
> latency issues tunneling X11 over SSH across the Internet, but that is
> what we are stuck with for the moment. The server is running FreeBSD 9
> and is patched as of about 4 weeks ago.
>
> Observations:
>
> 1. When I first SSH into the box I see a long delay after the SSH
> tunnel is setup before being prompted for a password, and I do not
> know if this delay is related to the VBox issue. Details below.

Running the ssh server with more debugging will probably tell you what's
happening in this area.

> 2. When I fire up VirtualBox it takes _minutes_ before the window
> opens and each action (drawing contents, mouse clicks) takes
> additional _minutes_. Looking at the VirtualBox process with truss I
> see many, many errors of the form:
>
> read(7,0x80193a02c,4096)   ERR#35 'Resource temporarily 
> unavailable'
>
> where fd 7 is a socket.

This could be a red herring. Or not. But you can't tell without tracing
down exactly what the socket is, and what is expected to be read from
it. Probably not the first path worth exploring, although you may need
to go there eventually.

> I would chock it up to network slowness, but I
> do not see the same behavior with Firefox, xload, or xclock.

That's not a fair comparison, because tunneling a whole X server
involves passing a lot more events than tunneling an application to run
on your local server. This is particularly painful because the X
protocols are highly serial.

Is there any particular reason you don't let the X server run remotely
and attach to it with something more latency-friendly, like vnc? I would
expect that to work vastly better on any OS, just because you get X
(specifically, its tendency to head-of-line blocking) out of its own way.

Be well.
___
freebsd-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: Odd X11 over SSH issue

2012-11-23 Thread Paul Kraus
On Fri, Nov 23, 2012 at 4:31 PM, Lowell Gilbert
 wrote:

>> Observations:
>>
>> 1. When I first SSH into the box I see a long delay after the SSH
>> tunnel is setup before being prompted for a password, and I do not
>> know if this delay is related to the VBox issue. Details below.
>
> Running the ssh server with more debugging will probably tell you what's
> happening in this area.

Yup, I just have not had a chance to chase that one down, and
given that it happens once per SSH session, has not been a high
priority. I mentioned it in the spirit of full disclosure.

>> I would chock it up to network slowness, but I
>> do not see the same behavior with Firefox, xload, or xclock.
>
> That's not a fair comparison, because tunneling a whole X server
> involves passing a lot more events than tunneling an application to run
> on your local server. This is particularly painful because the X
> protocols are highly serial.

The VIrtualBox GUI (not the underlying VM console) should be
comparable to Firefox in terms of network load. Yes, xclock and xload
are much lower overhead as they are simpler apps. The difference
between Firefox (measured at under 10 seconds to open the window) and
VirtualBox (measured at 157 seconds to open the window) indicates that
_something_ is wrong.

Sorry if I was unclear. I am running 3 different VMs on this
server (soon to be more :-). One is WIn 2008 server as an RDP host for
a specific application, the others ar FreeBSD VMs, one for DNS and
DHCP, and the other for email / webmail. I manage the underlying Win
2008 instance via RDP (and that is how the end users connect), the two
FreeBSD VMs do not run a window manager at all and they are managed
via SSH connections. I use the VBoxHeadless executable to run the VMs
for production use. Normally I make config changes with the command
line tool VBoxManage, but in this case I had a FreeBSD VM that was not
booting so I needed the console (and to make various changes to the
config).

It is running the VBox management GUI on the physical layer server
that I am having fits with.

> Is there any particular reason you don't let the X server run remotely
> and attach to it with something more latency-friendly, like vnc? I would
> expect that to work vastly better on any OS, just because you get X
> (specifically, its tendency to head-of-line blocking) out of its own way.

The short answer to why X11 via SSH and not VNC for the management
is that I have not found a very clean way to have the VNC service
running for root without manual intervention to start it. Yes, I know
I could script it, but that adds one additional layer that needs to be
supported.

P.S. I did get my VM repaired, very slowly and painfully, but I still
need to track down the VBox GUI issue.

-- 
{1-2-3-4-5-6-7-}
Paul Kraus
-> Principal Consultant, Business Information Technology Systems
-> Deputy Technical Director, LoneStarCon 3 (http://lonestarcon3.org/)
-> Sound Coordinator, Schenectady Light Opera Company (
http://www.sloctheater.org/ )
-> Technical Advisor, Troy Civic Theatre Company
-> Technical Advisor, RPI Players
___
freebsd-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 on SSD on ASUS P5KPL-C

2012-11-23 Thread Matthias Apitz
El día Wednesday, November 21, 2012 a las 09:19:24PM -0700, Warren Block 
escribió:

> On Wed, 21 Nov 2012, Warren Block wrote:
> 
> 
> The fdisk/bsdlabel section of my disk setup article has been rewritten 
> to use gpart.  Feedback welcome.
> 
> http://www.wonkity.com/~wblock/docs/html/disksetup.html

Hi Warren,

When the page is opened with konqueror of KDE 3.5.10 the JS functions
for Table Of Content generator are generating in an endless loop the links.

HIH

matthias
-- 
Matthias Apitz   |  /"\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: g...@unixarea.de |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211   |  / \ - Respect for open standards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"