Re: Annoying problem with apache22 / php5 - how to investigate?

2009-07-05 Thread Glen Barber
On Sat, Jul 4, 2009 at 8:54 PM, Bruce Ferrellbferr...@baywinds.org wrote:


 Per olof Ljungmark wrote:
 Bruce Ferrell wrote:

 Per olof Ljungmark wrote:
 Hi,

 We run 7-STABLE and apache22 with php5 serving pages from a webmail app
 (Horde).

 Randomly (as it seems at least), there is a 500 (Internal server error)
 and a blank page is presented to the user like

 [04/Jul/2009:15:19:37 +0200] GET
 /services/portal/sidebar.php?httpclient=1 HTTP/1.1 500 -

 There are no other messages in the logs, not even with LogLevel debug.
 The problem has survived several both OS and port upgrades and I really
 need to track this down now.

 Question: What OS tools would be the best to further analyze this?
 Someone with more exparience running this combo perhaps would know?

 Thanks a lot!

 --
 per

 I'd look in the Apache error_log


 I've looked, as stated above. Even with LogLevel debug there is not a
 trace. Likewise, I have E_ALL set in php.ini.

 So, I need to dig deeper inte the workings of Apache with the aid of the
 right tools.


 You're not looking at an Apache problem, but a PHP problem. 500 is the
 error code for a failed CGI script/program. Try executing the php from
 the command line.  i.e. Go to where ever
 /services/portal/sidebar.php is and execute:

  ./sidebar.php httpclient=1

 See what, if any, errors are thrown that way.

 PHP is notorious for not sending good errors into the logs or to STDERR.


Worse yet, this doesn't have to be a PHP problem... You can create an
.htaccess file containing 'FAIL' and it will generate an 500 response.


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


Re: good morning to all

2009-07-05 Thread Glen Barber
A more helpful subject would be nice.

On Sun, Jul 5, 2009 at 12:00 AM, malathi selvarajmalathira...@gmail.com wrote:
 My system is rebooting contiguously, i show some error message after
 rebooting like
 1.Enter full path of shell or RETURN for /bin/sh:
  After change the rc.conf file also i can't get GUI.



What did you change in rc.conf?  It appears the system is booting into
single-user mode.


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


Re: firefox 3.5 exited on signal 12

2009-07-05 Thread Ott Köstner
On Sunday 05 July 2009 8:32:35 am Unga wrote:

 I have installed firefox 3.5,1 port (make install clean) on FreeBSD 7.2 i386. 
 Firefox crashes when it try to display Theora video 
 (http://www-cs-faculty.stanford.edu/~nick/theora-soccer/) with following 
 message on logs:
 kernel: pid 1106 (firefox-bin), uid 1001: exited on signal 12 (core dumped)
 
 Do others experience it? Is there a fix for this?

Same here. It crashes...
pid 26921 (firefox-bin), uid 1001: exited on signal 12

Greetings,
Ott Köstner

___
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: Annoying problem with apache22 / php5 - how to investigate?

2009-07-05 Thread Per olof Ljungmark

Bruce Ferrell wrote:


Per olof Ljungmark wrote:

Bruce Ferrell wrote:

Per olof Ljungmark wrote:

Hi,

We run 7-STABLE and apache22 with php5 serving pages from a webmail app
(Horde).

Randomly (as it seems at least), there is a 500 (Internal server error)
and a blank page is presented to the user like

[04/Jul/2009:15:19:37 +0200] GET
/services/portal/sidebar.php?httpclient=1 HTTP/1.1 500 -

There are no other messages in the logs, not even with LogLevel debug.
The problem has survived several both OS and port upgrades and I really
need to track this down now.

Question: What OS tools would be the best to further analyze this?
Someone with more exparience running this combo perhaps would know?

Thanks a lot!

--
per

I'd look in the Apache error_log


I've looked, as stated above. Even with LogLevel debug there is not a
trace. Likewise, I have E_ALL set in php.ini.

So, I need to dig deeper inte the workings of Apache with the aid of the
right tools.



You're not looking at an Apache problem, but a PHP problem. 500 is the
error code for a failed CGI script/program. Try executing the php from
the command line.  i.e. Go to where ever
/services/portal/sidebar.php is and execute:

 ./sidebar.php httpclient=1

See what, if any, errors are thrown that way.

PHP is notorious for not sending good errors into the logs or to STDERR.



You're right, I will see whatever logging I can squeeze out from the 
script handling. It's really annoying it's an intermittent problem...


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


Re: firefox 3.5 exited on signal 12

2009-07-05 Thread Lowell Gilbert
Unga unga...@yahoo.com writes:

 I have installed firefox 3.5,1 port (make install clean) on FreeBSD 7.2 i386. 
 Firefox crashes when it try to display Theora video 
 (http://www-cs-faculty.stanford.edu/~nick/theora-soccer/) with following 
 message on logs:
 kernel: pid 1106 (firefox-bin), uid 1001: exited on signal 12 (core dumped)

 Do others experience it? Is there a fix for this?

You may need sem(4) loaded.  It's a module, so you can try it out
without rebuilding your kernel.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
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: can't get atheros ar2413 to connect under freebsd 7.2

2009-07-05 Thread Atheer Elobadi
please help ...

On Sat, Jul 4, 2009 at 4:44 AM, Atheer Elobadi atheer.elob...@gmail.comwrote:

 hello,
 I've been trying to set my wireless card under Freebsd 7.2-RELEASE, but no
 success (it worked fine on 7.0).. would appreciate some advice


 in /boot/loader.conf:

 if_ath_load=YES
 wlan_tkip_load=YES
 wlan_scan_ap_load=YES
 wlan_scan_sta_load=YES


 in: /etc/wpa_supplicant.conf:

 network={
  ssid=Myssid
  key_mgmt=WPA-PSK
  psk=MySharedPhrase
 }


 and in /etc/rc.conf:

 ifconfig_ath0=WPA DHCP


 then i run/etc/rc.d/netif start
 it gives up

 ** by the way.. ifconfig ath0 up scangives nothing..  not even an error
 message.. what shall i do ??

 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: can't get atheros ar2413 to connect under freebsd 7.2

2009-07-05 Thread Atheer Elobadi
On Sun, Jul 5, 2009 at 3:09 PM, Atheer Elobadi atheer.elob...@gmail.comwrote:

 please help ...

 On Sat, Jul 4, 2009 at 4:44 AM, Atheer Elobadi 
 atheer.elob...@gmail.comwrote:

 hello,
 I've been trying to set my wireless card under Freebsd 7.2-RELEASE, but no
 success (it worked fine on 7.0).. would appreciate some advice


 in /boot/loader.conf:

 if_ath_load=YES
 wlan_tkip_load=YES
 wlan_scan_ap_load=YES
 wlan_scan_sta_load=YES


 in: /etc/wpa_supplicant.conf:

 network={
  ssid=Myssid
  key_mgmt=WPA-PSK
  psk=MySharedPhrase
 }


 and in /etc/rc.conf:

 ifconfig_ath0=WPA DHCP


 then i run/etc/rc.d/netif start
 it gives up

 ** by the way.. ifconfig ath0 up scangives nothing..  not even an
 error message.. what shall i do ??

 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: can't get atheros ar2413 to connect under freebsd 7.2

2009-07-05 Thread Glen Barber
On Fri, Jul 3, 2009 at 10:44 PM, Atheer Elobadiatheer.elob...@gmail.com wrote:
 hello,
 I've been trying to set my wireless card under Freebsd 7.2-RELEASE, but no
 success (it worked fine on 7.0).. would appreciate some advice


 in /boot/loader.conf:

 if_ath_load=YES
 wlan_tkip_load=YES
 wlan_scan_ap_load=YES
 wlan_scan_sta_load=YES


 in: /etc/wpa_supplicant.conf:

 network={
     ssid=Myssid
     key_mgmt=WPA-PSK
     psk=MySharedPhrase
 }


 and in /etc/rc.conf:

 ifconfig_ath0=WPA DHCP


 then i run    /etc/rc.d/netif start
 it gives up


Is wpa_supplicant running?

 ** by the way.. ifconfig ath0 up scan    gives nothing..  not even an error
 message.. what shall i do ??


What is the output from `ifconfig ath0' ?


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


Re: can't get atheros ar2413 to connect under freebsd 7.2

2009-07-05 Thread Glen Barber
On Sun, Jul 5, 2009 at 10:51 AM, Atheer Elobadiatheer.elob...@gmail.com wrote:
 output from 'ifconfig ath0':

 ath0: flags=8843UP, BROADCAST, RUNNING, SIMPLEX, MULTICAST metric 0 mtu
 1500
  ether 00:19:7d:be:8c:65
 media: IEEE 802.11 Wireless thernet autoselect (autoselect)
 status: no carrier
 ssid  channel 13 (2472 Mhz 11g)
 authmode open privacy OFF txpower 31.5 bmiss 7 scanvalid 60 bgscan
 bgscanintvl 300 mgscanidle 250 roam:rssi11g 7 roam: rate11g 5
 protmode CTS burst bintval 0

 when 'ifconfig ath0 authmode wpa' :
 ieee80211_load_module: load the wlan_xauth module by hand for now.
 ifcondif: SIOCS80211: Invalid argument

 i tried to 'kldload wlan_xauth' then 'ifconfig ath0 authmode wpa': (i don't
 know if this is necessary)

Ideally, it should load any dependent modules.

 then 'ifconfig ath0' :

 ath0: flags=8843UP, BROADCAST, RUNNING, SIMPLEX, MULTICAST metric 0 mtu
 1500
  ether 00:19:7d:be:8c:65
  media: IEEE 802.11 Wireless thernet autoselect (autoselect)
  status: no carrier
   ssid  channel 13 (2472 Mhz 11g)
     authmode 802.1x privacy MIXED deftxkey UNDEF txpower 31.5 bmiss 7
     scanvalid 60 bgscan bgscan bgscanintvl 300 mgscanidle 250
 roam:rssi11g 7
     roam: rate11g 5 protmode CTS burst bintval 0


I hate asking this, because it shouldn't fix problems -- it only
masks what is underlying -- but, when was your last reboot?

With ifconfig_ath0=WPA DHCP in rc.conf, this will automatically
start wpa_supplicant.

Before rebooting, you could also try:
/etc/rc.d/netif restart; dhclient ath0


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


how to do a live migration of a freebsd box to another box with rsync

2009-07-05 Thread insrc
Hi,
I'm used to migrate GNU/Linux system from one box to another by booting the
second box with a liveCD (like systemrescueCD for example) and by copying
the / filesystem (using the ssh transport)  with rsync.
I would like to do the same for BSD system but i have two issues:
- as the UFS write support is still experimental in the Linux kernel, it
seems that i've to use a BSD liveCD but i can't find one :-/ I heard about
frenzy ( http://frenzy.org.ua/en/ ) but the homepage says that the project
is no longer maintained !
- i'm wondering how to restore the bootloader after copying the files on the
second box. On linux, i can use the grub-install script to do the job but
i'm a bit lost on FreeBSD :-)

Thanks for your help !
___
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


Fwd: can't get atheros ar2413 to connect under freebsd 7.2

2009-07-05 Thread Atheer Elobadi
-- Forwarded message --
From: Atheer Elobadi atheer.elob...@gmail.com
Date: Sun, Jul 5, 2009 at 4:51 PM
Subject: Re: can't get atheros ar2413 to connect under freebsd 7.2
To: Glen Barber glen.j.bar...@gmail.com


output from 'ifconfig ath0':

ath0: flags=8843UP, BROADCAST, RUNNING, SIMPLEX, MULTICAST metric 0 mtu
1500
 ether 00:19:7d:be:8c:65
media: IEEE 802.11 Wireless thernet autoselect (autoselect)
status: no carrier
ssid  channel 13 (2472 Mhz 11g)
authmode open privacy OFF txpower 31.5 bmiss 7 scanvalid 60 bgscan
bgscanintvl 300 mgscanidle 250 roam:rssi11g 7 roam: rate11g 5
protmode CTS burst bintval 0

when 'ifconfig ath0 authmode wpa' :
ieee80211_load_module: load the wlan_xauth module by hand for now.
ifcondif: SIOCS80211: Invalid argument

i tried to 'kldload wlan_xauth' then 'ifconfig ath0 authmode wpa': (i don't
know if this is necessary)
then 'ifconfig ath0' :

ath0: flags=8843UP, BROADCAST, RUNNING, SIMPLEX, MULTICAST metric 0 mtu
1500
 ether 00:19:7d:be:8c:65
 media: IEEE 802.11 Wireless thernet autoselect (autoselect)
 status: no carrier
  ssid  channel 13 (2472 Mhz 11g)
authmode 802.1x privacy MIXED deftxkey UNDEF txpower 31.5 bmiss 7
scanvalid 60 bgscan bgscan bgscanintvl 300 mgscanidle 250
roam:rssi11g 7
roam: rate11g 5 protmode CTS burst bintval 0


**


On Sun, Jul 5, 2009 at 3:24 PM, Glen Barber glen.j.bar...@gmail.com wrote:

 On Fri, Jul 3, 2009 at 10:44 PM, Atheer Elobadiatheer.elob...@gmail.com
 wrote:
  hello,
  I've been trying to set my wireless card under Freebsd 7.2-RELEASE, but
 no
  success (it worked fine on 7.0).. would appreciate some advice
 
 
  in /boot/loader.conf:
 
  if_ath_load=YES
  wlan_tkip_load=YES
  wlan_scan_ap_load=YES
  wlan_scan_sta_load=YES
 
 
  in: /etc/wpa_supplicant.conf:
 
  network={
  ssid=Myssid
  key_mgmt=WPA-PSK
  psk=MySharedPhrase
  }
 
 
  and in /etc/rc.conf:
 
  ifconfig_ath0=WPA DHCP
 
 
  then i run/etc/rc.d/netif start
  it gives up
 

 Is wpa_supplicant running?

  ** by the way.. ifconfig ath0 up scangives nothing..  not even an
 error
  message.. what shall i do ??
 

 What is the output from `ifconfig ath0' ?


 --
 Glen Barber

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


SOLVED (Re: firefox 3.5 exited on signal 12)

2009-07-05 Thread Ott Köstner
On Sunday 05 July 2009 11:10:18 am Ott Köstner wrote:
 On Sunday 05 July 2009 8:32:35 am Unga wrote:
 
  I have installed firefox 3.5,1 port (make install clean) on FreeBSD 7.2 
  i386. Firefox crashes when it try to display Theora video 
  (http://www-cs-faculty.stanford.edu/~nick/theora-soccer/) with following 
  message on logs:
  kernel: pid 1106 (firefox-bin), uid 1001: exited on signal 12 (core dumped)
  
  Do others experience it? Is there a fix for this?
 
 Same here. It crashes...
 pid 26921 (firefox-bin), uid 1001: exited on signal 12

Rebuilt kernel with
options P1003_1B_SEMAPHORES # POSIX-style semaphores

Now it plays Theora video and does not crash any more.  :)

Greetings,
Ott Köstner

___
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


Bridge network device for VirtualBox

2009-07-05 Thread Doug Poland

Hello,

I'm experimenting with the new VirtualBox port and wand to implement a 
bridged network interface on the FreeBSD host.  Could someone point me 
to some docs that may assist me?  BTW, the handbook advanced networking 
section, 
http://www.freebsd.org/doc/en/books/handbook/network-bridging.html, 
doesn't seem to apply to this application.


Thanks!

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


Re: SOLVED (Re: firefox 3.5 exited on signal 12)

2009-07-05 Thread Giorgos Keramidas
On Sun, 5 Jul 2009 23:02:13 +0300, Ott Köstner o...@zzz.ee wrote:
 On Sunday 05 July 2009 11:10:18 am Ott Köstner wrote:
 On Sunday 05 July 2009 8:32:35 am Unga wrote:

  I have installed firefox 3.5,1 port (make install clean) on FreeBSD
  7.2 i386. Firefox crashes when it try to display Theora video
  (http://www-cs-faculty.stanford.edu/~nick/theora-soccer/) with
  following message on logs:
 
  kernel: pid 1106 (firefox-bin), uid 1001: exited on signal 12 (core dumped)
 
  Do others experience it? Is there a fix for this?

 Same here. It crashes...
 pid 26921 (firefox-bin), uid 1001: exited on signal 12

 Rebuilt kernel with
 options P1003_1B_SEMAPHORES # POSIX-style semaphores

 Now it plays Theora video and does not crash any more.  :)

You can load sem.ko to the same effect, FWIW.  The UPDATING entry for
firefox3-devel mentions this in the following part:

  20090628:
AFFECTS: users of www/firefox3-devel
AUTHOR: ge...@freebsd.org

If your Firefox crashes with the following message while viewing a
HTML5 page: Bad system call (core dumped) you need to load the sem
module (kldload sem).

To load sem on every boot put the following into your
/boot/loader.conf: sem_load=YES

___
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


Fwd: can't get atheros ar2413 to connect under freebsd 7.2

2009-07-05 Thread Atheer Elobadi
please .. someone ..

-- Forwarded message --
From: Atheer Elobadi atheer.elob...@gmail.com
Date: Sun, Jul 5, 2009 at 7:27 PM
Subject: Fwd: can't get atheros ar2413 to connect under freebsd 7.2
To: freebsd-questions@freebsd.org




-- Forwarded message --
From: Atheer Elobadi atheer.elob...@gmail.com
Date: Sun, Jul 5, 2009 at 4:51 PM
Subject: Re: can't get atheros ar2413 to connect under freebsd 7.2
To: Glen Barber glen.j.bar...@gmail.com


output from 'ifconfig ath0':

ath0: flags=8843UP, BROADCAST, RUNNING, SIMPLEX, MULTICAST metric 0 mtu
1500
 ether 00:19:7d:be:8c:65
media: IEEE 802.11 Wireless thernet autoselect (autoselect)
status: no carrier
ssid  channel 13 (2472 Mhz 11g)
authmode open privacy OFF txpower 31.5 bmiss 7 scanvalid 60 bgscan
bgscanintvl 300 mgscanidle 250 roam:rssi11g 7 roam: rate11g 5
protmode CTS burst bintval 0

when 'ifconfig ath0 authmode wpa' :
ieee80211_load_module: load the wlan_xauth module by hand for now.
ifcondif: SIOCS80211: Invalid argument

i tried to 'kldload wlan_xauth' then 'ifconfig ath0 authmode wpa': (i don't
know if this is necessary)
then 'ifconfig ath0' :

ath0: flags=8843UP, BROADCAST, RUNNING, SIMPLEX, MULTICAST metric 0 mtu
1500
 ether 00:19:7d:be:8c:65
 media: IEEE 802.11 Wireless thernet autoselect (autoselect)
 status: no carrier
  ssid  channel 13 (2472 Mhz 11g)
authmode 802.1x privacy MIXED deftxkey UNDEF txpower 31.5 bmiss 7
scanvalid 60 bgscan bgscan bgscanintvl 300 mgscanidle 250
roam:rssi11g 7
roam: rate11g 5 protmode CTS burst bintval 0


**


On Sun, Jul 5, 2009 at 3:24 PM, Glen Barber glen.j.bar...@gmail.com wrote:

 On Fri, Jul 3, 2009 at 10:44 PM, Atheer Elobadiatheer.elob...@gmail.com
 wrote:
  hello,
  I've been trying to set my wireless card under Freebsd 7.2-RELEASE, but
 no
  success (it worked fine on 7.0).. would appreciate some advice
 
 
  in /boot/loader.conf:
 
  if_ath_load=YES
  wlan_tkip_load=YES
  wlan_scan_ap_load=YES
  wlan_scan_sta_load=YES
 
 
  in: /etc/wpa_supplicant.conf:
 
  network={
  ssid=Myssid
  key_mgmt=WPA-PSK
  psk=MySharedPhrase
  }
 
 
  and in /etc/rc.conf:
 
  ifconfig_ath0=WPA DHCP
 
 
  then i run/etc/rc.d/netif start
  it gives up
 

 Is wpa_supplicant running?

  ** by the way.. ifconfig ath0 up scangives nothing..  not even an
 error
  message.. what shall i do ??
 

 What is the output from `ifconfig ath0' ?


 --
 Glen Barber

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


Num Lock key in X, PF keys, involves xmodmap, xev

2009-07-05 Thread Polytropon
Dear list,

since I moved to a new keyboard, I have some trouble. Everything except
the Num Lock functionality works fine. Let me explain:

The keyboard is a BOSCOM PS/2 keyboard (with 122 keys, intended for
5250 operations on a PC) that contains a keyboard controller, so the
keyboard can simply be attached to the PC.

THis is how the keyboard looks like:

http://www.ioconnections.com/images/products/bos_5250keyboard_black.jpg

It's a very nice one, so I want to use it instead of my Sun USB keyboard
because it has more and better keys. Think about the IBM model M. Same
mechanics.

The keyboard can operate in two different modes, which are selected by a
jumper inside the keyboard (where the LEDs are located).

In jumper mode, keys operate like their caption (the key cap) indicates
it. For example, the keys on the left generate SysRq, Print, Escape and
so on. Some of them generate composed characters, this means when I press
a key, the keyboard sends a key combination, such as Alt+F3 for the
key or Shift+F1 for F13. Quite useless.

In no jumper mode, each key sends a unique keycode. Some keys do not
do what their key cap says, but that's no problem because the caps can
be re-arranged. And I've got enough space keycaps with very nice
captions from other keyboards, so it's no problem to make my own
layout be represented correctly by the key caps.

This is the mode I need.

Using the xev program, I could easily find out which keys generate which
keycode, so I made a .xmodmaprc and assigned names to the different keys
according to what I intended them to use. For example, F13 .. F24 now are
described as F13 .. F24, so they can be assigned several actions by the
means of the window manager, i. e. WindowMaker - easy game, e. g. starting
programs or issuing a window arrangement command (front, background, roll
up, hide, lock screen and so on). On the numerical keypad, I have a comma
as well as a dot - in Germany, the comma is the decimal delimiter, so it's
not possible to type IPs on the numeric keypad only. But now, I can do
things like 192.168.1.1,192.168.1.2 all within the numerical keypad.

Now my problem: I can't get the Num Lock to work. First of all, I checked
which keycode would be generated when I press the key I want to have as
Num Lock - it's the one placed where it should be on the standard 102
keys model, numerical keypad, upper left.

This is the xev output when the key is pressed:

KeyPress event, serial 27, synthetic NO, window 0x181,
root 0x73, subw 0x0, time 1285024705, (76,91), root:(355,651),
state 0x0, keycode 9 (keysym 0xff7f, Num_Lock), same_screen YES,
XLookupString gives 0 bytes: 
XmbLookupString gives 0 bytes: 
XFilterEvent returns: False 

The keycode 9 (former Escape, I think) has been assigned to the
key symbol Num_Lock by this entry in .xmodmaprc (file attached,
I hope):

! Num
keycode 9 = Num_Loc

The comment, preceeded by !, states what is on the key cap, to make
finding them easier.

The problem is: Pressing this key doesn't change the Num state. So I
checked man xmodmap and found out that there are modes that can be
changed by certain keys.

% xmodmap
xmodmap:  up to 3 keys per modifier, (keycodes in parentheses):
shift   Shift_L (0x32),  Shift_R (0x3e)
lockCaps_Lock (0x42)
control Control_L (0x25),  Control_R (0x6d)
mod1Alt_L (0x40),  Meta_L (0x9c)
mod2Num_Lock (0x4d)
mod3  
mod4Super_L (0x7f),  Hyper_L (0x80)
mod5Mode_switch (0x5d),  ISO_Level3_Shift (0x71),  
ISO_Level3_Shift (0x7c)

This output states that Num_Lock toggles mod2 - is this the Num mode?
I checked it through this command:

% xmodmap -e add mod2 = Num_Lock

Ha! Pressing this key toggles Num now. Fine. No, not fine. Problem: The
keys on the left as well as the 2nd row of function keys does not work
anymore. If I switch off Num, they work again. Huh? I didn't have that
on the Sun keyboard, there using the keys on the left (which I assigned
F13 .. F27) always worked, no matter if Num was on or off.

However, xev tells me that the correct symbols are emitted when I press
the key, but the actions that have been assigned don't work anymore. So,
for example, F13 doesn't launch Opera anymore.

KeyPress event, serial 27, synthetic NO, window 0x181,
root 0x73, subw 0x0, time 1285459063, (175,3), root:(362,537),
state 0x10, keycode 181 (keysym 0xffca, F13), same_screen YES,
XLookupString gives 0 bytes: 
XmbLookupString gives 0 bytes: 
XFilterEvent returns: False

But when I turn Num off and press F13, it works again. And as I said, I
didn't have such kind of behaviour with the Sun model. Basically, I'm
doing the same.

What am I doing wrong here? What am I missing? Ideas, anyone? =^_^=



PS. Follow-up question: What 

Re: Bridge network device for VirtualBox

2009-07-05 Thread Beat Gaetzi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

Doug Poland wrote:
 Hello,
 
 I'm experimenting with the new VirtualBox port and wand to implement a
 bridged network interface on the FreeBSD host.  Could someone point me
 to some docs that may assist me? 

Only NAT networking is available at the moment. I've updated the wiki
page a few minutes ago with some other not working features:
http://wiki.freebsd.org/VirtualBox

Maybe this helps.

Beat
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.10 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpRD50ACgkQQMW893dCSds8tgCeKo/KfNf6hFxFoukleDz8VMUY
u5IAn2Y2ehvs3xp1cYOTDPQ6AzWhDjRu
=8h0U
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to do a live migration of a freebsd box to another box with rsync

2009-07-05 Thread perryh
insrc informatique@gmail.com wrote:

 it seems that i've to use a BSD liveCD but i can't find one :-/

www.freesbie.org

The site is not responding for me ATM, but the text is cached here:
http://74.125.155.132/search?q=cache:WjK0Anp5tb4J:www.freesbie.org/+freesbie+freebsdhl=engl=usstrip=1
___
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: Bridge network device for VirtualBox

2009-07-05 Thread Martin Wilke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, Jul 05, 2009 at 03:10:07PM -0500, Doug Poland wrote:
 Hello,
 
 I'm experimenting with the new VirtualBox port and wand to implement a 
 bridged network interface on the FreeBSD host.  Could someone point me 
 to some docs that may assist me?  BTW, the handbook advanced networking 
 section, 
 http://www.freebsd.org/doc/en/books/handbook/network-bridging.html, 
 doesn't seem to apply to this application.

That's true, bridge network isn't ported yet:

http://wiki.freebsd.org/VirtualBox

- - Martin

 
 Thanks!
 
 -- 
 Regards,
 Doug
 ___
 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
 

- -- 

+---+---+
|  PGP: 0xB1E6FCE9  |  Jabber : miwi(at)BSDCrew.de  |
|  Skype  : splash_111  |  Mail   : miwi(at)FreeBSD.org |
+---+---+
|   Mess with the Best, Die like the Rest!  |
+---+---+
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (FreeBSD)

iEYEARECAAYFAkpREq4ACgkQdLJIhLHm/OkubACgvqZSvG+ovtKM6KPT1apj/S2X
N4IAnRxXx+j8TCoDTQNDD+lqzmJO3HtT
=S5KO
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: can't get atheros ar2413 to connect under freebsd 7.2

2009-07-05 Thread Paul B. Mahol
On 7/5/09, Atheer Elobadi atheer.elob...@gmail.com wrote:
 please .. someone ..

Data you provided is worthless.

-- 
Paul
___
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: can't get atheros ar2413 to connect under freebsd 7.2

2009-07-05 Thread Atheer Elobadi
what data should i provide.. i'm sorry... but i'm new at this

On Sun, Jul 5, 2009 at 11:17 PM, Paul B. Mahol one...@gmail.com wrote:

 On 7/5/09, Atheer Elobadi atheer.elob...@gmail.com wrote:
  please .. someone ..

 Data you provided is worthless.

 --
 Paul

___
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: SanDisk FreeBSD 7.2 p1 install

2009-07-05 Thread Al Plant

Al Plant wrote:

Al Plant wrote:

Aloha,

Thanks for the help from the list on installing FreeBSD 7.2 on a 
Sandisk USB Flash drive. I was able to install the basic FreeBSD files 
and it rebooted. I used the 7.2 that Manolis created. However there 
were errors with trying to load the install for xorg. This new xorg is 
the same version that I have not been able to get to work on my test 
box either with a regular HDD.


That said everything else seems to be there as expected. Thanks for 
that p1 version for speeding up a default install.


I have the test box trying to load an xorg from the main server to 
correct this issue for me. I will report on if that cures the problem. 
On the download of 7.2 p1 it said CD-DVD iso. but I think the file is 
too big for a CD. The only errors were about xorg and associated libs. 
Can anyone enlighten me on this?.


Again thanks to the FreeBSD list support we are making progress.


~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

___
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



###

Aloha...

I was able to install Xorg and xfce on the HP Mini under FreeBSD 7.2 
Sysinstall from main FreeBSD server.


Mouse (touch pad) works as root just fine on the screen under Sysinstall 
tester, but not as user under Xorg. Anybody had success with getting 
touchpad mouse to work on a netbook. This HP Mini is similar to Ausus EEE.




~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

___
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





Aloha Gurus

SOLVED;
HP Mini xorg. with XFCE 3.

If you set hald_enable=YES and dbus_enable=YES
in /etc/rc.conf it finds and sets the correct settings and the mouse 
works. Hal is improving nicely. Thanks.


I discovered that in the HP Mini netbook FreeBSD 7.2 unfortunately does 
not recognize the Nic's either hard wired or Wlan. Anone know how to 
find what nics are in this HP MIni? There are no instructions about this 
with the unit. And I have had no help on the HP Forums.


Any body know how I can detect these chips under FreeBSD 7.2.

Thanks

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

___
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: SanDisk FreeBSD 7.2 p1 install

2009-07-05 Thread Polytropon
On Sun, 05 Jul 2009 11:46:15 -1000, Al Plant n...@hdk5.net wrote:

 I discovered that in the HP Mini netbook FreeBSD 7.2 unfortunately does 
 not recognize the Nic's either hard wired or Wlan. Anone know how to 
 find what nics are in this HP MIni? There are no instructions about this 
 with the unit. And I have had no help on the HP Forums.
 
 Any body know how I can detect these chips under FreeBSD 7.2.

The command

# pciconf -lv

should list you all the devices the kernel detects, no matter if
a driver is attached (means: will usually work then) or not.



-- 
Polytropon
From 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: Num Lock key in X, PF keys, involves xmodmap, xev

2009-07-05 Thread Polytropon
Additional information, just recognized:

When Num Lock is on (as described in my first message), some window
manager functions don't work anymore: When doubleclicking on a title
bar, the window does not roll up. When pressing Alt and dragging a
window with the left mouse button, the window does not move. If
Num Lock is switched off, it works as intended. With Num Lock on,
other things still work, such as pressing Ctrl and Shift and double-
clicking on the title bar maximizes the window (Ctrl alone maximizes
vertically, and Shift horizontally). Pressing Alt and clicking left
on the title bar sets the window into the background. (For most of
these functionalities, I'd like to use the 2x5 keys on the left as
I did it with the Sun keyboard.)


-- 
Polytropon
From 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: VT100 FreeBSD spreadsheet with data manipulation connections

2009-07-05 Thread Kelly Jones
On 7/4/09, Bill Campbell free...@celestial.com wrote:
 On Fri, Jul 03, 2009, Kelly Jones wrote:
I'm looking for a command-line (VT100) FreeBSD spreadsheet that has
data manipulation connections.

 One that I have used off and on for years is ``sc''.  It's
 simple, and stores data in fairly simple ascii files.

Does sc have 'hooks' that let it read cell values from other
applications and/or run commands when a cell value is updated?

-- 
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


SOLVED (Re: X Terminals problem)

2009-07-05 Thread Leonardo M . Ramé

The problem was a vimrc copied from a Windows machine to 
/usr/local/share/vim/vimrc containing this long statusline:

set statusline=%F%m%r%h%w\ [FORMAT=%{ff}]\ [TYPE=%Y]\ [ASCII=\%03.3b]\ 
[HEX=\%02.2B]\ [POS=%04l,%04v][%p%%]\ [LEN=%L] 
set laststatus=2
 Leonardo M. Ramé
http://leonardorame.blogspot.com



- Original Message 
From: Leonardo M. Ramé martinr...@yahoo.com
To: freebsd-questions@freebsd.org
Sent: Saturday, July 4, 2009 12:17:48 PM
Subject: X Terminals problem


In my newly installed 7.2-STABLE, any X Terminal (xterm, xfce's Terminal, 
eterm,...) is working in the wrong way, specially while I use vim (v. 7.2.209) 
in text mode (gvim works ok), it can't scroll, when I try to move the cursor 
after the last line on the screen, the status bar shows that the position is 
changing, but the screen doesn't scrolls.

Another issue is if I write a long line in the X terminal, instead of adding a 
LF at the end and continuing in the next line, it starts at the beginning of 
the same line.

My system's data:

uname -a: 
FreeBSD inspiron.local 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 
UTC 2009r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

Xorg -version:
X.Org X Server 1.6.0
Release Date: 2009-2-25
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 7.2-PRERELEASE i386 

env:
SSH_AGENT_PID=1128
GLADE_PIXMAP_PATH=:
TERM=xterm
SHELL=/bin/bash
WINDOWID=25165828
USER=martin
GLADE_MODULE_PATH=:
SSH_AUTH_SOCK=/tmp/ssh-DCZmP4l6vx/agent.1127
SESSION_MANAGER=local/inspiron.local:/tmp/.ICE-unix/1136,inet6/inspiron.local:54435,inet/inspiron.local:54631
PAGER=/usr/bin/less
FTP_PASSIVE_MODE=YES
MAIL=/var/mail/martin
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/martin/bin
BLOCKSIZE=K
PWD=/usr/home/martin/doc
EDITOR=/usr/local/bin/vim
SHLVL=1
HOME=/home/martin
GTK_PATH=:/usr/local/lib/gtk-2.0
LOGNAME=martin
XDG_DATA_DIRS=/usr/share:/usr/local/share
DBUS_SESSION_BUS_ADDRESS=unix:path=/var/tmp/dbus-g7d508SA96,guid=4488a97081aa02f88f1101ab4a4f700b
WINDOWPATH=9
DISPLAY=:0.0
GLADE_CATALOG_PATH=:
LIBGLADE_MODULE_PATH=:/usr/local/lib/libglade/2.0
COLORTERM=Terminal
_=/usr/bin/env
OLDPWD=/usr/home/martin


Does anyone faced the same problems?, any workaround?.

Leonardo M. Ramé
http://leonardorame.blogspot.com




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




___
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: can't get atheros ar2413 to connect under freebsd 7.2

2009-07-05 Thread Paul B. Mahol
On 7/5/09, Atheer Elobadi atheer.elob...@gmail.com wrote:
 what data should i provide.. i'm sorry... but i'm new at this

Run wpa_supplicant with debug flags ...
Try with wlandebug(8) if it is not PBKAC.

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


Speeding up Xorg on Dell Inspiron 1525

2009-07-05 Thread Leonardo M . Ramé

I'm running 7.2-RELEASE i386 on a Dell Inspiron 1525. This laptop has an Intel 
GM965 Mobile graphics card, and while X performance is acceptable, it feels 
slow compared to Windows XP installed on another partition on the same machine.

Does anyone has this same computer? What can I do to improve the performance of 
X?.

These are the relevant parts of my xorg.conf:

Section Module
Load  dbe
Load  dri
Load  dri2
Load  extmod
Load  glx
Load  record
Load  freetype
EndSection

Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
Option  DRI  true# [bool]
Option  RenderAccel true
Option  AGPFastWrite  on
OptionUseFBDev true
VideoRam32000
Identifier  Card0
Driver  intel
VendorName  Intel Corporation
BoardName   Mobile GM965/GL960 Integrated Graphics Controller
BusID   PCI:0:2:0
EndSection


 Leonardo M. Ramé
http://leonardorame.blogspot.com



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


Re: Num Lock key in X, PF keys, involves xmodmap, xev

2009-07-05 Thread Paul B. Mahol
On 7/5/09, Polytropon free...@edvax.de wrote:
 Additional information, just recognized:

 When Num Lock is on (as described in my first message), some window
 manager functions don't work anymore: When doubleclicking on a title
 bar, the window does not roll up. When pressing Alt and dragging a
 window with the left mouse button, the window does not move. If
 Num Lock is switched off, it works as intended. With Num Lock on,
 other things still work, such as pressing Ctrl and Shift and double-
 clicking on the title bar maximizes the window (Ctrl alone maximizes
 vertically, and Shift horizontally). Pressing Alt and clicking left
 on the title bar sets the window into the background. (For most of
 these functionalities, I'd like to use the 2x5 keys on the left as
 I did it with the Sun keyboard.)

Functionality you are seeking is trivial in fvwm2 case.
There is IgnoreModifiers [L][2][5] command.

In syscons(4) case available functionality is somehow limited ...

-- 
Paul
___
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: SanDisk FreeBSD 7.2 p1 install

2009-07-05 Thread Al Plant

Polytropon wrote:

On Sun, 05 Jul 2009 11:46:15 -1000, Al Plant n...@hdk5.net wrote:

I discovered that in the HP Mini netbook FreeBSD 7.2 unfortunately does 
not recognize the Nic's either hard wired or Wlan. Anone know how to 
find what nics are in this HP MIni? There are no instructions about this 
with the unit. And I have had no help on the HP Forums.


Any body know how I can detect these chips under FreeBSD 7.2.


The command

# pciconf -lv

should list you all the devices the kernel detects, no matter if
a driver is attached (means: will usually work then) or not.




Aloha,

Thank you...

Yes, that works and shows I have BCM4310 wireless controller.

I am new to wireless nic's .
How do I load the driver or set this to work under FreeBSD?

This FreeBSD is working from a Flash Drive USB using the 7.2 down load 
that Manolis made for us. The main drive has linux on it and it works 
with the wlan so I think it will work once I figure how to make FreeBSD 
see and use it.


 ~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to do a live migration of a freebsd box to another box with rsync

2009-07-05 Thread Bertram Scharpf
Hi,

Am Sonntag, 05. Jul 2009, 18:18:03 +0200 schrieb insrc:
 - as the UFS write support is still experimental in the Linux kernel, it
 seems that i've to use a BSD liveCD but i can't find one :-/ I heard about
 frenzy ( http://frenzy.org.ua/en/ ) but the homepage says that the project
 is no longer maintained !

There is a livefs with the original ISO images:

  ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/7.2/

I further found DesktopBSD but I didn't try that.

I strongly recommend that you build yourself an USB stick.
Here's what you need to do:

  
http://typo.submonkey.net/articles/2006/4/13/installing-freebsd-on-usb-stick-episode-2

I went forth, chrooted into the stick and installed Vim, some
diagnose/repair tools and an XFCE. I even managed to install Grub
and let the user switch the boot process back to the hard disk.
Further, I made a second partition named transfer formatted with
FAT so that I can write some data from a Windows to it.

I look enviously at the Grml project and I find it a great pity
that there is no BSD equivalent.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
___
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: X Terminals problem

2009-07-05 Thread Erich Dollansky
Hi,

On 04 July 2009 pm 23:17:48 Leonardo M. Ramé wrote:
 In my newly installed 7.2-STABLE, any X Terminal (xterm, xfce's

did you install from CD?

I upgraded and I did not have this problem.

If nothing helps, install 7.1 from CD and do an upgrade via 
sources.

I faced others I have solved afterwards.

See my mail regarding dbus and hal.

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


Urgent help needed : portmaster dies on py-cairo

2009-07-05 Thread Manish Jain


Hi,

This is not a portmaster problem, but a problem of getting py-cairo 
to build following an update in the ports directory.


3 days back I ran 'portsnap fetch extract'. Then yesterday I ran 
'portsnap fetch update' followed immediately by 'portmaster -a -B'


After 3-4 hours, portsnap died on graphics/py-cairo saying :
cannot find python headers

/usr/ports/graphics/py-cairo/work/pycairo-1.8.4/config.log says :
configure:4734: cc -E -I/usr/local/include conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:4741: $? = 1


cd /usr
find . -name 'ac_nonexistent.h'
#no results

py-cairo-1.8.4 needs python2.6. My system has both python2.5 and 
python2.6 installed, with their headers under 
/usr/local/include/python2.5 and /usr/local/include/python2.6 
respectively.


Any help on enabling py-cairo locate the python headers would be 
greatly appreciated.


My system is totally messed up, half of it updated by portmaster and 
the other half waiting for the update once py-cairo can locate the 
python headers.


--
Regards
Manish Jain
invalid.poin...@gmail.com

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


Re: SanDisk FreeBSD 7.2 p1 install

2009-07-05 Thread Al Plant

Al Plant wrote:

Polytropon wrote:

On Sun, 05 Jul 2009 11:46:15 -1000, Al Plant n...@hdk5.net wrote:

I discovered that in the HP Mini netbook FreeBSD 7.2 unfortunately 
does not recognize the Nic's either hard wired or Wlan. Anone know 
how to find what nics are in this HP MIni? There are no instructions 
about this with the unit. And I have had no help on the HP Forums.


Any body know how I can detect these chips under FreeBSD 7.2.


The command

# pciconf -lv

should list you all the devices the kernel detects, no matter if
a driver is attached (means: will usually work then) or not.




Aloha,

Thank you...

Yes, that works and shows I have BCM4310 wireless controller.

I am new to wireless nic's .
How do I load the driver or set this to work under FreeBSD?

This FreeBSD is working from a Flash Drive USB using the 7.2 down load 
that Manolis made for us. The main drive has linux on it and it works 
with the wlan so I think it will work once I figure how to make FreeBSD 
see and use it.


 ~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol
___
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



#

Aloha,

I read that the kernel module ndis0 work with wireless devices.

Where do I get the original W32 driver.inf for the Broadcom 4310 wireless?


~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

___
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: Bridge network device for VirtualBox

2009-07-05 Thread Doug Poland
On Sun, Jul 05, 2009 at 10:39:57PM +0200, Beat Gaetzi wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi,
 
 Doug Poland wrote:
  Hello,
  
  I'm experimenting with the new VirtualBox port and wand to implement a
  bridged network interface on the FreeBSD host.  Could someone point me
  to some docs that may assist me? 
 
 Only NAT networking is available at the moment. I've updated the wiki
 page a few minutes ago with some other not working features:
 http://wiki.freebsd.org/VirtualBox
 
 Maybe this helps.
 
Thanks for the heads-up.  

-- 
Regards,
Doug
___
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: Bridge network device for VirtualBox

2009-07-05 Thread Doug Poland

Martin Wilke wrote:

-BEGIN PGP SIGNED MESSAGE-
On Sun, Jul 05, 2009 at 03:10:07PM -0500, Doug Poland wrote:

Hello,

I'm experimenting with the new VirtualBox port and wand to implement a 
bridged network interface on the FreeBSD host.  Could someone point me 
to some docs that may assist me?  BTW, the handbook advanced networking 
section, 
http://www.freebsd.org/doc/en/books/handbook/network-bridging.html, 
doesn't seem to apply to this application.


That's true, bridge network isn't ported yet:

http://wiki.freebsd.org/VirtualBox

Thanks for the heads up.  I look forward to trying out the port when 
it's ready.


--
Regards,
Doug
___
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


how to enable PAE?

2009-07-05 Thread tang huu trong
Dear all.
i installed FreeBSD 6.4 (version 32bit) to my server with memory 8GB. now i
want enable function PAE (physical address extension) in FreeBSD to support
8GB RAM of my server. Please give me a intruction (step by step). cause i am
new of freebsd. thanks you very much.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to enable PAE?

2009-07-05 Thread Glen Barber
On Sun, Jul 5, 2009 at 10:56 PM, tang huu tronghuutr...@gmail.com wrote:
 Dear all.
 i installed FreeBSD 6.4 (version 32bit) to my server with memory 8GB. now i
 want enable function PAE (physical address extension) in FreeBSD to support
 8GB RAM of my server. Please give me a intruction (step by step). cause i am
 new of freebsd. thanks you very much.

Build the PAE kernel.

Read the handbook.  It is already documented, step-by-step.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html

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


Re: Urgent help needed : portmaster dies on py-cairo

2009-07-05 Thread b. f.
Manish Jain wrote:

After 3-4 hours, portsnap died on graphics/py-cairo saying :
cannot find python headers

I'm guessing you meant portmaster died here ...

/usr/ports/graphics/py-cairo/work/pycairo-1.8.4/config.log says :
configure:4734: cc -E -I/usr/local/include conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:4741: $? = 1


cd /usr
find . -name 'ac_nonexistent.h'
#no results

As the name suggests, this header doesn't really exist.  It's just a
dummy header used during a test in the configure script to see how the
compiler reacts when a header isn't there, in preparation for testing
for the presence of real headers.  That shouldn't be the problem: are
you sure the configure script really failed at that point?  If so,
something is probably wrong with your compiler or toolchain, and
that's usually bad news. :(

py-cairo-1.8.4 needs python2.6. My system has both python2.5 and
python2.6 installed, with their headers under
/usr/local/include/python2.5 and /usr/local/include/python2.6
respectively.

Why do you have both versions installed?  2.6 is  largely
backwards-compatible with 2.5, so why not just rip out 2.5 and use 2.6
exclusively?  You'll save some trouble and disk space. Make sure your
ports tree is up-to-date, so that PYTHON_DEFAULT_VERSION defaults to
python2.6.  Then deinstall lang/python25 and reinstall lang/python26.
In particular, check to see that /usr/local/bin/python is present is a
link to /usr/local/bin/python2.6.  If it isn't, then something is
wrong -- perhaps you have PYTHON_VERSION or PYTHON_DEFAULT_VERSION
defined to the wrong value, or your ports tree is corrupt.  Then
rebuild all of the ports that depend upon python, and remove any
vestige of the old /usr/local/lib/python2.5 directory tree. If you've
stale ports that are still wired to use python2.5 for no good reason,
you can patch them or their port Makefiles, or put a workaround in
make.conf.

Any help on enabling py-cairo locate the python headers would be
greatly appreciated.

What is the output of:

make -C /usr/ports/graphics/py-cairo -V CONFIGURE_ENV

If PYTHON is in there, properly defined as the path to the python2.6
binary, and the binary actually exists, then the configure script
should succeed. If not, something is wrong.  The configure script
uses:

PYTHON_INCLUDES=`$PYTHON-config --includes 2/dev/null` to find the
proper Python.h.  Is /usr/local/bin/python2.6-config missing or broken
on your system?  What about /usr/local/include/python2.6/Python.h?

b.
___
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: error when complie kernel.

2009-07-05 Thread Glen Barber
On Sun, Jul 5, 2009 at 11:53 PM, tang huu tronghuutr...@gmail.com wrote:
 Dear all.

 i got a problem while complie my kernel to support PAE. below is my process.

 1 - cp /usr/src/sys/i386/GENERIC /root/kernels/MYKERNEL
 2 - cd /usr/src/sys/i386
 3 - ln -s /root/kernels/MYKERNEL
 4 - vi /usr/src/sys/i386/MYKERNEL
 5 - add line options      PAE

If you read the kernel config for PAE, you would notice there are some
options that are unavailable in the PAE kernel. Please reread the
kernel config and adjust accordingly.

Or, in your custom kernel config, add 'include PAE'.


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


error when complie kernel.

2009-07-05 Thread tang huu trong
Dear all.

i got a problem while complie my kernel to support PAE. below is my process.

1 - cp /usr/src/sys/i386/GENERIC /root/kernels/MYKERNEL
2 - cd /usr/src/sys/i386
3 - ln -s /root/kernels/MYKERNEL
4 - vi /usr/src/sys/i386/MYKERNEL
5 - add line options  PAE
6 - save configure file.
7 - cd /usr/src
8 - make buildkernel KERNCONF=MYKERNEL

and system start to complie the kernel, but i got the error like this while
complie:

/usr/src/sys/dev/advansys/advansys.c: In function `adv_action':
/usr/src/sys/dev/advansys/advansys.c:260: warning: cast from pointer to
integer of different size
*** Error code 1
Stop in /usr/obj/usr/src/sys/MYKERNEL.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.


please help me fix this. thanks you very much.
___
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


good morning to all

2009-07-05 Thread malathi selvaraj
 i have any error like  this enter the full path of shell or RETURN fr
/bin/sh:
after that i reinstall freebsd. and it will working, but now system is not
boot, it show error unable to load a kernel ..



Thanks in advance
S.MALATHI
___
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: good morning to all

2009-07-05 Thread Aryeh M. Friedman

malathi selvaraj wrote:

 i have any error like  this enter the full path of shell or RETURN fr
/bin/sh:
after that i reinstall freebsd. and it will working, but now system is not
boot, it show error unable to load a kernel ..



Thanks in advance
S.MALATHI
___
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

  

did you recompile the kernel?
___
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