Archive for the Category: ' software '

Posted By mart

Windows 7 and i855 chipset

Final version of Windows 7 is done and it seems that unlike Vista this OS will be a huge success.
There are so many reviews praising this new operating system from Microsoft and everyone is so excited about it. Computers that had very hard time running Windows Vista do not have to be replaced or trashed as W7 should run quite well on it.

There is however one big issue – Windows 7 no longer supports XDDM drivers as Vista did. Instead it just uses the ‘Standard VGA Adapter’ which is good only for standard resolutions. And critical thing for notebook users – it does not allow you to hibernate or put the computer to sleep. Many great Centrino notebooks were shipped with i855 or i915 chipset and integrated graphics that do not support Aero. In Vista it was possible to use XP drivers and everything was fine, but in Windows 7 this no longer works.

Since I really wanted to use Windows 7 on my ThinkPad X40 (i855), I spend hours searching the internet for solution. And I succeeded! This is a step-by-step guide how to make it work:

1. bcdedit.exe -set loadoptions DISABLE_INTEGRITY_CHECKS
2. bcdedit.exe -set nointegritychecks ON
3. reboot to safe mode
4. open Computer Management, update driver for the Display Adapter using THIS drivers (only this version works!)
5. wait for the succesful installation message, reboot in normal mode
6. wait for the ‘New Hardware Found’ dialog to finish, it should give you error for one of the adapters
7. reboot to normal mode
8. wait for the ‘New Hardware Found’ dialog to finish, it should be successful this time
9. reboot to normal mode
10. change the color depth to 32-bit

Please note that I wasn’t the one who found out how to do this and I don’t want to steal credit for it. It is a compilation of various solutions I found on the internet that for some reasons didn’t fully work for me.

EDIT 04/09/2010: the first line is not required, the next one is enough.

Posted By mart

Cloning Vista’s boot drive

It feels like it was yesterday when I purchased a 3.2GB hard drive (IBM Deskstar DAQA-33240), the biggest capacity available at that time, for (now) ridiculos price of 380 USD. It was year 1997 and I could not imagine I will be able to make it full…

Last weekend I ran out of disk space on my 160GB system drive. Since I was too lazy to search through the files and delete the unneeded ones, and since I had an extra 320GB disk in the cabinet, I decided to simply clone the drive. For this task I always use Acronis TrueImage Rescue CD – connect the new hard drive, boot from CD, select source and destination drive, start the process and within minutes it is done. Take out the old drive, boot to OS, one more restart (new hardware found) and it’s done.

Previously I was cloning either Windows XP or 2003 server and those worked without problems. This time it was my first attempt to clone Windows Vista – and it failed. After succesful cloning of the drive, Vista started booting but reported error that winload.exe is corrupted. After some googling I was able to find the answer and solution to this problem.  The trick is to modify the boot configuration data before the cloning operation to fool the boot loader.

1. open command line and run ‘bcdedit’ – it will return something like this (from Vista x64):

Windows Boot Manager
——————–
identifier              {bootmgr}
device                  partition=C:
description             Windows Boot Manager
locale                  en-US
inherit                 {globalsettings}
displayorder            {current}
toolsdisplayorder       {memdiag}
timeout                 3
resume                  No

Windows Boot Loader
——————-
identifier              {current}
device                  partition=C:
path                    \Windows\system32\winload.exe
description             Microsoft Windows Vista
locale                  en-US
inherit                 {bootloadersettings}
osdevice                partition=C:
systemroot              \Windows
resumeobject            {2c528445-aefb-11dd-abf0-86e4099117f6}
nx                      OptIn

2. we need to replace the string ‘partition=C:’ with ‘boot’ to make it work, so run following commands:

bcdedit /set {bootmgr} device boot
bcdedit /set {current} device boot
bcdedit /set {current} osdevice boot
bcdedit /set {memdiag} device boot

3. clone the disk and the problem with winload.exe is gone, Vista boots from the new drive.

Posted By mart

When 2GB of memory is not enough

Too bad I forgot which game I was trying to install…

Due to some issues with MS SQL 2005 and Reporting Services I was forced to update installation at our customer’s site to at least Service Pack 2. What seemed to be a trivial task turned into a nightmare (and daymare as well).

The first problem we had was that we were running the RTM version. Even though SP2 is cummulative update and it should be possible to install it directly, during the preinstallation checks it failed to connect to both the SQL Server and Reporting Services instances and reported authentication error.

I found plenty of similar reports on many internet forums but only one advice – SP2 might have these issues when installing over RTM, so install SP1 first and then SP2, it will work fine. But I didn’t have the SP1 installation package! If I was at home, the 300MB download would take just few minutes to complete, but here in the middle of Africa it took almost 12 hours.

<praise>Thank you Lord for resumable downloads. </praise>

The next evening, SP1 installation seemed to work fine  - well, except the SQL database. The update failed with error code 1603. First I thought that maybe the downloaded file was corrupted and the MSP file is broken but it was fine. So what, DB can stay at RTM, I need reporting services. Except that they won’t start.

Some more googling, but no advice on this error 1603 – it is not SQL specific, it is generated by windows installer. Oh well… let’s try the SP2 now!

SP2 now passed the preinstallation check, much to my surprise since the DB instance was still running at RTM level as before. Installation finished in few minutes, and again – 1603 error when trying to update the DB instance.

I ran through the megabytes of logs generated by the installer but didn’t find anything helpful except the following message:

Property(S): SQL200564Hotfix3042 = C:\install\SQL.2005.SP2\HotFixSQL\Files\sqlrun_sql.msp
MSI (s) (1C:98) [01:58:35:286]: Product: Microsoft SQL Server 2005 (64-bit) – Update ‘Service Pack 2 for SQL Server Database Services 2005 (64-bit) ENU (KB921896)’ could not be installed. Error code 1603. Additional information is available in the log file C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Hotfix\SQL9_Hotfix_KB921896_sqlrun_sql.msp.log.

Well, as one can expect, this is all that I found inside the SQL9_Hotfix_KB921896_sqlrun_sql.msp.log file :)

Out of desperation I checked the event log, and there it was! One simple sentence that lead to the solution:

MSP Error: 29506 SQL Server Setup failed to modify security permissions on file C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\ for user martin.havlicek. To proceed, verify that the account and domain running SQL Server Setup exist, that the account running SQL Server Setup has administrator privileges, and that exists on the destination drive.

Someone created a subfolder with database backup in the Data folder with security permissions only for himself and the installer didn’t like that at all. I took ownership of that folder, deleted it (backup was from 2007!) and rerun the SP2 installation – and it worked perfectly!

So in case you are getting the same error as I was, you might find this info helpful.

Posted By mart

giving Vista a second chance…

In February 2007 when Windows Vista was released I gave it a try and was as many many other users quite disappointed. The main complaint was the bloody hardware requirements, very slow performance and some of the new features being more restrictive than helpful. My computer was kept occupied all the time only by the operating system and I was thinking, what would happen if I actually try to run some applications? Like Visual Studio? Or games? Network performance was also an issue, transferring files between two computers made me remember 90′s and coax 10Mbps ethernet. So after only few days – actually even hours – I gladly returned to Windows XP.

With the release of Service Pack 1 earlier this year Microsoft addressed most of the issues that everyone was complaining about and Vista actually became quite usable OS. Shall I give it a second chance? The decision was made when my 15krpm Ultra160 SCSI Seagate system drive moaned loudly and simply stopped spinning. So I just grabbed the original 160GB SATA drive and used it instead. The PC I tried it on is pretty obsolete in 2008 – HP dx6120 with 3GHz Pentium 4, 2GB RAM and i915G chipset – anything new you buy these days is better than that.

Funny thing – when the new installation of OS, all drivers and applications was finished, miracle happened and the Seagate came back from the dead… Murphy was right!

The installation was fast, done in about 20 minutes, everything worked fine except the AC97 sound – I downloaded it from HP website. The default WDDM video driver for i915 was behaving weird when playing movies (using ffdshow), I installed the latest i915 driver for Windows XP and problem was gone.

Note – i915G chipset, both desktop or mobile version, is not able to run Aero – blame Intel for that one, though they clain the chipset was designed long before Vista was released and that’s why it is not supported, even older GeForce and Radeon cards happily work with Aero, so something stinks here. Vista will work in ‘basic’ non-Aero mode but from my experience it looks much worse and is much slower than the fully accelerated Aero engine. So if you have free AGP or PCI-E slot, sacrifice 50USD and get a cheap DX9/10 GPU – it is worth it.

Get at least 2GB of RAM, especially DDR2 is so cheap these days, Vista (unlike XP) takes full advantage of it. IThere are lots of complaints that Vista uses all memory there is – and that’s true, it does. What is the use of having lots of memory when it is not in use? When other applications need memory and ask for it, it is freed immediately, until then Vista uses it used as a system cache.

Multi core CPU is not necessary, HT works fine, and my other computer with 2GHz Pentium M runs Vista quite as well.

I also noticed it takes couple of days for Vista to get used to the hardware and optimize itself, after that it runs much faster. So it seems that the prefetch and optimalization crap actually works…

The only problem I had was obtaining the Vista SP1 installation DVD – slipstreaming the service pack easily into the installation DVD as it was done in Windows 2000, XP and 2003 is no longer possible. I found an article compiled from various sources how to make a SP1 DVD from the RTM + SP1 installer and it was really long and complicated story. I cheated – downloaded the ISO image from MSDN.

So after my first negative review I have changed my mind and am now a happy Vista user. And since Windows XP is getting harder to get these days and in few months it won’t be available anymore, like it or not, Vista is the only choice. Le roi est mort, vive le roi.

Well, of course, if you have so much spare time, don’t know how to use mouse or still run on 386SX, you can go for Linux… ;)

Posted By mart

Windows XP SP3 Release Candidate

A litle belated news but for many people quite important – on 12/18/2007 Microsoft released for public testing third service pack for it’s so far most favourite operating system Windows XP. You can download it here -  it’s 336MB. It doesn’t include any new functionality and is just a rollup of all hotfixes and updates since 3+ years old SP2. It would have been nice if it included Internet Explorer 7 and Windows Media Player 11 but ‘thanks’ to idiots in various EU and US commities ‘protecting’ us from MS monopoly it is available only as a separate download.

As with any other RC sofware it is not recommended for production machines. but from my experience so far is pretty stable with no big problems. Windows Vista SP1 RC is out there as well though not widely available (but those who want it know where to find it :)

Posted By mart

OS/2 FixPak installation from hard drive

IBM unlike MS provides (well, not anymore) fixpaks in the form of diskette images. Because floppy disks are notoriously unreliable, slow  and expensive these days, it is much better to install FixPaks using other method – extract the content of all the diskette images to hard drive and then apply it to your OS/2 installation.

You will need the following:

1. FixPak files (from IBM FTP server)
2. latest version of RSU Corrective Service Facility (CSF) (from IBM FTP server)
3. DSKXTRCT utility for extracting the diskette images (from Hobbes FTP server)

Then follow these steps: 

1. Extract CSF ZIP archive into a directory, for example C:\FIXPAK.
2. Use DSKXTRCT to extract all the diskette images to the same directory using syntax:

    DSKXTRCT /S:<name of image file(s)> /T:<target directory>

3. Start FixPak installation using following command:

    OS2SERV <path to CSF directory> <path to FixPak directory>

In our example it would be OS2SERV C:\FIXPAK\CSF C:\FIXPAK

Posted By mart

Adding your own search provider to IE7

Internet Explorer 7 has built in search and by default it uses Live Search by Microsoft. You can however choose from a list of other providers that is available at http://www.microsoft.com/windows/ie/searchguide/en-en/default.mspx

Recently I was looking for some movies and TV series on Internet Movie Database (www.imdb.com) and I thought it might be nice if I am able to search not through the website but directly from IE. But since IMDB is not one of the listed available providers, I had to find a way how to add it manually myself. Programmers in MS are not stupid and made this task quite easy – all you had to do is to follow the 5 steps shown on the website:

Search

Put the following line in the first box:
http://www.imdb.com/find?s=all&q=TEST

The simply add a name for the search provider and you’re done. Easy!

Posted By mart

Installing SLES 10 SP1 on IA64

I admit it, I’m a Windows guy. Almost 20 years ago I started with MS-DOS, continued on Windows 3.11, then 95, replaced them with OS/2 Warp (may it rest in peace…), back to Windows NT, then XP and 2003, now friendshipping with Vista. But time to time I get the crazy idea to try something new and I’m off to hunt penguins.
Yes, Linux has improved in the past few years and the installation of many distros is quite simple and straightforward - as long as you don’t have any ‘exotic’ hardware. If you find out that your audio, video or whatever card is not supported, then you’re in trouble. Especially when you don’t expect it just like me…

Last week I decided to try SLES 10 SP1 on my Dell PowerEdge 3250 server. Knowing that there are actually only THREE different mainboards made for Itanium 2 CPU’s (all from Intel and two are no longer manufactured) I didn’t expect any problems since it seems quite easy to test the final release on three different configurations. Oh, how I was wrong.

Just when the graphical part of the installation (YaST2) kicked in, the screen went blank and greeted me with ‘Signal out of range’ error. Ok, maybe I overlooked something or made wrong selection, let’s try again and reboot…

More »