PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 27, 2012, 04:50:01 PM


Login with username, password and session length


Pages: 1 [2]   Go Down
  Print  
Author Topic: E-17 no more ???  (Read 2154 times)
Crow
Hero Member
*****
Offline Offline

Posts: 7270


OBJECTS IN MIRROR... ARE LOSING


« Reply #15 on: September 19, 2011, 12:27:58 AM »

An interesting reading about the regression in kernel power management and a workaround, I thought someone may want to know:

http://desktoplinux.com/news/NS7241828987.html
Logged

Linux User #330412   PCLinuxOS e17 Club Member

When life hands you lemons...  add a little salt and Tequila
OMSkates
Hero Member
*****
Offline Offline

Posts: 2265



« Reply #16 on: September 19, 2011, 01:42:35 AM »

An interesting reading about the regression in kernel power management and a workaround, I thought someone may want to know:

http://desktoplinux.com/news/NS7241828987.html

Where do I add extra boot parameters to my kernel?  I don't see a ~./boot.cfg file in /boot/grub
Logged
djohnston
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 5710


I don't do Windows


« Reply #17 on: September 19, 2011, 02:18:11 AM »

You need to edit menu.lst.

su -
cd /boot/grub
cp menu.lst menu.lst.backup
leafpad menu.lst


Find the line beginning with "kernel". The line below is an example.

kernel (hd0,1)/boot/vmlinuz BOOT_IMAGE=linux root=LABEL=PCLOS quiet acpi=on resume=LABEL=SWAP splash=silent vga=792

Add pcie_aspm=force to the end of the line so that it reads:

kernel (hd0,1)/boot/vmlinuz BOOT_IMAGE=linux root=LABEL=PCLOS quiet acpi=on resume=LABEL=SWAP splash=silent vga=792 pcie_aspm=force

Save the file and reboot.

Logged

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378
OMSkates
Hero Member
*****
Offline Offline

Posts: 2265



« Reply #18 on: September 19, 2011, 02:43:47 AM »

Thanks dj, good reminder to backup the menu.lst first as well Smiley

My first line is:
Code:
title linux
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=a43943e4-c7d0-4034-b1d4-50294927ac1a quiet nokmsboot acpi=on resume=UUID=fadb9697-d2cb-4ba7-8003-0ce57fa26856 splash=silent vga=791
initrd (hd0,0)/boot/initrd.img

Additional kernels added, for example my last line with latest kernel booting is
Code:
title 2.6.38.8-pclos1.bfs
kernel (hd0,0)/boot/vmlinuz-2.6.38.8-pclos1.bfs BOOT_IMAGE=2.6.38.8-pclos1.bfs root=UUID=a43943e4-c7d0-4034-b1d4-50294927ac1a quiet nokmsboot acpi=on resume=UUID=fadb9697-d2cb-4ba7-8003-0ce57fa26856 splash=silent vga=791
initrd (hd0,0)/boot/initrd-2.6.38.8-pclos1.bfs.img
Would I be adding my option to the end of that line or does the first line default to latest installed kernel?
Logged
Linuxera
Hero Member
*****
Offline Offline

Posts: 6589


Naughty_Boy slayer!!


WWW
« Reply #19 on: September 19, 2011, 05:31:00 AM »

You need to edit menu.lst.

su -
cd /boot/grub
cp menu.lst menu.lst.backup
leafpad menu.lst


Find the line beginning with "kernel". The line below is an example.

kernel (hd0,1)/boot/vmlinuz BOOT_IMAGE=linux root=LABEL=PCLOS quiet acpi=on resume=LABEL=SWAP splash=silent vga=792

Add pcie_aspm=force to the end of the line so that it reads:

kernel (hd0,1)/boot/vmlinuz BOOT_IMAGE=linux root=LABEL=PCLOS quiet acpi=on resume=LABEL=SWAP splash=silent vga=792 pcie_aspm=force

Save the file and reboot.



Nice find djohnston.  Wink   Would it hurt to add the line to each of the booting perameters?
Logged

The "Exquisite E17 Bunch Club" is to PCLinuxOS what the "Buena Vista Social Club" is to Cuban Son.  Smiley
OMSkates
Hero Member
*****
Offline Offline

Posts: 2265



« Reply #20 on: September 19, 2011, 05:46:23 AM »



Nice find djohnston.  Wink   Would it hurt to add the line to each of the booting perameters?
I was wondering the same Grin
Logged
djohnston
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 5710


I don't do Windows


« Reply #21 on: September 19, 2011, 12:42:38 PM »


Would I be adding my option to the end of that line or does the first line default to latest installed kernel?


Unless you have manually edited menu.lst, the default "title linux" boot menu section will always load the kernel which was last installed. Just to be sure of which kernel version vmlinuz points to, do a quick check in a terminal.

[darrel@Duron ~]$ ls -l /boot/vmlinuz
lrwxrwxrwx 1 root root 27 Jul 26 20:55 /boot/vmlinuz -> vmlinuz-2.6.38.8-pclos3.bfs
[darrel@Duron ~]$


Would it hurt to add the line to each of the booting perameters?


I should have said "Find the line(s) beginning with 'kernel' ". I should also have added that the pcie_aspm=force parameter should only be added to a kernel stanza that loads one of the kernels with the power management regression. If the kernel to be loaded has the power management regression, by all means, add the boot parameter.

Logged

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378
Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4638


MLUs Forever!


« Reply #22 on: September 19, 2011, 12:57:19 PM »

An interesting reading about the regression in kernel power management and a workaround, I thought someone may want to know:

http://desktoplinux.com/news/NS7241828987.html


Quote
The problem stems from the fact that many BIOSes are oriented toward Windows power management, and are often flawed when it comes to communicating with Linux over power issues. As a result, ASPM is often being turned off even when the BIOS supports it on some devices.


Another one of those ....  Linux believing what it is told and acting accordingly.

Am I missing something or is this not really a kernel regression?

Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech ‎DVB-T 2 USB DTT
djohnston
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 5710


I don't do Windows


« Reply #23 on: September 19, 2011, 01:51:05 PM »


Another one of those ....  Linux believing what it is told and acting accordingly.

Am I missing something or is this not really a kernel regression?


I called it a "regression" for lack of a better term. I don't believe it actually is one, either. The kernel listens to instructions from a buggy BIOS and executes those instructions. Therefore, the kernel is the culprit? Where is the manufacturers' API documentation? Like many Linux implementations, this was probably reverse engineered due to lack of specifications.

It's not the kernel that has the bug. It's the hardware.

Logged

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378
Linuxera
Hero Member
*****
Offline Offline

Posts: 6589


Naughty_Boy slayer!!


WWW
« Reply #24 on: September 19, 2011, 03:56:56 PM »

Even if I added those lines to my install prior to rolling an ISO, it would not be installed from the ISO as the menu.lst is created during the install process (as far as I know it is).  So each person who has installed from an ISO with this type of kernel caused problem would have to go in and edit the menu.lst after install which really is defeating the advances made in 'ease of use'.  I will just keep making ISOs for laptops with the kernels known to function 'properly' until fixes in the kernel, or install procedure advances to help those with little CLI knowledge.

 Cheesy
Logged

The "Exquisite E17 Bunch Club" is to PCLinuxOS what the "Buena Vista Social Club" is to Cuban Son.  Smiley
djohnston
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 5710


I don't do Windows


« Reply #25 on: September 19, 2011, 04:34:19 PM »

Even if I added those lines to my install prior to rolling an ISO, it would not be installed from the ISO as the menu.lst is created during the install process (as far as I know it is).  So each person who has installed from an ISO with this type of kernel caused problem would have to go in and edit the menu.lst after install which really is defeating the advances made in 'ease of use'.

Yes, that's true. The extra kernel parameter is only needed for those who have the buggy BIOS. Wouldn't do a thing for my circa 2001 Compaq PC with ACPI version 1.0.

Logged

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378
Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4638


MLUs Forever!


« Reply #26 on: September 19, 2011, 06:15:24 PM »


Another one of those ....  Linux believing what it is told and acting accordingly.

Am I missing something or is this not really a kernel regression?


I called it a "regression" for lack of a better term. I don't believe it actually is one, either. The kernel listens to instructions from a buggy BIOS and executes those instructions. Therefore, the kernel is the culprit? Where is the manufacturers' API documentation? Like many Linux implementations, this was probably reverse engineered due to lack of specifications.

It's not the kernel that has the bug. It's the hardware.



Thanks ....  that is as I understood it.
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech ‎DVB-T 2 USB DTT
Pages: 1 [2]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM