Re: unaligned access in ipt_ULOG

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

 



From: Joerg Friedrich <Joerg.Friedrich@xxxxxxxxxxxxxxx>
Date: Fri, 30 Mar 2007 23:48:57 +0200

> I wanted to use the iptables ULOG target, but I ran into these error
> messages. can anyone explain howto read this messge.
> 
> Kernel unaligned access at TPC[1029e35c] ipt_ulog_packet+0x214/0x3fc [ipt_ULOG]

It just means that unaligned accesses are occuring in the ipt_ulog
module.  Things usually work fine when this happens, just very slowly,
which is why the warning is printed.

Patrick, this is on sparc64, it appears to be this code:

	pm->timestamp_sec = skb->tstamp.off_sec;
	pm->timestamp_usec = skb->tstamp.off_usec;

and the NLMSG_DATA() (and thus 'pm') is not 8-byte aligned.

I bet this is a 32-bit sparc binary, has the idea of a compat
layer for the ULOG bits ever been discussed?

Thanks.
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux