So, as some of you may be aware, I recently went through the process of picking out and acquiring a new laptop. To all of you who helped me narrow my search down to a reasonable number of things, thank you! It helped me out a lot. I know several of you were curious as to how things turned out. Well, here you go!
The Laptop, revisited: It’s a Lenovo ThinkPad X201. I customized mine, since I’m picky as all hell. Here is what I went with:
Processor: Intel Core i5 560M
RAM: 8GB DDR3 PC3-5800
HDD: 500GB 7200rpm
Wireless: ThinkPad b/g/n — More on this to follow
Along with other various tweeks.
So, after a bit of a hassle with UPS, my laptop showed up on Tuesday. I immediately ripped it out of the box, and then proceeded to take it completely apart =P. (What can I say, I’m a geek) which leads me to my first real impression of the laptop. It’s rock solid. And better yet, it’s easy to take apart. That’s a nice big plus for me. If I need to open a laptop up, I’d prefer not have to argue with it for 30 minutes to do so. Lenovo provides the maintenance manuals online and they walk you through everything. As of now, I was able to take it apart last night for a quick change and put it back together in under 4 minutes. Thant’s pretty damn nice for a laptop.
As some of you read before, the ThinkPad b/g/n wireless is not atheros based. It’s in fact a realtek card. So I had purchased an older ThinkPad a/b/g/n card on ebay which was. Well, as it turns out, this wouldn’t actually fit into the space in the case. Not because it was the wrong type of card, but because they have screw down points for a half length mini-pcie card and screw down points for a full length mini-pcie card. The old ThinkPad wireless cards are full length, and they have a bulge on the top and the bottom. The one on the bottom runs into the half length screw down points. So I hopped back onto ebay to order a half length atheros card =). $20 later, I was done.
I then put everything back together, and made sure it still booted. No issues. I reboot, stick in my Gentoo LiveCD (One of the 4938321 that are laying around my apartment. I lose them a lot =P). And start the Gentooification. I’m fairly picky when it comes to my laptop setups. I had drive encryption to deal with, which involved writing Pseudo-Random data to the disk first. It was a 30G root partition, and a 300G home partition. I only did root to begin with. That took 2 hours to begin with. I then proceeded with my install. The reason I went so high on the RAM was so that I could put a 3Gish ramdisk on /var/tmp/portage. That adds a very nice boost to compiling speeds. I got everything updated, and then optimized the ever living crap out of it. I use distcc for a lot, so I can’t use -march=native. Here are my CFLAGS.
CFLAGS=”-O2 -march=core2 -mtune=core2 -mcx16 -msahf -maes -mpclmul -mpopcnt -msse4.2 –param l1-cache-size=32 –param l1-cache-line-size=64 –param l2-cache-size=256 -fomit-frame-pointer -pipe”
I then did a full toolchain recompile.. twice. And recompiled @system a few times after that. Satisfied that things were fairly optimized, I moved on to the rest of the install. Kernel, grub, and several other packages later, I had a booting system. Reboot it, and huzzah. It works. Install X, KDE, and a zillion other packages, and I’m more or less done. The current realtek card worked quite nicely all things considered. However, I live having AP mode and monitor mode, so it will have to go.
Flash forward to last night. My new half mini-pcie atheros card showed up. Reboot to Windows (Sad times, I know, but I don’t like doing BIOS work in *nix) I download the updates to the current BIOS from Lenovo and install them. Now, the X201 has a wlan card white list. I found a plethora of information for getting around that. (Google is your friend =P) As it turns out, while I was working on hacking the white list out myself, I found a .zip on a forum with the already de-white-listed BIOS. So I had been hanging onto that to try. Why waste my time when someone else has done it already =). I flash that modified BIOS, reboot, and pray. It comes back on, no issues. Shut it down again, rip it apart, put the new card in, reboot, and WOOT, it comes back on again. No issues, no white list failures. My adventure was complete. I look in Gentoo, and sure enough, it sees the card, and ath9k is already loaded. (I do custom kernels, so I had already build the module in anticipation.)
And that, is my story. As to the laptop itself, I couldn’t rave about it more. It’s powerful, it’s the perfect size at 12.1″. It weighs a scant 3lb ish. And it has a 9 cell 11 hour battery. I couldn’t ask for more, save maybe a SSD. I’ll get one of those eventually too. Just waiting for some of the newer ones and to try one out in a desktop for a while. Otherwise, perfection. I don’t have a single thing I couldn’t get working. Suspend to RAM is flawless. (I don’t have Suspend to Disk set up yet since I don’t generally use it. I will eventually) I can’t rave about it enough.
If you’re in the market, the X201 is a great way to go for Gentoo if you’re comfortable cracking the case and putting in an atheros card (or going with Intel card to begin with if that does what you want).
Thanks again to everyone that helped out with the research / decision!
Side note: if you decide to get one, and want the BIOS files I use, shoot me an e-mail. I’ll send them to you signed.