Re: mprotect(2) clears the flag for whole page which causes program crash.

2009-11-19 Thread Sharad Chandra
, [Jung-uk Kim wrote:] | On Wednesday 18 November 2009 01:52 pm, Robert Watson wrote: | > On Tue, 17 Nov 2009, Sharad Chandra wrote: | > > Is it known bug or is there any workaround? How will a userland | > > process make sure that process will not crash as malloc(3) can | >

mprotect(2) clears the flag for whole page which causes program crash.

2009-11-17 Thread Sharad Chandra
userland process make sure that process will not crash as malloc(3) can allocate where ever it get the memory free to use. -- Thanks, Sharad Chandra ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To

Re: jumbo packets on em card.

2008-04-29 Thread Sharad Chandra
, [Jeremy Chadwick wrote:] | On Tue, Apr 29, 2008 at 04:13:13PM +0530, Sharad Chandra wrote: | > I am getting a problem in setting em card to 1000baseTX. It shows "active | > status" with 100baseTX but as soon as i run "ifconfig em1 media | > 1000baseTX mediaopt f

jumbo packets on em card.

2008-04-29 Thread Sharad Chandra
baseT/UTP And is it possible any how to send *jumbo packets* on this card or on bge card (bge card is working with 1000base)? I tried nemesis tool, but i don't think it can send bigger packets. BPF also seems to have limitaion upto 2K. -- Thanks Sharad Chandra __

Re: usleep

2008-02-25 Thread Sharad Chandra
, [Heiko Wundram (Beenic) wrote:] | Am Montag, 25. Februar 2008 10:10:56 schrieb Sharad Chandra: | > So does it mean, freebsd has limitation. sleeping will only work for its | > value more than 1 milli sec because % of +- error value is comparitivly | > low? I am curious to know, is

Re: usleep

2008-02-25 Thread Sharad Chandra
, [Heiko Wundram (Beenic) wrote:] | Am Freitag, 22. Februar 2008 11:28:42 schrieb Sharad Chandra: | > Does usleep work for you? i just saw it is implemented over nanosleep | > which passes a struct timeval to "select". | | Quoting from POSIX: | | """ | The u

Start Fire nic card.

2008-02-22 Thread Sharad Chandra
Hi, How does dual port star fire nic card time stamp? Is the sheduling round robin. if it is, there can be chances, a frame comes later than other can get lesser timestamp. -- Thanks Sharad Chandra ___ freebsd-hackers@freebsd.org mailing

usleep

2008-02-22 Thread Sharad Chandra
0.002480 usleep: 0.001996 0.07 => select: 0.006715 usleep: 0.001998 0.08 => select: 0.002297 usleep: 0.001662 0.09 => select: 0.002635 usleep: 0.001999 0.10 => select: 0.003717 usleep: 0.001988 -- Thanks Sharad Chandra ___

trap 12 with interrupts disabled, need help

2007-12-27 Thread Sharad Chandra
handle it Platform: freebsd 6.1 on amd64 -- Thanks Sharad Chandra ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: SCSI and SAN

2007-10-06 Thread Sharad Chandra
Can't we differentiate relating to some parameter? What about transfer rate "camcontrol inquiry da0". on SCSI its 320MB/Sec and on san its 200MB/Sec any other parameter? Thanks in advance Sharad Chandra On Friday 05 October 2007 7:46 pm, Achim Patzner wrote: > Am 05.10.200

Re: SCSI and SAN

2007-10-05 Thread Sharad Chandra
, whether it is regular SCSI drives or SAN. Then we need a tool that can tell this da0 belongs to SAN/SCSI or not Thanks Sharad Chandra On Thursday 04 October 2007 6:51 pm, Eric Anderson wrote: > Sharad Chandra wrote: > > Hello, > > > > How to distinguish if /dev/da* devi

Re: SCSI and SAN

2007-10-05 Thread Sharad Chandra
On Friday 05 October 2007 5:25 pm, Eric Anderson wrote: > Sharad Chandra wrote: > > On Thursday 04 October 2007 6:51 pm, Eric Anderson wrote: > >> Sharad Chandra wrote: > >>> Hello, > >>> > >>> How to distinguish if /dev/da* devices are

Re: SCSI and SAN

2007-10-05 Thread Sharad Chandra
m, nothing else. Thanks Sharad Chandra On Friday 05 October 2007 5:19 pm, Tom Evans wrote: > On Fri, 2007-10-05 at 12:43 +0100, Tom Evans wrote: > > > Excuse the formatting, my keyboard went nuts and decided I was done > editing :o > > In addition to the example I show

Re: SCSI and SAN

2007-10-05 Thread Sharad Chandra
emperature Warning Disabled or Not Supported on SCSI device pass0 errors don't come. Thanks Sharad Chandra On Friday 05 October 2007 4:46 pm, Sharad Chandra wrote: > Yes, right by analyzing camcontrol devlist it can be told, but i guess not > always. > > [EMAIL PROTECTED] ~

Re: SCSI and SAN

2007-10-05 Thread Sharad Chandra
, whether it is regular SCSI drives or SAN. Then we need a tool that can tell this da0 belongs to SAN/SCSI or not Thanks for any suggestion. Sharad Chandra On Thursday 04 October 2007 6:51 pm, Eric Anderson wrote: > Sharad Chandra wrote: > > Hello, > > > > How to distinguish if

SCSI and SAN

2007-10-04 Thread Sharad Chandra
Hello, How to distinguish if /dev/da* devices are internal scsi drivers or LUNs of external SAN? Is there any tool? Thanks for any advice. Sharad Chandra ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: gcc -m32 option on amd64.

2007-08-10 Thread Sharad Chandra
On Friday 27 Jul 2007 3:50 pm, Peter Jeremy wrote: > On 2007-Jul-27 15:13:48 +0530, Sharad Chandra <[EMAIL PROTECTED]> wrote: > >I am trying gcc -m32 on freebsd 6.1 amd64 env, but it does not seems to be > >working. i also installed /usr/port/lang/linux-libgcc/ but did not

gcc -m32 option on amd64.

2007-07-27 Thread Sharad Chandra
rtbld-freebsd6.1/4.2.0/gcc/x86_64-portbld-freebsd6.1/4.2.0/libgcc.a when searching for -lgcc /usr/bin/ld: cannot find -lgcc collect2: ld returned 1 exit status how can we make this working? Thanks Sharad Chandra ___ freebsd-hackers@freebsd.org m

Re: rsh help

2007-07-24 Thread Sharad Chandra
I got it for those who had a look on rsh, need to modify /etc/hosts.equiv file and read rshd man page is sufficient. Sharad Chandra On Tuesday 24 July 2007 6:09 pm, Sharad Chandra wrote: > Hi Guys, > > I was looking at rsh on freebsd 6.0, is it really execute commands > I

rsh help

2007-07-24 Thread Sharad Chandra
nks Sharad Chandra ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Get IP from ttyname(3)

2007-01-02 Thread Sharad Chandra
Hi all, I was reading man page of ttyname(3). I thought if i have ttyname then using that can i have IP address of connected host?. like in sshd logs on log file like. ... sshd[]: Accepted keyboard-interactive/pam for from port ssh2 This IP here is connected hosts ip.. is there any api