<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Myles Watson escribió:
<blockquote
 cite="mid:2831fecf0912210715y74fe49b9r1213f1322fa3ef7c@mail.gmail.com"
 type="cite"><br>
  <br>
  <div class="gmail_quote">On Mon, Dec 21, 2009 at 3:27 AM, Knut Kujat <span
 dir="ltr"><<a moz-do-not-send="true" href="mailto:knuku@gap.upv.es">knuku@gap.upv.es</a>></span>
wrote: <br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div bgcolor="#ffffff" text="#000000"><br>
but I haven't changed anything but inserting some printk_spew into
"void dev_initialize(void)" to see where exactly jumps the exception
out.<br>
    </div>
  </blockquote>
  <div>Did you try increasing the stack size?  When you inserted the
printk statements, were there any warnings about format strings not
matching the number of arguments?  Have you tried disabling the
siblings yet?<br>
  <br>
Thanks,<br>
Myles   <br>
  </div>
  </div>
  <br>
</blockquote>
<br>
Hello,<br>
<br>
yes increasing stack size helped with the printks. And yes I tried to
disable siblings by adding uses CONFIG_LOGICAL_PROCESSORS and default
CONFIG_LOGICAL_PROCESSORS=0 to the Options.lb file but it complains at
building time that this options is unkown so I uses LOGICAL_CPUS
instead (is it the same?) without results.<br>
<br>
<br>
<br>
CPU model: Quad-Core AMD Opteron(tm) Processor 8350<br>
Setting up local apic...siblings = 03,  apic_id: 0x09 done.<br>
CPU #14 initialized<br>
CPU model: Quad-Core AMD Opteron(tm) Processor 8350<br>
Waiting for 1 CPUS to stop<br>
siblings = 03, CPU #9 initialized<br>
All AP CPUs stopped<br>
*** Debug: After init(dev);<br>
PCI: 00:18.0 init<br>
*** Debug: After init(dev);<br>
PCI: 00:02.0 init<br>
Unexpected Exception: 6 @ 10:00207fbd - Halting<br>
Code: 0 eflags: 00010013<br>
eax: 00226358 ebx: 00226358 ecx: 0021ea74 edx: 00000001<br>
edi: 0021ea74 esi: 00000001 ebp: 0023fff4 esp: 0023ff50<br>
<br>
Now I know that the the exception comes up in the corresponding
init(dev) for the PCI: 00:02.0 device. So I disabled PCI 2.0 in the
device tree and it just doesn't has any effect even it tells me that
PCI 2.0 enabled 0 at boot times, it stucks at the same place. <br>
<br>
Thanks,<br>
Knut Kujat<br>
<br>
<br>
</body>
</html>