Re: USB keyboard: mode switch / numlock freezes

2010-04-26 Thread Polytropon
On Mon, 26 Apr 2010 00:33:28 +0200, Anselm Strauss  wrote:
> Could it be a numlock issue? Any idea how to address this?

A good tool for diagnostics always is the xev program. See
if something like

KeyPress event, serial 24, synthetic NO, window 0x1c1,
root 0x73, subw 0x0, time 1034406899, (-570,493), root:(12,632),
state 0x10, keycode 77 (keysym 0xff7f, Num_Lock), same_screen YES,
XLookupString gives 0 bytes: 
XmbLookupString gives 0 bytes: 
XFilterEvent returns: False

KeyRelease event, serial 27, synthetic NO, window 0x1c1,
root 0x73, subw 0x0, time 1034406949, (-570,493), root:(12,632),
state 0x10, keycode 77 (keysym 0xff7f, Num_Lock), same_screen YES,
XLookupString gives 0 bytes: 
XFilterEvent returns: False

comes out when pressing the Num key.

You can always remap the Num Lock functionality onto another
key that doesn't fail after the 4th use - see xmodmap.


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


Sporadic error message rebuilding some ports: undefined reference to `copysignl'

2010-04-26 Thread Yuri
I see this message here and there. Once it came up during compile, I 
figured out that an extra gcc option '-lm' (explicitely adding libm) 
helps. Now devel/ddd fails in configure. But when I go into the 
directory and rerun configure with the same options by hand it succeeds.


Do you see such problem? What's the general fix?

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: How to determine /dev/ad* from mount label

2010-04-26 Thread Carl Johnson
"Mark G."  writes:

> Hi,
>
> I've tried the mount, tunefs and df manuals, and don't know
> where to look next.
>
> I am trying to find out what device, in terms of /dev/ad0s1a
> and so on, is actually 'connected' to a label mounted file
> system.  Here is my fstab (from PC-BSD, by the way):
>
> # more /etc/fstab
> # Device  Mountpoint   FStype  Options Dump Pass
> /dev/label/rootfs0  /  ufs rw,noatime  1   1
> /dev/label/swap0none   swapsw  0   0
> /dev/label/var0 /var   ufs rw,noatime  1   1
> /dev/label/usr0 /usr   ufs rw,noatime  1   1
> procfs  /proc  procfs  rw  0   0
> linprocfs   /compat/linux/proc linprocfs rw0   0
> tmpfs   /tmp   tmpfs   rw,mode=17770   0
>
> I just wanted to know if there was a utility to tell me
> which actual device was mounted.  I also tried camcontrol devlist
> and atacontrol list.  The latter allowed me to determine that
> /dev/label/rootfs0 is ad2s1a based on the actual disk size
> and a process of elimination.
>
> Does anyone know a magic incantation to output this label->device
> mapping?

Try looking at glabel(8).  I don't know what option will list which is
mounted, but 'glabel status' shows the names and what partitions they
are associated with.
-- 
Carl Johnsonca...@peak.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"


PeerGuardian or Something Similar

2010-04-26 Thread Christopher Chambers
Dear Fellow FreeBSD Users,

I stumbled upon a program called PeerGuardian, whose website is: 
http://phoenixlabs.org/pg2/

The program is an IP blocker with the purpose of protecting your identity on 
P2P applications.

Is there a similar program available in the ports collection? It looks like i2p 
in net-p2p may do this job?

If so, I guess I would have to remake ctorrent with i2p, assuming it is even 
supported.

Regards,
Chris
___
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 determine /dev/ad* from mount label

2010-04-26 Thread Mark G.

Hi,

I've tried the mount, tunefs and df manuals, and don't know
where to look next.

I am trying to find out what device, in terms of /dev/ad0s1a
and so on, is actually 'connected' to a label mounted file
system.  Here is my fstab (from PC-BSD, by the way):

# more /etc/fstab
# Device  Mountpoint   FStype  Options Dump Pass
/dev/label/rootfs0  /  ufs rw,noatime  1   1
/dev/label/swap0none   swapsw  0   0
/dev/label/var0 /var   ufs rw,noatime  1   1
/dev/label/usr0 /usr   ufs rw,noatime  1   1
procfs  /proc  procfs  rw  0   0
linprocfs   /compat/linux/proc linprocfs rw0   0
tmpfs   /tmp   tmpfs   rw,mode=17770   0

I just wanted to know if there was a utility to tell me
which actual device was mounted.  I also tried camcontrol devlist
and atacontrol list.  The latter allowed me to determine that
/dev/label/rootfs0 is ad2s1a based on the actual disk size
and a process of elimination.

Does anyone know a magic incantation to output this label->device
mapping?

Thanks
Mark

P.S. The latest FreeBSD 8 under PC-BSD is really quite good.
My thanks to everyone involved.  Picked up a copy at the
freebsdmall with the guide.  Excellent.
___
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: Cannot connect to Samba share

2010-04-26 Thread osp
> Hi--
> 
> On Apr 26, 2010, at 5:05 PM, o...@aloha.com wrote:
> > I have no such directory. /usr/local/etc/samba contains passwd.tdb and
> > secrets.tdb. smb.conf is in /usr/local/etc. This is a straight install from
> > ports. I do recall seeing liog files for smbd and nmbd in the past, but
> > never on this box. That does seem strange.
> 
> Your smb.conf should have a line similar to:
> 
> # this tells Samba to use a separate log file for each machine
> # that connects
>log file = /var/log/samba/log.%m
> 
> go to where that is pointing to.

Ah ha! I had to CREATE the samba directory under /var/log. Seems like
something the make install should take care of. Anyway, log files are
happily collection, just as I remember them looking.

I did not get much with default setting so I went to level one, then two.
What I suspected seems to be right, the authentication succeeds but Vista
drops the session. I have yet to get cups working and that logs some errors
but I doubt that would cause the file share to drop. Here are the pertinent
lines from log.smbd and the log for the client, with some details changed
to protect the innocent. "work-clear" is the name of the share. Notice the
last six entries, authentication is good, then in the last entry the
connection is closed.

Shall I go to level 3? The man page discourages it.

from log.smbd (d = 2)
[2010/04/26 15:51:15,  0] smbd/server.c:main(1274)
  smbd version 3.3.7 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/04/26 15:51:15,  2] smbd/server.c:main(1278)
  uid=0 gid=0 euid=0 egid=0
[2010/04/26 15:51:15,  2] lib/tallocmsg.c:register_msg_pool_usage(106)
  Registered MSG_REQ_POOL_USAGE
[2010/04/26 15:51:15,  2] lib/dmallocmsg.c:register_dmalloc_msgs(77)
  Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
[2010/04/26 15:51:15,  2] param/loadparm.c:do_section(7504)
  Processing section "[printers]"
[2010/04/26 15:51:15,  2] param/loadparm.c:do_section(7504)
  Processing section "[work-dar]"
[2010/04/26 15:51:15,  2] param/loadparm.c:do_section(7504)
  Processing section "[work-clear]"
[2010/04/26 15:51:15,  0] printing/print_cups.c:cups_connect(103)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/04/26 15:51:15,  2] printing/print_cups.c:cups_async_callback(544)
  cups_async_callback: failed to read a new printer list
[2010/04/26 15:51:15,  0] printing/print_cups.c:cups_connect(103)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/04/26 15:51:15,  2] printing/print_cups.c:cups_async_callback(544)
  cups_async_callback: failed to read a new printer list
[2010/04/26 15:51:15,  2] lib/interface.c:add_interface(340)
  added interface bge0 ip=10.0.1.1 bcast=10.0.1.255 netmask=255.255.255.0
[2010/04/26 15:51:15,  2] lib/interface.c:add_interface(340)
  added interface ue0 ip=[UPSTREAM].183 bcast=[UPSTREAM].255
netmask=255.255.255.0
[2010/04/26 15:51:15,  0] smbd/server.c:main(1320)
  standard input is not a socket, assuming -D option
[2010/04/26 15:51:15,  2] smbd/server.c:open_sockets_smbd(613)
  waiting for a connection

from log.theVistaClient
[2010/04/26 15:51:23,  2] auth/auth.c:check_ntlm_password(318)
  check_ntlm_password:  Authentication for user [theusername] ->
[theusername] FAILED with error NT_STATUS_WRONG_PASSWORD
[2010/04/26 15:51:32,  2] smbd/sesssetup.c:setup_new_vc_session(1368)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
old resources.
[2010/04/26 15:51:32,  2] smbd/sesssetup.c:setup_new_vc_session(1368)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
old resources.
[2010/04/26 15:51:32,  2] auth/auth.c:check_ntlm_password(308)
  check_ntlm_password:  authentication for user [theusername] ->
[theusername] -> [theusername] succeeded
[2010/04/26 15:51:32,  2] lib/access.c:check_access(406)
  Allowed connection from 10.0.1.10 (10.0.1.10)
[2010/04/26 15:51:32,  2] auth/auth.c:check_ntlm_password(308)
  check_ntlm_password:  authentication for user [theusername] ->
[theusername] -> [theusername] succeeded
[2010/04/26 15:51:32,  2] lib/access.c:check_access(406)
  Allowed connection from 10.0.1.10 (10.0.1.10)
[2010/04/26 15:51:32,  1] smbd/service.c:make_connection_snum(1115)
  shafp09wk102123 (10.0.1.10) connect to service work-clear initially as
user theusername (uid=1002, gid=1002) (pid 1159)
[2010/04/26 15:51:32,  1] smbd/service.c:close_cnum(1327)
  shafp09wk102123 (10.0.1.10) closed connection to service work-clear


Gary Dunn
Open Slate Project


___
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: Cannot connect to Samba share

2010-04-26 Thread Karl Vogel

>> On Mon, 26 Apr 2010 13:41:19 HST, Gary Dunn said:

G> I have my FreeBSD 8.0 based NAT access point working. Besides being a
G> connection sharing gateway I want it to provide simple file and printer
G> sharing to all downstream clients. I have two test clients, one FreeBSD
G> 7.1-RELEASE-p8, one Windows Vista Enterprise SP1.  In use the clients
G> will all be Vista. The FreeBSD client can connect with smbclient. The
G> Vista client cannot. The Vista configuration should be considered highly
G> locked down by GPO.

   We had a hell of a time with Samba when Vista first came out.  If you
   can make any changes on the Vista side, this link might help:

 
http://www.builderau.com.au/blogs/codemonkeybusiness/viewblogpost.htm?p=339270746
 Get Vista and Samba to work
 Brendon Chase
 Mon, 11 Dec 2006 17:11:22 -0500

 Early adopters of Microsoft's new Vista operating system may notice
 that it will not connect to Samba share folders out of the box.  This
 will be a bit of a pain for many enterprise customers.  The technical
 reason is because Microsoft Vista's default security policy is to only
 use NTLMv2 authentication.

   Current versions of Samba handle Vista fine.  We use this in our
   smb.conf file:

 # If you're using Vista
  client NTLMv2 auth = Yes
  client lanman auth = Yes
  client plaintext auth = Yes
  use spnego = Yes
  client signing = auto
  server signing = auto
  client use spnego = Yes
  client schannel = Auto
  server schannel = Auto

-- 
Karl Vogel  I don't speak for the USAF or my company
Suggested names for Walmart Wine #13: White Trashfindel
___
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: Wireless networking question

2010-04-26 Thread Carl Chave
> More info:  I found the following in the output of pciconf -vl:
>
>
> no...@pci0:2:0:0:       class=0x028000 card=0x10891a3b chip=0x002b168c 
> rev=0x01 hdr=0x00
>    vendor     = 'Atheros Communications Inc.'
>    class      = network

>From here:
http://www.pcidatabase.com/vendor_details.php?id=174

0x002b is Atheros AR9285 Wireless LAN 802.11 a/b/g/n Controller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Building for polkit-0.96_1 fails

2010-04-26 Thread Brandon Gooch
On Tue, Apr 6, 2010 at 3:59 PM, Michel Seliverstoff
 wrote:
> Hello, I'm having difficulties updating polkit. I read the ports/updating
> and did  portupgrade -f  policykit first. unfortunatelly it didn't help.
> Would anyone have a tip to share.
> Thanks,
> Michel
>
> gmake[4]: Entering directory
> `/usr/ports/sysutils/polkit/work/polkit-0.96/src/polkit'
>  CC     libpolkit_gobject_1_la-polkitenumtypes.lo
>  CC     libpolkit_gobject_1_la-polkitactiondescription.lo
>  CC     libpolkit_gobject_1_la-polkitauthorityfeatures.lo
>  CC     libpolkit_gobject_1_la-polkitdetails.lo
>  CC     libpolkit_gobject_1_la-polkitauthority.lo
>  CC     libpolkit_gobject_1_la-polkiterror.lo
>  CC     libpolkit_gobject_1_la-polkitsubject.lo
>  CC     libpolkit_gobject_1_la-polkitunixprocess.lo
>  CC     libpolkit_gobject_1_la-polkitunixsession.lo
>  CC     libpolkit_gobject_1_la-polkitsystembusname.lo
>  CC     libpolkit_gobject_1_la-polkitidentity.lo
>  CC     libpolkit_gobject_1_la-polkitunixuser.lo
>  CC     libpolkit_gobject_1_la-polkitunixgroup.lo
>  CC     libpolkit_gobject_1_la-polkitauthorizationresult.lo
>  CC     libpolkit_gobject_1_la-polkitcheckauthorizationflags.lo
>  CC     libpolkit_gobject_1_la-polkitimplicitauthorization.lo
>  CC     libpolkit_gobject_1_la-polkittemporaryauthorization.lo
>  CC     libpolkit_private_la-_polkitactiondescription.lo
>  CC     libpolkit_private_la-_polkitauthenticationagent.lo
>  CC     libpolkit_private_la-_polkitauthority.lo
>  CC     libpolkit_private_la-_polkitauthorizationresult.lo
>  CC     libpolkit_private_la-_polkitbindings.lo
>  CC     libpolkit_private_la-_polkitbindingsmarshal.lo
>  CC     libpolkit_private_la-_polkitcheckauthorizationflags.lo
>  CC     libpolkit_private_la-_polkiterror.lo
>  CC     libpolkit_private_la-_polkitidentity.lo
>  CC     libpolkit_private_la-_polkitimplicitauthorization.lo
>  CC     libpolkit_private_la-_polkitsubject.lo
>  CC     libpolkit_private_la-_polkittemporaryauthorization.lo
>  CC     libpolkit_private_la-_polkitauthorityfeatures.lo
>  CCLD   libpolkit-private.la
>  CCLD   libpolkit-gobject-1.la
> /usr/local/bin/g-ir-scanner -v                                  \
>               --namespace Polkit                              \
>               --nsversion=1.0                                 \
>               --include=Gio-2.0                               \
>               --library=polkit-gobject-1                      \
>               --output Polkit-1.0.gir
>   \
>               --pkg=glib-2.0                                  \
>               --pkg=gobject-2.0                               \
>               --pkg=gio-2.0                                   \
>               --libtool=../../libtool         \
>               -I/usr/local/include/eggdbus-1 -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include                                  \
>               -I../../src                             \
>               -D_POLKIT_COMPILATION                           \
>               -DEGG_DBUS_I_KNOW_API_IS_SUBJECT_TO_CHANGE      \
>               ./polkit.h                              \
>               ./polkittypes.h                         \
>               ./polkitactiondescription.h             \
>               ./polkitauthority.h                     \
>               ./polkitauthorizationresult.h           \
>               ./polkitcheckauthorizationflags.h       \
>               ./polkitdetails.h                       \
>               ./polkitenumtypes.h                     \
>               ./polkiterror.h                         \
>               ./polkitidentity.h                      \
>               ./polkitimplicitauthorization.h         \
>               ./polkitsubject.h                       \
>               ./polkitsystembusname.h                 \
>               ./polkittemporaryauthorization.h        \
>               ./polkitunixgroup.h                     \
>               ./polkitunixprocess.h                   \
>               ./polkitunixsession.h                   \
>               ./polkitunixuser.h                      \
>
> gmake[4]: *** [Polkit-1.0.gir] Segmentation fault: 11 (core dumped)
> gmake[4]: Leaving directory
> `/usr/ports/sysutils/polkit/work/polkit-0.96/src/polkit'
> gmake[3]: *** [all] Error 2
> gmake[3]: Leaving directory
> `/usr/ports/sysutils/polkit/work/polkit-0.96/src/polkit'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory
> `/usr/ports/sysutils/polkit/work/polkit-0.96/src'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/ports/sysutils/polkit/work/polkit-0.96'
> gmake: *** [all] Error 2
> *** Error code 1
>
> Stop in /usr/ports/sysutils/polkit.
> ** Command failed [exit code 1]: /usr/bin/script -qa
> /tmp/portupgrade20100406-94674-18chul8-0 env UPGRADE_TOOL=portupgrade
> UPGRADE_PORT=polkit-0.95_3 UPGRADE_PORT_VER=0.95_3 make
> ** Fix the problem and try again.

I don't remember the exact error I saw, but I recently ran i

Re: Interrupt ptr 12h?

2010-04-26 Thread Brandon Gooch
On Tue, Apr 6, 2010 at 4:42 PM, Axel Schmalowsky  wrote:
> Hello list,
>
> sometimes my system freezes, and I cannot figure out why.
>
> What I do know is that everytime I try to build openoffice, it freezes
> during the build process.
> Last time my system froze, the kernel "spat out" the following message:
> "kerneltrap with interrupt ptr 12h disabled".
>
> What does this mean, exactly?
>
> please help.
>
> -axel

Usually there is more to the message than the above when a kernel
experiences a "panic". When this panic occurs again, try to capture as
much of the text from the console as possible (I often take a snapshot
with a digital camera, and jot down notes on paper). The more detail
you can provide the developers, the better.

And, if (when) you're brave enough:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html

Also, I think it may be appropriate at this point to test your
computer's RAM (using a "memtest"-type utility); doing large,
intensive tasks such as building OpenOffice is bound to uncover issues
with your computer's hardware -- I know this from experience :)

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


Re: FreeBSD 8 New USB Stack Issues

2010-04-26 Thread Brandon Gooch
On Thu, Apr 8, 2010 at 5:57 AM, Marcel Grandemange
 wrote:
>>Marcel Grandemange wrote:
>> Good Day.
>>
>> I am really hopeing someone can assist me here.
>>
>> I have a E620 Huawei PCMCIA 3G card in a PCMCIA-TO-PCI Converter in a
>> Freebsd server for a sms server i run.
>>
>> Now it used to run without issues, however since the change over from 7.2
> to
>> 8.0REL it no longer works and there are no entries under /dev/cuaux and so
>> forth.
>>
>> Regards
>> Marcel Grandemange
>>
>
>
>>> From the 8.0 release notes is the following
>>>http://www.freebsd.org/releases/8.0R/relnotes-detailed.html
>
>>>[amd64, i386] The uart(4) is now the default driver for serial port
>>>devices in
>>>favor of the sio(4) driver. Note that the device nodes have been renamed
>>>with /dev/cuauN and /dev/ttyuN.
>
> Yes but the devices don't actually attach
>
> Eg..
>
>
>
> ugen0.2:  at usbus0
>
> uipaq0:  on usbus0
>
> device_attach: uipaq0 attach returned 6
>
> uipaq0:  on usbus0
>
> device_attach: uipaq0 attach returned 6
>
>
> As can be seen by the "attach returned 6"
>
> And
>
>
>
> ohci1:  mem 0xde7ad000-0xde7adfff irq 18 at
> device 0.1 on cardbus0
> ohci1: [ITHREAD]
> usbus8: reset timeout
> ohci1: USB init failed
> device_attach: ohci1 attach returned 6
>
> And Here again. Many devices Suffer Of this.

Would it be possible for you to try a recent build of 8-STABLE or even
9-CURRENT?

If I'm not mistaken, it seems you've also tried the forums:

http://forums.freebsd.org/showthread.php?t=12988

If you'd like this device to work properly again in FreeBSD, would you
mind filing a PR with all pertinent information regarding your
situation?

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/problem-reports/article.html

then:

http://www.freebsd.org/send-pr.html

Thanks!

-Brandon
___
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: detachable x session (X11 application that acts like sysutils/screen)

2010-04-26 Thread Brandon Gooch
On Mon, Apr 12, 2010 at 6:46 AM, Jim  wrote:
> Has anyone done anything with a program that acts like sysutils/screen
> but with an X11 screen instead of a terminal? x2x and xnest both look
> like they have some promise. Basically I work on projects located on
> one of two systems, but I may bounce between another set of
> workstations where I am physically located. If I am handling something
> that I can work on console-only without trouble, I use
> sysutils/screen, however some times I either need X, or X would be a
> bit more effective for me. I'd like to be able to leave a xsession
> running somewhere and be able to detach it and reattach to it between
> login sessions.
>
> Has anyone had experience doing this? What programs do you use?
>
> Thanks,
> -Jim Stapleton

I'm not sure if it's coming to FreeBSD or not:

http://code.google.com/p/partiwm/wiki/xpra

It may be what you're looking for though...

-Brandon
___
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: what does "boot in safe mode" enable / disable?

2010-04-26 Thread Brandon Gooch
On Mon, Apr 12, 2010 at 6:11 PM, Henrik Hudson  wrote:
> I emailed a few days back, to -stable,  about having issues running 8-STABLE 
> in a
> Xen environment. I solved this, sort of. However, I didn't get any
> bites over there.
>
> I have a XEN HVM environment and it was given to me running 8-REL-p2
> and it was working fine. I moved up to -STABLE and GENERIC wouldn't
> boot. After some fiddling, etc.. I tried booting it in "safe mode"
> and viola it boots fine.
>
> The system doesn't show any errors it just stops on "trying to mount
> disk: /dev/". Enabling "logging mode" doesn't show any
> difference between the stable kernel and the rel kernel when
> booting.
>
> So, I'm guessing there was some sort of regression, but I'm trying
> to isolate this. What does "booting in safe mode" enable / disable
> that would allow the system to boot successfully?
>
> Thanks.
>
> Henrik
> --
> Henrik Hudson
> li...@rhavenn.net

I've wondered this myself, having never actually booted into "safe
mode". Here is a snippet from a reply to a related question from the
archives:

"Safe mode forces PIO mode (disabling the use of DMA) and disables write
caching for all IDE hard drives and CD ROM drives, disables the probing
of EISA slots (as very few systems have them), and in i386 it also
disables the use of ACPI and the APICs."

from "What is FreeBSD 5.3 Safe Mode?"
http://lists.freebsd.org/pipermail/freebsd-current/2005-February/046882.html

-Brandon
___
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: Cannot connect to Samba share

2010-04-26 Thread Chuck Swiger
Hi--

On Apr 26, 2010, at 5:05 PM, o...@aloha.com wrote:
> I have no such directory. /usr/local/etc/samba contains passwd.tdb and
> secrets.tdb. smb.conf is in /usr/local/etc. This is a straight install from
> ports. I do recall seeing liog files for smbd and nmbd in the past, but
> never on this box. That does seem strange.

Your smb.conf should have a line similar to:

# this tells Samba to use a separate log file for each machine
# that connects
   log file = /var/log/samba/log.%m

...go to where that is pointing to.

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: Cannot connect to Samba share

2010-04-26 Thread osp
> Hi--
> 
> On Apr 26, 2010, at 4:41 PM, o...@aloha.com wrote:
> > Any suggestions on how to collect more data to help pinpoint the cause of
> > failure would be appreciated. What am I looking for? Perhaps someone
> > already knows how to fix this? All suggestions welcome.
> 
> The obvious starting point would be to examine the Samba logs-- probably
under
/var/log/samba-- and compare the successful and unsuccessful connection
attempts.

Thanks.

I have no such directory. /usr/local/etc/samba contains passwd.tdb and
secrets.tdb. smb.conf is in /usr/local/etc. This is a straight install from
ports. I do recall seeing liog files for smbd and nmbd in the past, but
never on this box. That does seem strange.

Gary Dunn
Open Slate
Project

___
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: Cannot connect to Samba share

2010-04-26 Thread Chuck Swiger
Hi--

On Apr 26, 2010, at 4:41 PM, o...@aloha.com wrote:
> Any suggestions on how to collect more data to help pinpoint the cause of
> failure would be appreciated. What am I looking for? Perhaps someone
> already knows how to fix this? All suggestions welcome.

The obvious starting point would be to examine the Samba logs-- probably under 
/var/log/samba-- and compare the successful and unsuccessful connection 
attempts.

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"


Cannot connect to Samba share

2010-04-26 Thread osp
I have my FreeBSD 8.0 based NAT access point working. Besides being a
connection sharing gateway I want it to provide simple file and printer
sharing to all downstream clients. I have two test clients, one FreeBSD
7.1-RELEASE-p8, one Windows Vista Enterprise SP1.  In use the clients will
all be Vista. The FreeBSD client can connect with smbclient. The Vista
client cannot. The Vista configuration should be considered highly locked
down by GPO.

Firewall: ipfw

Firewall type: OPEN (until everything works)

Upstream network configuration via dhclient

Downstream network configuration via ISC dhcpd

Downstream DNS support via dnsmasq

When I logon to Vista I no longer get the warning about contacting a domain
controller. Running ipconfig /all shows all TCP/IP settings correct for
downstream DHCP (in 10.0.1. subnet). I can reach our Intranet SharePoint
server. I can get to Google. I can connect to Exchange mail server. I can
ping my samba server. Samba netbios name is same as hostname.

Just one account on Samba server to connect to share, "theusername" which
is not the same as the AD user name.

When I execute from a Vista command prompt

   net use x: \\myserver\ashare /user:myserver\theusername 

I am prompted for a password. When I give the correct password I get
"System error 67 has occurred. The network name cannot be found." Using the
same info I can connect using smbclient on the FreeBSD client, on same
private subnet connected to the same hub.

When I give the same command but with wrong password I get "System error 86
has occurred. The specified network password is not correct."

This suggests that Samba is processing the password correctly, and that the
failure occurs at the Vista end after authentication. Sort of a session
setup failure.

Any suggestions on how to collect more data to help pinpoint the cause of
failure would be appreciated. What am I looking for? Perhaps someone
already knows how to fix this? All suggestions welcome.

Gary Dunn
Open Slate Project


___
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: FreeOrion won't run

2010-04-26 Thread Da Rock
On Tue, 2010-04-27 at 01:33 +0300, Ivan Klymenko wrote:
> В Tue, 27 Apr 2010 08:01:54 +1000
> Da Rock  пишет:
> 
> > While I am able to send to the list I might as well make use of it :)
> > 
> > I've been trying out some games for my kids to play, and I believe
> > I've heard of FreeOrion (or similar) before. Trouble is it won't work
> > for the life of me...
> > 
> > When I first ran it I got this message:
> > Failed to initialize GEM.  Falling back to classic.
> > Assertion failed: (0 != this->mask_), function posix_charset_matcher,
> > file 
> > /usr/local/include/boost/xpressive/detail/core/matcher/posix_charset_matcher.hpp,
> > line 40. Abort (core dumped)
> > 
> > So I tried updating and went through all the issues of changing openal
> > in the process (something which I had been delaying), and finally
> > found the message had changed to this:
> > /libexec/ld-elf.so.1: Shared object "libopenal.so.0" not found,
> > required by "libalut.so.1"
> 
> You need install or reinstall next port: freealut
> cd /usr/ports/audio/freealut && make reinstall clean
> 

Thanks for that. That's one part, but unfortunately we come back to the
original message.

> > 
> > So, in the interests of science I decided to simply link libopenal.so
> > to libopenal.so.0, and I got back to the old message again.
> > 
> > Searching on google hasn't revealed anything either.
> > 
> > I'm running FreeBSD-RC2 AMD64 (I know... I have to update to RELEASE.
> > I'll be doing that as soon as I get a replacement HDD in this unit
> > here
> > - this one's on its last legs).
> ___
> 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: FreeOrion won't run

2010-04-26 Thread Ivan Klymenko
В Tue, 27 Apr 2010 08:01:54 +1000
Da Rock  пишет:

> While I am able to send to the list I might as well make use of it :)
> 
> I've been trying out some games for my kids to play, and I believe
> I've heard of FreeOrion (or similar) before. Trouble is it won't work
> for the life of me...
> 
> When I first ran it I got this message:
> Failed to initialize GEM.  Falling back to classic.
> Assertion failed: (0 != this->mask_), function posix_charset_matcher,
> file 
> /usr/local/include/boost/xpressive/detail/core/matcher/posix_charset_matcher.hpp,
> line 40. Abort (core dumped)
> 
> So I tried updating and went through all the issues of changing openal
> in the process (something which I had been delaying), and finally
> found the message had changed to this:
> /libexec/ld-elf.so.1: Shared object "libopenal.so.0" not found,
> required by "libalut.so.1"

You need install or reinstall next port: freealut
cd /usr/ports/audio/freealut && make reinstall clean

> 
> So, in the interests of science I decided to simply link libopenal.so
> to libopenal.so.0, and I got back to the old message again.
> 
> Searching on google hasn't revealed anything either.
> 
> I'm running FreeBSD-RC2 AMD64 (I know... I have to update to RELEASE.
> I'll be doing that as soon as I get a replacement HDD in this unit
> here
> - this one's on its last legs).
___
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"


lilypond won't build

2010-04-26 Thread Da Rock
Again, while I have the ability to send... :)

I've just tried building lilypond for a project I'm working on, and I've
hit a snag. Normally I can determine what the issue is, but this one has
me stumped a bit - I think.

This is the output - at least this is where I believe it starts:

/usr/ports/print/lilypond/work/lilypond-2.13.9/Documentation/out-www//learning/fundamental.texi:2207:
 warning: @image file `lilypond/pictures/context-example.txt' (for text) 
unreadable: No such file or directory.
LANG= /usr/local/bin/makeinfo --enable-encoding
-I /usr/ports/print/lilypond/work/lilypond-2.13.9/Documentation -I.
-I./out-www --output=out-www/lilypond-notation.info
out-www/notation.texi
/usr/ports/print/lilypond/work/lilypond-2.13.9/Documentation/out-www//identifiers.texi:8:
 warning: unlikely character ( in @var.
/usr/ports/print/lilypond/work/lilypond-2.13.9/Documentation/out-www//identifiers.texi:8:
 warning: unlikely character ) in @var.
/usr/ports/print/lilypond/work/lilypond-2.13.9/Documentation/out-www//identifiers.texi:137:
 warning: unlikely character ( in @var.
/usr/ports/print/lilypond/work/lilypond-2.13.9/Documentation/out-www//identifiers.texi:137:
 warning: unlikely character ) in @var.
/usr/ports/print/lilypond/work/lilypond-2.13.9/Documentation/out-www//identifiers.texi:237:
 warning: unlikely character ( in @var.
/usr/ports/print/lilypond/work/lilypond-2.13.9/Documentation/out-www//identifiers.texi:237:
 warning: unlikely character ( in @var.
/usr/ports/print/lilypond/work/lilypond-2.13.9/Documentation/out-www//identifiers.texi:237:
 warning: unlikely character ) in @var.
/usr/ports/print/lilypond/work/lilypond-2.13.9/Documentation/out-www//identifiers.texi:237:
 warning: unlikely character ) in @var.
LANG= /usr/local/bin/makeinfo --enable-encoding
-I /usr/ports/print/lilypond/work/lilypond-2.13.9/Documentation -I.
-I./out-www --output=out-www/music-glossary.info
out-www/music-glossary.texi
cp -p web.texi out-www/web.texi
LANG= /usr/local/bin/makeinfo --enable-encoding
-I /usr/ports/print/lilypond/work/lilypond-2.13.9/Documentation -I.
-I./out-www --output=out-www/lilypond-extending.info
out-www/extending.texi
LANG= /usr/local/bin/makeinfo --enable-encoding
-I /usr/ports/print/lilypond/work/lilypond-2.13.9/Documentation -I.
-I./out-www --output=out-www/lilypond-snippets.info
out-www/snippets.texi
export LILYPOND_DATADIR=
export
PYTHONPATH=/usr/ports/print/lilypond/work/lilypond-2.13.9/python/out:../python/auxiliar:/usr/ports/print/lilypond/work/lilypond-2.13.9/python/out:./python/auxiliar:/usr/ports/print/lilypond/work/lilypond-2.13.9/python/out:./python/auxiliar:
/usr/local/bin/python2.6 
/usr/ports/print/lilypond/work/lilypond-2.13.9/stepmake/bin/install.py -c -d 
/usr/local/info
install-info --remove
--info-dir=/usr/local/info ./out-www/lilypond-usage.info ;  install-info
--remove --info-dir=/usr/local/info ./out-www/lilypond-changes.info ;
install-info --remove
--info-dir=/usr/local/info ./out-www/lilypond-contributor.info ;
install-info --remove
--info-dir=/usr/local/info ./out-www/lilypond-internals.info ;
install-info --remove
--info-dir=/usr/local/info ./out-www/lilypond-essay.info ;  install-info
--remove --info-dir=/usr/local/info ./out-www/lilypond-learning.info ;
install-info --remove
--info-dir=/usr/local/info ./out-www/lilypond-notation.info ;
install-info --remove
--info-dir=/usr/local/info ./out-www/music-glossary.info ;  install-info
--remove --info-dir=/usr/local/info ./out-www/lilypond-web.info ;
install-info --remove
--info-dir=/usr/local/info ./out-www/lilypond-extending.info ;
install-info --remove
--info-dir=/usr/local/info ./out-www/lilypond-snippets.info ; true
install-info: warning: no entries found for
`./out-www/lilypond-usage.info'; nothing deleted
install-info: warning: no entries found for
`./out-www/lilypond-changes.info'; nothing deleted
install-info: warning: no entries found for
`./out-www/lilypond-contributor.info'; nothing deleted
install-info: warning: no entries found for
`./out-www/lilypond-essay.info'; nothing deleted
install-info: warning: no entries found for
`./out-www/lilypond-web.info'; nothing deleted
install-info: warning: no entries found for
`./out-www/lilypond-extending.info'; nothing deleted
install-info --info-dir=/usr/local/info ./out-www/lilypond-notation.info
install-info: menu item `musicxml2ly' already exists, for file
`lilypond-application'
gmake[2]: *** [local-install-info] Error 1
gmake[2]: Leaving directory
`/usr/ports/print/lilypond/work/lilypond-2.13.9/Documentation'
gmake[1]: *** [install-info-WWW] Error 2
gmake[1]: Leaving directory
`/usr/ports/print/lilypond/work/lilypond-2.13.9'
gmake: *** [install-doc] Error 2
*** Error code 2

Stop in /usr/ports/print/lilypond.
*** Error code 1

Stop in /usr/ports/print/lilypond.

A look in /usr/ports/print/lilypond/work/lilypond-2.13.9/out-www/:
.gitignore  dummy.dep   index.html  xref-maps
VERSION examples.html   offline-root

Any ideas why? I'm running AMD64 FreeBSD 8

FreeOrion won't run

2010-04-26 Thread Da Rock
While I am able to send to the list I might as well make use of it :)

I've been trying out some games for my kids to play, and I believe I've
heard of FreeOrion (or similar) before. Trouble is it won't work for the
life of me...

When I first ran it I got this message:
Failed to initialize GEM.  Falling back to classic.
Assertion failed: (0 != this->mask_), function posix_charset_matcher,
file 
/usr/local/include/boost/xpressive/detail/core/matcher/posix_charset_matcher.hpp,
 line 40.
Abort (core dumped)

So I tried updating and went through all the issues of changing openal
in the process (something which I had been delaying), and finally found
the message had changed to this:
/libexec/ld-elf.so.1: Shared object "libopenal.so.0" not found, required
by "libalut.so.1"

So, in the interests of science I decided to simply link libopenal.so to
libopenal.so.0, and I got back to the old message again.

Searching on google hasn't revealed anything either.

I'm running FreeBSD-RC2 AMD64 (I know... I have to update to RELEASE.
I'll be doing that as soon as I get a replacement HDD in this unit here
- this one's on its last legs).

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


reoeating, which port offers "blog-style" feedbak?

2010-04-26 Thread Gary Kline

Guys,

I'm creating another virt website and intend to publish things
that users could respond to.  It is also time to rethink my 
"JOTTINGS" thoughts and put each of the 15 sections|chapters into
a format where readers could give feedback.  Whether we have all
the ports is one question; whether these would be portable to the 
Linux or MAC OS-10, are other issues.

Pointers, suggestions, URLs =please=.

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  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: ping: sendto: No buffer space available

2010-04-26 Thread Коньков Евгений
Hi, Erik.

You can not find out what buffer you have overflow.
This error message cover many network buffers, sadly
In my case I have some fortune I try and get that error disappeared
by trying these:

kern.ipc.maxsockbuf=1048576
net.graph.maxdgram=524288
net.graph.recvspace=524288

I do not know what that mean, but that work. beleave me
Another sad thing there is no man, no documentations, no any
FAQ for all sysctl variables, but you can find some info in mail lists

Good luck.

Вы писали 24 апреля 2010 г., 14:06:37:

EN> Hi!

EN> I'm running FreeBSD 8.0. Some times my network just go down without 
EN> leaving any errors behind, now this morning it went down but didn't cut
EN> my ssh connection to the box and I got this error:

EN> ping: sendto: No buffer space available

EN>  From what I have found this relates to protocols like udp and icmp, I
EN> assume this can occur with p2p but also vpn protocols like l2tp.

EN> Is there some way that I can set limits on these protocols such that 
EN> they will not use up all available buffer space? Or some way to increase
EN> buffer?

EN> Or is the problem something completely different? I've got two vr 
EN> interfaces on a VIA Nehemiah ITX.

EN> Thanks, Erik



-- 
С уважением,
Eugen Konkov mailto:kes-...@yandex.ru
http://kes.net.ua

___
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: Setup Fail2Ban on FreeBSD

2010-04-26 Thread Bauer, Aaron J.
I only have one problem with this.  Ports is disabled in FreeNAS, and so I 
performed the install through pkg_add.  When I run the 
/usr/local/etc/rc.d/fail2ban start, I get "command not found"

Aaron 
Software Research Intern 
aaron.j.ba...@saic.com




From: Chris Rees
Sent: Sat 4/24/2010 11:32 AM
To: Bauer, Aaron J.
Cc: freebsd-questions@freebsd.org
Subject: Re: Setup Fail2Ban on FreeBSD


On 23 April 2010 18:49, Bauer, Aaron J.  wrote:
> I am currently using FreeNAS 0.7 for a file server.  I have multiple SSH 
> bruteforce attacks each week, and wish to use fail2ban to prevent this.
>
> I don't have much experience with BSD, and am having trouble getting 
> everything to work.  I ran pkg_add -r python25 and pkg_add -r py25-fail2ban.  
> I now have all the files for Fail2Ban, and did the cp jail.conf jail.local as 
> the other distro's for linux use.
>
> However, how do I start using fail2ban?  I have configured it for CentOS and 
> Ubuntu, and it starts in init.d.  I don't know how to add it to /etc/rc.d to 
> get it to work correctly..
>
> Any help is greatly appreciated.  If you need more info, please let me know.
>
> Aaron
> Software Research Intern
> aaron.j.ba...@saic.com


What everyone else has missed out is that ports install their rc files
into /usr/local/etc/rc.d, rather than /etc which is reserved for the
base system. Fail2ban already installs an rc.d script, so you don't
need to do anything.

So, /etc/rc.conf can be used, and add

fail2ban_enable="YES"

Then from the prompt run:

# /usr/local/etc/rc.d/fail2ban start

Chris
___
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"


iwi0 and spontaneous reboot on /etc/rc.d/netif restart

2010-04-26 Thread Torgeir Hoffmann
Hi,

over the last 6 months or so, I have been so unfortunate to experience
spontaneous reboots when I restart netif.
Most of the time it leaves no trace in logs, but this time I was "fortunate"
enough to be able to scrible down something while in console.
I hope someone can shed some light on this - and I will be happy to provide
a config files if necessary - it's basicly a standard setup with
iwi0, wpa_supplicant connecting via wpa. It is a T42 with a Intel 2200BG.

There is no issues in other OSes, so I figure this to be a driver specific
problem. This is from handwritten notes, so there may be some inaccuracies.
It is FreeBSD 8.0-release.

wlan0: ieee80211_new_state_locked: pending SCAN -> AUTH transition lost

Fata trap 12: page fault while in kernel mode
cpuid=0; apic id=00
fault virtual adress  = 0xc4bd71b4
fault code   = supervisor read, page not present
instruction pointer  = 0x20:0xc0f78867
stack pointer  = 0x28:0xc439ab7c
frame pointer = 0x28:0xc439ac34
code seqment= base 0x0, limit 0xf, type 0x16
  = DPL 0, pres 1, def 32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process  = 0 (iwi0 taskq)
trap number   = 12
panic: page fault
cpuid = 0
Uptime 13m9s
Cannot dump. Device not defined or unavailable
Automatic reboot in 15 seconds - press a key on the console to abort.




Best Regards,

Torgeir
___
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: Disabling DNS

2010-04-26 Thread peter

I overlooked something significant after disabling our old DNS server.  I 
neglected to update the /etc/resolv.conf file to specify the IP address of a 
valid nameserver.  

---

At 11:53 AM 4/20/2010, pe...@vfemail.net wrote:

>Super!  Thank you.  
>
>---
>
>At 11:40 AM 4/20/2010, Michael Powell wrote:
>>Leslie Jensen wrote:
>> 
>>> On 2010-04-20 15:41, pe...@vfemail.net wrote:

 I can change named_enable="YES" to named_enable="NO" in the /etc/rc.conf
 file.  Should I delete the following line from the /etc/rc.conf file that
 says:
>>[snip]
>>> 
>>> 
>>> I would suggest that you remove both lines.
>>> 
>>> named is off by default in /etc/defaults/rc.conf
>>> 
>>
>>To expand a little. The defaults mentioned here reside in /etc/defaults. The 
>>files under /etc/defaults should not be edited or changed as they can get 
>>overwritten during upgrades. The file /etc/rc.conf is designed to contain 
>>overrides to alter or change the default behaviors. It is the one to edit, 
>>not the ones under /etc/defaults.
>>
>>So yes, pretty much all of the suggestions will turn DNS off. You can safely 
>>delete the lines in /etc/rc.conf. Should you need to put them back in at 
>>some time in the future you can look these lines up in 
>>/etc/defaults/rc.conf, then edit /etc/rc.conf accordingly.
>>
>>-Mike
>>
>>
>>
>>___
>>freebsd-questions@freebsd.org mailing list
>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
>___
>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: what is signal 12?

2010-04-26 Thread Jerry
On Mon, 26 Apr 2010 16:59:57 +0100
Anton  articulated:

> On Mon, Apr 26, 2010 at 11:47:53AM -0400, Jerry wrote:
> > On Mon, 26 Apr 2010 16:36:00 +0100
> > Anton  articulated:
> > 
> > > Hi
> > > 
> > > I have an app which exits on signal 12.
> > > What is this signal?
> > > I can't find any reference to in the man
> > > pages or on the net.
> > 
> > Is this what you are looking for:
> > 
> > $ man signal | grep -i 12
> > 12SIGSYScreate core imagenon-existent system call
> > invoked
> 
> yes, thank you.
> 
> Would you also know what this mean then:
> 
> Apr 26 16:37:45 mech-as28 kernel: pid 33752 (syscall), uid 1001:
> exited on signal 12 Apr 26 16:37:45 mech-as28 kernel: pid 33757
> (syscall), uid 1001: exited on signal 12 Apr 26 16:37:45 mech-as28
> kernel: pid 33751 (syscall), uid 1001: exited on signal 12
> 
> Does this mean that the program, syscall in this case,
> tried to invoke a system call which doesn't exist?
> 
> Could this be because I'm running it on ia64, whereas it's
> likely to have been written for i386/amd64?
> 
> Just to clarify, I'm running stress2:
>   http://people.freebsd.org/~pho/stress/
> 
> on ia64 -current box.

There is a link on that page to report problems with the test suite.
Have you done so? You might need to run it under GDB or some other
debugger. I am not familiar with this program.

-- 
Jerry
freebsd.u...@seibercom.net

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

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


Re: Wpoison?????

2010-04-26 Thread John
On Mon, Apr 26, 2010 at 06:04:33PM +0300, Eitan Adler wrote:
> >> There are better systems that have a pure honeypot which actually
> >> accepts mail (and add the IPs that send mail to a blacklist)
> >
> > OK - where do we find one of THOSE?
> I have never researched this topic in depth but
> http://en.wikipedia.org/wiki/Honeypot_%28computing%29#Further_reading_and_external_links
> seems to have some links.
> Setting one up on your own isn't hard. Just create a new mail account
> and blacklist anyone who sends mail to that account.

Something like taking all the old e-mail accounts in my system that
are now going to /dev/null (but which I know from the e-mail logs
still get TONS of spam) and make something like a /dev/mailsink that
is a named pipe with a PERL script reading it that pulls out the
IP addresses and puts them in the pfctl "spammers" blacklist table?
I wouldn't need to create a new e-mail account, I've already got
lots of them that seem to be pure spam magnates, including "man"
(the manual pages psuedo-user) which are getting stuff sent to them
all the time.  I'm pretty sure that anyone sending to "m...@starfire.mn.org"
is a spammer...

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

-- 

John Lind
j...@starfire.mn.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: what is signal 12?

2010-04-26 Thread Anton Shterenlikht
On Mon, Apr 26, 2010 at 11:47:53AM -0400, Jerry wrote:
> On Mon, 26 Apr 2010 16:36:00 +0100
> Anton  articulated:
> 
> > Hi
> > 
> > I have an app which exits on signal 12.
> > What is this signal?
> > I can't find any reference to in the man
> > pages or on the net.
> 
> Is this what you are looking for:
> 
> $ man signal | grep -i 12
> 12SIGSYS  create core imagenon-existent system call invoked

yes, thank you.

Would you also know what this mean then:

Apr 26 16:37:45 mech-as28 kernel: pid 33752 (syscall), uid 1001: exited on 
signal 12
Apr 26 16:37:45 mech-as28 kernel: pid 33757 (syscall), uid 1001: exited on 
signal 12
Apr 26 16:37:45 mech-as28 kernel: pid 33751 (syscall), uid 1001: exited on 
signal 12

Does this mean that the program, syscall in this case,
tried to invoke a system call which doesn't exist?

Could this be because I'm running it on ia64, whereas it's
likely to have been written for i386/amd64?

Just to clarify, I'm running stress2:
http://people.freebsd.org/~pho/stress/

on ia64 -current box.

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: what is signal 12?

2010-04-26 Thread Jerry
On Mon, 26 Apr 2010 16:36:00 +0100
Anton  articulated:

> Hi
> 
> I have an app which exits on signal 12.
> What is this signal?
> I can't find any reference to in the man
> pages or on the net.

Is this what you are looking for:

$ man signal | grep -i 12
12SIGSYScreate core imagenon-existent system call invoked

-- 
Jerry
freebsd.u...@seibercom.net

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

Having a wonderful wine, wish you were beer.


signature.asc
Description: PGP signature


what is signal 12?

2010-04-26 Thread Anton Shterenlikht
Hi

I have an app which exits on signal 12.
What is this signal?
I can't find any reference to in the man
pages or on the net.

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: HP Proliant ML 150 G5

2010-04-26 Thread Boris Samorodov
On Sun, 25 Apr 2010 17:44:01 -0700 (PDT) William E. Moreno A. wrote:

> I tried to install FreeBSD 8.0 AMD64 on an HP Proliant ML 150 G5 Intel
> Xeon quad core but fails. With CentOS 5.4 the installation was
> Ready.    I would like to know is this product ML 150 G5 is
> incompatibility with FreeBSD 8.0   I tested FreeBSD with an ML 115 G5
> and the installation was ready.

Can't say about HP Proliant ML 150 G5 but we had to use HP Proliant ML
160 G5. While installing FreeBSD the OS didn't detect any disks until
we pulled a RAID controller and used the on-board disk controller.

HTH
-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: Wpoison?????

2010-04-26 Thread Eitan Adler
>> There are better systems that have a pure honeypot which actually
>> accepts mail (and add the IPs that send mail to a blacklist)
>
> OK - where do we find one of THOSE?
I have never researched this topic in depth but
http://en.wikipedia.org/wiki/Honeypot_%28computing%29#Further_reading_and_external_links
seems to have some links.
Setting one up on your own isn't hard. Just create a new mail account
and blacklist anyone who sends mail to that account.
___
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: Wpoison?????

2010-04-26 Thread John
On Mon, Apr 26, 2010 at 04:43:41PM +0300, Eitan Adler wrote:
> > I'm pretty concerned about its effectiveness. ??It appears not to have
> > been touched since 2001. ??If it actually accomplished its goals, I think
> > it would have been tuned up a bit, and it would be much more popular.
> > I've been hanging around the web quite a bit in the last nine years, and
> > it concerns me that I've never run into it before.
> I've heard of this program (and others like it) many times. The big
> problem with its effectiveness is that the generated emails don't
> actually work. Spammers generally send at least one probe message to
> create a "working emails" list which can sell for a higher price.
> There are better systems that have a pure honeypot which actually
> accepts mail (and add the IPs that send mail to a blacklist)

OK - where do we find one of THOSE?
-- 

John Lind
j...@starfire.mn.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: Wireless networking question

2010-04-26 Thread Chip Camden
On Apr 25 2010 22:15, Kevin Kinsey wrote:
> 
> Let me preface my commentary with "I'm way out of my league", so #include
> disclaimer.h and all that ...
> 
> For starters, in re: above, didn't someone suggest "libpciaccess" as the
> source for "scanpci"?  I can't tell if you are misunderstanding what S
> Roberts suggested, or I am misunderstanding what you are responding.
> 
> I'm pretty sure there's some misunderstanding here, though.

Thanks for your response, Kevin.  I did try rebuilding libpciaccess, to
no avail.  I also searched elsewhere.
> 
> I thought we had pciconf output that stated it was an Atheros chipset?
> In that case, it would be the Azurewave, right?  I'd suspect it might
> be supported under ath(4), but you'd wanna read the manpage and possibly
> even the source for any kind of confirmation on that; the manpage does
> specifically say that adapters based on the AR5005VL aren't supported.
> However, the manpage might be slightly out-of-date, also.

Yes, pciconf says Atheros.  I guess that does rule out Intel, and I see
from a little searching that at least some Azurewave devices use an
Atheros chipset.  I, too, am a little out of my depth in this region,
as is probably obvious from my posts.
> 
> The other thing I recall seeing is that a new variant of a supported
> chipset comes out, and the driver code doesn't recognize it even though
> it might work well.  Used to be something like a VENDOR_ID string in
> the source files; I don't know if it's still the case, but if it was,
> some people have been able to hack their own device support in rare
> cases simply by adding the new info to the driver file and recompiling
> it, but you'd want someone with a lot more $OS_foo than I have to help
> out with that (or tell you if it's even possible).  This is open-source
> stuff; you might even get sam@ 's attention and get help from the writer
> himself if you're wearing your lucky sneakers.
> 
Yes, I've seen that done with video drivers.  Perhaps I'll give it a go
with the ath or uath driver, neither of which work for me out of the box
(so to speak).

Thanks again.

-- 
Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.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: Bacula 5.0 compiler error (crypto.c)

2010-04-26 Thread Brian A. Seklecki (CFI NOC)

On 4/26/2010 9:05 AM, Efren Bravo wrote:

I've OpenSSL 1.0.0 installed and ports up2date.

My server is on production, so, What do you think I should do in my case?



Okay yea you'll need 5.0.1 and a copy of K&R or Stevens` APUE to help 
hold you down. [1]


~BAS

1. Down under water, until the thrashing stops.


___
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: Wpoison?????

2010-04-26 Thread Eitan Adler
> I'm pretty concerned about its effectiveness.  It appears not to have
> been touched since 2001.  If it actually accomplished its goals, I think
> it would have been tuned up a bit, and it would be much more popular.
> I've been hanging around the web quite a bit in the last nine years, and
> it concerns me that I've never run into it before.
I've heard of this program (and others like it) many times. The big
problem with its effectiveness is that the generated emails don't
actually work. Spammers generally send at least one probe message to
create a "working emails" list which can sell for a higher price.
There are better systems that have a pure honeypot which actually
accepts mail (and add the IPs that send mail to a blacklist)
___
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: Bacula 5.0 compiler error (crypto.c)

2010-04-26 Thread Efren Bravo


> De: Brian A. Seklecki (NOC) 
> Asunto: Re: Bacula 5.0 compiler error (crypto.c)
> Para: "Efren Bravo" 
> CC: "freeBSD" 
> Fecha: sábado, 24 de abril, 2010 09:57
> 
> > crypto.c: In function 'ASN1_OCTET_STRING*
> openssl_cert_keyid(X509*)':
> > crypto.c:333: error: invalid conversion from 'const
> X509V3_EXT_METHOD*' to 'X509V3_EXT_METHOD*'
> > crypto.c: In function 'CRYPTO_SESSION*
> crypto_session_new(crypto_cipher_t, alist*)':
> 
> 
> What's your "uname -a" look like?  -current?

FreeBSD dhlgw.dhl.cu 7.2-RELEASE-p4
 
> 5.0.1 was a patch release for version of GNU/Linux that had
> recent
> OpenSSL versions?
> 
> For example, 5.0.1 wouldn't compile on RHEL5/Fedora12, but
> 5.0.1 may be
> required for FreeBSD -current with OpenSSL 0.9.8n+ in
> -current

I've OpenSSL 1.0.0 installed and ports up2date.

My server is on production, so, What do you think I should do in my case?


Thank u very mucho for answer.

> ~BAS
> 
> > crypto.c:1102: error: cannot convert 'unsigned char*'
> to 'EVP_PKEY_CTX*' for argument '1' to 'int
> EVP_PKEY_encrypt(EVP_PKEY_CTX*, unsigned char*, size_t*,
> const unsigned char*, size_t)'
> > crypto.c: In function 'crypto_error_t
> crypto_session_decode(const u_int8_t*, u_int32_t, alist*,
> CRYPTO_SESSION**)':
> > crypto.c:1226: error: cannot convert 'unsigned char*'
> to 'EVP_PKEY_CTX*' for argument '1' to 'int
> EVP_PKEY_decrypt(EVP_PKEY_CTX*, unsigned char*, size_t*,
> const unsigned char*, size_t)'
> > *** Error code 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"
> 



___
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: Wpoison?????

2010-04-26 Thread John
On Sun, Apr 25, 2010 at 03:05:28PM +0800, Aiza wrote:
> Looking for comments on this small apache web application that fools web 
> harvest programs into harvesting bogus email address from web page.
> http://www.monkeys.com/wpoison
> 
> Anybody try this?
> Is this a self-inflicted Trojan?
> Since I don't have web server was thinking of creating jail for apache 
> that only runs this wpoision perl script?
> My firewall been blocking inbound port 80 and gets hit 100's of times a 
> day. Just script kiddies rolling through a block of ip address hunting.
> Play with them a little bit in return.
> 
> Comments please?

Well, it's short and easy to understand - about half of it is comments
and data structure initalization.  From what remains, it all makes
simple sense and there is nothing obscure or difficult to understand.

I'm pretty concerned about its effectiveness.  It appears not to have
been touched since 2001.  If it actually accomplished its goals, I think
it would have been tuned up a bit, and it would be much more popular.
I've been hanging around the web quite a bit in the last nine years, and
it concerns me that I've never run into it before.

So - I went ahead and installed it.  Just in case the script kiddies
had gotten a little bit more sophisticated, I changed the name.  I put
it on three of my web pages -now, I grant you, all three of them are
tagged "NOFOLLOW," but I doubt spambots pay any attention to that.
That was about 24 hours ago, and so far, I have not gotten one single
hit on it outside of my testing.  Now, it may simply be that I'm off
in too obscure a corner of the web, or that I should go through my
errors log and create one of the bogus pages they always probing for
with a reference to it, but I'm not expecting too much luck at this
point.

I would love to hear if your results are any better.  I hope that
it does do what it is supposed to do!  That would be great.  I
don't see how it could possibly do anything malicious or propagate
itself in any way.  It would be simple to turn off if you didn't like
the behavior.

That's my $0.02, anyway.

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

-- 

John Lind
j...@starfire.mn.org

The inherent vice of capitalism is the unequal sharing of blessings;
the inherent virtue of socialism is the equal sharing of miseries.
  - Winston Churchill
___
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: Is there PHP 5.2.x in ports? yes.

2010-04-26 Thread doug schmidt
2010/4/23 Антон Клесс :
> There are no archivers/php52-zlib.
> So, it is unavailable to install lang/php52 with lang/php5-extensions,
> having zlib extension choosen at make config.
>

looks like these ports are making it into the tree also, I just did a
portsnap fetch update this morning
and I see these ports now. on friday, there was only lang/php52, some
updates over the weekend
now have the extensions.


> 2010/4/24 Olivier Mueller 
>>
>> On Fri, 2010-04-23 at 15:34 -0400, doug schmidt wrote:
>> > On Thu, Apr 22, 2010 at 3:18 PM, Olivier Mueller 
>> > wrote:
>> > > And if you are patient, some devs are planing to add a php52 port,
>> > > there
>> > > is even something in the PR DB :
>> > > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/145772  (but I don't
>> > > know how active they are, maybe asking on freebsd-ports would be
>> > > better).
>> >
>> > lang/php52 has been added to the ports tree.
>>
>> wow, that was quick... cool! thanks for the information :)
>> ( http://www.freebsd.org/cgi/ports.cgi?query=php52&stype=all&sektion=all )
>>
>> regards,
>> Olivier
>>
>> ___
>> 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"
>
>
>
> --
> С уважением,
> Антон Клесс,
> 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: HP Proliant ML 150 G5

2010-04-26 Thread Graeme Dargie


-Original Message-
From: William E. Moreno A. [mailto:wmore...@yahoo.com] 
Sent: 26 April 2010 01:44
To: questi...@freebsd.org
Subject: HP Proliant ML 150 G5

I tried to install FreeBSD 8.0 AMD64 on an HP Proliant ML 150 G5 Intel Xeon 
quad core but fails. With CentOS 5.4 the installation was Ready.
 
I would like to know is this product ML 150 G5 is incompatibility with FreeBSD 
8.0
 
I tested FreeBSD with an ML 115 G5 and the installation was ready.

Thanks
 
William Moreno

P.D.: El presente correo no contiene tildes para evitarle al receptor
inconvenientes en su lectura.


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


Well some more info as to the error you are getting when trying to install 
would be of help, have you tried i386 rather than AMD64 as there are Xeons out 
there that are not 64bit chips.

Regards

Graeme


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


boot0 problem - strange character for default drive?

2010-04-26 Thread Neil Long

Hi

Yesterday I had a problem with a gmirror configuration and one drive  
started squeaking rather unpleasantly. If I physically remove one of  
the drives I don't get a normal boot0 screen i.e. F1 for FreeBSD and  
F5 is Drive 0 - typical for gmirror??) but some strange character  
after the 'F' - I can't find the ascii number for it but it looks like  
a capital "I" (more of an I-Beam i.e. distinct flats top and bottom)  
with a diamond in the centre. Hitting any key just gives a # and left  
to itself there is a series of '#".


I gave up and left it overnight and today I was able to boot the good  
disk and even deactivate/insert the bad disk which completed. All  
seemed fine, no errors in dmesg but on reboot - all I get is the above  
state. I tried the SATA controller on the mobo and a plug-in PCI cheap  
one (tried two). Makes no difference. It boots fine off an IDE drive.  
It boots fine using the same SATA controllers for an older non-gmirror  
drive (then I simply get the F1: FreeBSD option) so I don't think it  
is the cpu/memory/mobo?? I now have the same boot0 problem with either  
drive from the gmirror


Anyone else seen this and have a fix? I don't want to zap the drives  
since there is a working system there but just can't get to it :-)


Thanks
Neil





___
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: lighten kernel

2010-04-26 Thread harvey dent
Ok
I understand.
Thank you very much for your answer.

On Mon, Apr 26, 2010 at 11:00 AM, Da Rock <
freebsd-questi...@herveybayaustralia.com.au> wrote:

> On Fri, 2010-04-23 at 07:09 +0200, xyz wrote:
> > Those numbers mean the size in mo, of linux kernel (3.2mo), and freebsd
> > kernel (33,9mo) for the same hardware configuration.
> >
>
> Linux is based more on a minimalist kernel with user mode modules - add
> the modules and you'll find its larger, or take away the modules out of
> the FreeBSD kernel to get a more accurate reading.
>
> FreeBSD uses kernel mode modules; so it makes it faster, but it makes
> the kernel "look" bigger.
>
> And to stave off a flame session, these comments are very subjective and
> many will argue on both sides, but the proof is in the pudding as far as
> I'm concerned - I run both and my linux is CRAP by my reckoning. My
> drivers on the linux break constantly, and render the system useless
> without a reboot (and I'm NOT saying that it is anywhere near as bad as
> Windows: if I only had a choice of the two the linux would win for
> stability). My FreeBSD's have NEVER needed rebooting except for
> extraordinary circumstances, and the top stats don't lie either.
>
> > Is it difficult to update the patch?
> >
> >
> > On 04/22/10 23:54, Paul B Mahol wrote:
> > > On 4/22/10, xyz  wrote:
> > >
> > >> Hi
> > >> Thank you for your answer
> > >> But "I can't believe" that lighten the kernel of useless drivers,
> saves
> > >> only few bytes, by removing whole useless modules (sound, ata/sata,
> agp...).
> > >> Furthermore, I think about free space that could be save too, in the
> > >> hard drive this time.
> > >> Why for the same configuration, linux kernel is lighter than the
> Freebsd
> > >> kernel? (3.2mo ; 33.9mo)
> > >>
> > > Can you be more specific? What those numbers mean?
> > >
> > >
> > >> And, can you release your patch please?
> > >>
> > > I can, but it may be out of sync.
> > >
> > ___
> > 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: installing gnome

2010-04-26 Thread Polytropon
On Sun, 25 Apr 2010 18:22:15 -0700 (PDT), Michael Glaz  
wrote:
> I installed FreeBSD 8.0.   Then I followed the directions
> on installing Gnome2.  I typed pkg_add -r gnome2.  Then I
> added the line
> 
> gnome_enable="YES" to /etc/rc.conf.  But to no avail. 
> Gnome doesn't boot. 

Well, what Gnome does (or doesn't) isn't "booting" exactly... :-)

See the Gnome FAQ:

http://www.freebsd.org/gnome/docs/faq2.html#q1

In order to run a Gnome environment, add "exec gnome-session"
to the speficic user's ~/.xinitrc.

If you intend to also use Gnome's display manager, gdm, insert
something like

ttyv8  "/usr/local/bin/gdm"  xterm  on  secure

to /etc/ttys.



> Only the terminal boots up. 

In order to start X (and gdm, and Gnome) after system startup,
refer to the /etc/ttys setting. In order to perform auto-login
for a specific user, other means have to be taken, too, depending
on using gdm or not.



> I also get this error during boot: 
> gdm-binary[1285]: WARNING: GdmLocalDisplayFactory:
> maximum number of X display failures reached: check X server log for errors

What does /var/log/Xorg.0.log mention in "(EE)" (errors)?




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: ZFS scheduling

2010-04-26 Thread Thomas Sparrevohn
On Sunday 25 April 2010 23:03:53 Dan Naumov wrote:

In regards to vfs.zfs.vdev.max_pending - I seem to recall it is set to 35 to 
avoid 
using up all bandwidth in the IO subsystem - would it not make more sense to
match the NCQ/TCQ values as default?

E.g. 32 or lower  for AHCI - don't know what it would be for TCQ?


___
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: lighten kernel

2010-04-26 Thread Da Rock
On Fri, 2010-04-23 at 07:09 +0200, xyz wrote:
> Those numbers mean the size in mo, of linux kernel (3.2mo), and freebsd 
> kernel (33,9mo) for the same hardware configuration.
> 

Linux is based more on a minimalist kernel with user mode modules - add
the modules and you'll find its larger, or take away the modules out of
the FreeBSD kernel to get a more accurate reading.

FreeBSD uses kernel mode modules; so it makes it faster, but it makes
the kernel "look" bigger.

And to stave off a flame session, these comments are very subjective and
many will argue on both sides, but the proof is in the pudding as far as
I'm concerned - I run both and my linux is CRAP by my reckoning. My
drivers on the linux break constantly, and render the system useless
without a reboot (and I'm NOT saying that it is anywhere near as bad as
Windows: if I only had a choice of the two the linux would win for
stability). My FreeBSD's have NEVER needed rebooting except for
extraordinary circumstances, and the top stats don't lie either.

> Is it difficult to update the patch?
> 
> 
> On 04/22/10 23:54, Paul B Mahol wrote:
> > On 4/22/10, xyz  wrote:
> >
> >> Hi
> >> Thank you for your answer
> >> But "I can't believe" that lighten the kernel of useless drivers, saves
> >> only few bytes, by removing whole useless modules (sound, ata/sata, 
> >> agp...).
> >> Furthermore, I think about free space that could be save too, in the
> >> hard drive this time.
> >> Why for the same configuration, linux kernel is lighter than the Freebsd
> >> kernel? (3.2mo ; 33.9mo)
> >>  
> > Can you be more specific? What those numbers mean?
> >
> >
> >> And, can you release your patch please?
> >>  
> > I can, but it may be out of sync.
> >
> ___
> 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"


Rosegarden seg faults

2010-04-26 Thread Da Rock
I've installed rosegarden for a task my missus has to do. The only
problem is its seg faults and can't do anything.

I can run rosegarden at the prompt, but when I click notation or
sequencer it fails with a seg fault.

The symptoms are the same as bug #346448 at the debian bugs site, but
that is 2006 and is supposedly resolved; although the version in freebsd
hasn't seemed to have changed since then.

I running Freebsd 8, rosegarden 2.1pl2.

Running gdb I find:
0x000800c938b2 in _XtCountVaList () from /usr/local/lib/libXt.so.6

The fault was apparently solved in 2.1pl4-2.

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"