Re: Mouse stopped working in X

2012-05-22 Thread Bernt Hansson

012-05-20 14:17, C. P. Ghost skrev:

On Fri, May 18, 2012 at 2:27 PM, Bernt Hanssonb...@bananmonarki.se  wrote:

2012-05-18 13:49, J. W. Ballantine skrev:


Hi,

Before the update of x11 on 4/21/2012, X was working fine, but now
when I startx, my usb and touchpad mouse are no longer found.  The
mouse works in terminal mode, and hald and dbus are started in
/etc/rc.conf.


I have exactly the same problem. What windowmanager are you
using? I'm using xfce4, I have a workaround for that.

1. start X
2. when it comes up press alt+F2, the start program dialog comes up
3. type in xterm or your terminal of choice
4. in your terminal su to root then type

/usr/local/etc/rc.d/dbus restart  /usr/local/etc/rc.d/hald restart

wait a few seconds and the mouse should work again.



There is a second way of doing this stunt.

Start X
When X is up and running press CTRL+ALT+F3 or any F* frpm F3 up to F8 
then you get to the console

Su to root in the console and type in

/usr/local/etc/rc.d/dbus restart  /usr/local/etc/rc.d/hald restart

Then press ALT+F9 to get back to X


I have the same problem but with a ps/2 mouse. Restarting dbus
and hald from within an xterm is a workable workaround.

Since I'm using fluxbox, I start an xterm in ~/.xinitrc in the background
to get a terminal before exec-ing fluxbox. Luckily, this xterm has
already the focus.

This is the relevant part of /var/log/Xorg.0.log regarding the
mouse:

(II) config/hal: Adding input device PS/2 Mouse
(II) LoadModule: mouse
(II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so
(II) Module mouse: vendor=X.Org Foundation
 compiled for 1.7.7, module version = 1.7.1
 Module class: X.Org XInput Driver
 ABI class: X.Org XInput driver, version 7.0
(WW) PS/2 Mouse: No Device specified, looking for one...
(II) PS/2 Mouse: Setting Device option to /dev/psm0
(--) PS/2 Mouse: Device: /dev/psm0
(==) PS/2 Mouse: Protocol: Auto
(**) PS/2 Mouse: always reports core events
(**) Option Device /dev/psm0
(EE) xf86OpenSerial: Cannot open device /dev/psm0
 Device busy.
(EE) PS/2 Mouse: cannot open input device
(II) UnloadModule: mouse
(EE) PreInit returned NULL for PS/2 Mouse
(EE) config/hal: NewInputDeviceRequest failed (8)

After restarting hald:

(II) config/hal: Adding input device PS/2 Mouse
(WW) PS/2 Mouse: No Device specified, looking for one...
(II) PS/2 Mouse: Setting Device option to /dev/sysmouse
(--) PS/2 Mouse: Device: /dev/sysmouse
(==) PS/2 Mouse: Protocol: Auto
(**) PS/2 Mouse: always reports core events
(**) Option Device /dev/sysmouse
(==) PS/2 Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) PS/2 Mouse: ZAxisMapping: buttons 4 and 5
(**) PS/2 Mouse: Buttons: 9
(II) XINPUT: Adding extended input device PS/2 Mouse (type: MOUSE)

Interestingly, the first time Xorg tries to access the
mouse, it opens /dev/psm0, and the second time after
manually restarting hald, it accesses /dev/sysmouse...
which is the driver that I always use in /etc/X11/xorg.conf:

Section InputDevice
 Identifier  Mouse0
 Driver  mouse
 Option  Protocol auto
 Option  Device /dev/sysmouse
 Option  ZAxisMapping 4 5 6 7
EndSection

Shouldn't Xorg use /dev/sysmouse all the time then?
Why does it try to open /dev/psm0?

I hope this problem will get fixed soon. ;-)

Thanks for the good workaround.

Regards,
-cpghost.


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


LRO support for IPv6

2012-05-22 Thread Venkat Duvvuru
Folks,
Could somebody please tell about the base Freebsd version which has LRO
support for IPv6?
I'm using 9.0-RELEASE and I see that tcp_lro_rx is failing.

Please confirm.

/Venkat
___
freebsd-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: Mouse stopped working in X

2012-05-22 Thread Polytropon
On Tue, 22 May 2012 10:17:16 +0200, Bernt Hansson wrote:
 There is a second way of doing this stunt.
 
 Start X
 When X is up and running press CTRL+ALT+F3 or any F* frpm F3 up to F8 
 then you get to the console
 Su to root in the console and type in
 
 /usr/local/etc/rc.d/dbus restart  /usr/local/etc/rc.d/hald restart
 
 Then press ALT+F9 to get back to X

So if that is the _solution_, why not try to automate it?
Not tested, just a suggestion:

Make this the last-1 line in ~/.xinitrc (or ~/.xsession depending
on actual setup), before the exec call to the WM / DE, maybe
like this:

#!/bin/sh
[ -f ~/.xmodmaprc ]  xmodmap ~/.xmodmaprc
xterm 
xsetroot -solid rgb:3b/4c/7a
xset b 100 1000 15 
xset r rate 250 30 
xset s off 
xset -dpms 
 - sudo /usr/local/etc/rc.d/dbus restart  sudo /usr/local/etc/rc.d/hald 
restart
exec wmaker

It should happen when X is running, and it should be
back to normal when the WM or DE is launched (and
all background programs have fully started).



-- 
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: Mouse stopped working in X

2012-05-22 Thread Bernt Hansson

2012-05-22 10:44, Polytropon skrev:

On Tue, 22 May 2012 10:17:16 +0200, Bernt Hansson wrote:

There is a second way of doing this stunt.

Start X
When X is up and running press CTRL+ALT+F3 or any F* frpm F3 up to F8
then you get to the console
Su to root in the console and type in

/usr/local/etc/rc.d/dbus restart   /usr/local/etc/rc.d/hald restart

Then press ALT+F9 to get back to X


So if that is the _solution_, why not try to automate it?
Not tested, just a suggestion:

Make this the last-1 line in ~/.xinitrc (or ~/.xsession depending
on actual setup), before the exec call to the WM / DE, maybe
like this:

#!/bin/sh
[ -f ~/.xmodmaprc ]  xmodmap ~/.xmodmaprc
xterm
xsetroot -solid rgb:3b/4c/7a
xset b 100 1000 15
xset r rate 250 30
xset s off
xset -dpms
  - sudo /usr/local/etc/rc.d/dbus restart  sudo /usr/local/etc/rc.d/hald 
restart
exec wmaker

It should happen when X is running, and it should be
back to normal when the WM or DE is launched (and
all background programs have fully started).


We don't use sudo, only su. But I guess it work for those that use sudo.

___
freebsd-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 a question.

2012-05-22 Thread JAEHO LEE
Dear Sir,

I would be a FreeBSD open source committer.
But I don't know how to do.
Could you teach me ?

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


Re: I have a question.

2012-05-22 Thread Polytropon
On Tue, 22 May 2012 13:42:56 +0900, JAEHO LEE wrote:
 Dear Sir,
 
 I would be a FreeBSD open source committer.
 But I don't know how to do.
 Could you teach me ?

Check out the FreeBSD home page, especially the article about
contributing to FreeBSD:

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributing/index.html

You'll find more information on the FreeBSD web page, e. g. the
Porters Handbook and other development resources.



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


Startup from script

2012-05-22 Thread Jos Chrispijn

I have this issue with running commands from a script:

In my crontab I define script 'do_daily.run':
30  23  *   *   *   root
/root/cronjobs/do_daily.run


The content of this script (amongst others) is:
rsync -avpog /etc   /backup/$DATE/

Funny thing now is that in the output of the script, the following appears:
/root/cronjobs/do_daily.run: rsync: not found

file credentials of the script itself:
-rwx--  1 root  wheel   246 Jun 20  2010 do_daily.run

What do I oversee here?

kind regards,
Jos Chrispijn

___
freebsd-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: Startup from script

2012-05-22 Thread RW
On Tue, 22 May 2012 13:50:10 +0200
Jos Chrispijn wrote:

 I have this issue with running commands from a script:
 
 In my crontab I define script 'do_daily.run':
 30  23  *   *   *   root
 /root/cronjobs/do_daily.run
 
 The content of this script (amongst others) is:
 rsync -avpog /etc   /backup/$DATE/
 
 Funny thing now is that in the output of the script, the following
 appears: /root/cronjobs/do_daily.run: rsync: not found
 
 file credentials of the script itself:
 -rwx--  1 root  wheel   246 Jun 20  2010 do_daily.run
 
You need to set PATH in the crontab or script, or use the full path for
rsync.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Startup from script

2012-05-22 Thread Robert Huff

Jos Chrispijn writes:

  The content of this script (amongst others) is:
  rsync -avpog /etc   /backup/$DATE/
  
  Funny thing now is that in the output of the script, the following appears:
  /root/cronjobs/do_daily.run: rsync: not found
  
  file credentials of the script itself:
  -rwx--  1 root  wheel   246 Jun 20  2010 do_daily.run

1) rsync is a port.
2) by default, ports install executables to /usr/local/bin
3) by default, do_daily_run will inherit its environment -
including PATH - from crontab(5) (system or per-user).
4) by default, the crontab PATH does not include
/usr/local/bin.  (There is a reason for this.)

Recommended solution: provide the full path to rsync.


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


Dirty System - openssl problem

2012-05-22 Thread Odhiambo Washington
Hi,

Can someone please tell me how to resolve the following multiplicity of
libraries, to ensure I only compile applications against a particular
library. I believe this emanates from my installing of openssl from the
ports.


FreeBSD 8.3-STABLE i386:

(15:58:10 ~) 0 $ ls -al /usr/lib/libcrypt*
-r--r--r--  1 root  wheel94534 May 13 13:45 /usr/lib/libcrypt.a
lrwxr-xr-x  1 root  wheel   18 May 13 13:45 /usr/lib/libcrypt.so -
/lib/libcrypt.so.5
-r--r--r--  1 root  wheel95088 May 13 13:45 /usr/lib/libcrypt_p.a
-r--r--r--  1 root  wheel  2152154 May 13 13:46 /usr/lib/libcrypto.a
lrwxr-xr-x  1 root  wheel   19 May 13 13:46 /usr/lib/libcrypto.so -
/lib/libcrypto.so.6
-r--r--r--  1 root  wheel  2216396 May 13 13:46 /usr/lib/libcrypto_p.a
(15:58:20 ~) 0 $
(15:58:26 ~) 0 $ ls -al /usr/local/lib/libcrypt*
-rw-r--r--  1 root  wheel  2874924 May 22 14:58 /usr/local/lib/libcrypto.a
lrwxr-xr-x  1 root  wheel   14 May 22 14:58 /usr/local/lib/libcrypto.so
- libcrypto.so.8
-r--r--r--  1 root  wheel  1387063 Apr  9  2009
/usr/local/lib/libcrypto.so.5
-r--r--r--  1 root  wheel  1832156 May 22 14:58
/usr/local/lib/libcrypto.so.8


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
I can't hear you -- I'm using the scrambler.
Please consider the environment before printing this email.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: I have a question.

2012-05-22 Thread Anonymous Remailer (austria)

This doesn't answer your question but let me be the first to congratulate
you on your wisdom of not posting this to m...@openbsd.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: Dirty System - openssl problem

2012-05-22 Thread Chuck Swiger
On May 22, 2012, at 6:05 AM, Odhiambo Washington wrote:
 Can someone please tell me how to resolve the following multiplicity of
 libraries, to ensure I only compile applications against a particular
 library. I believe this emanates from my installing of openssl from the
 ports.

You could run make deinstall from the openssl port directory, or
similar equivalent with pkg_delete.  You'd then also need to rebuild
anything linked to the openssl port.

Why bother, though?  FreeBSD isn't Windows; having multiple versions of a
shared library around is supported sanely on Unix platforms

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: Dirty System - openssl problem

2012-05-22 Thread Odhiambo Washington
On Tue, May 22, 2012 at 6:31 PM, Chuck Swiger cswi...@mac.com wrote:

 On May 22, 2012, at 6:05 AM, Odhiambo Washington wrote:
  Can someone please tell me how to resolve the following multiplicity of
  libraries, to ensure I only compile applications against a particular
  library. I believe this emanates from my installing of openssl from the
  ports.

 You could run make deinstall from the openssl port directory, or
 similar equivalent with pkg_delete.  You'd then also need to rebuild
 anything linked to the openssl port.

 Why bother, though?  FreeBSD isn't Windows; having multiple versions of a
 shared library around is supported sanely on Unix platforms


Hi Chuck,

Thanks for that. Actually, I ended up figuring out how to address my source
of worry.
Something I planted in pkgtools.conf bit me so badly, but I nailed it.

Thanks!



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
I can't hear you -- I'm using the scrambler.
___
freebsd-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: LRO support for IPv6

2012-05-22 Thread Jack Vogel
The LRO code as it stands right now is IPV4 specific, it would be nice to
extend it, one of
many improvements that may get done at some point.

Jack


On Tue, May 22, 2012 at 1:43 AM, Venkat Duvvuru
venkatduvvuru...@gmail.comwrote:

 Folks,
 Could somebody please tell about the base Freebsd version which has LRO
 support for IPv6?
 I'm using 9.0-RELEASE and I see that tcp_lro_rx is failing.

 Please confirm.

 /Venkat
 ___
 freebsd-...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-net
 To unsubscribe, send any mail to freebsd-net-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: LRO support for IPv6

2012-05-22 Thread Bjoern A. Zeeb

On 22. May 2012, at 16:50 , Jack Vogel wrote:

 The LRO code as it stands right now is IPV4 specific, it would be nice to
 extend it, one of
 many improvements that may get done at some point.

I am about to commit it to HEAD.  Bear another few days with me; I know
I am running late but committing new code had less prio than some other
real life things currently.

I'll also bring TSO6, etc...

/bz

-- 
Bjoern A. Zeeb You have to have visions!
   It does not matter how good you are. It matters what good you do!

___
freebsd-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: LRO support for IPv6

2012-05-22 Thread Jack Vogel
Oh, that's right, distracted with other projects and I forgot, now we just
need
to have an LRO that works with forwarding eh :)

You ROCK bz :)

Jack


On Tue, May 22, 2012 at 10:01 AM, Bjoern A. Zeeb b...@freebsd.org wrote:


 On 22. May 2012, at 16:50 , Jack Vogel wrote:

  The LRO code as it stands right now is IPV4 specific, it would be nice to
  extend it, one of
  many improvements that may get done at some point.

 I am about to commit it to HEAD.  Bear another few days with me; I know
 I am running late but committing new code had less prio than some other
 real life things currently.

 I'll also bring TSO6, etc...

 /bz

 --
 Bjoern A. Zeeb You have to have visions!
   It does not matter how good you are. It matters what good you do!


___
freebsd-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: ATI Radeon HD5500 driver question

2012-05-22 Thread Gary Aitken

Thanks for the pointers and hints, I'm over that hurdle.

On 5/19/2012 5:28 PM, Warren Block wrote:

On Sat, 19 May 2012, Polytropon wrote:


3. The Xorg man page notes that ctrlaltbksp should cause it to
exit. However, it doesn't, and I had to use kill -TERM. Any hints on
why ctrlaltbksp doesn't cause it to exit?


This is also a new default to _not_ work anymore. You have more
than two (if I remember correctly) options in making it work.
You'll find them in the Handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html

One possibility when X has been compiled _without_ HAL support
(and no hald running), placing

Option DontZap false

into the ServerLayout section should work. Additionally, I see
that I have

Option XkbOptions terminate:ctrl_alt_bksp

in the InputDevice section of Keyboard0. It just works. :-)


This should work whether or not HAL is installed or running.
___
freebsd-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: LRO support for IPv6

2012-05-22 Thread Bjoern A. Zeeb

On 22. May 2012, at 17:04 , Jack Vogel wrote:

 Oh, that's right, distracted with other projects and I forgot, now we just 
 need
 to have an LRO that works with forwarding eh :)

That's a 6 line bainaid commit afterwards, basically returning form the LRO 
queuing
function in case forwarding is turned on for that address family;  a proper 
solution
for long term can than be done whenever we feel like it.  The above we should 
have done
years ago;)


 You ROCK bz :)
 
 Jack
 
 
 On Tue, May 22, 2012 at 10:01 AM, Bjoern A. Zeeb b...@freebsd.org wrote:
 
 On 22. May 2012, at 16:50 , Jack Vogel wrote:
 
  The LRO code as it stands right now is IPV4 specific, it would be nice to
  extend it, one of
  many improvements that may get done at some point.
 
 I am about to commit it to HEAD.  Bear another few days with me; I know
 I am running late but committing new code had less prio than some other
 real life things currently.
 
 I'll also bring TSO6, etc...

-- 
Bjoern A. Zeeb You have to have visions!
   It does not matter how good you are. It matters what good you do!

___
freebsd-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: Startup from script

2012-05-22 Thread User Wojtek


In my crontab I define script 'do_daily.run':
30  23  *   *   *   root 
/root/cronjobs/do_daily.run


The content of this script (amongst others) is:
rsync -avpog /etc   /backup/$DATE/

Funny thing now is that in the output of the script, the following appears:
/root/cronjobs/do_daily.run: rsync: not found

file credentials of the script itself:
-rwx--  1 root  wheel   246 Jun 20  2010 do_daily.run

What do I oversee here?


add

PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin

in the beginning of your crontab

your default $PATH is NOT cron default $PATH

___
freebsd-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: Startup from script

2012-05-22 Thread Jos Chrispijn
Thank you (all) for your information; I followed your suggestions and it 
all works flawless!


best regards,
Jos Chrispijn
___
freebsd-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: LRO support for IPv6

2012-05-22 Thread Venkat Duvvuru
Thanks for the response.

I observed that there is a significant performance drop in case of IPv6 on
the rx side.
While I'm able to hit line rate ~9.5 Gbps on a 10gb NIC for IPv4..I could
only get ~6 Gbps on the rx front for IPv6...However tx for IPv6 is on
par with IPv4 hitting almost line rates.

Could this be because of lack of LRO6??

Note: hwpmc profiling shows that most of the time is spent in the IPv6
stack code

/Venkat
On Tue, May 22, 2012 at 10:37 PM, Bjoern A. Zeeb b...@freebsd.org wrote:


 On 22. May 2012, at 17:04 , Jack Vogel wrote:

  Oh, that's right, distracted with other projects and I forgot, now we
 just need
  to have an LRO that works with forwarding eh :)

 That's a 6 line bainaid commit afterwards, basically returning form the
 LRO queuing
 function in case forwarding is turned on for that address family;  a
 proper solution
 for long term can than be done whenever we feel like it.  The above we
 should have done
 years ago;)


  You ROCK bz :)
 
  Jack
 
 
  On Tue, May 22, 2012 at 10:01 AM, Bjoern A. Zeeb b...@freebsd.org wrote:
 
  On 22. May 2012, at 16:50 , Jack Vogel wrote:
 
   The LRO code as it stands right now is IPV4 specific, it would be nice
 to
   extend it, one of
   many improvements that may get done at some point.
 
  I am about to commit it to HEAD.  Bear another few days with me; I know
  I am running late but committing new code had less prio than some other
  real life things currently.
 
  I'll also bring TSO6, etc...

 --
 Bjoern A. Zeeb You have to have visions!
   It does not matter how good you are. It matters what good you do!


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


gimp 2.8?

2012-05-22 Thread Gary Aitken
Can anyone tell me the status of gimp 2.8 for FreeBSD?  I just assumed 
it would be in the ports tree but I don't see it.


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: LRO support for IPv6

2012-05-22 Thread Jack Vogel
LRO is a huge win for 10G (as is TSO on the TX side), so odds are good its
behind the drop,
in any case you'll be able to test that soon :)

Jack


On Tue, May 22, 2012 at 10:35 AM, Venkat Duvvuru venkatduvvuru...@gmail.com
 wrote:

 Thanks for the response.

 I observed that there is a significant performance drop in case of IPv6 on
 the rx side.
 While I'm able to hit line rate ~9.5 Gbps on a 10gb NIC for IPv4..I could
 only get ~6 Gbps on the rx front for IPv6...However tx for IPv6 is on
 par with IPv4 hitting almost line rates.

 Could this be because of lack of LRO6??

 Note: hwpmc profiling shows that most of the time is spent in the IPv6
 stack code

 /Venkat
 On Tue, May 22, 2012 at 10:37 PM, Bjoern A. Zeeb b...@freebsd.org wrote:


 On 22. May 2012, at 17:04 , Jack Vogel wrote:

  Oh, that's right, distracted with other projects and I forgot, now we
 just need
  to have an LRO that works with forwarding eh :)

 That's a 6 line bainaid commit afterwards, basically returning form the
 LRO queuing
 function in case forwarding is turned on for that address family;  a
 proper solution
 for long term can than be done whenever we feel like it.  The above we
 should have done
 years ago;)


  You ROCK bz :)
 
  Jack
 
 
  On Tue, May 22, 2012 at 10:01 AM, Bjoern A. Zeeb b...@freebsd.org
 wrote:
 
  On 22. May 2012, at 16:50 , Jack Vogel wrote:
 
   The LRO code as it stands right now is IPV4 specific, it would be
 nice to
   extend it, one of
   many improvements that may get done at some point.
 
  I am about to commit it to HEAD.  Bear another few days with me; I know
  I am running late but committing new code had less prio than some other
  real life things currently.
 
  I'll also bring TSO6, etc...

 --
 Bjoern A. Zeeb You have to have visions!
   It does not matter how good you are. It matters what good you do!



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


Nfscl

2012-05-22 Thread Thomas D. Dean

I built nanoBSD on

 uname -a
FreeBSD P9X79.tddhome 9.0-STABLE FreeBSD 9.0-STABLE #2: Fri May 11
20:41:54 PDT 2012 tomdean@P9X79.tddhome:/usr/src/sys/GENERIC  amd64

for a TS5700 with a ELAN SC520.  The trick was to override some
variables in the .cfg file.

The image will boot and all seems OK.

In the kernel config, I have
options NFSCLIENT   # Network Filesystem Client
options NFSSERVER   # Network Filesystem Server
options NFSLOCKD# Network Lock Manager
options NFS_ROOT# NFS as /, requires NFSCLIENT

When I try to start nfscleint

# /etc/rc.d/nfsclient start

I get an error message about a missing nfscl module.

Looking in sys/i386/conf/*, I find that NFSCL is the new NFS client and
NFSD is the new NFS server.

I saw no errors from having NFS in my kernel config.

Do I need to use the new NFS op[tions?

If not, how do I get nfsclient working in nanoBSD?

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


Product Inquiry!.8

2012-05-22 Thread Bob Sup LLC

Hello Sales,

   I will like to have your newly updated site,so that i can give you the 
list of what i really want from your website. Also i need you to confirm if you 
accept credit card orders and you can use FedEx or Ups to ship within United 
State

Kindly reply back asap today.
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


Updating /src from command line

2012-05-22 Thread Jos Chrispijn
I want to compile my kernel and I read that for this I need to have the 
complete /SRC tree installed.
If I do this via sysinstall, I get either a display that the chosen 
server is not available or these are not available for FreeBSD 9.

Is there a way to update /src by CVSUP or otherwise?

thanks,
Jos Chrispijn
___
freebsd-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: Updating /src from command line

2012-05-22 Thread Michael Ross

Am 22.05.2012, 21:43 Uhr, schrieb Jos Chrispijn ker...@webrz.net:

I want to compile my kernel and I read that for this I need to have the  
complete /SRC tree installed.
If I do this via sysinstall, I get either a display that the chosen  
server is not available or these are not available for FreeBSD 9.

Is there a way to update /src by CVSUP or otherwise?

thanks,
Jos Chrispijn



I do it like this:

Copy, read and modify
/usr/src/share/examples/cvsup/stable-supfile
to, e.g.
/root/stable-supfile

then
csup /root/stable-supfile


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


hard link identification

2012-05-22 Thread Gary Aitken

Is there any way to tell if something is a hard link, other than
  ls -i
of relevant files and seeing that the inode is the same?
or a better way?

I was a bit confused when looking at /root/.cshrc and then discovering a 
.cshrc in / as well.


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


openoffice on 9.0

2012-05-22 Thread Gary Aitken
I was trying to pkg_add openoffice and it fails (file not found) when 
trying to fetch the openoffice.org tarball.


1.  I'm assuming that since pkg_add looks for the tarball, it is 
supposed to exist.  Is that a valid assumption?


2.  Anyone know why the tarball isn't there?  Should I be trying to add 
something else?


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: hard link identification

2012-05-22 Thread Eitan Adler
On 22 May 2012 13:06, Gary Aitken free...@dreamchaser.org wrote:
 Is there any way to tell if something is a hard link, other than
  ls -i of relevant files and seeing that the inode is the same?
 or a better way?

Hard links are not special. You can't tell something is a hard link
because normal files are exactly the same. You can use stat(1) to see
how many hard links point to a file though.


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


Using inb() and outb()

2012-05-22 Thread Thomas D. Dean

I have nanoBSD running a hardware control application.

To do this, I need inb() and outb() functions.

I an do this as root.  However, it is better if none of the control
system is run as root.

How do I allow these functions to one specific user?

Tom Dean
___
freebsd-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: Updating /src from command line

2012-05-22 Thread Michael Ross

Am 22.05.2012, 21:59 Uhr, schrieb Michael Ross g...@ross.cx:


Am 22.05.2012, 21:43 Uhr, schrieb Jos Chrispijn ker...@webrz.net:

I want to compile my kernel and I read that for this I need to have the  
complete /SRC tree installed.
If I do this via sysinstall, I get either a display that the chosen  
server is not available or these are not available for FreeBSD 9.

Is there a way to update /src by CVSUP or otherwise?

thanks,
Jos Chrispijn



I do it like this:

Copy, read and modify
/usr/src/share/examples/cvsup/stable-supfile


Sorry, that is

/usr/share/examples/cvsup/stable-supfile

of course.
___
freebsd-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: openoffice on 9.0

2012-05-22 Thread Gökşin Akdeniz
Hello Gary Aitken,

 
 1.  I'm assuming that since pkg_add looks for the tarball, it is 
 supposed to exist.  Is that a valid assumption?
 
It is sort of. Have look at
http://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-stable/All/

 2.  Anyone know why the tarball isn't there?  Should I be trying to
 add something else?
 
The OpenOffice.org package is a big one and consumes a lot of bandwith.
Therefore some may not be available.

Try to build OpenOffice.org from ports. It takes time, be patient.
-- 
Gökşin Akdeniz goksin.akde...@gmail.com


pgpGsIjjV04PD.pgp
Description: PGP signature


RE: hard link identification

2012-05-22 Thread dteske

 -Original Message-
 From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
 questi...@freebsd.org] On Behalf Of Gary Aitken
 Sent: Tuesday, May 22, 2012 1:06 PM
 To: freebsd-questions@freebsd.org
 Subject: hard link identification
 
 Is there any way to tell if something is a hard link, other than
ls -i
 of relevant files and seeing that the inode is the same?
 or a better way?
 
 I was a bit confused when looking at /root/.cshrc and then discovering a
 .cshrc in / as well.
 

ls -l

quickly enumerates the link-count of items in the current working directory
(displayed as the second column, by-default).

For directories, the link-count is quite obviously the number of filesystem
entities contained within.

For files, the link-count is the number of links to the same file. If this
number is higher than 1, then the file you're looking at is a hard-link (which
is also indistinguishable from the original).
-- 
Devin


_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Nfscl

2012-05-22 Thread Thomas D. Dean

On 05/22/12 10:46, Thomas D. Dean wrote:

I rebuilt the kernel with the new NFS options and it works.

Tom Dean
___
freebsd-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 inb() and outb()

2012-05-22 Thread Robert Bonomi
 From owner-freebsd-questi...@freebsd.org  Tue May 22 15:18:43 2012
 Date: Tue, 22 May 2012 13:13:35 -0700
 From: Thomas D. Dean tomd...@speakeasy.org
 To: freebsd-questions@freebsd.org
 Subject: Using inb() and outb()

 I have nanoBSD running a hardware control application.

 To do this, I need inb() and outb() functions.

 I an do this as root.  However, it is better if none of the control
 system is run as root.

 How do I allow these functions to one specific user?

To do that, you would have to re-build a significant portion of the 
security controls of the O/S.   Good luck.

'regular' users are simply -not- allowed to acces hardware I/O ports
directly.  Only the 'superuser' can do that.  Thus, to use inb()/outb()
the application must be running with EUID 0.  No other options.

If you don't want the application to run as root,  The only other option
is to write an actual 'device driver' -- which would execute as part of
the kernel -- that provides the required functionality to the app, and 
does the actual hardware port IN/OUT operations iself, inside the driver.
___
freebsd-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: hard link identification

2012-05-22 Thread Robert Bonomi

dte...@freebsd.org wrote;

 For directories, the link-count is quite obviously the number of filesystem
 entities contained within.

That is *INCORRECT*.  The link-count on a directory is the number of dir-
ectory entries (file names) tht resolve to it, just as with any other file.
The count starts at *TWO* -- one for the directory name itself, plus one 
for the '.' self-refernce 'in' that directory -- plus one for the '..' 
reference in each and every sub-directory that is in that directory, PLUS 
one (albeit rare) for any other hard-linked names  that also resolve to that 
diretory.

To wit:
  $  mkdir foo# 'ls -l foo' will show a link-count of 2
  $  touch foo/bar# 'ls -l foo' will show a link-count of 2
  $  mkdir foo/baz# 'ls -l foo' will show a link-count of 3
  $  ln -s foo foo2   # 'ls -l foo' will show a link-count of 3
  $  ln foo quux  # 'ls -l foo' will show a link-count of 4

___
freebsd-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 inb() and outb()

2012-05-22 Thread Thomas D. Dean

On 05/22/12 14:08, Robert Bonomi wrote:

That is what I thought.

The entire operation will have to run as root.  Nothing will be non-root.

Don't like that, but, it is nanoBSD and hardware control

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


Make and sys.mk

2012-05-22 Thread Thomas D. Dean

I need to get away from sys.mk - no usr/share/mk.

This is normally done with 'make -r'

Is there a way to do it from within a Makefile?

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


Product Inquiry!6

2012-05-22 Thread Bob Sup LLC

Hello Sales,

   I will like to have your newly updated site,so that i can give you the 
list of what i really want from your website. Also i need you to confirm if you 
accept credit card orders and you can use FedEx or Ups to ship within United 
State

Kindly reply back asap today.
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


portsnap update won't update original /usr/ports

2012-05-22 Thread Gary Aitken

According to the handbook, one can do
  portsnap fetch
  portsnap update
and the update will work with a previously created ports tree;
I presume this includes one created during system install.

However, when I attempted this, portsnap complained:
  /usr/ports was not created by portsnap.
  You must run 'portsnap extract' before running 'portsnap update'.

Is there a way to use portsnap against this tree, or must I delete the 
existing /usr/ports and do an extract first?


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


Product Inquiry!

2012-05-22 Thread Bob Sup LLC

Hello Sales,
1
   I will like to have your newly updated site,so that i can give you the 
list of what i really want from your website. Also i need you to confirm if you 
accept credit card orders and you can use FedEx or Ups to ship within United 
State

Kindly reply back asap today.
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: Using inb() and outb()

2012-05-22 Thread Eitan Adler
On 22 May 2012 14:25, Thomas D. Dean tomd...@speakeasy.org wrote:
 On 05/22/12 14:08, Robert Bonomi wrote:

 That is what I thought.

 The entire operation will have to run as root.  Nothing will be non-root.

Can you make a SUID helper which only does the inb/outb operations as root?

-- 
Eitan Adler
___
freebsd-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: portsnap update won't update original /usr/ports

2012-05-22 Thread Shane Ambler

On 23/05/2012 08:32, Gary Aitken wrote:

According to the handbook, one can do portsnap fetch portsnap update
and the update will work with a previously created ports tree; I
presume this includes one created during system install.

However, when I attempted this, portsnap complained: /usr/ports was
not created by portsnap. You must run 'portsnap extract' before
running 'portsnap update'.

Is there a way to use portsnap against this tree, or must I delete
the existing /usr/ports and do an extract first?



'portsnap extract' will write over whatever is in /usr/ports so you
don't have to delete what is there. Any distfiles or packages will
remain intact.

You need to start with 'portsnap extract' so that portsnap gets a
reference point to use for updates - which only adds changes since last
update

___
freebsd-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 X after updating ports [Intel i945GME]

2012-05-22 Thread Antonio Olivares
 Dear folks,

 I have an acer-aspire 1 netbook running FreeBSD 9.0 i386.  It was
 working beautifully, but after todays updates, X no longer works.

 On screen I have

 drm0: Intel i945GME on vgapci0
 info:  [drm] AGP at 0x2000 256MB
 info:  [drm] Initialized i915 1.6.0 20080730

 I have also:
 xfsettingsd:  Fatal IO error 35 (Resource temporarily unavailable) on
 X server :0.
 xfce4-settings-helper:  Fatal IO error 35 (Resource temporarily
 unavailable) on X server :0.
 xfwm4:  Fatal IO error 35 (Resource temporarily unavailable) on X server :0.
 Thunar:  Fatal IO error 35 (Resource temporarily unavailable) on X server :0.
 wrapper:  Fatal IO error 35 (Resource temporarily unavailable) on X server :0.
 xfce4-panel:  Fatal IO error 35 (Resource temporarily unavailable) on
 X server :0.
 gkrellm:  Fatal IO error 0 (No error:  0) on X server :0.
 running 'ssh-agent -s -k'
 unset SSH_AUTH_SOCK;
 unset SSH_AGENT_PID;
 echo Agent pid 1785 killed;
 xinit connection to X server lost

 waiting for X server to shut down xfdesktop:  Fatal IO error 2 (No
 such file or directory) on X server :0.0.


 Segmentation fault:  11 at address 0x10

 Fatal server errror:
 Caught signal 11 (Segmentation fault:  11). Server aborting

 updates installed via portmaster:

 fontconfig-2.9.0,1
 gdk-pixbuf-2.23.5_2
 gtk-2.24.6_1

 also cairo went from cairo-1.10.2_3,1 to cairo-1.12.2,1

 Any advice, comments or suggestions are greatly appreciated.

 Best Regards,


 Antonio

Dear folks,

I have used
# Xorg -configure
to create an xorg.conf file and copied it over to /etc/X11/xorg.conf.
I changed intel to vesa and I am running X.  I have found Xorg.0.log
the old one where I get error.   See below

===

acer-aspire-1# cat Xorg.0.log.old

X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 9.0-RELEASE i386
Current Operating System: FreeBSD acer-aspire-1 9.0-RELEASE FreeBSD
9.0-RELEASE #0: Tue Jan  3 07:15:25 UTC 2012
r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
Build Date: 28 April 2012  05:51:53AM

Current version of pixman: 0.24.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Tue May 22 20:16:26 2012
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout X.org Configured
(**) |--Screen Screen0 (0)
(**) |   |--Monitor Monitor0
(**) |   |--Device Card0
(**) |--Input Device Mouse0
(**) |--Input Device Keyboard0
(==) Not automatically adding devices
(==) Not automatically enabling devices
(**) FontPath set to:
/usr/local/lib/X11/fonts/misc/,
/usr/local/lib/X11/fonts/TTF/,
/usr/local/lib/X11/fonts/OTF,
/usr/local/lib/X11/fonts/Type1/,
/usr/local/lib/X11/fonts/100dpi/,
/usr/local/lib/X11/fonts/75dpi/,
/usr/local/lib/X11/fonts/misc/,
/usr/local/lib/X11/fonts/TTF/,
/usr/local/lib/X11/fonts/OTF,
/usr/local/lib/X11/fonts/Type1/,
/usr/local/lib/X11/fonts/100dpi/,
/usr/local/lib/X11/fonts/75dpi/
(**) ModulePath set to /usr/local/lib/xorg/modules
(II) Loader magic: 0x81dcfc0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9

(--) PCI:*(0:0:2:0) 8086:27ae:1025:019c Intel Corporation Mobile
945GSE Express Integrated Graphics Controller rev 3, Mem @
0x3628/524288, 0x2000/268435456, 0x3630/262144, I/O @
0x50f0/8, BIOS @ 0x/65536
(--) PCI: (0:0:2:1) 8086:27a6:1025:019c Intel Corporation Mobile
945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller rev
3, Mem @ 0x3620/524288
(II) extmod will be loaded. This was enabled by default and also
specified in the config file.
(II) dbe will be loaded. This was enabled by default and also
specified in the config file.
(II) glx will be loaded. This was enabled by default and also
specified in the config file.
(II) record will be loaded. This was enabled by default and also
specified in the config file.
(II) dri will be loaded. This was enabled by default and also
specified in the config file.
(II) dri2 will be loaded. This was enabled by default and also
specified in the config file.
(II) LoadModule: extmod
(II) Loading /usr/local/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor=X.Org Foundation
compiled for 1.7.7, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA

Re: ZFS mounting order

2012-05-22 Thread Shane Ambler

On 21/05/2012 00:11, Chris Brennan (lists) wrote:

Greetings!

I have a FreeBSD 9 system with 3 different ZFS pools on it. I am
booting from a ro CF Card w/o any major issues, the problem I am
encountering is that zroot needs to be mounted at boot first, because
it contains /usr, zhome and tank contain other various sub-partitions
of /usr.

Also, zroot causes me a lot of problems when I try to do zpool
import, when zpool gets to probing zroot, I get g_vfs errors printed
to the console and the hacnine hangs till I reset it (which is
obviously not acceptable behavior.) I was able to get around this when
booting to my cf card by making / ro, which was my intention all along
for that media.) I suspect this happens because there is a on that
volume that is trying to replace something on / on either the USB boot
img or on my CF card and this might be causing either to freak out.

So I dunno what to do to get this working the way it should and some
guidence would be greatly appreciated!



Sounds like something I came across and haven't gathered more details to 
submit a pr yet.


I think there is a problem when two zpools have the same mountpoint - 
either / or legacy or one of each that prevents startup. Also zfs 
filesystems with matching mountpoints appear to mount together and cause 
issues, not sure if this extends to existing ufs mount points.


Check the mountpoint settings on each filesystem 'zfs get mountpoint' 
will list them all.


___
freebsd-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: portsnap update won't update original /usr/ports

2012-05-22 Thread Thomas Mueller
- Original Message -
From: Gary Aitken free...@dreamchaser.org
To: freebsd-questions@freebsd.org
Sent: Tue, 22 May 2012 19:02:30 -0400 (EDT)
Subject: portsnap update won't update original /usr/ports

According to the handbook, one can do
   portsnap fetch
   portsnap update
and the update will work with a previously created ports tree;
I presume this includes one created during system install.

However, when I attempted this, portsnap complained:
   /usr/ports was not created by portsnap.
   You must run 'portsnap extract' before running 'portsnap update'.

Is there a way to use portsnap against this tree, or must I delete the 
existing /usr/ports and do an extract first?

Thanks,

Gary

 My response: 

I screwed up this way too, when I downloaded the USB memstick image for FreeBSD 
9.0_BETA1 and later, BETA2, I installed the ports from that, which worked to my 
disadvantage when I later ran portsnap fetch update.

I wound up deleting /usr/ports/* and starting fresh, may not necessarily have 
had to delete the ports tree.  But now it works.

Now I wonder if it's feasible to switch between portsnap fetch update and 
csup ports-supfile, or if it's strictly one or the other.

I am at webmail interface, which strongly favors top-posting over 
bottom-posting; feel more comfortable with vi editor.
___
freebsd-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 inb() and outb()

2012-05-22 Thread Thomas D. Dean

On 05/22/12 17:09, Eitan Adler wrote:

On 22 May 2012 14:25, Thomas D. Deantomd...@speakeasy.org  wrote:

On 05/22/12 14:08, Robert Bonomi wrote:

That is what I thought.

The entire operation will have to run as root.  Nothing will be non-root.


Can you make a SUID helper which only does the inb/outb operations as root?



I am planing to move the higher level functions to a driver.

I really want a userland interface to the process.

Tom Dean
___
freebsd-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 inb() and outb()

2012-05-22 Thread Robert Bonomi
 From owner-freebsd-questi...@freebsd.org  Tue May 22 21:30:21 2012
 Date: Tue, 22 May 2012 19:27:44 -0700
 From: Thomas D. Dean tomd...@speakeasy.org
 To: freebsd-questions@freebsd.org
 Subject: Re: Using inb() and outb()

 On 05/22/12 17:09, Eitan Adler wrote:
  On 22 May 2012 14:25, Thomas D. Deantomd...@speakeasy.org  wrote:
  On 05/22/12 14:08, Robert Bonomi wrote:
 
  That is what I thought.
 
  The entire operation will have to run as root.  Nothing will be non-root.
 
  Can you make a SUID helper which only does the inb/outb operations as root?
 

 I am planing to move the higher level functions to a driver.

 I really want a userland interface to the process.

It just occured to me -- you could do a 'daemon' process that ran as the
superuser, and provided the hardware-level services to a non-root client
via, say,  RPC, or a bare 'socket' ('unix' or 'ip') connection.

Doing the I/O via RPC would be 'interesting', in that the 'device' could
be physically connected to one machine (almost an 'embedded'-class  micro-
controller), while the vast majority of the 'control progrm' could run on
an entirely different machine.

If you're up to doing the device-driver coding, it is a =better= solution,
because then you can use the filesystem access-control mechanisms to limit
access to the 'device'. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Connect to Clear hub modem

2012-05-22 Thread Lars Eighner


This is NOT a wireless question.

I am running FreeBSD 8.3-p1.

I want to connect to Clear Wireless Internet.  I know I cannot do this with
a Clear dongle, because Clear uses WiMax which is not supported.

Instead I have a Clear hub modem.  I want to connect by ethernet to it by
wire.

I get this from ifconfig:

re0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500

options=209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC
ether 40:61:86:e9:96:0e
media: Ethernet autoselect (100baseTX full-duplex)
status: active

But I don't have a clue what to do from here.

The hub is supposed to have a web page at (imaginary address) 192.168.15.1,
but I haven't been able to raise it.

The handbook has only a couple of references to ethernet, neither of which
seem to apply here, and seem to be from the point of view of setting up a
hub server, but the hub is more or less a black box to me.

If anyone has already done this, please explain -- slowly and loudly.

Oh, yeah, Clear Customer Service is strictly for the entertainment of
masochists.

--
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: Using inb() and outb()

2012-05-22 Thread Thomas D. Dean

On 05/22/12 19:53, Robert Bonomi wrote:

I implemented a RPC system at SLAC - actually got RPC numbers from Sun!

But, it is slow.  Unless it is located far away (two miles at SLAC), it
is much faster to do it with a driver, etc.

Tom Dean
___
freebsd-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: Connect to Clear hub modem

2012-05-22 Thread Chuck Swiger
On May 22, 2012, at 8:58 PM, Lars Eighner wrote:
 But I don't have a clue what to do from here.

Try running 'dhclient'.  If that works, add this to /etc/rc.conf:

  ifconfig_re0=DHCP

 The hub is supposed to have a web page at (imaginary address) 192.168.15.1,
 but I haven't been able to raise it.

If the above doesn't work, try:

  ifconfig re0 inet 192.168.15.2 netmask 255.255.255.0
  route add default 192.168.15.1

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: Connect to Clear hub modem

2012-05-22 Thread Robert Bonomi
 From owner-freebsd-questi...@freebsd.org  Tue May 22 23:03:03 2012
 Date: Tue, 22 May 2012 22:58:39 -0500 (CDT)
 From: Lars Eighner luvbeas...@larseighner.com
 To: freebsd-questions@freebsd.org
 Subject: Connect to Clear hub modem


 This is NOT a wireless question.

 I am running FreeBSD 8.3-p1.

 I want to connect to Clear Wireless Internet.  I know I cannot do this with
 a Clear dongle, because Clear uses WiMax which is not supported.

 Instead I have a Clear hub modem.  I want to connect by ethernet to it by
 wire.

 I get this from ifconfig:

 re0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500
 options=209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC
 ether 40:61:86:e9:96:0e
 media: Ethernet autoselect (100baseTX full-duplex)
 status: active

 But I don't have a clue what to do from here.

 The hub is supposed to have a web page at (imaginary address) 192.168.15.1,
 but I haven't been able to raise it.

 The handbook has only a couple of references to ethernet, neither of which
 seem to apply here, and seem to be from the point of view of setting up a
 hub server, but the hub is more or less a black box to me.

 If anyone has already done this, please explain -- slowly and loudly.

If the 'imaginary' address you gave above, is really something other than
'192.168.5.1', substitute the actual first 3 parts of the 'real' address
for '192.168.5' everywhere below. and the actual 4th part for the .1
address.  

This will be a several step process.  Some of the things are 'just
temporary', so you can see how to do subsequent things.

First:  use the 'ifconfig' command to set an IP addreess for your machine,
  so that you can 'see' what the Clear hub configuration is.

   ifconfig re0 192.168.5.2 netmask 255.255.255.0

Also, just for grins, we'll set up a 'default' route, to see if we can
  see the 'world'.

   route add default 192.168.5.1

Now, fire up a web browser, and enter  the 'imaginary' webserver address
in the browser's 'address' space.  hit the enter key.

Tell us what you get, and we can proceed from there.


*Probably*  just enabling DHCP in /etc/rc.conf, on the 're' interface
(that is, adding the following line to that file):

  ifconfig_re=DHCP

And re-booting is all you'll need.

___
freebsd-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: LRO support for IPv6

2012-05-22 Thread Venkat Duvvuru
Ok. I found the reason for the throughput drop in case of IPv6.
Reason is that the tcp check sum calculation is mandated in case of IPv6
irrespective of whether the card is doing it or not (checksum offload). Is
there a reason why freebsd is doing it that way?

/Venkat

On Tue, May 22, 2012 at 11:16 PM, Jack Vogel jfvo...@gmail.com wrote:

 LRO is a huge win for 10G (as is TSO on the TX side), so odds are good its
 behind the drop,
 in any case you'll be able to test that soon :)

 Jack



 On Tue, May 22, 2012 at 10:35 AM, Venkat Duvvuru 
 venkatduvvuru...@gmail.com wrote:

 Thanks for the response.

 I observed that there is a significant performance drop in case of IPv6
 on the rx side.
 While I'm able to hit line rate ~9.5 Gbps on a 10gb NIC for IPv4..I could
 only get ~6 Gbps on the rx front for IPv6...However tx for IPv6 is on
 par with IPv4 hitting almost line rates.

 Could this be because of lack of LRO6??

 Note: hwpmc profiling shows that most of the time is spent in the IPv6
 stack code

 /Venkat
  On Tue, May 22, 2012 at 10:37 PM, Bjoern A. Zeeb b...@freebsd.org wrote:


 On 22. May 2012, at 17:04 , Jack Vogel wrote:

  Oh, that's right, distracted with other projects and I forgot, now we
 just need
  to have an LRO that works with forwarding eh :)

 That's a 6 line bainaid commit afterwards, basically returning form the
 LRO queuing
 function in case forwarding is turned on for that address family;  a
 proper solution
 for long term can than be done whenever we feel like it.  The above we
 should have done
 years ago;)


  You ROCK bz :)
 
  Jack
 
 
  On Tue, May 22, 2012 at 10:01 AM, Bjoern A. Zeeb b...@freebsd.org
 wrote:
 
  On 22. May 2012, at 16:50 , Jack Vogel wrote:
 
   The LRO code as it stands right now is IPV4 specific, it would be
 nice to
   extend it, one of
   many improvements that may get done at some point.
 
  I am about to commit it to HEAD.  Bear another few days with me; I know
  I am running late but committing new code had less prio than some other
  real life things currently.
 
  I'll also bring TSO6, etc...

  --
 Bjoern A. Zeeb You have to have visions!
   It does not matter how good you are. It matters what good you do!




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