Tom Chen:
> Hi guys,
>
> Is the NICDrv0330 release allow users easily change some default 
> settings like DRIVER_SPEED?  What is the correct procedure to change?
Just change the DRIVER_SPEED in config.vars file. For example from 1G to 
10G.
>
> As I complained in other threads a few weeks ago that,  in the 
> NICDrv0226 version, stf_configure and stf_execute do not work. I am 
> wondering if this issue is fixed in NICdrv0330 (or newer release)?
So far you still have to run stf_configure and stf_execute as root user, 
it cannot support running as non-root user. This bug will be fixed in 
the next version of NICDRV. We plan to release it in May. A developing 
version will be available in this week, welcome to try it if you are 
urgent to run it as non-root user.

Thanks,
Robin
>
>
> Tom
>
> ----- Original Message ----- From: "tian robin luo" <Robin.Luo at Sun.COM>
> To: "Tom Chen" <chentom60 at hotmail.com>
> Cc: "yuan.fan" <Yuan.Fan at Sun.COM>; <uvr+opensolaris at Sun.COM>; 
> <testing-discuss at opensolaris.org>
> Sent: Thursday, April 02, 2009 1:35 AM
> Subject: Re: [testing-discuss] possible reason for test13 failure
>
>
>> Before that problem is fixed, please run the test as a root user. We 
>> will fix it in the next release. The stf_configure and stf_execute 
>> should be run as a normal user.
>>
>> Thanks,
>> Robin
>>
>> Tom Chen :
>>> So, before the bug is fixed by NICDrv team, can we just modify 
>>> /opt/SUNWstc-nicdrv/config.vars
>>> to change driver speed? or what is the correct procedure?
>>>
>>> Tom
>>> ----- Original Message ----- From: "yuan.fan" <Yuan.Fan at Sun.COM>
>>> To: <uvr+opensolaris at Sun.COM>
>>> Cc: "tian robin luo" <Robin.Luo at Sun.COM>; 
>>> <testing-discuss at opensolaris.org>; "Tom Chen" <chentom60 at hotmail.com>
>>> Sent: Tuesday, March 31, 2009 7:03 PM
>>> Subject: Re: [testing-discuss] possible reason for test13 failure
>>>
>>>
>>>> UVR ??:
>>>>> yuan.fan wrote at Mon Mar 30 2009 22:14:52 GMT-0700 (PDT):
>>>>>>
>>>>>>>
>>>>>>> Thanks. I was looking at the latest auto_nicdrv_0330.tar.bz2
>>>>>>> and indeed it downloads the latest version of the test suite.
>>>>>>> That is great. However, as Tom Chen pointed out on the other
>>>>>>> thread, it does appear that the install.ksh script is running
>>>>>>> stf_configure with root permissions. I am not sure why this
>>>>>>> is necessary -- STF should be able to handle stf_configure
>>>>>>> being run as a non-root user (it does, for every other test
>>>>>>> suite). Why is it necessary to run stf_configure as root for
>>>>>>> the nicdrv test suite?
>>>>>>>
>>>>>>> -UVR.
>>>>>>
>>>>>> Hi Ravindra
>>>>>> In the stf_configure process,NICDRV disable/enable some system 
>>>>>> services
>>>>>> and do some
>>>>>> configuration on the peer machine with rsh.
>>>>>> So nicdrv needs users have the root permission.
>>>>>> thanks
>>>>>> -yuan.fan
>>>>>
>>>>> I'm sorry, the explanation does not seem to be valid. I am not
>>>>> convinced that stf_configure must be invoked as root.
>>>>>
>>>>> I assume that the script which you are describing is running the
>>>>> remote disable/enable on the peer machine is this:
>>>>> http://cvs.opensolaris.org/source/xref/test/stcnv/usr/src/suites/net/nicdrv/configure.ksh
>>>>>  
>>>>>
>>>>>
>>>>> If so, it is already declared as an STF_ROOT_CONFIGURE script:
>>>>> http://cvs.opensolaris.org/source/xref/test/stcnv/usr/src/suites/net/nicdrv/Makefile
>>>>>  
>>>>>
>>>>>
>>>>> What this says is that 'stf_configure' should be invoked as
>>>>> non-root. stf_configure will prompt the user for the root
>>>>> password during execution. After that, STF will take care
>>>>> of switching to 'root' user; it will run the configure script
>>>>> on the local host and peer as 'root'. At least, this is what
>>>>> STF is designed to do.
>>>>>
>>>> Hi Ravindra
>>>> It seems it's a nicdrv bug,I will file a bug against NICDRV.
>>>>
>>>> thanks
>>>> -yuan.fan
>>>>
>>>
>>
>>
>


Reply via email to