Hello, * Andrew Walrond <andrew@xxxxxxxxxxx>, [2007-02-23 11:55 +0000]: > On a Sun T1000 running 2.6.20 I'm seeing lots of these: > > Kernel unaligned access at TPC[63d47c] Kernel unaligned access at TPC[63d47c] > Kernel unaligned access at TPC[63d47c] aoenet_rcv+0xa4/0x190 [...] On a Sun Blade 2000 I got this one every time I load eth1394: Kernel unaligned access at TPC[101880c8] ether1394_reset_priv+0x2c/0xb8 [eth1394] I got rid of the message with the following patch: --- drivers/ieee1394/eth1394.c.old 2007-02-26 23:07:21.000000000 +0100 +++ drivers/ieee1394/eth1394.c 2007-02-26 23:58:57.000000000 +0100 @@ -65,6 +65,7 @@ #include <asm/uaccess.h> #include <asm/delay.h> #include <asm/semaphore.h> +#include <asm/unaligned.h> #include <net/arp.h> #include "csr1212.h" @@ -491,7 +492,7 @@ int i; struct eth1394_priv *priv = netdev_priv(dev); struct hpsb_host *host = priv->host; - u64 guid = *((u64*)&(host->csr.rom->bus_info_data[3])); + u64 guid = get_unaligned(&(host->csr.rom->bus_info_data[3])); u16 maxpayload = 1 << (host->csr.max_rec + 1); int max_speed = IEEE1394_SPEED_MAX; ciao, ema
Attachment:
signature.asc
Description: Digital signature