anyone running the ofed code

2013-05-10 Thread Vijay Singh
Apologies for the cross post. Were trying out the ofed code and running into some issues, so would love to discuss. -vijay ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any

vmspace_fork()

2013-04-23 Thread Vijay Singh
T <http://fxr.watson.org/fxr/ident?im=3;i=KASSERT>(locked <http://fxr.watson.org/fxr/ident?im=3;i=locked>, (*"vmspace_fork: lock failed"*)); I am hitting the assert in line 3103 and it seems like the assumption is that the trylock will always get the lock? -vijay

copyinstr()

2013-04-08 Thread Vijay Singh
Hi, I was looking for some help with copyinstr() on an amd64 platform. My from address happens to be in the kernel (stack). I am getting an EFAULT, and I am wondering how to fix that. Would using memory from malloc() make a difference? -vijay

KVERIFY for non-debug invariants?

2012-12-05 Thread Vijay Singh
All. KASSERT() is a really need way of expressing invariants when INVARIANTS is defined. However for regular, non-INVARIANTS code folks have the typical if() panic() combos, or private macros. Would a KVERIFY() that does this in non-INVARIANTS code make sense? -vijay

vm info from a hung system

2012-09-13 Thread Vijay Singh
-- --- SYSTEM MEMORY SUMMARY: mem_used: 709595136 (676MB) Used memory mem_avail: + 56840192 ( 54MB) Available memory -- --- -- mem_total: =766435328 (730MB) Total memory What is this telling me? -vijay

USB issue on 8.2

2012-02-23 Thread Vijay Singh
total rate irq16: ehci1 488177801 114166 Is this known? Any patches I can test? -vijay ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe

Re: Panic in 8.1 in softclock(): mutex Giant not owned at ../../../../sys/kern/kern_mutex.c:185

2012-02-15 Thread Vijay Singh
I added that code to track down the issue. I was originally hitting the panic much later after the callout had been executed. -vijay ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, se

Re: Panic in 8.1 in softclock(): mutex Giant not owned at ../../../../sys/kern/kern_mutex.c:185

2012-02-15 Thread Vijay Singh
Everytime this hits, I see that kldload is running on the other CPU: (kgdb-amd64-6.8-48) show_ps_running CPU ticks pri thread tid pid state VSZ RSS cmd 0 2 52 0xff000424c800 1611 TDS_RUNNI

Panic in 8.1 in softclock(): mutex Giant not owned at ../../../../sys/kern/kern_mutex.c:185

2011-11-06 Thread Vijay Singh
Hackers. I am hitting a panic on 8.1 in the softclock() code. Anyone seen this? PANIC : mutex Giant not owned at ../../../../sys/kern/kern_mutex.c:185 (kgdb-amd64-6.8-71) bt #0 breakpoint () at ./machine/cpufunc.h:64 #1 0x803d8b82 in kdb_enter (why=0x806ca339 "panic", msg=0xfff

RE: retrive data from mbuf chain

2008-02-07 Thread Singh, Vijay
>From the entire chain. best regards, Vijay > -Original Message- > From: Biks N [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 07, 2008 1:38 PM > To: Sam Leffler > Cc: freebsd-hackers@freebsd.org > Subject: Re: retrive data from mbuf chain > >

Disabling Tx intrerrupts in bge

2006-04-26 Thread Singh, Vijay
Hi hackers, how do I disable Tx interrupts in the bge driver? I guess it should be by changing some bit in this mask: #define BGE_MBX_IRQ0_LO 0x0204 Any help is appreciated. wbr Vijay Singh NetApp ___ freebsd-hackers@freebsd.org

RE: correct use of bus_dmamap_sync

2005-10-25 Thread Singh, Vijay
man bus_dma(9) > -Original Message- > From: Dinesh Nair [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 25, 2005 7:03 AM > To: Dinesh Nair > Cc: freebsd-hackers@freebsd.org > Subject: Re: correct use of bus_dmamap_sync > > > > On 10/25/05 21:15 Dinesh Nair said the following: > > t

RE: cc1: internal compiler error: Abort trap: 6

2005-06-04 Thread Singh, Vijay
I figured this out, basically somehow the pf_table.c file got truncated during the install. When I installed a fresh complete file, the make succeeded. However I am surprised that gcc did not report a more verbose warning. Br vijay > -Original Message- > From: Kris Kennaway [

cc1: internal compiler error: Abort trap: 6

2005-06-03 Thread Singh, Vijay
r error: Abort trap: 6 gcc -v Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.4.2 [FreeBSD] 20040728 Is this a known issue? How can I get around this? Vijay Singh NetApp ___ freebsd-hackers@freebsd.

RE: watching a file for ownership change

2005-05-24 Thread Singh, Vijay
If you're hacking the kernel, you could embed the pid in the VNODE filter data value, or perhaps copy it to the user udata (breaking semantics). vijay -Original Message- From: Marco Molteni [mailto:[EMAIL PROTECTED] Sent: Monday, May 23, 2005 1:23 PM To: [EMAIL PROTECTED] Subjec

about freebsd boot1.S

2004-09-30 Thread vijay singh
epe /* repeat the movsw instruction cx number of times */ :7C31 movsw /* moves 200h = 512 bytes from 7C00 to 700*/ please cc me in your reply. thanks vijay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hack

jump from kernel to loader

2004-09-22 Thread vijay singh
special cases? kindly cc me as i am not on the list. br vijay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

help with sendfile code

2003-09-11 Thread vijay singh
0. Could someome please point out what I'm doing wrong? Any help will be greatly appreciated. Kindly CC me. thanks vijay = Everytime I scream, I'm killing pain. __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design sof

Re: kqueue

2002-09-25 Thread vijay singh
requirements are but I'm thinking of providing this for an old 2.x FreeBSD system. Any ideas, pointers or suggestions are appreciated. vijay Michel Oosterhof wrote: > > Hello. > > Recently I started looking into kqueue(2), and to get to know the > interface better I attempted to

How to keep java code running after logout

2002-07-29 Thread Vijay Patel
Hi friends, I have installed FreeBSD 4.5 on my machine. I am also having 2 other machines running on linux. We have developed a code in java which we need to run in background for 24 hrs. In linux we use... java Code1 & command to run our code in background

Re: Kernel after halt issued

2002-02-14 Thread vijay
two cards running FreeBSD based kernels, and connected with an ARCnet lan (COM20020 chip from SMSC), and while halted, the driver does not reset the hardware for the other card to take over (it is an isa device). I am still working on a possible solution for this. vijay "PSI, Mike Smith&q

newbie - Audio CD question

2001-01-29 Thread vijay
Hi, I am new to FreeBSD. I wanted to know if I can play audio CDs on "my" system. I have culled the following information from dmesg wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 6187MB (12672450 sectors), 13410 cyls, 15 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 on isa wdc1:

resource overheads

2001-01-25 Thread vijay
Hi, I was wondering if there was any literature (maybe specific to FreeBSD or in general) about the overheads of various programming techniques etc. For eg, reducing the number of system calls, and mapping them to Library function calls, or say use of inline fucntions vs otherwise. v. To Unsu