locking user memory

2000-10-05 Thread Atul Mukker.

Hi,
My driver needs to do a large DMA in the user address. Is there a way i can
ensure the user buffer is  not swapped out, while i am doing the IO.
Please CC your mail to [EMAIL PROTECTED]

TIA
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



sys_mlock/sys_munlock

2000-10-06 Thread Atul Mukker.

Hi,
Can i use sys_mlock and sys_munlock in my driver module to lock/unlock the
user address pages.

Thanks

P.S.Please mark your mail CC to [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



RE: random failures with megaraid driver on 2.4.4 SMP

2001-06-27 Thread Atul Mukker.

This issue has been acknowledged on 1M/2M controllers with firmware H.01.07
and H.01.08.

Atul Mukker
Supervising Software Engineer
RAID R&D
American Megatrends Inc.
6145-F Northbelt Parkway Norcross GA-30071
E-mail: [EMAIL PROTECTED]
HTTP: www.ami.com



> -Original Message-
> From: Kelly Martin [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, June 27, 2001 9:26 AM
> To:   Kelly Martin; '[EMAIL PROTECTED]'
> Subject:  RE: random failures with megaraid driver on 2.4.4 SMP
> 
> FYI, patching megaraid.c to disable 64-bit mode avoids the problem.
> Apparently, the firmware provided by HP for this card is buggy in 64 bit
> mode.  System has run stably for two weeks after applying the patch.
> Contact me if you want the patch.  Thanks to Martti Hyppänen for the
> patch.
> 
> (Posted because I've received followup inquiries; please cc: replies.)
> 
> Kelly Martin
> American Farm Bureau Federation
> [EMAIL PROTECTED]
> 
> > -Original Message-
> > From:   Kelly Martin 
> > Sent:   Thursday, June 07, 2001 12:40 PM
> > To: '[EMAIL PROTECTED]'
> > Subject:random failures with megaraid driver on 2.4.4 SMP
> > 
> > I have an HP Netserver 1000r (dual Pentium 3) with a HP NetRAID-1M card
> > running Linux 2.4.4 with the megaraid driver included in 2.4.4 that has
> > twice now experienced kernel panics related to file system damage which
> > appear to be caused by the megaraid driver going mad and scribbling
> > randomly on the drive.  We have using this same driver with 2.2.x
> kernels
> > on other uniprocessor machines with the same NetRAID card for over a
> year
> > with no failures, so it seems likely that this is either a 2.4.x problem
> > or an SMP problem with this driver.  
> > 
> > This machine is slated to become a production system and I do not have a
> > similiarly-configured spare machine, so I am not going to pursue this
> > problem at this time.  This card works fine under 2.2.x so we are going
> to
> > use 2.2.19 on this machine for now.  However, doing so makes our second
> > processor little more than a space heater.  I have not tried using other
> > versions of the megaraid driver or kernels other than 2.4.4; I simply
> > cannot spare the time right now.
> > 
> > I am not subscribed to the mailing list; please cc: replies.
> > 
> > Kelly Martin
> > American Farm Bureau Federation
> > [EMAIL PROTECTED]
> > 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [EMAIL PROTECTED]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/