From: Xavier Bru <Xavier.Bru@bull.net>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] Problem with 2.4.19 and ACPI
Date: Wed, 18 Sep 2002 16:24:04 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590701906039@msgid-missing> (raw)
Hi,
We found a problem booting 2.4.19 on our IA64 platform.
The new code for ACPI gets the hosts bus address space from ACPI calling
acpi_get_crs_addr().
On Bull platform, we have a specific bus that accesses the chipset,
and provides no memory range. This should not be a problem, as
acpi_get_crs_addr() scans the resources of the bus and returns if no
memory range.
Unfortunately, the detection of the end of resources loops on the
ACPI_RSTYPE_END_TAG item due to a wrong size provided in this item,
and sytem does not boot.
Platform boots OK with the following patch:
-----------------------------------------------------------------------------
diff --exclude-from /home/xb/proc/diff.exclude -aur 2.4.19.ref/drivers/acpi/resources/rsmisc.c 2.4.19/drivers/acpi/resources/rsmiscc.c
--- 2.4.19.ref/drivers/acpi/resources/rsmisc.c Mon Aug 26 14:01:04 2002
+++ 2.4.19/drivers/acpi/resources/rsmisc.c Wed Sep 18 16:42:32 2002
@@ -79,7 +79,7 @@
/*
* Set the Length parameter
*/
- output_struct->length = 0;
+ output_struct->length = (u32) struct_size; /*BULL*/
/*
* Return the final size of the structure
Traces ------------------------------------------------
0xe00000000440d2a0 acpi_get_crs_next <---- loop
args (0xe00000001eaffc50, 0xe00000001eaffc40)
kernel .text 0xe000000004400000 0xe00000000440d2a0 0xe00000000440d320
0xe00000000440d450 acpi_get_crs_addr+0x50
args (0xe00000001eaffc50, 0x0, 0xe00000001eaffc60, 0xe00000001eaffc68, 0xe00000001eaffc70)
kernel .text 0xe000000004400000 0xe00000000440d400 0xe00000000440d600
0xe00000000440d6b0 acpi_get_addr_space+0xb0
args (0x0, 0x0, 0xe00000001eaffc60, 0xe00000001eaffc68, 0xe00000001eaffc70)
kernel .text 0xe000000004400000 0xe00000000440d600 0xe00000000440d700
0xe000000004443ef0 pcibios_scan_root+0x90
args (0xe00000001ea61030, 0xe00000001ea77f00, 0xff, 0xe00000001eaffc70, 0xe00000000466cac0)
kernel .text 0xe000000004400000 0xe000000004443e60 0xe000000004443f40
0xe00000000466cac0 acpi_pci_root_add+0x400
args (0xe00000001eaa5e00, 0xe00000001ea77e8a, 0xe00000001ea77e80, 0xe00000001ea77e88, 0xe00000001eaa5e5a)
kernel .text 0xe000000004400000 0xe00000000466c6c0 0xe00000000466cc40
0xe00000000466a0a0 acpi_bus_driver_init+0x160
args (0xe00000001eaa5e00, 0xe000000004c681e8, 0xe000000004ecfb30, 0x309, 0xe00000000466aae0)
kernel .text 0xe000000004400000 0xe000000004669f40 0xe00000000466a2e0
0xe00000000466aae0 acpi_bus_find_driver+0x1a0
args (0xe00000001eaa5e00, 0xe000000004c681e8, 0xe000000004c680b8, 0xffffffffffffffed, 0xe00000000466bf30)
kernel .text 0xe000000004400000 0xe00000000466a940 0xe00000000466aba0
0xe00000000466bf30 acpi_bus_add+0xc70
0xe00000001eaffc50 00000058 00000000 1ea63100 e0000000 X........1¦....à
0xe00000001ea63100 0000000b 00000048 00000002 00000000 ....H...........
0xe00000001ea63110 00000000 00000001 00000001 00000000 ................
0xe00000001ea63120 00000000 000000ff 000000ff 00000000 ....ÿ...ÿ.......
0xe00000001ea63130 00000001 00000000 00000000 00000000 ................
0xe00000001ea63140 00000000 00000000 00000007 00000000
XXXXXXXX length=0
0xe00000001ea63150 00000000 00000000 00000000 00000000 ................
0xe00000001ea63160 eaeaeaea eaeaeaea 00000000 00000000 êêêêêêêê........
0xe00000001ea63170 00000000 00000000 00000000 00000000 ................
--
Sincères salutations.
_____________________________________________________________________
Xavier BRU BULL ISD/R&D/INTEL office: FREC B1-422
tel : +33 (0)4 76 29 77 45 http://www-frec.bull.fr
fax : +33 (0)4 76 29 77 70 mailto:Xavier.Bru@bull.net
addr: BULL, 1 rue de Provence, BP 208, 38432 Echirolles Cedex, FRANCE
_____________________________________________________________________
next reply other threads:[~2002-09-18 16:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-18 16:24 Xavier Bru [this message]
2002-09-18 16:42 ` [Linux-ia64] Problem with 2.4.19 and ACPI Bjorn Helgaas
2002-09-19 8:55 ` Xavier Bru
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=marc-linux-ia64-105590701906039@msgid-missing \
--to=xavier.bru@bull.net \
--cc=linux-ia64@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox