On Wed, Feb 18, 2009 at 01:28:56PM +0530, Subrata Modak wrote:
> Hi Jack,
> 
> On Tue, 2009-02-17 at 08:46 -0600, Jack Steiner wrote:
> > On Tue, Feb 17, 2009 at 10:46:45AM +0530, Subrata Modak wrote:
> > > Jack,
> > > 
> > > Can you share the Driver test case with LTP now ?
> > 
> > I can share some of the driver test cases but they won't be useful
> > without libgru.so - the user library that contains the user
> > API for the GRU. However, it will illustrate how users can access
> > the GRU.
> 
> where do we get the library from ? Is it possible to get the library
> source and build it on any machine ?

Unfortunately, not yet. The user API is still evolving & we don't
want to distribute the libraries until the API is solid.


> 
> Is it possible to test this driver without having the original hardware
> attached to machine(s). I mean by building the kernel with the driver
> source and by enabling some/any KERNEL_CONFIG options, in the way that
> the running kernel behaves to have a dummy device running, so that the
> tests can be executed on any machine (may be architecture specific).

No. The driver is more-or-less useless without actual hardware.
I frequently have good intentions about adding a GRU simulator
to the kernel to make it easier to test the driver w/o actual hardware.
So far, I have not had time to implement this. Instead, we use a system
simulator that has full support for the entire system including the GRU.
The full system simulator includes NDA pieces from other companies &
cannot be distributed outside of SGI. Sorry...

I do want to help the testing project. As soon as it makes sense,
I'll try to distribute some GRU tests.



> 
> Please see:
> http://ltp.cvs.sourceforge.net/viewvc/ltp/ltp/testcases/kernel/device-drivers/v4l/user_space/README,
> on how the recently added v4l device-drivers tests has been added to
> LTP, and how they are testing a dummy device.
> 
> Based on the above model, you can start pushing some of the same tests
> at the beginning, and, then can keep patching them in future.
> 
> Regards--
> Subrata
> 
> > 
> > As an alternative, the GRU kernel driver has a built-in quicktest
> > in drivers/misc/sgi-gru/grukservices.c. This is essentially a copy
> > of one of the user tests that does a simple sanity check of
> > GRU functionality. Once you have a system with GRU support, you
> > can enable the built-in quicktest with a debug option to
> > the gru kernel module.
> > 
> > I have additional built-in tests for grukservices.c. These
> > tests are currently NOT part of the driver that has been pushed
> > upstream. I can push these if it helps.
> > 
> > 
> > 
> > > 
> > > Regards--
> > > Subrata
> > > 
> > > On Wed, 2008-10-22 at 18:12 +0530, Subrata Modak wrote:
> > > > Hi Jack,
> > > > 
> > > > On Mon, 2008-06-16 at 15:10 +0530, Subrata Modak wrote:
> > > > > On Mon, Jun 16, 2008 at 1:00 AM, Jack Steiner <[email protected]> wrote:
> > > > >         On Sun, Jun 15, 2008 at 09:33:44PM +0530, Subrata Modak wrote:
> > > > >         > Hi Steiner,
> > > > >         >
> > > > >         > On Sun, Jun 15, 2008 at 7:29 PM, <[email protected]> wrote:
> > > > >         >
> > > > >         > > This series of patches adds a driver for the SGI UV GRU.
> > > > >         The driver is
> > > > >         > > still
> > > > >         > > in development but it currently compiles for both x86_64 &
> > > > >         IA64. All simple
> > > > >         > > regression tests pass on IA64. Although features remain to
> > > > >         be added, I'd
> > > > >         > > like to
> > > > >         >
> > > > >         >
> > > > >         > I have been struggling for quite sometime to revive those
> > > > >         few device driver
> > > > >         > test cases in LTP: (
> > > > >         >
> > > > >         
> > > > > http://ltp.cvs.sourceforge.net/ltp/ltp/testcases/kernel/device-drivers/)
> > > > >         >
> > > > >         > One of those few options that i have is to import new test
> > > > >         cases for device
> > > > >         > drivers as well, like the same way other kernel test cases
> > > > >         are included in
> > > > >         > LTP. As you said all the regression tests pass on your
> > > > >         device driver, i
> > > > >         > would like to know if you can contribute these
> > > > >         tests/testcases under GPL to
> > > > >         > LTP for further use by the community. There is no specific
> > > > >         platform by which
> > > > >         > the existing device drivers tests work, expect that they all
> > > > >         are run
> > > > >         > individually/separately for the best reasons known.
> > > > >         >
> > > > >         > Regards--
> > > > >         > Subrata
> > > > >         >
> > > > >         
> > > > >         
> > > > >         Sure.
> > > > >         
> > > > >         The GRU driver current works only on unreleased hardware. Once
> > > > >         the hardware
> > > > >         is released, I'll be glad to add the tests to ltp.
> > > > 
> > > > Is it ready for LTP.
> > > > 
> > > > Regards--
> > > > Subrata
> > > > 
> > > > > 
> > > > > Thanks for willing to contribute to LTP. May i also request you to add
> > > > > similar tests which you might develop in future. I would also like to
> > > > > know if you can help us in bringing more people in contributing
> > > > > similar test case to LTP, using your good relations you enjoy with
> > > > > them. While the initial LTP was released/contributed by SGI in May
> > > > > 2000, we have not seen much contributions from SGI in recent times. Is
> > > > > SGI reconsidering to nurture it?? own baby again ?? ;-)
> > > > > 
> > > > > Regards--
> > > > > Subrata
> > > > > 
> > > > > 
> > > > >         
> > > > >         
> > > > >         
> > > > >         --- jack
> > > > > 
> > > > > 
> > > > > 
> > > > > -- 
> > > > > Regards & Thanks--
> > > > > Subrata 
> > > > > -------------------------------------------------------------------------
> > > > > Check out the new SourceForge.net Marketplace.
> > > > > It's the best place to buy or sell services for
> > > > > just about anything Open Source.
> > > > > http://sourceforge.net/services/buy/index.php
> > > > > _______________________________________________ Ltp-list mailing list 
> > > > > [email protected] 
> > > > > https://lists.sourceforge.net/lists/listinfo/ltp-list
> > > > 
> > > > 
> > > > -------------------------------------------------------------------------
> > > > This SF.Net email is sponsored by the Moblin Your Move Developer's 
> > > > challenge
> > > > Build the coolest Linux based applications with Moblin SDK & win great 
> > > > prizes
> > > > Grand prize is a trip for two to an Open Source event anywhere in the 
> > > > world
> > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > > > _______________________________________________
> > > > Ltp-list mailing list
> > > > [email protected]
> > > > https://lists.sourceforge.net/lists/listinfo/ltp-list

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to