Re: Latest Kernel

2013-09-01 Thread taozhijiang
I found the newly kernel has something wrong here:

 drivers/scsi/aic94xx/aic94xx_sds.c

on the line 984
offset not initilized, which the kernel will complains, treated as error.


Re: Latest Kernel

2013-09-01 Thread Akemi Yagi
On Sat, Aug 31, 2013 at 11:27 PM, taozhijiang taozhiji...@gmail.com wrote:
 I found the newly kernel has something wrong here:

  drivers/scsi/aic94xx/aic94xx_sds.c

 on the line 984
 offset not initilized, which the kernel will complains, treated as error.

Which kernel are you referring to? If it is kernel-ml, it's better
taking it to the ELRepo mailing list or even bugzilla.kernel.org.

Akemi


Re: Latest Kernel

2013-09-01 Thread taozhijiang
Sorry to tell the version.
Just extracted from the kernel src.rpm

linux-2.6.32-358.18.1.el6.tar.bz2

[user@workstation Software]$ gcc -v
Using built-in specs.
Target: i686-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info
--with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap
--enable-shared --enable-threads=posix --enable-checking=release
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions
--enable-gnu-unique-object
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada
--enable-java-awt=gtk --disable-dssi
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic
--with-arch=i686 --build=i686-redhat-linux
Thread model: posix
gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) 
[user@workstation Software]$ 

tks.


Re: Latest Kernel

2013-09-01 Thread Nico Kadel-Garcia
I think maybe you should learn more about building from SRPM's. IIt's OK,
we were all new once!

I urge you to take the SRPM and use something like thisk:

  rpm -U kernel-[version].src.rpm
  rpmbuild -ba ~/buildrpm/SPECS/kernel.spec

This builds it once, with all the published packages reported if missing,
and all the patches and any extra source files in ~/buildrpm/SOURCES/. Red
Hat elects to tweak some parameters, to include some moduels as built-in
and others as modules and to pull in tome patches from more recent kernels
to apply on older, more stable kernels. This will get those patches applied
for you.

IF you need to patch your kernel, you cna then write it into a modified
SRPM and have an actual, managed kernel with all the RPM based post and
pre steps to integrate it well with your system.


Re: About the time sync for linux guest under vmware of windows xp host

2013-09-01 Thread Akemi Yagi
On Sun, Sep 1, 2013 at 5:43 AM, taozhijiang taozhiji...@gmail.com wrote:
 Hello, I just install my SL carbon 6.4 under vmware environment for
 kernel study, but found the system time runs much faster than the host.
 I want the kernel to be pure, so I do not take account of vmware-tools.
 I setup a ntpd in my host windows xp, but when guest SL update the time,
 it complains like this:

 I am wired, and do not know how to handle it.
 Anyone anyidea would be much much appreciated!!!

This article will help you:

http://kb.vmware.com/selfservice/microsites/search.do?language=en_UScmd=displayKCexternalId=1006427

Scroll down to the section NTP Recommendations.

Akemi


Re: About the time sync for linux guest under vmware of windows xp host

2013-09-01 Thread Paul Robert Marino
It sounds like your network on the VMware side isn't configured correctly.Also you should always use VMware tools to sync your time instead of NTP on VMware virtual machines.VMWare hypervisor plays games with the clock on purpose and can cause a VM with NTP enabled to behave erratically.-- Sent from my HP Pre3On Sep 1, 2013 8:44, taozhijiang taozhiji...@gmail.com wrote: Hello, I just install my SL carbon 6.4 under vmware environment for
kernel study, but found the system time runs much faster than the host.
I want the kernel to be pure, so I do not take account of vmware-tools.
I setup a ntpd in my host windows xp, but when guest SL update the time, 
it complains like this:

[user@workstation ~]$ sudo ntpdate -dv 192.168.17.1
 1 Sep 20:31:55 ntpdate[1479]: ntpdate 4.2.4p8@1.1612-o Fri Feb 22
 03:55:28 UTC 2013 (1)
Looking for host 192.168.17.1 and service ntp
host found : 192.168.17.1
transmit(192.168.17.1)
transmit(192.168.17.1)
transmit(192.168.17.1)
transmit(192.168.17.1)
transmit(192.168.17.1)
192.168.17.1: Server dropped: no data
server 192.168.17.1, port 123
stratum 0, precision 0, leap 00, trust 000

...


 1 Sep 20:32:00 ntpdate[1479]: no server suitable for synchronization
 found
[user@workstation ~]$ 


I am wired, and do not know how to handle it.
Anyone anyidea would be much much appreciated!!!

Re: About the time sync for linux guest under vmware of windows xp host

2013-09-01 Thread Akemi Yagi
On Sun, Sep 1, 2013 at 6:26 AM, Paul Robert Marino prmari...@gmail.com wrote:

 Also you should always use VMware tools to sync your time instead of NTP on
 VMware virtual machines.
 VMWare hypervisor plays games with the clock on purpose and can cause a VM
 with NTP enabled to behave erratically.

Please have a look at the vmware article I quoted earlier (Timekeeping
best practices for Linux guests). It says:

VMware recommends you to use NTP instead of VMware Tools periodic
time synchronization. NTP is an industry standard and ensures accurate
timekeeping in your guest.

Akemi


Re: About the time sync for linux guest under vmware of windows xp host

2013-09-01 Thread TAO Zhijiang

于 2013-9-1 21:35, Akemi Yagi 写道:

On Sun, Sep 1, 2013 at 6:26 AM, Paul Robert Marino prmari...@gmail.com wrote:


Also you should always use VMware tools to sync your time instead of NTP on
VMware virtual machines.
VMWare hypervisor plays games with the clock on purpose and can cause a VM
with NTP enabled to behave erratically.

Please have a look at the vmware article I quoted earlier (Timekeeping
best practices for Linux guests). It says:

VMware recommends you to use NTP instead of VMware Tools periodic
time synchronization. NTP is an industry standard and ensures accurate
timekeeping in your guest.In

Akemi



Well, tell you the trueth.
I will frequently change my kernel, so everytime I may reinstall the 
vmware-tools, which will

really make me mad.

In effect, I can do it with contrab through some public internet ntp 
time server, for example update

the time and write to hwclock every minute, it really works fine.

But sometime I may not have access to the internet, so when offline, the 
guest time will not be updated
correctly, and when next time update time with outside ntp time server, 
everything will go wrong.


I really want the vmware guest will fellow the time of host,.


Any idea? I am so tired and out of hand ;-(