Re: [sparc64] 2.6.18 unaligned acccess in ehci_hub_control

From: Mikael Pettersson
Date: Thu Sep 21 2006 - 06:38:35 EST


David Miller writes:
> From: Will Simoneau <simoneau@xxxxxxxxxxx>
> Date: Wed, 20 Sep 2006 13:21:23 -0400
>
> > I upgraded from 2.6.17.7 to 2.6.18 today, and in dmesg I have 5 of these
> > messages in a row:
> >
> > Kernel unaligned access at TPC[100be8c8] ehci_hub_control+0x350/0x680 [ehci_hcd]
> >
> > This message wasn't there before... I suppose it is pretty harmless as
> > the kernel is supposed to handle unaligned accesses (right?) but this is
> > the first time it's happened.
>
> Yes, I've been meaning to send Greg KH patches to fix these
> cases, thanks for reminding me about it.

I don't think it's harmless. My Ultra5 has an add-on PCI USB controller
card (Belkin). A 2.6.18-rc kernel compiled with gcc-4.1.1 will throw a few
unaligned accesses when I initialise USB by inserting a USB memory stick.
Removing the memory stick then results in PCI errors and other breakage.

The same kernel compiled with gcc-3.4.6 has no problems at all, so I've
been assuming it's a gcc-4 issue and not a kernel issue.

/Mikael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/