← Back to team overview

sony-vaio-z-series team mailing list archive

Re: working intel with vanilla kernel and grub1 and grub2

 

Hi Adam,

I actually patched my BIOS. But this is really just a *single* byte
different from my original Bios (checked with hex-diff :)
--> why not (I can put back my old bios anytime --> no real warranty
issues either).

Now I have the choice and with "STATIC" I can choose before power-on. So
far I only use STAMINA which makes the nvidia effectively disappear
(lspci wise and power consumption wise).

But if I choose "Auto" for the VGA Switching Policy (which is the
setting for the unpatched BIOS): The intel card works just the same!
Only you lspci shows also the nvidia. At this point I did not try yet to
turn off nvidia with NP kernel module. But I will dig further at some
point :) ...  For now my priority is getting the power-management down
to about 10W and the FN keys to work without the deprecated kernel
option CONFIG_PROC_ACPI_EVENT(s).

And waiting a while without too many Xorg user programs (like firefox,
...) running I can get <10W :)

Knuth

--

On 09/29/2010 04:00 AM, Adam Hill wrote:
> Hi Knuth,
> 
> 	Are you disabling the NVidia card in any way? If so, what are you using 
> and are you getting the hda-intel errors at boot time?
> 
> Adam.
> 
> 
> On Tuesday 28 September 2010 18:47:06 K. Posern wrote:
>> Hi,
>>
>> Good Question! ... I guess for me a vanilla Kernel was so implicit that
>> I forgot to mention it ;)
>>
>> So I use this mail to recap the necessary steps / ingrediants for a
>> flawlessly working grub1 or grub2 intel setup without any patches.
>>
>> I am using a vanilla kernel from kernel.org (+ the optional tuxonice
>> patch). And: No I don't use Adams files.
>>
>> Kernel Versions: First 2.6.35.4, now 2.6.35.5 (both work)
>>
>> For grub1:
>> Nothing special
>>
>> For grub2:
>> Then with a ready setup grub2 installation just try editing your boot
>> entry and replace
>> 	initrd with initrd16
>> 	and
>> 	linux with linux16
>> and hit ctrl+x to boot like this.
>>
>> If this is not enough then you need to make sure that grub does NOT
>> initialize any GRAPHICS --> put "set gfxpayload=text" in your grub.cfg.
>>
>> But as the grub.cfg often is quiet LONG with an auto-generated grub.cfg
>> you might need to remove all stuff that tempers with your GRAPHIC-CARD
>> --> To be sure: Try my below grub.cfg (and adapt it for your partitions).
>>
>> ===========================================================
>> set gfxpayload=text
>> set timeout=7 #
>>
>> menuentry "Linux working :)" {
>>  # remember: hd's start counting at 0, but parts at 1
>>  set root=(hd0,5)
>>  linux16 /vmlinuz 'quiet' 'i8042.reset' ...
>> }
>> ===========================================================
>>
>> Hope this helps,
>>
>> Knuth
>>
>> ---
>>
>> On 09/28/2010 01:57 AM, Aleix Solà wrote:
>>> Do you use Adam's files? Which kernel version are you using?
>>> At the moment i'm only getting the typical blank screen.
>>>
>>> Thanks in advance.
>>>
>>> 2010/9/15, K. Posern <quickhelp@xxxxxxxxx>:
>>>> Hi everybody,
>>>>
>>>> grub2 + intel works like charm (just the same as grub1 ;)...
>>>>
>>>> The secret: linux16 instead of linux (and initrd16 instead of initrd for
>>>> those who need it).
>>>>
>>>> Good night,
>>>>
>>>> Knuth
>>>>
>>>> P.S.:
>>>> Only the 2.6.36-rc remain broken (with grub1 and grub2).
>>>> I will keep you posted...


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


References