Re: [coreboot] [PATCH] workaround for An unexpected error (805262864) occurred at line 1768 of d:\xpclient\base\boot\setup\arcdisp.c
Marc Jones wrote: The attached patch works around a Windows XP or Server 2003 setup failure where an error message such as: An unexpected error (805262864) occurred at line 1768 of d:\xpclient\base\boot\setup\arcdisp.c The value 805262864 varies, and is the physical address, in decimal, of one of the ACPI tables. Tested on Persimmon. Others abuild tested only. Signed-off-by: Scott Duplichan sc...@notabs.org ]It looks like src/mainboard/amd/mahogany/acpi_tables.c has a double ]paste issue. Fix that and it looks good. ] ]Acked-by: Marc Jones marcj...@gmail.com ] ] ]Marc Hello Marc, Thanks for finding the double paste problem in mahogany. This change is revision 6600. Thanks, Scott -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
[coreboot] [PATCH] workaround for An unexpected error (805262864) occurred at line 1768 of d:\xpclient\base\boot\setup\arcdisp.c
The attached patch works around a Windows XP or Server 2003 setup failure where an error message such as: An unexpected error (805262864) occurred at line 1768 of d:\xpclient\base\boot\setup\arcdisp.c The value 805262864 varies, and is the physical address, in decimal, of one of the ACPI tables. Tested on Persimmon. Others abuild tested only. Signed-off-by: Scott Duplichan sc...@notabs.org Detailed explanation: The error message is displayed when a 1024 dword page table array used by setupldr runs out of space. This table is used for mapping various physical addresses, such as those of ACPI tables (a separate table identity maps the lower 16MB used by setupldr code and data). Setupldr only looks at ACPI tables (FACP) to determine make and model of the system. The make and model of the system is needed when setupldr scans the good/bad bios lists contained in txtsetup.sif. The good/bad bios lists are used to bypass installation of the ACPI enabled kernel on certain systems known to have ACPI problems. The code loop that scans the lists creates a new mapping each time it reads an ACPI table, and never frees mappings. The code uses FACP OEM ID to determine the system model. The code sequentially reads tables listed in the RSDT array until the FACP is found. Each read consumes one page table entry. If more that 4 tables precede the FACP in the RSDT array, the 1024 entry page table array will run out of space before the good/bad bios list processing completes. BIOS can work around this Windows XP/Server 2003 limitation by placing the FACP early in the RSDT array. Thanks, Scott xp-workaround.patch Description: Binary data -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] [PATCH] workaround for An unexpected error (805262864) occurred at line 1768 of d:\xpclient\base\boot\setup\arcdisp.c
On Wed, May 18, 2011 at 12:40 AM, Scott Duplichan sc...@notabs.org wrote: The attached patch works around a Windows XP or Server 2003 setup failure where an error message such as: An unexpected error (805262864) occurred at line 1768 of d:\xpclient\base\boot\setup\arcdisp.c The value 805262864 varies, and is the physical address, in decimal, of one of the ACPI tables. Tested on Persimmon. Others abuild tested only. Signed-off-by: Scott Duplichan sc...@notabs.org Detailed explanation: The error message is displayed when a 1024 dword page table array used by setupldr runs out of space. This table is used for mapping various physical addresses, such as those of ACPI tables (a separate table identity maps the lower 16MB used by setupldr code and data). Setupldr only looks at ACPI tables (FACP) to determine make and model of the system. The make and model of the system is needed when setupldr scans the good/bad bios lists contained in txtsetup.sif. The good/bad bios lists are used to bypass installation of the ACPI enabled kernel on certain systems known to have ACPI problems. The code loop that scans the lists creates a new mapping each time it reads an ACPI table, and never frees mappings. The code uses FACP OEM ID to determine the system model. The code sequentially reads tables listed in the RSDT array until the FACP is found. Each read consumes one page table entry. If more that 4 tables precede the FACP in the RSDT array, the 1024 entry page table array will run out of space before the good/bad bios list processing completes. BIOS can work around this Windows XP/Server 2003 limitation by placing the FACP early in the RSDT array. Thanks, Scott Hi Scott, Good find. This must have been a difficult debug. It looks like src/mainboard/amd/mahogany/acpi_tables.c has a double paste issue. Fix that and it looks good. Acked-by: Marc Jones marcj...@gmail.com Marc -- http://se-eng.com -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] [PATCH] workaround for An unexpected error (805262864) occurred at line 1768 of d:\xpclient\base\boot\setup\arcdisp.c
An excellent piece of debug. I spent a few days debugging this particular problem and can appreciate the work that Scott must have put in. I have tested the patch on the bimini_fam10 platform. I can't see any compromises in applying this patch so should it be considered it a fix rather than a workaround? Acked-by: David Robinson drobin...@bluechiptechnology.co.uk Blue Chip Technology David Robinson Software Development Engineer Tel : +44 (0) 1829 772000 Fax : +44 (0) 1829 772001 www.bluechiptechnology.co.uk Industrial Computers | Single Board Computers | Panel PCs | Data Acquisition | Digital Signage | Custom Design Engineer Solutions for Embedded and Industrial Computing - Original Message - From: coreboot-requ...@coreboot.org To: coreboot@coreboot.org Sent: Wednesday, 18 May, 2011 7:40:46 AM Subject: coreboot Digest, Vol 75, Issue 54 Send coreboot mailing list submissions to coreboot@coreboot.org To subscribe or unsubscribe via the World Wide Web, visit http://www.coreboot.org/mailman/listinfo/coreboot or, via email, send a message with subject or body 'help' to coreboot-requ...@coreboot.org You can reach the person managing the list at coreboot-ow...@coreboot.org When replying, please edit your Subject line so it is more specific than Re: Contents of coreboot digest... Today's Topics: 1. Re: How long will take to add coreboot support formy motherboard? Please, expert roughly estimation needed. (Peter Stuge) 2. Re: How long will take to add coreboot support for my motherboard? Please, expert roughly estimation needed. (Vikram Narayanan) 3. Re: How long will take to add coreboot support for my motherboard? Please, expert roughly estimation needed. (Vikram Narayanan) 4. Re: Kconfig vs. devicetree vs. CMOS policy for options? (Scott Duplichan) 5. [PATCH] workaround for An unexpected error (805262864) occurred at line 1768 of d:\xpclient\base\boot\setup\arcdisp.c (Scott Duplichan) -- Message: 1 Date: Wed, 18 May 2011 03:40:36 +0200 From: Peter Stuge pe...@stuge.se To: coreboot coreboot@coreboot.org Subject: Re: [coreboot] How long will take to add coreboot support for mymotherboard? Please, expert roughly estimation needed. Message-ID: 20110518014036.31531.qm...@stuge.se Content-Type: text/plain; charset=us-ascii Vikram Narayanan wrote: Thank you. I think this can also be in Developer wiki. This might give an insight of how much work is involved. (or is it already there in the wiki?) Dunno..? Isn't it mostly common sense? (That development can be fast or slow, and depends on how much can be reused.) I'm not saying I am opposed to it being in the wiki, but it's also easy to spam the FAQ.. //Peter -- Message: 2 Date: Wed, 18 May 2011 07:18:05 +0530 From: Vikram Narayanan vikram...@gmail.com To: peter pe...@stuge.se Cc: coreboot coreboot@coreboot.org Subject: Re: [coreboot] How long will take to add coreboot support for my motherboard? Please, expert roughly estimation needed. Message-ID: banlktindvvqco-3csmsddv7gu2ssjyi...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 On Wed, May 18, 2011 at 7:10 AM, Peter Stuge pe...@stuge.se wrote: Vikram Narayanan wrote: Thank you. I think this can also be in Developer wiki. This might give an insight of how much work is involved. (or is it already there in the wiki?) Dunno..? Isn't it mostly common sense? (That development can be fast or slow, and depends on how much can be reused.) I'm not saying I am opposed to it being in the wiki, but it's also easy to spam the FAQ.. I agree with you. But for people who are new to the porting, this may be helpful. I don't know how many of the newbies to coreboot are aware of the fact that many things can be reused, and sometimes porting is very easy. Just a thought (to include this in wiki). - Thanks, Vikram -- Message: 3 Date: Wed, 18 May 2011 07:08:02 +0530 From: Vikram Narayanan vikram...@gmail.com To: pe...@stuge.se Cc: coreboot coreboot@coreboot.org Subject: Re: [coreboot] How long will take to add coreboot support for my motherboard? Please, expert roughly estimation needed. Message-ID: banlktikzae7aiy4mmgk5c8+u6n8bqgz...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 On Tue, May 17, 2011 at 10:52 PM, Peter Stuge pe...@stuge.se wrote: Vikram Narayanan wrote: It took me less then 8 hours to make my first port, and I'm not even a C programmer, mine was a best case senario as there was a sibling board already ported. I have also ported some where just the component where supported, that didn't take to long either, probably 7-10 hours. Working on a board where only legacy code and docs are available I have probably spend around 12 hours to get to ram init. I
Re: [coreboot] [PATCH] workaround for An unexpected error (805262864) occurred at line 1768 of d:\xpclient\base\boot\setup\arcdisp.c
On Thu, May 19, 2011 at 2:59 AM, Marc Jones marcj...@gmail.com wrote: On Wed, May 18, 2011 at 12:40 AM, Scott Duplichan sc...@notabs.org wrote: The attached patch works around a Windows XP or Server 2003 setup failure where an error message such as: An unexpected error (805262864) occurred at line 1768 of d:\xpclient\base\boot\setup\arcdisp.c The value 805262864 varies, and is the physical address, in decimal, of one of the ACPI tables. Tested on Persimmon. Others abuild tested only. Signed-off-by: Scott Duplichan sc...@notabs.org Detailed explanation: The error message is displayed when a 1024 dword page table array used by setupldr runs out of space. This table is used for mapping various physical addresses, such as those of ACPI tables (a separate table identity maps the lower 16MB used by setupldr code and data). Setupldr only looks at ACPI tables (FACP) to determine make and model of the system. The make and model of the system is needed when setupldr scans the good/bad bios lists contained in txtsetup.sif. The good/bad bios lists are used to bypass installation of the ACPI enabled kernel on certain systems known to have ACPI problems. The code loop that scans the lists creates a new mapping each time it reads an ACPI table, and never frees mappings. The code uses FACP OEM ID to determine the system model. The code sequentially reads tables listed in the RSDT array until the FACP is found. Each read consumes one page table entry. If more that 4 tables precede the FACP in the RSDT array, the 1024 entry page table array will run out of space before the good/bad bios list processing completes. BIOS can work around this Windows XP/Server 2003 limitation by placing the FACP early in the RSDT array. Thanks, Scott Hi Scott, Good find. This must have been a difficult debug. It looks like src/mainboard/amd/mahogany/acpi_tables.c has a double paste issue. Fix that and it looks good. Seems to be an issue with the line endings. He could have edited something in windows and made the patch. - Thanks, Vikram -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot