<div dir="ltr"><br><br><div class="gmail_quote">On Mon, May 11, 2009 at 4:33 PM, Myles Watson <span dir="ltr"><<a href="mailto:mylesgw@gmail.com">mylesgw@gmail.com</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><div></div><div class="h5">On Mon, May 11, 2009 at 7:30 AM, Elia Yehuda <<a href="mailto:z4ziggy@gmail.com">z4ziggy@gmail.com</a>> wrote:<br>
><br>
><br>
> On Mon, May 11, 2009 at 3:42 PM, Joseph Smith <<a href="mailto:joe@settoplinux.org">joe@settoplinux.org</a>> wrote:<br>
>><br>
>><br>
>><br>
>> On Sun, 10 May 2009 23:09:36 -0400, Corey Osgood <<a href="mailto:corey.osgood@gmail.com">corey.osgood@gmail.com</a>><br>
>> wrote:<br>
>> > On Sun, May 10, 2009 at 6:34 PM, Elia Yehuda <<a href="mailto:z4ziggy@gmail.com">z4ziggy@gmail.com</a>> wrote:<br>
>> ><br>
>> >> here is the comment from my previous patch, revealing most of my RE<br>
>> >> work<br>
>> > :<br>
>> >><br>
>> >><br>
>> >> /* TODO: This needs to be calculated according to the DRAM tech<br>
>> >> * (x8, x16, or x32). Argh, Intel provides no docs on this!<br>
>> >> * Currently, it needs to be pulled from the output of<br>
>> >> * lspci -xxx Rx92<br>
>> >> * here are some common results:<br>
>> >> * (c = 128MB dual sided, d = 128MB single sided, f = 256MB dual<br>
>> > sided)<br>
>> >> * BUFF_SC: tom: drp: DIMM0: DIMM1:<br>
>> >> * 0x3356 128MB 0x0c 128MB dual-sided -<br>
>> >> * 0xcc56 128MB 0xc0 - 128MB dual-sided<br>
>> >> * 0x77da 128MB 0x0d 128MB single-sided -<br>
>> >> * 0xddda 128MB 0xd0 - 128MB single-sided<br>
>> >> * 0x0001 256MB 0xcc 128MB dual-sided 128MB dual-sided<br>
>> >> * 0x55c6 256MB 0xdd 128MB single-sided 128MB single-sided<br>
>> >> * 0x4445 256MB 0xcd 128MB single-sided 128MB dual-sided<br>
>> >> * 0x1145 256MB 0xdc 128MB dual-sided 128MB single-sided<br>
>> >> * 0x3356 256MB 0x0f 256MB dual-sided -<br>
>> >> * 0xcc56 256MB 0xf0 - 256MB dual-sided<br>
>> >> * 0x0001 384MB 0xcf 256MB dual-sided 128MB dual-sided<br>
>> >> * 0x0001 384MB 0xfc 128MB dual-sided 256MB dual-sided<br>
>> >> * 0x1145 384MB 0xdf 256MB dual-sided 128MB single-sided<br>
>> >> * 0x4445 384MB 0xfd 128MB single-sided 256MB dual-sided<br>
>> >> * 0x0001 512MB 0xff 256MB dual-sided 256MB dual-sided<br>
>> >> *<br>
>> >> * BUFF_SC: BUFF_SC in binary: tom: drp:<br>
>> >> DIMM0: DIMM1:<br>
>> >> * 0x3356 0 0 1 1 00 11 01 01 01 10 128MB 0x0c 128MB<br>
>> >> dual-sided -<br>
>> >> * 0xcc56 1 1 0 0 11 00 01 01 01 10 128MB 0xc0<br>
>> >> - 128MB dual-sided<br>
>> >> * 0x77da 0 1 1 1 01 11 11 01 10 10 128MB 0x0d 128MB<br>
>> >> single-sided -<br>
>> >> * 0xddda 1 1 0 1 11 01 11 01 10 10 128MB 0xd0<br>
>> >> - 128MB single-sided<br>
>> >> * 0x0001 0 0 0 0 00 00 00 00 00 01 256MB 0xcc 128MB<br>
>> >> dual-sided 128MB dual-sided<br>
>> >> * 0x55c6 0 1 0 1 01 01 11 00 01 10 256MB 0xdd 128MB<br>
>> >> single-sided 128MB single-sided<br>
>> >> * 0x4445 0 1 0 0 01 00 01 00 01 01 256MB 0xcd 128MB<br>
>> >> single-sided 128MB dual-sided<br>
>> >> * 0x1145 0 0 0 1 00 01 01 00 01 01 256MB 0xdc 128MB<br>
>> >> dual-sided 128MB single-sided<br>
>> >> * 0x3356 0 0 1 1 00 11 01 01 01 10 256MB 0x0f 256MB<br>
>> >> dual-sided -<br>
>> >> * 0xcc56 1 1 0 0 11 00 01 01 01 10 256MB 0xf0<br>
>> >> - 256MB dual-sided<br>
>> >> * 0x0001 0 0 0 0 00 00 00 00 00 01 384MB 0xcf 256MB<br>
>> >> dual-sided 128MB dual-sided<br>
>> >> * 0x0001 0 0 0 0 00 00 00 00 00 01 384MB 0xfc 128MB<br>
>> >> dual-sided 256MB dual-sided<br>
>> >> * 0x1145 0 0 0 1 00 01 01 00 01 01 384MB 0xdf 256MB<br>
>> >> dual-sided 128MB single-sided<br>
>> >> * 0x4445 0 1 0 0 01 00 01 00 01 01 384MB 0xfd 128MB<br>
>> >> single-sided 256MB dual-sided<br>
>> >> * 0x0001 0 0 0 0 00 00 00 00 00 01 512MB 0xff 256MB<br>
>> >> dual-sided 256MB dual-sided<br>
>> >><br>
>> >> 0:1 00 = 0 DIMMs<br>
>> >> 01 = 2 dual<br>
>> >> 1 dual + 1 single<br>
>> >> 1 single + 1 dual<br>
>> >> 10 = 1 DIMM only<br>
>> >> 2 single<br>
>> >> 2:3 00 = 2 dual sided<br>
>> >> 01 = 1 dual sided only<br>
>> >> 2 single sided<br>
>> >> 1 dual + 1 single<br>
>> >> 1 single + 1 dual<br>
>> >> 10 = 1 single sided only<br>
>> >> 4:5 00 = 2 DIMMs<br>
>> >> 01 = 1 DIMM only<br>
>> >> 6:7 00 = 2 dual<br>
>> >> 01 = 1 dual only<br>
>> >> 1 dual + 1 single<br>
>> >> 1 single + 1 dual<br>
>> >> 11 = 1 single<br>
>> >> 2 single<br>
>> >> 8:9 00 = 2 dual<br>
>> >> 1 single + 1 dual<br>
>> >> 1 dual only in slot #1<br>
>> >> 01 = 1 single only in slot #1<br>
>> >> 1 dual + 1 single<br>
>> >> 2 single<br>
>> >> 11 = no dimm in slot #1<br>
>> >> 10:11 00 = 1 dual only in slot #0<br>
>> >> 2 dual<br>
>> >> 1 dual + 1 single<br>
>> >> 01 = 1 single only in slot #0<br>
>> >> 2 single<br>
>> >> 1 single + 1 dual<br>
>> >> 11 = no dimm in slot #0<br>
>> >> 12 0 = 1 dual only in slot #1<br>
>> >> 2 dual<br>
>> >> 1 single + 1 dual<br>
>> >> 1 = no dimm in slot #1<br>
>> >> 1 single<br>
>> >> 2 single<br>
>> >> 1 dual + 1 single<br>
>> >> 13 0 = any in slot #1<br>
>> >> 1 = no dimm in slot #1<br>
>> >> 14 0 = 1 dual only in slot #0<br>
>> >> 2 dual<br>
>> >> 1 dual + 1 single<br>
>> >> 1 = no dimm in slot #0<br>
>> >> 1 single only in slot #0<br>
>> >> 2 single<br>
>> >> 1 single + 1 dual<br>
>> >> 15 0 = no dimm in slot #1<br>
>> >> 2 DIMMs<br>
>> >> 1 = no dimm in slot #0<br>
>> >><br>
>> >><br>
>> >> */<br>
>> >><br>
>> >><br>
>> > Wow, cool, I'd never have been able to put that together ;) thanks!<br>
>> ><br>
>> Yes very cool :-)<br>
><br>
> thanks :)<br>
><br>
>><br>
>> I am going to have to test this out on the i830.<br>
>> Elia do you need someone with svn access to apply your patch?<br>
><br>
> sure, but as was suggested by Myles Watson, we'll wait for the<br>
> HAVE_HIGH_TABLES fix before applying this patch.<br>
<br>
</div></div>I don't want to hold back progress. I think you've done good work.<br>
Maybe you could send boot logs to the list and get help to track down<br>
the error. I don't have the hardware, but I'd be happy to help some.<br>
Could you add a few printks to the calculations of tomk before<br>
collecting the logs (with and without HAVE_HIGH_TABLES?</blockquote><div><br>sure. will do it later today and post my logs to the ml.<br>also, uwe is planning to test the patches later today too, so he might<br>be successful in tracing the problem before me :)<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
Thanks,<br>
<font color="#888888">Myles<br>
</font></blockquote></div><br>Elia.<br></div>