2.1.112 SMP oops on boot, despite fix in smp_lock.h

Eugene Crosser (crosser@average.org)
29 Jul 1998 21:35:20 GMT

Kernel 2.1.112 SMP on a dual Pentium, while booting:
IO-APIC pin 0, 7, 11, 13, 15, 18, 20, 21, 22, 23 not connected
Unable to handle kernel paging request at virtual address c4800280
current->tss.cr3 = 00101000, %cr3 = 00101000
*pde = 0009c063
*pte = 0009b061
Oops: 0003
CPU: 0
EIP: 0010:[<c01c500e>]
EFLAGS: 00010202
eax: 0018af40 ebx: 00000051 ecx: c4800000 edx: c0108e00
esi: 00000000 edl: 00000000 ebp: c01b4fe0 esp: c0107f94
ds: 0018 es: 0018 ss: 0018
Process swapper (pid: 0, process nr: 0, stackpage=c0107000)
Stack: 17bb09c4 0000001a 00000002 17bb0000 c01c6d30 c01c7b8c 00000000 0009e000
c0106000 00009000 c01c4295 00000002 00000001 c01c4885 c01c49a2 c019c94e
c02ad084 c4000000 c02ad084 c4000000 00000000 0009e000 c01b5228 c01001b5
Call trace: [<c0106000>] [<c019c94e>] [<c01001b5>]
Code: 89 04 d9 89 54 d9 04 47 83 ff 3f 7e cd 5b 5e 5f 5d c3 83 ec
Kernel panic: Attempted to kill the idle task!
In swapper task - not syncing
c01c4fdc T init_IRQ_SMP
EIP: 0010:[<c01c500e>]
c01c5020 T setup_arch

c0106000 T init_task_union [<c0106000>]

c019a050 T stext_lock
c019e0f7 R lk_lockmsg

c01001b5 t L6 [<c01001b5>]

This was before Linus's fix in smp_lock.h. After the fix, addresses are
slightly different, but it breaks at the same point. I also tried .112
on a UP machine; when compiled SMP, the kernel cycles at some address
after stext_lock. Compiled as UP, it works, and seems quite stable.

Eugene Crosser; 2:5020/230@fidonet; http://www.average.org/~crosser/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html