Jimmy’s weblog

5/9/2013

My new X230… Backup of the factory default state

Filed under: — jimmy @ 1:46 am

Before I started to modify the original setup I wanted to backup a couple of things because I knew, that most of the steps are not straightforward and I might need to get back (To be honest, I had two other Lenovo machines where I tested the steps before I applied them on my X230 ;-) )
I started with creating the recovery media and Lenovo supports to use usb flash media instead of cd recordables, too. But something told me that I should not fully trust the software to create a bootable usb flash drive. Long story short: The software creates an unbootable flash drive if you do not prepare the flash drive before you start the program :(
Have a look at the instructions at . It’s not only a missing boot flag which I set afterwards, there seem to be other constraints, too. The flash drive, which did not work, had a strange partition table, too. On the working flash drive it looked like this:

Disk /dev/sdc: 15.8 GB, 15804137472 bytes
255 heads, 63 sectors/track, 1921 cylinders, total 30867456 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0×00000000

Device Boot Start End Blocks Id System
/dev/sdc1 * 2048 30867455 15432704 7 HPFS/NTFS/exFAT

I assume that the starting cylinder is important.

Usually you can create recovery media only once but there’s a hack to do it again, which is very useful if things go wrong. Open command prompt and type:

echo 0 > Q:\FactoryRecovery\RECOVERY.INI:Done

It’s also a good idea to save the mbr and partition table, e.g.:

dd if=/dev/sda of=mbr-backup-sda.img bs=1 count=512
sfdisk -d /dev/sda > sfdisk-sda-dump.txt
sfdisk -l /dev/sda > sfdisk-sda.txt

(Basically the first command is sufficient but I prefer to have different backups)

5/7/2013

My new X230… things have changed :)

Filed under: — jimmy @ 6:34 pm

My first Lenovo notebook was a X60s, which is still running quite well but 32 bit is not enough ;-) It came with WinXP preinstalled because there was no option to order it with Linux or without OS. All other notebooks that I used afterwards came without OS so there was no other OS to take care about. My X230 came with Win7 preinstalled so I decided to compare the actual installation with my first one eight years ago (I don’t really need the preinstalled OS so I might as well just make a clean installation but I was interested about the possibilities for our customer installations).
So i will write some posts about certain aspects of the original setup. First one will be about backuping up the factory default state because there the troubles started ;-)

5/4/2013

Got my Lenovo X230 without camera :(

Filed under: — jimmy @ 7:51 pm

Take care when ordering your notebook in the Lenovo webshop, you might miss a camera, too. I configured mine and I wanted a builtin camera. Then I decided that the 3×3 antennas would be better than the 2×2 and so I changed the configuration. What I did not see was, that the box for the camera options, where you choose if you want a builtin camera or none, just disappeared and the camera gets unselected. When checking the config again before hitting the order button I checked every option but there was no line like “camera: none” so it looked good for me. When the notebook arrived there was no camera builtin. Reason: The third antenna in the 3×3 config needs the space where the camera would be. Unfortunately there was no hint or warning in the webshop :(
Of course I was able to send it back and order a new one but this process is very time consuming. This happened a couple of weeks ago and in the meantime I got my new X230 but the bug is still not fixed in the shop although I reported it :(
(BTW: I ordered in the shop of Austria but I also checked the US shop which has a similiar problem)

I hope this post helps somebody else not to run into the same problem.

3/15/2013

Cisco WAP4410N and Gigabit Performance

Filed under: — jimmy @ 10:42 pm

In the last days I made some tests with 802.11n performance with Cisco WAP121 and WAP4410N access points to find out how much throughput I can achieve. Therefore Gigabit ethernet is required and the WAP4410N comes with a Gigabit interface (the WAP121 does not, JFYI). So I connected the AP with the included ethernet cable and forced it to use 1000 Mbps. Suddenly the link went down and never came up again. I checked the switch and everything was configured properly. Just for fun I took a look at the supplied cable and it said Cat.5, not Cat.5e. So Cisco includes a cable that does not work with Gigabit *LOL*
(Yes, under some circumstances a Cat.5 cable might work but I never tried that myself. It’s better to pay 2 Cents more for Cat.5e or Cat.6 ;-) )

5/29/2012

IBM x3100 M4 with ServeRAID C100: Testing Debian Compatibility

Filed under: — jimmy @ 2:22 pm

When IBM announced their new entry server I first checked the specs and found out, that they are going back to fakeraid controllers in the low cost machines. I was really glad a couple of years ago when those controllers disappeared but now they are back again :( Furthermore it first seemed, that the controller was not supported in the kernel of debian squeeze. So I ordered one of the first x3100 M4 to find out myself. It turned out, that there’s absolutely no problem with the squeeze kernel (Didn’t find those reports, who said that the controller is not detected, again, so I hope this false information is lost forever or at least hard to find).
Depending on the BIOS setting (modus AHCI or RAID) the controller shows up as:

00:1f.2 SATA controller: Intel Corporation Cougar Point 6 port SATA AHCI Controller (rev 05)

or

00:1f.2 RAID bus controller: Intel Corporation 82801 SATA RAID Controller (rev 05)

Although I already wasted a lot of time in my life with fakeraid controllers I decided to test the ServeRAID C100, too. Here are the lessons I’ve learned:

  • Never create the RAID in the OS because you might choose the wrong format and thus you will not see the RAID in the BIOS or IMM2 and lose the ability to monitor the health status. Create it in the BIOS or with the CLI tool.
  • If you want to install with the debian installer then you need to add option “dmraid=true” in expert mode
  • grub2 in squeeze has a bug that prevents installation on fakeraid (dirty hack: install grub from sid)
  • Booting from dmraid is broken in Debian: Bug #603319 with a dirty hack
  • I hope this posting will help you, if you really need to configure such a machine. It’s also possible and supported to upgrade the x3100 M4 with a HW-RAID controller, e.g. ServeRAID M5015 (you need the Hot-Swap Backplane, too).

    5/15/2012

    Growing Hardware RAID-5 with arcconf

    Filed under: — jimmy @ 8:26 pm

    Maybe you read my previous post “Growing Hardware RAID-5 with LVM by adding a physical disk” where I described how to add another disk to a RAID-5 with the MegaCLI tool. For older ServeRAID controllers you have to use the arcconf tool instead, e.g. ServeRAID-8k, which was shipped in the first x3650 models. There’s plenty of documentation about arcconf but how to resize a raid was hard to find. The MODIFY command is used for resizing and let’s assume that we have 3 disks in the array and add another one (same as in my previous post)

    ./arcconf modify 1 from 1 to MAX 5 0 0 0 1 0 2 0 3
    

    The syntax of arrconf is:

    ./arcconf MODIFY <Controller#> FROM <LogicalDrive#> TO [Options] <Size> <RAID#> <CHANNEL# DRIVE#> [CHANNEL# DRIVE#] [noprompt]
    

    So in our case it was Controller# 1 and LogicalDrive# 1 and MAX means to use all capacity that will be available. Raidlevel will still be level 5 and the harddisks are [0 0], [0 1], [0 2] and the new [0 3].
    To watch the status of the raid migration, use

    ./arcconf getstatus 1
    

    JFYI: To add another 146 GB SAS (15k) to the raid it took about 12 hours to rebuild the array.

    12/23/2011

    Growing Hardware RAID-5 with LVM by adding a physical disk

    Filed under: — jimmy @ 1:00 am

    Sometimes you’re running out of space and all you can do is adding additional disks. Although it’s a simple task in theory, there a some risky steps involved. So you should backup your volumes before. In my case I had a RAID-5 in an IBM x3650 M3 Server with a ServeRAID M5015 Controller. There was one volume with three 146 GB SAS disks and on top LVM. The root filesystem was on this volume, too, which doesn’t make things easier ;-)
    First Step: Insert a new 146 GB SAS disk to extend the volume. The first risky step is to rebuild the RAID-5 with four disks instead of three. So you may want to upgrade the firmware of the controller first and make a backup of the LVM volumes. Of course you should not save the backup on the same server ;-)
    I configured a partimage server on another machine and ran partimage client on the server with the new disk:

    partimage -z2 -domMc -s 192.168.0.7 save /dev/mapper/main-rootfs fileserver.partimg.bz2
    

    (Please lookup the options in the manpage yourself)
    The command for the ServeRaid controller was not easy to find but here we go:

    /opt/MegaRAID/MegaCli/MegaCli64 -LDRecon -Start -r5 -add -PhysDrv [252:3]  -L0 -a0
    

    252:3 stands for the fourth drive. You can find out more about available drives running:

    /opt/MegaRAID/MegaCli/MegaCli64 -PDList -a0
    

    To watch the rebuild status run:

    /opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -L0 -a0
    

    As we want to resize the root filesystem we need to reboot the machine so that programs like fdisk see the new size of the array. Afterwards you can resize the partition or simply delete and recreate it. Next step is to resize the LVM physical volume and again a reboot is needed so that pvresize recognizes the new partition size. So these are the next steps where things might get wrong, too:

    pvresize -v /dev/sda2
    lvresize -l +34871 /dev/main/rootfs
    resize2fs /dev/main/rootfs
    

    /dev/sda2 was my LVM partition (sda1 was for /boot) and thanks to the new disk I had 34871 extends available (146 GB). The resize commands work with active volumes and mounted filesystem so you don’t have to stop any services. Only the two or three reboots (if you want to make a final reboot after all changes) interrupt the services but this should be ok.

    11/10/2011

    Upgrading Samba from plaintext passwords to encrypted passwords

    Filed under: — jimmy @ 5:23 pm

    Recently I had to upgrade a samba installation which was using plaintext passwords. This is not as rare as one might think because some companies couldn’t upgrade from win95 PCs as those were coupled to machines which didn’t support newer versions. For plaintext passwords samba uses /etc/passwd and /etc/shadow to find out usernames and passwords. With encrypted passwords samba uses its own database with the tdbsam backend. There was also a smbpasswd backend which is now deprecated. But it’s very handy if you want to upgrade to encrypted passwords without having every user to enter her password again to fill the new database. There is the global option “update encrypted = yes” which replaces a plaintext password with an encrypted one when the user logs in. The plaintext password is written to the smbpasswd file defined in smb.conf (This does not work with the tdbsam backend but you can migrate from smbpasswd to tdbsam easily afterwards). So before we let the users login again we have to generate a smbpasswd file. One way to achive this is to run this command:

    cat /etc/passwd | mksmbpasswd >> /etc/samba/smbpasswd
    

    (assuming that “passdb backend = smbpasswd:/etc/samba/smbpasswd” is in your smb.conf)
    After all users have logged in (check smbpasswd file for filled in passwords) you can disable plaintext auth.

    Watch out for bug in WinXP SP3 with plaintext auth!
    When I made this migration it happened that this procedure was working great for some clients where others completely failed to login. I found out that Win7 clients and WinXP clients with SP2 worked, but WinXP clients with SP3 were failing. The reason is simply a bug caused by patch KB2536276. You can find the full story in bugzilla of samba: Windows security patch KB2536276 prevents access to shares
    In my case I was lost and had to ask the users to type in their passwords again but there seems to be a workaround if you read the last comments in the bugreport (changing domain name)

    3/15/2011

    Grazer Linuxtage 2011

    Filed under: — jimmy @ 5:28 pm

    Hope to see you there :-)


    Grazer Linuxtage 2011

    8/6/2010

    Using IBM Bootable Media Creator on Debian

    Filed under: — jimmy @ 1:03 am

    IBM provides a tool called “Bootable Media Creator” (bomc) which creates bootable media – like an usb key – that allows you to easily install all firmware updates even if there is no OS installed on the server. You just select your server model, e.g. x3650, and the tool downloads all available updates. This saves a lot of time.
    Formerly I used bomc on a SLES server but now I wanted to try if it would work on my Debian notebook, since the tool is available as a single binary and not as a rpm package as usual.
    It started up and seemed to work but unfortunately after downloading some packages it stopped with an error. Long story short: I just copied the SuSE-release file to my /etc on my Debian notebook and all errors were gone :-)
    My /etc/SuSE-release looks like this:

    SUSE Linux Enterprise Desktop 10 (i586)
    VERSION = 10
    

    Bomc can be downloaded at the IBM site

    5/16/2010

    Dirty dirvish hack to use “localhost” as client option

    Filed under: — jimmy @ 11:03 am

    When using dirvish you usually have to use the local hostname for the client option in default.conf. In other words, the output of the command “hostname”. If it’s different than the client option than dirvish assumes that it’s a remote transfer and uses ssh to connect. So you can not use “localhost” which would be rather straightforward ;-(
    Lately I needed dirvish on a sytem with heartbeat where two systems share one configuration but have different hostnames. Because I was so angry about this IMO stupid check with “hostname” I made a dirty hack…
    Line 258 in /usr/sbin/dirvish looks like this:

    chomp($$Options{Server} = `hostname`);
    

    I changed it to:

    chomp($$Options{Server} = localhost);
    

    This way dirvish assumes localhost as local tranfer and everything else as remote. The check itself can be found in line 520.
    Remember, this hack is really evil. There are several better ways to solve the problem.

    4/23/2010

    Linuxtage 2010

    Filed under: — jimmy @ 8:18 am

    Only one day left. I’ll be there at the grml-booth, which is a must see, again. See you there :-)


    Grazer Linuxtage 2010

    4/23/2009

    Linuxtage Graz 2009

    Filed under: — jimmy @ 8:05 am

    See you there ;-)


    Grazer Linuxtage 2009

    4/1/2008

    OpenOffice and Freefonts

    Filed under: — jimmy @ 2:55 pm

    Today I tried an upgrade of my debian unstable machine. Didn’t do this for several months, so I expected some problems, but this one was really hard to solve. I already had openoffice 2.4 installed, so there weren’t many changes, but after the complete upgrade the free fonts disappeared (FreeSans, FreeMono, …). The font drop-down menu showed three blank lines and I was also able to type in the word “FreeSans” into the box, but all I got were blank spaces. I googled around for two hours and finally I found a hint about the ttf-freefont package: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=472830. I don’t understand exactly what’s wrong, but installing version 20060501cvs-12 from snapshot.debian.net solved the problem and the fonts get now rendered correctly.

    1/30/2008

    IBM Server x3350

    Filed under: — jimmy @ 9:35 pm

    A few months ago I bought the new x3350 Server. Previously the x3250 was my standard model for small solutions. But I was always missing some important features which are now available with the x3350. These are:

    • Hot-swap redundant power supplies
    • Dual Gigabit Ethernet for bonding
    • Light path diagnostics

    Thank you IBM for exactly implementing my wishlist ;-)

    When I installed Debian etch on the machine everything worked fine except the broadcom NICs. They were not detected so I had to use a newer kernel.
    The problem was solved when “Etch and a half” was released because the 2.6.24 kernel includes a newer tg3 module.

    1/8/2008

    grml 1.1 and IBM Server x206m

    Filed under: — jimmy @ 11:06 am

    Remember the x206m and its “problematic” SAS/SATA Controller? ;-) Last night I tested the aic94xx driver again, which is also shipped with grml. Former releases of the driver worked with SAS but not with SATA. grml 1.1 comes with kernel 2.6.23, so worth a try. Unfortunately it’s still not clear if the firmware for the driver is licensed under GPL or Adaptec’s license. So it’s currently not included in the grml release but you can download it from here. Copy the file to /lib/firmware, unload and load the aic94xx module again. Watch the syslog and you will see, that the harddisks will be detected. Also tested it with a 500 GB IBM SATA disk. Works, too! :-)

    So the next step is to upgrade my x206m to etch and find out if it will work with the standard etch kernel, too.Cialis for sale uk
    Phentermine no consultation
    Enoxaparin

    Aminopterin
    Accutane
    Venlafaxine
    Clarithromycin

    Phentermine blue 30 mg

    Drug laws ohio diet phentermine
    Tramadol drug interactions

    Prednisone
    Mexico viagra
    Meridia weight loss
    Phentermine priority mail
    How long does xanax stay in system
    Xanax pictures
    Levodopa

    Fioricet with codeine

    Cafergot
    Etoposide
    Flupenthixol

    Levitra vs cialis vs herbal
    Enalapril
    Phentermine weight loss medication
    How to discontinue the use of phentermine
    Pioglitazone
    Chlortetracycline
    Captopril
    Quazepam
    Hydrocodone withdrawal
    Non perscription generic viagra
    Phentermine 37 5mg and mastercard

    Simethicone
    Pantoprazole

    Colon cleanse ambien
    Phentermine 30mg cap
    Viagra alternatives
    Phentermine shipped to ky

    Phentermine mastercard

    Chloramphenicol
    Real phentermine
    Compare phentermine
    Anileridine
    Clarithromycin
    Zuclopenthixol
    Treat crohns disease with viagra

    Xanax and alcohol
    Cialis generic india
    Aminophylline
    Generic viagra in canada
    Multivitamins
    Elidel
    Zanaflex

    Atrovent

    Cialis for sale
    Carteolol
    Phentermine weight loss
    Meloxicam
    Cimetidine
    Primidone

    Cyclizine
    Paris cheep phentermine
    Belladonna
    Grapefruit viagra
    Viagra sample pack
    Carisoprodol
    Losec
    Generic xanax
    Vitamin
    Natural suppliments work like viagra
    Difference between valium and xanax
    Bupropion
    Nystatin
    Generica viagra
    Deferoxamine

    Phentermine in stock
    Cialis levitra better
    Effects phentermine side strong
    Cialis dosages
    Butalbital fioricet
    Glucotrol
    Generic viagra no perscription needed
    Imiquimod

    Lomefloxacin
    Lisinopril

    Phentermine on sale
    Phentermine
    Trihexyphenidyl
    Xanax xr
    Yohimbe and viagra
    Snorting phentermine

    Novobiocin
    Indinavir
    Xanax on line
    Trientine
    Phentermine work
    Phentermine shipped to tn
    Viagra uk sales
    Accutane

    Lose weight with phentermine and 5 htp
    Norflex
    Order Femara Buy Pravachol Order Lisinopril Cheap Ansaid Order Diakof Cheap Arava Buy Acticin Cheap Avandia Buy Evista Buy Atarax InnoPran XL Cheap Clarina Buy Tenormin Purchase Vantin Cheap Triphala Cheap Norco Order Cephalexin Purchase Darvocet Order Butalbital Purchase Lukol Cheap Aciphex Buy Famvir Purchase Flexeril Buy Codeine Order Premarin Buy Feldene Order Isordil Plan B Ophthacare Buy Viagra Cheap Ophthacare Order Cystone Himcospaz Buy Naprosyn Purchase Fioricet Vytorin Order Imitrex Desyrel Order Adalat Buy Lipitor Buy Atrovent Order Protonix Buy Tenuate Cheap Lopid Purchase Flomax Clarinex Buy Premarin Purchase Clonazepam Order Lariam Lamictal Cheap Serevent Purchase Zelnorm Order Coreg Cheap Sumycin Purchase Ashwagandha Order Valium Liv.52 Cheap Adipex Order Liv.52 Order Ophthacare Order Antabuse Order Biaxin Cheap Cardizem Cheap Reosto Buy Phentermine Cheap Phentermine Purchase Himcocid Buy Zyban Purchase Danazol Ambien Purchase Tulasi Prevacid Cheap Rocaltrol Purchase Tricor Avapro Buy Requip Cheap Loprox Buy Mycelex-G Geriforte Buy Phentrimine Zyloprim Buy Norvasc Acyclovir Order Mysoline Bactroban Buy Emsam Cheap Allegra Purchase Rogaine Omnicef Cheap Avandamet Lotrisone Buy Lorazepam Order Adipex Sorbitrate Casodex Order Clonazepam Order Trazodone Cheap Prandin Cheap Antabuse Buy Bonnisan Cheap Sorbitrate Purchase Nonoxinol Purchase Tenormin Buy Geriforte Buy Triphala Lipitor Synthroid Order Overnight Purchase Acomplia Purchase Zerit Cheap Ephedrine High Love Trimox Cheap Flonase Imdur Order Myambutol Cheap Percocet Cheap Nirdosh Order Ephedrine Cheap Rumalaya Order Karela Order Hoodia Purchase Diovan Order Brite Buy Casodex Cheap Zovirax Cheap Tulasi Ativan Order Effexor Order Glucophage Purchase Altace Order Relafen Cephalexin Watson Buy Aciphex Cheap Codeine Order Abana Zyvox Cheap Himplasia Cheap Arimidex Buy Dostinex Purchase Evista Order Amoxil Cheap Abana Tricor Purchase Cephalexin Purchase Septilin Grifulvin V Touch-Up Kit Buy Prandin Order Evecare Female Viagra Order Darvocet Purchase Cardizem Buy Soma Buy Lariam Nicotinell Leukeran Order Norvasc Buy Miacalcin Purchase Elavil Ephedrine Cheap Seroquel Purchase Zestril ActoPlus Met Inderal Gasex Buy Percocet Buy Trazodone Order Sinequan Buy Zocor Order Levothroid Order Flonase Accupril Lopid Brahmi Order Viramune Cheap Lotensin Purchase Lynoral Purchase Sustiva Speman Cheap Lanoxin Purchase Soma Cheap Capoten Cheap Mysoline Order Lotensin Karela Male Sexual Cheap Levaquin Allegra Cheap Darvocet Purchase Ismo Buy Ativan Cheap Diabecon Buy Neurontin Diovan Order Nizoral Buy Endep Buy StretchNil Order Sumycin Purchase Atacand Purchase Oxytrol Viagra Jelly Order Noroxin Order Lamisil Yerba Diet Order Plendil Purchase Lozol Purchase Lariam Buy Septilin Order Prinivil Buy Nonoxinol Cheap Lynoral Purchase Zyprexa Pamelor Purchase Hytrin Buy Aristocort Cheap Myambutol AyurSlim Purchase Maxaquin Cheap Stromectol Buy Cardura Cheap Desyrel Purchase Shoot Flexeril Purchase Inderal Cheap Zantac Vitamin A Buy Nirdosh Order Xeloda Purchase Xenacore Buy Oxycontin Buy AyurSlim Buying Phentermine Order Septilin Order Nexium Cheap Pravachol Buy Starlix Buy Relafen Human Growth Buy Zyprexa Buy Serevent Cheap Singulair Purchase Nicotinell Buy Cephalexin Adderall Purchase Naprosyn Cheap Dilantin Diazepam Buy Cymbalta Purchase Zovirax Rocaltrol Vantin Purchase Cymbalta Cheap Cordarone Buy Claritin Buy Purim Bupropion Buy Myambutol Purchase Proventil Cheap Ultram Buy Aleve Cheap Synthroid Purchase Sinequan Purchase Calan Nirdosh Cheap Speman Order Triphala Purchase Norvasc Purchase Avapro Cheap Prograf Purchase Lioresal Clarina Order Levitra Purchase Mentat Buy Elimite Retin-A Cheap Proventil Purchase Lotensin Cheap Sinequan Cheap Mentax Ventolin Effexor Buy Propecia Cheap Levlen Xeloda Femara Buy Menosan Buy Methocarbam Purchase Fastin Order Ventolin Cheap Biaxin Cialis Buy Brafix Purchase Cialis Purchase Prometrium Purchase Loprox Order Watson Buy Kytril Cheap Tenuates Cheap Mevacor Order Rocaltrol Virility Gum Hoodia Meridia Purchase Tramadol Order Viagra Buy Lexapro Professional Plasma Order Prograf Buy Mexitil Purchase Detrol Purchase Sildenafil Cheap Cystone Order Singulair Order Proscar Purchase Prozac Cheap Aceon Buy Chitosan Zetia Purchase Exelon Purchase Himplasia Order Altace Purchase Omnicef Cheap Diarex Buy Avodart Buy Consultation Purchase Rumalaya Order Evista Purchase Trandate Buy Lisinopril Cheap Lukol Order Neurontin Confido Cheap Cozaar Carisoprodol Cheap Norvasc Order Zantac Purchase Didrex Purchase Elimite Cheap Diazepam StretchNil Buy Zantac Order Prilosec Order AyurSlim Purchase V-Gel Cheap Atarax Purchase Zyvox Buy Lioresal Purchase Acticin Purchase Atrovent Purchase Prograf Cheapest Generic Buy Ashwagandha Order Phentermine Lanoxin Purchase Augmentin Order Pilex Purchase Nizoral

    11/28/2007

    The forgotten posting: Debian etch on IBM x3200 and x3250

    Filed under: — jimmy @ 6:28 pm

    Yes, this posting is called “forgotten posting” because I just realized that I never posted it, although i should had been done a long time ago :-(

    A lot of people had problems with the Adaptec Controller in the x206m model. Fortunately, the successor x3200 has a LSI controller on board which works perfectly when running Debian etch on it. It uses the Fusion MPT drivers and best of all: It’s not a fakeraid controller, it’s real HW-RAID (thx to mika for pointing me in the right direction, because I never thought about it :-) ).

    Notes for using HW-RAID: There’s a small cmdline utility on the IBM CDs called “cfggen”. With this tool you can manage your RAID volumes. The userland utility (daemon) mpt-statusd monitors your RAID volumes (it’s included in Debian etch).

    Notes about Debian woody: My x3200 was running a long time with Debian woody. You just need to install a newer kernel so that the controller gets recognized.

    All of the information above applies to the x3250, too. It’s the rack version of the x3200.Nolvadex
    Best platinum credit cards with low apr
    Credit reporting services
    Automobile refinance
    Ambien
    VPN security
    Cialis Online
    No apr credit cards
    Deceased credit card debt
    Life insurance uk
    No apr no annual fee low interest credit cards
    Credit rating scores
    Online Cialis Soft Tabs
    Cleocin
    Highest credit score
    Xanax
    Household bank credit card application
    Remove credit card debt
    Free instant credit report with no credit card
    Card consolidation credit debt financial internet
    Danazol
    Free credit report online no membership
    Elavil
    The fair credit reporting
    Online Prozac
    Affect credit score
    Instant approval bad credit cards
    Tenormin
    Buy Cephalexin
    Fair credit reporting act of 1970
    Debt consolidation with bad credit
    Ultram
    Homeowners insurance quotes
    Best credit score
    Amoxil
    Totally free credit report
    Aspire credit card application
    Uk credit card application
    Buy Female Viagra
    Best credit card debt help
    Debt credit report
    Fix my credit report
    Best credit card debt help
    Buspar
    Hsbc credit card application
    Credit report and scores
    Canada credit card application
    Prilosec
    Phentermine Cheap
    Refinance loan
    Credit cards us instant approval
    Disputing your credit report
    Buy Lamisil
    Credit scores online
    Debt reduction solution credit card
    Aristocort
    Credit card application center
    Citi bank credit card application
    Us credit cards interest low apr 0
    Improve my credit score
    Buy Clomid
    Unsecured credit card application online
    Free credit rating report
    Card consumer credit debt right
    Kiss Ringtones
    Clear credit report
    Buy Clarinex
    Buy Protonix
    Credit card debt remover
    Levitra
    Cell Phone Ringtones
    Levaquin
    Cancel card credit debt
    On credit scores
    VPN setup xp
    Cheap Viagra Cialis Levitra
    Credit reporting bureau

    7/4/2007

    Lenovo X60s and Dualhead configuration

    Filed under: — jimmy @ 12:54 am

    The last days I tested the dualhead capabilities of the Lenovo X60s notebook. I had some problems to find a configuration that works without cloning the screen. But in the meantime a newer version of X and the i810 module was released which supports the Xrandr 1.2 extension. Thus it’s possible to change the settings while X is running with the user space tool “xrandr”.
    I downloaded the latest version of grml-x to get a fresh xorg.conf:

    root@subzero ~ % grml-x -nostart -f fluxbox
    

    Since I wanted to run the internal display @1024×768 and the external CRT @1600×1200 I had to add one line to /etc/X11/xorg.conf:

    SubSection "Display"
      Depth     16
      # Modes "1024x768" "800x600" "640x480"  "1600x1200" "1280x1024" "1280x960"
       Virtual 2624 1968
    EndSubSection
    

    Otherwise xrandr would complain that the screen is too small when setting up the layout of the two combined screens (e.g.: xrandr: screen cannot be larger than 1440×1440 (desired size 2048×768)).

    After starting X you can begin to play with xrandr. When executing xrandr without any arguments it lists all available screens and displays.
    To switch the external display off execute:

    jimmy@subzero ~ % xrandr --output VGA --off
    

    To change the resolution of the externalt CRT execute:

    jimmy@subzero ~ % xrandr --output VGA --mode 1600x1200
    

    To setup the CRT to be right of the LCD:

    jimmy@subzero ~ % xrandr --output VGA --right-of LVDS
    

    If you didn’t add the “Virtual 2624 1968″ Line in /etc/X11/xorg.conf, as described above, xrandr would now complain that the screen is too small for the desired size (1024+1600=2624 and 768+1200=1968).
    xrandr has an excellent man page to lookup all the features.

    My tests showed that window managers behave differently when setting up the screen layout. My preferred setup is to have the CRT right of the LCD with a higher resolution. With KDE it worked as expected but with fluxbox I couldn’t use fullscreen on the CRT only. So when switching to fullscreen or when maximizing windows, fluxbox used both screens (CRT and LCD).

    You can download my xorg.conf here

    9/16/2006

    IBM USB floppy and persistent name with udev

    Filed under: — jimmy @ 1:47 pm

    Today I tested my new IBM usb floppy. When I plugged it in, the kernel loaded the usb-storage module and assigned device node /dev/sdc to it. Mounting a floppy-disk worked as exptected. Then I decided that it would be nice if the floppy would always use the same device node, not the first one available. This can be easily achieved with udev. I created a new file /etc/udev/ibm_floppy.rules and made a symbolic link to /etc/udev/rules.d/z81_ibm_floppy.rules. There’s only one line needed in the file:

    BUS=="usb", SYSFS{product}=="TEAC FD-05PUB   " , SYMLINK="ibm-floppy"
    

    When I now plugin my floppy udev creates /dev/ibm-floppy, which is a link to the assigned device node.

    9/14/2006

    Installing Debian sarge on IBM x206m Server with SAS drives

    Filed under: — jimmy @ 9:50 am

    UPDATE! (27.10.2006)
    It seems that the initrd (initial ramdisk) has to be recreated before rebooting. Otherwise the adp94xx module is missing. I was sure that I checked this before posting this HowTo, but a second test and some comments from other users showed me, that it doesn’t work this way. Thus I added the necessary steps.
    I also found out, that there are problems with S-ATA drives. If you follow my HowTo it works, but when using grml-0.8 or ubuntu 6.06 LTS Server Edition it can not access the S-ATA drives. Well, ubuntu uses another driver version but grml-0.8 uses exactly the same driver, built from the same source. I couldn’t find out what’s wrong, maybe a side effect from other parts in the kernel code?

    Some of the newer IBm servers have SAS (serial attached SCSI) Controllers onboard. The driver is not in the linux kernel but you can get the source on the IBM site. Since grml 0.8 we support the SAS driver so if you want to install debian, you can boot with grml and run debootstrap. Another way is to use the sarge installer and load the kernel module before partitioning harddisks. This way is described here:

    • Download the precompiled kernel module for the sarge kernel and copy it to a usb-stick (The modified source code is also available)
    • Boot the server with the debian sarge installer cd
    • Make all steps as usual until the installer fails because no partitionable media was found
    • Switch to the console with <Alt-F2> and hit enter to activate it
    • Plugin your usb-stick and run “modprobe sd-mod”. With “dmesg |tail” you will see an entry which tells you the device node of the stick
    • Run “mkdir /usbstick” and mount it, e.g. “mount /dev/scsi/host0/bus0/target0/lun0/part1 /ubsstick”
      (/dev/scsi/… is the device node, that you saw before in the output of dmesg)

    • Now copy the kernel module with “cp /usbstick/adp94xx.ko /lib/modules/2.6.8-2-386/kernel/drivers/scsi” and run “depmod”
    • Run “umount /usbstick” and unplug the usb-stick. Run “modprobe -r sd-mod”. This steps make sure, that the SAS drive(s) will be named /dev/sda, /dev/sdb, etc. Otherwise /dev/sda would be assigned to the usb-stick.
    • Now load the kernel module: “modprobe adp94xx” and “modprobe sd-mod”, to load the support for scsi disks, again.
    • Watch the output of “dmesg”. The SAS drive(s) and the controller should be detected
    • Go back to the installer screen with <Alt-F1> and repeat the partitioning

    UPDATE! (26.10.2006)
    The following steps are required to recreate the initrd:

    • Continue with the installation up to the last step, when the installer asks you to remove any media and to reboot.
    • Switch back to the console (<Alt-F2>)
    • Copy the adp94xx module to the recently installed kernel: “cp /lib/modules/2.6.8-2-386/kernel/drivers/scsi/adp94xx.ko /target/lib/modules/2.6.8-2-386/kernel/drivers/scsi/”.
    • Now chroot to the installed system which is mounted on /target: “chroot /target”.
    • We need the proc filesystem, so run: “mount /proc”.
    • Run depmod: “depmod”.
    • Create a new initial ramdisk: “mkinitrd -o /boot/initrd.img-2.6.8-2-386 2.6.8-2-386″.
    • Exit from the chroot by hitting Ctrl-D or typing “exit”.
    • Go back to the installer screen with <Alt-F1> and complete the final installation step.