tag:blogger.com,1999:blog-80023772482723095172024-03-06T05:02:11.686+01:00Titox`s UnixverseTitoxhttp://www.blogger.com/profile/16366305289581990367noreply@blogger.comBlogger84125tag:blogger.com,1999:blog-8002377248272309517.post-55057339834383304982018-08-21T20:07:00.000+02:002018-08-22T00:55:06.784+02:00Effect & Spark in a SGI O2 R5K<div dir="ltr" style="text-align: left;" trbidi="on">
I was able to run effect* 7.1 in my O2 without problem, even using a file framestore and the entire second hard drive. But effect* 6.1.3 was a different story: always complaining 'Can't initialise framestore'.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiICeZ_Hh6jyR8sMZHffU3Owdn-LbL4H4Mjmyzy3tk-HcdMmmRPLjHOQ2GUxJZk73lSHUXReX0-ciXGCGZo2IN1bVamvkk7IC3m20dJvoWmWEnzKVMZeLcsu6GAPiJuX9kmqm2BjIGJA91M/s1600/IMG_20180821_190606.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiICeZ_Hh6jyR8sMZHffU3Owdn-LbL4H4Mjmyzy3tk-HcdMmmRPLjHOQ2GUxJZk73lSHUXReX0-ciXGCGZo2IN1bVamvkk7IC3m20dJvoWmWEnzKVMZeLcsu6GAPiJuX9kmqm2BjIGJA91M/s320/IMG_20180821_190606.jpg" width="320" /></a></div>
<br />
Checking the forums there are some guys that can run spark and effect* 6.1.3 with a file system framestore so i did some more tests.<br />
<br />
The final configuration is to install Stone&Wire 2.6.5 (included with old releases of Flame and Smoke) and configure a second hard disk as stone. Seems to work even with a internal secondary disk of external one.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzSQchcxYXilftwoWAWA38dfoQvK237lUbIPd7Q2qSESoDOX8tCTP4G4ehoZqhUPPYe9F8f_udUH42zkSF1-bl0PLCpTEgKzNh0bxroh-0i-nm6L-SeJ1cIZOkpzo8jM_kc11Xm_HkgglU/s1600/image3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1024" data-original-width="1280" height="256" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzSQchcxYXilftwoWAWA38dfoQvK237lUbIPd7Q2qSESoDOX8tCTP4G4ehoZqhUPPYe9F8f_udUH42zkSF1-bl0PLCpTEgKzNh0bxroh-0i-nm6L-SeJ1cIZOkpzo8jM_kc11Xm_HkgglU/s320/image3.png" width="320" /></a></div>
So, with this config I can run effect* 6.1.3, effect* 7.1 and spark 7.6 with the same stone disk!<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-zQaSg6loYWk/W3xRQ9BhPEI/AAAAAAAABe0/AGRWGgD8bAAa2GFCwWfEM7uiPwyz6s3HgCLcBGAs/s1600/IMG_20180821_192455.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="240" src="https://2.bp.blogspot.com/-zQaSg6loYWk/W3xRQ9BhPEI/AAAAAAAABe0/AGRWGgD8bAAa2GFCwWfEM7uiPwyz6s3HgCLcBGAs/s320/IMG_20180821_192455.jpg" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-12lSocSXmtE/W3xRRu0IC3I/AAAAAAAABe4/KlLMYyVonPc_tJ2WEmKi004PfpBMzTjzQCLcBGAs/s1600/IMG_20180821_192530.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="240" src="https://2.bp.blogspot.com/-12lSocSXmtE/W3xRRu0IC3I/AAAAAAAABe4/KlLMYyVonPc_tJ2WEmKi004PfpBMzTjzQCLcBGAs/s320/IMG_20180821_192530.jpg" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbK_ypDrt4NP4hK6rTZd7xs1aM7i1aYV0if3rq5Ft6bnIRtV7L396ZOaiX9pIpHMwtJkQ8-5rt3A0iDAeNCRJB90MnNUvJx7A0lg8QlPefp64g4NLXD3lj6KlvyW-oCQFMrGaJNhrH4CVh/s1600/IMG_20180821_192539.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbK_ypDrt4NP4hK6rTZd7xs1aM7i1aYV0if3rq5Ft6bnIRtV7L396ZOaiX9pIpHMwtJkQ8-5rt3A0iDAeNCRJB90MnNUvJx7A0lg8QlPefp64g4NLXD3lj6KlvyW-oCQFMrGaJNhrH4CVh/s320/IMG_20180821_192539.jpg" width="320" /></a></div>
<br />
<br />
<br />
<br />
Well, now time to play a little more !<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-yt-KxC05VyQ/W3xUy6FoAVI/AAAAAAAABfU/iq9TCXNLSOUr2pLh7sa-q6ljKoCYTDe1ACLcBGAs/s1600/IMG_20180821_195555.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="240" src="https://1.bp.blogspot.com/-yt-KxC05VyQ/W3xUy6FoAVI/AAAAAAAABfU/iq9TCXNLSOUr2pLh7sa-q6ljKoCYTDe1ACLcBGAs/s320/IMG_20180821_195555.jpg" width="320" /></a></div>
<br />
<br /></div>
Titoxhttp://www.blogger.com/profile/16366305289581990367noreply@blogger.com0tag:blogger.com,1999:blog-8002377248272309517.post-69151594452000861472014-02-01T22:54:00.000+01:002014-02-01T22:54:01.398+01:00One year without updates and my new 'All things blog'<div dir="ltr" style="text-align: left;" trbidi="on">
Hi guys,<br />
after one year of my last post, this Christmas I started to play with my old systems again. This time is not an Unix system but an Amiga 500. At the same time of this<i><b> Unixverse</b></i> blog I created <i><b>Titox's place</b></i> but never used it. As the Amiga is not an Unix system I decided to start my other blog with it. Check this here:<br />
<a href="http://titoxsplace.blogspot.com.es/2014/02/writing-amiga-floppies-with-catweasel.html">http://titoxsplace.blogspot.com.es/2014/02/writing-amiga-floppies-with-catweasel.html</a><br />
<br />
See you!!!!!<br />
Alberto.</div>
Titoxhttp://www.blogger.com/profile/16366305289581990367noreply@blogger.com0tag:blogger.com,1999:blog-8002377248272309517.post-1034516448203474522013-02-13T15:44:00.003+01:002013-02-13T15:47:10.413+01:00Solaris 10 1/13 is here!!!!<div dir="ltr" style="text-align: left;" trbidi="on">
I was already thinking the same thing would happen with Oracle Solaris than IRIX 6.5.31 but here you are the latest release (and may be there will be no more updates):<br />
<br />
<a href="http://www.oracle.com/technetwork/server-storage/solaris10/downloads/index.html">http://www.oracle.com/technetwork/server-storage/solaris10/downloads/index.html</a><br />
<br />
<br />
You can read the 'What's new' document <a href="http://docs.oracle.com/cd/E26505_01/html/E27003/index.html" target="_blank">from this link</a>.<br />
</div>
Titoxhttp://www.blogger.com/profile/16366305289581990367noreply@blogger.com0tag:blogger.com,1999:blog-8002377248272309517.post-37562964055769151682012-06-06T21:16:00.000+02:002012-06-06T21:16:44.665+02:00Samsung Blu-Ray C5500 and internet@tv problemsHello,
this entry is no related to computers or Unix, considering that a DVD or Bluray player is not, but today I'm very happy and I want to share this small but very impirant trick.
Since some weeks the function internet@tv of my Samsung Bluray playe C5500 was not working. When I started the app the system downloaded the last firmware but failed reinstalled the default apps. I tried reverting to default the player but without success... until today: a new web search returned <a href="http://forums.cnet.com/7723-13973_102-520904/samsung-bd-c5500-bluray-player-internet-tv-problem/">this post</a> with a different trick to reset the player to the building default options. Just turn on the player and pressing&holding the stop button. Two minutes lTer i got the internet@tv function running again!Titoxhttp://www.blogger.com/profile/16366305289581990367noreply@blogger.com1tag:blogger.com,1999:blog-8002377248272309517.post-32882825377943027932012-04-15T23:24:00.002+02:002012-04-15T23:24:55.974+02:00Restoring DAT tapes with IRIX tar<div dir="ltr" style="text-align: left;" trbidi="on">
Today I started to recover a lot of old DAT tapes of an old video software. At first time I tried with IRIX Backup/Restore Manager but gave me a lot of errors due this tapes were stored with an old release of IRIX.<br />
<br />
As you can see <a href="http://forums.nekochan.net/viewtopic.php?p=7290331#p7290331" target="_blank">in this post in the Nekochan forums</a>, the IRIX GUI system changed its own format with the different IRIX versions:<br />
<br />
<blockquote class="tr_bq">
For 6.5, the format is cpio.<br />
For 6.3 and 6.4, the format is tar.<br />
For 5.3-6.2, the format is bru.</blockquote>
<br />
<br />
As my tapes were burn in 1996/1997 I tried with tar. And success:<br />
<br />
<blockquote>
# mkdir /datrest<br />
# cd /datrest<br />
# tar xvR</blockquote>
<br />
With the above commands all the files in a DAT drive will be restored on the <em>/datrest</em> folder. Just What I needed!</div>Titoxhttp://www.blogger.com/profile/16366305289581990367noreply@blogger.com0tag:blogger.com,1999:blog-8002377248272309517.post-35922617666788739492012-04-15T22:21:00.001+02:002012-04-15T23:17:08.480+02:00Still kicking!! O2 & Octane & DAT<div dir="ltr" style="text-align: left;" trbidi="on">
Still alive!!!<br />
A lot of time without post anything but I am a very busy guy.<br />
<br />
First of all here you are my last toy:<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-MExurNF414w/T4ssNzdNjEI/AAAAAAAABLA/EueVZoeKPDg/s1600/TitoxO2_15.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="212" src="http://1.bp.blogspot.com/-MExurNF414w/T4ssNzdNjEI/AAAAAAAABLA/EueVZoeKPDg/s320/TitoxO2_15.jpg" width="320" /></a></div>
<br />
A SGI O2 with RM5200 at 300 MHz and 256 MB of RAM. Not bad. I was searching one of this for some years. Running good except for temporary ethernet problems.<br />
<br />
<blockquote>
Hinv:<br />
O2 2# hinv -mv<br />
CPU: MIPS R5000 Processor Chip Revision: 10.1<br />
FPU: MIPS R5000 Floating Point Coprocessor Revision: 10.0<br />
1 300 MHZ IP32 Processor<br />
Main memory size: 256 Mbytes<br />
Secondary unified instruction/data cache size: 1 Mbyte on Processor 0<br />
Instruction cache size: 32 Kbytes<br />
Data cache size: 32 Kbytes<br />
FLASH PROM version 4.18<br />
Integral SCSI controller 0: Version ADAPTEC 7880<br />
Disk drive: unit 1 on SCSI controller 0 (unit 1)<br />
CDROM: unit 4 on SCSI controller 0<br />
Integral SCSI controller 1: Version ADAPTEC 7880<br />
On-board serial ports: tty1<br />
On-board serial ports: tty2<br />
On-board EPP/ECP parallel port<br />
CRM graphics installed<br />
Integral Ethernet: ec0, version 1<br />
Iris Audio Processor: version A3 revision 0<br />
PCI Adapter ID (vendor 0x9004, device 0x8078) PCI slot 1<br />
PCI Adapter ID (vendor 0x9004, device 0x8078) PCI slot 2<br />
Video: MVP unit 0 version 1.4<br />
AV: AV1 Card version 1, Camera not connected.<br />
Vice: TRE</blockquote>
<br />
In the other side, I upgraded the Octane 2 with new harddisk and a Sony DAT unit. Now I'm recovering some ols tapes of Video Software.<br />
<br />
And related to my projects, I compiled a new ROM for my Cobalt servers but I still having problems loading large bz2 kernels. This new ROM uses one of the latest 2.4 kernels with SATA_VIA driver and detects a cheap SATA VIA PCI card in my RaQ 4. Unfortunately I don't have enough time and the development is going very slow. I expect to power on one RaQ next month to compile an smaller kernel for this ROM and try to load big kernels again.</div>Titoxhttp://www.blogger.com/profile/16366305289581990367noreply@blogger.com0tag:blogger.com,1999:blog-8002377248272309517.post-33749464559280013492011-09-16T01:05:00.000+02:002011-09-16T01:05:55.408+02:00Oracle/Sun Solaris 10 u10 8/11 publishedThis week arrived my latest toy, a Sun Blade 1500 Sparc workstation, but when I went to install Solaris on it (came with Debian Sparc linux) I wasn't able to find th DVD. I went to the Oracle web and found a new release from August.<br />
<br />
You can download the DVD iso for Sparc and x86 systems from this page: <a href="http://www.oracle.com/technetwork/server-storage/solaris/downloads/index.html">Solaris 10 downloads</a>.<br />
<br />
And here you are the <a href="http://download.oracle.com/docs/cd/E23823_01/html/821-2730/docinfo.html">'What's new' document as pdf</a>.<br />
<br />
More info about this workstation later.<br />
<br />
P.D.: I bought this machine without power supply. This can be a big problem because the Sun Blade 1500/2500 workstation series need three plugs/connectors from the power supply: an standard ATX 20 & 4 pin plugs and an special 12 pin plug for supplemental power supply. I just installed an standard ATX power supply and the machine is booting and working correctly. I have to make extensive more checks to the hardware but nothing rare is happening without this connection.Titoxhttp://www.blogger.com/profile/16366305289581990367noreply@blogger.com2tag:blogger.com,1999:blog-8002377248272309517.post-30101691776209901372011-07-18T21:16:00.000+02:002011-07-18T21:16:26.643+02:00Decompressing a tar.bz2 archiveToo many time without play with Linux machines!!!!! I forget how toi decompress a tar.bz2 archive. Posted to easy find it in a future:<br />
<br />
<blockquote># tar -jxvf myfile.tar.bz2</blockquote>Titoxhttp://www.blogger.com/profile/16366305289581990367noreply@blogger.com0tag:blogger.com,1999:blog-8002377248272309517.post-36905468847020989902011-07-18T21:06:00.001+02:002011-07-18T21:14:16.202+02:00Speeding up ssh connections/loginsVery useful is to deactivate the DNS lookups in the ssh server. Another easy modification: add one line to the /etc/ssh/sshd_config file:<br />
<br />
<br />
<ol><li>Type: # pico /etc/ssh/sshd_config</li>
<li>Add the line (<b><span class="Apple-style-span" style="color: lime;">green bold one</span></b>): </li>
</ol><div><blockquote>#PermitTunnel no<br />
<br />
<span class="Apple-style-span" style="color: lime;"><b>UseDNS no</b></span><br />
<br />
# no default banner path</blockquote></div><div><br />
</div>Titoxhttp://www.blogger.com/profile/16366305289581990367noreply@blogger.com0tag:blogger.com,1999:blog-8002377248272309517.post-17344266152462211702011-07-18T20:55:00.001+02:002011-07-18T21:06:27.736+02:00Cobalt RaQ 4: slow slow sloooooow ftp loginHi guys,<br />
this week I turned on on RaQ with the old Cobalt OS with all the Zeffie's updates (New updates appeared this year). I like the fast responese of the Cobalt servers with this old Operating System and I don't need the extra capabilities of the BlueQuartz or BlueOnyx systems.<br />
<br />
But today I started to check if I can compile the latest 2.4 kernel but when I went to some upload files to the server I could not connect to ftp. Some search of the web to found the problem, the proftp server has some features enabled in the latest version that can be deactivated for us.<br />
<br />
To do this just add this lines (<b><span class="Apple-style-span" style="color: lime;">green bold ones</span></b>) to the /etc/proftpd.conf file just after the first configuration lines:<br />
<br />
<blockquote>ServerName "ProFTPD"<br />
ServerType inetd<br />
DeferWelcome off<br />
DefaultServer on<br />
DefaultRoot / admin<br />
DefaultRoot ~/../.. site-adm<br />
DefaultRoot ~ !site-adm<br />
<br />
<b><span class="Apple-style-span" style="color: lime;">UseIPv6 off<br />
UseReverseDNS off</span></b></blockquote><br />
<div>And add one line to the GLOBAL subsection (<b><span class="Apple-style-span" style="color: lime;">green bold chars</span>)</b>:</div><div><blockquote><b><span class="Apple-style-span" style="color: lime;">IdentLookups off</span></b><limit site_chmod=""><br />
AllowAll</limit><br />
# Report localtime, not GMT<br />
TimesGMT off</blockquote></div>Titoxhttp://www.blogger.com/profile/16366305289581990367noreply@blogger.com0tag:blogger.com,1999:blog-8002377248272309517.post-24168636637868502682011-04-12T23:02:00.016+02:002011-05-06T00:26:32.929+02:00Adding SATA storage to a Cobalt RaQ 4<strong>UPDATED: 2011-05-05</strong><br />
<strong>Partition manage with fdisk.</strong><br />
<br />
Nearly three months without writing anything in this blog. I did a lot of unsuccessful tests, but nothing well until this week. From the last christmas I am trying to compile the 6.5.18 CentOS kernel for the Cobalt servers. I have a valid patch but the resulting rpm package is bigger than 30MB. I will check this before put on a server. I'm using a Sun LX50 with the latest BlueOnyx for this job.<br />
<br />
But last week a new VIA chipset SATA card arrived and yesterday I did a new test. I had a lot of problems with my previous SIL3112 card, it was recognized but the hard disk was not. I tested various hd's and some of them were recognized but never with a good stability.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/-Z68QX_1VImI/TaS0Ta_jw5I/AAAAAAAABEs/jevnaSN_Cc0/s1600/DSC_3701.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="264" src="http://2.bp.blogspot.com/-Z68QX_1VImI/TaS0Ta_jw5I/AAAAAAAABEs/jevnaSN_Cc0/s400/DSC_3701.JPG" width="400" /></a></div><br />
<div></div><div style="text-align: center;"><a href="http://1.bp.blogspot.com/-VsR-8PtaZxE/TaS0U0YqoRI/AAAAAAAABEw/S_3TaBgxp3A/s1600/DSC_3702.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="263" src="http://1.bp.blogspot.com/-VsR-8PtaZxE/TaS0U0YqoRI/AAAAAAAABEw/S_3TaBgxp3A/s400/DSC_3702.JPG" width="400" /></a></div><br />
<div></div><div style="text-align: center;"><a href="http://1.bp.blogspot.com/-JsKysawNW3A/TaS0PJkaDXI/AAAAAAAABEo/XxVRVRl4Ces/s1600/DSC_3700.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="264" src="http://1.bp.blogspot.com/-JsKysawNW3A/TaS0PJkaDXI/AAAAAAAABEo/XxVRVRl4Ces/s400/DSC_3700.JPG" width="400" /></a></div><br />
<div></div>For this test I used my backup server, a RaQ 4i with a 80GB hd for boot the machine and a WD Raptor SATA 150GB as additional storage. It's a 10k disk but I don't have any other SATA hd at home with no use at the moment. This machine was instaled with a fully updated Strongbolt OS, with the 2.6.20 kernel from OSOffice. <br />
<br />
The first part of the test was to install the latest kernel I published: <a href="http://unixverse.blogspot.com/2010/05/centos-4-kernel-269-89023-for-cobalt.html">2.6.9-89.0.23-cobalt</a>. Wow, near one year ago! I have o compile a new one...<br />
<br />
With this kernel the SATA card and hard disk was correctly recognized as you can see in the next capture of the hardware information page.<br />
<div></div><div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/-phrsLinI85o/TaSxacrH3PI/AAAAAAAABEg/Ouajx1p0uHg/s1600/01_HardwareInfo.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="284" src="http://2.bp.blogspot.com/-phrsLinI85o/TaSxacrH3PI/AAAAAAAABEg/Ouajx1p0uHg/s640/01_HardwareInfo.jpg" width="640" /></a></div><br />
<div>This was the easy part. To use this hard disk as storage for BlueQuartz we need to move our /home partition to it. Here you can see how the first hard disk was before any change:</div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrSASRZy4gQJ_RNqM0mGIuVhqd_NfLqoLMR6srGjw1Xa7nbUfvcodi78di6vP-NwP1ggp3FIfRiiet5OkW6O8SSVg0yGt-9_MSEKU2H6fn90wOSY3OUZmKYGvtQ7fxB5N_yjiGBxkaC4J2/s1600/01_MountPoints.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="233" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrSASRZy4gQJ_RNqM0mGIuVhqd_NfLqoLMR6srGjw1Xa7nbUfvcodi78di6vP-NwP1ggp3FIfRiiet5OkW6O8SSVg0yGt-9_MSEKU2H6fn90wOSY3OUZmKYGvtQ7fxB5N_yjiGBxkaC4J2/s640/01_MountPoints.jpg" width="640" /></a></div><br />
Now the not easy part:<br />
<ul><li>Login to the server as root.</li>
<li>Check if the hard disk appears on fdisk. As you can see it was formatted with NTFS:</li>
</ul><blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: "courier new";">[root@cobalt ~]# fidsk -l<br />
Disk /dev/hda: 80.0 GB, 80026361856 bytes</span></span></span><br />
<br />
<span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: "courier new";"></span></span></span><br />
<span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: "courier new";"></span></span></span><br />
<span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: "courier new";"><div>255 heads, 63 sectors/track, 9729 cylinders</div><div>Units = cylinders of 16065 * 512 = 8225280 bytes</div><div></div> Device Boot Start End Blocks Id System<br />
<div>/dev/hda1 1 250 2008093+ 83 Linux</div><div>/dev/hda2 251 500 2008125 83 Linux</div><div>/dev/hda3 501 625 1004062+ 82 Linux swap</div><div>/dev/hda4 626 9729 73127880 5 Extended</div><div>/dev/hda5 626 875 2008093+ 83 Linux</div><div>/dev/hda6 876 9729 71119723+ 83 Linux</div><div></div>Disk /dev/sda: 150.0 GB, 150039945216 bytes<br />
<div>255 heads, 63 sectors/track, 18241 cylinders</div><div>Units = cylinders of 16065 * 512 = 8225280 bytes</div><div></div> Device Boot Start End Blocks Id System<br />
<br />
/dev/sda1 * 1 18242 146521088 7 HPFS/NTFS</span></span></span></blockquote><ul><li> Start fdisk:</li>
</ul><blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: "courier new";">[root@cobalt ~]# fdisk /dev/sda1<br />
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel<br />
Building a new DOS disklabel. Changes will remain in memory only,<br />
until you decide to write them. After that, of course, the previous<br />
content won't be recoverable.<br />
<br />
The number of cylinders for this disk is set to 18241.<br />
There is nothing wrong with that, but this is larger than 1024,<br />
and could in certain setups cause problems with:<br />
1) software that runs at boot time (e.g., old versions of LILO)<br />
2) booting and partitioning software from other OSs<br />
(e.g., DOS FDISK, OS/2 FDISK)<br />
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)</span></span></span></blockquote><ul><li>Create a new DOS label. Im not sure if in my cas was needed because the hard disk had one but... Use the '<strong>o</strong>' command</li>
</ul><blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: "courier new";">Command (m for help):o<br />
Building a new DOS disklabel. Changes will remain in memory only,<br />
until you decide to write them. After that, of course, the previous<br />
content won't be recoverable.<br />
<br />
The number of cylinders for this disk is set to 18241.<br />
There is nothing wrong with that, but this is larger than 1024,<br />
and could in certain setups cause problems with:<br />
1) software that runs at boot time (e.g., old versions of LILO)<br />
2) booting and partitioning software from other OSs<br />
(e.g., DOS FDISK, OS/2 FDISK)<br />
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)<br />
Command (m for help): w<br />
The partition table has been altered!<br />
Calling ioctl() to re-read partition table.<br />
Syncing disks.</span></span></span></blockquote><ul><li>As you can see above fdisk reported an error reading the partition table but nothis was wrong here.</li>
<li>Delete existent partitions (if necessary) and create the new one and then change the system disk ID:</li>
</ul><blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: "courier new";"># fdisk /dev/sda1<br />
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel<br />
Building a new DOS disklabel. Changes will remain in memory only,<br />
until you decide to write them. After that, of course, the previous<br />
content won't be recoverable.<br />
<br />
The number of cylinders for this disk is set to 18241.<br />
There is nothing wrong with that, but this is larger than 1024,<br />
and could in certain setups cause problems with:<br />
1) software that runs at boot time (e.g., old versions of LILO)<br />
2) booting and partitioning software from other OSs<br />
(e.g., DOS FDISK, OS/2 FDISK)<br />
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)<br />
<br />
Command (m for help): d<br />
No partition is defined yet!<br />
<br />
Command (m for help): n<br />
Command action<br />
e extended<br />
p primary partition (1-4)<br />
p<br />
Partition number (1-4): 1<br />
First cylinder (1-18241, default 1):<br />
Using default value 1<br />
Last cylinder or +size or +sizeM or +sizeK (1-18241, default 18241):<br />
Using default value 18241<br />
<br />
Command (m for help): t<br />
Selected partition 1<br />
Hex code (type L to list codes):83<br />
<br />
Command (m for help): w<br />
The partition table has been altered!<br />
<br />
Calling ioctl() to re-read partition table.<br />
Syncing disks. </span></span></span></blockquote><ul><li>Here I rebooted the server.</li>
<li>Create the ext3 filesystem: <span style="color: lime;"># mkfs.ext3 /dev/sda1</span></li>
<li>Now we need to mount the new hard disk to a temporary folder:</li>
</ul><blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: "courier new";"># mkdir /tmpmnt<br />
# mount /dev/sda1 /tmpmnt</span></span></span></blockquote><ul><li>Copy all files from /home to /tmpmnt: <span style="color: lime;"># cp -axv /home/* /tmpmnt</span></li>
<li>Unmount the new hard disk: <span style="color: lime;"># umount /tmpmnt</span></li>
<li>Create a backup of the old /home partition (I was not able to do that part last time because an error message: Files in use):</li>
</ul><blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: "courier new";"># mkdir /oldhome<br />
# mv /home /oldhome</span></span></span><br />
<span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: "courier new";"># mkdir /home<br />
# mount -t ext3 /dev/sda1 /home</span></span></span></blockquote><ul><li>Now we have to modify the /etc/fstab file to make the new partition automount at boot time. Just change hda6 to sda1. My file is this:</li>
</ul><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOfJaLMU1thdqztFsVI_RU_0KuHEpxP2AP6aJ3sKDfb1rp_TEJk4CGhXio3q_WM8OC6Kpjk593jAoi_0zpzihgF9WuURvvaO8aKEFhJDWZTetXLtvhy8GAw7kZu4bYBYFJG6G5jhRtHUa-/s1600/03_fstab.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="251" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOfJaLMU1thdqztFsVI_RU_0KuHEpxP2AP6aJ3sKDfb1rp_TEJk4CGhXio3q_WM8OC6Kpjk593jAoi_0zpzihgF9WuURvvaO8aKEFhJDWZTetXLtvhy8GAw7kZu4bYBYFJG6G5jhRtHUa-/s400/03_fstab.jpg" width="400" /></a></div><ul><li>And the last part is to reboot!!!!!! Here you can see the result, a near 150GB home partition in a SATA hard disk!</li>
</ul><a href="http://1.bp.blogspot.com/-aMKmBfzCC8Q/TaS6IDguvdI/AAAAAAAABFE/DcjVPyh7F9U/s1600/04_MountPointsFinal.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="272" src="http://1.bp.blogspot.com/-aMKmBfzCC8Q/TaS6IDguvdI/AAAAAAAABFE/DcjVPyh7F9U/s640/04_MountPointsFinal.jpg" width="640" /></a><br />
<br />
Now it's time to check if everithing is OK, a will boot up the server in a week or two and see what happens in a 24/7 work.<br />
<br />
<strong>IMPORTANT NOTE</strong>: During these test I found some problems with fdisk. IF fdisk returns a WARNING when you type the command 'w' (write), usually the hard disk partition is not stored on the hard disk. This is the message<br />
<blockquote>WARNING: Re-reading the partition table failed with error 22: Invalid argument.<br />
The kernel still uses the old table<br />
The new table will be used at the next reboot.</blockquote>I had this problem until I was able to delete the NTFS partition with FDSIK (the firsts attempts fdisk didn't show the old partition table). Then you can check the results:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: "courier new";"># fdisk -l<br />
<br />
Disk /dev/hda: 80.0 GB, 80026361856 bytes<br />
255 heads, 63 sectors/track, 9729 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 1 250 2008093+ 83 Linux<br />
/dev/hda2 251 500 2008125 83 Linux<br />
/dev/hda3 501 625 1004062+ 82 Linux swap<br />
/dev/hda4 626 9729 73127880 5 Extended<br />
/dev/hda5 626 875 2008093+ 83 Linux<br />
/dev/hda6 876 9729 71119723+ 83 Linux<br />
<br />
Disk /dev/sda: 150.0 GB, 150039945216 bytes<br />
255 heads, 63 sectors/track, 18241 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/sda1 1 18241 146520801 83 Linux<br />
</span></span></span></blockquote>Titoxhttp://www.blogger.com/profile/16366305289581990367noreply@blogger.com3tag:blogger.com,1999:blog-8002377248272309517.post-91522517459386033362011-01-21T23:53:00.002+01:002011-01-22T15:08:28.181+01:00Do you know XMing?Sometime ago I was thinking to buy a Sun Sparc workstation. I always liked the Sun Blade 1000/2000 series but the last year the prices of Blade 1500/2500 were going down. Now you can buy a Sun Blade 2500 very cheap.<br />
<br />
But before buy a new machine -and look for space at home- I decided to play a little more with my Sun Fire V120. I have a PGX32 VGA card for it and changued the fans for a new low noise ones but what I wanted to do is to connect to the server with an X server.<br />
<br />
A quick search in the web and I found an small list of X servers for Windows (I have Vista on my laptop), most of them paid systems with a lot of functions. One of them is free: <a href="http://sourceforge.net/projects/xming/">XMing</a>. This is a very little tool but very useful. Just install XMing on your Window machine and you can connect to the server. <a href="http://www.straightrunning.com/XmingNotes/">More info here</a>.<br />
<br />
I didn't need any special cofiguration n the V120: it was reinstalled with the latest Sun Solaris -sorry, Oracle Solaris now- at the end of 2010 and nothing more was done.<br />
<br />
The process of open a new connection is very easy:<br />
<br />
- Start XLaunch. At the first screen I choose '<b>One Window</b>'. The display number must be <b>10</b>.<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/_-RKOyn2PyCA/TToLP5zbUKI/AAAAAAAABB8/52HEPNTJ1RY/s1600/01_XLaunch_Windows_Display10.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="308" src="http://4.bp.blogspot.com/_-RKOyn2PyCA/TToLP5zbUKI/AAAAAAAABB8/52HEPNTJ1RY/s400/01_XLaunch_Windows_Display10.jpg" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div> - At the second screen select '<b>Open session via XDMCP</b>'.<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgE-gsRTNSjcpC92pgPWSDroYrVmZlubqrybjuq4Vb1KJy5z-UyTguKU9SIWmv-XAKH-0_-v0ltc7MW0nXHnE42RbGKC7xNPRupvL607FBRzUsWKVSlfGRZRAmGY57AOWgK9cFZkzuiryX_/s1600/02_XLaunch_XDMCP.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="308" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgE-gsRTNSjcpC92pgPWSDroYrVmZlubqrybjuq4Vb1KJy5z-UyTguKU9SIWmv-XAKH-0_-v0ltc7MW0nXHnE42RbGKC7xNPRupvL607FBRzUsWKVSlfGRZRAmGY57AOWgK9cFZkzuiryX_/s400/02_XLaunch_XDMCP.jpg" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div> The next step is to indicate the server address. Type the <i>ip address</i> of the server or select "<b>Search</b>" if you only have one.<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/_-RKOyn2PyCA/TToLQ4Vlc0I/AAAAAAAABCE/iGjN9bUbaCw/s1600/03_XLaunch_HOST.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="308" src="http://1.bp.blogspot.com/_-RKOyn2PyCA/TToLQ4Vlc0I/AAAAAAAABCE/iGjN9bUbaCw/s400/03_XLaunch_HOST.jpg" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div> - I leave the "<i>additional parameters</i>" values as default.<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/_-RKOyn2PyCA/TToLRR5NDJI/AAAAAAAABCI/A6tpA-pn-hc/s1600/04_XLaunch_Clipboard.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="308" src="http://1.bp.blogspot.com/_-RKOyn2PyCA/TToLRR5NDJI/AAAAAAAABCI/A6tpA-pn-hc/s400/04_XLaunch_Clipboard.jpg" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div> - Now you can save the configuration in a file to reuse it (I saved it on the desktop to use as a fast link).<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJ2EFKGPu5y2irmJYeTrlVmFIusA2eSV8kQRd9gCwZPSLKwfjEnsEaUKnr_g4HAxRoE4g4DNqZMgACdUELnZqmSlAXtY4k2TXtZMpbfFxQr33l-TCcFXPJ0jrarpGQQ4ui67GUSzJQUa-M/s1600/05_XLaunch_Save_and_Finish.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="308" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJ2EFKGPu5y2irmJYeTrlVmFIusA2eSV8kQRd9gCwZPSLKwfjEnsEaUKnr_g4HAxRoE4g4DNqZMgACdUELnZqmSlAXtY4k2TXtZMpbfFxQr33l-TCcFXPJ0jrarpGQQ4ui67GUSzJQUa-M/s400/05_XLaunch_Save_and_Finish.jpg" width="400" /></a></div><br />
And here you are my Solaris login screen on my laptop<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/_-RKOyn2PyCA/TToLSxfMcxI/AAAAAAAABCQ/GyhLv3vtgbU/s1600/05_XMing_login_V120.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="http://2.bp.blogspot.com/_-RKOyn2PyCA/TToLSxfMcxI/AAAAAAAABCQ/GyhLv3vtgbU/s640/05_XMing_login_V120.jpg" width="640" /></a></div><br />
This is not a fast way to work with an Sparc workstation but it's enough to play with Java desktop or CDE:<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/_-RKOyn2PyCA/TToOYaizNfI/AAAAAAAABCY/sV1JRF2vczE/s1600/06_CDE_V120_remote.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="http://4.bp.blogspot.com/_-RKOyn2PyCA/TToOYaizNfI/AAAAAAAABCY/sV1JRF2vczE/s640/06_CDE_V120_remote.jpg" width="640" /></a></div>Titoxhttp://www.blogger.com/profile/16366305289581990367noreply@blogger.com1tag:blogger.com,1999:blog-8002377248272309517.post-13796436505051898212011-01-19T19:47:00.000+01:002011-01-19T19:47:06.561+01:00How to enable AWStats on StrongboltToday I started to play with my backup RaQ 4 server. It's loaded with <a href="http://www.osoffice.co.uk/">Strongbolt</a> and looking at the hard disk I found that <a href="http://awstats.sourceforge.net/">AWStats</a> is installed by default but pointing a web browser to <em>www.myaddress.net/awstats</em> only gave me an small box asking for a user and password but never I was able to log in.<br />
<br />
I remembered <a href="http://www.osoffice.co.uk/forum/viewtopic.php?f=21&t=1033">there is a post</a> in the Strongbolt forums but with no good solution. A new search and I found <a href="http://www.nuonce.net/support/viewthread.php?tid=986">this</a> on the closed Nuonce Forums. In fact Strongbolt has AWStats installed but is missing one perl library that is needed to authenticate users in the systems: <strong>perl-suidperl</strong>.<br />
<br />
Just need to install this library and then you can log with the vsite admin password:<br />
<blockquote>[root@web etc]# yum install perl-suidperl<br />
<br />
Setting up Install Process<br />
Setting up repositories<br />
update 100% ========================= 951 B 00:00<br />
BlueQuartz 100% ========================= 951 B 00:00<br />
base 100% ========================= 1.1 kB 00:00<br />
addons 100% ========================= 951 B 00:00<br />
extras 100% ========================= 1.1 kB 00:00<br />
Reading repository metadata in from local files<br />
Excluding Packages from CentOS-4 - Updates<br />
Finished<br />
Excluding Packages from CentOS-4 - Base<br />
Finished<br />
Excluding Packages from CentOS-4 - Addons<br />
Finished<br />
Excluding Packages from CentOS-4 - Extras<br />
Finished<br />
Parsing package install arguments<br />
Resolving Dependencies<br />
> Populating transaction set with selected packages. Please wait.<br />
> Downloading header for perl-suidperl to pack into transaction set.<br />
perl-suidperl-5.8.5-53.el 100% ========================= 20 kB 00:00<br />
> Package perl-suidperl.i386 3:5.8.5-53.el4 set to be updated<br />
> Running transaction check<br />
<br />
Dependencies Resolved<br />
<br />
================================================================<br />
Package Arch Version Repository Size<br />
================================================================<br />
Installing:<br />
perl-suidperl i386 3:5.8.5-53.el4 update 112 k<br />
<br />
Transaction Summary<br />
================================================================<br />
Install 1 Package(s)<br />
Update 0 Package(s)<br />
Remove 0 Package(s)<br />
Total download size: 112 k<br />
Is this ok [y/N]: y<br />
Downloading Packages:<br />
(1/1): perl-suidperl-5.8. 100% ========================= 112 kB 00:00<br />
Running Transaction Test<br />
Finished Transaction Test<br />
Transaction Test Succeeded<br />
Running Transaction<br />
Installing: perl-suidperl ######################### [1/1]<br />
<br />
Installed: perl-suidperl.i386 3:5.8.5-53.el4<br />
Complete!<br />
[root@web etc]#</blockquote>Remeber that lo log in the Statistics page tou need the vsite admin usr and password, not the server admin password!Titoxhttp://www.blogger.com/profile/16366305289581990367noreply@blogger.com0tag:blogger.com,1999:blog-8002377248272309517.post-81521708114353275102010-09-14T21:40:00.000+02:002010-09-14T21:40:10.057+02:00Wacom Graphire2 and Irix updateFollowing <a href="http://forums.nekochan.net/viewtopic.php?f=3&t=16719247">this post</a> in the <a href="http://www.nekochan.net/">Nekochan</a> forums, I did some more test with my <a href="http://www.wacom.com/downloads/manuals/Graphire2Manual.pdf">Wacom Graphire2</a> USB tablet. The goal was to check if pressure levels works with the sgi driver, the driver supplied with the Irix distribution cd's.<br />
<br />
A quick search returned two interesting pages:<br />
<br />
<ul><li>The <a href="http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=0650&db=man&fname=/usr/share/catman/a_man/cat7/input.z&srch=tablet">SGI Irix Input man page</a>. Where all the configuration paremeters are described.</li>
<li><a href="http://www.fsck.it/html/geek/tips/wacom.html">Andreas Backaus's Wacom tablets on IRIX page</a>. Here you will find how to install the Wacom Control Panel with the SGI driver. Unfortunately this tip onlyworks with serial devices.</li>
</ul><div>The results are good. Not fantastic but pressure levels are working. <i>I never used a tablet before but in my case to use the pressure level function I have to use a button to draw. While I push the button I can move the pencil away and closer to change the with of the draw. If I press the tablet the color changes to background color.</i> (Extracted from my post in Nekochan forums).</div><div><br />
</div><div>In the following pic you can find an example of the pressure changes in size and color. The config file is also open:</div><div><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlq1yDGedWOzWF3ADF6JbDtWi7tMXNOpIgrJv9bHzN4-s4idRrnCpcfFOiX_q1Fm9h0O1rHF0SLd3QaQLCMaq-mZrjRf9hR1-mAx7GYcS1ubjLPRtxEW4akqi_4V6vNNOWj6hSycTF8W1a/s1600/Tablet_desktop.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlq1yDGedWOzWF3ADF6JbDtWi7tMXNOpIgrJv9bHzN4-s4idRrnCpcfFOiX_q1Fm9h0O1rHF0SLd3QaQLCMaq-mZrjRf9hR1-mAx7GYcS1ubjLPRtxEW4akqi_4V6vNNOWj6hSycTF8W1a/s400/Tablet_desktop.jpg" width="400" /></a></div><div><br />
</div><div>The next job will be check if the Absolute Mode works. I checked some different setting but with no results.</div><div>We will see...</div>Titoxhttp://www.blogger.com/profile/16366305289581990367noreply@blogger.com1tag:blogger.com,1999:blog-8002377248272309517.post-17430037910246677562010-09-08T22:53:00.000+02:002010-09-08T22:53:36.478+02:00Solaris 10 release 9/10Don't forget to download the new release of Oracle (Sun) Solaris 10. Just launched. <a href="http://www.oracle.com/us/products/servers-storage/solaris/index.html">Check all the new features in the Oracle Solaris web page</a>. Unfortunately the old Sun accounts aren't running and a new Oracle registration is needed until the old accounts are consolidated.Titoxhttp://www.blogger.com/profile/16366305289581990367noreply@blogger.com0tag:blogger.com,1999:blog-8002377248272309517.post-27094415618070428912010-09-08T22:43:00.003+02:002010-09-09T09:26:30.949+02:00Sun Fire V120 as NAS part 8: Now with UFS filesystem (ZFS to UFS)Before the summer I did a lot of test with a Sun Fire V120 Sparc server. At the time I used Solaris 10/09 installed in a 37GB disk and a ZFS array of three 18GB disk ia a Storedge S1. The results were bad in terms of network file transfer and I was thinking to reinstall everyrhin with a new UFS configuration.<br />
<br />
Thats seems an easy job but The first step was so difficult: Solaris didn't want to changue the ZFS filesystem to UFS. After a lt of searching a I fund the good solution for Sparc Solaris (usually all the information was for x86 Solaris with a different format utility) <a href="http://www.tech-recipes.com/rx/2787/solaris_delete_zfs_slices_from_a_disk/">here</a>. Just a few steps are necessary.<br />
<br />
1. We need to use the format utility once with each disc. Here how I re-labeled the first hd (SMI label needed):<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># format -e c1t1d0<br />
selecting c1t1d0<br />
[disk formatted]<br />
<br />
FORMAT MENU:<br />
disk - select a disk<br />
type - select (define) a disk type<br />
partition - select (define) a partition table<br />
current - describe the current disk<br />
format - format and analyze the disk<br />
repair - repair a defective sector<br />
label - write label to the disk<br />
analyze - surface analysis<br />
defect - defect list management<br />
backup - search for backup labels<br />
verify - read and display labels<br />
inquiry - show vendor, product and revision<br />
scsi - independent SCSI mode selects<br />
cache - enable, disable or query SCSI disk cache<br />
volname - set 8-character volume name<br />
!<cmd> - execute <cmd>, then return</cmd></cmd><br />
quit<br />
format> label<br />
[0] SMI Label<br />
[1] EFI Label<br />
Specify Label type[1]: 0<br />
Auto configuration via format.dat[no]? no<br />
format> quit<br />
#</span></span></span></blockquote>Now repeat with the next 4 hd's.<br />
<br />
2. Partitioning is more complicated.<br />
<ul><li>Start the format utility: <i># format c1t1d</i>0.</li>
<li>Select in the menu: <i>partition</i>, an then <i>modify</i>.</li>
<li>Select<i> All free ho</i>g:</li>
</ul><blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';">Select partitioning base:<br />
<br />
0. Current partition table (unnamed)<br />
<br />
1. All Free Hog<br />
<br />
Choose base (enter number) [0]? 1<br />
<br />
Part Tag Flag Cylinders Size Blocks<br />
0 root wm 0 0 (0/0/0) 0<br />
1 swap wu 0 0 (0/0/0) 0<br />
2 backup wu 0 - 7505 16.86GB (7506/0/0) 35368272<br />
3 unassigned wm 0 0 (0/0/0) 0<br />
4 unassigned wm 0 0 (0/0/0) 0<br />
5 unassigned wm 0 0 (0/0/0) 0<br />
6 usr wm 0 0 (0/0/0) 0<br />
7 unassigned wm 0 0 (0/0/0) </span></span></span></blockquote><ul><li>At this stage we can change the partition sizes (this is a 18GB hd):</li>
</ul><blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';">Do you wish to continue creating a new partition<br />
table based on above table[yes]?<br />
Free Hog partition[6]? 7<br />
Enter size of partition '0' [0b, 0c, 0.00mb, 0.00gb]: 16gb<br />
Enter size of partition '1' [0b, 0c, 0.00mb, 0.00gb]:<br />
Enter size of partition '3' [0b, 0c, 0.00mb, 0.00gb]:<br />
Enter size of partition '4' [0b, 0c, 0.00mb, 0.00gb]:<br />
Enter size of partition '5' [0b, 0c, 0.00mb, 0.00gb]:<br />
Enter size of partition '6' [0b, 0c, 0.00mb, 0.00gb]:<br />
<br />
<br />
Part Tag Flag Cylinders Size Blocks<br />
0 root wm 0 - 7121 16.00GB (7122/0/0) 33558864<br />
1 swap wu 0 0 (0/0/0) 0<br />
2 backup wu 0 - 7505 16.86GB (7506/0/0) 35368272<br />
3 unassigned wm 0 0 (0/0/0) 0<br />
4 unassigned wm 0 0 (0/0/0) 0<br />
5 unassigned wm 0 0 (0/0/0) 0<br />
6 usr wm 0 0 (0/0/0) 0<br />
7 unassigned wm 7122 - 7505 883.50MB (384/0/0) 1809408<br />
<br />
Okay to make this the current partition table[yes]?<br />
Enter table name (remember quotes): array<br />
<br />
Ready to label disk, continue? yes<br />
<br />
partition> quit<br />
format> quit<br />
#</span></span></span></blockquote>3. Now is time to copy the partition table to the other hd's using:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># prtvtoc /dev/rdsk/c1t1d0s2 | fmthard -s - /dev/rdsk/c2t1d0s2</span></span></span></blockquote>Here I had an small problem because one of the hard disks is different, also 18 GB and Seagate but different model. I had to do all the partitioning one more time but with the same zise partitions.<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';">Total disk cylinders available: 14076 + 2 (reserved cylinders)<br />
<br />
Part Tag Flag Cylinders Size Blocks<br />
0 unassigned wm 0 - 13283 16.00GB (13284/0/0) 33555384<br />
1 unassigned wm 0 0 (0/0/0) 0<br />
2 backup wu 0 - 14075 16.95GB (14076/0/0) 35555976<br />
3 unassigned wm 0 0 (0/0/0) 0<br />
4 unassigned wm 0 0 (0/0/0) 0<br />
5 unassigned wm 0 0 (0/0/0) 0<br />
6 unassigned wm 0 0 (0/0/0) 0<br />
7 unassigned wm 13284 - 14072 973.15MB (789/0/0) 1993014</span></span></span></blockquote>4. This step is easy, copy the metadata:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># metadb -a -f c1t1d0s7 c2t1d0s7 c2t2d0s7 c2t3d0s7</span></span></span></blockquote>5. And create the Raid 5 array!!!<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># metainit d0 -r c1t1d0s0 c2t1d0s0 c2t2d0s0 c2t3d0s0<br />
d0: RAID configurado (RAID is setup)</span></span></span></blockquote>Now the array is created but is not ready. Using metastat several times we can check the status of the build:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># metastat d0<br />
d0: RAID<br />
Estado: Inicializando<br />
Inicialización en progreso: 0.4% terminado<br />
Entrelazado: 32 bloques<br />
Tamaño: 100653032 bloques (47 GB)<br />
Dispositivo original:<br />
Tamaño: 100657536 bloques (47 GB)<br />
Dispositivo Bloque de in Base Estado Reubi Repuesto en marcha<br />
c1t1d0s0 5042 No Inicializand SÃ<br />
c2t1d0s0 5042 No Inicializand SÃ<br />
c2t2d0s0 2856 No Inicializand SÃ<br />
c2t3d0s0 5042 No Inicializand SÃ<br />
<br />
Device Relocation Information:<br />
Device Reloc Device ID<br />
c1t1d0 SÃ id1,sd@SFUJITSU_MAN3184M_SUN18G_02Z33997____<br />
c2t1d0 SÃ id1,sd@SFUJITSU_MAN3184M_SUN18G_02Z35960____<br />
c2t2d0 SÃ id1,sd@SSGI_____ST318404LC______3BT2FCQL0000V121048Z<br />
c2t3d0 SÃ id1,sd@SFUJITSU_MAN3184M_SUN18G_02Z35919____</span></span></span></blockquote><br />
6. Finished!!!<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># metastat d0<br />
d0: RAID<br />
Estado: Correcto<br />
Entrelazado: 32 bloques<br />
Tamaño: 100653032 bloques (47 GB)<br />
Dispositivo original:<br />
Tamaño: 100657536 bloques (47 GB)<br />
Dispositivo Bloque de in Base Estado Reubi Repuesto en marcha<br />
c1t1d0s0 5042 No Correcto SÃ<br />
c2t1d0s0 5042 No Correcto SÃ<br />
c2t2d0s0 2856 No Correcto SÃ<br />
c2t3d0s0 5042 No Correcto SÃ<br />
<br />
Device Relocation Information:<br />
Device Reloc Device ID<br />
c1t1d0 SÃ id1,sd@SFUJITSU_MAN3184M_SUN18G_02Z33997____<br />
c2t1d0 SÃ id1,sd@SFUJITSU_MAN3184M_SUN18G_02Z35960____<br />
c2t2d0 SÃ id1,sd@SSGI_____ST318404LC______3BT2FCQL0000V121048Z<br />
c2t3d0 SÃ id1,sd@SFUJITSU_MAN3184M_SUN18G_02Z35919____</span></span></span></blockquote><br />
7. When the array is finished we can create the filesystem (and wait a lot more time):<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># newfs -i 8192 /dev/md/rdsk/d0<br />
newfs: construir un nuevo sistema de archivos /dev/md/rdsk/d0: (y/n)? y</span></span></span> </blockquote><blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';">Advertencia: 4120 sector(es) en el último cilindro sin asignar<br />
/dev/md/rdsk/d0: 100653032 sectores en 16383 cilindros de 48 pistas, 128 sectores<br />
49147,0MB en 1024 grupos de cilindros (16 c/g, 48,00MB/g, 5824 i/g)<br />
copias de seguridad super-bloque (para fsck -F ufs -o b=#) en:<br />
32, 98464, 196896, 295328, 393760, 492192, 590624, 689056, 787488, 885920,<br />
Inicializando grupos de cilindros:<br />
....................<br />
copias de seguridad del superbloque de los últimos 10 grupos de cilindros en:<br />
99687200, 99785632, 99884064, 99982496, 100080928, 100179360, 100277792, 100376224, 100474656, 100573088</span></span></span></blockquote>Sorry, I installed Solaris in Spanish but....<br />
<br />
9. Now we can mount the filesystem in a directory and it will be ready for use. The same name as my first atempt with ZFS:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># mkdir /fsshared<br />
# mount -F ufs /dev/md/dsk/d0 /fsshared</span></span></span></blockquote><br />
10. The final step is to make the mount persistent.we need to insert a new line in the<b> /etc/vfstab</b> (data separated with tabs)<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"> /etc/vfstab<br />
#device device mount FS fsck mount mount<br />
#to mount to fsck point type pass at boot options<br />
#<br />
fd - /dev/fd fd - no -<br />
/proc - /proc proc - no -<br />
/dev/dsk/c1t0d0s1 - - swap - no -<br />
/dev/dsk/c1t0d0s0 /dev/rdsk/c1t0d0s0 / ufs 1 no<br />
-<br />
/dev/dsk/c1t0d0s7 /dev/rdsk/c1t0d0s7 /export/home ufs 2<br />
yes -<br />
/devices - /devices devfs - no -<br />
sharefs - /etc/dfs/sharetab sharefs - no -<br />
ctfs - /system/contract ctfs - no -<br />
objfs - /system/object objfs - no -<br />
/dev/md/dsk/d0 /dev/md/rdsk/d0 /fsshared ufs 2 yes -<br />
swap - /tmp tmpfs - yes -</span></span></span></blockquote>Titoxhttp://www.blogger.com/profile/16366305289581990367noreply@blogger.com0tag:blogger.com,1999:blog-8002377248272309517.post-54334511057880315462010-06-21T23:04:00.001+02:002010-06-21T23:11:35.485+02:00Swapping my serverI switched my main web server. My beloved <a href="http://en.wikipedia.org/wiki/Cobalt_RaQ">RaQ 4i</a> had been working for the last three years 24/7. Being a second hand server with an old hard disk I feel a little bad and some time ago I decided to exchange for anther RaQ 4i I had as spare.<br />
<br />
This new/old server has the same specs as the old one but with two Seagate 120 GB in RAID 1 configuration. I more confident with this setup. Obviously it runs Strongbolt 1 (CentOS 4 + BlueQuartz) but with no addon packages installed as I don't need anything outside Strongbolt.<br />
<br />
I restored all the files of the old server (the <i>/downloads/</i> folder) and it was 14 GB's!. Torrentflux isn't installed as I don't use it since a lot of time ago.<br />
<br />
Well I think I have server for a lot of time but I want to switch to one of my <a href="http://sunsolve.sun.com/handbook_pub/validateUser.do?target=Systems/Cobalt/Cobalt">RaQ 550</a>. They are newer and powerful servers but before I have to change the power supply fan (and I don't need more power in fact).Titoxhttp://www.blogger.com/profile/16366305289581990367noreply@blogger.com2tag:blogger.com,1999:blog-8002377248272309517.post-88431190279897565442010-05-08T00:19:00.001+02:002010-05-08T00:21:02.447+02:00CentOS 4 kernel 2.6.9-89.0.23 for Cobalt x86 appliancesWell, after my mistake in the configuration of my last kernel (I forgot the RAID setup), last wednesday I compiled the latest CentOS 4 kernel (2.6.9-89.0.23.EL). This time I only prepared a RPM archive and not a BlueQuartz package because to install an RPM can be forced to avoid conflicts with the standard kernel RPM archives from CentOS.<br />
<br />
I haven't done a lot of testing with this kernel but seems to work well in RaQ4 with RAID 1 setup and also in a RaQ 550. It has the same features of the old release:<br />
<ol><li>Compiled for <b>i586</b> architechture, compatible with the <b>i686</b> architechture you can find on <b>RaQ XTR</b> and <b>RaQ 550</b>.</li>
<li>Drivers for <b>VIA</b>, <b>SIS</b> and <b>Silicon Image</b> SATA chipsets, to use as storage expansion or use the server as NAS but I don't have time to test yet. Compiled as modules.</li>
<li>Drivers for ethernet gigabit cards: <b>Intel PRO/1000</b>, <b>Realtek 8169</b>, <b>Broadcom Tigon3</b> and <b>Broadcom NetXtremeII</b>. Compiled as modules.</li>
<li><b>Cobalt GenIII</b> and <b>GenV</b> drivers included: the same kernel works on all Cobalt machines. Only tested in Cobalt <b>RaQ 3&4</b> and <b>RaQ 550</b>. My Qube 3 has SB2 installed and I don't have any XTR (but if I can find one...).</li>
<li>SMP for two processors, not tested: usefull for <b>RaQ XTR</b> with two Pentium III.</li>
</ol>And something new:<br />
<ol><li>Suport for RAID storage (RAID 0, 1, 5, 6 and 10).</li>
<li>I2C bus support enabled. It can be useful for RaQ XTR leds but it also needs some software what I don't have (and I can't test)</li>
</ol>Unfortunately this fast job doesn't allow me to work in the problems of shutdown and reboot in the Pentium III machines. Next time...<br />
<br />
Like other kernel, if you want to test, the files are <a href="http://www.titox-net.es/downloads/cobalt/BlueQuartz/kernel/linux-2.6.9-89.0.23-cobalt/">here</a>. You can follow this steps:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"></span></span></span><br />
<ol><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"><li>Log in to the server as root.</li>
<li># rpm -i --force http://www.titox-net.es/downloads/cobalt/BlueQuartz/kernel/linux-2.6.9-89.0.23-cobalt/kernel-2.6.9-89.0.23_cobalt.i586.rpm</li>
<li># cd /boot</li>
<li># mv vmlinux.bz2 vmlinux_old.bz2</li>
<li># cp vmlinux_2.6.9-89.0.23.EL-cobalt.bz2 vmlinux.bz2</li>
<li># reboot</li>
</span></span></span></ol><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"></span></span></span></blockquote> <span style="font-weight: bold;">OBVIOUSLY: USE THIS KERNEL AT YOUR OWN RISK. NO GUARANTEE</span><br />
<br />
Now here you are the boot logs of my RaQ 4r (RAID 1) and a RaQ 550:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"> Sun Cobalt - Smaller, Bluer, Better, and Free<br />
<br />
Firmware version 2.10.3-ext3<br />
<br />
Current date: May 07 20:57:18 UTC 2010<br />
ROM build info: Thu Mar 11 08:51:36 MST 2004 .<br />
System serial number: Uninitialized<br />
System type: 3000 series system, Version 1 board<br />
Silicon serial number: 7200000767f57a01<br />
Monitor: 153536 bytes<br />
Memory: 256 MB<br />
CPU: 1 processor(s) detected<br />
CPU 0: AuthenticAMD 448MHz (4.5 x 100MHz host bus) [BSP]<br />
Initializing flash: done<br />
Flash Bank 0: AMD AM29F080B 1024KB (01:d5)<br />
Flash Bank 1: not installed.<br />
Mounting ROM fs: done<br />
Initializing PCI: done<br />
Host Bus: 0 (device 1f:07) [33MHz]<br />
Device: 00:00 10b9:1541 Acer Labs M1541 Aladdin V Host Bridge<br />
Device: 01:00 10b9:5243 Acer Labs M5243 AGP Controller<br />
Device: 02:00 10b9:5237 Acer Labs M5237 USB Controller (IRQ 6)<br />
Device: 03:00 10b9:7101 Acer Labs M7101 PMU<br />
Device: 07:00 10b9:1533 Acer Labs M1543 Aladdin V PCI-ISA Bridge<br />
Device: 0e:00 1000:000f Symbios Logic SYM53C875 SCSI Controller (IRQ 12)<br />
Device: 0f:00 10b9:5229 Acer Labs M5229 TXpro IDE Controller (IRQ 14)<br />
Device: 10:00 8086:1209 Intel 82559ER EEPro100 Fast Ethernet (IRQ 11)<br />
Device: 12:00 8086:1209 Intel 82559ER EEPro100 Fast Ethernet (IRQ 10)<br />
Bridged Bus: 1 (bridge: 00:01:00)<br />
Initializing ethernet: 2 controller(s) found<br />
Intel 82559ER Found at port 0xfd80, MAC: 00:10:e0:03:1d:c2<br />
Intel 82559ER Found at port 0xfd40, MAC: 00:10:e0:03:1e:2b<br />
Initializing IDE: found ALI M5229 at 00:78<br />
scanning ide0: master <br />
scanning ide1: <br />
IDE: stabilizing spinup: 100%<br />
Checking Memory: done<br />
<br />
Press spacebar to enter ROM mode<br />
Booting default method - From disk<br />
<br />
Enabling L2 cache: on-chip L2 is 128K -done<br />
First stage kernel (Linux): Decompressing -- done<br />
ERROR: cannot relocate with filesize 0<br />
command line: 'console=ttyS0,115200 debug mem=22M cobalt_boot_image=/boot/vmlinux.bz2,/vmlinux.bz2,/boot/vmlinux.gz,/vmlinux.gz cobalt_boot_return=0x161f394 cobalt_boot_data=0x1634cc4 cobalt_boot_load=0x1700000 cobalt_ramcode_map=0x1600000,0xa00000 ip=off '<br />
booting kernel...<br />
Linux version 2.4.25-ROM (duncan@atherton) (gcc version 3.3.3 (Debian 20040306)) #1 Thu Mar 11 08:47:53 MST 2004<br />
BIOS-provided physical RAM map:<br />
BIOS-e801: 0000000000000000 - 000000000009f000 (usable)<br />
BIOS-e801: 0000000000100000 - 0000000010000000 (usable)<br />
user-defined physical RAM map:<br />
user: 0000000000000000 - 000000000009f000 (usable)<br />
user: 0000000000100000 - 0000000001600000 (usable)<br />
22MB LOWMEM available.<br />
On node 0 totalpages: 5632<br />
zone(0): 4096 pages.<br />
zone(1): 1536 pages.<br />
zone(2): 0 pages.<br />
DMI not present.<br />
Kernel command line: console=ttyS0,115200 debug mem=22M cobalt_boot_image=/boot/vmlinux.bz2,/vmlinux.bz2,/boot/vmlinux.gz,/vmlinux.gz cobalt_boot_return=0x161f394 cobalt_boot_data=0x1634cc4 cobalt_boot_load=0x1700000 cobalt_ramcode_map=0x1600000,0xa00000 ip=off <br />
Initializing CPU#0<br />
Detected 448.219 MHz processor.<br />
Calibrating delay loop... 894.56 BogoMIPS<br />
Memory: 20208k/22528k available (1141k kernel code, 1932k reserved, 244k data, 100k init, 0k highmem)<br />
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)<br />
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)<br />
Mount cache hash table entries: 512 (order: 0, 4096 bytes)<br />
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)<br />
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)<br />
Enabling new style K6 write allocation for 22 Mb<br />
CPU: L1 I Cache: 32K (32 bytes/line), D cache 32K (32 bytes/line)<br />
CPU: L2 Cache: 128K (32 bytes/line)<br />
CPU: After generic, caps: 008021bf c08029bf 00000000 00000002<br />
CPU: Common caps: 008021bf c08029bf 00000000 00000002<br />
CPU: AMD-K6(tm)-III Processor stepping 04<br />
Checking 'hlt' instruction... OK.<br />
POSIX conformance testing by UNIFIX<br />
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)<br />
mtrr: detected mtrr type: AMD K6<br />
PCI: Using configuration type 1<br />
PCI: Probing PCI hardware<br />
PCI: Probing PCI hardware (bus 00)<br />
Linux NET4.0 for Linux 2.4<br />
Based upon Swansea University Computer Society NET3.039<br />
Initializing RT netlink socket<br />
Starting kswapd<br />
VFS: Disk quotas vdquot_6.5.1<br />
Journalled Block Device driver loaded<br />
pty: 256 Unix98 ptys configured<br />
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled<br />
ttyS00 at 0x03f8 (irq = 4) is a 16550A<br />
ttyS01 at 0x02f8 (irq = 3) is a 16550A<br />
Real Time Clock Driver v1.10f<br />
Non-volatile memory driver v1.2<br />
loop: loaded (max 8 devices)<br />
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html<br />
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin saw@saw.sw.com.sg and others<br />
eth0: Invalid EEPROM checksum 0xd5fd, check settings before activating this device!<br />
eth0: PCI device 8086:1209, 00:10:E0:03:1D:C2, IRQ 11.<br />
Receiver lock-up bug exists -- enabling work-around.<br />
Board assembly 000000-000, Physical connectors present:<br />
Primary interface chip None PHY #0.<br />
General self-test: passed.<br />
Serial sub-system self-test: passed.<br />
Internal registers self-test: passed.<br />
ROM checksum self-test: passed (0xdbd8681d).<br />
Receiver lock-up workaround activated.<br />
eth1: Invalid EEPROM checksum 0x3efe, check settings before activating this device!<br />
eth1: PCI device 8086:1209, 00:10:E0:03:1E:2B, IRQ 10.<br />
Receiver lock-up bug exists -- enabling work-around.<br />
Board assembly 000000-000, Physical connectors present:<br />
Primary interface chip None PHY #0.<br />
General self-test: passed.<br />
Serial sub-system self-test: passed.<br />
Internal registers self-test: passed.<br />
ROM checksum self-test: passed (0xdbd8681d).<br />
Receiver lock-up workaround activated.<br />
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4<br />
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx<br />
ALI15X3: IDE controller at PCI slot 00:0f.0<br />
ALI15X3: chipset revision 193<br />
ALI15X3: 100% native mode on irq 14<br />
ide0: BM-DMA at 0xfdd0-0xfdd7, BIOS settings: hda:DMA, hdb:DMA<br />
ide1: BM-DMA at 0xfdd8-0xfddf, BIOS settings: hdc:DMA, hdd:DMA<br />
hda: ST310211A, ATA DISK drive<br />
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx<br />
blk: queue c0298fa0, I/O limit 4095Mb (mask 0xffffffff)<br />
ide0 at 0xfdf8-0xfdff,0xfdf6 on irq 14<br />
hda: attached ide-disk driver.<br />
hda: host protected area => 1<br />
hda: 19541088 sectors (10005 MB) w/1024KiB Cache, CHS=19386/16/63, UDMA(33)<br />
Partition check:<br />
hda: hda1 hda2 hda3 hda4 < hda5 hda6 ><br />
md: linear personality registered as nr 1<br />
md: raid0 personality registered as nr 2<br />
md: raid1 personality registered as nr 3<br />
md: raid5 personality registered as nr 4<br />
raid5: measuring checksumming speed<br />
8regs : 621.200 MB/sec<br />
32regs : 367.600 MB/sec<br />
pII_mmx : 849.600 MB/sec<br />
p5_mmx : 826.000 MB/sec<br />
raid5: using function: pII_mmx (849.600 MB/sec)<br />
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27<br />
md: Autodetecting RAID arrays.<br />
md: autorun ...<br />
md: ... autorun DONE.<br />
NET4: Linux TCP/IP 1.0 for NET4.0<br />
IP Protocols: ICMP, UDP, TCP<br />
IP: routing cache hash table of 512 buckets, 4Kbytes<br />
TCP: Hash tables configured (established 1024 bind 2048)<br />
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.<br />
kjournald starting. Commit interval 5 seconds<br />
EXT3-fs: mounted filesystem with ordered data mode.<br />
VFS: Mounted root (ext3 filesystem) readonly.<br />
Freeing unused kernel memory: 100k freed<br />
BOOTLOADER: Mapping in physical locations<br />
BOOTLOADER: load_addr=0xc2004000 ret_data=0xc2205cc4<br />
BOOTLOADER: opening "/boot/vmlinux.bz2"<br />
BOOTLOADER: reading "/boot/vmlinux.bz2"<br />
BOOTLOADER: read 1493862bytes<br />
BOOTLOADER: unmounting /<br />
BOOTLOADER: calling reboot notifiers<br />
md: stopping all md devices.<br />
flushing ide devices: hda <br />
BOOTLOADER: mapping 22M-32M for ride home<br />
BOOTLOADER: disabling interrupts<br />
BOOTLOADER: flushing cache<br />
BOOTLOADER: Leap of faith!<br />
Back in ramcode: done<br />
Second stage kernel: Decompressing -- done<br />
ERROR: cannot relocate with filesize 0<br />
command line: 'console=ttyS0,115200 debug ip=off '<br />
booting kernel...<br />
Linux version 2.6.9-89.0.23.EL-cobalt (root@sbdevel.titox-net.es) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-11)) #1 SMP Wed May 5 21:51:13 CEST 2010<br />
BIOS-provided physical RAM map:<br />
BIOS-e801: 0000000000000000 - 000000000009f000 (usable)<br />
BIOS-e801: 0000000000100000 - 0000000010000000 (usable)<br />
0MB HIGHMEM available.<br />
256MB LOWMEM available.<br />
Using x86 segment limits to approximate NX protection<br />
On node 0 totalpages: 65536<br />
DMA zone: 4096 pages, LIFO batch:1<br />
Normal zone: 61440 pages, LIFO batch:15<br />
HighMem zone: 0 pages, LIFO batch:1<br />
DMI not present.<br />
ACPI: Unable to locate RSDP<br />
Allocating PCI resources starting at 20000000 (gap: 10000000:f0000000)<br />
Built 1 zonelists<br />
Kernel command line: console=ttyS0,115200 debug ip=off <br />
No local APIC present or hardware disabled<br />
mapped APIC to ffffc000 (01213000)<br />
Initializing CPU#0<br />
PID hash table entries: 2048 (order: 11, 32768 bytes)<br />
Detected 448.029 MHz processor.<br />
Using tsc for high-res timesource<br />
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)<br />
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)<br />
Memory: 255856k/262144k available (2110k kernel code, 5860k reserved, 746k data, 188k init, 0k highmem)<br />
Calibrating delay using timer specific routine.. 897.57 BogoMIPS (lpj=448788)<br />
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)<br />
CPU: After generic identify, caps: 008021bf c08029bf 00000000 00000000<br />
CPU: After vendor identify, caps: 008021bf c08029bf 00000000 00000000<br />
CPU: L1 I Cache: 32K (32 bytes/line), D cache 32K (32 bytes/line)<br />
CPU: L2 Cache: 128K (32 bytes/line)<br />
CPU: After all inits, caps: 0080213f c08029bf 00000000 00000002<br />
Checking 'hlt' instruction... OK.<br />
CPU0: AMD-K6(tm)-III Processor stepping 04<br />
per-CPU timeslice cutoff: 364.81 usecs.<br />
task migration cache decay timeout: 0 msecs.<br />
SMP motherboard not detected.<br />
Local APIC not detected. Using dummy APIC emulation.<br />
Brought up 1 CPUs<br />
zapping low mappings.<br />
NET: Registered protocol family 16<br />
PCI: Using configuration type 1<br />
mtrr: v2.0 (20020519)<br />
ACPI: Subsystem revision 20040816<br />
ACPI: Interpreter disabled.<br />
Linux Plug and Play Support v0.97 (c) Adam Belay<br />
SCSI subsystem initialized<br />
usbcore: registered new driver hub<br />
PCI: Probing PCI hardware<br />
PCI: Probing PCI hardware (bus 00)<br />
VFS: Disk quotas dquot_6.5.1<br />
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)<br />
Activating ISA DMA hang workarounds.<br />
isapnp: Scanning for PnP cards...<br />
isapnp: No Plug & Play device found<br />
Real Time Clock Driver v1.12<br />
Non-volatile memory driver v1.2<br />
alim7101_wdt: Steve Hill steve@navaho.co.uk.<br />
alim7101_wdt: WDT driver for ALi M7101 initialised. timeout=30 sec (nowayout=0)<br />
Serial: 8250/16550 driver $Revision: 1.90 $ 6 ports, IRQ sharing disabled<br />
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A<br />
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A<br />
Ethernet Channel Bonding Driver: v2.6.3-rh (June 8, 2005)<br />
bonding: Warning: either miimon or arp_interval and arp_ip_target module parameters must be specified, otherwise bonding will not detect link failures! see bonding.txt for details.<br />
e100: Intel(R) PRO/100 Network Driver, 3.5.10-k2-NAPI<br />
e100: Copyright(c) 1999-2005 Intel Corporation<br />
e100: Modified by jeff@404ster.com to ignore bad EEPROM checksums<br />
e100: 0000:00:10.0: e100_eeprom_load: EEPROM corrupted, ignoring and moving on<br />
e100: 0000:00:10.0: e100_eeprom_load: Caclulated Checksum: E4BD<br />
e100: 0000:00:10.0: e100_eeprom_load: EEPROM Checksum: 0<br />
e100: eth0: e100_probe: addr 0xf7ffc000, irq 11, MAC addr 00:10:E0:03:1D:C2<br />
e100: 0000:00:12.0: e100_eeprom_load: EEPROM corrupted, ignoring and moving on<br />
e100: 0000:00:12.0: e100_eeprom_load: Caclulated Checksum: 7BBC<br />
e100: 0000:00:12.0: e100_eeprom_load: EEPROM Checksum: 0<br />
e100: eth1: e100_probe: addr 0xf7fbf000, irq 10, MAC addr 00:10:E0:03:1E:2B<br />
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2<br />
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx<br />
ALI15X3: IDE controller at PCI slot 0000:00:0f.0<br />
ALI15X3: chipset revision 193<br />
ALI15X3: 100% native mode on irq 14<br />
ide0: BM-DMA at 0xfdd0-0xfdd7, BIOS settings: hda:DMA, hdb:DMA<br />
ide1: BM-DMA at 0xfdd8-0xfddf, BIOS settings: hdc:DMA, hdd:DMA<br />
Probing IDE interface ide0...<br />
hda: ST310211A, ATA DISK drive<br />
Using deadline io scheduler<br />
ide0 at 0xfdf8-0xfdff,0xfdf6 on irq 14<br />
Probing IDE interface ide1...<br />
hda: max request size: 128KiB<br />
hda: Host Protected Area detected.<br />
current capacity is 19541088 sectors (10005 MB)<br />
native capacity is 19541089 sectors (10005 MB)<br />
hda: 19541088 sectors (10005 MB) w/1024KiB Cache, CHS=19386/16/63, UDMA(33)<br />
hda: cache flushes not supported<br />
hda: hda1 hda2 hda3 hda4 < hda5 hda6 ><br />
sym0: <875> rev 0x4 at pci 0000:00:0e.0 irq 12<br />
sym0: No NVRAM, ID 7, Fast-20, SE, parity checking<br />
sym0: SCSI BUS has been reset.<br />
scsi0 : sym-2.1.18k<br />
st: Version 20040403, fixed bufsize 32768, s/g segs 256<br />
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)<br />
ohci_hcd 0000:00:02.0: ALi Corporation USB 1.1 Controller<br />
ohci_hcd 0000:00:02.0: irq 6, pci mem d0808000<br />
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 1<br />
hub 1-0:1.0: USB hub found<br />
hub 1-0:1.0: 2 ports detected<br />
USB Universal Host Controller Interface driver v2.2<br />
mice: PS/2 mouse device common for all mice<br />
i2c /dev entries driver<br />
md: linear personality registered as nr 1<br />
md: raid0 personality registered as nr 2<br />
md: raid1 personality registered as nr 3<br />
md: raid5 personality registered as nr 4<br />
raid5: measuring checksumming speed<br />
8regs : 616.000 MB/sec<br />
8regs_prefetch: 464.000 MB/sec<br />
32regs : 388.000 MB/sec<br />
32regs_prefetch: 360.000 MB/sec<br />
pII_mmx : 988.000 MB/sec<br />
p5_mmx : 956.000 MB/sec<br />
raid5: using function: pII_mmx (988.000 MB/sec)<br />
raid6: int32x1 82 MB/s<br />
raid6: int32x2 97 MB/s<br />
raid6: int32x4 101 MB/s<br />
raid6: int32x8 93 MB/s<br />
raid6: mmxx1 214 MB/s<br />
raid6: mmxx2 250 MB/s<br />
raid6: using algorithm mmxx2 (250 MB/s)<br />
md: raid6 personality registered as nr 8<br />
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27<br />
NET: Registered protocol family 2<br />
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)<br />
TCP established hash table entries: 16384 (order: 5, 131072 bytes)<br />
TCP bind hash table entries: 16384 (order: 5, 131072 bytes)<br />
TCP: Hash tables configured (established 16384 bind 16384)<br />
ip_conntrack version 2.1 (2048 buckets, 16384 max) - 344 bytes per conntrack<br />
NET: Registered protocol family 1<br />
NET: Registered protocol family 17<br />
Cobalt system type is Pacifica<br />
Cobalt Networks ACPI driver 1.0 (modified by jeff@404ster.com)<br />
Cobalt Networks LED driver 1.0 (modified by jeff@404ster.com)<br />
Cobalt Networks LCD driver 4.0 (modified by jeff@404ster.com)<br />
Cobalt Networks Serial Number driver 1.6 (modified by jeff@404ster.com)<br />
Cobalt Networks Watchdog Timer driver 1.0 (modified by jeff@404ster.com)<br />
Cobalt Networks Sensor driver 1.0 (modified by jeff@404ster.com)<br />
Cobalt Networks RAM Info driver 1.0 (modified by jeff@404ster.com)<br />
md: Autodetecting RAID arrays.<br />
md: autorun ...<br />
md: ... autorun DONE.<br />
EXT3-fs: mounted filesystem with ordered data mode.<br />
VFS: Mounted root (ext3 filesystem) readonly.<br />
Freeing unused kernel memory: 188k freed<br />
kjournald starting. Commit interval 5 seconds<br />
<br />
INIT: version 2.85 booting<br />
<br />
Welcome to CentOS release 4.8 (Final)<br />
Press 'I' to enter interactive startup.<br />
Setting clock : Fri May 7 22:58:03 CEST 2010 [ OK ]<br />
Starting udev: [ OK ]<br />
Initializing hardware... storage network audio done[ OK ]<br />
Configuring kernel parameters: [ OK ]<br />
Setting hostname sbdevel.titox-net.es: [ OK ]<br />
Checking root filesystem<br />
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/hda1 <br />
/dev/hda1: clean, 85231/250368 files, 449287/500086 blocks (check in 5 mounts)<br />
[ OK ]<br />
Remounting root filesystem in read-write mode: [ OK ]<br />
Checking filesystems<br />
Checking all file systems.<br />
[/sbin/fsck.ext3 (1) -- /var] fsck.ext3 -a /dev/hda2 <br />
/dev/hda2: clean, 1738/250368 files, 179343/500094 blocks<br />
[/sbin/fsck.ext3 (1) -- /tmp] fsck.ext3 -a /dev/hda5 <br />
/dev/hda5: clean, 14/250368 files, 16075/500086 blocks<br />
[/sbin/fsck.ext3 (1) -- /home] fsck.ext3 -a /dev/hda6 <br />
/dev/hda6: clean, 82083/346368 files, 568393/692236 blocks<br />
[ OK ]<br />
Mounting local filesystems: [ OK ]<br />
Enabling local filesystem quotas: [ OK ]<br />
rm: cannot remove `/var/run/dovecot/login': Is a directory<br />
Enabling swap space: [ OK ]<br />
INIT: Entering runlevel: 3<br />
Entering non-interactive startup<br />
Checking for new hardware [ OK ]<br />
Starting dbrecover: [ OK ]<br />
Starting lcdstatus: [ OK ]<br />
Applying iptables firewall rules: [ OK ]<br />
Setting network parameters: [ OK ]<br />
Bringing up loopback interface: [ OK ]<br />
Bringing up interface eth0: [ OK ]<br />
Starting system logger: [ OK ]<br />
Starting kernel logger: [ OK ]<br />
[FAILED]<br />
Starting cced: [ OK ]<br />
Running CCE constructors: <br />
Mounting other filesystems: [ OK ]<br />
Starting lm_sensors: [ OK ]<br />
Starting automount: No Mountpoints Defined[ OK ]<br />
Starting smartd: [ OK ]<br />
Starting sshd:[ OK ]<br />
Starting xinetd: [ OK ]<br />
Starting MySQL: [ OK ]<br />
Starting admin web server: [ OK ]<br />
[ OK ]<br />
Starting httpd: [ OK ]<br />
Starting crond: [ OK ]<br />
Starting poprelayd: [ OK ]<br />
Starting atd: [ OK ]<br />
[ OK ]<br />
Starting lcdsleep.init: [ OK ]<br />
Starting system message bus: [ OK ]<br />
Starting HAL daemon: [ OK ]<br />
<br />
CentOS release 4.8 (Final)<br />
Kernel 2.6.9-89.0.23.EL-cobalt on an i586<br />
<br />
sbdevel.titox-net.es login: root<br />
Password: </span></span></span></blockquote><blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"><br />
Sun Cobalt - Smaller, Bluer, Better, and Free<br />
<br />
Firmware version 2.10.3-ext3<br />
<br />
Current date: May 07 20:58:24 UTC 2010<br />
ROM build info: Thu Mar 11 08:51:36 MST 2004 .<br />
System serial number: Uninitialized<br />
System type: 5000 series system, Version 2 board<br />
Silicon serial number: 5333333730303233<br />
Monitor: 153536 bytes<br />
Memory: 512 MB<br />
Initializing Local APIC ID 0 at 0xfee00000 (Virtual Wire mode)<br />
SMP: relocate AP boot code from 0x01617280 to 0x0000a000 [size=65]<br />
SMP: attempting to start CPU 3<br />
Sending Start-Up IPI (Edge/Assert) to APIC 3 [vector 0x0a]<br />
Sending Start-Up IPI (Edge/Assert) to APIC 3 [vector 0x0a]<br />
Sending Start-Up IPI (Edge/Assert) to APIC 3 [vector 0x0a]<br />
SMP: CPU 3 not found!<br />
CPU: 1 processor(s) detected<br />
CPU 0: GenuineIntel 1262MHz (9.5 x 133MHz host bus) [BSP]<br />
Initializing flash: done<br />
Flash Bank 0: AMD AM29F016B 2048KB (01:ad)<br />
Flash Bank 1: not installed.<br />
Mounting ROM fs: done<br />
Initializing PCI: PIRQ: Relocate table to 0xf8000 (96 bytes, 4 entries, checksum b8)<br />
OSB4 I/O port: 00:78 I/O base 0xfcfc [size=4]<br />
OSB4 I/O port: 00:78 I/O base 0xfcf8 [size=4]<br />
OSB4 I/O port: 00:78 I/O base 0xfcf4 [size=4]<br />
OSB4 I/O port: 00:78 I/O base 0xfce8 [size=8]<br />
OSB4 I/O port: 00:78 I/O base 0xfce0 [size=8]<br />
done<br />
Host Bus: 0 (device 00:00) [33MHz]<br />
Device: 00:00 1166:0009 ServerWorks CNB30LE Host Bridge<br />
Device: 00:01 1166:0009 ServerWorks CNB30LE Host Bridge<br />
Device: 0f:00 1166:0201 ServerWorks CSB5 South Bridge (IRQ 10)<br />
Device: 0f:01 1166:0212 ServerWorks CSB5 IDE Controller (IRQ 14)<br />
Device: 0f:02 1166:0220 ServerWorks OpenHCI USB Controller (IRQ 9)<br />
Device: 0f:03 1166:0230 ServerWorks CSB5 PCI-LPC Bridge<br />
Host Bus: 1 (device 00:01) [33MHz]<br />
Device: 06:00 100b:0020 National DP83815 MacPhyter Ethernet (IRQ 5)<br />
Device: 07:00 100b:0020 National DP83815 MacPhyter Ethernet (IRQ 7)<br />
MPTABLE: Bus #0 is PCI <br />
MPTABLE: Bus #1 is PCI <br />
MPTABLE: Bus #2 is ISA <br />
MPTABLE: I/O Interrupt Entries<br />
MPTABLE: TYPE POLARITY TRIGGER BUS IRQ APIC INT <br />
MPTABLE: -------------------------------------------------------<br />
MPTABLE: INT active-lo level PCI0 15:A 4 9<br />
MPTABLE: INT active-lo level PCI1 6:A 5 0<br />
MPTABLE: INT active-lo level PCI1 7:A 5 1<br />
MPTABLE: EXT active-hi edge ISA 0 4 0<br />
MPTABLE: INT active-hi edge ISA 0 4 0<br />
MPTABLE: INT active-hi edge ISA 1 4 1<br />
MPTABLE: INT active-hi edge ISA 3 4 3<br />
MPTABLE: INT active-hi edge ISA 4 4 4<br />
MPTABLE: INT active-hi edge ISA 8 4 8<br />
MPTABLE: INT active-lo level ISA 10 4 10<br />
MPTABLE: INT active-hi level ISA 14 4 14<br />
MPTABLE: INT active-hi level ISA 15 4 15<br />
MPTABLE: Local Interrupt Entries<br />
MPTABLE: TYPE POLARITY TRIGGER BUS IRQ APIC INT <br />
MPTABLE: -------------------------------------------------------<br />
MPTABLE: EXT active-hi edge ISA 0 255 0<br />
MPTABLE: NMI active-hi edge PCI0 0:A 255 1<br />
SMP: floating table base 0x000f8200 (16 bytes, checksum ff)<br />
SMP: config mptable base 0x000f8210 (216 bytes, checksum d5)<br />
SMP: extended entry base 0x000f82e8 (144 bytes, checksum f3)<br />
Initializing ethernet: 2 controller(s) found<br />
National Semiconductor DP83815 Found at port 0xfe00, MAC: 00:10:e0:06:34:d1<br />
National Semiconductor DP83815 Found at port 0xfd00, MAC: 00:10:e0:06:34:d2<br />
Initializing IDE: found ServerWorks CSB5 at 00:79<br />
spinning up second channel: >>>>>done <br />
scanning ide0: master <br />
scanning ide1: <br />
IDE: stabilizing spinup: 100%<br />
Checking Memory: done<br />
Press spacebar to enter ROM mode<br />
Booting default method - From disk<br />
First stage kernel (Linux): Decompressing -- done<br />
ERROR: cannot relocate with filesize 0<br />
command line: 'console=ttyS0,115200 debug mem=22M cobalt_boot_image=/boot/vmlinux.bz2,/vmlinux.bz2,/boot/vmlinux.gz,/vmlinux.gz cobalt_boot_return=0x161f394 cobalt_boot_data=0x1634cc4 cobalt_boot_load=0x1700000 cobalt_ramcode_map=0x1600000,0xa00000 ip=off '<br />
booting kernel...<br />
Linux version 2.4.25-ROM (duncan@atherton) (gcc version 3.3.3 (Debian 20040306)) #1 Thu Mar 11 08:47:53 MST 2004<br />
BIOS-provided physical RAM map:<br />
BIOS-e801: 0000000000000000 - 000000000009f000 (usable)<br />
BIOS-e801: 0000000000100000 - 0000000020000000 (usable)<br />
user-defined physical RAM map:<br />
user: 0000000000000000 - 000000000009f000 (usable)<br />
user: 0000000000100000 - 0000000001600000 (usable)<br />
22MB LOWMEM available.<br />
On node 0 totalpages: 5632<br />
zone(0): 4096 pages.<br />
zone(1): 1536 pages.<br />
zone(2): 0 pages.<br />
DMI not present.<br />
Kernel command line: console=ttyS0,115200 debug mem=22M cobalt_boot_image=/boot/vmlinux.bz2,/vmlinux.bz2,/boot/vmlinux.gz,/vmlinux.gz cobalt_boot_return=0x161f394 cobalt_boot_data=0x1634cc4 cobalt_boot_load=0x1700000 cobalt_ramcode_map=0x1600000,0xa00000 ip=off <br />
Initializing CPU#0<br />
Detected 1263.113 MHz processor.<br />
Calibrating delay loop... 2523.13 BogoMIPS<br />
Memory: 20208k/22528k available (1141k kernel code, 1932k reserved, 244k data, 100k init, 0k highmem)<br />
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)<br />
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)<br />
Mount cache hash table entries: 512 (order: 0, 4096 bytes)<br />
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)<br />
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)<br />
CPU: L1 I cache: 16K, L1 D cache: 16K<br />
CPU: L2 cache: 512K<br />
CPU: After generic, caps: 0383fbff 00000000 00000000 00000000<br />
CPU: Common caps: 0383fbff 00000000 00000000 00000000<br />
CPU: Intel(R) Pentium(R) III CPU - S 1266MHz stepping 04<br />
Enabling fast FPU save and restore... done.<br />
Enabling unmasked SIMD FPU exception support... done.<br />
Checking 'hlt' instruction... OK.<br />
POSIX conformance testing by UNIFIX<br />
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)<br />
mtrr: detected mtrr type: Intel<br />
PCI: Using configuration type 1<br />
PCI: Probing PCI hardware<br />
PCI: Probing PCI hardware (bus 00)<br />
PCI: Ignoring BAR0-3 of IDE controller 00:0f.1<br />
PCI: Discovered primary peer bus 01 [IRQ]<br />
PCI: Using IRQ router ServerWorks [1166/0201] at 00:0f.0<br />
PCI: Found IRQ 9 for device 00:0f.3<br />
PCI: Sharing IRQ 9 with 00:0f.2<br />
Linux NET4.0 for Linux 2.4<br />
Based upon Swansea University Computer Society NET3.039<br />
Initializing RT netlink socket<br />
Starting kswapd<br />
VFS: Disk quotas vdquot_6.5.1<br />
Journalled Block Device driver loaded<br />
pty: 256 Unix98 ptys configured<br />
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled<br />
ttyS00 at 0x03f8 (irq = 4) is a 16550A<br />
ttyS01 at 0x02f8 (irq = 3) is a 16550A<br />
Real Time Clock Driver v1.10f<br />
Non-volatile memory driver v1.2<br />
loop: loaded (max 8 devices)<br />
natsemi dp8381x driver, version 1.07+LK1.0.17, Sep 27, 2002<br />
originally by Donald Becker becker@scyld.com<br />
http://www.scyld.com/network/natsemi.html<br />
2.4.x kernel port by Jeff Garzik, Tjeerd Mulder<br />
PCI: Found IRQ 5 for device 01:06.0<br />
eth0: NatSemi DP8381[56] at 0xc2000000, 00:10:e0:06:34:d1, IRQ 5.<br />
PCI: Found IRQ 7 for device 01:07.0<br />
eth1: NatSemi DP8381[56] at 0xc2002000, 00:10:e0:06:34:d2, IRQ 7.<br />
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4<br />
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx<br />
SvrWks CSB5: IDE controller at PCI slot 00:0f.1<br />
SvrWks CSB5: chipset revision 146<br />
SvrWks CSB5: not 100% native mode: will probe irqs later<br />
ide0: BM-DMA at 0xfcb0-0xfcb7, BIOS settings: hda:DMA, hdb:DMA<br />
ide1: BM-DMA at 0xfcb8-0xfcbf, BIOS settings: hdc:DMA, hdd:DMA<br />
hda: ST380011A, ATA DISK drive<br />
blk: queue c0298fa0, I/O limit 4095Mb (mask 0xffffffff)<br />
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14<br />
hda: attached ide-disk driver.<br />
hda: host protected area => 1<br />
hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=9729/255/63, UDMA(100)<br />
Partition check:<br />
hda: hda1 hda2 hda3 hda4 < hda5 hda6 ><br />
md: linear personality registered as nr 1<br />
md: raid0 personality registered as nr 2<br />
md: raid1 personality registered as nr 3<br />
md: raid5 personality registered as nr 4<br />
raid5: measuring checksumming speed<br />
8regs : 2330.000 MB/sec<br />
32regs : 1150.800 MB/sec<br />
pIII_sse : 2940.800 MB/sec<br />
pII_mmx : 2814.800 MB/sec<br />
p5_mmx : 2939.600 MB/sec<br />
raid5: using function: pIII_sse (2940.800 MB/sec)<br />
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27<br />
md: Autodetecting RAID arrays.<br />
md: autorun ...<br />
md: ... autorun DONE.<br />
NET4: Linux TCP/IP 1.0 for NET4.0<br />
IP Protocols: ICMP, UDP, TCP<br />
IP: routing cache hash table of 512 buckets, 4Kbytes<br />
TCP: Hash tables configured (established 1024 bind 2048)<br />
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.<br />
kjournald starting. Commit interval 5 seconds<br />
EXT3-fs: mounted filesystem with ordered data mode.<br />
VFS: Mounted root (ext3 filesystem) readonly.<br />
Freeing unused kernel memory: 100k freed<br />
BOOTLOADER: Mapping in physical locations<br />
BOOTLOADER: load_addr=0xc2004000 ret_data=0xc2205cc4<br />
BOOTLOADER: opening "/boot/vmlinux.bz2"<br />
BOOTLOADER: reading "/boot/vmlinux.bz2"<br />
BOOTLOADER: read 1494007bytes<br />
BOOTLOADER: unmounting /<br />
BOOTLOADER: calling reboot notifiers<br />
md: stopping all md devices.<br />
flushing ide devices: hda <br />
BOOTLOADER: mapping 22M-32M for ride home<br />
BOOTLOADER: disabling interrupts<br />
BOOTLOADER: flushing cache<br />
BOOTLOADER: Leap of faith!<br />
Back in ramcode: done<br />
Second stage kernel: Decompressing -- done<br />
ERROR: cannot relocate with filesize 0<br />
command line: 'console=ttyS0,115200 debug ip=off '<br />
booting kernel...<br />
Linux version 2.6.9-89.0.23.EL-cobalt (root@sbdevel.titox-net.es) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-11)) #2 SMP Wed May 5 23:06:27 CEST 2010<br />
BIOS-provided physical RAM map:<br />
BIOS-e801: 0000000000000000 - 000000000009f000 (usable)<br />
BIOS-e801: 0000000000100000 - 0000000020000000 (usable)<br />
0MB HIGHMEM available.<br />
512MB LOWMEM available.<br />
found SMP MP-table at 000f8200<br />
Using x86 segment limits to approximate NX protection<br />
On node 0 totalpages: 131072<br />
DMA zone: 4096 pages, LIFO batch:1<br />
Normal zone: 126976 pages, LIFO batch:16<br />
HighMem zone: 0 pages, LIFO batch:1<br />
DMI not present.<br />
ACPI: Unable to locate RSDP<br />
Intel MultiProcessor Specification v1.4<br />
Virtual Wire compatibility mode.<br />
OEM ID: COBALT Product ID: 5000 Alpine APIC at: 0xFEE00000<br />
Processor #0 6:11 APIC version 17<br />
I/O APIC #4 Version 17 at 0xFEC00000.<br />
I/O APIC #5 Version 17 at 0xFEC01000.<br />
Enabling APIC mode: Flat. Using 2 I/O APICs<br />
Processors: 1<br />
Allocating PCI resources starting at 30000000 (gap: 20000000:e0000000)<br />
Built 1 zonelists<br />
Kernel command line: console=ttyS0,115200 debug ip=off <br />
mapped APIC to ffffc000 (fee00000)<br />
Initializing CPU#0<br />
PID hash table entries: 4096 (order: 12, 65536 bytes)<br />
Detected 1263.669 MHz processor.<br />
Using tsc for high-res timesource<br />
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)<br />
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)<br />
Memory: 515440k/524288k available (2110k kernel code, 8332k reserved, 746k data, 188k init, 0k highmem)<br />
Calibrating delay using timer specific routine.. 2528.81 BogoMIPS (lpj=1264405)<br />
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)<br />
CPU: After generic identify, caps: 0383fbff 00000000 00000000 00000000<br />
CPU: After vendor identify, caps: 0383fbff 00000000 00000000 00000000<br />
CPU: L1 I cache: 16K, L1 D cache: 16K<br />
CPU: L2 cache: 512K<br />
CPU: After all inits, caps: 0383f3ff 00000000 00000000 00000040<br />
Intel machine check architecture supported.<br />
Intel machine check reporting enabled on CPU#0.<br />
Enabling fast FPU save and restore... done.<br />
Enabling unmasked SIMD FPU exception support... done.<br />
Checking 'hlt' instruction... OK.<br />
CPU0: Intel(R) Pentium(R) III CPU - S 1266MHz stepping 04<br />
per-CPU timeslice cutoff: 1462.62 usecs.<br />
task migration cache decay ti1meout: 1 msecs.<br />
Total of 1 processors activated (2528.81 BogoMIPS).<br />
ENABLING IO-APIC IRQs<br />
..TIMER: vector=0x31 pin1=0 pin2=0<br />
Brought up 1 CPUs<br />
zapping low mappings.<br />
NET: Registered protocol family 16<br />
PCI: Using configuration type 1<br />
mtrr: v2.0 (20020519)<br />
ACPI: Subsystem revision 20040816<br />
ACPI: Interpreter disabled.<br />
Linux Plug and Play Support v0.97 (c) Adam Belay<br />
SCSI subsystem initialized<br />
usbcore: registered new driver hub<br />
PCI: Probing PCI hardware<br />
PCI: Probing PCI hardware (bus 00)<br />
PCI: Ignoring BAR0-3 of IDE controller 0000:00:0f.1<br />
PCI: Discovered primary peer bus 01 [IRQ]<br />
PCI: Using IRQ router ServerWorks [1166/0201] at 0000:00:0f.0<br />
PCI->APIC IRQ transform: (B0,I15,P0) -> 25<br />
PCI->APIC IRQ transform: (B0,I15,P0) -> 25<br />
PCI->APIC IRQ transform: (B1,I6,P0) -> 16<br />
PCI->APIC IRQ transform: (B1,I7,P0) -> 17<br />
VFS: Disk quotas dquot_6.5.1<br />
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)<br />
isapnp: Scanning for PnP cards...<br />
isapnp: No Plug & Play device found<br />
Real Time Clock Driver v1.12<br />
Non-volatile memory driver v1.2<br />
alim7101_wdt: Steve Hill steve@navaho.co.uk.<br />
alim7101_wdt: ALi M7101 PMU not present - WDT not set<br />
Serial: 8250/16550 driver $Revision: 1.90 $ 6 ports, IRQ sharing disabled<br />
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A<br />
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A<br />
Ethernet Channel Bonding Driver: v2.6.3-rh (June 8, 2005)<br />
bonding: Warning: either miimon or arp_interval and arp_ip_target module parameters must be specified, otherwise bonding will not detect link failures! see bonding.txt for details.<br />
e100: Intel(R) PRO/100 Network Driver, 3.5.10-k2-NAPI<br />
e100: Copyright(c) 1999-2005 Intel Corporation<br />
e100: Modified by jeff@404ster.com to ignore bad EEPROM checksums<br />
natsemi dp8381x driver, version 1.07+LK1.0.17, Sep 27, 2002<br />
originally by Donald Becker becker@scyld.com<br />
http://www.scyld.com/network/natsemi.html<br />
2.4.x kernel port by Jeff Garzik, Tjeerd Mulder<br />
natsemi eth0: NatSemi DP8381[56] at 0xfebff000 (0000:01:06.0), 00:10:e0:06:34:d1, IRQ 16, port TP.<br />
natsemi eth1: NatSemi DP8381[56] at 0xfebfe000 (0000:01:07.0), 00:10:e0:06:34:d2, IRQ 17, port TP.<br />
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2<br />
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx<br />
SvrWks CSB5: IDE controller at PCI slot 0000:00:0f.1<br />
SvrWks CSB5: chipset revision 146<br />
SvrWks CSB5: not 100% native mode: will probe irqs later<br />
ide0: BM-DMA at 0xfcb0-0xfcb7, BIOS settings: hda:DMA, hdb:DMA<br />
ide1: BM-DMA at 0xfcb8-0xfcbf, BIOS settings: hdc:DMA, hdd:DMA<br />
Probing IDE interface ide0...<br />
hda: ST380011A, ATA DISK drive<br />
Using deadline io scheduler<br />
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14<br />
Probing IDE interface ide1...<br />
hda: max request size: 1024KiB<br />
hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=16383/255/63, UDMA(100)<br />
hda: cache flushes supported<br />
hda: hda1 hda2 hda3 hda4 < hda5 hda6 ><br />
st: Version 20040403, fixed bufsize 32768, s/g segs 256<br />
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)<br />
ohci_hcd 0000:00:0f.2: ServerWorks OSB4/CSB5 OHCI USB Controller<br />
ohci_hcd 0000:00:0f.2: irq 25, pci mem e0804000<br />
ohci_hcd 0000:00:0f.2: new USB bus registered, assigned bus number 1<br />
hub 1-0:1.0: USB hub found<br />
hub 1-0:1.0: 2 ports detected<br />
USB Universal Host Controller Interface driver v2.2<br />
mice: PS/2 mouse device common for all mice<br />
i2c /dev entries driver<br />
piix4_smbus 0000:00:0f.0: Found 0000:00:0f.0 device<br />
md: linear personality registered as nr 1<br />
md: raid0 personality registered as nr 2<br />
md: raid1 personality registered as nr 3<br />
md: raid5 personality registered as nr 4<br />
raid5: automatically using best checksumming function: pIII_sse<br />
pIII_sse : 2888.000 MB/sec<br />
raid5: using function: pIII_sse (2888.000 MB/sec)<br />
raid6: int32x1 390 MB/s<br />
raid6: int32x2 468 MB/s<br />
raid6: int32x4 394 MB/s<br />
raid6: int32x8 332 MB/s<br />
raid6: mmxx1 1148 MB/s<br />
raid6: mmxx2 1437 MB/s<br />
raid6: sse1x1 1078 MB/s<br />
raid6: sse1x2 1472 MB/s<br />
raid6: using algorithm sse1x2 (1472 MB/s)<br />
md: raid6 personality registered as nr 8<br />
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27<br />
NET: Registered protocol family 2<br />
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)<br />
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)<br />
TCP bind hash table entries: 131072 (order: 8, 1048576 bytes)<br />
TCP: Hash tables configured (established 131072 bind 131072)<br />
ip_conntrack version 2.1 (4096 buckets, 32768 max) - 344 bytes per conntrack<br />
NET: Registered protocol family 1<br />
NET: Registered protocol family 17<br />
Cobalt system type is Alpine<br />
Cobalt Networks ACPI driver 1.0 (modified by jeff@404ster.com)<br />
Cobalt Networks LED driver 1.0 (modified by jeff@404ster.com)<br />
Cobalt Networks LCD driver 4.0 (modified by jeff@404ster.com)<br />
Cobalt Networks Serial Number driver 1.6 (modified by jeff@404ster.com)<br />
Cobalt Networks Watchdog Timer driver 1.0 (modified by jeff@404ster.com)<br />
Cobalt Networks Sensor driver 1.0 (modified by jeff@404ster.com)<br />
Cobalt Networks Fan driver 1.0 (modified by jeff@404ster.com)<br />
Cobalt Networks RAM Info driver 1.0 (modified by jeff@404ster.com)<br />
md: Autodetecting RAID arrays.<br />
md: autorun ...<br />
md: ... autorun DONE.<br />
EXT3-fs: mounted filesystem with ordered data mode.<br />
VFS: Mounted root (ext3 filesystem) readonly.<br />
Freeing unused kernel memory: 188k freed<br />
kjournald starting. Commit interval 5 seconds<br />
<br />
INIT: version 2.85 booting<br />
Welcome to CentOS release 4.8 (Final) Press 'I' to enter interactive startup.Setting clock : Fri May 7 22:59:01 CEST 2010 [ OK ]<br />
Starting udev: [ OK ]<br />
Initializing hardware... storage network audio done[ OK ]<br />
Configuring kernel parameters: [ OK ]<br />
Setting hostname raq550bq.titox-net.es: [ OK ]<br />
Checking root filesystem[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/hda1 /dev/hda1: clean, 33451/251392 files, 219980/502023 blocks (check in 4 mounts)[ OK ]<br />
Remounting root filesystem in read-write mode: [ OK ]<br />
Checking filesystemsChecking all file systems.[/sbin/fsck.ext3 (1) -- /var] fsck.ext3 -a /dev/hda2 /dev/hda2: clean, 1542/251392 files, 83380/502031 blocks[/sbin/fsck.ext3 (1) -- /tmp] fsck.ext3 -a /dev/hda5 /dev/hda5: clean, 13/251392 files, 16105/502023 blocks[/sbin/fsck.ext3 (1) -- /home] fsck.ext3 -a /dev/hda6 /dev/hda6: clean, 642/8896512 files, 304698/17779930 blocks[ OK ]<br />
Mounting local filesystems: [ OK ]<br />
Enabling local filesystem quotas: [ OK ]<br />
rm: cannot remove `/var/run/dovecot/login': Is a directoryEnabling swap space: [ OK ]<br />
INIT: Entering runlevel: 3<br />
Entering non-interactive startupApplying Intel Microcode update: FATAL: Module microcode not found.[ OK ]<br />
ERROR: Module microcode does not exist in /proc/modulesChecking for new hardware [ OK ]<br />
Starting dbrecover: [ OK ]<br />
Starting lcdstatus: [ OK ]<br />
Applying iptables firewall rules: [ OK ]<br />
Setting network parameters: [ OK ]<br />
Bringing up loopback interface: [ OK ]<br />
Bringing up interface eth0: [ OK ]<br />
Starting system logger: [ OK ]<br />
Starting kernel logger: [ OK ]<br />
[FAILED]<br />
Starting cced: [ OK ]<br />
Running CCE constructors: Mounting other filesystems: [ OK ]<br />
Starting lm_sensors: [ OK ]<br />
Starting automount: No Mountpoints Defined[ OK ]<br />
Starting smartd: [ OK ]<br />
Starting sshd:[ OK ]<br />
Starting xinetd: [ OK ]<br />
Starting MySQL: [ OK ]<br />
Starting Dovecot Imap: [ OK ]<br />
Starting admin web server: [ OK ]<br />
[ OK ]<br />
Starting httpd: [ OK ]<br />
Starting crond: [ OK ]<br />
Starting poprelayd: [ OK ]<br />
Starting atd: [ OK ]<br />
[ OK ]<br />
Starting lcdsleep.init: [ OK ]<br />
Starting system message bus: [ OK ]<br />
Starting HAL daemon: [ OK ]<br />
CentOS release 4.8 (Final)Kernel 2.6.9-89.0.23.EL-cobalt on an i686raq550bq.titox-net.es<br />
login: root<br />
Password:</span></span></span></blockquote>Titoxhttp://www.blogger.com/profile/16366305289581990367noreply@blogger.com3tag:blogger.com,1999:blog-8002377248272309517.post-48720842171659791852010-05-04T23:58:00.001+02:002010-05-05T00:11:09.178+02:00Troubleshooting kernel package installationIf after applying my kernel 2.6.9-89.0.20 package the lcd shows '<i><b>IP Address not set</b></i>' , there is a failure in the upgrade installation. This is because <i>yum</i> had installed newer kernels and the rpm software don't want to install the rpm included in this package.<br />
<blockquote>1.- To repair it you need to boot the server with a terminal connected to the serial console port. When the message '<i>Press spacebar to enter ROM mode</i>' appears, press the space bar.<br />
2.- Once in the ROM menu type '<i>bfd /boot/vmlinux_old_002.bz2</i>'. This command forces to boot from the old kernel.<br />
3.- Login to the server as root.<br />
4.- <i># cd /boot</i><br />
5.- <i># rpm -i --force http://www.titox-net.es/downloads/cobalt/BlueQuartz/kernel/linux-2.6.9-89.0.20-cobalt/kernel-2.6.9-89.0.20_cobalt.i386.rpm</i><br />
6.- <i># ln -s vmlinux-2.6.9-89.0.20.EL-cobalt.bz2 vmlinux.bz2</i><br />
7.- <i># reboot</i></blockquote><b>There is a mistake in the kernel config and RAID devices are not working... OK I will compile a new version soon as possible, I need for my new server!!!!!!! Sorry guys.</b>Titoxhttp://www.blogger.com/profile/16366305289581990367noreply@blogger.com0tag:blogger.com,1999:blog-8002377248272309517.post-16689463197761353022010-05-04T14:32:00.001+02:002010-10-23T22:58:03.639+02:00A big-little scare: Burning RaQ 4 ROM failure!!!!Yesterday I started to update an spare RaQ 4i to use it as main server at home. The old RaQ 4 have worked the last 3 years without any stop and I feel that I need to change the server for caution.<br />
<br />
This second RaQ 4i has two extra ethernets ports and two 120GB Seagate hard disks but now it's loaded with the old Cobalt OS (fully upgraded). I tried to compile MySQL 5.1.46 on it but I has some problems and decided to upgrade the kernel to 2.4.36 (Zeffie's kernel). But this new kernel needs ROM version 2.10.3-ext3.<br />
<br />
First I started doing a backup of the old ROM:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';">[root /root]# ./flashtool -v -r > cobalt-2.3.34-1M.rom<br />
./flashtool: searching for PCI 10b9:7101 : found it at /proc/bus/pci/00/03.0<br />
./flashtool: systype = COBT_3K<br />
./flashtool: bank 0: ST Microelectronics M29F080A 1MB<br />
./flashtool: reading page 0<br />
./flashtool: reading page 1<br />
./flashtool: reading page 2<br />
./flashtool: reading page 3<br />
./flashtool: reading page 4<br />
./flashtool: reading page 5<br />
./flashtool: reading page 6<br />
./flashtool: reading page 7<br />
./flashtool: reading page 8<br />
./flashtool: reading page 9<br />
./flashtool: reading page 10<br />
./flashtool: reading page 11<br />
./flashtool: reading page 12<br />
./flashtool: reading page 13<br />
./flashtool: reading page 14<br />
./flashtool: reading page 15<br />
./flashtool: flushing buffers</span></span></span></blockquote>Like I did before in other servers I started using Tim Hocking's flashtool and OUCH!!! FAILED!!!!:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';">[root /root]# ./flashtool -v -w cobalt-2.10.3-ext3-1M.rom<br />
./flashtool: searching for PCI 10b9:7101 : found it at /proc/bus/pci/00/03.0<br />
./flashtool: systype = COBT_3K<br />
./flashtool: bank 0: ST Microelectronics M29F080A 1MB<br />
./flashtool: writing page 0<br />
./flashtool: buffer page 0 does not exist - creating it<br />
./flashtool: writing page 1<br />
./flashtool: buffer page 1 does not exist - creating it<br />
./flashtool: writing page 2<br />
./flashtool: buffer page 2 does not exist - creating it<br />
./flashtool: writing page 3<br />
./flashtool: buffer page 3 does not exist - creating it<br />
./flashtool: writing page 4<br />
./flashtool: buffer page 4 does not exist - creating it<br />
./flashtool: writing page 5<br />
./flashtool: buffer page 5 does not exist - creating it<br />
./flashtool: writing page 6<br />
./flashtool: buffer page 6 does not exist - creating it<br />
./flashtool: writing page 7<br />
./flashtool: buffer page 7 does not exist - creating it<br />
./flashtool: writing page 8<br />
./flashtool: buffer page 8 does not exist - creating it<br />
./flashtool: writing page 9<br />
./flashtool: buffer page 9 does not exist - creating it<br />
./flashtool: writing page 10<br />
./flashtool: buffer page 10 does not exist - creating it<br />
./flashtool: writing page 11<br />
./flashtool: buffer page 11 does not exist - creating it<br />
./flashtool: writing page 12<br />
./flashtool: buffer page 12 does not exist - creating it<br />
./flashtool: writing page 13<br />
./flashtool: buffer page 13 does not exist - creating it<br />
./flashtool: writing page 14<br />
./flashtool: buffer page 14 does not exist - creating it<br />
./flashtool: writing page 15<br />
./flashtool: buffer page 15 does not exist - creating it<br />
./flashtool: flushing buffers<br />
./flashtool: flushing block 0 to ROM..../flashtool: flashrom_flush_buffers(): write failed for block 0! Bad flash chip?<br />
done<br />
./flashtool: flushing block 1 to ROM..../flashtool: flashrom_flush_buffers(): write failed for block 1! Bad flash chip?<br />
done<br />
./flashtool: flushing block 2 to ROM..../flashtool: flashrom_flush_buffers(): write failed for block 2! Bad flash chip?<br />
done<br />
./flashtool: flushing block 3 to ROM..../flashtool: flashrom_flush_buffers(): write failed for block 3! Bad flash chip?<br />
done<br />
./flashtool: flushing block 4 to ROM..../flashtool: flashrom_flush_buffers(): write failed for block 4! Bad flash chip?<br />
done<br />
./flashtool: flushing block 5 to ROM..../flashtool: flashrom_flush_buffers(): write failed for block 5! Bad flash chip?<br />
done<br />
./flashtool: flushing block 6 to ROM..../flashtool: flashrom_flush_buffers(): write failed for block 6! Bad flash chip?<br />
done<br />
./flashtool: flushing block 7 to ROM..../flashtool: flashrom_flush_buffers(): write failed for block 7! Bad flash chip?<br />
done<br />
./flashtool: flushing block 8 to ROM..../flashtool: flashrom_flush_buffers(): write failed for block 8! Bad flash chip?<br />
done<br />
./flashtool: flushing block 9 to ROM..../flashtool: flashrom_flush_buffers(): write failed for block 9! Bad flash chip?<br />
done<br />
./flashtool: flushing block 10 to ROM..../flashtool: flashrom_flush_buffers(): write failed for block 10! Bad flash chip?<br />
done<br />
./flashtool: flushing block 11 to ROM..../flashtool: flashrom_flush_buffers(): write failed for block 11! Bad flash chip?<br />
done<br />
./flashtool: flushing block 12 to ROM..../flashtool: flashrom_flush_buffers(): write failed for block 12! Bad flash chip?<br />
done<br />
./flashtool: flushing block 13 to ROM... verifying... done<br />
./flashtool: flushing block 14 to ROM... verifying... done<br />
./flashtool: flushing block 15 to ROM... verifying... done<br />
./flashtool: flashrom_cleanup(): device error flushing buffers</span></span></span></blockquote>As you can see this server has the standard old ST ROM chip. I upgraded this brand roms with this tool but yesterday it won't run. Fortunately I have a copy of Duncan's flashtool (the small one - 400 KB) and it worked fine. I uploaded via FTP and burned the rom:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';">[root /root]# ./flashtool -v -w cobalt-2.10.3-ext3-1M.rom<br />
./flashtool: searching for PCI 10b9:7101 : found it at /proc/bus/pci/00/03.0<br />
./flashtool: systype = COBT_3K<br />
./flashtool: bank 0: ST Microelectronics M29F080A 1MB<br />
./flashtool: Using pthread POSIX real time scheduling.<br />
./flashtool: writing page 0<br />
./flashtool: buffer page 0 does not exist - creating it<br />
./flashtool: writing page 1<br />
./flashtool: buffer page 1 does not exist - creating it<br />
./flashtool: writing page 2<br />
./flashtool: buffer page 2 does not exist - creating it<br />
./flashtool: writing page 3<br />
(...)</span></span></span></blockquote>Very important in this case was to not power off the server: if after a failed rom burn the server is powered off, the server will be a brick, totally dead.<br />
<br />
For this reason now I have both flashtool programs mirrored in my server here: <a href="http://www.titox-net.es/downloads/cobalt/rom/">http://www.titox-net.es/downloads/cobalt/rom/</a>Titoxhttp://www.blogger.com/profile/16366305289581990367noreply@blogger.com0tag:blogger.com,1999:blog-8002377248272309517.post-7874726853926634332010-05-02T22:27:00.003+02:002010-07-20T20:17:44.955+02:00Sun Fire V120 as NAS part 7: Gigabit networking<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/_-RKOyn2PyCA/S93fK6X-HYI/AAAAAAAAA68/aU_23ug7T_k/s1600/DSC_0577.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="http://1.bp.blogspot.com/_-RKOyn2PyCA/S93fK6X-HYI/AAAAAAAAA68/aU_23ug7T_k/s400/DSC_0577.JPG" width="400" /></a></div><br />
Well, one week ago I received a new <a href="http://www.sun.com/products/networking/ethernet/sunquadgigethernet/index.xml">Sun Quad GigaSwift PCI</a> card for this server. It's a full lenght PCI card with 64 bits PCI bus, but works in 32 bits PCI bus also.<br />
<br />
As you can see in the pictures, the card installation is very easy. Only take out the blank bracket and the small grey plastic, then mount the card in th server slot. Finally return to set the grey plastic which locks the rear part of the GigaSiwft.<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/_-RKOyn2PyCA/S93fOg6fEpI/AAAAAAAAA7E/fw7QKmIRE8U/s1600/DSC_0555.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/_-RKOyn2PyCA/S93fOg6fEpI/AAAAAAAAA7E/fw7QKmIRE8U/s320/DSC_0555.JPG" /></a><a href="http://4.bp.blogspot.com/_-RKOyn2PyCA/S93fSQOvgMI/AAAAAAAAA7M/nbQkWmg0h4Y/s1600/DSC_0564.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/_-RKOyn2PyCA/S93fSQOvgMI/AAAAAAAAA7M/nbQkWmg0h4Y/s320/DSC_0564.JPG" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJ9ue8TZLYQv65xRx7Jk31IGHJwk-aI5lSurpOImPtWWfIsR6IZc5Z4gOCDVBz3by67_LpMsOdah-M0-6gIf-Dm3Bji4Pu3JKcWdOvNBEdhRWWyQ-J_fGPbnZoFZFoSGLBW3_74nQrTfZ2/s1600/DSC_0565.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJ9ue8TZLYQv65xRx7Jk31IGHJwk-aI5lSurpOImPtWWfIsR6IZc5Z4gOCDVBz3by67_LpMsOdah-M0-6gIf-Dm3Bji4Pu3JKcWdOvNBEdhRWWyQ-J_fGPbnZoFZFoSGLBW3_74nQrTfZ2/s320/DSC_0565.JPG" /></a><a href="http://1.bp.blogspot.com/_-RKOyn2PyCA/S93fZGfBTiI/AAAAAAAAA7c/hink2qrBE4g/s1600/DSC_0569.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/_-RKOyn2PyCA/S93fZGfBTiI/AAAAAAAAA7c/hink2qrBE4g/s320/DSC_0569.JPG" /></a></div><br />
The network cards can be configured via the ifconfig utility in Solaris but to make this configurations stored we have to do some more file editting:<br />
<br />
1.- The first step is to check if the server detects the GigaSwift card: <br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># grep ce /etc/path_to_inst<br />
"/pci@1f,0/pci@1/pci@5/pci@0/network@0" 0 "ce"<br />
"/pci@1f,0/pci@1/pci@5/pci@0/network@1" 1 "ce"<br />
"/pci@1f,0/pci@1/pci@5/pci@4/network@2" 2 "ce"<br />
"/pci@1f,0/pci@1/pci@5/pci@4/network@3" 3 "ce"</span></span></span></blockquote>2.- Second step: create the <i>/etc/hostname.ce0</i> file containing the name of the server. This name can't be the same in two different ethernet ports. In the 100MB port I'm using v120 as hostname, now I added a 'g' to the name:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># cat /etc/hostname.ce0<br />
v120g</span></span></span></blockquote><i>ce0</i> is the instance number for the port I'm going to use. I only need one port of the four installed with this card. If we want to use more port, more hostname.ce'instance_number' are needed.<br />
<br />
3.- Now we have to edit the <i>/etc/inet/hosts</i> file but the vi editor says it's write protected (and I'm doing it beeing root). Like other changes I did before, I uploaded this file to my laptop via FTP, modified with a text editor and then downloaded to the server.<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># cd /etc/inet<br />
# cp /export/home/admin/hosts .<br />
<br />
# cat /etc/inet/hosts<br />
#<br />
# Internet host table<br />
#<br />
::1 localhost<br />
127.0.0.1 localhost<br />
192.168.2.120 v120 loghost<br />
192.168.5.120 v120g<br />
~<br />
</span></span></span></blockquote>4.- With the two configuration files ready, the card can be turned on:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># ifconfig ce0 plumb 192.168.5.120 up</span></span></span></blockquote><br />
Unfortunately the trasfer speed is the same as the speed obtained with the 100MB onboard port. Yes, I know there is a lot of parameters to tune, but I will look on the next days. Another problem I found is that: with both Ethernet ports configured (onboard an GigaSwift), when I unplug the onboard port cable, I have a lot of problems to connect with the Gigaswift (well, I can't connect). I think this is because Solaris uses the main port to check against DNS server. Then, I disconfigured the onboard ethernet port:<br />
<br />
1.- Unplumb the card:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># ifconfig -a<br />
lo0: flags=2001000849<up,loopback,running,multicast,ipv4,virtual> mtu 8232 index 1<br />
inet 127.0.0.1 netmask ff000000<br />
ce0: flags=1000843<up,broadcast,running,multicast,ipv4> mtu 1500 index 2<br />
inet 192.168.5.120 netmask ffffff00 broadcast 192.168.5.255<br />
ether 0:3:ba:5c:2b:7d<br />
eri0: flags=1000843<up,broadcast,running,multicast,ipv4> mtu 1500 index 3<br />
inet 192.168.2.120 netmask ffffff00 broadcast 192.168.2.255<br />
ether 0:3:ba:5c:2b:7d</up,broadcast,running,multicast,ipv4></up,broadcast,running,multicast,ipv4></up,loopback,running,multicast,ipv4,virtual><br />
<br />
# ifconfig eri0 unplumb<br />
<br />
# ifconfig -a<br />
lo0: flags=2001000849<up,loopback,running,multicast,ipv4,virtual> mtu 8232 index 1<br />
inet 127.0.0.1 netmask ff000000<br />
ce0: flags=1000843<up,broadcast,running,multicast,ipv4> mtu 1500 index 2<br />
inet 192.168.5.120 netmask ffffff00 broadcast 192.168.5.255<br />
ether 0:3:ba:5c:2b:7d</up,broadcast,running,multicast,ipv4></up,loopback,running,multicast,ipv4,virtual></span></span></span></blockquote>2.- Delete the <i>/etc/hosts</i> entry (I modified the file in my laptop):<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># cd /etc/inet<br />
# cp hosts hosts.old<br />
# cp /export/home/admin/hosts .<br />
# cat hosts<br />
<br />
#<br />
# Internet host table<br />
#<br />
::1 localhost<br />
127.0.0.1 localhost<br />
192.168.5.120 v120g loghost</span></span></span></blockquote>3. Delete the <i>/etc/hostname.eri0</i> file (here I moved it):<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># cd /etc<br />
# ls hostname*<br />
hostname.ce0 hostname.eri0<br />
# mv hostname.eri0 hostname.ri0.old</span></span></span></blockquote>4.- Unplumb the ethernet port (and reboot):<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># ifconfig eri0 unplumb<br />
# reboot</span></span></span></blockquote>Now everything works good with only the GigaSwift port 0 attached to the network. Something that is killing me is the low speed transfer via FTP. I can only reach 4.5 MB/s. This is a very low value. While doing a file tranfer I checked the server status with iostat:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># iostat<br />
tty sd0 sd3 sd16 sd17 cpu<br />
tin tout kps tps serv kps tps serv kps tps serv kps tps serv us sy wt id<br />
0 1 2 0 4 439 8 28 789 8 26 758 8 31 60 26 0 14<br />
</span></span></span></blockquote>Here I can see that the CPU is hard working. Maybe all the calculations needed by Samba, ftp and the other services joined by the ZFS filesystem are eating a lot of resources. I think I will check to optimize the network parameters for play and then I will reformat the hard disks using SVM instead of ZFS.<br />
<br />
P.D.: Do you know what is this? (Check picture)<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/_-RKOyn2PyCA/S93fdL1OLzI/AAAAAAAAA7k/IVuAR3ZWots/s1600/DSC_0582.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="640" src="http://2.bp.blogspot.com/_-RKOyn2PyCA/S93fdL1OLzI/AAAAAAAAA7k/IVuAR3ZWots/s640/DSC_0582.JPG" width="425" /></a></div>Titoxhttp://www.blogger.com/profile/16366305289581990367noreply@blogger.com4tag:blogger.com,1999:blog-8002377248272309517.post-7643369553326544892010-04-19T23:10:00.001+02:002010-09-08T21:44:25.859+02:00Sun Fire V120 as NAS part 6: Network shares and RAM upgradeOk. Time to start some file sharing protocols.<br />
<br />
<b>First the easy part: NFS.</b><br />
Solaris comes with <a href="http://es.wikipedia.org/wiki/Network_File_System">NFS4</a> (backwards compatible with NFS2 and NFS3). Not very important in a normal home but in my case, this is the best option to share information with my <a href="http://www.sgi.com/">SGI</a> boxes. Only three steps are needed to start sharing, Fantastic!<br />
<br />
1. Make writable to everybody the folder where I want to share. I use the same array than before:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># chmod 777 /fsshared</span></span></span></blockquote>2. Add the share information to the file /etc/dfs/dfstab<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># Place share(1M) commands here for automatic execution<br />
# on entering init state 3.<br />
#<br />
# Issue the command 'svcadm enable network/nfs/server' to<br />
# run the NFS daemon processes and the share commands, after adding<br />
# the very first entry to this file.<br />
#<br />
# share [-F fstype] [ -o options] [-d "<text>"] <pathname> [resource]<br />
# .e.g,<br />
# share -F nfs -o rw=engineering -d "home dirs" /export/home2<br />
share -F nfs -o rw -d "fsshared V120" /fsshared</pathname></text></span></span></span></blockquote>3. Start sharing:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># shareall</span></span></span></blockquote>The dfstab entry goes:<br />
<ul><li><i>-F nfs</i> .- Type of sharing.</li>
<li><i>-o r</i>w .- The options. Here I only used read-write but there is a lot more (including loggin), but I just don't need.</li>
<li><i>-d "fsshared V120"</i> .- Obviously is only a comment.</li>
<li><i>/fsshared</i> .- Here comes the folder I want to export.</li>
</ul>Here some captures from my Fuel mounting the exported folder of the Sun Fure V120:<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjevi799j__Va2tkb-Q4mfdM6JNrTI1bDTv8c40bzRJkmpzvdJEWb6xgk66bm_SYEbEqia2eOFtUosMzrhqCmaWz7sMtrPF3aZKByfqE8v13MmAryqOL-tE5H4VAkT5M-iObPmyWSnFT5Ga/s1600/image2.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjevi799j__Va2tkb-Q4mfdM6JNrTI1bDTv8c40bzRJkmpzvdJEWb6xgk66bm_SYEbEqia2eOFtUosMzrhqCmaWz7sMtrPF3aZKByfqE8v13MmAryqOL-tE5H4VAkT5M-iObPmyWSnFT5Ga/s320/image2.gif" /></a></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiquBgvW6QfLTBqE7UetWzn-Lsw-iq2baVLJm03XyDYWQvzipz45mjJHywQAhGilt3Kvvl2dJWp3DMlksViLg4Ai37G1ohLer9rWaNIgHDXboROYTHxnwRIkBGDOCDZElJZbdOoBA2ZAX9/s1600/image3.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiquBgvW6QfLTBqE7UetWzn-Lsw-iq2baVLJm03XyDYWQvzipz45mjJHywQAhGilt3Kvvl2dJWp3DMlksViLg4Ai37G1ohLer9rWaNIgHDXboROYTHxnwRIkBGDOCDZElJZbdOoBA2ZAX9/s320/image3.gif" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRlE0Bn9L3vfDL8RXb0fdZtbs5D2U-j_PeakbeLzdh1YcE8GZiNYpRN7re4Zzt7s8jgSjd9oj9cMNa7_JilzuoXsKNpnZMDpfhY3XkBnZNeyw8oEE_bCThhItRO54qXWxvK0cnrPTAZesm/s1600/image4.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRlE0Bn9L3vfDL8RXb0fdZtbs5D2U-j_PeakbeLzdh1YcE8GZiNYpRN7re4Zzt7s8jgSjd9oj9cMNa7_JilzuoXsKNpnZMDpfhY3XkBnZNeyw8oEE_bCThhItRO54qXWxvK0cnrPTAZesm/s320/image4.gif" /></a></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBC1i6CVzYyyKy_CKu3Bkale-Qm1tUfCbjyi6rmJLZ2dRCfNsZnxweH6wxe9ke0E5OtxZC16ElxL7yhL9mJuV4QP4ogwYHuMdbEli52SVE4-jysJj59_8sITmOpFDd-iN3_emwMDb8QD45/s1600/image5.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBC1i6CVzYyyKy_CKu3Bkale-Qm1tUfCbjyi6rmJLZ2dRCfNsZnxweH6wxe9ke0E5OtxZC16ElxL7yhL9mJuV4QP4ogwYHuMdbEli52SVE4-jysJj59_8sITmOpFDd-iN3_emwMDb8QD45/s320/image5.gif" /></a></div><b>Second part is SAMBA!</b><br />
This is the standard Windows protocol. At the time the most important in any home or company. From a lot of time ago <a href="http://samba.org/">samba.org</a> is publising the source code and it's widely used but all the test I did before (and some test done by friends) are telling Samba is slow, in Solaris and in Linux.<br />
<br />
Configure Samba in Solaris is not as easy as I was thinking before to use it.<br />
1. Check if Samba is installed. Well, installing Solaris with OEM option, Samba must be installed:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># /usr/sfw/sbin/smbd -V<br />
Version 3.0.35</span></span></span></blockquote>2. Now we have to create the <i>smb.conf</i> file. I copied the exampled provided with the Solaris installation:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># cd /etc/sfw<br />
# cp smb.conf-example smb.conf</span></span></span></blockquote>3. Edit the configuratin file. I modified three parts: The allowed ip ranges (my network subnet and localhost):<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># This option is important for security. It allows you to restrict<br />
# connections to machines which are on your local network. The<br />
# following example restricts access to two C class networks and<br />
# the "loopback" interface. For more examples of the syntax see<br />
# the smb.conf man page<br />
hosts allow = 192.168.2. 127.</span></span></span></blockquote> Set the Windows workgroup name:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH<br />
workgroup = WORKGROUP</span></span></span></blockquote>And the last one, the shared folder. I want the folder open read-write to everybody, then the guest ok option must be set and the guest only option must be removed! The docs says guest only is discarded with guest ok but in my case guest ok was discarded with both options in the configuration of the folder.<br />
<br />
<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># A publicly accessible directory, read/write to all users. Note that all files<br />
# created in the directory by users will be owned by the default user, so<br />
# any user with access can delete any other user's files. Obviously this<br />
# directory must be writable by the default user. Another user could of course<br />
# be specified, in which case all files would be owned by that user instead.<br />
[public]<br />
path = /fsshared<br />
public = yes<br />
guest ok = yes<br />
writable = yes<br />
printable = no<br />
browseable = yes</span></span></span></blockquote>4. Test the configuration file:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># /usr/sfw/bin/testparm<br />
<br />
Load smb config files from /etc/sfw/smb.conf<br />
Processing section "[homes]"<br />
Processing section "[printers]"<br />
Processing section "[public]"<br />
Loaded services file OK.<br />
Server role: ROLE_STANDALONE<br />
Press enter to see a dump of your service definitions</span></span></span></blockquote>5. Add a user to the Samba database:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># /usr/sfw/bin/smbpasswd -a admin<br />
New SMB password:<br />
Retype new SMB password:<br />
Added user admin.</span></span></span></blockquote>6. The last part must be start the samba service:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># svcadm enable samba</span></span></span></blockquote>----------------------------------------------------------------------------------------------------------<br />
<b>UPDATE: 2010/09/08</b><br />
7. Now Samba is working but I can't see the computer in the Windows Explorer (or other smb bowsers): The last step is activate WINS:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># svcadm enable wins</span></span></span></blockquote><br />
<b>Here you have the old post part (italic letter). NOT NECESSARY.</b><br />
<i>A new test showed that I don't need to do the next part. At the end </i><br />
<i>but in my case it didn't work. After some googling I found </i><a href="http://wikis.sun.com/display/BigAdmin/Enabling+Browsing+with+Samba+in+Solaris+10+Update+4"><i>this guide related to Solaris u4</i></a><i>, and I followed. Samba didn't start and after a new search I found a fault in my smb.conf: I writed /fssaredc instead of the name of my shared folder.</i><br />
<i>Now I have two commands to start samba:</i><br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"><i># svcadm enable samba:smbd<br />
# svcadm enable samba:nmbd</i></span></span></span></blockquote>End of the update<br />
----------------------------------------------------------------------------------------------------------<br />
But it's working:<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyPwo8PIR1BOU2RBIrYCV-tPHCrSvQ5YvuQx3rU5eBMW6YbudFs1wUPS3LteDiAXiQLV8MB23HgC35bRS6crQAB35Duc7T2pzSBRSPFjXTQkkwmA50ZWj_hfBWx6vYNcUcrHyxikmfeK_o/s1600/Samba_V120.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyPwo8PIR1BOU2RBIrYCV-tPHCrSvQ5YvuQx3rU5eBMW6YbudFs1wUPS3LteDiAXiQLV8MB23HgC35bRS6crQAB35Duc7T2pzSBRSPFjXTQkkwmA50ZWj_hfBWx6vYNcUcrHyxikmfeK_o/s320/Samba_V120.jpg" /></a><a href="http://2.bp.blogspot.com/_-RKOyn2PyCA/S8y939GEa5I/AAAAAAAAA5A/i6ELvFxqWBk/s1600/Samba_V120b.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/_-RKOyn2PyCA/S8y939GEa5I/AAAAAAAAA5A/i6ELvFxqWBk/s320/Samba_V120b.jpg" /></a></div>And here comes the bad part. I only get <b>4.3 MB/s</b> downloading the test file via FTP and <b>1.9 MB/s</b> via Samba! The V120 is connected to my main router via a non manageable HP ProCurve gigabit switch and the client is a <b>Dell Precsion 390</b> with the onboard <a href="http://www.broadcom.com/">Broadcom</a> gigabit network chipset. I did some checks in the V120 network port configuration but I didn't find anything wrong. Well, I will check later. Anyway I have a <a href="http://www.sun.com/products/networking/ethernet/sunquadgigethernet/index.xml">Quad GigaSwift PCI</a> card at the mail coming home.<br />
<br />
<b>RAM tests.</b><br />
Thursday arrived some more RAM sticks, 4x1GB ECC registered sticks!!!<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/_-RKOyn2PyCA/S8y_bOb9q6I/AAAAAAAAA5I/8EdZuL1qU3A/s1600/DSC_0476.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/_-RKOyn2PyCA/S8y_bOb9q6I/AAAAAAAAA5I/8EdZuL1qU3A/s320/DSC_0476.JPG" /></a><a href="http://2.bp.blogspot.com/_-RKOyn2PyCA/S8y_lyzcDqI/AAAAAAAAA5Q/rkNukbQyU1o/s1600/DSC_0477.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/_-RKOyn2PyCA/S8y_lyzcDqI/AAAAAAAAA5Q/rkNukbQyU1o/s320/DSC_0477.JPG" /></a></div>I did various test with different amount of memory: 512 MB (one stick that came with the server), 2 GB and 4 GB.<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/_-RKOyn2PyCA/S8y_9RCL4nI/AAAAAAAAA5Y/w36IwVXhA6E/s1600/DSC_0479.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/_-RKOyn2PyCA/S8y_9RCL4nI/AAAAAAAAA5Y/w36IwVXhA6E/s320/DSC_0479.JPG" /></a><a href="http://2.bp.blogspot.com/_-RKOyn2PyCA/S8zAFOHXdvI/AAAAAAAAA5g/HwSkayYhHAo/s1600/DSC_0482.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/_-RKOyn2PyCA/S8zAFOHXdvI/AAAAAAAAA5g/HwSkayYhHAo/s320/DSC_0482.JPG" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidTc46Pvyhwyj1qkaxG01Ctf1ZKpH-10hmVW41R6pQzMiLUTcuiRVS5qXZ3287EPi_xvRnMYq7SeKGrKwrxm300ragwNRIppIMe5Xow32dhgsu0LbRbphqadR0l9lyl-DehfWEnNlwX3F2/s1600/DSC_0486.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidTc46Pvyhwyj1qkaxG01Ctf1ZKpH-10hmVW41R6pQzMiLUTcuiRVS5qXZ3287EPi_xvRnMYq7SeKGrKwrxm300ragwNRIppIMe5Xow32dhgsu0LbRbphqadR0l9lyl-DehfWEnNlwX3F2/s320/DSC_0486.JPG" /></a></div><br />
<div style="color: lime; font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;"> 512MB 2 GB 4GB</span></div><div style="color: lime; font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">-----------------------------------------------------------------------</span></div><div style="color: lime; font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">From RAID5 to system disk. 12.8 MB/s 17.8 MB/s 26.9 MB/s</span></div><div style="color: lime; font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">From system disk to RAID5. 11.3 MB/s 18.6 MB/s 21.6 MB/s</span></div><div style="color: lime; font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">From RAID5 to disk 2. 12,5 MB/s 20.9 MB/s 32.0 MB/s</span></div><br />
I was expecting a great improvement from 512 MB to 2 Gb, but I also discovered a great rise in performance with 4 GB using the RAID5 array. Yes, ZFS needs a lot of memory!<br />
<i>Note that tests are done by hand and I only did the test one or two times but are enough for comparision. At least for me!</i>Titoxhttp://www.blogger.com/profile/16366305289581990367noreply@blogger.com4tag:blogger.com,1999:blog-8002377248272309517.post-2252127182569478662010-04-06T23:56:00.003+02:002010-04-10T00:14:35.377+02:00Sun Fire V120 as NAS part 5: Users, rows and some tipsWell, I had some problems with the screen rows (lines) when using the vi editor. Some time surfing the net later I found a good solution: the <i>TERM</i> environment variable. The <i>/etc/profile</i> script only can set this variable only in two ways: <i>sun-color</i> or <i>sun</i>:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';">(...) <br />
if [ "$TERM" = "" ]<br />
then<br />
if /bin/i386<br />
then<br />
TERM=sun-color<br />
else<br />
TERM=sun<br />
fi<br />
export TERM<br />
(...)</span></span></span></blockquote>This could be changed at the Solaris prompt typing:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># TERM=vt100<br />
# export TERM</span></span></span></blockquote>But with this commands the values are lost when the user logouts. Due all the connections to the server console or terminal will use a <i>vt100</i> terminal simulator I decided to modify the <i>/etc/profile</i> script as follows:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';">(...)<br />
if [ "$TERM" = "" ]<br />
then<br />
if /bin/i386<br />
then<br />
TERM=sun-color<br />
else<br />
TERM=vt100<br />
fi<br />
export TERM<br />
(...)</span></span></span></blockquote>One problem solved. Go to the second one: with only the root account nobody can login into the server via ftp, smb or something like that. I decided to create an admin account like my linux servers:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># useradd -d /export/home/admin -m -s /bin/ksh -c admin admin<br />
# passwd admin<br />
New password:<br />
(...)</span></span></span></blockquote>Ok now I can open a FTP session. <i>-d</i> specifies the user folder, <i>-s</i> sets the shell he will use and <i>-c</i> specifies the full name of the user (use <i><b>"</b></i> to enclose the name if it has spaces). Obviously the las word is the account name.<br />
<br />
Another problem I had was that the man pages were not working. Man seemed installed but not the documentation files. I tried adding the routes to the path but finally the solution is more easy: the package SUNWman was not installed while the package SUNWdoc was perfectly on the hard disk:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># cd /cdrom/sol_10_1009_sparc/Solaris_10/Product<br />
# pkgadd -d . SUNWman</span></span></span></blockquote>One more thing: How to complete shutdown (well in this server it means 'put the server on standby'):<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># shutdown -y -g 0 -i 5</span></span></span></blockquote>Titoxhttp://www.blogger.com/profile/16366305289581990367noreply@blogger.com6tag:blogger.com,1999:blog-8002377248272309517.post-18421315892561878292010-03-30T21:40:00.000+02:002010-03-30T21:40:38.413+02:00Sun Fire V120 as NAS part 4: Testing ZFS RAID-ZI wanted to test a RAID5 configuration but having my server booting from a ZFS disk, seems that the Solaris Volume Manager (SVM) databases are not created and I can't use it. Anyway my main project is focuses in ZFS. Start!!!!!<br />
From the SSM software or the format utility I get the disks names (SCSI nodes 1 to 3, scsi bus 2 - onle array disk):<br />
<ul><li>c2t1d0</li>
<li>c2t2d0</li>
<li>c2t3d0</li>
</ul><br />
Create a ZFS RAIDZ array is easy, just type:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># zpool create fsshared raidz c2t1d0 c2t2d0 c2t3d0</span></span></span></blockquote>Now I have a new folder named /fsshared:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># ls<br />
bin dev export kernel mnt platform sbin usr<br />
boot devices fsshared lib net proc system var<br />
cdrom etc home lom2 opt rpool tmp vol<br />
# zfs list<br />
NAME USED AVAIL REFER MOUNTPOINT<br />
fsshared 89,9K 33,1G 28,0K /fsshared<br />
rpool 4,67G 28,6G 97K /rpool<br />
rpool/ROOT 3,67G 28,6G 21K legacy<br />
rpool/ROOT/s10s_u8wos_08a 3,67G 28,6G 3,67G /<br />
rpool/dump 512M 28,6G 512M -<br />
rpool/export 44K 28,6G 23K /export<br />
rpool/export/home 21K 28,6G 21K /export/home<br />
rpool/swap 512M 28,8G 230M -</span></span></span></blockquote>At the list you can see the main boot zfs systems named as root and my new fsshared array. Now it's time to check speed.<br />
Create a new 2 GB file and watch how the array free space decreases:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># cd /fsshared<br />
# mkfile 2g testfile<br />
# ls<br />
testfile<br />
# zfs list<br />
NAME USED AVAIL REFER MOUNTPOINT<br />
fsshared 2,00G 31,1G 2,00G /fsshared<br />
rpool 4,74G 28,5G 97K /rpool<br />
rpool/ROOT 3,74G 28,5G 21K legacy<br />
rpool/ROOT/s10s_u8wos_08a 3,74G 28,5G 3,74G /<br />
rpool/dump 512M 28,5G 512M -<br />
rpool/export 44K 28,5G 23K /export<br />
rpool/export/home 21K 28,5G 21K /export/home<br />
rpool/swap 512M 28,8G 230M -</span></span></span></blockquote>To check the write speed I copied the testfile to / and measured the time manualy<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># cp /fsshared/testfile /<br />
2048 MB - 161s - 12.8 MB/s<br />
# rm /fsshared/testfile<br />
# cp /testfile /fsshared<br />
2048 MB - 181 s - 11.3 MB/s</span></span></span></blockquote>This is not a good result and I'm start to think that the small amount of RAM in the server is one of the causes (with the slow CPU of course). Writing from the main disk to the array is slower than the reverse option. This speed is not fantastic but it's a write speed, now I need a gigabit card to check read speed. If read performance is ok, the V120 will be enough as NAS.<br />
<br />
A new test copying the same file from the array to the disk 2 of the server:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># zpool create disc2 c1t1d0<br />
# cp /fsshared/testfile /disc2<br />
2048 MB - 164 s - 12,5 MB/s</span></span></span></blockquote>Not better results here... And from the main disk to the second one of the server? And reverse?<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"><br />
# rm /disc2/testfile<br />
# cp /testfile /disc2<br />
2048 MB - 121s - 16.9 MB/s</span></span></span></blockquote><br />
Wow... Maybe the ZFS RAID calculations are too heavy for this server.<br />
Ok. Next must be test NFS, FTP and SMB trasfer results.Titoxhttp://www.blogger.com/profile/16366305289581990367noreply@blogger.com1tag:blogger.com,1999:blog-8002377248272309517.post-38696348218742187272010-03-30T00:57:00.001+02:002010-08-24T20:03:06.327+02:00Sun Fire V120 as NAS part 3: Enabling ssh root loginOk. I'm tired. This server is too loud to work behind it. Because I don't want to create users yet and I want to admin the server from another room I decided to enable login with the root account, like my other linux servers<br />
<br />
Very easy to do, from the serial console logged as root: edit /etc/ssh/sshd_config and change:<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';">PermitRootLogin no >>PermitRootLogin yes</span></span></span></blockquote><br />
<b>SPECIAL TIP!!!!</b> I can't use the vi editor from the console as I can't see all the lines of the file. I uploaded to my main server via ftp, modified it in my workstation an then it downloaded again.<br />
<blockquote><span style="font-size: 85%;"><span class="Apple-style-span" style="color: #33ff33;"><span class="Apple-style-span" style="font-family: 'courier new';"># svcadm disable svc:/network/ssh:default<br />
# ftp 192.168.2.254<br />
(...)<br />
# svcadm enable svc:/network/ssh:default</span></span></span></blockquote>Titoxhttp://www.blogger.com/profile/16366305289581990367noreply@blogger.com0