slapd won't start anymore

2012-04-25 Thread Peter Boosten
Hi all,

I'm wondering if anyone else is experiencing this:

After portupgrading openldap-server24 from 2.4.30 to 2.4.31 slapd won't start 
anymore, because of:

read_config: no serverID / URL match found. Check slapd -h arguments.

Since this is in my rc.conf:

slapd_flags='-h ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldap://192.168.13.15/ 
ldaps://192.168.13.15/'

I thought the rc script was not correct anymore. But it turned out that slapd 
somehow ignores the -h parameter:

# /usr/local/libexec/slapd -h ldapi://%2fvar%2frun%2fopenldap%2fldapi/ 
ldap://192.168.13.15/ ldaps://192.168.13.15/

results in the same error message (in the log, it doesn't report something 
wrong on the command line).

-- 
Peter Boosten
http://www.boosten.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: editor that understands CTRL/B, CTRL/I, CTRL/U

2012-04-25 Thread Arthur Chance

On 04/24/12 20:02, Anton Shterenlikht wrote:

On Tue, Apr 24, 2012 at 01:33:58PM -0500, Robert Bonomi wrote:



Date: Tue, 24 Apr 2012 18:50:26 +0100
From: Anton Shterenlikhtme...@bristol.ac.uk
To: freebsd-questions@freebsd.org
Subject: editor that understands CTRL/B, CTRL/I, CTRL/U

My daughter is doing a touch typing course
that presumes MS Word. So far she was fine
with pico, but now they want the kids to
practice CTRL/B (bold), CTRL/I (italic),
CTRL/U (underline). She really needs to use
these particular combinations because that
is how the on-line assessment tool is set out.

I use nothing but vi, so have no clue which,
if any, editor from ports/editors will have
these particular combinations implemented.

Please recommend one, preferably as simple
and as small as possible.


Sorry *NO* 'text editor' has those capabilities, let alone has
them on those key sequences.

Those are 'word processor' functions.  word processor' software
is required.


I know, I know..

I don't know why in a touchtyping course
you need to teach kids this, but..

Anyway, abiword seems to do what I need.

Let me know if there's anything lighter.


For a no brain, no effort solution, how about Google Docs?

Otherwise, you might want to take a look at the port www/tinymce3. It's 
a JavaScript editor that runs in a browser and does word processorish 
things. You can see what it's like at


http://www.tinymce.com/tryit/full.php

(Javascript needed, fairly obviously :-)

Caveat: I've never used it seriously, Abiword and/or Google Docs cover 
the few times I need to be compatible with the Windows world.

___
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: pxegrub + FreeBSD install

2012-04-25 Thread Rick Miller
I was able to figure out how to pass the variables to the FreeBSD
mfsroot.  I did so by modifying the grub.cfg file like the below:

menuentry freebsd82-x86_64 {
   kfreebsd /boot/kernel/kernel
   kfreebsd_loadenv /boot/device.hints
   kfreebsd_module /boot/mfsroot.gz type=mfs_root
   set kFreeBSD.vfs.root.mountfrom=ufs:/dev/md0c
   set kFreeBSD.boot.nfsroot.server=$pxe_default_server
   set kFreeBSD.boot.netif.hwaddr=$net_pxe_mac
   set kFreeBSD.boot.netif.ip=$net_pxe_ip
   set kFreeBSD.dhcp.host-name=$net_pxe_hostname
}


On Tue, Apr 24, 2012 at 2:10 PM, Rick Miller vmil...@hostileadmin.com wrote:
 Hi All,

 I am attempting to build FreeBSD 8.x-RELEASE over the network via PXE.
  I chain pxegrub to pxelinux and load the FreeBSD kernel and mfsroot
 through pxegrub with the following:

 menuentry freebsd-x86_64 {
   kfreebsd /boot/kernel/kernel
   kfreebsd_loadenv /boot/device.hints
   kfreebsd_module /boot/mfsroot.gz type=mfs_root
   set kFreeBSD.vfs.root.mountfrom=ufs:/dev/md0c
 }

 The mfsroot.gz is from the installation DVD with a couple of scripts
 and an install.cfg which result in a non-interactive install.  I set
 variables necessary to allow sysinstall to retrieve the expected
 files.  The variables (previously) are populated as follows:

 server=`kenv -q boot.nfsroot.server`
 mac=`kenv -q boot.netif.hwaddr`
 ip=`kenv -q boot.netif.ip`
 nm=`kenv -q boot.netif.netmask`
 gw=`kenv -q boot.netif.gateway`
 name=`kenv -q dhcp.host-name`
 route=`kenv -q dhcp.routers`


 The mfsroot.gz does not see these as set when the environment loads
 through pxegrub.  If I load the environment through pxeboot.bs, the
 variables populate ok.  Unfortunately, with pxeboot.bs I experience
 extremely high tftp failure rates when compared to pxegrub.

 My question is how should I populate these variables in the mfsroot.gz
 when loading via pxegrub?


 --
 Take care
 Rick Miller



-- 
Take care
Rick Miller
___
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


Is ready for use an USB bluetooth adapter ?

2012-04-25 Thread Xavier
Hi,

I plug-in an USB bluetooth adapter to 9.0-RELEASE.

I get the *ONLY* logs:

ugen2.2: ISSC at usbus2
ubt0: ISSC ISSCEDRBTA, class 224/1, rev 2.00/3.73, addr 2 on usbus2

I test:

% uname -a
FreeBSD casa 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:15:25 UTC 2012
  r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386


# ngctl li
There are 8 total nodes:
  Name: btsock_l2c_raw  Type: btsock_l2c_raw  ID: 0004   Num hooks: 1
  Name: ngctl94816  Type: socket  ID: 0020   Num hooks: 0
  Name: btsock_sco  Type: btsock_sco  ID: 0006   Num hooks: 0
  Name: ubt0hci Type: hci ID: 0016   Num hooks: 3
  Name: btsock_hci_raw  Type: btsock_hci_raw  ID: 0003   Num hooks: 1
  Name: ubt0l2cap   Type: l2cap   ID: 001a   Num hooks: 3
  Name: btsock_l2c  Type: btsock_l2c  ID: 0005   Num hooks: 1
  Name: ubt0Type: ubt ID: 0014   Num hooks: 1

My question is: the USB bluetooth adapter is ready for work with
FreeBSD at the moment ?

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


FreeBSD vice OS X memory management

2012-04-25 Thread jb
Hi,

does OS X kernel share any code with FreeBSD kernel's memory management
subsystem ?

Something is deeply broken in OS X memory management
http://workstuff.tumblr.com/post/20464780085/something-is-deeply-broken-in-os-x-
memory-management

One of the problems that caught my eyes was inactive memory reclamation.
I remember some time ago there was a thread here with similar topic.
http://lists.freebsd.org/pipermail/freebsd-questions/2012-March/239121.html

jb


___
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


GPT + gmirror

2012-04-25 Thread Julien Cigar

Hello,

I wondered if there is a way to gmirroring the whole disk (not slices 
separately) when using GPT?


GPT puts its metadata at the end of the disk, and when I start to use 
gmirror it overwrites the GPT metadata (... as gmirror puts also its 
metadata at the end of the disk ...).


I noticed a new option in the newfs manpage:

-r reserved
The size, in sectors, of reserved space at the end of the parti‐
tion specified in special. This space will not be occupied by
the file system; it can be used by other consumers such as
geom(4). Defaults to 0.

I wondered if it could help .. ? Why does it default to 0?

Thanks,
Julien

--
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.

___
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 problem reports - bin/167156

2012-04-25 Thread Taras Marusin
Hello!

How can I track the solution to this problem?

T.Marusin

-- Forwarded message --
From: freebsd-gnats-sub...@freebsd.org
Date: 2012/4/21
Subject: Re: bin/167156: looping process mksnap_ffs when run in a chroot
environment named. CPU 100%
To: Taras Marusin mtv.l...@gmail.com


Thank you very much for your problem report.
It has the internal identification `bin/167156'.
The individual assigned to look at your
report is: freebsd-bugs.

You can access the state of your problem report at any time
via this link:

http://www.freebsd.org/cgi/query-pr.cgi?pr=167156

Category:   bin
Responsible:freebsd-bugs
Synopsis:   looping process mksnap_ffs when run in a chroot
environment named. CPU 100%
Arrival-Date:   Sat Apr 21 07:10:10 UTC 2012
___
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


Thumbnail Image Viewer for Large Number of Files

2012-04-25 Thread Carolyn Longfoot


Hello!

I'm looking for recommendations for an image viewer that does not choke on a 
large number of files, I tried fotoxx but that dies on  20,000 files and other 
tools (like danpei) seem to want to read all files first before displaying any 
thumbnails. Is there a tool that just dynamically reads the files and builds 
thumbnails as one pages through the collection? I do realize that this is not 
quite as fast as pre-cached thumbnails but with 300k images that's just not an 
option, anything I tried either crashes or just sits there for hours. The 
images are about 50k each, coming from a network camera.

Ideally I would like to choose a thumbnail size that suits me, fill the screen 
with them and then select the ones that are uninteresting (could be across 
several screens/pages) and delete the original files.

Maybe somebody had and solved a similar challenge. Or should I just be smarter 
and collect each day into it's own directory?


Thanks,

Caro

  
___
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


Sales Enquiry

2012-04-25 Thread Matt

   Hi


   We have been in contact with = your company in the past, so just
   really enquiring to see if= you have any overstock situations at the
   moment, as we are buyers of all s= urplus  excess stocks.


   As time goes by, the value of your= overstocks are depreciating. In
   this currently slow market, don't hestitat= e in turning your
   overstocks back into cash and free up some useful cashflo= w  storage
   space/costs immediately. We can assist in the following sto= ck
   situations.

   excess/out dated s= tocks

   discontinued stock= s

   slow moving stocks
   cancelled orders

   ex promotional stock = /FONT

   obsolete products= /SPAN= /FONT

   private label

   and generally any problem stocks/i= nventory that you wish to clear


   For an evaluation of your excess s= tock inventory, just simply email
   some details and photos and we will get b= ack to you with an offer.
   Or alternatively you're very welcome to give= us a call.and if we
   can agree a deal, we will pay immediately by bank = transfer.


   Kind Regards

   Matt Brewer

   Stocklot World Ltd
   Buyers  Sell= ers of Surplus Inventory  Deal Makers

   Cornwall Road, = Harrogate, HG1 2PL, North Yorks

   Mob: 07710 8256= 66

   Email: [1]m...@stocklotworld.com= o:p

   Web: = EMwww.stocklotworld.com



   Twitter - [2]Click = Here

   Buy From U= s [3]Click Here

   Sell To Us= [4]Click Here

   Domains Fo= r Sale [5]Click Here















   --   
--
   -   
-
   = /o:p

   Our Email Poli= cy:  You have received this email as we are
   specifically looking to purchase your products or services, not sell
   you something. We obtaine= d your email address by searching on the
   web for particular products and se= rvices that we would like to
   purchase from your company.  We guarantee= you that we will only
   contact you once every three months to see if we can= purchase your
   products. We are not in the business of sending annoying spa= m mails
   and respect your privacy. Under UK law you are welcome to opt out   of 
receiving our emails. If you wish to unsubscribe please reply with
   UNSU= BSCRIBE in the subject header.  Please make sure you reply with
   the= address that we sent to, otherwise you will not be unsubscribed
   successful= ly. Thank you

   --   
--
   -   
-
   = /o:p




   --   
--
   -= -

   COMPANY CONFIDENTIA= LITY

   This e-mail and any attachments are confidential and inte= nded solely
   for the addressee and may also be privileged or exempt from dis   closure 
under applicable law.  If you are not the addressee, or have
   r= eceived this e-mail in error , please notify the sender
   immediately, delete= it from your system and do not copy, disclose or
   otherwise act upon any pa= rt of this e-mail or its attachments.

   Internet communications = are not guaranteed to be secure or
   virus-free.

   Stocklot World= Ltd does not accept responsibility for any loss
   arising from unauthorised = access to, or interference with, any
   Internet communications by any third p= arty, or from the transmission
   of any viruses.  Replies to this e-mail= may be monitored by Stocklot
   World Ltd for operational or business reasons= .

   Any opinion or other information in this e-mail or its attac= hments
   that does not relate to the business of Stocklot World Ltd is person   al to 
the sender and is not given or endorsed by Stocklot World Ltd   /P






   = nbsp;

   = nbsp;

   = nbsp;

   = nbsp;

   = nbsp;

   = nbsp;

   = nbsp;

   = nbsp;

   = nbsp;

   = nbsp;

   = nbsp;

   = nbsp;

   = nbsp;

   = nbsp;

   = nbsp;

   = nbsp;

   = /P

   = /P

   = /P

   = /P

   = /P

   office1= /SPAN

References

   1. 3Dmailto:m...@stocklotworld.com;
   2. 3Dhttps://twitter.com/#!/stocklotworld;
   3. 3Dhttp://www.stocklotworld.com/#/latest-stocklot   4. 
3Dhttp://www.stocklotworld.com/#/are-you-selling/   5. 
3Dhttp://www.stocklotworld.com/#/domains4sa___
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


em28xx(4) and webcamd(8)

2012-04-25 Thread Xavier
Hi to all,

I have this product[1], when I plug-in into USB conector I get:

ugen4.6: vendor 0xeb1a at usbus4
deget(): pcbmap returned 6

I test it:

% kldstat
Id Refs AddressSize Name
 1   38 0xc040 e9ece4   kernel
 21 0xc129f000 5c08 cuse4bsd.ko
 31 0xc47c 8000 linprocfs.ko
 43 0xc47d1000 29000linux.ko
 51 0xc4842000 26000wpifw.ko
 61 0xc4c01000 e000 fuse.ko
 71 0xc4c4c000 2000 linux_adobe.ko
 81 0xc4c9a000 2000 rtc.ko
 91 0xc854c000 4000 ng_socket.ko
105 0xc85da000 b000 netgraph.ko
111 0xc85c6000 6000 ng_ubt.ko
121 0xc8614000 d000 ng_hci.ko
133 0xc85ba000 2000 ng_bluetooth.ko
141 0xc8658000 f000 ng_l2cap.ko
151 0xc8733000 21000ng_btsocket.ko

% ls -l /dev/video*
crw-rw  1 webcamd  webcamd0, 149 25 abr 17:26 /dev/video0
crw-rw  1 webcamd  webcamd0, 123 24 abr 12:52 /dev/video24

# usbconfig -d 4.6 dump_device_desc
ugen4.6: product 0x2820 vendor 0xeb1a at usbus4, cfg=0 md=HOST spd=HIGH (480Mb
ps) pwr=ON

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0200
  bDeviceClass = 0x
  bDeviceSubClass = 0x
  bDeviceProtocol = 0x
  bMaxPacketSize0 = 0x0040
  idVendor = 0xeb1a
  idProduct = 0x2820
  bcdDevice = 0x0100
  iManufacturer = 0x  no string
  iProduct = 0x  no string
  iSerialNumber = 0x  no string
  bNumConfigurations = 0x0001

# pwcview -d /dev/video0
Webcam set to: 320x240 (sif) at 5 fps
libv4l2: error queuing buf 0: Invalid argument
libv4l2: error queuing buf 1: Invalid argument
libv4l2: error queuing buf 2: Invalid argument
libv4l2: error queuing buf 3: Invalid argument
libv4l2: error reading: Device busy
Error reading from webcam: Device busy

Somebody can help me ?

[1] 
ftp://ftp.kworld.com.tw/kworld/manual/manual_install/dvd_maker_usb2.0/DVD_MKAER_Installation_Eng%20V1.0.pdf

# usbconfig | grep ugen4.6
ugen4.6: product 0x2820 vendor 0xeb1a at usbus4, cfg=0 md=HOST spd=HIGH (480Mb
ps) pwr=ON

From em28xx(4) man page, I see:
http://linuxtv.org/wiki/index.php/Em28xx_devices web site and I don't
recognize my device, but the more identically is KWorld PVRTV 300U.

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


RE: Thumbnail Image Viewer for Large Number of Files

2012-04-25 Thread dteske


 -Original Message-
 From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
 questi...@freebsd.org] On Behalf Of Carolyn Longfoot
 Sent: Wednesday, April 25, 2012 6:28 AM
 To: freebsd-questions@freebsd.org
 Subject: Thumbnail Image Viewer for Large Number of Files
 
 
 
 Hello!
 
 I'm looking for recommendations for an image viewer that does not choke on a
 large number of files, I tried fotoxx but that dies on  20,000 files and
other tools
 (like danpei) seem to want to read all files first before displaying any
thumbnails.
 Is there a tool that just dynamically reads the files and builds thumbnails as
one
 pages through the collection? I do realize that this is not quite as fast as
pre-
 cached thumbnails but with 300k images that's just not an option, anything I
 tried either crashes or just sits there for hours. The images are about 50k
each,
 coming from a network camera.
 
 Ideally I would like to choose a thumbnail size that suits me, fill the screen
with
 them and then select the ones that are uninteresting (could be across several
 screens/pages) and delete the original files.
 
 Maybe somebody had and solved a similar challenge. Or should I just be smarter
 and collect each day into it's own directory?
 

As a test, I created 50,000 JPG's in one directory.

Then I ran gthumb -

Then I navigated to the folder containing 50,000 images.

Took about 45 seconds to initially display the contents of the folder.

Application remained usable and used only 100MB of RAM (stable/steady).

NOTE: You have to invoke it in the above manner because obviously attempting to
pass 50,000 arguments to any application on the command-line will exceed the
maximum number of arguments.

So there you go.

graphics/gthumb from ports is your answer.
-- 
Devin

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


Re: FreeBSD vice OS X memory management

2012-04-25 Thread Chuck Swiger
On Apr 25, 2012, at 5:31 AM, jb wrote:
 does OS X kernel share any code with FreeBSD kernel's memory management 
 subsystem ?

The simple answer is no.  A more complex answer:

% grep -ri freebsd xnu-1699.24.23 | wc -l
 520

% grep -ril freebsd xnu-1699.24.23 | sort | uniq

% grep -ril freebsd xnu-1699.24.23 | sort | uniq
  ~/Downloads
xnu-1699.24.23/EXTERNAL_HEADERS/stdbool.h
xnu-1699.24.23/bsd/bsm/audit.h
xnu-1699.24.23/bsd/bsm/audit_domain.h
xnu-1699.24.23/bsd/bsm/audit_errno.h
xnu-1699.24.23/bsd/bsm/audit_fcntl.h
xnu-1699.24.23/bsd/bsm/audit_kevents.h
xnu-1699.24.23/bsd/crypto/aes/gen/aesopt.h
xnu-1699.24.23/bsd/crypto/blowfish/bf_enc.c
xnu-1699.24.23/bsd/crypto/blowfish/bf_locl.h
xnu-1699.24.23/bsd/crypto/blowfish/bf_pi.h
xnu-1699.24.23/bsd/crypto/blowfish/bf_skey.c
xnu-1699.24.23/bsd/crypto/blowfish/blowfish.h
xnu-1699.24.23/bsd/crypto/cast128/cast128.c
xnu-1699.24.23/bsd/crypto/cast128/cast128.h
xnu-1699.24.23/bsd/crypto/cast128/cast128_subkey.h
xnu-1699.24.23/bsd/crypto/des/des.h
xnu-1699.24.23/bsd/crypto/des/des_ecb.c
xnu-1699.24.23/bsd/crypto/des/des_enc.c
xnu-1699.24.23/bsd/crypto/des/des_locl.h
xnu-1699.24.23/bsd/crypto/des/des_setkey.c
xnu-1699.24.23/bsd/crypto/des/podd.h
xnu-1699.24.23/bsd/crypto/des/sk.h
xnu-1699.24.23/bsd/crypto/des/spr.h
xnu-1699.24.23/bsd/crypto/rc4/rc4.c
xnu-1699.24.23/bsd/crypto/rc4/rc4.h
xnu-1699.24.23/bsd/crypto/sha2/sha2.c
xnu-1699.24.23/bsd/crypto/sha2/sha2.h
xnu-1699.24.23/bsd/dev/dtrace/blist.c
xnu-1699.24.23/bsd/dev/dtrace/blist.h
xnu-1699.24.23/bsd/dev/memdev.c
xnu-1699.24.23/bsd/dev/vn/vn.c
xnu-1699.24.23/bsd/hfs/hfs_lookup.c
xnu-1699.24.23/bsd/hfs/hfscommon/headers/RedBlackTree.h
xnu-1699.24.23/bsd/kern/kern_event.c
xnu-1699.24.23/bsd/kern/kern_mib.c
xnu-1699.24.23/bsd/kern/kern_newsysctl.c
xnu-1699.24.23/bsd/kern/kern_resource.c
xnu-1699.24.23/bsd/kern/makesyscalls.sh
xnu-1699.24.23/bsd/kern/sys_pipe.c
xnu-1699.24.23/bsd/kern/syscalls.master
xnu-1699.24.23/bsd/kern/tty.c
xnu-1699.24.23/bsd/kern/uipc_socket.c
xnu-1699.24.23/bsd/kern/uipc_socket2.c
xnu-1699.24.23/bsd/libkern/strsep.c
xnu-1699.24.23/bsd/man/man2/aio_cancel.2
xnu-1699.24.23/bsd/man/man2/aio_error.2
xnu-1699.24.23/bsd/man/man2/aio_read.2
xnu-1699.24.23/bsd/man/man2/aio_return.2
xnu-1699.24.23/bsd/man/man2/aio_suspend.2
xnu-1699.24.23/bsd/man/man2/aio_write.2
xnu-1699.24.23/bsd/man/man2/audit.2
xnu-1699.24.23/bsd/man/man2/auditctl.2
xnu-1699.24.23/bsd/man/man2/auditon.2
xnu-1699.24.23/bsd/man/man2/getaudit.2
xnu-1699.24.23/bsd/man/man2/getauid.2
xnu-1699.24.23/bsd/man/man2/getdtablesize.2
xnu-1699.24.23/bsd/man/man2/getlcid.2
xnu-1699.24.23/bsd/man/man2/getpgrp.2
xnu-1699.24.23/bsd/man/man2/getsid.2
xnu-1699.24.23/bsd/man/man2/i386_get_ldt.2
xnu-1699.24.23/bsd/man/man2/issetugid.2
xnu-1699.24.23/bsd/man/man2/kqueue.2
xnu-1699.24.23/bsd/man/man2/mmap.2
xnu-1699.24.23/bsd/man/man2/mprotect.2
xnu-1699.24.23/bsd/man/man2/msync.2
xnu-1699.24.23/bsd/man/man2/read.2
xnu-1699.24.23/bsd/man/man2/semctl.2
xnu-1699.24.23/bsd/man/man2/semget.2
xnu-1699.24.23/bsd/man/man2/semop.2
xnu-1699.24.23/bsd/man/man2/sendfile.2
xnu-1699.24.23/bsd/man/man2/setaudit.2
xnu-1699.24.23/bsd/man/man2/setauid.2
xnu-1699.24.23/bsd/man/man2/setlcid.2
xnu-1699.24.23/bsd/man/man2/setregid.2
xnu-1699.24.23/bsd/man/man2/setreuid.2
xnu-1699.24.23/bsd/man/man2/sigaction.2
xnu-1699.24.23/bsd/man/man2/undelete.2
xnu-1699.24.23/bsd/man/man2/utimes.2
xnu-1699.24.23/bsd/man/man2/write.2
xnu-1699.24.23/bsd/man/man3/queue.3
xnu-1699.24.23/bsd/man/man4/aio.4
xnu-1699.24.23/bsd/man/man4/audit.4
xnu-1699.24.23/bsd/man/man4/auditpipe.4
xnu-1699.24.23/bsd/man/man4/bpf.4
xnu-1699.24.23/bsd/man/man4/divert.4
xnu-1699.24.23/bsd/man/man4/dummynet.4
xnu-1699.24.23/bsd/man/man4/faith.4
xnu-1699.24.23/bsd/man/man4/gif.4
xnu-1699.24.23/bsd/man/man4/ifmib.4
xnu-1699.24.23/bsd/man/man4/inet6.4
xnu-1699.24.23/bsd/man/man4/ipfirewall.4
xnu-1699.24.23/bsd/man/man4/ipsec.4
xnu-1699.24.23/bsd/man/man4/stf.4
xnu-1699.24.23/bsd/man/man4/tty.4
xnu-1699.24.23/bsd/man/man9/copy.9
xnu-1699.24.23/bsd/man/man9/fetch.9
xnu-1699.24.23/bsd/man/man9/intro.9
xnu-1699.24.23/bsd/man/man9/store.9
xnu-1699.24.23/bsd/man/man9/style.9
xnu-1699.24.23/bsd/miscfs/devfs/README
xnu-1699.24.23/bsd/miscfs/devfs/devfs.h
xnu-1699.24.23/bsd/miscfs/devfs/devfs_tree.c
xnu-1699.24.23/bsd/miscfs/devfs/devfs_vfsops.c
xnu-1699.24.23/bsd/miscfs/devfs/devfs_vnops.c
xnu-1699.24.23/bsd/miscfs/devfs/devfsdefs.h
xnu-1699.24.23/bsd/net/bpf.c
xnu-1699.24.23/bsd/net/bpf.h
xnu-1699.24.23/bsd/net/bpf_compat.h
xnu-1699.24.23/bsd/net/bpf_filter.c
xnu-1699.24.23/bsd/net/bpfdesc.h
xnu-1699.24.23/bsd/net/bridgestp.c
xnu-1699.24.23/bsd/net/bridgestp.h
xnu-1699.24.23/bsd/net/if.c
xnu-1699.24.23/bsd/net/if.h
xnu-1699.24.23/bsd/net/if_arp.h
xnu-1699.24.23/bsd/net/if_bridge.c
xnu-1699.24.23/bsd/net/if_bridgevar.h
xnu-1699.24.23/bsd/net/if_dl.h
xnu-1699.24.23/bsd/net/if_gif.c
xnu-1699.24.23/bsd/net/if_loop.c

Re: ntpd problems after port updates

2012-04-25 Thread Dean E. Weimer

On 23.04.2012 14:52, Dean E. Weimer wrote:

On 23.04.2012 14:10, Chuck Swiger wrote:

On Apr 23, 2012, at 12:08 PM, Dean E. Weimer wrote:
Tried rebuilding without the with SSL option set, oddly it started 
once after that, but a restart caused same behavior.  gdb doesn't 
give me anything that I know how to interpret, gdb -c /ntpd.core.  (I 
haven't really used gdb before, so if I am not doing something 
correctly with it, please feel free to let me know)


Ah, you need to build ntpd with -g in CFLAGS  LDFLAGS for debugging
symbols to be present



at the risk of sounding like an complete n00b, how do I do that?
After reading through the make man page, I decided on trying to build
the port with make CFLAGS+=-g LDFLAGS+=-g install clean however I
still get the no debugging symbols found message.  Does the
information in in the Makefile for the port overwrite this option 
from

the command line?  Or am I just using the incorrect syntax here?

(gdb) file /usr/local/bin/ntpd
Reading symbols from /usr/local/bin/ntpd...(no debugging symbols
found)...done.


Even more odd, I decided to go ahead and try a couple more systems, as 
this was working fine on my test system and one production system before 
I got to the one that broke.  I now have it running on 4 production 
systems and 1 test system.  The problem is on 2 production systems one 
with the openssl option one without, both these systems are running on 
identical hardware (Dell PowerEdge R310 purchased on same order).  The 
other two production systems are both totally different hardware wise, 
one is virtual on an ESX4 server, the other is on a custom built 
machine.  The first of which had the problem I did a fresh make 
buildworld and install last night as well as a rebuild of all ports.  
Problem still persists.  I am not sure what it is about these servers 
that's causing the problem, all other applications are running fine the 
configurations on these systems are all very similar, almost all the 
same ports installed.  One of the systems has a few more ports installed 
as its has more web based applications, but the virtual production 
server has the same ports installed, built with the same /etc/make.conf 
and /etc/src.conf options against the same /var/db/ports/ directory so 
they ports were installed with the same settings, only difference is the 
run time configuration, however the ntpd configuration is the same on 
all systems.


I have also discovered since the last email that the -d option isn't 
necessary to keep it running, the -n option which keeps it from 
detaching from the session will work as well.  I worked around the issue 
for now by manually running it with daemon and adding the -n so its 
detached and running.


--
Thanks,
 Dean E. Weimer
 http://www.dweimer.net/
___
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 vice OS X memory management

2012-04-25 Thread jb
Chuck Swiger cswiger at mac.com writes:

 
 On Apr 25, 2012, at 5:31 AM, jb wrote:
  does OS X kernel share any code with FreeBSD kernel's memory management
subsystem ?
 
 The simple answer is no.  A more complex answer:
 
 % grep -ri freebsd xnu-1699.24.23 | wc -l
  520
 
 % grep -ril freebsd xnu-1699.24.23 | sort | uniq
 
 
 
 % grep -ril freebsd xnu-1699.24.23 | sort | uniq
 ~/Downloads
 xnu-1699.24.23/EXTERNAL_HEADERS/stdbool.h
 xnu-1699.24.23/bsd/bsm/audit.h
 ...

Right, MM subsys is not part of BSD import.
But XNU kernel is a combo of Mach and old BSD kernel parts.

There was some discussion here:
http://www.osnews.com/comments/25861
where two comments are of interest:

I'm quite sure that the memory manager of OSX wasn't derived from BSD, but from
Mach. Actually, FreeBSD has adapted that memory manager, so it's rather the
other way around. But Apple might learn from the way FreeBSD does things. If it
is feasible, as the kernel is quite different.

The related implementation in FreeBSD seems to have a similar problem:

NetBSD users have also reported that UVM’s im- provements have had a positive
effect on their applica- tions. This is most noticeable when physical memory
becomes scarce and the VM system must page out data to free up memory. Under BSD
VM this type of paging causes the system to become highly unresponsive, while
under UVM the system slows while paging but does not become unresponsive.
http://static.usenix.org/event/usenix99/full_papers/cranor/cranor.p...

Should be easy to fix: just start to page out some stuff in time before there is
no memory left.

When I browsed the USENIX paper (dated 1999) I understood that it is indeed
possible that FreeBSD may have imported some Mach's MM code in those early
BSD VM days.

And over time since then some ideas (if not exact code) may have migrated
between OS X and FreeBSD MM subsystems.

If so, the problems experienced may be similar or identical even today.

jb


___
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 vice OS X memory management

2012-04-25 Thread jb
jb jb.1234abcd at gmail.com writes:

 ... 
 The related implementation in FreeBSD seems to have a similar problem:
 
 NetBSD users have also reported that UVM’s im- provements have had a positive
 effect on their applica- tions. This is most noticeable when physical memory
 becomes scarce and the VM system must page out data to free up memory.
 Under BSD VM this type of paging causes the system to become highly
 unresponsive, while
 under UVM the system slows while paging but does not become unresponsive.
 http://static.usenix.org/event/usenix99/full_papers/cranor/cranor.p...
 
 Should be easy to fix: just start to page out some stuff in time before
 there is no memory left.
 ...

Would this mean that FreeBSD's (and Mach's ?) MM subsys are behind NetBSD's ?
If so, should FreeBSD adopt NetBSD's MM subsys, or just improve itself
surgically ?

jb


___
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


getty + cu, blocking mode, dialout

2012-04-25 Thread Victor Sudakov
Colleagues,

If there is a getty on /dev/ttyu0, should I be able to dialout from
the /dev/cuau0 device? I remember that several years ago a getty did
not interfere with dialout if you used a special dialout device, but
now it does not seem to be the case:

# cu -s 9600 -l /dev/cuau0
link down

# grep ttyu0 /etc/ttys
ttyu0   /usr/libexec/getty ppp.57600  dialup  on insecure
#
# grep -A4 ppp.57600 /etc/gettytab
ppp.57600:\
:im=User Access Verification\n\n:\
:pp=/etc/ppp/ppplogin:\
:tc=std.57600:
#

I can only dialout after setting ttyu0 to off and init q. It is all
happening on 8.2-RELEASE-p6 i386. There is an external modem attached
to the ttyu0 line.

Here is a ktrace of cu: http://zalil.ru/33111377

Thank you very much for any input.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.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