[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#808043: linux-image-4.3.0-1-powerpc64: Fail to load md_mod with unknow symbol error



Control: retitle -1 [powerpc] Modules fail to load following toolchain upgrade
Control: found -1 4.2.6-2
Control: tag -1 - moreinfo

On Tue, 2015-12-15 at 18:07 +0100, Christian Marillat wrote:
> On 15 déc. 2015 15:55, Ben Hutchings <ben@decadent.org.uk> wrote:
> 
> > Control: tag -1 moreinfo
> > 
> > On Tue, 2015-12-15 at 15:26 +0100, Christian Marillat wrote:
> > > Package: src:linux
> > > Version: 4.3.1-1
> > > Severity: serious
> > > 
> > > Dear Maintainer,
> > > 
> > > Since 4.2.6-2 the Powerpc G5 doesn't start with an error 'unknow symbol in md_mod'
> > > 
> > > 4.2.6-1 work fine.
> > > 
> > > / is a RAID0 partition and kernels are in a normal partition in /boot
> > [...]
> > 
> > I don't see any differences between 4.2.6-1 and 4.2.6-2 that relate to
> > the md driver.
> 
> Me too, but the problem come from maybe the compiler or linker.

Right.

For 4.2.6-1: binutils 2.25.1-7           gcc-4.9 4.9.3-5
For 4.2.6-2: binutils 2.25.90.20151125-2 gcc-4.9 4.9.3-8

> > Assuming you get a rescue shell in the initramfs:
> > - The kernel log will show what the symbol is; please send that line
> >   (or lines)
> > - Send the output of 'modinfo -Fvermagic md_mod'
> 
> I don't have access to the rescue shell. CPUs go to 100% and
> the keyboard doesn't work. I attached two photos.
> 
> In the bottom screenshot you'll see that other module fail to load with
> an 'unknow symbol in module".

OK, so everything is failing because the 'mcount' symbol (used for
function tracing) is not found.  It is supposed to be exported from
vmlinux.  Comparing the two versions, there's no difference (aside from
addresses) in the symbols related to mcount, so I think there's a
deeper problem in the module loader.

Ben.

-- 
Ben Hutchings
Logic doesn't apply to the real world. - Marvin Minsky

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: