installing FreeBSD 8 on SSDs and UFS2 - partition alignment, block sizes, what does one need to know?

2010-01-12 Thread Dan Naumov
For my upcoming storage system, the OS install is going to be on a 80gb Intel SSD disk and for various reasons, I am now pretty convinced to stick with UFS2 for the root partition (the actual data pool will be ZFS using traditional SATA disks). I am probably going to use GPT partitioning and have

Please explain FreeBSD 8.0/ZFS memory usage patterns

2010-01-12 Thread Benjamin Lutz
Hello, I've set up a FreeBSD-8.0/amd64 system with ZFS as a home server, and I'm a bit puzzled by it's memory usage pattern; I'm seeing total memory usage oscillate between roughly 50% and 90% of my RAM. So I've tracked memory usage over the course of about 12 hours and graphed it here:

Re: in openpam_dispatch(): pam_nologin.so: no pam_sm_authenticate() / pam_sm_setcred()

2010-01-12 Thread martinko
martinko wrote: Hi, Since moving from 6.4 to 8.0 I see the following in /var/log/messages: Jan 8 09:39:04 mb-aw1n-bsd : in openpam_dispatch(): pam_nologin.so: no pam_sm_authenticate() Jan 8 09:39:04 mb-aw1n-bsd : in openpam_dispatch(): pam_nologin.so: no pam_sm_setcred() It seems to be

Re: thunderbird3: dies with socket(): Protocol not supported Illegal instruction (core dumped)

2010-01-12 Thread Andriy Gapon
on 12/01/2010 08:53 Hajimu UMEMOTO said the following: Hi, On Mon, 11 Jan 2010 12:54:48 +0100 ohart...@zedat.fu-berlin.de said: ohartman Since friday after the last FreeBSD 8.0-STABLE/amd64 update, thunderbird3 ohartman crashes immmediately or after a view seconds with ohartman

Re: thunderbird3: dies with socket(): Protocol not supported Illegal instruction (core dumped)

2010-01-12 Thread Gary Jennejohn
On Tue, 12 Jan 2010 15:09:45 +0200 Andriy Gapon a...@icyb.net.ua wrote: on 12/01/2010 08:53 Hajimu UMEMOTO said the following: Hi, On Mon, 11 Jan 2010 12:54:48 +0100 ohart...@zedat.fu-berlin.de said: ohartman Since friday after the last FreeBSD 8.0-STABLE/amd64 update,

Re: thunderbird3: dies with socket(): Protocol not supported Illegal instruction (core dumped)

2010-01-12 Thread Guido Falsi
On Tue, Jan 12, 2010 at 02:30:56PM +0100, Gary Jennejohn wrote: On Mon, 11 Jan 2010 12:54:48 +0100 ohart...@zedat.fu-berlin.de said: ohartman Since friday after the last FreeBSD 8.0-STABLE/amd64 update, thunderbird3 ohartman crashes immmediately or after a view seconds with

Re: Please explain FreeBSD 8.0/ZFS memory usage patterns

2010-01-12 Thread Ivan Voras
Benjamin Lutz wrote: Hello, I've set up a FreeBSD-8.0/amd64 system with ZFS as a home server, and I'm a bit puzzled by it's memory usage pattern; I'm seeing total memory usage oscillate between roughly 50% and 90% of my RAM. So I've tracked memory usage over the course of about 12 hours and

Multiple serial consoles via null modem cable

2010-01-12 Thread Marin Atanasov
Hello there, I'd like to ask you about the following - is it possible to have multiple serial consoles coming from a single host? What I am talking about is connecting multiple machines using a null modem cable - I know it is possible only to connect two machines and they need to be connected on

Reordering network cards

2010-01-12 Thread FLEURIOT Damien
Hello list, I've got an annoying issue with Proxmox 1.4 randomizing network card order, like this for example: model bridge MAC e1000 vmbr1 EA:5F:04:94:A4:21 e1000 vmbr9 9E:56:7A:17:A5:34 e1000 vmbr8 D2:4F:A2:C6:96:F4 Now this means I'll have the following mappings in FreeBSD 7.2: vmbr1 -

Re: Multiple serial consoles via null modem cable

2010-01-12 Thread Jeremy Chadwick
On Tue, Jan 12, 2010 at 05:14:44PM +0200, Marin Atanasov wrote: Hello there, I'd like to ask you about the following - is it possible to have multiple serial consoles coming from a single host? What I am talking about is connecting multiple machines using a null modem cable - I know it is

Re: Multiple serial consoles via null modem cable

2010-01-12 Thread Michal
On 12/01/2010 16:08, Jeremy Chadwick wrote: On Tue, Jan 12, 2010 at 05:14:44PM +0200, Marin Atanasov wrote: Hello there, I'd like to ask you about the following - is it possible to have multiple serial consoles coming from a single host? What I am talking about is connecting multiple

Re: Multiple serial consoles via null modem cable

2010-01-12 Thread Olivier Gautherot
Hi Marin, I'd like to ask you about the following - is it possible to have multiple serial consoles coming from a single host? In theory, no :-) RS232 is a point-to-point connection. If you want to feed several consoles through the same serial port, you will need some kind of switch to route

Re: Multiple serial consoles via null modem cable

2010-01-12 Thread Torfinn Ingolfsen
On Tue, 12 Jan 2010 08:08:16 -0800 Jeremy Chadwick free...@jdc.parodius.com wrote: Yes this is possible with FreeBSD -- but you'll need to purchase a And easy enough with conserver[1] and conserver-com[2] in ports. No reason to exclude FreeBSD from this task. :) References: 1)

strange abort with kcheckpass

2010-01-12 Thread Damian Weber
Hi, all, I've got a strange SIGABRT issue with kcheckpass. Of course, kcheckpass is not contained in the base system, yet I write to this list since the base system could be able to help with tracking this down. (kcheckpass is called from a screen locker which fails to operate properly as a

Re: Multiple serial consoles via null modem cable

2010-01-12 Thread Boris Samorodov
On Tue, 12 Jan 2010 17:14:44 +0200 Marin Atanasov wrote: I'm thinking about the following situation - 1 system acting like a host with a serial port hub, each port of the hub is connected to a different machine on sio0, using null modem cables. Along with milti-io serial cards we use

Re: Multiple serial consoles via null modem cable

2010-01-12 Thread Charles Sprickman
On Jan 12, 2010, at 12:04 PM, Boris Samorodov b...@ipt.ru wrote: On Tue, 12 Jan 2010 17:14:44 +0200 Marin Atanasov wrote: I'm thinking about the following situation - 1 system acting like a host with a serial port hub, each port of the hub is connected to a different machine on sio0,

Re: strange abort with kcheckpass

2010-01-12 Thread Andy Fawcett
On Tuesday 12 January 2010 17:49:25 Damian Weber wrote: Hi, all, I've got a strange SIGABRT issue with kcheckpass. Of course, kcheckpass is not contained in the base system, yet I write to this list since the base system could be able to help with tracking this down. (kcheckpass is called

Re: strange abort with kcheckpass

2010-01-12 Thread Damian Weber
On Tue, 12 Jan 2010, Andy Fawcett wrote: Date: Tue, 12 Jan 2010 19:18:39 +0200 From: Andy Fawcett a...@athame.co.uk To: freebsd-stable@freebsd.org Cc: Damian Weber dwe...@htw-saarland.de Subject: Re: strange abort with kcheckpass On Tuesday 12 January 2010 17:49:25 Damian Weber wrote:

Re: Multiple serial consoles via null modem cable

2010-01-12 Thread Charles Sprickman
On Tue, 12 Jan 2010, Charles Sprickman wrote: On Jan 12, 2010, at 12:04 PM, Boris Samorodov b...@ipt.ru wrote: On Tue, 12 Jan 2010 17:14:44 +0200 Marin Atanasov wrote: I'm thinking about the following situation - 1 system acting like a host with a serial port hub, each port of the hub is

Re: strange abort with kcheckpass (solved)

2010-01-12 Thread Damian Weber
On Tue, 12 Jan 2010, Greg Rivers wrote: Date: Tue, 12 Jan 2010 13:33:53 -0600 (CST) From: Greg Rivers gcr+freebsd-sta...@tharned.org To: Damian Weber dwe...@htw-saarland.de Cc: freebsd-stable@freebsd.org Subject: Re: strange abort with kcheckpass On Tue, 12 Jan 2010, Damian Weber wrote:

Re: strange abort with kcheckpass

2010-01-12 Thread Greg Rivers
On Tue, 12 Jan 2010, Damian Weber wrote: I've got a strange SIGABRT issue with kcheckpass. Of course, kcheckpass is not contained in the base system, yet I write to this list since the base system could be able to help with tracking this down. (kcheckpass is called from a screen locker which

Re: Please explain FreeBSD 8.0/ZFS memory usage patterns

2010-01-12 Thread Benjamin Lutz
On Tuesday 12 January 2010 15:35:12 Ivan Voras wrote: How do you get those categories: kern, proc? I suppose proc could be sum of resident sizes of processes (aka RES in top) and kern could be sysctl vm.kmem_size? yes, exactly. kern is kvm.kmem_size, proc is the sum of RSS memory of all

Re: ZFS on top of GELI

2010-01-12 Thread Rafał Jackiewicz
Thanks, could you do the same, but using 2 .eli vdevs mirrorred together in a zfs mirror? - Sincerely, Dan Naumov Hi, Proc: Intell Atom 330 (2x1.6Ghz) - 1 package(s) x 2 core(s) x 2 HTT threads Chipset: Intel 82945G Sys: 8.0-RELEASE FreeBSD 8.0-RELEASE #0 empty file: /boot/loader.conf Hdd:

Re: ZFS on top of GELI

2010-01-12 Thread Dan Naumov
2010/1/12 Rafał Jackiewicz free...@o2.pl: Thanks, could you do the same, but using 2 .eli vdevs mirrorred together in a zfs mirror? - Sincerely, Dan Naumov Hi, Proc: Intell Atom 330 (2x1.6Ghz) - 1 package(s) x 2 core(s) x 2 HTT threads Chipset: Intel 82945G Sys: 8.0-RELEASE FreeBSD

Re: Multiple serial consoles via null modem cable

2010-01-12 Thread Jeremy Chadwick
On Tue, Jan 12, 2010 at 02:50:29PM -0500, Charles Sprickman wrote: On Tue, 12 Jan 2010, Charles Sprickman wrote: On Jan 12, 2010, at 12:04 PM, Boris Samorodov b...@ipt.ru wrote: On Tue, 12 Jan 2010 17:14:44 +0200 Marin Atanasov wrote: I'm thinking about the following situation - 1 system

Re: USB problems on 8.0-STABLE

2010-01-12 Thread Steven Friedrich
On Saturday 09 January 2010 06:11:45 pm Frank wrote: On Sat, 9 Jan 2010, Steven Friedrich wrote: USB. I'm betting USB and I'm thinking that maybe the driver you used to use hasn't been converted to the new USB system in 8-Stable. If that's the case it makes sense. I guess I'll

Re: USB problems on 8.0-STABLE

2010-01-12 Thread Lowell Gilbert
Steven Friedrich free...@insightbb.com writes: On Saturday 09 January 2010 06:11:45 pm Frank wrote: On Sat, 9 Jan 2010, Steven Friedrich wrote: USB. I'm betting USB and I'm thinking that maybe the driver you used to use hasn't been converted to the new USB system in 8-Stable. If

LOR - 8.0-STABLE r202128

2010-01-12 Thread Gardner Bell
I got this lock order reversal while running a windows executable through wine. lock order reversal: 1st 0xc5e757f8 vm object (standard object) @ /usr/src/sys/vm/vm_object.c:482 2nd 0xc1c900e8 system map (system map) @ /usr/src/sys/vm/vm_map.c:2772 KDB: stack backtrace:

Re: Multiple serial consoles via null modem cable

2010-01-12 Thread Marten Vijn
On Tue, 2010-01-12 at 17:14 +0200, Marin Atanasov wrote: Hello there, I'd like to ask you about the following - is it possible to have multiple serial consoles coming from a single host? What I am talking about is connecting multiple machines using a null modem cable - I know it is

process in STOP state

2010-01-12 Thread Gardner Bell
Hello, Just updated my 8.0-STABLE desktop to r202128 the other day and can no longer run certain windows executables through wine without them almost immediately entering the STOP state and using 100% CPU for a short period of time. Has anyone else ran into a similar issue lately? I'm able

Re: [Bulk] Re: USB problems on 8.0-STABLE

2010-01-12 Thread Ian Smith
On Sat, 9 Jan 2010, Frank wrote: On Fri, 8 Jan 2010, Warren Block wrote: Do you have DEVICE /dev/ugen0.2 in apcupsd.conf? No, just DEVICE From the online manual: If you have a USB UPS, the essential elements of your apcupsd.conf file should look like the following:

Re: USB problems on 8.0-STABLE

2010-01-12 Thread Frank
On Tue, 12 Jan 2010, Lowell Gilbert wrote: Another data point... I didn't pay much attention to it, but without changing my apcupsd configuration, it just worked after upgrading from RELENG_7 to RELENG_8, just a couple of days ago. I'm still running on a GENERIC kernel, but if I trim it down

Re: [Bulk] Re: [Bulk] Re: USB problems on 8.0-STABLE

2010-01-12 Thread Frank
On Wed, 13 Jan 2010, Ian Smith wrote: Frank, have you actually tried specifying DEVICE /dev/ugen0.2 ? Maybe that port syntax is not 'well known' to apcupsd? Just a punt. cheers, Ian Yup, no joy. -- Frank ___ freebsd-stable@freebsd.org mailing

Re: [Bulk] Re: USB problems on 8.0-STABLE

2010-01-12 Thread Daniel O'Connor
On Wed, 13 Jan 2010, Ian Smith wrote: Notice that we have not specified a device. In doing so, apcupsd will try all the well known USB ports. I don't understand why usbdevs can't find any controllers and apcupsd can't find any device while the kernel and usbconfig can find

Re: Reordering network cards

2010-01-12 Thread Daniel O'Connor
On Wed, 13 Jan 2010, FLEURIOT Damien wrote: I'm afraid there's no option for reordering the cards from proxmox so I'd like to be able to force the order myself, by identifying cards with their MAC address for example. I don't believe you can change what interface name they get, you can

Re: USB problems on 8.0-STABLE

2010-01-12 Thread Daniel O'Connor
On Wed, 13 Jan 2010, Steven Friedrich wrote: I think someone is going to have to update apcupsd with changes necessary to be compatible with FreeBSD 8's new USB arch. I haven't seen any documentation, white paper, etc., that discusses what changes would be needed.  You could try sending an

Re: USB problems on 8.0-STABLE

2010-01-12 Thread Frank
On Wed, 13 Jan 2010, Daniel O'Connor wrote: Does it use libusb? If so, then it should Just Work assuming that permissions are correct (note the nodes are /dev/usb/X.Y.Z now) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about

Re: USB problems on 8.0-STABLE

2010-01-12 Thread Jeremy Chadwick
On Tue, Jan 12, 2010 at 09:07:43PM -0500, Frank wrote: On Wed, 13 Jan 2010, Daniel O'Connor wrote: Does it use libusb? If so, then it should Just Work assuming that permissions are correct (note the nodes are /dev/usb/X.Y.Z now) -- Daniel O'Connor software and network engineer for

Re: USB problems on 8.0-STABLE

2010-01-12 Thread Daniel O'Connor
On Wed, 13 Jan 2010, Frank wrote: On Wed, 13 Jan 2010, Daniel O'Connor wrote: Does it use libusb? If so, then it should Just Work assuming that permissions are correct (note the nodes are /dev/usb/X.Y.Z now) -- Daniel O'Connor software and network engineer for Genesis Software -

Re: USB problems on 8.0-STABLE

2010-01-12 Thread Frank
On Tue, 12 Jan 2010, Jeremy Chadwick wrote: Please provide the output from: ldd -v /some/path/apcupsd ldd -v /usr/local/sbin/apcupsd ldd: /usr/local/sbin/apcupsd: this is an ELF program; use objdump to examine -- | Jeremy Chadwick j...@parodius.com | |

Re: USB problems on 8.0-STABLE

2010-01-12 Thread Frank
On Wed, 13 Jan 2010, Daniel O'Connor wrote: Does this tell you? No, I checked the code, it doesn't use libusb :( I guess it will need to be ported manually, I have no idea how difficult that would be though. Thanks for your help. -- Daniel O'Connor software and network engineer for

Re: Multiple serial consoles via null modem cable

2010-01-12 Thread Charles Sprickman
On Tue, 12 Jan 2010, Jeremy Chadwick wrote: On Tue, Jan 12, 2010 at 02:50:29PM -0500, Charles Sprickman wrote: On Tue, 12 Jan 2010, Charles Sprickman wrote: On Jan 12, 2010, at 12:04 PM, Boris Samorodov b...@ipt.ru wrote: On Tue, 12 Jan 2010 17:14:44 +0200 Marin Atanasov wrote: I'm

Re: [Bulk] Re: USB problems on 8.0-STABLE

2010-01-12 Thread Graham Menhennitt
Frank wrote: On Fri, 8 Jan 2010, Warren Block wrote: Do you have DEVICE /dev/ugen0.2 in apcupsd.conf? No, just DEVICE Try UPSCABLE usb UPSTYPE usb DEVICE ugen0.2 and (possibly some subset of) device uhci# UHCI PCI-USB interface device ohci

Re: LOR - 8.0-STABLE r202128

2010-01-12 Thread pluknet
2010/1/13 Gardner Bell gbel...@rogers.com: I got this lock order reversal while running a windows executable through wine. I'm guess that is a regression w.r.t S/G pager, which uses kmem_alloc/free with vm_object locked and doesn't respect vm_map locks can sleep. I'm curious it was back order

Re: Multiple serial consoles via null modem cable

2010-01-12 Thread Peter Jeremy
On 2010-Jan-12 08:08:16 -0800, Jeremy Chadwick free...@jdc.parodius.com wrote: [serial to TCP/IP adapters] As far as present-day devices go, the ones I can recommend are the ... You can also consider looking for used hardware -- either Xyplex devices DECservers are good for this sort of thing as