<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-linux/include/asm-um/bug.h, branch stable</title>
<subtitle>WireGuard for the Linux kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-linux/atom/include/asm-um/bug.h?h=stable</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-linux/atom/include/asm-um/bug.h?h=stable'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/'/>
<updated>2008-10-23T05:55:19Z</updated>
<entry>
<title>x86, um: initial part of asm-um move</title>
<updated>2008-10-23T05:55:19Z</updated>
<author>
<name>Al Viro</name>
<email>viro@zeniv.linux.org.uk</email>
</author>
<published>2008-08-17T23:13:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=8ede0bdb63305d3353efd97e9af6210afb05734e'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>uml: use generic BUG</title>
<updated>2007-06-24T15:59:11Z</updated>
<author>
<name>Nick Piggin</name>
<email>npiggin@suse.de</email>
</author>
<published>2007-06-24T00:16:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=08932a198345c80d20cfa055a45464cebb9ff93b'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>[PATCH] UML: add generic BUG support</title>
<updated>2006-12-08T16:28:39Z</updated>
<author>
<name>Jeff Dike</name>
<email>jdike@addtoit.com</email>
</author>
<published>2006-12-08T10:36:23Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=e182c965b6ce0dffed0967a1be2173825a2ede2f'/>
<id>urn:sha1:e182c965b6ce0dffed0967a1be2173825a2ede2f</id>
<content type='text'>
The BUG changes in -mm3 need some arch support.  This patch adds the UML
support needed.  For the most part, it was stolen from the underlying
architecture.  The exception is the kernel eip &lt; PAGE_OFFSET test, which is
wrong for skas mode UMLs.

Signed-off-by: Jeff Dike &lt;jdike@addtoit.com&gt;
Cc: Jeremy Fitzhardinge &lt;jeremy@goop.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>Linux-2.6.12-rc2</title>
<updated>2005-04-16T22:20:36Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-04-16T22:20:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2'/>
<id>urn:sha1: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>
</entry>
</feed>
