Skip to contentSkip to conversation

2.6.13-rc6-rt9

DISCUSSION Karsten Wiese 3 participants 4 messages Aug 19, 2005 – Aug 22, 2005

lore
Share & tools
lore
#0 lore raw
Quoted 8 lines · Chuck

I'm still getting the same oops when rebooting. the same process (reboot) similar call trace (some addresses are slightly different but the functions are the same:

disable_IO_APIC+0x5a/0x90 (8)
machine_restart+0x5/0x9 (28)
sys_reboot+0x147/0x156 (4)
netdev_run_todo+0xa4/0x209 (4)

etc.

Does this patch help?

------

i386/kernel/io_apic.c 2005-08-19 12:29:30.000000000 +0200 renamed from i386/kernel/io_apic.c.rt9 2005-08-19 12:28:42.000000000 +0200 +2 -2
diff -up arch/i386/kernel/io_apic.c.rt9 arch/i386/kernel/io_apic.c
@@ -1758,8 +1758,8 @@ void disable_IO_APIC(void)
                 * Add it to the IO-APIC irq-routing table:
                 */
                spin_lock_irqsave(&ioapic_lock, flags);
-               io_apic_write(0, 0x11+2*pin, *(((int *)&entry)+1));
-               io_apic_write(0, 0x10+2*pin, *(((int *)&entry)+0));
+               io_apic_write(ioapic_data[0], 0x11+2*pin, *(((int *)&entry)+1));
+               io_apic_write(ioapic_data[0], 0x10+2*pin, *(((int *)&entry)+0));
                spin_unlock_irqrestore(&ioapic_lock, flags);
        }
        disconnect_bsp_APIC(pin != -1);

------

Karsten

___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de

#1 lore raw

Sure did. At least on a normal reboot. I will try
SysRq+B and see what happens. Thanks.

Quoted 43 lines · Karsten Wiese
Quoted 8 lines · Chuck

I'm still getting the same oops when rebooting. the same process (reboot) similar call trace (some addresses are slightly different but the functions are the same:

disable_IO_APIC+0x5a/0x90 (8)
machine_restart+0x5/0x9 (28)
sys_reboot+0x147/0x156 (4)
netdev_run_todo+0xa4/0x209 (4)

etc.

Does this patch help?

------
diff -up arch/i386/kernel/io_apic.c.rt9 arch/i386/kernel/io_apic.c

i386/kernel/io_apic.c 2005-08-19 12:29:30.000000000 +0200 renamed from i386/kernel/io_apic.c.rt9 2005-08-19 12:28:42.000000000 +0200 +2 -3
@@ -1758,8 +1758,8 @@ void disable_IO_APIC(void)
                * Add it to the IO-APIC irq-routing table:
                */
               spin_lock_irqsave(&ioapic_lock, flags);
-               io_apic_write(0, 0x11+2*pin, *(((int *)&entry)+1));
-               io_apic_write(0, 0x10+2*pin, *(((int *)&entry)+0));
+               io_apic_write(ioapic_data[0], 0x11+2*pin, *(((int *)&entry)+1));
+               io_apic_write(ioapic_data[0], 0x10+2*pin, *(((int *)&entry)+0));
               spin_unlock_irqrestore(&ioapic_lock, flags);
       }
       disconnect_bsp_APIC(pin != -1);
------
 
  Karsten

___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 6 lines
Charles D. (Chuck) Harding <[email protected]>  Voice: 925-423-8879
Senior Computer Associate         ICCD            Fax: 925-423-6961
Lawrence Livermore National Laboratory      Computation Directorate
Livermore, CA USA  http://www.llnl.gov  GPG Public Key ID: B9EB6601
------------------ http://tinyurl.com/5w5ey -----------------------
-- The Lab called... Your brain is ready! --
#2 lore raw
Quoted 3 lines · Chuck Harding

Sure did. At least on a normal reboot. I will try
SysRq+B and see what happens. Thanks.

And no oops with SysRq+B either. Thanks.

Signature · 6 lines
Charles D. (Chuck) Harding <[email protected]>  Voice: 925-423-8879
Senior Computer Associate         ICCD            Fax: 925-423-6961
Lawrence Livermore National Laboratory      Computation Directorate
Livermore, CA USA  http://www.llnl.gov  GPG Public Key ID: B9EB6601
------------------ http://tinyurl.com/5w5ey -----------------------
-- The world is coming to an end... save your buffers! --
#3 lore raw
In reply to Karsten Wiese

i386/kernel/io_apic.c 2005-08-19 12:29:30.000000000 +0200 void disable_IO_APIC(void) · line 1763

Quoted 12 lines · Karsten Wiese

diff -up arch/i386/kernel/io_apic.c.rt9 arch/i386/kernel/io_apic.c

i386/kernel/io_apic.c 2005-08-19 12:29:30.000000000 +0200 renamed from i386/kernel/io_apic.c.rt9 2005-08-19 12:28:42.000000000 +0200 +2 -2
@@ -1758,8 +1758,8 @@ void disable_IO_APIC(void)
                 * Add it to the IO-APIC irq-routing table:
                 */
                spin_lock_irqsave(&ioapic_lock, flags);
-               io_apic_write(0, 0x11+2*pin, *(((int *)&entry)+1));
-               io_apic_write(0, 0x10+2*pin, *(((int *)&entry)+0));
+               io_apic_write(ioapic_data[0], 0x11+2*pin, *(((int *)&entry)+1));
+               io_apic_write(ioapic_data[0], 0x10+2*pin, *(((int *)&entry)+0));
                spin_unlock_irqrestore(&ioapic_lock, flags);

i've hand-applied it - note that your mailer has converted all tabs to spaces.

Ingo