Hello! Quoting r. Tom Duffy ([EMAIL PROTECTED]) "[PATCH] fix flint error messages": > On Thu, 2005-01-13 at 20:57 +0200, Michael S. Tsirkin wrote: > > So, since mmapping /dev/mem does not work: > > > > I added an option to do pread/pwrite on dev/mem instead of > > mmap, on the off-chance that it might work (it does not > > on a regular x86 box). > > To try, turn off CONFIG_ENABLE_MMAP and turn on > > CONFIG_ENABLE_READWRITE. > > Ok, I tried this, but got the following message: > > tat:/build1/tduffy/openib-work/gen2-sparc/src/userspace/mstflint# > ./mstflint -d 0000:81:00.0 q > *** ERROR *** (null)
So no, pread from pio addresses does not work, exactly in the same way as on x86, apparently by design. What about the simple mmap test? Do you know why does not it work? > Not very useful, so I updated all the spots where *** ERROR *** was in > flint to make it more human readable (and debuggable). thanks. mst _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
