<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Arial" size="2">
<div>-----BEGIN PGP SIGNED MESSAGE-----</div>
<div>Hash: SHA256</div>
<div> </div>
<div>> During the workshop few weeks ago you mentioned that you are using this</div>
<div>> SCA6000 with Ubuntu. Is it possible for you to share details about</div>
<div>> installation procedure? Are you patching kernel? Are you patching</div>
<div>> drivers? That would help us a lot.</div>
<div> </div>
<div>The kernel driver needs to be patched. The other programs are supplied as binary packages. Some of the configuration needs to be patched so that the SCA6K daemons can start. I am running on a 64-bit machine.</div>
<div> </div>
<div>Download the tarball the SCA6K page. The packages I use are for RHEL5. So we need to convert them into debian packages.</div>
<div> sudo apt-get install alien</div>
<div> sudo alien --scripts -k *.rpm</div>
<div> </div>
<div>Some dependencies:</div>
<div> sudo apt-get install libopencryptoki0 opencryptoki ia32-libs</div>
<div>Build dependencies:</div>
<div> sudo apt-get install linux-headers-$(uname -r) build-essential</div>
<div> </div>
<div>Unpack the drvsrc</div>
<div> tar -xzf sun-sca6000-drvsrc-1.1-4.tar.gz</div>
<div> cd cd sun-sca6000-drvsrc-1.1-4</div>
<div> </div>
<div>The drvsrc needs patching so it works with the kernel in Ubuntu 8.0.4. Some hints on what to change:</div>
<div> * CFLAGS to EXTRA_CFLAGS in the Makefiles</div>
<div> (driver and framework)</div>
<div> * Change #include <> to #include "" for local headers in the following files</div>
<div> - mca.h</div>
<div> - mca_cf.h</div>
<div> - mcactl.h</div>
<div> - mca_hw.h</div>
<div> * Change SA_SHIRQ to IRQF_SHARED</div>
<div> (in sol2lin.h in driver and framework)</div>
<div> * Remove the declaration for uintptr_t</div>
<div> (in sol2lin.h in driver and framework)</div>
<div> * Change INIT_WORK(work, ((void(*)(void *))func), (void *)arg) to</div>
<div> INIT_WORK(work, (void *)func);</div>
<div> (in sol2lin.h in driver and framework)</div>
<div> * Change to MODULE_LICENSE("GPL") in sca_io.c </div>
<div> </div>
<div>Install the kernel driver</div>
<div> make</div>
<div> sudo make install</div>
<div> </div>
<div>Install the packages</div>
<div> cd ..</div>
<div> sudo dpkg -i *.deb</div>
<div> </div>
<div>Run the script to patch the configurations</div>
<div> sh sca6kscript.sh</div>
<div> </div>
<div>// Rickard</div>
<div> </div>
<div>-----BEGIN PGP SIGNATURE-----</div>
<div>Version: 9.8.3 (Build 4028)</div>
<div>Charset: utf-8</div>
<div> </div>
<div>wsBVAwUBSwwG6+CjgaNTdVjaAQi+0AgAiz9paI+96GK61FCeaiS8w00pLxh1Yn2j</div>
<div>d6ef6JcifmAN5kng5uFUyiGpzUXPbpcdpwVsVIP99jPbX5TO0tDWHFF12Ae/sYXD</div>
<div>HWm2JwvvboZIW20iogbapBoj5wJ2M6pL3ycDUKFif7WOrD4PtfMrjOET/OVdGXa5</div>
<div>OZ3pVAjszO4WtKKNa0h7p/M1NXm+YVA5+NPq9x4RscZGr1bbKyyjMm+pdxMitfAD</div>
<div>NYKR+Uv2D7s4rTx5ykr3l1zbCzYRno0KPsQr6Yq0ggIpawOJpRXWmARkc+oMMxOz</div>
<div>BasZg+9QApo2g81UxBMKOwC61OPAPBYrbE29V94kqqS90u+GI92dOw==</div>
<div>=+NT5</div>
<div>-----END PGP SIGNATURE-----</div>
<div> </div>
<div> </div>
</font>
</body>
</html>