From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: John David Anglin <dave@hiauly1.hia.nrc.ca>
Cc: dave.anglin@nrc-cnrc.gc.ca, linux-parisc@vger.kernel.org,
622997@bugs.debian.org
Subject: Re: Debian bug 622997
Date: Sun, 17 Apr 2011 10:23:27 -0500 [thread overview]
Message-ID: <1303053807.2583.1.camel@mulgrave.site> (raw)
In-Reply-To: <20110417151147.326EC4FCB@hiauly1.hia.nrc.ca>
On Sun, 2011-04-17 at 11:11 -0400, John David Anglin wrote:
> > On Sat, 2011-04-16 at 19:35 -0400, John David Anglin wrote:
> > > On Sat, 16 Apr 2011, James Bottomley wrote:
> > >
> > > > Strike that one ... I enabled USB in my 2.6.39-rc3 build and it inserts
> > > > the OHCI module and discovers the ports just fine.
> > >
> > > Boot 2.6.39-rc3 fails for me with attached config.
> >
> > I can't quite build it. With gcc version 4.2.4 (Debian 4.2.4-6) I'm
> > getting an ICE:
> >
> > net/wireless/reg.c: In function 'freq_reg_info_regd':
> > net/wireless/reg.c:645: internal compiler error: in expand_expr_real_1,
> > at expr.c:8744
> > Please submit a full bug report,
> > with preprocessed source if appropriate.
> > See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> > For Debian GNU/Linux specific bug reporting instructions,
> > see <URL:file:///usr/share/doc/gcc-4.2/README.Bugs>.
> > make[2]: *** [net/wireless/reg.o] Error 1
>
> This is probably fixed as it doesn't occur with
> gcc version 4.5.3 20110101 (prerelease) [gcc-4_5-branch revision 168387] (GCC) .
> GCC 4.2 and 4.3 are no longer maintained and there won't be any further
> releases from these branches.
>
> Without looking at the above, it's hard to tell whether the bug is a
> middle-end or backend bug. Many middle-end bugs are fixed in more recent
> GCC versions. Although newer versions may bring their own problems,
> we can get help in fixing problems particularly if they are regressions.
>
> The asm delay slot bug affected all GCC versions. I backported the fix to
> the 4.3, 4.4 and 4.5 branches. This is a problem in the kernel because of
> the following:
>
> ** The __asm__ op below simple prevents gcc/ld from reordering
> ** instructions across the mb() "call".
> */
> #define mb() __asm__ __volatile__("":::"memory") /* barrier() */
>
> It's just a matter of chance whether a barrier ends up in the delay slot
> of a branch in a critical location.
I'll redo optimisation on that one and see if I can avoid this.
> > Plus there's a bug in my kernel code:
> >
> > drivers/usb/host/xhci-pci.c: In function 'xhci_pci_setup':
> > drivers/usb/host/xhci-pci.c:61: error: implicit declaration of function
> > 'kzalloc
> >
> > If I correct for these (add missing slab.h include and disable wireless)
>
> I had to add missing slab.h as well. However, I didn't touch wireless
> with 4.5.3.
>
> > and build, the last message I see is
> >
> > turn off boot console ttyB0
> >
> > Which indicates it's got a problem with the console configuration (I
> > don't see any console registration for the DIVA serial port on ttyS1 in
> > the boot log).
>
> Comparing the console output that I recorded for the debian kernel, I
> see udev starts much earlier. It only has the initial message from the
> tg3 driver and SCSI subsystem.
It's most likely a driver module that's getting loaded which is turned
off in the booting configuration ... finding it isn't going to be easy,
though ...
James
next prev parent reply other threads:[~2011-04-17 15:23 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-16 18:07 Debian bug 622997 John David Anglin
2011-04-16 18:57 ` James Bottomley
2011-04-16 19:22 ` Bug#622997: " Ben Hutchings
2011-04-17 2:50 ` John David Anglin
2011-04-16 19:29 ` John David Anglin
2011-04-16 20:48 ` James Bottomley
2011-04-16 21:14 ` James Bottomley
2011-04-16 23:35 ` John David Anglin
2011-04-17 4:57 ` James Bottomley
2011-04-17 15:11 ` John David Anglin
2011-04-17 15:23 ` James Bottomley [this message]
2011-04-17 17:06 ` John David Anglin
2011-04-17 19:28 ` James Bottomley
2011-04-17 19:37 ` Bug#622997: " Ben Hutchings
2011-04-17 23:33 ` James Bottomley
2011-04-18 1:25 ` John David Anglin
2011-04-18 3:22 ` James Bottomley
2011-04-18 3:51 ` Grant Grundler
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=1303053807.2583.1.camel@mulgrave.site \
--to=james.bottomley@hansenpartnership.com \
--cc=622997@bugs.debian.org \
--cc=dave.anglin@nrc-cnrc.gc.ca \
--cc=dave@hiauly1.hia.nrc.ca \
--cc=linux-parisc@vger.kernel.org \
/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