Ubuntu 7.04 installation on HP Compaq 6515b notebook installation- AMD Turion(tm) 64 MK-38

  • user warning: Can't open file: 'sessions.MYI'. (errno: 145) query: SELECT COUNT(sid) AS count FROM sessions WHERE timestamp >= 1511061237 AND uid = 0 in /var/www/drupal-5.23/includes/database.mysql.inc on line 174.
  • user warning: Can't open file: 'sessions.MYI'. (errno: 145) query: SELECT DISTINCT u.uid, u.name, s.timestamp FROM users u INNER JOIN sessions s ON u.uid = s.uid WHERE s.timestamp >= 1511061237 AND s.uid > 0 ORDER BY s.timestamp DESC in /var/www/drupal-5.23/includes/database.mysql.inc on line 174.

Ubuntu 7.04 installation on HP Compaq 6515b notebook installation- AMD Turion(tm) 64 MK-38

 

Thanks for Voide referecne link. I have installed Ubuntu 7.04 on HP Compaq 6515b notebook .

Below are the  How to and outstanding problem to share with you :

Ubuntu 7.04  install on HP Compaq 6515b notebook

AMD AMD Turion(tm) 64 MK-38、AMD M690T chipset、512M DDR2 667 RAM、80GB SATA Hard Drive、ATI Mobility Radeon Xpress 1270 display card、14 inch “WXGA”LCD display with 1280×800、

The Ubuntu live CD does not work with ATIMobility Radeon Xpress 1270 display card.
The BroadCOM wireless LAN ,does not work with Ubuntu too。

The solution:

Download AMD 64 Ubuntu7.04 alternate ISO,burn to a CD. Boot the CD to start installation,choose text mode installation。Choose English language (don't choose Chinese ).

After install Ubuntu7.04 , you will see error message on X start up, then will drop you into text console.

Login and do the following :

1、ATI driver installation

sudo apt-get update

sudo apt-get install xorg-driver-fglrx

sudo depmod -a

sudo aticonfig --initial

Reboot , you should  see the gdm running and the X window will work 。

Remark:6515b display resolution is 1280x800.

2、Wireless LAN driver installation

disable bcm43xx driver

sudo rmmod bcm43xx

add the keneal driver into black list:

sudo vim /etc/modprobe.d/blacklist

Add the line:

blacklist bcm43xx

Go to HP website to download Windows XP driver for the wireless LAN card.

http://h20000.www2.hp.com/bizsupport/TechSupport/Home.jsp?&lang=en&cc=us...

Extract the file under Windows XP, you will get a directory :

   C:/SWSetup.

There are two driver version, one is 5.0 another is 6.0

I have not try the 6.0 version. But the 5.0 Version will work. If someone tested the 6.0 version, please let me know.

Copy it to your ubuntu home directory for ndiswrapper use later.  

Now, atp-get diswrapper-utils-1.9

sudo ndiswrapper -i /the location of/SWSetup/the location of version5 driver/bcmwl5.inf

Check ndiswrapper driver :

sudo ndiswrapper -l

You should see :

bcmwl5 : driver installed
        device (14E4:4312) present (alternate driver: bcm43xx)

Write wlan0 to ndiswrapper alias

sudo ndiswrapper -m

start ndiswrapper:
sudo modprobe ndiswrapper

Start netwrok admin tools to configurate the Wireless LAN:

System -> administration -> network

Finally, enable the system to load ndiswrapper when reboot.

edit /etc/modules,

add the line

ndiswrapper

Remark :

The update manager will ask you to update the ubuntu.

But don't update the kernel to 2.6.20-16. I tred but the ndiswrapper did not work and the notebook will hang when reboot.

I don't know why.

Outstanding issues:

1. APIC error

kernel: [ 1282.069369] APIC error on CPU0: 40(40)

This error message keep generated to fill up the syslog.

I have searched the web , but there are no real solution on this error.

Ubuntu and Debian only suggest to disable the APIC in kernel to prevent this error message happen.

But this is not a solution to the problem.

If a notbook runing with out APIC , you are lost all power management function. You battery will run out very quickly.

Also you will not be able to power down your notebook by shutdown command.

You have to press the power button to power off your notebook manually.

If any one have soltuion , please let me know.

2. Fringerprint : not working

Don't know where to get driver to make it work.

3. Suspend to RAM & Disk : Don't know how to set it up.

Any one can help to solve the above problem ?

K. M. Lau

 

 

 

 

回應

回應瀏覽選項

選擇你喜歡的顯示回應的模式,並點選「儲存設定」,以啟用你所做的變更。

APIC errors. If the tables

APIC errors. If the tables are not setup up properly, there is little that can be done. Try BIOS upgrades...

Fingerprint:

lspci and see if it is an Authentec chip?

If it is, try this: http://www.ag-networking.com/

power management should be

power management should be related to apci and not apic. Which one is it?

APIC ERROR on CPU0 : 40(40)

Hi :

The error message is :

APIC ERROR on CPU0 : 40(40)

If you search it on Google , you will get a lot of links about this error message. It happend on most of 64 Bit notebook .

I do not know the real meaning on APIC.

But if I disabled the power Management in keneral, the error message is gone.

Any comment ?

 

K. M. Lau

Power Management issues

Hi, Thanks for your installation guide. I've got Ubuntu 7.10 beta running on my HP 6515b(GL025PA), too. Now I'm working on tranferring from Debian to Ubuntu. Ubuntu is running pretty smoothly till now, except fingerprint device and card reader. But the power management is still a probem:
1. CPU scaling
The default power manage mode of Ubuntu is "ondemand", which means the cpu scaling will be automatically adjusted by laptop-mode-tools. For my computer, cpu frequency will be either 800 or 1600MHz. In this situations, xorg will randomly crash and reloaded by gdm. A solution is to set the mode to "Performance"(cpu frequency fixed at 1600MHz), which will comsume more power and make fans run more frequently. I wonder whether you have the smiliar situation and the solution.
2. Fans
The computer's Fan speed is 4 level, which were labeled as C399/C39A/C39B/C39C by ACPI. If BIOS options "Fan always on while on AC" was disabled, the fan C39C will be started on 45 centigrade and stopped on 40 centigrade. When this fan is started, the ACPI will repeatly complain with "ACPI: Unable to turn cooling device [xxxx] 'on". I googled and figured it may be the internal cooling device of AMD Turion CPU. Turn on the BIOS options "Fan always on while on AC" will kill this message, but I still looking for better solution.
By the way, "Hibernate mode" is OK in Debian sid, which was supported by gnome-power-manager. I think it should be OK for Ubuntu. But "suspbend mode" can't work properly.

running Ubuntu 7.10 on HP6515b notebook

K. M. Lau

 

I  upgraded from Ubuntu 7.04 to Ubuntu 7.10 (offical release ) on HP6515b notebook.

 

1.CPU scaling:

I don't see problem on CPU scaling. The default power manage mode of Ubuntu is "ondemand", which means the cpu scaling will be automatically adjusted by laptop-mode-tools. For my computer, cpu frequency will be change between 800 to 2200MHz.  xorg is working fine.

 

2. Fans

I don't see problem on CPU Fan. As I did not touch the BIOS setting.

 

3. Outstanding issues ( still happen in Ubuntu 7.10):

a. APIC error

kernel: [ 1282.069369] APIC error on CPU0: 40(40)

This error message keep generated to fill up the syslog.

I have searched the web , but there are no real solution on this error.

Someone claimed that it was BIOS problem not the Linux problem.  I disagree with it becasue it was not happen on windows Vista. If it is BIOS problem , why it does not happen on Windows ?  Does windows do better than Linux comumity ?

This problem is not only happen on one model of computer.

It happens on most of AMD 64 based mother board include notebooks ( not only on my HP 6515b).

 It was sad that the Linux developers could not solve this real problem and said it was the problem on BIOS.

This is normal human being, If you could not do it, than said that is not my problem , it is the other one caused this problem and this  is not my responsibility.

Ubuntu and Debian only suggest to disable the APIC in kernel to prevent this error message happen.

But this is not a solution to the problem.

If a notbook runing with out APIC , you are lost all power management function. You battery will run out very quickly.

Also you will not be able to power down your notebook by shutdown command.

You have to press the power button to power off your notebook manually.

 

2. Fringerprint : not working

Hope HP will provide solution.

HP claims that they  support Linux . However , the truth are.

 

You will not be able to find any drivers or articals/Documents  from HP  websites  regrading on how to install Linux on their notebooks.

If you call to HP support hotline, they told you that sorry, we are not supporting Linux .

Dell is doing better now. They release notebook which pre-Install Ubuntu.HP only come with Windows. You have no choice.

HP notebook are  expensive than Dell , HP charge more but you don't care me - Your Customer needs.

You force me (your customer ) to find other supplier. My next notebook will not be HP .

Hope HP CEO will see this message and do something.

 If they are care about their customers.

 

3. Suspend to RAM & Disk : Don't know how to set it up.

Any one can help to solve the above problem ?