Re: From Arthur Sentsov - Questions from beginner

2010-05-13 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 13/05/2010 05:41:47, Artur Sentsov wrote:

 1. I have freebsd server running apache and mysql. In logs i see around 100
 attempts to hack the server. Is that normal? what i have to do that after
 three wrong attempts to enter password server will block ip address?!

Do you mean attacks against the web server?

Automated web probes attempting to exploit various security flaws are,
I'm afraid, completely normal nowadays.  The good news is that most of
the probe attempts are aimed at other operating systems, and could never
work on FreeBSD.  Even so, you should take care to apply any available
security patches promptly.  Unfortunately there aren't many good ways to
automatically block bruteforce attacks against web applications -- too
many different ways of implementing passwords in different web apps.
Use good passwords basically.

 2. I use SSH to sonnect to server and work on it! Is that secure?

On the other hand, do you mean attempts to bruteforce attacks against
ssh?  Again, this is unfortunately normal on the web nowadays.

Yes, ssh is generally secure.  It's certainly better than alternative
means of remote access.

If you have good passwords on your accounts, the chances of any attacker
being able to guess what they are is actually very remote.  So no need
to run about in a complete panic.  Take your time to read up on the
possible solutions and implement what works best for you.

One very simple means you can use to make it completely impossible for
any attacker to bruteforce an ssh password on you machine is to use key
based authentication instead: no passwords means no possibility of them
being guessed.  This will not stop bruteforce /attempts/ -- they are
usually done entirely automatically -- and the traces will still clog up
your log files, but you can safely ignore them.

This is a perennial topic on this list -- search the archives for many,
many reiterations of people giving realms of good advice about what to
do to defend yourself.

 3. How to setup SAMBA on server?! I want my users to be able to upload files
 and download files from their folder. Users use windows.

Well, install the one of the samba ports -- net/samba34 is probably your
best bet -- and read the very good documentation that comes with it.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvrlTQACgkQ8Mjk52CukIzQWwCePA1dH42HG4DH+yI9wkrUOXrq
M2IAn1B19pICPnD6F47CPYDXQptq4Aad
=dCkW
-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: [#24495324] From Arthur Sentsov - Questions from beginner

2010-05-13 Thread dedicated
Hi, 

Please let us know if there is anything that we could assist you with, thanks. 
-- 
Best Regards

Ramon
Server engineer
Hosting Services, Inc.

___
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 ATH VAP

2010-05-13 Thread Gaurang Pandya
Hi,

I have tplink-wn551G wireless adapter which is ath based, I am successfully 
able to configure two VAPs with that with one being WPA protected and another 
for Guest which is open. 

But I can use any of VAP in my station (laptop) only when both are configured 
in that, and not otherwise. What I mean is If I want guest to use open VAP, 
then I have to configure protected one also in his laptop, only then he will be 
able to use either of VAPs. Not sure If I am missing some thing.  Here are 
snippets from my config.

Do I have to change BSSID, if so, how?  Am not able to do with either of 
wlanbssid or wlanaddr or bssid in either create_args or ifconfig line of 
rc.conf. I have also tried without any BSSID options for both the interfaces, 
which also fails to work.

Initially I have kept them in hidden mode, will un-hide open one when I am sure 
it works as per my requirement.

Any help is much appreciated.

Thanks  Regards,

Gaurang.

 uname -a
FreeBSD mybox 8.0-STABLE FreeBSD 8.0-STABLE #0: Thu May  6 23:43:30 UTC 2010 
r...@mybox:/usr/obj/usr/home/FreeBSD/RELEASE-8/src/src/sys/GENWITHALTQ  i386

 grep wlan /etc/rc.conf
wlans_ath0=wlan0 wlan1
vaps_ath0=wlan0 wlan1
create_args_wlan0=wlanmode ap wlanbssid 00:11:22:33:44:55 ssid Protected 
channel 5
create_args_wlan1=wlanmode ap bssid ssid open channel 6
ifconfig_wlan0=inet 10.1.1.1 netmask 255.255.255.248 hidessid
ifconfig_wlan1=inet 10.1.2.1 netmask 255.255.255.252 hidessid

 ifconfig wlan0

wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
ether 00:27:19:d1:01:6d
inet 10.1.1.1 netmask 0xfff8 broadcast 10.1.1.7
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap
status: running
ssid Protected channel 6 (2437 MHz 11g) bssid 00:27:19:d1:01:6d
regdomain 32924 country CN indoor ecm authmode WPA privacy MIXED
deftxkey 2 TKIP 2:128-bit txpower 20 scanvalid 60 protmode CTS wme
burst hidessid dtimperiod 1 -dfs
 ifconfig wlan1
wlan1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
ether 06:27:19:d1:01:6d
inet 10.1.2.1 netmask 0xfffc broadcast 10.1.2.3
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap
status: running
ssid open channel 6 (2437 MHz 11g) bssid 06:27:19:d1:01:6d
regdomain 32924 country CN indoor ecm authmode OPEN privacy OFF
txpower 20 scanvalid 60 protmode CTS wme burst hidessid dtimperiod 1
-dfs

 dmesg | grep ath
ath0: Atheros 2413 mem 0xed00-0xed00 irq 22 at device 10.0 on pci1
ath0: [ITHREAD]
ath0: AR2413 mac 7.8 RF2413 phy 4.5

 cat /etc/hostapd.conf
interface=wlan0
debug=1
ctrl_interface=/var/run/hostapd
ctrl_interface_group=wheel
ssid=Protected
wpa=1
wpa_passphrase=Ofcourse-This-is-Not-Key
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP TKIP


  
___
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: 7.3-RELEASE: unable to compile custom kernel

2010-05-13 Thread Jiansong Liu
Try to compile it again without the -j option, will help to figure out
where is going wrong exactly.

Cheers,
Jiansong




On Wed, May 12, 2010 at 5:50 PM, Antonio Kless antoniok@gmail.com wrote:
 Hello. I trying to build custom kernel to enable packet-filter.

 # uname -a
 FreeBSD host.net 7.3-RELEASE FreeBSD 7.3-RELEASE #0: Sun Mar 21 05:25:24 UTC
 2010     r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

 # export
 declare -x BLOCKSIZE=K
 declare -x FTP_PASSIVE_MODE=YES
 declare -x HISTCONTROL=ignorespace
 declare -x HOME=/root
 declare -x LOGNAME=root
 declare -x MAIL=/var/mail/root
 declare -x MC_CONTROL_FILE=/tmp/mc.822.control
 declare -x MC_CONTROL_PID=822
 declare -x OLDPWD=/usr/src/sys/amd64
 declare -x PAGER=more
 declare -x
 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
 declare -x PWD=/usr/src/sys/amd64/conf
 declare -x SHELL=/usr/local/bin/bash
 declare -x SHLVL=2
 declare -x SSH_CLIENT=my ip
 declare -x SSH_CONNECTION=my ip
 declare -x SSH_TTY=/dev/ttyp0
 declare -x TERM=xterm
 declare -x USER=root

 # pwd
 /usr/src/sys/amd64/conf

 # diff GENERIC
 ALTERKERN

 22c22

  ident
 GENERIC

 ---

 ident
 ALTERKERN

 43c43

  options       NFS_ROOT                # NFS usable as /, requires
 NFSCLIENT

 ---

 #options      NFS_ROOT                # NFS usable as /, requires
 NFSCLIENT

 76a77,92

 #
 PF

 device          pf              # enable PF OpenBSD packet-filter
 firewall

 device          pflog           # logging support interface for
 PF

 device          pfsync          # Synchronization interface for
 PF

 device          carp            # Common Address Redundancy
 Protocol



 # PF traffic
 shaper

 options
 ALTQ

 options         ALTQ_CBQ        # Class Bases
 Queueing

 options         ALTQ_RED        # Random Early
 Detection

 options         ALTQ_RIO        # RED
 In/Out

 options         ALTQ_HFSC       # Hierarchical Packet
 Scheduler

 options         ALTQ_CDNR       # Traffic
 conditioner

 options         ALTQ_PRIQ       # Priority
 Queueing

 options         ALTQ_NOPCC      # Required for SMP
 build



 238,252c254,268

  device                wlan            # 802.11
 support

  device                wlan_wep        # 802.11 WEP
 support

  device                wlan_ccmp       # 802.11 CCMP
 support

  device                wlan_tkip       # 802.11 TKIP
 support

  device                wlan_amrr       # AMRR transmit rate control
 algorithm

  device                wlan_scan_ap    # 802.11 AP mode
 scanning

  device                wlan_scan_sta   # 802.11 STA mode scanning
  device                an              # Aironet 4500/4800 802.11 wireless
 NICs.
  device                ath             # Atheros pci/cardbus NIC's
  device                ath_hal         # Atheros HAL (Hardware Access
 Layer)
  options               AH_SUPPORT_AR5416       # enable AR5416 tx/rx
 descriptors
  device                ath_rate_sample # SampleRate tx rate control for ath
  device                awi             # BayStack 660 and others
  device                ral             # Ralink Technology RT2500 wireless
 NICs.
  device                wi              # WaveLAN/Intersil/Symbol 802.11
 wireless NICs.
 ---
 #device               wlan            # 802.11 support
 #device               wlan_wep        # 802.11 WEP support
 #device               wlan_ccmp       # 802.11 CCMP support
 #device               wlan_tkip       # 802.11 TKIP support
 #device               wlan_amrr       # AMRR transmit rate control
 algorithm
 #device               wlan_scan_ap    # 802.11 AP mode scanning
 #device               wlan_scan_sta   # 802.11 STA mode scanning
 #device               an              # Aironet 4500/4800 802.11 wireless
 NICs.
 #device               ath             # Atheros pci/cardbus NIC's
 #device               ath_hal         # Atheros HAL (Hardware Access
 Layer)
 #options              AH_SUPPORT_AR5416       # enable AR5416 tx/rx
 descriptors
 #device               ath_rate_sample # SampleRate tx rate control for ath
 #device               awi             # BayStack 660 and others
 #device               ral             # Ralink Technology RT2500 wireless
 NICs.
 #device               wi              # WaveLAN/Intersil/Symbol 802.11
 wireless NICs.

 # cd ../../../  make -j16 buildkernel KERNCONF=ALTERKERN
 ...snip...
 === zyd
 (all)

 cc -O2 -fno-strict-aliasing -pipe  -D_KERNEL -DKLD_MODULE -std=c99
 -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include
 /usr/obj/usr/src/sys/ALTERKERN/opt_global.h -I. -I@ -I@/contrib/altq
 -finline-limit=8000 --param inline-unit-growth=100 --param
 large-function-growth=1000 -fno-common -g -fno-omit-frame-pointer
 -I/usr/obj/usr/src/sys/ALTERKERN -mcmodel=kernel -mno-red-zone  -mfpmath=387
 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float
 -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls
 -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 

Re: From Arthur Sentsov - Questions from beginner

2010-05-13 Thread Pekka Niiranen

Matthew Seaman wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 13/05/2010 05:41:47, Artur Sentsov wrote:


1. I have freebsd server running apache and mysql. In logs i see around 100
attempts to hack the server. Is that normal? what i have to do that after
three wrong attempts to enter password server will block ip address?!


Use pf -filter to collect attempts to a list. That list will then be 
used to block attempts in future (aka bruteforce option).



Do you mean attacks against the web server?

Automated web probes attempting to exploit various security flaws are,
I'm afraid, completely normal nowadays.  The good news is that most of
the probe attempts are aimed at other operating systems, and could never
work on FreeBSD.  Even so, you should take care to apply any available
security patches promptly.  Unfortunately there aren't many good ways to
automatically block bruteforce attacks against web applications -- too
many different ways of implementing passwords in different web apps.
Use good passwords basically.


2. I use SSH to sonnect to server and work on it! Is that secure?


On the other hand, do you mean attempts to bruteforce attacks against
ssh?  Again, this is unfortunately normal on the web nowadays.

Yes, ssh is generally secure.  It's certainly better than alternative
means of remote access.

If you have good passwords on your accounts, the chances of any attacker
being able to guess what they are is actually very remote.  So no need
to run about in a complete panic.  Take your time to read up on the
possible solutions and implement what works best for you.

One very simple means you can use to make it completely impossible for
any attacker to bruteforce an ssh password on you machine is to use key
based authentication instead: no passwords means no possibility of them
being guessed.  This will not stop bruteforce /attempts/ -- they are
usually done entirely automatically -- and the traces will still clog up
your log files, but you can safely ignore them.

This is a perennial topic on this list -- search the archives for many,
many reiterations of people giving realms of good advice about what to
do to defend yourself.


3. How to setup SAMBA on server?! I want my users to be able to upload files
and download files from their folder. Users use windows.


Well, install the one of the samba ports -- net/samba34 is probably your
best bet -- and read the very good documentation that comes with it.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard

  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvrlTQACgkQ8Mjk52CukIzQWwCePA1dH42HG4DH+yI9wkrUOXrq
M2IAn1B19pICPnD6F47CPYDXQptq4Aad
=dCkW
-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



___
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


Stop in /usr/ports/devel/qt4-assistant

2010-05-13 Thread Dino Vliet
Hi people,

I get this error when trying to install kde4 on my amd64 system. I had 
everything removed first (I didn't like the way I have installed it in the 
past) with pkg_delete -fxvir  kde and qt.

The error I get is:

Script started on Thu May 13 12:41:26 2010
cd /usr/ports/x11/kde4
weka# make install distclean

===   kde4-4.4.3 depends on file: /usr/local/kde4/bin/kdebugdialog - not found
===Verifying install for /usr/local/kde4/bin/kdebugdialog in 
/usr/ports/x11/kdebase4-runtime
===   kdebase-runtime-4.4.3 depends on executable: gmake - found
===   kdebase-runtime-4.4.3 depends on file: /usr/local/lib/qt4/libQtCore.so - 
found
===   kdebase-runtime-4.4.3 depends on file: /usr/local/lib/qt4/libQtDBus.so - 
found
===   kdebase-runtime-4.4.3 depends on file: /usr/local/bin/moc-qt4 - found
===   kdebase-runtime-4.4.3 depends on file: /usr/local/lib/qt4/libQtOpenGL.so 
- not found
===Verifying install for /usr/local/lib/qt4/libQtOpenGL.so in 
/usr/ports/x11/qt4-opengl
===   Returning to build of kdebase-runtime-4.4.3
===   kdebase-runtime-4.4.3 depends on file: /usr/local/lib/qt4/libphonon.so - 
not found
===Verifying install for /usr/local/lib/qt4/libphonon.so in 
/usr/ports/multimedia/phonon
===   Returning to build of kdebase-runtime-4.4.3
===   kdebase-runtime-4.4.3 depends on file: /usr/local/bin/qmake-qt4 - found
===   kdebase-runtime-4.4.3 depends on file: /usr/local/bin/rcc - found
===   kdebase-runtime-4.4.3 depends on file: /usr/local/bin/uic-qt4 - found
===   kdebase-runtime-4.4.3 depends on file: /usr/local/bin/automoc4 - not 
found
===Verifying install for /usr/local/bin/automoc4 in 
/usr/ports/devel/automoc4
===   Returning to build of kdebase-runtime-4.4.3
===   kdebase-runtime-4.4.3 depends on file: /usr/local/bin/cmake - found
===   kdebase-runtime-4.4.3 depends on shared library: xine.1 - found
===   kdebase-runtime-4.4.3 depends on shared library: slp.1 - found
===   kdebase-runtime-4.4.3 depends on shared library: attica.0 - found
===   kdebase-runtime-4.4.3 depends on shared library: ssh.4 - found
===   kdebase-runtime-4.4.3 depends on shared library: lzma.0 - found
===   kdebase-runtime-4.4.3 depends on shared library: intl - found
===   kdebase-runtime-4.4.3 depends on shared library: kimproxy.5 - not found
===Verifying install for kimproxy.5 in /usr/ports/x11/kdelibs4
===   kdelibs-4.4.3 depends on file: /usr/local/lib/libhspell.a - found
===   kdelibs-4.4.3 depends on file: 
/usr/local/share/ontology/core/rdf.ontology - found
===   kdelibs-4.4.3 depends on executable: gmake - found
===   kdelibs-4.4.3 depends on executable: bison - found
===   kdelibs-4.4.3 depends on file: /usr/local/bin/assistant-qt4 - not found
===Verifying install for /usr/local/bin/assistant-qt4 in 
/usr/ports/devel/qt4-assistant
===  Building for qt4-assistant-4.6.2
g++ 
-Wl,-rpath-link,/usr/ports/devel/qt4-assistant/work/qt-everywhere-opensource-src-4.6.2/lib
 -Wl,-O1 -pthread -Wl,-rpath,/usr/local/lib/qt4 -Wl,-rpath,/usr/local/lib/qt4 
-o ../../../../bin/assistant-qt4 .obj/release-shared/fontpanel.o  
.obj/release-shared/helpviewer.o  .obj/release-shared/main.o  
.obj/release-shared/mainwindow.o  .obj/release-shared/indexwindow.o  
.obj/release-shared/topicchooser.o  .obj/release-shared/contentwindow.o  
.obj/release-shared/searchwidget.o  .obj/release-shared/preferencesdialog.o  
.obj/release-shared/filternamedialog.o  .obj/release-shared/centralwidget.o  
.obj/release-shared/installdialog.o  .obj/release-shared/bookmarkmanager.o  
.obj/release-shared/remotecontrol.o  .obj/release-shared/cmdlineparser.o  
.obj/release-shared/aboutdialog.o  .obj/release-shared/qtdocinstaller.o  
.obj/release-shared/moc_fontpanel.o  .obj/release-shared/moc_helpviewer.o  
.obj/release-shared/moc_mainwindow.o 
 .obj/release-shared/moc_indexwindow.o  .obj/release-shared/moc_topicchooser.o  
.obj/release-shared/moc_contentwindow.o  .obj/release-shared/moc_searchwidget.o 
 .obj/release-shared/moc_preferencesdialog.o  
.obj/release-shared/moc_filternamedialog.o  
.obj/release-shared/moc_centralwidget.o  
.obj/release-shared/moc_installdialog.o  
.obj/release-shared/moc_bookmarkmanager.o  
.obj/release-shared/moc_remotecontrol.o  .obj/release-shared/moc_aboutdialog.o  
.obj/release-shared/moc_qtdocinstaller.o  .obj/release-shared/qrc_assistant.o  
.obj/release-shared/qrc_assistant_images.o-L/usr/local/lib/qt4 
-L/usr/ports/devel/qt4-assistant/work/qt-everywhere-opensource-src-4.6.2/lib 
-L/usr/local/lib 
-L/usr/ports/devel/qt4-assistant/work/qt-everywhere-opensource-src-4.6.2/plugins/sqldrivers
 -lQtHelp -L/usr/local/lib/qt4 
-L/usr/ports/devel/qt4-assistant/work/qt-everywhere-opensource-src-4.6.2/lib 
-L/usr/local/lib -lQtWebKit -lphonon -lQtXmlPatterns -lQtSql -lQtXml
 -lQtGui -lQtNetwork -lQtCore
/usr/bin/ld: cannot find -lQtHelp
*** Error code 1
1 error
*** Error code 1

Stop in /usr/ports/devel/qt4-assistant.
*** Error code 1

Stop in /usr/ports/x11/kdelibs4.
*** Error code 1

Stop in 

Re: 7.3-RELEASE: unable to compile custom kernel

2010-05-13 Thread Antonio Kless
# make buildkernel KERNCONF=ALTERKERN
...snip...
MAKE=make sh /usr/src/sys/conf/newvers.sh
ALTERKERN

cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99 -g -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign
-fformat-extensions -nostdinc  -I. -I/usr/src/sys
-I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100
--param large-function-growth=1000  -mcmodel=kernel -mno-red-zone
-mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -Werror
vers.c
linking
kernel.debug

if_ural.o(.text+0x74d): In function
`ural_free_tx_list':

/usr/src/sys/dev/usb/if_ural.c:627: undefined reference to
`ieee80211_free_node'

if_ural.o(.text+0x8fc): In function
`ural_detach':

/usr/src/sys/dev/usb/if_ural.c:567: undefined reference to
`ieee80211_ifdetach'

if_ural.o(.text+0xd8c): In function
`ural_attach':

/usr/src/sys/dev/usb/if_ural.c:499: undefined reference to
`ieee80211_init_channels'

if_ural.o(.text+0xd94):/usr/src/sys/dev/usb/if_ural.c:501: undefined
reference to
`ieee80211_ifattach'

if_ural.o(.text+0xdac):/usr/src/sys/dev/usb/if_ural.c:513: undefined
reference to
`ieee80211_media_status'

if_ural.o(.text+0xe04):/usr/src/sys/dev/usb/if_ural.c:513: undefined
reference to
`ieee80211_media_init'

if_ural.o(.text+0xe1d):/usr/src/sys/dev/usb/if_ural.c:515: undefined
reference to
`ieee80211_amrr_init'

if_ural.o(.text+0xe88):/usr/src/sys/dev/usb/if_ural.c:531: undefined
reference to
`ieee80211_announce'

if_ural.o(.text+0x112c): In function
`ural_raw_xmit':

/usr/src/sys/dev/usb/if_ural.c:2402: undefined reference to
`ieee80211_free_node'

if_ural.o(.text+0x1178):/usr/src/sys/dev/usb/if_ural.c:2408: undefined
reference to
`ieee80211_free_node'

if_ural.o(.text+0x1306):/usr/src/sys/dev/usb/if_ural.c:2438: undefined
reference to
`ieee80211_free_node'

if_ural.o(.text+0x156d): In function
`ural_set_chan':

/usr/src/sys/dev/usb/if_ural.c:1823: undefined reference to
`ieee80211_chan2ieee'

if_ural.o(.text+0x1d25): In function
`ural_start':

/usr/src/sys/dev/usb/if_ural.c:1486: undefined reference to
`ieee80211_find_txnode'

if_ural.o(.text+0x1d59):/usr/src/sys/dev/usb/if_ural.c:1493: undefined
reference to
`ieee80211_encap'

if_ural.o(.text+0x1f29):/usr/src/sys/dev/usb/if_ural.c:1503: undefined
reference to
`ieee80211_free_node'

if_ural.o(.text+0x1f58):/usr/src/sys/dev/usb/if_ural.c:1479: undefined
reference to
`ieee80211_cancel_scan'

if_ural.o(.text+0x1f7a):/usr/src/sys/dev/usb/if_ural.c:1366: undefined
reference to
`ieee80211_crypto_encap'

if_ural.o(.text+0x21c6):/usr/src/sys/dev/usb/if_ural.c:1495: undefined
reference to
`ieee80211_free_node'

if_ural.o(.text+0x22bd): In function
`ural_txeof':

/usr/src/sys/dev/usb/if_ural.c:882: undefined reference to
`ieee80211_process_callback'

if_ural.o(.text+0x233d):/usr/src/sys/dev/usb/if_ural.c:901: undefined
reference to
`ieee80211_free_node'

if_ural.o(.text+0x2c14): In function
`ural_amrr_update':

/usr/src/sys/dev/usb/if_ural.c:2508: undefined reference to
`ieee80211_amrr_choose'

if_ural.o(.text+0x2cd3): In function
`ural_media_change':

/usr/src/sys/dev/usb/if_ural.c:705: undefined reference to
`ieee80211_media_change'

if_ural.o(.text+0x2e03): In function
`ural_ioctl':

/usr/src/sys/dev/usb/if_ural.c:1578: undefined reference to
`ieee80211_ioctl'

if_ural.o(.text+0x3111): In function
`ural_task':

/usr/src/sys/dev/usb/if_ural.c:755: undefined reference to
`ieee80211_beacon_alloc'

if_ural.o(.text+0x3289):/usr/src/sys/dev/usb/if_ural.c:2450: undefined
reference to
`ieee80211_amrr_node_init'

if_ural.o(.text+0x3883): In function
`ural_rxeof':

/usr/src/sys/dev/usb/if_ural.c:990: undefined reference to
`ieee80211_find_rxnode'

if_ural.o(.text+0x38b2):/usr/src/sys/dev/usb/if_ural.c:993: undefined
reference to
`ieee80211_input'

if_ural.o(.text+0x38ba):/usr/src/sys/dev/usb/if_ural.c:996: undefined
reference to
`ieee80211_free_node'

if_ural.o(.text+0x21af): In function
`ural_start':

/usr/src/sys/dev/usb/if_ural.c:1461: undefined reference to
`ieee80211_free_node'

if_rum.o(.text+0x8ad): In function
`rum_free_tx_list':

/usr/src/sys/dev/usb/if_rum.c:668: undefined reference to
`ieee80211_free_node'

if_rum.o(.text+0xa7f): In function
`rum_detach':

/usr/src/sys/dev/usb/if_rum.c:607: undefined reference to
`ieee80211_ifdetach'

if_rum.o(.text+0x12d5): In function
`rum_attach':

/usr/src/sys/dev/usb/if_rum.c:508: undefined reference to
`ieee80211_init_channels'

if_rum.o(.text+0x12f4):/usr/src/sys/dev/usb/if_rum.c:540: undefined
reference to
`ieee80211_ifattach'

if_rum.o(.text+0x130c):/usr/src/sys/dev/usb/if_rum.c:552: undefined
reference to
`ieee80211_media_status'

if_rum.o(.text+0x1359):/usr/src/sys/dev/usb/if_rum.c:552: undefined
reference to
`ieee80211_media_init'


startx couldn't create cookie with custom kernel

2010-05-13 Thread Heshmat Ismail
I have built and installed a custom kernel on i386 machine with the
8-RELEASE then installed xorg from the DVD,when i ran startx i got:
couldn't create cookie.When using GENERIC kernel startx works
flawlessly,but with my custom kernel i got this error.

Heshmat Ismail



  
___
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: startx couldn't create cookie with custom kernel

2010-05-13 Thread Yuri Pankov
On Thu, May 13, 2010 at 03:54:21AM -0700, Heshmat Ismail wrote:
 I have built and installed a custom kernel on i386 machine with the
 8-RELEASE then installed xorg from the DVD,when i ran startx i got:
 couldn't create cookie.When using GENERIC kernel startx works
 flawlessly,but with my custom kernel i got this error.
 
 Heshmat Ismail

Post `diff -u GENERIC YOURKERNCONF` output please.


Yuri
___
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: 7.3-RELEASE: unable to compile custom kernel

2010-05-13 Thread Lowell Gilbert
Antonio Kless antoniok@gmail.com writes:

 if_rum.o(.text+0x3868):/usr/src/sys/dev/usb/if_rum.c:2324: undefined
 reference to `ieee80211_free_node'

At a guess, you've got the rum device without wlan.

-- 
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: user friendliest gui

2010-05-13 Thread Jean-Paul Natola

If one would really want to go with X, Tcl/Tk, as it has been
mentioned by others (and me), is a good way to go. There are
helpful examples installed when you install it on your system.
It's a very easy to learn, but still powerful scripting language
that very well interacts with command line processing. Just
look at the examples, you'll find much inspiration there.

For text mode and using dialog (as for example sysinstall does),
it's another easy way to go, because you can entirely keep your
scripting in /bin/sh syntax and don't need much dependencies.
Furthermore, you have a portable solution. No special needs for
a high-end GPU and an appropriate driver. Even a 100 MHz box
with a 2 GB hard disk could then be used for this particular
job. You could even attach a simple dotmatrix line printer for
printing the receipt. :-)

Ok so I have my new box setup and I have installed
Clamav-devel 
Tcl86
Dialog

First question is , I have only ever used clamav-clamd in the past which I 
start with /usr/local/etc/rc.d/clamav-clamd start to run it, how do I run devel?
Second question is , where to o go from here?

I have tried to man tcl86 and man clamav-devel but I get no manual entry

___
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


installing tcltutor

2010-05-13 Thread Jean-Paul Natola
Hi all,

I'm trying to install tcltutor on my bsd 7.3 box but its failing allover the 
place, I'm not really sure where to start looking, see the  output below


libtool: link: `libxml/libxml_rpl_la-xpointer.lo' is not a valid libtool object
*** Error code 1

Stop in /usr/ports/devel/gettext/work/gettext-0.17/gettext-tools/gnulib-lib.
*** Error code 1

Stop in /usr/ports/devel/gettext/work/gettext-0.17/gettext-tools/gnulib-lib.
*** Error code 1

Stop in /usr/ports/devel/gettext/work/gettext-0.17/gettext-tools.
*** Error code 1

Stop in /usr/ports/devel/gettext/work/gettext-0.17/gettext-tools.
*** Error code 1

Stop in /usr/ports/devel/gettext/work/gettext-0.17.
*** Error code 1

Stop in /usr/ports/devel/gettext.
*** Error code 1

Stop in /usr/ports/devel/gmake.
*** Error code 1

Stop in /usr/ports/devel/libcheck.
*** Error code 1

Stop in /usr/ports/x11/libxcb.
*** Error code 1

Stop in /usr/ports/x11/libX11.
*** Error code 1

Stop in /usr/ports/x11-toolkits/tk84.
*** Error code 1

Stop in /usr/ports/x11-toolkits/tk84.
*** Error code 1

Stop in /usr/ports/lang/tcltutor.










___
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: user friendliest gui

2010-05-13 Thread Gary Gatten


-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Jean-Paul Natola
Sent: Thursday, May 13, 2010 8:11 AM
Cc: freebsd-questions@freebsd.org
Subject: RE: user friendliest gui


If one would really want to go with X, Tcl/Tk, as it has been
mentioned by others (and me), is a good way to go. There are
helpful examples installed when you install it on your system.
It's a very easy to learn, but still powerful scripting language
that very well interacts with command line processing. Just
look at the examples, you'll find much inspiration there.

For text mode and using dialog (as for example sysinstall does),
it's another easy way to go, because you can entirely keep your
scripting in /bin/sh syntax and don't need much dependencies.
Furthermore, you have a portable solution. No special needs for
a high-end GPU and an appropriate driver. Even a 100 MHz box
with a 2 GB hard disk could then be used for this particular
job. You could even attach a simple dotmatrix line printer for
printing the receipt. :-)

Ok so I have my new box setup and I have installed
Clamav-devel 
Tcl86
Dialog

First question is , I have only ever used clamav-clamd in the past which I 
start with /usr/local/etc/rc.d/clamav-clamd start to run it, how do I run devel?
Second question is , where to o go from here?

I have tried to man tcl86 and man clamav-devel but I get no manual entry


Did you try man tcl and man clamav?  Typically devel just adds a few 
extra bits and pieces, it's a separate binary you must start.
___
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: user friendliest gui

2010-05-13 Thread Gary Gatten


-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Gary Gatten
Sent: Thursday, May 13, 2010 9:12 AM
To: 'Jean-Paul Natola'
Cc: freebsd-questions@freebsd.org
Subject: RE: user friendliest gui



-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Jean-Paul Natola
Sent: Thursday, May 13, 2010 8:11 AM
Cc: freebsd-questions@freebsd.org
Subject: RE: user friendliest gui


If one would really want to go with X, Tcl/Tk, as it has been
mentioned by others (and me), is a good way to go. There are
helpful examples installed when you install it on your system.
It's a very easy to learn, but still powerful scripting language
that very well interacts with command line processing. Just
look at the examples, you'll find much inspiration there.

For text mode and using dialog (as for example sysinstall does),
it's another easy way to go, because you can entirely keep your
scripting in /bin/sh syntax and don't need much dependencies.
Furthermore, you have a portable solution. No special needs for
a high-end GPU and an appropriate driver. Even a 100 MHz box
with a 2 GB hard disk could then be used for this particular
job. You could even attach a simple dotmatrix line printer for
printing the receipt. :-)

Ok so I have my new box setup and I have installed
Clamav-devel 
Tcl86
Dialog

First question is , I have only ever used clamav-clamd in the past which I 
start with /usr/local/etc/rc.d/clamav-clamd start to run it, how do I run devel?
Second question is , where to o go from here?

I have tried to man tcl86 and man clamav-devel but I get no manual entry


Did you try man tcl and man clamav?  Typically devel just adds a few 
extra bits and pieces, it's a separate binary you must start.
___
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


SORRY!! It should've read, devel is NOT a separate / unique binary you must 
start.
___
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: user friendliest gui

2010-05-13 Thread Kevin Kinsey

Jean-Paul Natola wrote:

Ok so I have my new box setup and I have installed
Clamav-devel 
Tcl86

Dialog

First question is , I have only ever used clamav-clamd in the past 

 which I start with /usr/local/etc/rc.d/clamav-clamd start to run it, how do I 
run devel?

Second question is , where to o go from here?

I have tried to man tcl86 and man clamav-devel but I get no manual entry


Try man clamscan.

HTH,

KDK

___
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: 7.3-RELEASE: unable to compile custom kernel

2010-05-13 Thread Antonio Kless
That's right!
Thanks a lot, now it builts well.


2010/5/13 Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org

 Antonio Kless antoniok@gmail.com writes:

  if_rum.o(.text+0x3868):/usr/src/sys/dev/usb/if_rum.c:2324: undefined
  reference to `ieee80211_free_node'

 At a guess, you've got the rum device without wlan.

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

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




-- 
Best regards,
Antonio Kless,
http://kless.spb.ru/
___
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: user friendliest gui

2010-05-13 Thread Polytropon
On Thu, 13 May 2010 13:10:51 +, Jean-Paul Natola 
jnat...@familycareintl.org wrote:
 Ok so I have my new box setup and I have installed
 Clamav-devel 
 Tcl86
 Dialog

You only need one of the last two things. You have to decide:

a) Want X?
   Use Tcl/Tk.
   Install both tcl and tk ports.
   Examples in /usr/local/lib/tkversion/demos.

b) Work in text mode?
   Use dialog.
   Comes with base system.
   Examples in /usr/share/examples/dialog.

c) Work in text more, but make it more complicated?
   Use ncurses and curses development kit.
   Install cdk from ports.
   Examples in /usr/local/share/examples/cdk.

Depending on your decision, the path follows. :-)

Oh, CDK is not that bad or complicated, but I think you should
go with dialog first. If you've got enough experience in
implementing shell wrappers / extenders with dialog, it
should be an easy task to do the same with Tcl/Tk. Keep in
mind that using X limits the usability of your project (which
is a very useful one per se).




 First question is , I have only ever used clamav-clamd in the
 past which I start with /usr/local/etc/rc.d/clamav-clamd start
 to run it, how do I run devel?



 Second question is , where to o go from here?

Basically, you enclose the obvious steps in a wrapper telling
the users what to do and showing the process, as I did as if
in an ealier message. Stes involve identifying partitions on
the USB stick (file, fdisk), mounting it (mount), running the
scanner, unmounting it, maybe in sequence for multiple partitions.



 I have tried to man tcl86 and man clamav-devel but I get no manual entry

You'll find documentation for locally added ports or packages
in the correct directories, /usr/local/share/doc as well as
/usr/local/share/examples (append port name).


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


Fw: Re: startx couldn't create cookie with custom kernel

2010-05-13 Thread Heshmat Ismail


--- On Thu, 5/13/10, Heshmat Ismail real_precious_st...@yahoo.com wrote:

From: Heshmat Ismail real_precious_st...@yahoo.com
Subject: Re: startx couldn't create cookie with custom kernel
To: Yuri Pankov yuri.pan...@gmail.com
Date: Thursday, May 13, 2010, 1:19 PM

# cd /usr/src/sys/i386/conf
# diff -u GENERIC MYKERNEL
--- GENERIC 2009-11-09 23:48:01.0 +
+++ MYKERNEL    2010-05-12 17:06:41.0 +
@@ -1,4 +1,4 @@
-#
+
 # GENERIC -- Generic kernel configuration file for FreeBSD/i386
 #
 # For more information on this file, please read the config(5) manual page,
@@ -18,10 +18,10 @@
 #
 # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.519.2.4.2.2 2009/11/09 23:48:01 
kensmith Exp $
 
-cpu    I486_CPU
-cpu    I586_CPU
+#cpu   I486_CPU
+#cpu  
 I586_CPU
 cpu    I686_CPU
-ident  GENERIC
+ident  MYKERNEL
 
 # To statically compile in device wiring instead of /boot/device.hints
 #hints GENERIC.hints # Default places to look for devices.
@@ -42,30 +42,30 @@
 options    FFS # Berkeley Fast Filesystem
 options    SOFTUPDATES # Enable FFS soft updates support
 options   
 UFS_ACL # Support for access control lists
-options    UFS_DIRHASH # Improve performance on big directories
+#options   UFS_DIRHASH # Improve performance on big directories
 options    UFS_GJOURNAL    # Enable gjournal-based UFS journaling
 options    MD_ROOT # MD is a potential root device
-options   
 NFSCLIENT   # Network Filesystem Client
-options    NFSSERVER   # Network Filesystem Server
-options    NFSLOCKD    # Network Lock Manager
-options    NFS_ROOT    # NFS usable as /, requires NFSCLIENT
-options    MSDOSFS # MSDOS Filesystem
-options   
 CD9660  # ISO 9660 Filesystem
-options    PROCFS  # Process filesystem (requires PSEUDOFS)
-options    PSEUDOFS    # Pseudo-filesystem framework
+#options   NFSCLIENT   # Network Filesystem Client
+#options   NFSSERVER   # Network Filesystem Server
+#options  
 NFSLOCKD    # Network Lock Manager
+#options   NFS_ROOT    # NFS usable as /, requires NFSCLIENT
+#options   MSDOSFS # MSDOS Filesystem
+#options   CD9660  # ISO 9660 Filesystem
+#options   PROCFS  # Process filesystem (requires PSEUDOFS)
+#options  
 PSEUDOFS    # Pseudo-filesystem framework
 options    GEOM_PART_GPT   # GUID Partition Tables.
 options    GEOM_LABEL  # Provides labelization
 options    COMPAT_43TTY    # BSD 4.3 TTY compat (sgtty)
-options    COMPAT_FREEBSD4 # Compatible with FreeBSD4
-options    COMPAT_FREEBSD5 # Compatible with
 FreeBSD5
-options    COMPAT_FREEBSD6 # Compatible with FreeBSD6
+#options   COMPAT_FREEBSD4 # Compatible with FreeBSD4
+#options   COMPAT_FREEBSD5 # Compatible with FreeBSD5
+#options   COMPAT_FREEBSD6 # Compatible with FreeBSD6
 options    COMPAT_FREEBSD7 # Compatible with FreeBSD7
-options    SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
-options   
 KTRACE  # ktrace(1) support
+#options   SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
+#options   KTRACE  # ktrace(1) support
 options    STACK   # stack(9) support
 options    SYSVSHM # SYSV-style shared memory
-options   
 SYSVMSG # SYSV-style message queues
-options    SYSVSEM # SYSV-style semaphores
+#options   SYSVMSG # SYSV-style message queues
+#options   SYSVSEM # SYSV-style semaphores
 options    P1003_1B_SEMAPHORES # POSIX-style semaphores
 options    _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
 extensions
 options    PRINTF_BUFR_SIZE=128    # Prevent printf output being 
interspersed.
@@ -84,86 +84,86 @@
 device cpufreq
 
 # Bus support.
-device acpi
-device eisa
+#device    acpi
+#device    eisa
 device pci
 
 # Floppy drives
-device fdc
+#device    fdc
 
 # ATA and ATAPI
 devices
 device ata
 device atadisk # ATA disk drives
-device ataraid # ATA RAID drives
+#device    ataraid # ATA RAID drives
 device atapicd # ATAPI CDROM drives
-device atapifd # ATAPI floppy drives
-device atapist # ATAPI tape
 drives
+#device    atapifd # ATAPI floppy drives
+#device    atapist # ATAPI tape drives
 options 

Re: startx couldn't create cookie with custom kernel

2010-05-13 Thread Chuck Swiger
Hi--

On May 13, 2010, at 9:34 AM, Heshmat Ismail wrote:
 -cpuI486_CPU
 -cpuI586_CPU
 +#cpu   I486_CPU
 +#cpu   I586_CPU
  cpuI686_CPU

You don't really want to disable these.  There are some kernel optimizations 
which are only enabled if I586_CPU is set, and are not enabled even if I686_CPU 
is set.  In particular, look at i386/i386/support.s

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: startx couldn't create cookie with custom kernel

2010-05-13 Thread Alexander Best
you need to re-enable device random. X needs it.

-- 
Alexander Best
___
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


Eclipse causes segmentation fault in Java

2010-05-13 Thread Ondrej Majerech

Hey,

I have a fresh FBSD 8-Stable/AMD64 installation and I want to run 
Eclipse. This is what I get:


[starlight] ~  eclipse
realpath: : No such file or directory
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000825d6d985, pid=11170, tid=0xa0ae40
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM 
(1.6.0_03-p4-root_13_may_2010_21_53-b00 mixed mode)

# Problematic frame:
# C  [libglib-2.0.so.0+0x18985]  g_base64_encode_step+0xe5
#
# An error report file with more information is saved as hs_err_pid11170.log
#
# Please submit bug reports to freebsd-j...@freebsd.org
#

Mentioned file is attached.

I'm using jdk16 from ports. I have also tried with diablo-jdk from ports 
with exactly the same result.


 java -version
realpath: : No such file or directory
java version 1.6.0_03-p4
Java(TM) SE Runtime Environment (build 
1.6.0_03-p4-root_13_may_2010_21_53-b00)
Java HotSpot(TM) 64-Bit Server VM (build 
1.6.0_03-p4-root_13_may_2010_21_53-b00, mixed mode)


After Eclipse crashes like this, my system becomes unusably slow: in top 
I can see the java process using 43 GB of memory (the SIZE column) and 
being in STOP state. Java is then slowly consuming my physical memory 
until I reboot.


It is apparantely trying to dump a core:

 ls -lh ~/java.core
-rw---  1 oxyd  oxyd43G May 13 21:15 /usr/home/oxyd/java.core

I need to say this is the largest coredump I've ever seen.

Doing sysctl kern.coredump=0 and retrying Eclipse produces the same 
error but doesn't hang my machine.


I'm also unsure about the realpath: : No such file or directory 
message that appears in the output, but I don't know what it means and 
Google doesn't help much.


I'll be happy to hear any suggestions.

~ Ondra
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000825d6d985, pid=11170, tid=0xa0ae40
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM 
(1.6.0_03-p4-root_13_may_2010_21_53-b00 mixed mode)
# Problematic frame:
# C  [libglib-2.0.so.0+0x18985]  g_base64_encode_step+0xe5
#
# Please submit bug reports to freebsd-j...@freebsd.org
#

---  T H R E A D  ---

Current thread (0x000800a8e000):  JavaThread main [_thread_in_native, 
id=10530368]

siginfo:si_signo=11, si_errno=0, si_code=2, si_addr=0x000825a0d000

Registers:
RAX=0x, RBX=0x7fbec69c, RCX=0x000825dd1740, 
RDX=0x
RSP=0x7fbec660, RBP=0x00082a00, RSI=0x0007, 
RDI=0x000825a0d000
R8 =0x00082a70f6a8, R9 =0x7fbec698, R10=0x, 
R11=0x000825a0cffe
R12=0x0010254c2346, R13=0x, R14=0x, 
R15=0x0008257f1b50
RIP=0x000825d6d985, EFL=0x0001, ERR=0x0004
  TRAPNO=0x000c

Top of Stack: (sp=0x7fbec660)
0x7fbec660:   7fbec698 00080c48
0x7fbec670:   7fbec69c 00082a00
0x7fbec680:   0008254c1700 000825d6ded3
0x7fbec690:   7fbec774 
0x7fbec6a0:   0008009a8c20 00082567d600
0x7fbec6b0:    7fbfd910
0x7fbec6c0:   0008257f1ba0 000829ebca35
0x7fbec6d0:   000829ebb190 000829662280
0x7fbec6e0:   000829662289 0010
0x7fbec6f0:    
0x7fbec700:    
0x7fbec710:   0008009a8c20 0008007ee3f9
0x7fbec720:   00080c48 0008254c1700
0x7fbec730:   000829662220 0008257b22c0
0x7fbec740:   0008257f7fb0 0008256a1b00
0x7fbec750:   000800a36800 000800ab1880
0x7fbec760:   000800a9b800 000829646ed0
0x7fbec770:   ffbfd910 0020
0x7fbec780:   00060020 0008009a8c20
0x7fbec790:   00082567d600 
0x7fbec7a0:   7fbfd910 000828306150
0x7fbec7b0:    
0x7fbec7c0:    
0x7fbec7d0:    
0x7fbec7e0:    
0x7fbec7f0:    
0x7fbec800:    
0x7fbec810:    
0x7fbec820:    
0x7fbec830:    
0x7fbec840:    
0x7fbec850:     

Instructions: (pc=0x000825d6d985)
0x000825d6d975:   b6 17 48 83 c7 01 44 89 d0 48 8d 0d bb 3d 06 00
0x000825d6d985:   0f b6 37 c1 f8 02 41 83 e2 03 4c 8d 5f 01 48 98 

Stack: [0x7faff000,0x7fbff000),  sp=0x7fbec660,  free 
space=949k
Native frames: (J=compiled Java code, 

BSDStats: Project Status on May 13th, 2010

2010-05-13 Thread Marc G. Fournier


Status:

  Over the past two weeks, there has been alot of work performed on the 
backend, including fixing a few bugs that were recently reported.


  As a result of using HAProxy to load balance and help ensure uptime for 
reporting clients, someone recently reported that although their sent in 
their report, their country wasn't going up in the 'Countries' states.


  This bug has been fixed (HAProxy was reporting Proxy IP vs Client IP) 
and we reset the stats period to 1st of May, causing a sharp drop in #s 
that has slowly been climbing back up again.


  The result of the change is that now Panama isn't the largest 
distribution of PC-BSD anymore, but the USofA is back in that lead, with 
Russia quickly following.


Stats Summary:

As of May 13th, 2010 (based on reporting ~2 weeks of reporting period 
since fix) , the project has 3 733 hosts that have reported in, broken 
down as follows:


 PC-BSD2 357 hosts
 FreeBSD   1 243 hosts
 DesktopBSD   78 hosts
 NetBSD   34 hosts
 OpenBSD  12 hosts
 DragonFly 9 hosts
 MirBSD0 hosts
 MidnightBSD   0 hosts
 GNU/kFreeBSD  0 hosts

We currently have hosts being reported in from 88 countries, with the top 
10 being:


 United States 752
 Panama332
 Russian Federation332
 Australia 271
 Germany   204
 Ukraine   173
 Japan 121
 Canada101
 Brazil 89
 United Kingdom 89

Project URL: http://www.bsdstats.org

Project Objective:

The mission of this site is to compile semi-accurate numbers for advocacy 
and marketing of the *BSD operating systems.


PC-BSD, to the best of our knowledge, is the only one that defaults to 
enabled, while the rest have to be enabled manually.


For FreeBSD users, you just need to install /usr/ports/sysutils/bsdstats 
to set things up.


There is now a man page / document that has been created, that contains 
a full description of the project, as well as the steps we take to 
ensure the anonymity of those reporting while maintaining the 
individuality of the reporting machines.  This can be found at:


http://www.bsdstats.org/bsdstats-8.html

Project Uptime:

In the beginning, there were issues with accessibility of the servers, due 
to only having one reporting server.  We have since moved to a distributed 
cluster using HAProxy to load balance between two physical servers, with a 
third one coming online soon.  http://www.bsdstats.org isn't running on 
this new cluster yet, but work is underway to get that moved over as well, 
which we hope to have accomplished over the next couple of days.


If you have any questions, please feel free to email me ...


Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.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: Eclipse causes segmentation fault in Java

2010-05-13 Thread Jonathan Chen
On Thu, May 13, 2010 at 11:10:42PM +0200, Ondrej Majerech wrote:
 Hey,
 
 I have a fresh FBSD 8-Stable/AMD64 installation and I want to run 
 Eclipse. This is what I get:
 
 [starlight] ~  eclipse
 realpath: : No such file or directory
 #
 # An unexpected error has been detected by Java Runtime Environment:
 #
 #  SIGSEGV (0xb) at pc=0x000825d6d985, pid=11170, tid=0xa0ae40
 #
 # Java VM: Java HotSpot(TM) 64-Bit Server VM 
 (1.6.0_03-p4-root_13_may_2010_21_53-b00 mixed mode)
 # Problematic frame:
 # C  [libglib-2.0.so.0+0x18985]  g_base64_encode_step+0xe5
 #
 # An error report file with more information is saved as hs_err_pid11170.log
 #
 # Please submit bug reports to freebsd-j...@freebsd.org
 #

At a guess, you recently upgraded to GNOME 2.30; and since it's been
crashing. I just started seeing this myself since I updated yesterday.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
--
 Vini, vidi, velcro...
 I came, I saw, I stuck around
___
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: Eclipse causes segmentation fault in Java

2010-05-13 Thread Ondrej Majerech

Jonathan Chen wrote:

On Thu, May 13, 2010 at 11:10:42PM +0200, Ondrej Majerech wrote:

At a guess, you recently upgraded to GNOME 2.30; and since it's been
crashing. I just started seeing this myself since I updated yesterday.

Cheers.


This is a fresh install, so I didn't yet have the chance to upgrade 
anything -- everything is a fresh, first-time install.


But yeah, it appears to be the case. Eclipse pulled libgnome-2.30.0 as a 
dependency (among others).


Perhaps rebuilding Eclipse with WITHOUT_GNOMEVFS=yes is worth a try. I'm 
not a Gnome user anyway.


~ Ondra
___
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: security/libassuan's distinfo missing something ?

2010-05-13 Thread David DEMELIER
Update your ports tree, I had the same problem a hew hours ago. It
seems to be solved now.

Cheers.
___
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


USB1.1 WIFI adapted recommendation

2010-05-13 Thread mikel king
I am refurbishing a laptop that only has USB1.1 and now built-in WIFI.  
Anyone with experience in these devices able to make a recommendation  
for a reliable device?


Cheers,
m!

___
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


Quantum SuperLoader 3 under Bacula on FreeBSD 8

2010-05-13 Thread Paul Mather
I am currently assembling a quote for an LTO-4 tape backup system.  So far, I 
am looking at using a 16-slot Quantum SuperLoader 3 with LTO-4HH drive as the 
tape unit.  Married to this will be a server to act as the backup server that 
will drive the tape unit using Bacula to manage backups.  The server will be a 
quad core X3440 system with 4 GB of RAM and four 1 TB SATA 7200 rpm hard drives 
in a case that has room for eight hot-swap drives.  I plan on using FreeBSD 8 
on the system, using ZFS to raidz the drives together to provide spool space 
for Bacula.  I will be using an Areca ARC-1300-4X PCIe SAS card to interface 
with the tape drive.

My main question is this: is the Quantum SuperLoader 3 LTO-4 tape drive 
supported by Bacula 5 on FreeBSD?  In particular, is the autoloader supported?  
The Bacula documentation indicates the SuperLoader works fully under Bacula, 
though not explicitly whether under FreeBSD.

The backup server will serve a network cluster of perhaps a dozen machines with 
over 6 TB of storage, most of which is on the cluster's NFS server.  Does 
anyone have good advice on sizing the spool/holding/disk pool for a Bacula 
server?  Is it imperative to have enough disk space to hold a full backup, or 
is it sufficient to have enough space to maintain streaming to tape?  (I don't 
have much experience of Bacula, having used it only to back up to disk.)  In 
other words, do I need more 1 TB drives in my backup server?

Finally, is 4 GB of RAM sufficient for good performance with ZFS?  Will ZFS on 
FreeBSD be able to maintain full streaming speeds to tape, given the various 
reports of I/O stalls under ZFS reported recently?

Thanks in advance for any advice or information.

Cheers,

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


anybody know if the TTS plugin in valid with FreeBSD or PCBSD?

2010-05-13 Thread Gary Kline


i have at least weeks left to work on my *last* edit of my
novel.  OOo-3.2.0 really does work in Free and PC BSD ... but
it demands almost 20-15 sight, so i messed up until just last
night.

now i'm ready for my final read-thru and copy edit.  i would
like to listen to each page as i read thru:: it's amazing how
much your eyes auto-correct.  i have seen the voice option
for the linux version of OOo; anybody know if it is valid for
us?  or pcbsd?

tia,

gary




-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

___
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: FWIW, a datapoint.

2010-05-13 Thread Gary Kline
On Mon, May 10, 2010 at 06:22:22PM -0400, Michael Powell wrote:
 Gary Kline wrote:
 
  
  Hopefully no one will face this, but the only way around getting
  past pcbsd seems to be via an over-the-wire upgrade.  The
  8.0-bootonly.iso for the i386 failed to boot.  About two hours
  ago tho i was able to csup ports from its 07jan to 10may status.
  Next I will pull over the stable-cvsup stuff and see if I can
  fire off a build.   hope this works.  the kybd is hard to use.
  [etc.]
  
 
 I put a PCBSD install on an unused space on my drive. Back when I did it the 
 FreeBSD 8.0 version was still in beta, and that is what I installed. The 
 current state of affairs is now release status with FreeBSD 8.0 P2.
 
 I haven't seen it or used it in a while now. When I installed it I did not 
 install any of the extra addon software packages, but rather installed the 
 ports system and proceeded to csup it to current status. I then used the 
 ports system to install any additional stuff I wanted. Generally speaking it 
 was a fairly positive experience in that by and large mostly everything 
 Just Worked. Seeing the Flash support already installed and functioning in 
 Firefox was surprising, to say the least.
 
 Since the install comes with KDE 4.3.5 and I want to upgrade it to 4.4.x I 
 will be giving portupgrade another go around. I had used portupgrade to 
 successfully update all ports once before and it worked as it normally would 
 on a regular (non PCBSD) install of Freebsd. FWIW, by not installing 
 anything (except the base install which includes KDE,etc) using the PCBSD 
 software installer utilizing the normal methods of installing with the ports 
 system and maintenance with portupgrade seems to work just as it would on a 
 normal FreeBSD install.
 
 When I get adventurous I'll see how it does with the KDE 4.4.x upgrade one 
 of these days. Have been waiting for the dust to settle there. As to why 
 your bootonly or LiveCD CD's have problems booting, that is probably a 
 separate issue. But I did notice the PCBSD install is using GPT labeling for 
 it's partition labels. 
 
 -Mike
  
 



well, still same on my laptop after days of trying to fix the
thinkpad keyboard that made the box all but unusable.  xev
thinks the caps lock is a left control key.   i have given
up for now.  {yes, having flash is a feature and/or a
surprise, but not quite doing w/out the capslock!}

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

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

___
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