Re: Highpoint 2760A / Marvell 88SE9485 SAS HBA Drivers?

2012-04-19 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 04/12/12 10:14, Barkley Vowk wrote: I've got a Highpoint 2760A card that I'd like a FreeBSD driver for, I've got a machine and disks available if someone wants to tackle that. Please try loading 'hpt27xx.ko' on boot. Cheers, - -- Xin LI

Re: mlockall() on freebsd 7.2 + amd64 returns EAGAIN

2012-04-19 Thread Konstantin Belousov
On Wed, Apr 18, 2012 at 04:37:45PM -0700, Sushanth Rai wrote: Wiring entire address space seems to have interesting side effect. The libc memory allocator calls madvise() to free the dirty unused pages, which does nothing when the pages are wired. The allocator unmaps only when entire chunk is

Re: __NR_mmap2 in FreeBSD

2012-04-19 Thread Maninya M
Hello :) After a long time trying different combinations of setting register values, I was finally able to allocate memory to the process. It doesn't seem to work for processes that use malloc(), so that's why I was getting a problem. Thank you very much John Baldwin and Julian Elischer, and to

Re: __NR_mmap2 in FreeBSD

2012-04-19 Thread Maninya M
Oh and here is the code that worked. Thanks! :) void map_memory(unsigned long addr, unsigned long size, int flags) { int status; char cmd[200]; struct reg regs,temp_regs; unsigned int int_instr = 0x80cd; /* INT 0x80 */ unsigned int push_eax= 0x0050; unsigned int orig_instr;

mount_nfs does not like exports longer then 88 chars

2012-04-19 Thread Mark Saad
Hello Hackers I was wondering if anyone has come across this issue. This exists in FreeBSD 6, 7, and 9 , and probably in 8 but I am not using it at this time. When a nfs export path and host name total to more then 88 characters mount_nfs bombs out with the following error when it attempts to

RE: mount_nfs does not like exports longer then 88 chars

2012-04-19 Thread Andrew Duane
MNAMELEN is used to bound the Mount NAMe LENgth, and is used in many many places. It may seem to work fine, but there are lots of utilities and such that will almost certainly fail managing it. Search the source code for MNAMELEN.  ... Andrew Duane Juniper

Re: mount_nfs does not like exports longer then 88 chars

2012-04-19 Thread Mark Saad
On Thu, Apr 19, 2012 at 3:51 PM, Andrew Duane adu...@juniper.net wrote: MNAMELEN is used to bound the Mount NAMe LENgth, and is used in many many places. It may seem to work fine, but there are lots of utilities and such that will almost certainly fail managing it. Search the source code for

Re: mount_nfs does not like exports longer then 88 chars

2012-04-19 Thread Rick Macklem
Mark Saad wrote: On Thu, Apr 19, 2012 at 3:51 PM, Andrew Duane adu...@juniper.net wrote: MNAMELEN is used to bound the Mount NAMe LENgth, and is used in many many places. It may seem to work fine, but there are lots of utilities and such that will almost certainly fail managing it.

Re: mount_nfs does not like exports longer then 88 chars

2012-04-19 Thread Mark Saad
On Apr 19, 2012, at 8:58 PM, Rick Macklem rmack...@uoguelph.ca wrote: Mark Saad wrote: On Thu, Apr 19, 2012 at 3:51 PM, Andrew Duane adu...@juniper.net wrote: MNAMELEN is used to bound the Mount NAMe LENgth, and is used in many many places. It may seem to work fine, but there are lots of