InstallingUbuntuOnADellVostro1500

Differences between revisions 1 and 2
Revision 1 as of 2008-02-23 17:35:32
Size: 11836
Editor: correo
Comment: Prerelease version. missing some parts
Revision 2 as of 2008-02-23 22:44:42
Size: 11992
Editor: correo
Comment: mediadirect damages grub
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
I'm going to highlight the issues that affect the Dell ISO so it's easy to apply the real ones. WARNING: If you push the Windows Media Direct Button after installing the Dell OS Reinstallation DVD you would lost the GRUB start, i'm just looking at this issue so i can provide a workaround. In my test with the Ubuntu ISO there's no such issue.

Introduction

The company i work for, recently bought some Dell Vostro 1500 for our technical staff, and luckily i was allowed to do some tests on them for this wiki. I hope it helps someone out there.

Installing Ubuntu Gutsy 7.10 on a Dell Vostro 1500 is straightforward. This time i took two different approaches, one using Dell Reinstallation ISO, the other one using Ubuntu standard ISO. Both aproaches seem to work well, if you use the Dell ISO you'd save some time solving the audio issue and the flash player bug ( https://bugs.launchpad.net/ubuntu/+source/flashplugin-nonfree/+bug/173890 ) , the other problems seem to be there, but as i've said in my previous post these are not showstoppers in any way.

About Dell Reinstallation ISO

As Dell kindly provided some OS Reinstallation ISOs for Inspiron 1420n, 530n and the XPS M1330n i've decided to give them a try. As I've previously used the Inspiron 1420n fixes for my Vostro 1700 (https://wiki.ubuntu.com/InstallingUbuntuOnADellVostro1700) i'm using the 1420n intel x3100 DVD ISO image for the install. You can grab your copy here:

http://linux.dell.com/wiki/index.php/Ubuntu_7.10#Dell_OS_Reinstallation_7.10_DVD_ISO

WARNING: If you push the Windows Media Direct Button after installing the Dell OS Reinstallation DVD you would lost the GRUB start, i'm just looking at this issue so i can provide a workaround. In my test with the Ubuntu ISO there's no such issue.

About Dell Vostro 1500

The specs for the laptop are:

  • 15.4" WXGA+ (1280x800)
  • 2GB DDR2 667Mhz SDRAM
  • DVD+/-RW 8X IDE (HL-DT-ST DVD+/-RW GSA-T21N, FwRev=A102 ) Hitachi LG drive

  • MK1246GSX, FwRev=LB212D 120G TOSHIBA Hard Drive

  • Intel Corporation Mobile GM965/GL960 Integrated Graphics
  • Intel PRO/Wireless 3945ABG (802.11a/b/g)
  • Broadcom Corp BCM2045 Dell Computer Corp Bluetooth (ID 413c:8126)
  • Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (03:01.1)

  • Intel Corporation 82801H (ICH8 Family) HD Audio Controller

List of bugs affecting this system

Wireless subsystem (Dell's ISO & Ubuntu's ISO)

With the ipw3945 driver:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/109887 [Wireless connection drops]

With the iwl3945 driver:

https://bugs.launchpad.net/ubuntu/+source/linux-ubuntu-modules-2.6.22/+bug/176271 [throughput diminished] https://bugs.launchpad.net/ubuntu/+source/linux-ubuntu-modules-2.6.22/+bug/130457 [suspend, hibernate issues]

Audio subsystem (Ubuntu's ISO)

https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/78257 [No sound after suspend]

Hard Disk Drive (Dell's ISO & Ubuntu's ISO)

https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/137470 [NCQ spurious completions]

Dell's ISO details of Installation

Make sure to start with the Ubuntu Default Start Option, the first in the menu after you popup the DVD.

The Live Desktop would not start but an automated install would be held. Take into account that as this ISO is a Reinstallation media, it would WIPE OUT totally your hard drive. Also you wouldn't have the chance to adjust your partitioning schema as is by factory default's (I don't like it very much, but it's minded for a general audience so probably is the simplest one). At the end of the automated install you'll be asked for language, keyboard and user data.

Restart your system and you'll be ready to go.

Be sure to apply all of the updates, also it's a good time to enable all the repositories.

As soon as it's finished you'll want to solve the Wireless and Hard Disk Drive issues.

Ubuntu's ISO details of Installation

The major issue at install time is the repartitioning of the Dell System. Mine had Vista Home Basic and Dell Media Center (Xp embebed). Sadly the partitioning scheme was really awful, there was 3 primary partitions (Dell Utility, OS for Vista, Recovery for the Factory Image) and a tiny extended partition for Media Center. Besides all my effort to repartitioning the drive with a sane scheme without losing the system i was forced at the end to wipe out the system and install Ubuntu alone. On a side note i was pretty amazed with the capabilities of Gparted it really worked really well.

For Internet access during install you can use the Wireless or the Wired card, you only have to make sure with the wireless that you're connected to the access point.

You'll notice that the system has no audio at all, but don't worry that this would get solved after install

Solving the issues

== AUDIO == (Ubuntu's ISO)

Before solving the audio issue, please make a full update. In my testings if i didn't update the system i wasn't able to solve the audio issue.

Now with the missing sound. There are several bug reports about this, and there are multiple problems also.

There are two possible workarounds for this problem, one install backports module but this seems to give low volume and needs some hacks to solve the volume issue that i didn't test, the other one is to install the Conexant HSF Driver kindly provided by Dell. With this driver the volume is perfect (at least for me).

In order to install it go to Dell's wiki http://linux.dell.com/wiki/index.php/Ubuntu_7.10/Issues/New_Conexant_Modem_Driver and download the hsfmodem package

http://linux.dell.com/files/ubuntu/modem-drivers/hsf/hsfmodem_7.60.00.18oem_i386.deb

There are other problems detected with the audio, one is the external mic not working (i haven't tested it yet) and another problem is that there's no sound after standby mode.

https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/78257

I haven't worked on this issues so at this point don't have solution for them. sorry about that.

== HARD DISK DRIVE == (Dell's ISO & Ubuntu's ISO)

It seems to be some issues with the NCQ (some hard drive sata new technology) implementation in Linux Kernel. The problems seem to be solved for upstream and probably for Hardy but Gutsy would not have (at this time) a solution but a workaround.

Also it seems to no affect all hard drivers. You'll know that you have this issue if you hear clicks in your hard drive from time to time. The fix is this:

sudo gedit /etc/rc.local

Add just BEFORE the exit 0 line

sh -c "echo 1 > /sys/block/sda/device/queue_depth"

Also there's another bug that is lying around but seems to not affect this laptop. Is the infamous hard drive killer (that should be noted is not Ubuntu's fault at all). Please check the bug report #5695 to find out if your system is affected.

https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/59695

== WIRELESS == (Dell's ISO & Ubuntu's ISO)

Wireless has some issues here. Gutsy by default uses the ipw3945 driver. This driver is actually depreciated by intel and is replaced by the iwl3945 (hardy's default). There're some issues with the ipw3945 driver a driver crash when transfering big files and suddenly disconnections. The solution is to replace (in Gutsy) the ipw3945 for the iwl3945.

However there're still some issues with the iwl3945 driver.

1. Replace the ipw345 with the iwl3945 driver.

sudo echo blacklist ipw3945 >> /etc/modprobe.d/blacklist-ipw3945
sudo echo iwl3945 >> /etc/modules

2. Solve the iwl3945 issues

Suspend issue (caused by an incomplete rename of the interface):

sudo mv /etc/udev/rules.d/70-persistent-net.rules /etc/udev/rules.d/70-persistent-net.rules.bak

Hibernate issue

sudo gedit /etc/default/acpi-support

Add iwl3945 to MODULES line.

# Note that network cards and USB controllers will automatically be unloaded 
# unless they're listed in MODULES_WHITELIST
MODULES="iwl3945"

# Add modules to this list to leave them in the kernel over suspend/resume
MODULES_WHITELIST=""

After this changes reboot your system. Take into account that the Wireless connectivity after suspend or hibernate would take a few moments to start over again.

I haven't confirmed yet the throughput issue nor found a workaround for it.

Also another annoyance is that the iwl3945 driver doesn't light up the wifi led with the gutsy version.

COMPIZ FUSION

The Intel Graphic Card is blacklisted by default by Compiz. The problem is related to Video Playback and Compiz Fusion on Intel 965GM. If you enable Compiz Fusion you won't get Video Playback. This problem is related to the inner works of the intel driver as far as i understand, so it won't get solved pretty soon.

http://linux.dell.com/wiki/index.php/Ubuntu_7.10/Issues/Compiz_Fusion_965GM_Incompatibility

However, there's a workaround for this, open up a terminal and execute this command:

mkdir -p ~/.config/compiz/ && echo SKIP_CHECKS=yes >> ~/.config/compiz/compiz-manager

For the Video Playback the suggestion is to run gstreamer-properties and change the Video output to No XV, this didn't worked for me quite well so whenever i'm gonna play videos i must disable compiz.

SENSORS AND FAN CONTROL

I like to monitor my systems for temp, fan, etc. So in order to get this working in the Vostro i had to do this:

1. For Hdd monitoring

apt-get install hddtemp

I choose to let the daemon running. For checking purposes i ran:

hddtemp /dev/sda
/dev/sda: ST9160821AS: 33°C

2. For CPU Temp monitoring

sudo echo coretemp >> /etc/modules

3. For CPU, Fan and Temp monitoring

sudo echo i8k >> /etc/modules
sudo echo options i8k force=1 >> /etc/modprobe.d/i8k.modprobe

The options i8k force=1 is needed because the Vostro is not in the i8k module list for supported systems.

4. For FAN Control

You would need to compile a litle piece of software: dellfand

http://dellfand.dinglisch.net/

sudo apt-get install g++
wget http://dellfand.dinglisch.net/dellfand-0.9.tar.bz2
tar xvjf dellfand-0.9.tar.bz2 
cd dellfand-0.9; make 

For testing purposes:

root@vostro:/tmp/dellfand-0.9# ./dellfand 
v0.9: Fan 0 Status 1 Speed 61980 CPU Temp 31C

For installing it and enabling for default

sudo  cp etc.default.dellfand /etc/default/dellfand
sudo  cp etc.init.d.dellfand /etc/init.d/dellfand
sudo  update-rc.d dellfand defaults
sudo /etc/init.d/dellfand start

With dellfand the fan in your system would cool it when the temp is higher.

5. Visually Addons

sudo  apt-get install sensors-applet

Add it to your panel and adjust it according to your needs. There are other monitoring software available that probably could take this info and show it graphically, i choose this one, you're free to check others. (gkrellm, gdesklets, superkaramba for kde, and probably others)

BLUETOOH

I haven't worked a lot with this, but i know about some problems in gutsy, so you must check this links in order to workaround any issue you could find.

What i know at this point is that you must install gnome-vfs-obexftp in order to transfer files.

sudo apt-get install gnome-vfs-obexftp

Also there's some GUI usability problems with the Bluetooth applet that you must be aware off.

Other Stuff

About Suspend, Standby and Hibernate issues i must say that up to this point everything works like a charm, a big exception is the audio output problem after standby in fact i didn't noticed it until i made this wiki page.

I hope this helps some people out there, i 'd be adding more relevant info into this wiki for further reference.

Regards


CategoryLaptop CategoryHardware

InstallingUbuntuOnADellVostro1500 (last edited 2008-08-06 16:33:26 by localhost)