From: Jason Wessel <jason.wessel@windriver.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] MIPS64 problem with ethernet
Date: Mon, 21 May 2007 10:00:31 -0500 [thread overview]
Message-ID: <4651B40F.3000704@windriver.com> (raw)
The ethernet device does not come up correctly on a 64 MIPS target with
a 64 bit kernel.
I narrowed it down a bit, so I thought I might mention it.
If I add to the kernel the line:
printk("\nTest ~0UL == %lx\n", (~0UL));
It will print correctly on the real HW:
Test ~0UL == ffffffffffffffff
In qemu-system-mips64 it will only print:
Test ~0UL ==
The ethernet fails due to the failure of the computing of the test
kcalloc() found in slab.h.
if (n != 0 && size > ULONG_MAX / n)
Where n == 16, size == 8, and ULONG_MAX == (~0UL). I suspect some low
level debugging of which op code translation is at fault would be next...
Jason.
next reply other threads:[~2007-05-21 15:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-21 15:00 Jason Wessel [this message]
2007-05-21 15:39 ` [Qemu-devel] MIPS64 problem with ethernet Aurelien Jarno
2007-05-21 15:49 ` Jason Wessel
2007-05-26 21:18 ` Aurelien Jarno
2007-05-27 11:30 ` Jason Wessel
2007-05-27 23:07 ` Aurelien Jarno
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4651B40F.3000704@windriver.com \
--to=jason.wessel@windriver.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.