public inbox for linux-m68k@lists.linux-m68k.org
 help / color / mirror / Atom feed
From: Ben Hutchings <ben@decadent.org.uk>
To: Thorsten Glaser <tg@mirbsd.de>
Cc: Debian kernel team <debian-kernel@lists.debian.org>,
	linux-m68k@vger.kernel.org, debian-68k@lists.debian.org
Subject: Re: [m68k] partial success but does not boot: 3.2~rc7
Date: Sun, 01 Jan 2012 23:27:45 +0000	[thread overview]
Message-ID: <1325460465.13595.179.camel@deadeye> (raw)
In-Reply-To: <Pine.BSM.4.64L.1201012102110.20109@herc.mirbsd.org>

[-- Attachment #1: Type: text/plain, Size: 3010 bytes --]

On Sun, 2012-01-01 at 21:16 +0000, Thorsten Glaser wrote:
[...]
> • patches/0006-Bastian-Blank-do-not-error-out-when-kernel-wedge-ret.patch
> 
> This is _from_ waldi via IRC:
>
> 18:10⎜<mirabilos> kernel-wedge install-files 3.2.0-rc7
> 18:10⎜<mirabilos> could not find kernel image at /usr/share/kernel-wedge/commands/install-files line 103,
>      ⎜    <KVERS> line 2.
> 18:11⎜<mirabilos> make[2]: *** [install-udeb_m68k] Error 2
> 18:11⎜«waldi» ich dachte die fehler werden ignoriert …#
> 
> 19:03⎜<mirabilos> find: \x04ebian/kernel-image-3.2.0-rc7-atari-di': No such file or directory
> 19:03⎜<mirabilos> kernel-image-3.2.0-rc7-atari-di will be empty
> 19:03⎜<mirabilos> find: \x04ebian/nic-shared-modules-3.2.0-rc7-atari-di': No such file or directory
> 19:03⎜<mirabilos> nic-shared-modules-3.2.0-rc7-atari-di will be empty
> 19:03⎜<mirabilos> hrm.
> 19:03⎜<mirabilos> waldi, was ist da kaputt?
> 19:03⎜<mirabilos> ich wars nicht
> 
> I just wonder why this seems to have been needed in the first place.

It is quite possible that m68k kernel udebs have not been built for some
years, though the configuration has been updated along with other
architectures.

The module list for nic-shared-modules on m68k looks wrong in that there
are several driver modules listed there; those belong in nic-modules or
nic-extra-modules.  If m68k doesn't have any network drivers using the
library modules such as mii then the package should be disabled by
removing the module list file.

> 18:50⎜<mirabilos> -rw-r--r-- 1 root root 1845989 Jan  1 18:32
>      ⎜    /var/cache/pbuilder/build/cow.937/tmp/buildd/linux-2.6-3.2~rc7/debian/linux-image-3.2.0-rc7-atari/boo
>      ⎜    t/vmlinuz-3.2.0-rc7-atari
> 
> $sourcedir wrong? $installedname wrong?

Did you also build the amiga and mac flavours?  The kernel-versions file
for m68k lists all three flavours.

> No idea whether this should be committed.

Hell no.  We must either fix or remove the kernel-wedge configuration
for m68k.  (I already did the latter for alpha.)

[...]
> • work and fail
> 
> This is for debian-68k, linux-68k and debian-kernel:
> 
> ARAnyM “console” output of a working (3.0) and failing (3.2) boot,
> for your debugging pleasure. I can run arbitrary tests against the
> failing kernel, as long as they’re limited to [LILO].Args or make
> it boot ;-)

This is presumably triggered by enabling CPU topology information in
sysfs on UP systems.  This is a Debian patch for 3.2
(features/all/topology-Provide-CPU-topology-in-sysfs-in-SMP-configura.patch) but has been accepted upstream for 3.3.

My guess is that on m68k get_cpu_sysdev(0) returns NULL and thus
topology_add_dev() passes an invalid pointer into sysfs_create_group().
So either m68k (and maybe some other architectures with no SMP support)
need to be fixed or the CPU topology code needs to allow for this.

Ben.

-- 
Ben Hutchings
Humour is the best antidote to reality.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

  reply	other threads:[~2012-01-01 23:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-01 21:16 [m68k] partial success but does not boot: 3.2~rc7 Thorsten Glaser
2012-01-01 23:27 ` Ben Hutchings [this message]
2012-01-01 23:41   ` Thorsten Glaser
2012-01-01 23:53   ` Ben Hutchings
2012-01-08 17:57     ` Greg KH

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=1325460465.13595.179.camel@deadeye \
    --to=ben@decadent.org.uk \
    --cc=debian-68k@lists.debian.org \
    --cc=debian-kernel@lists.debian.org \
    --cc=linux-m68k@vger.kernel.org \
    --cc=tg@mirbsd.de \
    /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