lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 14 Apr 2008 23:55:32 -0400
From:	"Miles Lane" <miles.lane@...il.com>
To:	"Andrew Morton" <akpm@...ux-foundation.org>
Cc:	"Peter Zijlstra" <peterz@...radead.org>,
	"Paul Menage" <menage@...gle.com>,
	LKML <linux-kernel@...r.kernel.org>,
	"Ingo Molnar" <mingo@...e.hu>
Subject: Re: 2.6.25-rc8-mm2 -- kernel/sched.c:8294: error: unknown field ‘read_uint’ specified in initializer

On Mon, Apr 14, 2008 at 10:38 PM, Andrew Morton
<akpm@...ux-foundation.org> wrote:
> On Mon, 14 Apr 2008 22:28:27 -0400 "Miles Lane" <miles.lane@...il.com> wrote:
>
>  > Hmm.  This is showing up in 2.6.25-rc9 and looks related to the
>  > problem in 2.6.25-rc9-mm2:
>  >
>  >   CC      kernel/sched.o
>  > kernel/sched.c:7988: error: unknown field 'read_u64' specified in initializer
>  > kernel/sched.c:7988: error: 'cpu_shares_read_u64' undeclared here (not
>  > in a function)
>  > kernel/sched.c:7989: error: unknown field 'write_u64' specified in initializer
>  > kernel/sched.c:7989: error: 'cpu_shares_write_u64' undeclared here
>  > (not in a function)
>  > kernel/sched.c:7995: error: unknown field 'read_s64' specified in initializer
>  > kernel/sched.c:7995: warning: initialization makes integer from
>  > pointer without a cast
>  > kernel/sched.c:7996: error: unknown field 'write_s64' specified in initializer
>  > kernel/sched.c:7996: warning: initialization from incompatible pointer type
>  > kernel/sched.c:8000: error: 'cpu_rt_period_read_uint' undeclared here
>  > (not in a function)
>  > kernel/sched.c:8001: error: 'cpu_rt_period_write_uint' undeclared here
>  > (not in a function)
>
>  I'm suspecting that you applied the -mm patch, then you applied
>  cgroup-api-files-rename-read-write_uint-methods-to-read_write_u64-fix.patch,
>  then you reverted the -mm patch but didn't revert
>  cgroup-api-files-rename-read-write_uint-methods-to-read_write_u64-fix.patch.
>

Hmm.  Bizarro.  I have no recollection of applying such a patch, but maybe
I need to get some more sleep.  I just downloaded the whole 2.6.25-rc9
tarball and lo and behold, it worked.

Sorry for the noise,

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ