Thread (1 message) 1 message, 1 author, 2003-06-01

Re: PROBLEM: Executing /sbin/hwclock hangs 2.4.21-rc[12] with ACPI snapshot patches

From: Sérgio Monteiro Basto <hidden>
Date: 2003-06-01 14:35:49

Ok thanks

so the patch can be forget it

Sérgio
On Sun, 2003-06-01 at 15:08, hgfelger-9nAOAgdJVo4b1SvskN2V4Q@public.gmane.org wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Salut Sérgio,
On 1 Jun 2003, Sérgio Monteiro Basto wrote:
quoted
I this is just a hint (of my imagination) ,
this isn't really a patch, it is the return back of
ACPI: Indicate whether we handled the interrupt or not.
that is been introduction in 20030424acpi.

I try in my computer and works ok, but I don't have the problem of
hwclock
so if you try this patch and if it works. we can solve this problem
putting  this problematic boards on blacklist etc.
So can you try this patch and tell me something.

Note: you just need apply this patch and
make bzImage;
and install it with:
make install.
I had problems to apply the patch... maybe I was starting with the wrong
kernel-source. I used the rc3-kernel together with the acpi-rc1-patch. I
then applied as much of your patch as possible (see attachement, for what
I applied).
But I am sorry to say, that it did not cure the Ali (et al.)
hwclock-/dev/rtc freezing.
If you issue
 hwclock --debug
the last words it says are:
 waiting for clock tick

The problem with the freezing, that was introduced with acpi-rc1-patch is,
that there are 5840 lines, that are the difference to the
acpi-pre6-patch...

Regards
  hartwig felger

Hartwig Felger informatics

- -- 
1024D/339FD693 Hartwig Felger [off-list ref]
Key fingerprint = FB2F 3EE9 345A D55B 6FF2  0EC1 F5B0 684F 339F D693
For the pulic keys, please visit my page.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+2gjT9bBoTzOf1pMRAuv3AJ48tjzXCxuM/Kl3+gdo5cHq5ZfbagCdHpIH
2Uuk6igEfKvPC5FDqCVhKqw=
=FmHJ
-----END PGP SIGNATURE-----
----
quoted hunk
--- rc1/arch/i386/kernel/mpparse.c	2003-05-31 13:24:29.000000000 +0200
+++ wk2/arch/i386/kernel/mpparse.c	2003-06-01 15:06:01.000000000 +0200
@@ -1274,14 +1274,10 @@
 	list_for_each(node, &acpi_prt.entries) {
 		entry = list_entry(node, struct acpi_prt_entry, node);
 
-		/* Need to get irq for dynamic entry */
-		if (entry->link.handle) {
-			irq = acpi_pci_link_get_irq(entry->link.handle, entry->link.index);
-			if (!irq)
-				continue;
-		}
-		else
-			irq = entry->link.index;
+		/* We're only interested in static (non-link) entries. */
+                if (entry->link.handle)
+		  continue;
+		irq = entry->link.index;
 
 		ioapic = mp_find_ioapic(irq);
 		if (ioapic < 0)
-- 
SérgioMB
email: sergiomb-hHo3WeeoaswVhHzd4jOs4w@public.gmane.org

Who gives me one shell, give me everything.



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help