Re: lpfc driver loading is rebooting the box: 2.6.33 and above.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2010-03-10 at 13:29 -0800, Keith Mannthey wrote:
> I moved forwarded and a server started rebooting while loading the
> kernel current kernels. 
> 
> I isolated it to the lpfc driver. 
> 
> Upsteam kernels tried so far:
> 
> 3.6.34-rc1
> 3.4.33-git15 
Update on the issue. It gets weird. 

2.6.33 stock worked ok. 

A different .config file was working just fine on an identical setup so
I started peeling away at .config changes. 


I really have no idea about this option change and it will have to be
punted to those more in the know. 

the diff between a good and a bad kernel is....

@@ -130,7 +130,7 @@
 CONFIG_RD_BZIP2=y
 # CONFIG_RD_LZMA is not set
 # CONFIG_RD_LZO is not set
-# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
 CONFIG_SYSCTL=y
 CONFIG_ANON_INODES=y
 CONFIG_EMBEDDED=y

This is some gcc optimization flag change. In the working config I have
CONFIG_CC_OPTIMIZE_FOR_SIZE=y.  If I don't optimize I get the badness. 


 gcc -v
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3
--enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/
--with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap
--with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --disable-libstdcxx-pch
--enable-version-specific-runtime-libs --program-suffix=-4.3
--enable-linux-futex --without-system-libunwind --with-cpu=generic
--build=x86_64-suse-linux
Thread model: posix
gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux)


Thanks,
  Keith Mannthey 
  LTC LTC-FS 

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux