RE: Copying from Virtual Address Space to Physical Address

2002-08-30 Thread Kip Macy
While we're on the topic of vmapbuf: I have a kernel module that maps two 64k chunks of user memory into the kernel using the same set of steps that cam_periph_mapmem uses. However, I inevitably get the following panic after running the code for a bit: Aug 30 14:55:26 testhost /kernel: panic: wor

RE: Copying from Virtual Address Space to Physical Address

2002-08-30 Thread Julian Elischer
On Fri, 30 Aug 2002, Balaji, Pavan wrote: > > Thanx. It's nearly done. I just need to know two more small things. > > physio() requires a dev_t as a parameter. What do I give in over here? I > can't give NULL, cause it does use it for some stuff in the function > definition. I wasn't suggest

RE: Copying from Virtual Address Space to Physical Address

2002-08-30 Thread Balaji, Pavan
"Only the Paranoid Survive" -- Andy Grove > -Original Message- > From: Julian Elischer [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 30, 2002 3:49 PM > To: Balaji, Pavan > Cc: '[EMAIL PROTECTED]' > Subject: RE: Copying from Virtual Address Space

RE: Copying from Virtual Address Space to Physical Address

2002-08-30 Thread Julian Elischer
; Thanx. > > Pavan Balaji, > Intel Corporation > Email: [EMAIL PROTECTED] > > "Only the Paranoid Survive" -- Andy Grove > > > > -Original Message- > > From: Julian Elischer [mailto:[EMAIL PROTECTED]] > > Sent: Friday,

RE: Copying from Virtual Address Space to Physical Address

2002-08-30 Thread Julian Elischer
ECTED] > > "Only the Paranoid Survive" -- Andy Grove > > > > -Original Message- > > From: Julian Elischer [mailto:[EMAIL PROTECTED]] > > Sent: Friday, August 30, 2002 3:20 PM > > To: Balaji, Pavan > > Cc: '[EMAIL PROTECTED]

RE: Copying from Virtual Address Space to Physical Address

2002-08-30 Thread Balaji, Pavan
el Corporation Email: [EMAIL PROTECTED] "Only the Paranoid Survive" -- Andy Grove > -Original Message- > From: Julian Elischer [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 30, 2002 3:20 PM > To: Balaji, Pavan > Cc: '[EMAIL PROTECTED]&#x

Re: Copying from Virtual Address Space to Physical Address

2002-08-30 Thread Julian Elischer
On Fri, 30 Aug 2002, Julian Elischer wrote: > Physio() does this.. first it finds the physical addresses of the user > pages targetted, then it maps those pages into kernel space, and then it > initiates IO to them. (this actually needs to change but for now it's > true. to correct myself.. p

Re: Copying from Virtual Address Space to Physical Address

2002-08-30 Thread Julian Elischer
On Fri, 30 Aug 2002, Balaji, Pavan wrote: > Hi, > > Is there some function using which I can copy data from the Kernel Virtual > Space to a pinned Physical Address Page. Not as such, though there are plenty of places that do such a thing. The answer is always to map the physical page somewher

Copying from Virtual Address Space to Physical Address

2002-08-30 Thread Balaji, Pavan
Hi, Is there some function using which I can copy data from the Kernel Virtual Space to a pinned Physical Address Page. Thanx, Pavan Balaji, Intel Corporation Email: [EMAIL PROTECTED] "Only the Paranoid Survive" -- Andy Grove To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubsc