Re: New CAM locking preview

2013-08-15 Thread Steven Hartland
- Original Message - From: Hans Petter Selasky h...@bitfrost.no To: Alexander Motin m...@freebsd.org Cc: Scott Long sco...@freebsd.org; Jeff Roberson j...@freebsd.org; ken k...@freebsd.org; freebsd-hackers@FreeBSD.org; FreeBSD SCSI freebsd-s...@freebsd.org; Steven Hartland s

Re: [PATCH] Add 4K QUIRK for Intel X25-M, MARVELL SD88SA02 and OCZ Agility 2

2013-08-14 Thread Steven Hartland
- Original Message - From: Xin Li delp...@delphij.net -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 8/11/13 12:03 PM, Richard Yao wrote: Is there any possibility that these quirks could be added to the upcoming 9.2 release? I think so but we need to act fast. Pools composed

Re: [PATCH] Add 4K QUIRK for Intel X25-M, MARVELL SD88SA02 and OCZ Agility 2

2013-08-13 Thread Steven Hartland
Could you provide the output from camcontrol identify for these disks I want to just double check the formatting before commiting as I don't have these disks here in labs. Regards Steve - Original Message - From: Richard Yao r...@gentoo.org To: hack...@freebsd.org Cc: Richard

Re: [PATCH] Add 4K QUIRK for Intel X25-M, MARVELL SD88SA02 and OCZ Agility 2

2013-08-11 Thread Steven Hartland
Thanks Richard I'll commit these when I get in the office next week. Regards Steve - Original Message - From: Richard Yao r...@gentoo.org To: hack...@freebsd.org Cc: Richard Yao r...@gentoo.org; Eitan Adler ead...@freebsd.org Sent: Sunday, August 11, 2013 1:12 PM Subject: [PATCH]

Re: Make ZFS use the physical sector size when computing initial ashift

2013-07-10 Thread Steven Hartland
Hi DES, unfortunately you need a quite bit more than this to work compatibly. I've had a patch here that does just this for quite some time but there's been some discussion on how we want additional control over this so its not been commited. If others are interested I've attached this as it

Re: Make ZFS use the physical sector size when computing initial ashift

2013-07-10 Thread Steven Hartland
. Regards Steve - Original Message - From: Borja Marcos bor...@sarenet.es On Jul 10, 2013, at 11:25 AM, Steven Hartland wrote: If others are interested I've attached this as it achieves what we needed here so may also be of use for others too. There's also a big discussion on illumos

Re: Make ZFS use the physical sector size when computing initial ashift

2013-07-10 Thread Steven Hartland
- Original Message - From: Xin Li -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 07/10/13 02:02, Dag-Erling Sm?rgrav wrote: The attached patch causes ZFS to base the minimum transfer size for a new vdev on the GEOM provider's stripesize (physical sector size) rather than

Re: Make ZFS use the physical sector size when computing initial ashift

2013-07-10 Thread Steven Hartland
- Original Message - From: Justin T. Gibbs I'm sure lots of folks have some solution to this. Here is an old version of what we use at Spectra: http://people.freebsd.org/~gibbs/zfs_patches/zfs_auto_ashift.diff The above patch is missing some cleanup that was motivated by my

Re: Make ZFS use the physical sector size when computing initial ashift

2013-07-10 Thread Steven Hartland
- Original Message - From: Justin T. Gibbs On Jul 10, 2013, at 1:06 PM, Steven Hartland wrote: - Original Message - From: Justin T. Gibbs I'm sure lots of folks have some solution to this. Here is an old version of what we use at Spectra: http://people.freebsd.org/~gibbs

Re: Make ZFS use the physical sector size when computing initial ashift

2013-07-10 Thread Steven Hartland
- Original Message - From: Justin T. Gibbs ... One issue I did spot in your patch is that you currently expose zfs_max_auto_ashift as a sysctl but don't clamp its value which would cause problems should a user configure values 13. I would expect the zio pipeline to simply insert an

Re: potential future proofing fix for aicasm build.

2013-05-02 Thread Steven Hartland
I just remembered I had an issue with aicasm when compiling our kernel that didn't have ahc or ahd on an 8.3 box. The fix was to manually delete the kernel obj directory before compiling after doing a full make buildworld. For some reason there was some cruft left in there that running make

Re: potential future proofing fix for aicasm build.

2013-05-02 Thread Steven Hartland
- Original Message - From: Dimitry Andric dimi...@andric.com On 2013-05-02 09:47, Steven Hartland wrote: I just remembered I had an issue with aicasm when compiling our kernel that didn't have ahc or ahd on an 8.3 box. The fix was to manually delete the kernel obj directory before

Re: potential future proofing fix for aicasm build.

2013-05-02 Thread Steven Hartland
- Original Message - From: Dimitry Andric dimi...@andric.com On 2013-05-02 11:54, Steven Hartland wrote: From: Dimitry Andric dimi...@andric.com ... Well, a way to reproduce the problem would be nice. I tried running make buildkernel in a stable/9 tree on a 10.0 machine

Re: potential future proofing fix for aicasm build.

2013-05-01 Thread Steven Hartland
I don't believe aicasm is actually needed if you don't have a driver which requires e.g. ahd or ahc. It would be good to get that fixed too. Regards Steve - Original Message - From: Alfred Perlstein bri...@mu.org To: hack...@freebsd.org Sent: Wednesday, May 01, 2013 5:46 PM

Re: Does any body agree ?

2013-03-09 Thread Steven Hartland
- Original Message - From: Mehmet Erol Sanliturk m.e.sanlit...@gmail.com To: Adrian Chadd adr...@freebsd.org Cc: freebsd-hackers@freebsd.org; ali mousa ali_mousa...@yahoo.com Sent: Saturday, March 09, 2013 11:06 PM Subject: Re: Does any body agree ? On Sat, Mar 9, 2013 at 3:03 PM,

Re: IPMI console [Re: Chicken and egg, encrypted root FS on remote server]

2013-02-21 Thread Steven Hartland
- Original Message - From: Daniel O'Connor On 21/02/2013, at 9:06, Steven Hartland kill...@multiplay.co.uk wrote: If I change the console redirect to com1, my screen stays blank. Would you perhaps know how to use com1 for redirect and connect to it using ipmi-console (or ipmi-tool

Re: IPMI console [Re: Chicken and egg, encrypted root FS on remote server]

2013-02-20 Thread Steven Hartland
- Original Message - From: Paul Schenkeveld free...@psconsult.nl To: Daniel O'Connor docon...@gsoft.com.au Cc: hack...@freebsd.org Sent: Wednesday, February 20, 2013 8:31 PM Subject: IPMI console [Re: Chicken and egg, encrypted root FS on remote server] Hi Daniel, On Wed, Feb 20,

Re: Looking for reviewers for patch that adds foreign disk support mfiutil

2013-02-19 Thread Steven Hartland
- Original Message - From: John Baldwin Thanks for the feedback John appreciated, a couple of questions inline below if you would be so kind. On Sunday, February 17, 2013 1:06:40 pm Steven Hartland wrote: Hi all I'm looking for someone to review the attached patch to mfiutil which

Looking for reviewers for patch that adds foreign disk support mfiutil

2013-02-17 Thread Steven Hartland
Hi all I'm looking for someone to review the attached patch to mfiutil which adds foreign disk support to mfiutil as per: http://www.freebsd.org/cgi/query-pr.cgi?pr=172091 Any and all feedback welcome :) Regards Steve This e.mail is

Re: HDD write cache

2013-02-01 Thread Steven Hartland
Looking at the cam ata code I can't see how those values would do anything after booting. I suspect they should be loader only tunables with the current code and cant be changed on the fly for a disk that's already been registered. Try setting the values in /boot/loader.conf if you haven't

Re: HDD write cache

2013-02-01 Thread Steven Hartland
work, so you might want to raise a PR about it. Regards Steve - Original Message - From: Steven Hartland Looking at the cam ata code I can't see how those values would do anything after booting. I suspect they should be loader only tunables with the current code and cant be changed

Re: disadvantages of running 8.3 kernel on freebsd 8.2 system

2013-01-17 Thread Steven Hartland
- Original Message - From: Devin Teske devin.te...@fisglobal.com You're the perfect person to help us figure out why when we: 1. back-port mfi(4) from stable/8 into releng/8.3 (8.3-RELEASE-p5 at the time of back-port) 2. Succeed in getting 8.3 to boot on Thunderbolt card 3. mfiutil

Re: disadvantages of running 8.3 kernel on freebsd 8.2 system

2013-01-17 Thread Steven Hartland
- Original Message - From: dte...@freebsd.org But I bet you're not sitting 88 units of Thunderbolt cards that don't work in 8.3. 8.3 is also exhibiting major problems with the igb-based NICs on those same 88 units. Only effects igb init but might want to make sure you have r245334

Re: kgzip(1) is broken

2013-01-15 Thread Steven Hartland
- Original Message - From: dte...@freebsd.org To: 'Ian Lepore' free...@damnhippie.dyndns.org Cc: freebsd-hackers@freebsd.org; dte...@freebsd.org Sent: Wednesday, January 16, 2013 12:56 AM Subject: RE: kgzip(1) is broken -Original Message- From: Ian Lepore

Re: Threaded 6.4 code compiled under 9.0 uses a lot more memory?..

2012-10-30 Thread Steven Hartland
- Original Message - From: Karl Pielorz kpielorz_...@tdx.co.uk To: freebsd-hackers@freebsd.org Sent: Tuesday, October 30, 2012 11:12 AM Subject: Threaded 6.4 code compiled under 9.0 uses a lot more memory?.. Hi All, Can anyone think of any quick pointers as to why some code

Looking for testers / feedback for ZFS recieve properties options

2012-09-30 Thread Steven Hartland
We encountered a problem receiving a full ZFS stream from a disk we had backed up. The problem was the receive was aborting due to quota being exceeded so I did some digging around and found that Oracle ZFS now has -x and -o options as documented here:-

Re: AHCI Timeouts on SATA III with Intel 520 SSDs

2012-07-27 Thread Steven Hartland
Did you get anywhere with this? Seeing a similar thing on some new Patsburg based machines with KINGSTON SSD's on 8.3-RELEASE. Regards Steve - Original Message - From: Caza, Aaron aaron.c...@ca.weatherford.com To: freebsd-hackers@freebsd.org Sent: Monday, February 13, 2012 9:58

Re: AHCI Timeouts on SATA III with Intel 520 SSDs

2012-07-27 Thread Steven Hartland
if the problem stays with the disk or the port. Here's hoping its the disk or the cable and not the controller. Regards Steve - Original Message - From: Caza, Aaron aaron.c...@ca.weatherford.com To: Steven Hartland kill...@multiplay.co.uk; freebsd-hackers@freebsd.org Sent: Friday, July

Re: geom - cam disk

2012-07-25 Thread Steven Hartland
- Original Message - From: Andriy Gapon a...@freebsd.org on 26/07/2012 01:08 Alexander Motin said the following: Different controllers have different command queueing limitations. If you are testing with ahci(4) driver and modern disks, then their 32 command slots per port can be

dtrace crashes on ustack

2012-06-06 Thread Steven Hartland
When running dtrace looking at syscall::write:return for a java app with a ustack call for the first few calls I get:- dtrace: ERROR: gelf_getehdr() failed: No error: 0 And then after a number dtrace crashes:- #0 0x000800fcc59d in _malloc_prefork () from /lib/libc.so.7 [New

dtrace filename lookups from fd

2012-06-01 Thread Steven Hartland
As a first foray into dtrace I wanted to create a little script which shows the amount of disk read / write activity. Now the DtraceToolkit includes rwsnoop but this uses Solaris specific requests and on looking around it seems like using rwsnoop vn_fullpath may be the way to go. Has anyone

Re: proper newfs options for SSD disk

2012-05-25 Thread Steven Hartland
- Original Message - From: Wojciech Puchar woj...@wojtek.tensor.gdynia.pl On 2012-May-18 22:54:43 +0200, Dimitry Andric d...@freebsd.org wrote: Be sure to use -t enable when creating the filesystem: Only if your SSD supports TRIM. Some consumer-grade SSDs don't and get very

Re: Ways to promote FreeBSD?

2012-04-27 Thread Steven Hartland
- Original Message - From: Mehmet Erol Sanliturk My opinion is that most important obstacle in front of FreeBSD is its installation structure : It is NOT possible to install and use a FreeBSD distribution directly as it is . I disagree, we find quite the opposite; FreeBSD's current

Re: 8 to 9: A longer wait early in the boot of a (damaged) CompaqPresario

2012-02-16 Thread Steven Hartland
- Original Message - From: Alex Goncharov alex-goncha...@comcast.net About a week ago, I made a jump and upgraded the system's FreeBSD from version 8 to 9. Everything is great (I am typing this message on that machine now) but the boot pause after the (looking new in 9) boot menu is

Re: FreeBSD has serious problems with focus, longevity, and lifecycle

2012-01-17 Thread Steven Hartland
- Original Message - From: John Kozubik j...@kozubik.com It's amazing how many people are in the exact same boats - waiting for 8.3, getting locked out of new motherboards because em(4) can't be backported to even the production release... This is not true, only last week did we

Re: FreeBSD has serious problems with focus, longevity, and lifecycle

2012-01-17 Thread Steven Hartland
- Original Message - From: Hans Petter Selasky hsela...@c2i.net On Tuesday 17 January 2012 20:54:51 Steven Hartland wrote: boot time fixes (disable memtest), Hi, Another noticeable part is that ufsread.c in boot2 uses very small block sizes to read the file system data

Re: FreeBSD has serious problems with focus, longevity, and lifecycle

2012-01-16 Thread Steven Hartland
- Original Message - From: John Kozubik j...@kozubik.com To: freebsd-hackers@freebsd.org Sent: Monday, January 16, 2012 10:28 PM Subject: FreeBSD has serious problems with focus, longevity, and lifecycle Friends, I was disappointed to see that 8.3-RELEASE is now slated to come out

Re: Invalid memory stats from vmstat and sysctl vm.vmtotal?

2011-12-02 Thread Steven Hartland
- Original Message - From: Jason Hellenthal jh...@dataix.net Just to put some visuals to this... . `-- DIE |-- Core1 [Idle] |-- Core2 [35% ] | `-- thread127 |-- Core3 [40% ] | `-- thread127 `-- Core4 [100%] `-- thread127 In this case you would say the

Re: Invalid memory stats from vmstat and sysctl vm.vmtotal?

2011-12-02 Thread Steven Hartland
- Original Message - From: Andriy Gapon a...@freebsd.org Totalling up RSS from ps axo rss gives a total in the region of that if the vm stats are out by a factor of 4, in this case it should be: 8132557 which is 7.75GB a much more realistic value. Am I totally missing something or is

Re: Invalid memory stats from vmstat and sysctl vm.vmtotal?

2011-12-01 Thread Steven Hartland
- Original Message - From: Jason Hellenthal jh...@dataix.net This goes along with the thoughts I had about 4 months ago tending to some zfs statistics as well top showing greater than 100% actual CPU usage. This is a big pet peave of mine. Its like saying you ate 134% of a bannanna

Re: Invalid memory stats from vmstat and sysctl vm.vmtotal?

2011-12-01 Thread Steven Hartland
- Original Message - From: Damien Fleuriot m...@my.gd I could understand a bit of overflow as stats are snapshots which may not be instuntanious, but 31GB instead of under 8GB is hardly a rounding issue / overflow. With respect to top showing greater than 100% by how much are you

Re: Invalid memory stats from vmstat and sysctl vm.vmtotal?

2011-12-01 Thread Steven Hartland
- Original Message - From: RW rwmailli...@googlemail.com To: freebsd-hackers@freebsd.org Sent: Thursday, December 01, 2011 1:58 PM Subject: Re: Invalid memory stats from vmstat and sysctl vm.vmtotal? On Wed, 30 Nov 2011 12:39:10 - Steven Hartland wrote: We're seeing some

Invalid memory stats from vmstat and sysctl vm.vmtotal?

2011-11-30 Thread Steven Hartland
We're seeing some impossible memory usage stats reported on machines here from vmstat and sysctl vm.vmtotal. We have machines reporting to be using 31GB total when they only have 8GB physical and are not using any swap. Here's an output from one of our machines:- vmstat -c 2 -w 1 -n 0 procs

Re: iotop (dtrace?)

2011-10-25 Thread Steven Hartland
top and then use the IO mode, will give you an idea where the issue is. Regards Steve - Original Message - From: Stefan Bethke s...@lassitu.de To: freebsd-hackers@freebsd.org Sent: Tuesday, October 25, 2011 9:34 PM Subject: iotop (dtrace?) I've got two systems with a

Re: debugging frequent kernel panics on 8.2-RELEASE

2011-08-18 Thread Steven Hartland
- Original Message - From: Andriy Gapon a...@freebsd.org Thats interesting, are you using http as an example or is that something thats been gleaned from the debugging of our output? I ask as there's only one process running in each of our jails and thats a single java process. It's

Re: debugging frequent kernel panics on 8.2-RELEASE

2011-08-18 Thread Steven Hartland
- Original Message - From: Andriy Gapon a...@freebsd.org Probably I have mistakenly assumed that the 'prison' in prison_derefer() has something to do with an actual jail, while it could have been just prison0 where all non-jailed processes belong. That makes sense as this particular

Re: debugging frequent kernel panics on 8.2-RELEASE

2011-08-17 Thread Steven Hartland
- Original Message - From: Andriy Gapon a...@freebsd.org Thanks to the debug that Steven provided and to the help that I received from Kostik, I think that now I understand the basic mechanics of this panic, but, unfortunately, not the details of its root cause. It seems like

Re: cam / ata timeout limited to 2147 due to overflow bug?

2011-08-05 Thread Steven Hartland
Fri, Aug 05, 2011 at 12:02:19AM +0100, Steven Hartland wrote: So I suspect that this is what's happening resulting in an extremely small timeout instead of a large one. Now I know that passed in value to the timeout is seconds * 1000 so we should be seeing 2148000 for ccb-ccb_h.timeout now

cam / ata timeout limited to 2147 due to overflow bug?

2011-08-04 Thread Steven Hartland
I'm working on adding security methods to camcontrol and have come up against a strange issue. It seems that the timeout value for cam, at least on ata (ahci), is limited to less than 2148 seconds. This can be seen by running:- camcontrol identify ada0 -t 2148 -v (pass0:ahcich0:0:0:0):

Re: IPv4 socket bind using IPv6 socket on openjdk6 breaks udp send

2011-06-27 Thread Steven Hartland
- Original Message - From: Matthias Andree matthias.and...@gmx.de No I'm not its replying to the sender. Yes you are, check your trace: The sendto address and port are the same as the bound address. This is a bug in truss it seems, Bjoern said he's gonna have a look at it. Doesn't

Re: IPv4 socket bind using IPv6 socket on openjdk6 breaks udp send

2011-06-25 Thread Steven Hartland
- Original Message - From: Matthias Andree matthias.and...@gmx.de I'm adding back in -java as based on you comments it may well be something in the jdk passing invalid values down to the kernel syscall. The socket bind works fine and the packets sent to the server arrive and are

IPv4 socket bind using IPv6 socket on openjdk6 breaks udp send

2011-06-24 Thread Steven Hartland
We're trying to get our machines IPv6 enabled but in doing so this seems to break java apps using openjdk6 for UDP sends. The server seems quite happy to send and receive TCP packets on IPv6 socket that are bound to IPv4 addresses, but the same is not true for UDP. The socket bind works fine

Re: quotas an essential feature? (was: svn commit: r218953 - stable/8/usr.sbin/sysinstall)

2011-02-25 Thread Steven Hartland
While I can understand some may want its not something we use on any of our machines, and I suspect that's the case for many others. Given adding it means the kernel will be doing extra work and hence a drop in performance for a feature most will never use, I'm guessing here, I would say just

Re: machdep.hlt_cpus not safe with ULE?

2011-02-21 Thread Steven Hartland
- Original Message - From: Garrett Cooper gcoo...@freebsd.org As a followup to this and based on discussions with other folks, the fact that it's using hlt to halt CPUs without rescheduling tasks / masking interrupts, etc is not good. So none of the *hlt* sysctls are really doing the

machdep.hlt_cpus not safe with ULE?

2011-02-19 Thread Steven Hartland
I'm trying to debug a possibly failing CPU, so I thought it would be easy just disable the cores using machdep.hlt_cpus and see if we see the panic's we've been seeing. The problem is it seems ULE doesnt properly support machdep.hlt_cpus and still schedules processes onto the halted cpus which

Re: machdep.hlt_cpus not safe with ULE?

2011-02-19 Thread Steven Hartland
- Original Message - From: Gary Jennejohn gljennj...@googlemail.com Looking at the kernel source it appears that only sched_4bsd.c makes use of hlt_cpus_mask. Given ULE is default do these need to be either removed totally or at least conditionally based on the scheduler choice as

Re: machdep.hlt_cpus not safe with ULE?

2011-02-19 Thread Steven Hartland
For reference I've found that an alternative is to set the following in loader.conf:- hint.lapic.2.disabled=1 hint.lapic.3.disabled=1 2 and 3 here are the apic numbers displayed by dmesg on boot for the cpu's Obviously this requires a reboot so no perfect for all uses but it does work for what

Re: nginx + passenger = segv in _rtld_error on restart on FreeBSD 8.0?

2010-05-08 Thread Steven Hartland
As you may have guessed by my last reply no we didn't we had to revert to apache + passenger, but seems you've found a fix anyway. Out of interest what lead you to the close race condition PR as a potential fix? - Original Message - From: Matt Reimer mattjrei...@gmail.com Steve, Did

Re: nginx + passenger = segv in _rtld_error on restart onFreeBSD8.0?

2010-05-08 Thread Steven Hartland
Thanks Matt most appreciated! - Original Message - From: Matt Reimer mattjrei...@gmail.com Steve, The patch for PR 144061 works for us. http://lists.freebsd.org/pipermail/freebsd-hackers/2010-February/030741.html http://www.freebsd.org/cgi/query-pr.cgi?pr=144061

To sendmail or to postfix that is the question?

2010-03-10 Thread Steven Hartland
Ok so I'm looking to replace our current windows mail server using mdaemon with a FreeBSD solution, having looked around there seems to be differing opinions of which is the best option to go with between sendmail and postfix. The problem with looking for info on this is that a lot of the high

Re: To sendmail or to postfix that is the question?

2010-03-10 Thread Steven Hartland
- Original Message - From: Bill Moran wmo...@collaborativefusion.com I recommend squirrelmail. Unless you require some obscene feature-rich craziness (in that case, have fun installing IMP). I've used it with Postfix/Dovecot for a few years now with no trouble. Why is this

Re: nginx hanging with state zoneli

2010-01-09 Thread Steven Hartland
- Original Message - From: Alexander Nesterov nester@gmail.com On 08.01.2010 20:21, Steven Hartland wrote: [..] 12582/218/12800/12800 4k (page size) jumbo clusters in use (current/cache/total/max) Try to increase jumbo clusters (sysctl kern.ipc.nmbjumbop) Thanks

nginx hanging with state zoneli

2010-01-08 Thread Steven Hartland
The first time in a while be we just had nginx get stuck in the zoneli state: 51630 www 1 -160 16616K 9396K zoneli 2 24:33 0.00% nginx 51627 www 1 -160 16616K 9376K zoneli 1 24:22 0.00% nginx 51629 www 1 -160 16616K 9372K zoneli 3 24:09 0.00% nginx

Re: Passenger hangs on live and SEGV on tests possible threading /kernel bug?

2009-12-21 Thread Steven Hartland
- Original Message - From: John Baldwin I've uploaded a two more traces for the oxt test failure / segv. http://code.google.com/p/phusion-passenger/issues/detail?id=441#c1 From looking at the test case it testing the capture of failures and its ability to create a stack trace output

Passenger hangs on live and SEGV on tests possible threading / kernel bug?

2009-12-17 Thread Steven Hartland
We're having an issue with Passenger on FreeBSD where it will hang and stop processing any more requests the details are attach to the following bug report: http://code.google.com/p/phusion-passenger/issues/detail?id=318#c14 In addition the test suite crashes in what seems to be a very basic

Re: Passenger hangs on live and SEGV on tests possible threading / kernel bug?

2009-12-17 Thread Steven Hartland
- Original Message - From: John Baldwin j...@freebsd.org For the hang it seems you have a thread waiting in a blocking read(), a thread waiting in a blocking accept(), and lots of threads creating condition variables. However, the pthread_cond_init() in libpthread (libthr on FreeBSD)

Re: nginx + passenger = segv in _rtld_error on restart on FreeBSD8.0?

2009-12-09 Thread Steven Hartland
- Original Message - From: Kostik Belousov kostik...@gmail.com To: Steven Hartland kill...@multiplay.co.uk Cc: freebsd-hackers@freebsd.org; freebsd-sta...@freebsd.org Sent: Wednesday, December 09, 2009 10:21 AM Subject: Re: nginx + passenger = segv in _rtld_error on restart

nginx + passenger = segv in _rtld_error on restart on FreeBSD 8.0?

2009-12-08 Thread Steven Hartland
I'm currently testing nginx + passenger on FreeBSD 8.0 and I'm seeing a strange segv which seems to indicate a core library error in _rtld_error. Could this be the case or is the stack just badly corrupted? (gdb) bt #0 0x0008005577dc in _rtld_error () from /libexec/ld-elf.so.1 #1

Re: Dell M600 Blade: 6.4 works, 7.x and 8.x fail to boot

2009-11-14 Thread Steven Hartland
Yes I can confirm that. Regards Steve - Original Message - From: Thierry Herbelot thierry.herbe...@free.fr from the two URLs you provide, it seems that i386 is working (for all FreeBSD versions) and only amd64 is failing : can you confirm this ?

How to prevent 64bit library paths being searched for 32bit binaries on amd64?

2009-10-03 Thread Steven Hartland
I've just been trying to get a 32bit binary to work on amd64 7.0-RELEASE, the binary had some qt4 dependencies so I set about copying these into /usr/local/lib32 but it seems that for some reason /usr/local/lib is searched first which obviously causes problems when here is a 64bit library of the

Re: FreeBSD 7.0-RELEASE amd64 on Dell M600 Blade

2009-07-20 Thread Steven Hartland
Did anyone ever get anywhere with this, just retried with 8.0-BETA2 and still the same hangs as depicted in the attached screen shots. Sorry got no serial console :( Would like to get this working if possible so anything I can try to gain some more info on this issue? Regards Steve -

i386_set_ldt on FreeBSD 7.x amd64

2009-07-19 Thread Steven Hartland
I'm trying to convert some audio streams and the only app which seems to be capable of this mplayer with the w32codecs Unfortunately the machine is 7.1 amd64. I've compiled the binaries up on an old i386 box but when running said bins on the amd64 box it errors with: Opening audio decoder:

Re: i386_set_ldt on FreeBSD 7.x amd64

2009-07-19 Thread Steven Hartland
- Original Message - From: Kostik Belousov kostik...@gmail.com http://docs.freebsd.org/cgi/getmsg.cgi?fetch=233316+0+archive/2008/freebsd-amd64/20081214.freebsd-amd64 The latest version I can find is: http://people.freebsd.org/~kib/misc/amd64_ldt-pre.4.patch Anyone info appreciated.

Re: i386_set_ldt on FreeBSD 7.x amd64

2009-07-19 Thread Steven Hartland
- Original Message - From: Kostik Belousov kostik...@gmail.com Thanks for the confirmation Kostik. Do you believe there is any reason to stop that patch working on 7.X if manually applied? Is the patch above the final version that went into HEAD? No and no, but I think that

Looking for someone to commit hptmv driver fixes

2009-04-04 Thread Steven Hartland
Hi guys I'm looking for someone to commit the hptmv v1.16 driver to the main source? Currently this driver in FreeBSD core is at 1.12 which it totally unusable under 7.+, panics on install, as well as being totally unstable on Seagate drives on previous versions. I can provide a full patch which

Re: How to increase the max pty's on Freebsd 7.0?

2009-04-02 Thread Steven Hartland
0n Wed, Apr 01, 2009 at 10:53:06PM +0200, Ed Schouten wrote: You can increase the maximum amount of PTYs by editing a lot of source files on your system. There is some good news: in -CURRENT we switched to Unix98-style PTYs (/dev/pts/%u). Right now the maximum amount of PTYs is limited to 1000

Re: How to increase the max pty's on Freebsd 7.0?

2009-04-02 Thread Steven Hartland
Yep that's what I came up with after looking though the code thanks for the link though, always good to get confirmation that I didn't miss something. Regards Steve - Original Message - From: John Baldwin j...@freebsd.org On Wednesday 01 April 2009 1:55:12 pm Steven Hartland

How to increase the max pty's on Freebsd 7.0?

2009-04-01 Thread Steven Hartland
How can I increase the maximum number or ptys available on FreeBSD 7.0? It seems that currently the machine is maxing out at 512 but there is still loads of capacity left on the machine. Ideally would like to double at least the number of ttys available, any help would be most appreciated.

Re: How to increase the max pty's on Freebsd 7.0?

2009-04-01 Thread Steven Hartland
: Steven Hartland How can I increase the maximum number or ptys available on FreeBSD 7.0? It seems that currently the machine is maxing out at 512 but there is still loads of capacity left on the machine. Ideally would like to double at least the number of ttys available, any help would be most

7.0 unusual performance issue - vmdaemon hang?

2008-12-10 Thread Steven Hartland
Just had one of hour webservers flag as down here and on investigation the machine seems to be struggling due to a hung vmdaemon process. top is reporting vmdaemon as using a constant 55.57% CPU yet CPU time is not increasing:- last pid: 36492; load averages: 0.04, 0.05, .11 up

Re: unionfs kernel panic on 7.1-PRERELEASE

2008-12-06 Thread Steven Hartland
Did you have any ideas where the root of this problem may lie Kostik? - Original Message - From: Steven Hartland [EMAIL PROTECTED] Yes every time, I've got a half life 2 dedicated install mounted under unionfs:- mount -t unionfs -o noatime -o below /usr/local/games/hl2ds /usr/local

unionfs kernel panic on 7.1-PRERELEASE

2008-12-02 Thread Steven Hartland
Not sure where to go with this one any help appreciated:- FreeBSD dedicated11.multiplay.co.uk 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #4: Tue Dec 2 16:53:30 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MULTIPLAY i386 kgdb kernel /var/crash/vmcore.1 GNU gdb 6.1.1 [FreeBSD] Copyright 2004

Re: unionfs kernel panic on 7.1-PRERELEASE

2008-12-02 Thread Steven Hartland
and unionfs interaction which is causing the issue. Regards Steve - Original Message - From: Kostik Belousov [EMAIL PROTECTED] To: Steven Hartland [EMAIL PROTECTED] Cc: freebsd-hackers@freebsd.org Sent: Tuesday, December 02, 2008 8:39 PM Subject: Re: unionfs kernel panic on 7.1-PRERELEASE

Re: FreeBSD 7.0-RELEASE amd64 on Dell M600 Blade

2008-09-11 Thread Steven Hartland
Thanks Rudi, would really like to get is sorted as they would make ideal app servers. - Original Message - From: Rudi Kramer - MWEB [EMAIL PROTECTED] Hi Steven, We recently purchased a few M600's but haven't got around to loading FBSD on them, we should start installing next week

FreeBSD 7.0-RELEASE amd64 on Dell M600 Blade

2008-09-08 Thread Steven Hartland
I've been trying to install FreeBSD 7.0-RELEASE amd64 on a Dell M600 Blade but it hangs just after initialising the isa bus. I've tried a number of things and the only thing that I can get to work is the i386 build which boots into the installer without issue. Has anyone had any experience

lighttpd failing to accept new connections ( connection reset )

2008-08-28 Thread Steven Hartland
We're using lighttpd here for a new project and we're having issues where by it simply stops processing after a 1-2 days. Having looked at it in some detail this morning it seems that the kernel is resetting the connection without notifying the lighttpd process there is a new connection attempt.

Re: lighttpd failing to accept new connections ( connection reset ) / possible kqueue bug

2008-08-28 Thread Steven Hartland
- Original Message - From: Jeremy Chadwick [EMAIL PROTECTED] Can you change the polling method in lighttpd to use poll or select instead of kqueue? This would help in determining if the problem is with the daemon itself or the kevent system. Yep already scheduled that change for

Re: lighttpd failing to accept new connections ( connection reset )

2008-08-28 Thread Steven Hartland
- Original Message - From: Robert Watson [EMAIL PROTECTED] The connections getting reset without application notification is a classic symptom of a full listen queue. A couple of questions: Yep thats what I thought. (1) What FreeBSD version? 7.0-RELEASE-p2 (amd64) (2) Are you

Re: ntpd jail problem

2008-06-08 Thread Steven Hartland
I assume as it would effect the entire machine and hence should be run on the base machine instead, not the jail? - Original Message - From: [EMAIL PROTECTED] Anybody know why ntpd might not work in a jail? This e.mail is private

Using sendmsg for SCM_CREDS results in EINVAL on PF_INET socket

2008-05-18 Thread Steven Hartland
sendmsg is not documented as ever returning EINVAL but yet when using the following code to send credentials to a remote host results in EINVAL from sendmsg. I suspect that SCM_CREDS is only valid for PF_LOCAL / PF_UNIX sockets and not PF_INET sockets and hence the code in dbus is actually

Re: MODULES_OVERRIDE magic needed

2008-03-31 Thread Steven Hartland
The following works fine here note its MODULE'S' not MODULE makeoptions MODULES_OVERRIDE=linux linprocfs acpi nfsclient nfsserver nullfs accf_http Regards Steve - Original Message - From: Danny Braniss [EMAIL PROTECTED] To: freebsd-hackers@freebsd.org Sent: Monday, March 31,

pkg_add -r doesn't process sub dependencies?

2008-03-07 Thread Steven Hartland
Seems if you have package X which depends on package Y which depends on package Z then pkg_add -r X will always fail unless you first :- 1. pkg_add -r Y 2. pkg_add -r Z The failure will be:- pkg_add: could not find package Z ! This happens even though Z exists in the remote source package

Re: pkg_add -r doesn't process sub dependencies?

2008-03-07 Thread Steven Hartland
- Original Message - From: walt [EMAIL PROTECTED] If you are using RELENG_7, pkg_add is looking in the wrong place on the remote server for packages. I just submitted a patch on the -STABLE list for this problem. I'm actually using PACKAGESITE which is meant to bypass all path

Re: gettimeofday() in hping

2008-01-23 Thread Steven Hartland
- Original Message - From: Ivan Voras [EMAIL PROTECTED] The other thing that bothers me is, that under freebsd is quite easy to get: [send_ip] sendto: No buffer space available It happens almost always on my laptop just few seconds after I start hping with timecounter=TSC I'm not sure,

Jail with a back door interface?

2007-11-27 Thread Steven Hartland
Is it possible to create a jail with more than one IP? What I'm looking to do is have a forward facing IP and an backwards facing IP in the same jail so it can talk to the internet and our back door systems. Looking around this doesn't seem possible but is it? Regards Steve

Re: How to enable more than 256 pty's?

2007-10-02 Thread Steven Hartland
Any one got any pointers on this, the machine we running this app on is over 90% idle so I really don't want to have to install a second machine just to workaround a limit on the number of pty's, surely there's a way to increase this? Regards Steve

Re: How to enable more than 256 pty's?

2007-10-02 Thread Steven Hartland
Thanks for the tip there but I cant find any function called pty_create_slave in the source. N.B. Machine is running 5.4 but I also looked on 6.2 which we could upgrade to but still couldn't find it, so I assume you may be talking about something that's in current which we couldn't risk on this

How to enable more than 256 pty's?

2007-10-01 Thread Steven Hartland
Is it really a matter of editing: /usr/src/sys/kern/tty_pty.c And changing: static char *names = pqrsPQRS; To increase the number of available pty's ( FreeBSD 5.4 ) or is there a nicer way? Regards Steve This e.mail is private and

Re: How to enable more than 256 pty's?

2007-10-01 Thread Steven Hartland
Well looked like that might work but clearly not, should have looked closer. Is there a way to do this? Regards Steve - Original Message - Is it really a matter of editing: /usr/src/sys/kern/tty_pty.c And changing: static char *names = pqrsPQRS; To increase the number of

truss with -f = application hang

2007-09-30 Thread Steven Hartland
When trying to trace an app with truss -f to trace descendants the application will always hang. Without -f everything is fine but we dont get the decendants calls. This is when running on FreeBSD 6.2-RELEASE-p7, the application in this test is a linux app and we are running linux_base-fc-4_9.

  1   2   3   >