mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Gene Heskett <gheskett@wdtv.com>
To: Ken Moffat <zarniwhoop@ntlworld.com>,
	Jason Cooper <jason@lakedaemon.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: AMD microcode fails to update with v3.8.3 and newer, bisect failed
Date: Thu, 2 Jan 2014 00:24:56 -0500	[thread overview]
Message-ID: <201401020024.56566.gheskett@wdtv.com> (raw)
In-Reply-To: <20140102044534.GA26440@milliways>

On Wednesday 01 January 2014, Ken Moffat wrote:
>On Thu, Jan 02, 2014 at 04:08:15AM +0000, Ken Moffat wrote:
>>  Anyway, best of luck and I hope you get it sorted.
>
> One further suggestion, since you appear to be at the "running
>round in circles" stage -
>
>1. Start with a good kernel.  In this case, I suppose 3.8.2 is the
>right place to begin.

That has since died, won't boot, don't recall changing a thing in the 
.config either.

>2. But then change the .config to -
>
>2.1 ensure that your disk filesystems are built in - e.g. all of
>ext2, ext3, ext4 and anything else you know you are using.

Should I edit in the /etc/grub.d to remove the modprobe ext2, or will it 
more or less silently shake its head and go on. 

>Normally, only the fs for '/' needs to be built in, but you seem to
>have seen other issues so I would just build in everything you need.
>
>2.2 build in everything else you need to boot (normally, the disk
>controller(s) ) so that you don't need an initrd.

That would be forcedeath, nouveau, v4l1 and 2 and hda_audio for starters.

Since this kernel isn't near new enough for the config tricks mentioned, 
maybe I'll see if the linux-stable I have can do a 3.11.0 checkout.

>
>2.3 drop the things you don't need - this is merely to reduce the
>time it takes to build a kernel.  Distros normally build
>_everything_ as a module.  Provided you can boot without an initrd,
>reducing the number of modules only makes it quicker to build a new
>kernel - but if you are starting from something which looks like
>"allmodconfig" it can save a lot of time.

I'll nominate that for understatement of the month. ;-)
>
>2.4 for your convenience, ensure that you have enabled the config to
>be stored in /proc/config.gz - once you are building your own
>slimmed-down kernels, you probably won't want to mess about with
>distro "install" scripts so just copying the bzimage to
>/boot/vmlinuz-x.y.z, make modules_install, and editing
>/boot/grub/grub.cfg (yes, really!) will save a lot of time.

My present script does everything but edit grub.cfg.

>2.5 Add your own version, e.g. for 3.8.2 change EXTRAVERSION to 2-A
>so that the kernel will be 3.8.2-A (this stops it overwriting
>existing existing 3.8.2 modules, in case the first attempt doesn't
>do what you want).

Never has yet anyway.

>3.  That might take two or three attempts to get to a good config,
>but after that you should be able to use the slimmer config (from
>zcat /proc/config.gz) to create .config for any newer version you
>want to test or bisect, and then just run make oldconfig before you
>build.
>
> Also, when you get back to bisecting, the version in the kernel
>Makefile might not be what you expect.  If in doubt, you can change
>it to something which doesn't overwrite any existing modules, e.g.
>3.8.bisect-1 etc.

Presently it uses a + sign for in between versions.

> HTH

It will, if I don't lose my place...
>ؤ¸en

My "makeit" script does cd's here and there, so its vital that the Makefile 
version matches the makeit version.  I've thought of that, and fixed it in 
the copy I use to make a linux-stable install, but I haven't moved that 
line of script into the tarball builds yet.

Having an automatic increment, I could eventually fill up the /boot 
partition too. ;-)

I take it that /proc/config.gz only keeps the lsmod output?  That would be 
sweet!  Great idea.

Thanks Ken & Cheers, Gene

  reply	other threads:[~2014-01-02  5:25 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-01 22:51 I'll pay along, if somebody would tell me the rules Gene Heskett
2014-01-02  0:19 ` AMD microcode fails to update with v3.8.3 and newer, bisect failed Jason Cooper
2014-01-02  2:25   ` Gene Heskett
2014-01-02  2:40     ` Gene Heskett
2014-01-02  2:48       ` Randy Dunlap
2014-01-02  2:52         ` Gene Heskett
2014-01-02  4:08     ` Ken Moffat
2014-01-02  4:45       ` Ken Moffat
2014-01-02  5:24         ` Gene Heskett [this message]
2014-01-02 18:15           ` Ken Moffat
2014-01-02 23:12             ` Gene Heskett
2014-01-03 14:55               ` Gene Heskett
2014-01-02  4:53       ` Gene Heskett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201401020024.56566.gheskett@wdtv.com \
    --to=gheskett@wdtv.com \
    --cc=jason@lakedaemon.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zarniwhoop@ntlworld.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®