Showing posts with label Mint 6. Show all posts
Showing posts with label Mint 6. Show all posts

Saturday, December 20, 2008

Mint 5 / Ubuntu 8.10 / IBM X30 dump and stir

Mint 5 and 6 have failed me on two different system installs. Very un-Linux-like these days. The first time is my office Dell 745: Neither Mint 5 or Mint 6 will install there. The second time was just Mint 6 and my former IBM X30 laptop: Again, will not install. In both cases it appears that the default graphics mode, as well as the safe mode, just will not work on the computers graphics hardware. Mint is fully spun down to the hard drive, but X just won't work.

In the case of the Dell 745, Ubuntu 8.04 (The basis of Mint 5) and Ubuntu 8.10 (Mint 6's underpinnings) both installed just fine on the 745. That Ubuntu would install and Mint would not is proof that even though Mint is based on Ubuntu, it is *not* Ubuntu. Normally this is not a problem: I have generally preferred Mints defaults for theme and default application selection, and use of whichever driver is needed to make the hardware work. Since Mint 5, I have been running Ubuntu on the office Dell 745. Oddly, Mint 6 works just fine... and in fact, spectacularly well on my Dell D620 laptop.

Ubuntu 8.10 would not install on my IBM X30. Same symptoms. Looks like it is installed, just X will not work.

Backing up a second: I was running Mint 5 on the IBM X30. I decided to give the X30 to my brother for Xmas, and that meant a complete rebuild. Mint 6 would not install: Same behavior as Mint 6 on the Dell 745. It boots, I pick to run the Live CD and then it spins for a bit, and never displays another thing. Same thing in safe graphics mode. Ubuntu 8.10 does the same thing on the X30 though. Ubuntu has a mode Mint deletes where I can just install rather than running the LiveCD. I did this, but the same blank screen appears after the install. The graphics mode is shot. I boot to single user and look, and the xorg.conf file is essentially blank. Just a few empty stanzas.

If this were going to stay my computer, I would have hacked the file and seen if I could get it to work, My brother is not a computer guy: I need to give him a computer that just works. He has a Mint 5 desktop system I built for him a while back, and that has just worked. The laptop needs to be the same.

I decided to try something, and jumping ahead, it worked. I re-installed Mint 5 (more or less Ubuntu 8.04) and got that running easily on the X30. Then, using Synaptic I installed the Ubuntu software updater. Mint has a nifty software updater, designed to create stable systems by only recommending for install software packages that the Mint community has tested. I was going way off that farm. The Ubuntu software updater has a distro update mode.

My working theory was that if I updated to Ubuntu 8.10 on an already configured system that it would use the previous settings and all would be well. Firing up the Ubuntu software update, it did in fact offer to take the system from what it thought was 8.04 to 8.10. I accepted, and it downloaded and installed 1800 software packages. I now had the look and feel and apps of Mint 5, laid over the top of Ubuntu 8.10, not its "native" 8.04.

The system booted and went into X without issue. I updated and installed various software packages like HFS and Macutils so that his laptop would be compatible with his wife's iBook. Used to be a joint laptop, but with the X30, she gets full ownership of the iBook I think. That was part of the idea of the gift: have then be able to both use a laptop at the same time.


I rebooted the X30 a few more times, just to be sure everything stayed put. The boot sequence is unlike Mint or Ubuntu: Looks like part of the bootsplashes are mixed up. I actually like the it better this way, as it gives some details about what it is doing without being too verbose.

There is some very very slight weirdness in the way that the screen is drawn. Maybe a compositing thing with Compiz. Sometimes it appears the X server forgets to turn on or off certain pixels in text. It is not horrible. Just slightly annoying. I am actiually kind of amazed that the Compiz stuff works, and rather quickly, on hardware this old. Vista would be frozen solid trying to use such an "ancient" (in computer years) video system. I thought about just taking it back to Mint 5 and being done with it, but I really wanted everything as updated as I can get it. It will be a long time before this computer gets another update. I decided to leave it as it was.

We had an early Xmas with that corner of the clan. He seemed thrilled with the new toy: It met the definition of a good gift I think: Unlike me, who buys computers all the time, computers are just not something he would buy, even though he uses every one I ever built for him. I included in the X30 package not just the X30 but an extended battery, an Atheros 802.11G PCMCIA card, a dual USB 2.0 port PCMCIA card, since the default USB ports are 1.1, and the 'blade' so that he can have a CDROM should he need it.


The USB 2.0 card came in especially handy, and Linux immediately knew what to do with the card. No driver muss or fuss.

Turns out my brother got a digital camera for Xmas too. An electronic Xmas! First challenge of the Mintish X30 was transferring pictures from the camera to the laptop via the USB 2.0 card. I had not anticipated that camera (but I guess I should have: Who uses film anymore?) but it was easy to have Synaptic grab F-Spot, and then pictures were then transferred easily. It appeared there was a bug in F-Spot: It was set to put the photos in a directory called "Pictures" but it kept putting then in the home directory. I did not have a chance to look into this one yet. I did verify it does the same thing on my Acer Aspire One running Mint 6 though.


Tags: , , , , , , , , .


Powered by Qumana

Sunday, December 7, 2008

Now in the Handy Hospital Size

This last week has been a very special week:

  • On Monday, while chasing the overgrown puppy to keep her from escaping, my wife fell and broke her ankle.
  • On Thursday, the doctor said “Going to have to make your wife bionic, I.E., install titanium plate and a number of screws”.
  • Friday was spent in the day surgery ward
  • And the subsequent weekend was about pain and dealing with a hard headed woman who wants no help from anyone, even when she can’t walk an inch.
I guess being stubborn is endearing at some level. Must be: I am hardly less so. But this isn’t about me....

My title for this is actually a reference to the Acer Aspire One (or AAO, sometimes apparently in blogspace the AA1).

Someone asked me why I use the AAO instead of the Macbook when I am out and about. That was a mistaken impression I had given because I was talking so much about the AAO (such as two recent posts here and here) and not at all about the MacBook. Most of the time the MacBook is with me in the backpack in case I need a real computer to do real work. The AAO, even with a real OS such as Mint rather than WinXP, is suboptimal for extended or serious work. This is mostly because the screen and keyboard, rather than the processor or RAM after the upgrade and with the efficient multitasking OS. (Aside: I have no idea why WinXP chokes on this computer when I try to do more than two things at once, but Linux doesn’t have the limitation, so XP stays unbooted most of the time, except when I am making sure it is fully patched or testing something with IE).

Still, one main reason to have the AAO was for exactly this last week. Lots of time is hospital waiting rooms, lots of getting up and moving from place to place. Lots of chances to pack and unpack the computer. With the AAO’s tiny size and weight, it is all a snap. And worst case, should the AAO be stolen from the waiting rooms while I am nearby but distracted by talking to a doctor, nurse, or what is happening to someone’s baby on “One Life to Live” (Monday in the ER waiting room was all soap day: I guess they didn’t have CNN or MSNBC available on that TV), then I am out the AAO and 350 USD, not the Macbook and my 3,200 USD (from three years ago, to be sure).

On Monday, after they were done putting on the temporary cast and giving me the bad news that the ankle was broken in such a way that they were referring it to a Ortho, the day nurse asked me that the cute little computer was. I replied that this was the “Handy hospital size”. She looked at it, impressed that computers came in such a thing as a hospital size. Then she looked at me with a bit of doubt, feeling correctly that someone nearby was probably pulling her leg. Only seemed fair after what was going on to my S.O.’s leg.

I should inject here that the hospital was/is Memorial Hermann, and that they had an open if slow access point in both the ER and the day surgery waiting areas. Nice. I should also say that compared to our last experience with a hospital emergency room that this whole level of care was much better. It was not without its issues, and it is crystal clear to me that there is both good and bad stuff going on in the US health care system. That is a whole other post.

Friday was more of the same in terms of waiting, and in terms of the utility of the AAO. It was very handy to be able to read all my email from work, and keep every one in the family status’ed on progress, as I learned it from the various members of the staff, or from direct observation. As I moved from check-in to pre-Op to waiting room to lunch to waiting room to post-Op to go-home-prep area, the AAO tagged along and allowed me to stay in touch, even in areas of the hospital where the cell phone was utterly at zero bars. The wifi was omnipresent at MH. The iPhone and the AAO were always in touch.

With every change of location, it was easy to close and tuck the little 2.2 pound laptop back into its Car-DVD-case-acting-like-a-laptop-case. Linux went into suspend mode almost immediately and always recovered (except for the sound server, which is always a goner after the first suspend and takes a reboot to get back. Not like I need that in the hospital though). If I was using the power cord, that took a bit longer to stow. The AAO comes with a long power cord. Good for waiting rooms when you may not be able to sit close to the outlet. With small default battery the AAO comes with, I was using the cord fairly often. I will be watching for a six cell battery for this thing like a hawk.

I supposed I could have done most of surgery day with just the iPhone and an external battery to keep it charged, but reading work email off the iPhone would entail using the craptastic Outlook webmail interface via Safari. Do-able. Not fun, and really not fun for an entire day, From that point of view, the AAO’s screen and keyboard look positively capacious.

While I was being silly with the ER nurse, it turns that in fact, the AAO (with Linux Mint 6) really is a handy hospital size.

Monday, November 17, 2008

Mint 6 RC1 on the Acer Aspire One

Mint 6 RC1 on the Acer Aspire One

Codenamed "Felicia",Mint 6 is due to arrive this month, and RC1 is already available over at http://linuxmint.com.

Mint 6 is built off the solid basis of Ubuntu 8.10, and inherits most of its goodness, and layers on the extras that make Mint my favorite Distro right now. I'll have a post up soon over at TalkBMC about using Mint 6 as the main office distro. This one is about Mint on the Acer Aspire One (AAO) though..

When we last left the AAO I had just added more memory and was experimenting with Puppy Linux. Since that time I have found that the power supplies for my Compaq M300's work on the AAO: Not great: the Compaq PS plug is slightly smaller in exterior diameter, but it fits well enough I can leave the real AAO power cord in the "car 11" DVDplayer" bag I bought to act as the AAO's case. I can have a power station on my desk, and another by the bed, and don't have to unpack the cord. Very handy. Kind of ironic, since the M300 sort of fit the same slot of computing hardware the AAO does.

A friend of mine told me that Mint 6 RC 1 was out, so I went and downloaded it to the MS Windows side of the AAO. The reason for this is that I have some handy tools for making bootable USB fobs over there on MS WIn that I got from the following tutorial on PenDriveLinux:

http://www.pendrivelinux.com/2008/11/15/usb-boot-cd-for-ubuntu-810/

There is a sort of beauty to using MS Win to create Linux boot media.

I booted the AAO back over to WinXP SP 3. There I created a mint6 directory on the NTFS partition, and downloaded all the bits noted on the tutorial link above, plus the mint 6 .iso to the new mint6 directory. Next I modified the batch file there (inside the .zip download) and renamed it mint6.bat. The modification was just to change the two places inside the batch file that it refers to the .iso by name to point at the mint6 rc 1 .iso instead.

Then I inserted my USB fob.. that one that had Puppy 4.1.1 on it... formated it, and ran the new mint6.bat. This calls 7zip (7zip also is included in the .zip download) to unpack some stuff from the .iso {handy that 7zip understands .iso}), copies it to the USB fob, and makes the fob bootable with 'makeboot' (also included in the .zip download). It is clean and easy. Whoever created that .zip did all the work.

I have the AAO set to boot USB first by default, so I booted the USB key, and Mint 6 RC1 flew up. Fast. Amazing how much faster USB keys boot than CD's. I then clicked the install icon, and started the install process.

If you have ever installed Mint or Ubunbtu, there will be no mysteries on the install. Same set of screens. Same annoying graphical time zone setter (although it does seem to work a little better than it did, but not by much) When I got to the disk layout, I did the usual manual definitions since this system dual boots. Disk layout on the AAO looks like this in 'fdisk':


The number of cylinders for this disk is set to 19457.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x11a8ba38

Device Boot Start End Blocks Id System
/dev/sda1 1 637 5116671 12 Compaq diagnostics
/dev/sda2 * 638 4285 29302560 7 HPFS/NTFS
/dev/sda3 4286 5258 7815622+ 83 Linux
/dev/sda4 5259 19457 114053467+ 5 Extended
/dev/sda5 5259 5501 1951866 82 Linux swap / Solaris
/dev/sda6 5502 19457 112101538+ 83 Linux

I really love that the AAO has a 160 GB hard drive. Since the Acer's box said that it was a 120 GB unit, I resent less that MS Win is taking up part of the space.

  • SDA1 is the restore partition defined by Acer and more than likely made useless by this system being dual boot. 5 GB that will probably never be of use.
  • SDA2 is MS Win XP SP3.
  • SDA3 is '/'.
  • SDA6 is 'home'.

I had Mint format sda3, and just told it to mount up the rest as is.

The installer then formated SDA3, and took less than 3 minutes to install the software, and less than three more to download language packs, and then it was time to reboot the system. Total install time was less that 10 minutes.

Up to this point, other than everything having the Mint theme, this was all like the Ubuntu 8.10 install before. This changed with the reboot. Ubuntu 8.10 and the wireless card.

Ubuntu required that I *unload* the Athero wireless drivers before the Atheros wireless card would work. Seems counter intuitive, but that is what worked.

With Mint 6 booted, it could not 'see' the wireless card, and so I assumed that the same thing would work for Mint. Nope. I unloaded and rebooted and Mint 6 still could not see the wireless card. I went round and round. It was odd. The hardware was clearly visible to lspci:

03:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)


No drivers would work. This is not good, because Atheros is one of the good guys/companies when it comes to Linux, having fully released Open Source versions of their hardwares drivers.

http://www.atheros.com/news/linux.html

Weirder, this all worked under Ubuntu 8.10. If there was ever any doubt Mint is not the same Distro as Ubuntu, it is erased by things like this. This *is* RC1 though. I have no doubt that this will be fixed by GA, or shortly after: If nothing else, I have read the Ubuntu will be fixing the Atheros drivers in the hardware manager and Mint should pick that up.

This presented me with an opportunity though. Previous to this Mint had always supported my wireless cards so well I have never had a chance to play with their MS Windows driver install tool (System / administration / Windows Wireless Drivers). I know that NDISWrapper is the secret sauce behind this tool, and that is a little controversial in Linux circles. I agree that I would rather the Atheros native stuff be working, but it isn't, and I either need wireless to work, or I need to go back to Ubuntu 8.10. I decided to do NDISWrapper for now.

I pointed the tool at the Windows driver over in the MS Windows partition (cleverly mounted as /windows), and it does *not* activate the wireless card.

/windows/WINDOWS/system32/netathw.inf

It says that it see the hardware, but it does not create the wlan0 device.

Humm.. I grabbed some Atheros Drivers from here:

http://download2.dvd-driver.cz/atheros/drivers/ar5008/xp32-6.0.3.85.zip

And these worked. In fact, wireless seems every bit as crisp with NDISWrapper and these as Ubuntu 8.10 did with the native drivers... if not *better*. That just seems wrong at so many levels. But it is true as far as feelings can measure things. How long it takes to find the WAP and sync up seems to be 1/3 of the time that it used to be under Ubuntu 8.10.

The other malfunction of Mint, and Ubuntu had this as well, is that when I suspend the unit (and it suspends quickly and without drama) and then return to service, I have no sound. The new-fangled PulseAudio sound server does not appear to like suspend / resume operations.

To test out the speed and efficiency of the AAO unit running Mint, I went over to MSNBC and started to watch an episode of Rachel Maddow's show (http://www.msnbc.msn.com/id/26315908). It herked and jerked something fierce. Sound was smooth though. I had done the same exact thing with the same exact computer under MS Win: I knew the AAO with is hyperthreaded 1.6 Ghz processor and 1.5 GB of RAM had the resources do this. I suspected that Mint had a weird default for the Flash player, or that at the very least this was not Flash 10. Adobe had recently release Adobe 10 for Linux, bringing it to Flash player parity with the rest of the computing platform world. I know it is not Open Source, but I still have hope that one day Adobe will see the light here. Or that one of the Open Source Flash players will catch up enough to play Rachel without digital jitter.

Looking in Synaptic, the flash player installed was called "Flashplayer-nonfree" and was labeled as being "10.0.12.36ubuntu1". Right next to that was one labeled "Adobe-Flashplugin", and it was at version "10.0.12.36-1intrepid2". I flipped them, and sure enough, Rachel was now playing smoothly. That was the main thing. I love my Linux and all, but don't be messing with the "Rachel Maddow" show. I won't go back to MS Windows or anything, but I would start using my Mac for everything Rachel if need be.

The irony that Rachel is on MSNBC is not lost on me either. Rachel, like our new, actual, real president (to be) is a Mac user. And I watch her from Linux... It is a multi-computer-cultural world these days.

Next I fired up an .mp4 rip of a DVD, to see how that would work, and here there were no problems. In fact, the AAO makes a fine little digital show viewer. It's fabulous LED backlit LCD screen is just perfect for watching a programme late at night while the SO snores on.

OpenOffice.org stays at 2.41 in Mint. I had hoped that Mint 6, being released just enough after Ubuntu 8.10 that OOo 3.0 was out would pick up the new OpenOffice, but Clem and company decided to stay with 2.4.1. it may not be that big a deal though. The main reason I wanted OOo was to be able to read MS Office 97 documents, and it turns out Ubuntu and therefore Mint have reached forward with a mod to their copy of OpenOffice 2.4 and grabbed 3.0's ability to read and write to MS's new format. I tested that at the office the other day with a Mint 6 / OOo 2.4.1 install I have there, and it worked great. I am not a fan of the MS for4mat, but I realist enough to know that interoperability is going to be required for a while yet.

I installed OOo 3.0 on a different, Ubuntu 8.10 based computer at the office, and am sort of sorry I did. For now, 2.4.1 is more stable, at least on Ubuntu and probably Mint.

Wrap up: Mint 6 stays on the AAO even in RC1 form. I have the wireless problem worked around for now, but will keep trying to get the real drivers going every time a new kernel point release comes downstream in MintUpdate. In fact, I will reach ahead and install all kernel related stuff ahead of when MintUpdate classifies then as '3's. I really want native Atheros drivers. I also hope the sound / suspend problem gets fixed by a kernel update.