<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/include/asm-um/common.lds.S, branch master</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>x86, um: initial part of asm-um move</title>
<updated>2008-10-23T05:55:19+00:00</updated>
<author>
<name>Al Viro</name>
<email>viro@zeniv.linux.org.uk</email>
</author>
<published>2008-08-17T23:13:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=8ede0bdb63305d3353efd97e9af6210afb05734e'/>
<id>8ede0bdb63305d3353efd97e9af6210afb05734e</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>uml: fix linker script alignment bugs</title>
<updated>2007-08-31T08:42:22+00:00</updated>
<author>
<name>Jeff Dike</name>
<email>jdike@addtoit.com</email>
</author>
<published>2007-08-31T06:56:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=c7ec16da5adc1c1b341b2a83bde7add17dcf811a'/>
<id>c7ec16da5adc1c1b341b2a83bde7add17dcf811a</id>
<content type='text'>
Fix a class of bugs in the UML linker scripts which caused section boundary
variables to sometimes not line up with their sections.

Signed-off-by: Jeff Dike &lt;jdike@linux.intel.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix a class of bugs in the UML linker scripts which caused section boundary
variables to sometimes not line up with their sections.

Signed-off-by: Jeff Dike &lt;jdike@linux.intel.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>uml: use generic BUG</title>
<updated>2007-06-24T15:59:11+00:00</updated>
<author>
<name>Nick Piggin</name>
<email>npiggin@suse.de</email>
</author>
<published>2007-06-24T00:16:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=08932a198345c80d20cfa055a45464cebb9ff93b'/>
<id>08932a198345c80d20cfa055a45464cebb9ff93b</id>
<content type='text'>
Get UML to use the generic bug support rather than arch specific one.

If I insert an artificial bug right before loading init, I get this:

 Kernel panic - not syncing: Kernel mode signal 4

 EIP: 0023:[&lt;0819d501&gt;] CPU: 0 Not tainted ESP: 002b:f7fd4fbc EFLAGS: 00000246
    Not tainted
    EAX: 00000000 EBX: 00007870 ECX: 00000013 EDX: 00007870
    ESI: 0000786d EDI: 00000011 EBP: f7fd4fd8 DS: 002b ES: 002b
    08273bec:  [&lt;0806e814&gt;] show_regs+0x104/0x106
    08273c08:  [&lt;08058927&gt;] panic_exit+0x2c/0x4b
    08273c18:  [&lt;08080ee7&gt;] notifier_call_chain+0x32/0x5b
    08273c38:  [&lt;08080fbd&gt;] __atomic_notifier_call_chain+0x30/0x32
    08273c54:  [&lt;08080fee&gt;] atomic_notifier_call_chain+0x2f/0x31
    08273c70:  [&lt;08073b88&gt;] panic+0x75/0x131
    08273c94:  [&lt;080586c7&gt;] relay_signal+0x87/0x95
    08273cb0:  [&lt;0806b9ee&gt;] sig_handler_common_skas+0x9e/0x120
    08273cd8:  [&lt;08067738&gt;] sig_handler+0x28/0x4f
    08273cec:  [&lt;0806792e&gt;] handle_signal+0x53/0x89
    08273d0c:  [&lt;08069f60&gt;] hard_handler+0x18/0x28
    08273d1c:  [&lt;ffffe500&gt;] transitions+0xf7d598b8/0xfffffff0

With this patch in place, this is how it looks:

 BUG: failure at init/main.c:779/init_post()!
 Kernel panic - not syncing: BUG!

 EIP: 0023:[&lt;081a65d1&gt;] CPU: 0 Not tainted ESP: 002b:f7f0dfbc EFLAGS: 00000246
    Not tainted
    EAX: 00000000 EBX: 000069db ECX: 00000013 EDX: 000069db
    ESI: 000069d8 EDI: 00000011 EBP: f7f0dfd8 DS: 002b ES: 002b
    098efedc:  [&lt;0806e9a4&gt;] show_regs+0x104/0x106
    098efef8:  [&lt;080589c7&gt;] panic_exit+0x2c/0x4b
    098eff08:  [&lt;080818d7&gt;] notifier_call_chain+0x32/0x5b
    098eff28:  [&lt;080819ad&gt;] __atomic_notifier_call_chain+0x30/0x32
    098eff44:  [&lt;080819de&gt;] atomic_notifier_call_chain+0x2f/0x31
    098eff60:  [&lt;08073f28&gt;] panic+0x75/0x131
    098eff84:  [&lt;080541d5&gt;] init_post+0xcd/0xe8
    098eff9c:  [&lt;08048ad4&gt;] kernel_init+0x8e/0x9a
    098effb4:  [&lt;08066dee&gt;] run_kernel_thread+0x41/0x53
    098effe0:  [&lt;08058e75&gt;] new_thread_handler+0x62/0x8b
    098efffc:  [&lt;a55a5a5a&gt;] 0xa55a5a5a

[ jdike - added BUG_TABLE to linker script ]

Signed-off-by: Nick Piggin &lt;npiggin@suse.de&gt;
Signed-off-by: Jeff Dike &lt;jdike@linux.intel.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Get UML to use the generic bug support rather than arch specific one.

If I insert an artificial bug right before loading init, I get this:

 Kernel panic - not syncing: Kernel mode signal 4

 EIP: 0023:[&lt;0819d501&gt;] CPU: 0 Not tainted ESP: 002b:f7fd4fbc EFLAGS: 00000246
    Not tainted
    EAX: 00000000 EBX: 00007870 ECX: 00000013 EDX: 00007870
    ESI: 0000786d EDI: 00000011 EBP: f7fd4fd8 DS: 002b ES: 002b
    08273bec:  [&lt;0806e814&gt;] show_regs+0x104/0x106
    08273c08:  [&lt;08058927&gt;] panic_exit+0x2c/0x4b
    08273c18:  [&lt;08080ee7&gt;] notifier_call_chain+0x32/0x5b
    08273c38:  [&lt;08080fbd&gt;] __atomic_notifier_call_chain+0x30/0x32
    08273c54:  [&lt;08080fee&gt;] atomic_notifier_call_chain+0x2f/0x31
    08273c70:  [&lt;08073b88&gt;] panic+0x75/0x131
    08273c94:  [&lt;080586c7&gt;] relay_signal+0x87/0x95
    08273cb0:  [&lt;0806b9ee&gt;] sig_handler_common_skas+0x9e/0x120
    08273cd8:  [&lt;08067738&gt;] sig_handler+0x28/0x4f
    08273cec:  [&lt;0806792e&gt;] handle_signal+0x53/0x89
    08273d0c:  [&lt;08069f60&gt;] hard_handler+0x18/0x28
    08273d1c:  [&lt;ffffe500&gt;] transitions+0xf7d598b8/0xfffffff0

With this patch in place, this is how it looks:

 BUG: failure at init/main.c:779/init_post()!
 Kernel panic - not syncing: BUG!

 EIP: 0023:[&lt;081a65d1&gt;] CPU: 0 Not tainted ESP: 002b:f7f0dfbc EFLAGS: 00000246
    Not tainted
    EAX: 00000000 EBX: 000069db ECX: 00000013 EDX: 000069db
    ESI: 000069d8 EDI: 00000011 EBP: f7f0dfd8 DS: 002b ES: 002b
    098efedc:  [&lt;0806e9a4&gt;] show_regs+0x104/0x106
    098efef8:  [&lt;080589c7&gt;] panic_exit+0x2c/0x4b
    098eff08:  [&lt;080818d7&gt;] notifier_call_chain+0x32/0x5b
    098eff28:  [&lt;080819ad&gt;] __atomic_notifier_call_chain+0x30/0x32
    098eff44:  [&lt;080819de&gt;] atomic_notifier_call_chain+0x2f/0x31
    098eff60:  [&lt;08073f28&gt;] panic+0x75/0x131
    098eff84:  [&lt;080541d5&gt;] init_post+0xcd/0xe8
    098eff9c:  [&lt;08048ad4&gt;] kernel_init+0x8e/0x9a
    098effb4:  [&lt;08066dee&gt;] run_kernel_thread+0x41/0x53
    098effe0:  [&lt;08058e75&gt;] new_thread_handler+0x62/0x8b
    098efffc:  [&lt;a55a5a5a&gt;] 0xa55a5a5a

[ jdike - added BUG_TABLE to linker script ]

Signed-off-by: Nick Piggin &lt;npiggin@suse.de&gt;
Signed-off-by: Jeff Dike &lt;jdike@linux.intel.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[PATCH] uml: fix static linking for real</title>
<updated>2007-03-31T02:21:30+00:00</updated>
<author>
<name>Paolo 'Blaisorblade' Giarrusso</name>
<email>blaisorblade@yahoo.it</email>
</author>
<published>2007-03-31T01:20:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=c35e584c087381aaa5f1ed40a28b978535c18fb2'/>
<id>c35e584c087381aaa5f1ed40a28b978535c18fb2</id>
<content type='text'>
There was a typo in commit 7632fc8f809a97f9d82ce125e8e3e579390ce2e5,
preventing it from working - 32bit binaries crashed hopelessly before
the below fix and work perfectly now.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso &lt;blaisorblade@yahoo.it&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There was a typo in commit 7632fc8f809a97f9d82ce125e8e3e579390ce2e5,
preventing it from working - 32bit binaries crashed hopelessly before
the below fix and work perfectly now.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso &lt;blaisorblade@yahoo.it&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[PATCH] uml: fix static linking</title>
<updated>2007-03-27T16:05:15+00:00</updated>
<author>
<name>Jeff Dike</name>
<email>jdike@addtoit.com</email>
</author>
<published>2007-03-27T05:32:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=7632fc8f809a97f9d82ce125e8e3e579390ce2e5'/>
<id>7632fc8f809a97f9d82ce125e8e3e579390ce2e5</id>
<content type='text'>
During a static link, ld has started putting a .note section in the
.uml.setup.init section.  This has the result that the UML setups begin
with 32 bytes of garbage and UML crashes immediately on boot.

This patch creates a specific .note section for ld to drop this stuff
into.

Signed-off-by: Jeff Dike &lt;jdike@linux.intel.com&gt;
Cc: Paolo 'Blaisorblade' Giarrusso &lt;blaisorblade@yahoo.it&gt;
Cc: &lt;stable@kernel.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
During a static link, ld has started putting a .note section in the
.uml.setup.init section.  This has the result that the UML setups begin
with 32 bytes of garbage and UML crashes immediately on boot.

This patch creates a specific .note section for ld to drop this stuff
into.

Signed-off-by: Jeff Dike &lt;jdike@linux.intel.com&gt;
Cc: Paolo 'Blaisorblade' Giarrusso &lt;blaisorblade@yahoo.it&gt;
Cc: &lt;stable@kernel.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[PATCH] uml: add INITCALLS</title>
<updated>2006-10-31T16:07:00+00:00</updated>
<author>
<name>Jeff Dike</name>
<email>jdike@addtoit.com</email>
</author>
<published>2006-10-31T06:07:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=525fdb6cc929b515ad7e0be40fd023cff8660ed8'/>
<id>525fdb6cc929b515ad7e0be40fd023cff8660ed8</id>
<content type='text'>
This is the UML piece of the INITCALLS tidying.

Signed-off-by: Jeff Dike &lt;jdike@addtoit.com&gt;
Cc: Paolo 'Blaisorblade' Giarrusso &lt;blaisorblade@yahoo.it&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the UML piece of the INITCALLS tidying.

Signed-off-by: Jeff Dike &lt;jdike@addtoit.com&gt;
Cc: Paolo 'Blaisorblade' Giarrusso &lt;blaisorblade@yahoo.it&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[PATCH] uml: fix oops related to exception table</title>
<updated>2005-05-01T15:58:53+00:00</updated>
<author>
<name>Jeff Dike</name>
<email>jdike@addtoit.com</email>
</author>
<published>2005-05-01T15:58:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=92eac95287d75f220a8bbef6646f51a6497c4b4c'/>
<id>92eac95287d75f220a8bbef6646f51a6497c4b4c</id>
<content type='text'>
      Paolo 'Blaisorblade' Giarrusso &lt;blaisorblade@yahoo.it&gt;

Prevent the kernel from oopsing during the extable sorting, as it can do
now, because the extable is in the readonly section of the binary.

Jeff says: The exception table turned RO in 2.6.11-rc3-mm1 for some reason.
Moving it causes it to land in the writable data section of the binary.

Paolo says: This patch fixes a oops on startup, which can be easily
triggered by compiling with CONFIG_MODE_TT disabled, and STATIC_LINK either
disabled or enabled.  The resulting kernel will always Oops on startup,
after printing this simple output:

I've verified, by binary search on the BitKeeper repository (synced up as
of 2.6.12-rc2), starting from the range 2.6.11-2.6.12-rc1, that this bug
shows up on BitKeeper revisions in the range [@1.1994.11.168,+inf), i.e.
starting from this:

[PATCH] lib/sort: Replace insertion sort in exception tables

Since UML does not use the exception table, it's likely that insertion sort
didn't happen to write anything on the table.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso &lt;blaisorblade@yahoo.it&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
      Paolo 'Blaisorblade' Giarrusso &lt;blaisorblade@yahoo.it&gt;

Prevent the kernel from oopsing during the extable sorting, as it can do
now, because the extable is in the readonly section of the binary.

Jeff says: The exception table turned RO in 2.6.11-rc3-mm1 for some reason.
Moving it causes it to land in the writable data section of the binary.

Paolo says: This patch fixes a oops on startup, which can be easily
triggered by compiling with CONFIG_MODE_TT disabled, and STATIC_LINK either
disabled or enabled.  The resulting kernel will always Oops on startup,
after printing this simple output:

I've verified, by binary search on the BitKeeper repository (synced up as
of 2.6.12-rc2), starting from the range 2.6.11-2.6.12-rc1, that this bug
shows up on BitKeeper revisions in the range [@1.1994.11.168,+inf), i.e.
starting from this:

[PATCH] lib/sort: Replace insertion sort in exception tables

Since UML does not use the exception table, it's likely that insertion sort
didn't happen to write anything on the table.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso &lt;blaisorblade@yahoo.it&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Linux-2.6.12-rc2</title>
<updated>2005-04-16T22:20:36+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-04-16T22:20:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2'/>
<id>1da177e4c3f41524e886b7f1b8a0c1fc7321cac2</id>
<content type='text'>
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.

Let it rip!
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.

Let it rip!
</pre>
</div>
</content>
</entry>
</feed>
