public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Stian Jordet <liste-NI9zH3lwcMKHXe+LvDLADg@public.gmane.org>
To: "Grover, Andrew" <andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: RE: smpenum patch updated to 2.6.9-rc2
Date: Tue, 21 Sep 2004 04:01:47 +0200	[thread overview]
Message-ID: <1095732108.3544.6.camel@localhost.localdomain> (raw)
In-Reply-To: <F760B14C9561B941B89469F59BA3A847078E2B48-sBd4vmA9Se6krb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>

man, 20,.09.2004 kl. 11.29 -0700, skrev Grover, Andrew:
> If you'd like to really figure out why this system isn't working via
> MPS, here are some things to try:
> 
> 1) Is it hanging in that function? insert a printk at the very end, to
> see.
> 2) Find the line that says "#define Dprintk (x...)" in
> include/asm-i386/apic.h and change it to "#define Dprintk (x...) printk
> (x...)". That should print out everything that's going on, so we can
> compare the working ACPI case with the non-working MPS case.


First, thank you very much for your answer, you have really helped me a
lot. 

stianj@chevrolet:~$ uname -a
Linux chevrolet 2.6.9-rc2 #38 SMP Tue Sep 21 03:46:40 CEST 2004 i686
GNU/Linux

I have now recompiled my kernel 37 times, and I have rebooted twice that
amount :) Anyway, after testing 1000 things, I have actually found the
reason (I think). In arch/i386/kernel/mpparse.c, in the function
mps_setup_io_apic_irqs, I changed

for (pin = 0; pin < nr_ioapic_registers[apic]; pin++) {

to

for (pin = 3; pin < nr_ioapic_registers[apic]; pin++) {

and now it works. I found out this after using printk's which told me
that it hanged at pin 2. I have no idea why, since all this is just
magic for me, but I hope you can help me understand it.

I'm now running in IO-APIC mode without ACPI for the first time :) USB
don't work, but they never do on VIA boards in IO-APIC mode I'm told, so
that's ok (for now... :)

Bedtime now. The clock is 4 AM :)

Best regards,
Stian



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php

  parent reply	other threads:[~2004-09-21  2:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-20 18:29 smpenum patch updated to 2.6.9-rc2 Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A847078E2B48-sBd4vmA9Se6krb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-09-21  2:01   ` Stian Jordet [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-09-15 21:17 Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A847077F835A-sBd4vmA9Se6krb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-09-20 12:59   ` Stian Jordet
2004-09-14  0:23 Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A847077BA236-sBd4vmA9Se6krb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-09-14 22:00   ` Stian Jordet

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=1095732108.3544.6.camel@localhost.localdomain \
    --to=liste-ni9zh3lwcmkhxe+lvdladg@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.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