{"id":245,"date":"2007-12-27T11:25:53","date_gmt":"2007-12-27T02:25:53","guid":{"rendered":"https:\/\/fugutabetai.com\/blog\/2007\/12\/27\/installing-fedora-8-on-a-gigabyte-ga-g33m-s2h-motherboard-with-2x-500gb-sata-drives-onboard-gma-3100-video-into-an-antec-fusion-black-case\/"},"modified":"2007-12-27T11:25:53","modified_gmt":"2007-12-27T02:25:53","slug":"installing-fedora-8-on-a-gigabyte-ga-g33m-s2h-motherboard-with-2x-500gb-sata-drives-onboard-gma-3100-video-into-an-antec-fusion-black-case","status":"publish","type":"post","link":"https:\/\/fugutabetai.com\/blog\/2007\/12\/27\/installing-fedora-8-on-a-gigabyte-ga-g33m-s2h-motherboard-with-2x-500gb-sata-drives-onboard-gma-3100-video-into-an-antec-fusion-black-case\/","title":{"rendered":"Installing Fedora 8 on a Gigabyte GA-G33M-S2H motherboard with 2x 500GB SATA drives, onboard GMA 3100 video into an Antec Fusion (Black) case"},"content":{"rendered":"<p>This entry is a little bit different than the others I&#8217;ve made: I&#8217;ll be updating it as I continue working on the box.&nbsp; <\/p>\n<p>Surprisingly, this was the first system I&#8217;ve ever put together myself.&nbsp; The first computer I ever used was an Apple \/\/e that my father bought.&nbsp; I was probably about eleven years old.&nbsp; It was great.&nbsp; Of course, he did whatever assembly was required on that machine.&nbsp; We had that machine for years: I was still using it into high school.&nbsp; Probably in my freshman year of high school, my dad bought a &#8220;Fat Mac&#8221;, one of the 512k Macs in the original case.&nbsp; At some point he got a 10MB hard drive for it that sat under the machine in a matching beige.&nbsp; <\/p>\n<p>When I went off to college, I worked part-time at the campus computer store (a great job for a CS major, maybe) and saved up until I could by my first machine: a Mac IIci.&nbsp; I had that for four years, and in my last year there I bought a PowerMac 6100av.&nbsp; When I went off to grad school I made the switch to laptops and Windows, with a Toshiba Satellite Pentium II based laptop.&nbsp; I eventually replaced that with an IBM ThinkPad A31p, which I have been running since 2001.&nbsp; When I moved to Japan it was my primary machine, until I got one of the last of the PowerPC PowerBooks: a PowerBook G4 with the superdrive and 1440&#215;960 display.&nbsp; I&#8217;m using it this very minute to type this up, and it is my primary work machine at home.&nbsp; (I have actually at work a MacBook Pro Core Duo 2 machine, as well as a Dell&nbsp; box with linux on it, and a ThinkPad 60p that runs windows.)&nbsp; The venerable IBM ThinkPad A31, with three internal hard drives, has been running as my entertainment center for the past two years, hooked up to a 24&#8243; 1920&#215;1200 LCD monitor.&nbsp; It is a great machine, but with a 1.8GHz P4 Mobile chip, it is starting to show its age, and can&#8217;t play a lot of the video files that I download now.&nbsp; Since I&#8217;m in Japan, I download a lot of American TV programs to keep me up-to-date on what is going on over in America.&nbsp; The A31 has no chance at playing anything in h.264, and can&#8217;t do any sort of HD content.&nbsp; <\/p>\n<p>So I finally gave in and bought a new system.&nbsp; I thought I would get a media-center type system, and go with a desktop so that I can upgrade it as time goes on.&nbsp; I was planning on getting a Shuttle box, but the prices for those are pretty high.&nbsp; I spent about the same as I would on a shuttle box, but was able to pick up the beautiful Antec Fusion black case, which is designed to be quiet (it is very, very quiet) and cool.&nbsp; On the downside, it can only take one 5.25&#8243; device, and two 3.5&#8243; devices, which is a bit limiting.&nbsp; I would love to have four hard drives in there for some sort of nice RAID setup, but I&#8217;ll settle for two very quiet drives instead.&nbsp; <\/p>\n<p><!-- readmore --><\/p>\n<p>First thing was to unpack everything, and start setting up the motherboard.&nbsp; I think the Antec case is well designed, with a really nice drive cage for the DVD drive, and well cushioned drive housings for the two hard drives.&nbsp; I installed the Hard Drives and hooked them up to the SATA slots on the motherboard, as well as the DVD drive via the IDE interface.&nbsp; I had to hook up various leads for the front USB and FireWire ports and some of the indicators, but none of that was too hard.&nbsp; One thing that bothered me is that I was not able to find the powersupply fan control that the manual talked about &#8211; it is supposed to be a three pin lead that I can plug into the system board so it can monitor and perhaps regulate the power supply fan, but even without plugging that in I can&#8217;t hear anything from the fans, so I don&#8217;t think it is a big deal.&nbsp; The case also has two large 120mm fans that I set at the lowest level, which I also can&#8217;t hear unless I put my head up to them.&nbsp; <\/p>\n<p>Linux booted up fine, and the installer ran without a hitch.&nbsp; It auto-detected everything, got the network up and running, had no trouble with the SATA drives or DVD, so things look like they are golden.&nbsp; I am currently running the package update.&nbsp; The only problem that I had is that the monitor reported it is receiving a 2020&#215;1204 signal at horizontal 73KHz and vertical 59.7Hz, which of course does not display well on the 1920&#215;1200 LCD monitor.&nbsp; I am not sure what caused this; right now the video card driver was autodetected and is using the &#8220;intel &#8211; Experimental modesetting driver for Intel integrated graphics chipsets&#8221; driver, which sounds good but perhaps set the modeline wrong for the monitor.&nbsp; <\/p>\n<p>The Monitor section on the new install has the monitor as:<\/p>\n<blockquote><p>Section &#8220;Monitor&#8221;<br \/>&nbsp;&nbsp;&nbsp;&nbsp; Identifier &#8220;Monitor0&#8221;<br \/>&nbsp;&nbsp;&nbsp;&nbsp; ModelName &#8220;LCD Panel 1920&#215;1200&#8221;<br \/>&nbsp;&nbsp;&nbsp;&nbsp; HorizSync 31.5 &#8211; 74.5<br \/>&nbsp;&nbsp;&nbsp;&nbsp; VertRefresh 56.0 &#8211; 65.0<br \/>&nbsp;&nbsp;&nbsp;&nbsp; Option &#8220;dpms&#8221;<br \/>EndSection<\/p><\/blockquote>\n<p>The Monitor section on my working A31p says:<\/p>\n<blockquote><p>Section &#8220;Monitor&#8221;<br \/>&nbsp;&nbsp;&nbsp;&nbsp; Identifier &#8220;Monitor1&#8221;<br \/>&nbsp;&nbsp;&nbsp;&nbsp; VendorName &#8220;MonitorVendor&#8221;<br \/>&nbsp;&nbsp;&nbsp;&nbsp; ModelName &#8220;LCD-TV141XBR&#8221;<br \/>&nbsp;&nbsp;&nbsp;&nbsp; HorizSync 24.0 &#8211; 83.0<br \/>&nbsp;&nbsp;&nbsp;&nbsp; VertRefresh 55.0 &#8211; 75.0 <br \/>&nbsp;&nbsp;&nbsp;&nbsp; # Ignore incorrectly specified modelines from the monitor (WTF?)<br \/>&nbsp;&nbsp;&nbsp;&nbsp; Option &#8220;IgnoreEDID&#8221; &#8220;true&#8221;<br \/>&nbsp;&nbsp;&nbsp;&nbsp; Option &#8220;dpms&#8221;<br \/>EndSection<\/p><\/blockquote>\n<p>So I remember that I had to dig through the Xorg initialization log to find out that the EDID automatically supplied values were incorrect, so by setting the ignoreedid option I could get it to run in 1920&#215;1200.&nbsp; I might have to do the same thing here.&nbsp; After trying that, it turns out that the IgnoreEDID option is ignored and does nothing.&nbsp; <\/p>\n<p>I can&#8217;t believe that the default install of Fedora 8 with developer tools off of the DVD does not include Emacs.&nbsp; So I had to install that.&nbsp; Yay for yum, which at least makes it easy.&nbsp; Also, I&#8217;m shocked that GNU screen is not included.&nbsp; Unfortunately, that did not fix the problem.&nbsp; The DVI resolutions are still strange.&nbsp; <\/p>\n<p>Interestingly, if I boot up with the VGA cable plugged in and run off of the analog video output, everything works great.&nbsp; Compiz loads up and Desktop Effects are enabled, so I get cute wobbly windows.&nbsp; I&#8217;m going to have to spend some time tracking down why the DVI port does not work properly: I really wanted to have a nice digital connection to my LCD!&nbsp; I should also note that I had to disable Desktop Effects because video was stuttery under them.&nbsp; I&#8217;m not sure exactly why this was, and perhaps there is a way to fix it, but I don&#8217;t need wobby windows as much as I need smooth video.<\/p>\n<p>Also, when I was playing with sdlmame, I realized that I didn&#8217;t have direct rending (dri) working.&nbsp; I had to add the magic incantation of<\/p>\n<blockquote><p>Section &#8220;Module&#8221;<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Load &#8220;glx&#8221;<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Load &#8220;extmod&#8221;<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Load &#8220;dri&#8221;<br \/>EndSection<\/p>\n<p>Section &#8220;DRI&#8221;<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Mode 0666<br \/>EndSection<\/p><\/blockquote>\n<p>Also, I&#8217;m using this for my video card setup (the default AccelMethod is XAA instead of EXA, which is supposed to be faster.)&nbsp; Basically I use all the defaults except for the AccelMethod one.&nbsp; I didn&#8217;t notice it being any faster though.&nbsp; Using glxgears, I get around 1200 FPS.&nbsp; Is that good?&nbsp; I have no idea at all.<\/p>\n<blockquote><p>Section &#8220;Device&#8221;<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Identifier&nbsp; &#8220;GMA3100&#8221;<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Driver&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#8220;intel&#8221;<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # devans: newer method that should be faster (see man intel)<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#8220;AccelMethod&#8221; &#8220;EXA&#8221;<br \/>EndSection<\/p><\/blockquote>\n<p>to my \/etc\/X11\/xorg.conf to get DRI working.&nbsp; Desktop Effects are still slow though and video doesn&#8217;t play well when Desktop Effects are enabled though.&nbsp; It could just be that the Intel GMA3100 is too slow to really hack it.&nbsp;  <\/p>\n<p>I had to set the sound preferences in Fedora up properly to play sound, but they did work when I plugged the speakers into the RCA out jack on the back of the box.&nbsp; I&#8217;m afraid I didn&#8217;t have a place on the motherboard to hook up the front-accessible sound jack, which is a shame because that would be very useful to use.<\/p>\n<p>Update: DVI is working just fine!&nbsp; If I unplug the VGA cable, and plug in the DVI cable after the BIOS boot, and perhaps after the text-mode linux screen (I am not sure) DVI works great.&nbsp; Wow, it is very clear.&nbsp; I&#8217;ll probably do a bit more testing to see if this survives a reboot.&nbsp; (It could be the new kernel perhaps.)&nbsp; <\/p>\n<h2>Installing Good Software<\/h2>\n<p>Following <a title=\"http:\/\/www.mjmwired.net\/resources\/mjm-fedora-f8.html\" href=\"http:\/\/www.mjmwired.net\/resources\/mjm-fedora-f8.html\" id=\"c8:j\">http:\/\/www.mjmwired.net\/resources\/mjm-fedora-f8.html<\/a> I installed the good stuff: Amarok, Xine, Mplayer, all the binary codecs needed to play stuff, Azureus, and a bunch of other stuff.&nbsp; <\/p>\n<h3>Azureus<\/h3>\n<p>I set up Azureus just using the standard yum install method, but the problem with that is that I don&#8217;t have the plugins and stuff installed that I have set up.&nbsp; I really want to have at least the <a title=\"rssfeed plugin\" href=\"http:\/\/azureus.sourceforge.net\/plugin_details.php?plugin=rssfeed\" id=\"ae_d\">rssfeed plugin<\/a> working so I can automatically download American TV shows.&nbsp; According to the <a title=\"Azureus Wiki\" href=\"http:\/\/www.azureuswiki.com\/index.php\/InstallPlugins\" id=\"j-ue\">Azureus Wiki<\/a>, plugins are stored in your home directory at <b>\/home\/&lt;USER&gt;\/.Azureus\/plugins<\/b>, but when you install the plugins for everyone it looks like they go into the install folder.&nbsp; When I installed with yum, that turned out to be <b>\/usr\/share\/azureus\/plugins<\/b>.&nbsp; So I copied over the plugins from my other install in there.&nbsp; I also copied over my ~\/.Azureus directory.&nbsp; I think that should take care of all my settings and plugins.&nbsp; <\/p>\n<h3>SDLMAME<\/h3>\n<p>One of the things I wanted to test out was MAME performance, so I could play Super Street Fighter II Turbo on my big screen.&nbsp; To that end, I decided to install <a title=\"sdlmame\" href=\"http:\/\/rbelmont.mameworld.info\/?page_id=163\" id=\"cl.0\">sdlmame<\/a> and see how well that would play on my setup.&nbsp; The <a title=\"Dribble Repository\" href=\"http:\/\/dribble.org.uk\/\" id=\"b-pm\">Dribble Repository<\/a> offers a yum compatible repository that has all sorts of fun stuff (check the website) and conveniently has sdlmame packaged up and ready to go.&nbsp; It plays nice with the standard Fedora repos, as well as <a title=\"Livna\" href=\"http:\/\/rpm.livna.org\/\" id=\"bijs\">Livna<\/a> which I added since it makes life easier by providing some things that are not quite pure open source, but very convenient to have (multimedia things as well as proprietary nvidia \/ ati drivers, although right now using the onboard Intel video I don&#8217;t need either of those, but they have been very useful in the past.)&nbsp; Follow the <a title=\"Livna Configuration\" href=\"http:\/\/rpm.livna.org\/rlowiki\/\" id=\"bx-6\">Livna Configuration<\/a> and then run <\/p>\n<blockquote><p>\nrpm -ivh <a href=\"http:\/\/dribble.org.uk\/repo\/dribble-release-5-3.noarch.rpm\">http:\/\/dribble.org.uk\/repo\/dribble-release-5-3.noarch.rpm<\/a><\/p><\/blockquote>\n<p>to install the Dribble repository config files.&nbsp; If you don&#8217;t believe me, check out <a title=\"their page on configuring the Dribble repository\" href=\"http:\/\/dribble.org.uk\/configuration.html\" id=\"ptnf\">their page on configuring the Dribble repository<\/a>.&nbsp; I installed the qmc2 mame front-end and sdlmame, which both worked well.&nbsp; Unfortunately, performance was very slow.&nbsp; I was getting about 12 FPS in Pacman, which is not playable.&nbsp; I think this has to do with the GMA3100 OpenGL performance, since the software renderer was much faster than the default opengl render, and I&#8217;ve also been having some speed problems with Desktop Effects which also uses opengl and the video card for rendering.&nbsp; So this is something I&#8217;ll have to look into later, or possibly buy a video card for.&nbsp; Also, SDLMAME for some reason kills my mouse, and I can&#8217;t quit the program.&nbsp; When I try to quit, nothing happens, and the processor sits at 100% utilization.&nbsp; I am able to ctl-alt-F4 to another virtual terminal and log in, then I can kill -9 the process.&nbsp; My mouse won&#8217;t work when I do that though, and then I have to re-start the Xserver.&nbsp; <\/p>\n<p>Interestingly, I downloaded xmame from <a title=\"x.mame.net\" href=\"http:\/\/x.mame.net\/download.html\" id=\"gzxc\">x.mame.net<\/a> and compiled that from source.&nbsp; It runs well, but still I can&#8217;t run things fullscreen.&nbsp; So I&#8217;m sure that the problem is in the video settings somewhere.&nbsp; Here is a related bit of info:<\/p>\n<p>xmame -video-mode 1 -fullscreen -sound-mixer-plugin alsa -dp alsa -nosi -ef 5 -skip_gameinfo mslug2<\/p>\n<p>That worked well for someone else, but didn&#8217;t work for me.&nbsp; <\/p>\n<h2>Setting up Samba<\/h2>\n<p>I was confused that Fedora 8 didn&#8217;t have Samba (windows file sharing) set up out of the box.&nbsp; I had to install some additional samba bits as well as system-config-samba (I believe, I&#8217;m going from memory right now) to get the nice graphical Samba setup panel that is under the Administrator Preferences group.&nbsp; Once I set that up, I wasn&#8217;t able to actually log into the share from my windows machine.&nbsp; A little star showed up on the notification area that was some sort of SELinux error browser GUI.&nbsp; That is great.&nbsp; I am running with an enforcing SELinux policy, and this causes strange and random things to fail.&nbsp; In this case, I had to set the samba_enable_home_dirs boolean to 1 to allow samba to access my home directory.&nbsp; That was done with:<\/p>\n<blockquote><p>setsebool -P samba_enable_home_dirs 1<\/p><\/blockquote>\n<p>You can find information about Samba and SELinux using <span style=\"font-family: Courier New;\"><b>man samba_selinux.<\/b><\/span><\/p>\n<p>I also set up a share at \/data, where I have all of my media content.&nbsp; According to the man page, to get that to work, I&#8217;ll need to set up the <b>samba_share_t<\/b> file type attribute on the directory (and children!) for that to work:<\/p>\n<blockquote>\n<p>SELinux requires files to have an extended attribute to define the file<br \/>       type.   Policy  governs the access daemons have to these files.  If you<br \/>       want to share files other than home directories, those  files  must  be<br \/>       labeled samba_share_t.  So if you created a special directory \/var\/eng,<br \/>       you would need to label the directory with the chcon tool.<\/p>\n<p>       chcon -t samba_share_t \/var\/eng<\/p>\n<p>       If you want to make this permanant, i.e. survive a  relabel,  you  must<br \/>       add an entry to the file_contexts.local file.<\/p>\n<p>       \/etc\/selinux\/POLICYTYPE\/contexts\/files\/file_contexts.local<br \/>              \/var\/eng(\/.*)? system_u:object_r:samba_share_t<\/p>\n<\/blockquote>\n<p>Actually, you can also set up a general &#8220;this is shareable read\/write content&#8221; that applies to various demons (web, ftp, smb, etc.) in a similar manner.&nbsp; I couldn&#8217;t find the file_contexts.local file they wanted above, so I don&#8217;t know if this will last a reboot or not.&nbsp; The relevant excerpt is:<\/p>\n<blockquote>\n<p>If you want to share files with multiple domains (Apache,  FTP,  rsync,<br \/>       Samba),  you can set a file context of public_content_t and public_con-<br \/>       tent_rw_t.  These context allow any of the above domains  to  read  the<br \/>       content.   If  you want a particular domain to write to the public_con-<br \/>       tent_rw_t   domain,   you   must   set   the    appropriate    boolean.<br \/>       allow_DOMAIN_anon_write.  So for samba you would execute:<\/p>\n<p>       setsebool -P allow_smbd_anon_write=1<\/p>\n<\/blockquote>\n<p>I think I&#8217;ll set things up that way, and then go to some extra lengths to make everything in there non-executable just in case&#8230;&nbsp; (Of course, pending free time to look up how to do that: I know how to mount something as non-executable, but I don&#8217;t think I can do that in my current configuration of 2 500GB hard drives with LVM spanning them and \/data as just a directory in the root file system.)<\/p>\n<p><a title=\"Another person has blogged their solution for this problem as well\" href=\"http:\/\/sergiy.kyrylkov.name\/blog\/2007\/07\/selinux-and-samba.html\" id=\"m5--\">Another person has blogged their solution for this problem as well<\/a>. <\/p>\n<h2>Moving Amarok settings to the new machine<\/h2>\n<p>I use <a title=\"Amarok\" href=\"http:\/\/amarok.kde.org\/\" id=\"df7c\">Amarok<\/a> as my music player on linux.&nbsp; It is really nice.&nbsp; It is easily the best of all the music players I&#8217;ve tried in Linux, and I think I like it better than iTunes, although I&#8217;m not really too sure about that yet.&nbsp; I set it up to use MySQL as the database for the music, so I believe I will have to do a database dump and then import that database into the new Amarok install on the new machine.&nbsp; <\/p>\n<p>First, create a dump of MySQL:<\/p>\n<blockquote><p><font face=\"courier new, courier, mono\">mysqldump &#8211;add-drop-table -u sadmin -p pass21 amarok &gt; amarokdb.sql<\/font><\/p><\/blockquote>\n<p>(Of course, replace your user name with the DB admin name, and password with the proper password.&nbsp; If you aren&#8217;t using amarok as your database name, change that to match as well.)&nbsp; Carefully look through the dump to make sure that there are not any critical tables in there that you wouldn&#8217;t want to overwrite &#8211; we have instructed mysqldump to drop tables so it will delete all tables that might exist when you import this file.&nbsp; In this case, <\/p>\n<p>Before we can put this on the new machine, make sure you have MySQL installed and running, then log into the client and create the amarok DB:<\/p>\n<blockquote>\n<p>1) Edit \/etc\/mysql\/my.cnf, adding this line to stanzas [client] and [mysqld]:\n<\/p>\n<p>default-character-set = utf8\n<\/p>\n<p>2) Restart the mqsql daemon to pick up the new default charset\n<\/p>\n<p>Do this <b>before<\/b> you create the database for amarok.\n<\/p>\n<p>Make sure the MySQL daemon is running. If necessary, add it to your linux startup scripts, via whatever method your distro uses.\n<\/p>\n<p>Create a root password for MySQL, if you have not already done so.\n<\/p>\n<pre>$ mysql -u root <br>set password for root@localhost = password('xxxxxxx'); <br>flush privileges; <br>quit; <br><\/pre>\n<p>Of course change xxxxxx to the password you want.\n<\/p>\n<p>Once you have done that, you must create a MySQL database and a<br \/>\nuser for amarok for through any usual method. You can just use the<br \/>\n&#8220;mysql&#8221; command: (it will ask for your MySQL root password)\n<\/p>\n<pre>$ mysql -p -u root<br>CREATE DATABASE amarok;<br>USE amarok;<br>GRANT ALL ON amarok.* TO amarok@localhost IDENTIFIED BY 'PASSWORD_CHANGE_ME';<br>FLUSH PRIVILEGES;<br><\/pre>\n<\/blockquote>\n<p>(Taken straight from the Amarok wiki referenced below.)&nbsp; <\/p>\n<p>Then import the table on the target machine:<\/p>\n<blockquote><p><font face=\"courier new, courier, mono\">mysql -u sadmin -p pass21 amarok &lt; amarokdb.sql<\/font><\/p><\/blockquote>\n<p>(Of course, make sure your user and password are correct.)&nbsp; In my case I also had to edit <b>~\/.kde\/share\/config\/amarokrc<\/b> to replace the paths of the directories to monitor to point to their new locations.&nbsp; <\/p>\n<p><a title=\"The AmaroK Wiki also has some good information on MySQL and Amarok\" href=\"http:\/\/amarok.kde.org\/wiki\/MySQL_HowTo\" id=\"vv6u\">The AmaroK Wiki also has some good information on MySQL and Amarok<\/a>.&nbsp; <\/p>\n<h2>Getting hardware temperature sensors working<\/h2>\n<p>Out of the box, \/proc\/acpi\/thermal_zone\/ stuff wasn&#8217;t working (neither were the fan sensors.)&nbsp; I have to look into this and try to figure out what is going on.<\/p>\n<p>After some searching on the web, I find that I need to modprobe the correct module to access the sensors.&nbsp; The first step in this process is to run <b>\/usr\/sbin\/sensors-detect<\/b>.&nbsp; According to the output, I&#8217;ve got an &#8220;ITE IT8718F Super IO Sensors&#8221; chip on my ISA bus at 0x290, and &#8220;Intel Core family thermal sensor&#8221;, which load with:<\/p>\n<blockquote><p>modprobe it87<br \/>modeprobe coretemp<br \/># sleep 2 # optional<br \/>\/usr\/bin\/sensors -s # recommended<\/p><\/blockquote>\n<p>and once inserted into <b>\/etc\/modprobe.d\/sensors<\/b> things should work out dandy after reboots.&nbsp; Actually, it looks like the script automatically modified \/etc\/sysconfig\/lm_sensors, so I don&#8217;t even need to create a file to load the modules for me since the lm_sensors init.d script should do that.&nbsp; Running the modprobe lines on the command line myself and then sensors showed that things worked great!&nbsp; I&#8217;m not really sure how much I trust the readings though: the gnome temperature monitoring applet shows that my motherboard is running at 25C, 21C, and -2C (that can&#8217;t be right &#8211; perhaps these is no sensor in that slot?) while the CPUs are at 12C each.&nbsp; I&#8217;m just running a DVD in a window and installing stuff though, so aside from the -2C reading maybe those are all kosher.<\/p>\n<h2>Getting Hard Drive SMART temperature monitors working<\/h2>\n<p>Another thing I wanted to be able to monitor is hard drive temperature.&nbsp; I did a <b>sudo yum install hddtemp<\/b> but that couldn&#8217;t read the temperatures.&nbsp; Going back into the BIOS, I noticed that SMART was not enabled for the drives, which was probably why.&nbsp; After enabling it, <b>hddtemp \/dev\/sda \/dev\/sdb<\/b> reported 22C and 21C respectively.&nbsp; I couldn&#8217;t find any nice way to display the temperatures though.&nbsp; I installed gdesklets, but there weren&#8217;t any good monitors packaged with it.&nbsp; I installed a whole bunch of desklets (the official site has almost none, but there are other sites that have older desklets) but none of them worked well on a 24&#8243; monitor where I&#8217;m sitting on the other side of the room.&nbsp; They don&#8217;t scale and I can&#8217;t see them, and all of the hard drive monitors assumed paths like \/dev\/hdX, but I need \/dev\/sdX and they wouldn&#8217;t let me change that.&nbsp; I don&#8217;t really care that much about getting the hard drive temps displayed so I&#8217;ll just forget about a gauge for them.&nbsp; <\/p>\n<h2>Getting the integrated LCD working<\/h2>\n<p>The Antec Fusion case comes with a LCD built-in.&nbsp; Really all I want to do is to get it to display the time.&nbsp; <a title=\"Over at codeka.com there is a patch for LIRC that supports the display\" href=\"http:\/\/codeka.com\/blogs\/index.php?cat=30\" id=\"umnd\">Over at codeka.com Dean Harding posted a patch for LIRC that supports the display<\/a>.&nbsp; You need to have LIRC and LCDProc.&nbsp; LIRC was already installed on my system by yum, and <b>sudo yum install lcdproc<\/b> worked to install that.&nbsp; Since these are patches though, I&#8217;ll need to download the source and patch that.&nbsp; Alternatively I can just wait until they roll in Dean Harding&#8217;s patches, which sounds a lot easier to me.&nbsp; I might just do that.&nbsp; <\/p>\n<p><\/p>\n<p>http:\/\/ubuntuforums.org\/showthread.php?t=611469<\/p>\n<p>http:\/\/hubpages.com\/hub\/How-to-configure-an-Antec-Fusion-Black-display-on-Linux<\/p>\n<p><\/p>\n<p>Following the instructions from http:\/\/codeka.com\/blogs\/index.php?cat=30 I have downloaded LIRC version 0.8.2 (http:\/\/prdownloads.sourceforge.net\/lirc\/lirc-0.8.2.tar.bz2) and the two newest patches from codeka.com.&nbsp; When trying to do the make to compile lirc, I received an error:<\/p>\n<p><\/p>\n<blockquote><p>lirc-0.8.2\/drivers\/lirc_dev\/lirc_dev.c:883: error: void value not ignored as it ought to be<\/p><\/blockquote>\n<p>The problem seems to be that the kernel function unregister_chrdev() has changed to return void.&nbsp; The following message shows some information about the problem.&nbsp; I also just changed the code to call the function, and things compiled well.&nbsp; <\/p>\n<p><a title=\"http:\/\/www.nabble.com\/LIRC-doesn%27t-compile-with-2.6.23-rc2-td12382623.html\" href=\"http:\/\/www.nabble.com\/LIRC-doesn%27t-compile-with-2.6.23-rc2-td12382623.html\" id=\"rjl0\">http:\/\/www.nabble.com\/LIRC-doesn%27t-compile-with-2.6.23-rc2-td12382623.html<\/a> <\/p>\n<p><\/p>\n<p>Then I downloaded LCDProc as per directions (http:\/\/jaist.dl.sourceforge.net\/sourceforge\/lcdproc\/lcdproc-0.5.2.tar.gz) After patching and compiling that, it seemed like things worked well, but when I try to start the LCDd server (LCDd -f -r 4) I received an error:<\/p>\n<p><\/p>\n<blockquote><p>Driver [imonlcd] has invalid display size<br \/>&#8230;<\/p>\n<p>Floating point exception<\/p>\n<\/blockquote>\n<p>By deleting the Size=16&#215;2 line in \/usr\/local\/etc\/LCDd.conf I was able to fix that error (as indicated on the blog comments) but then the problem is that nothing shows up on the screen.&nbsp; It could be that there is a problem with the contrast setting.&nbsp; <\/p>\n<p><\/p>\n<p>After poking around more, I believe that the problem is that I am not using the new version of lirc_imon.ko that I just built.&nbsp; So I tried a<\/p>\n<blockquote>\n<p>rmmod lirc_imon<\/p>\n<p>insmod \/path\/to\/new\/lirc_imon.ko<\/p>\n<p>LCDd -f -r 4<\/p>\n<\/blockquote>\n<p>And things worked great!&nbsp; I set Contrast=300, and things are great.&nbsp; When I quit the LCDd, then the display turns into a clock, which is totally cool.&nbsp; Since I want that to automatically happen every time I boot the machine, I created <span style=\"font-weight: bold;\">\/etc\/modprobe.d\/lirc<\/span> and added:<\/p>\n<blockquote><p>install lirc_imon \/sbin\/insmod \/root\/lirc-0.8.2\/drivers\/lirc_imon\/lirc_imon.ko<\/p><\/blockquote>\n<p>That should load the proper module on boot.&nbsp; Now the question is how to configure LCDd to show interesting things.&nbsp; To make interesting things show up, you need to change the settings in <b>\/etc\/sysconfig\/lcdproc\/lcdproc.conf<\/b>.&nbsp; Change those and play around with them until they suit you.<\/p>\n<p><\/p>\n<p>Trying to start LCDd automatically with <\/p>\n<blockquote>\n<p>service LCDd start<\/p>\n<\/blockquote>\n<p>resulted in an error:<\/p>\n<p>&nbsp;<\/p>\n<blockquote><p>Starting up LCDd: Could not open driver module server\/drivers\/curses.so: server\/drivers\/curses.so: cannot open shared object file: No such file or directory<br \/>Driver [curses] binding failed<br \/>Could not load driver curses<br \/>There is no output driver<br \/>Critical error while initializing, abort.<\/p><\/blockquote>\n<p>The problem is that it is reading a different config file than the one that I expected.&nbsp; The server version is reading <br \/>\/etc\/sysconfig\/lcdproc\/LCDd.conf<\/p>\n<p>so I copied the correct file over to there.&nbsp; (<b>cp \/usr\/local\/etc\/LCDd.conf \/etc\/sysconfig\/lcdproc\/<\/b>) and things started up correctly. <\/p>\n<p>Then I used <\/p>\n<blockquote>\n<p>chkconfig &#8211;level 345 LCDd on<\/p>\n<p>chkconfig &#8211;level 345 lcdproc on<\/p>\n<\/blockquote>\n<p>to set both lcdproc and LCDd to turn on at boot time.&nbsp; Things should be golden.&nbsp; I&#8217;m not sure how much I like having all this cycling information on the screen though.&nbsp; It might become annoying.&nbsp; <\/p>\n<p><\/p>\n<p>Also, when I get some time I should check out <a title=\"http:\/\/www.kde-apps.org\/content\/show.php\/amarok-lcdproc?content=46139\" href=\"http:\/\/www.kde-apps.org\/content\/show.php\/amarok-lcdproc?content=46139\" id=\"ei6o\">http:\/\/www.kde-apps.org\/content\/show.php\/amarok-lcdproc?content=46139<\/a>&nbsp; for some information about a script that is a LCDd client for Amarok that will have information about the currently playing song displayed.<\/p>\n<p><\/p>\n<p>After a kernel upgrade, the LCD didn&#8217;t come back up on boot.&nbsp; It turns out that is because these modules are built for the previous kernel version I was running.&nbsp; I had to do:<\/p>\n<blockquote>\n<p># .\/configure &#8211;with-moduledir=\/lib\/modules\/2.6.23.14-107.fc8\/kernel\/drivers\/input\/lirc\/ &#8211;with-x &#8211;with-driver=imon &#8211;with-major=61 &#8211;with-port=none &#8211;with-irq=none<\/p>\n<p># make; make install; insmod \/lib\/modules\/2.6.23.14-107.fc8\/kernel\/drivers\/input\/lirc\/lirc_imon.ko<\/p><\/blockquote>\n<p>I then modified <span style=\"font-weight: bold;\">\/etc\/modprobe.d\/lirc<\/span> so that it pointed to the correct kernel.&nbsp; With every kernel upgrade I&#8217;ll have to re-compile and edit that file to point to the right one (or add a command to guess the right place for it, but whatever) until the lirc incorporates these changes into their version that is packaged with fedora.<span style=\"font-weight: bold;\"><br \/><\/span><\/p>\n<h2>HD Video Playback<\/h2>\n<p>I had a 720p x264 rip of The Matrix laying around, and Xine played it very well, although there were some glitches with sound.&nbsp; The processors stayed loaded at about 25% each, so I&#8217;m hopeful that 1080p playback will work well also.&nbsp; The one video that I have is encoded in Microsoft VC-1 format, and I wasn&#8217;t able to get Mplayer or Xine to play it.&nbsp; <\/p>\n<p>Later testing with other videos has shown that 1080p can work great (at about 90% usage of both processors!) without any sound glitches, but other encodes of 720p sometimes have sound glitches.&nbsp; It sounds like the sound is going slightly slower than the video, and sometimes to &#8220;catch up&#8221; the sound will click and skip a half second of sound or so.&nbsp; It might depend on the codec used for sound, but I&#8217;m not really sure.<\/p>\n<p><a title=\"This post here on charlies-server.com has a good write-up about playing 1080p content in Mplayer\" href=\"http:\/\/blog.charlies-server.com\/2007\/09\/13\/hd-video-playback-in-linux\/\" id=\"e569\">This post here on charlies-server.com has a good write-up about playing 1080p content in Mplayer<\/a>, which I need to check out.<\/p>\n<h2>Installing Japanese Support<\/h2>\n<p>This didn&#8217;t come up for a while, but I needed to add Japanese language support.&nbsp; I did that with<\/p>\n<blockquote><p>sudo yum groupinstall japanese-support<\/p><\/blockquote>\n<p>based on the instructions from <a title=\"RedHat's Release Notes on Fedora 8\" href=\"http:\/\/docs.fedoraproject.org\/release-notes\/f8\/en_US\/sn-I18n.html#sn-Language-Installation\" id=\"fop_\">RedHat&#8217;s Release Notes on Fedora 8<\/a>.&nbsp; After doing that, I had to go to System-&gt;Preferences-&gt;Personal-&gt;Input Method and check &#8220;Enable Input Method Feature&#8221;.&nbsp; That requires a log-out, so I had to log out and log back in.&nbsp; Then the zenkan key on the keyboard or control-space enabled Japanese input.&nbsp; Yay!<\/p>\n<h2>Getting my ipod to mount<\/h2>\n<p>I really thought that just plugging in my ipod should be enough for it to mount and show up on the desktop, but apparently that is not the case.&nbsp; First, I checked the \/var\/log\/messages log and it was showing up as \/dev\/sdc when plugged in, but nothing was happening.&nbsp; So I checked System-&gt;Preferences-&gt;Hardware-&gt;Removable Devices and Media, which allows you to auto-mount things as you plug them in.&nbsp; (I know this works because I had it working fine under Fedora Core 6 I think.)&nbsp; When I tried to run the program I got an error that &#8220;hald&#8221; was not running.&nbsp; Strange.&nbsp; I checked and there was no hald, but there was a haldaemon, which was not running.&nbsp; A short sudo \/sbin\/service haldaemon start later, it would run.&nbsp; It did not mount the ipod, but now I am able to check and \/dev\/disk\/by-label\/DEVANS_IPOD exists.&nbsp; That sounds great.<\/p>\n<p>For good measure, I did a sudo yum install ipod-sharp and libipoddevice to install two ipod-related libraries.&nbsp; <\/p>\n<p>According to <a title=\"this post\" href=\"http:\/\/forums.fedoraforum.org\/forum\/showthread.php?t=52143&amp;highlight=ipod+udev\" id=\"a.3-\">this post<\/a> which looks pretty good, I need to create some new HAL rules for my ipod.&nbsp; Ok.&nbsp; But I can&#8217;t find hal-device-manager to look at the devices (text mode hal-device does work) so I did a sudo yum install hwbrowser to get a graphical client.<\/p>\n<p>I wanted to get hal automounting this thing, but that didn&#8217;t work.&nbsp; In the end I just added<\/p>\n<blockquote><p>\/dev\/disk\/by-label\/DEVANS_IPOD \/mnt\/ipod&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; auto&nbsp;&nbsp;&nbsp; noauto,user,uid=500&nbsp;&nbsp;&nbsp;&nbsp; \\<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 0<\/p><\/blockquote>\n<p>to the \/etc\/fstab and then run a mount \/mnt\/ipod (I had to make the empty mount point in \/mnt first) and it shows up just fine.&nbsp; <\/p>\n","protected":false},"excerpt":{"rendered":"<p>This entry is a little bit different than the others I&#8217;ve made: I&#8217;ll be updating it as I continue working on the box.&nbsp; Surprisingly, this was the first system I&#8217;ve ever put together myself.&nbsp; The first computer I ever used was an Apple \/\/e that my father bought.&nbsp; I was probably about eleven years old.&nbsp; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/posts\/245"}],"collection":[{"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/comments?post=245"}],"version-history":[{"count":0,"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/posts\/245\/revisions"}],"wp:attachment":[{"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/media?parent=245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/categories?post=245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/tags?post=245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}