Andi Kleen wrote:
On Fri, Nov 26, 2004 at 11:48:07AM +0100, Andreas Wahlert wrote:
Andi Kleen wrote:
i guess i have found my problem:
http://www.x86-64.org/lists/discuss/msg05795.html
What's happen with this??? This is extactly "my" kernel panic. But i have just 2 processors.
Can you post the full text?
-Andi
It's tricky.
i think, the panik is to early. My minicom is blinking "online" a very short time. But there are no output in the minicom interface.
First I would test if the cable works from a working system (baud rate matches etc.) Boot a working kernel and do stty speed <baudrate> < /dev/ttyS0 echo hello > /dev/ttyS0 and check if hello appears in the minicom.
If you think the panic is too early you can boot in addition with earlyprintk=serial,ttyS0,baudrate This will print the earlier kernel messages too.
-Andi
yeeehaaaa, i get it!!! cable was wrong! Shit. ok here is it: Bootdata ok (command line is root=/dev/hda1 vga=normal selinux=0 console=ttyS0,38400 resume=/dev/hda2 desktop elevator=as) Linux version 2.6.8-24-smp (geeko@buildhost) (gcc version 3.3.4 (pre 3.3.5 20040809)) #1 SMP Wed Oct 6 09:16:23 UTC 2004 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009b800 (usable) BIOS-e820: 000000000009b800 - 00000000000a0000 (reserved) BIOS-e820: 00000000000d2000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 00000000dff70000 (usable) BIOS-e820: 00000000dff70000 - 00000000dff7f000 (ACPI data) BIOS-e820: 00000000dff7f000 - 00000000dff80000 (ACPI NVS) BIOS-e820: 00000000dff80000 - 00000000e0000000 (reserved) BIOS-e820: 00000000fec00000 - 00000000fec00400 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved) Scanning NUMA topology in Northbridge 24 Number of nodes 2 (10010) Node 0 using interleaving mode 1/0 No NUMA configuration found Faking a node at 0000000000000000-00000000dff70000 Bootmem setup node 0 0000000000000000-00000000dff70000 No mptable found. ACPI: RSDP (v002 PTLTD ) @ 0x00000000000f6f80 ACPI: XSDT (v001 PTLTD XSDT 0x06040000 LTP 0x00000000) @ 0x00000000dff7b7f5 ACPI: FADT (v003 AMD HAMMER 0x06040000 PTEC 0x000f4240) @ 0x00000000dff7ee23 ACPI: ASF! (v032 TYAN TYANASF 0x06040000 PTL 0x00000001) @ 0x00000000dff7ef17 ACPI: MADT (v001 PTLTD APIC 0x06040000 LTP 0x00000000) @ 0x00000000dff7ef8a ACPI: DSDT (v001 AMD-K8 AMDACPI 0x06040000 MSFT 0x0100000e) @ 0x0000000000000000 ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) Processor #0 15:5 APIC version 16 ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled) Processor #1 15:5 APIC version 16 ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1]) ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1]) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23 ACPI: IOAPIC (id[0x03] address[0xe0000000] gsi_base[24]) IOAPIC[1]: apic_id 3, version 17, address 0xe0000000, GSI 24-27 ACPI: IOAPIC (id[0x04] address[0xe0001000] gsi_base[28]) IOAPIC[2]: apic_id 4, version 17, address 0xe0001000, GSI 28-31 ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge) Using ACPI (MADT) for SMP configuration information Checking aperture... CPU 0: aperture @ e8000000 size 128 MB CPU 1: aperture @ e8000000 size 128 MB Built 1 zonelists Kernel command line: root=/dev/hda1 vga=normal selinux=0 console=ttyS0,38400 resume=/dev/hda2 desktop elevator=as showopts Initializing CPU#0 PID hash table entries: 4096 (order: 12, 131072 bytes) time.c: Using 1.193182 MHz PIT timer. time.c: Detected 2390.097 MHz processor. Console: colour VGA+ 80x25 Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) Memory: 3605604k/3669440k available (2452k kernel code, 0k reserved, 942k data, 220k init) Security Scaffold v1.0.0 initialized SELinux: Disabled at boot. Mount-cache hash table entries: 256 (order: 0, 4096 bytes) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 1024K (64 bytes/line) Using local APIC NMI watchdog using perfctr0 CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 1024K (64 bytes/line) CPU0: AMD Opteron(tm) Processor 250 stepping 0a per-CPU timeslice cutoff: 1024.00 usecs. task migration cache decay timeout: 2 msecs. Booting processor 1/1 rip 6000 rsp 100dff25f58 Initializing CPU#1 CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 1024K (64 bytes/line) AMD Opteron(tm) Processor 250 stepping 0a Total of 2 processors activated (9469.95 BogoMIPS). Using local APIC timer interrupts. Detected 12.448 MHz APIC timer. checking TSC synchronization across 2 CPUs: passed. time.c: Using PIT/TSC based timekeeping. Brought up 2 CPUs checking if image is initramfs...it isn't (no cpio magic); looks like an initrd Looking for DSDT in initrd ...No customized DSDT found in initrd! NET: Registered protocol family 16 PCI: Using configuration type 1 mtrr: v2.0 (20020519) general protection fault: 0000 [1] SMP CPU 1 Modules linked in: Pid: 0, comm: swapper Tainted: MG (2.6.8-24-smp 20041006091623) RIP: 0010:[<ffffffff8011a8fe>] <ffffffff8011a8fe>{generic_set_all+318} RSP: 0018:00000100dff3bf48 EFLAGS: 00010006 RAX: 000000001e1e1e1e RBX: 0000000000000000 RCX: 0000000000000250 RDX: 000000001e1e1e1e RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000008 R08: 0000000006060606 R09: ffffffff8045d608 R10: 0000000000000000 R11: 0000000006060606 R12: 0000000000000000 R13: 0000000000000008 R14: 00000100dfce97c0 R15: 0000000000000c00 FS: 0000000000000000(0000) GS:ffffffff804e2500(0000) knlGS:0000000000000000 CS: 0010 DS: 0018 ES: 0018 CR0: 00000000c005003b CR2: 0000000000000000 CR3: 00000000dff28000 CR4: 0000000000000060 Process swapper (pid: 0, threadinfo 00000100dff24000, task 00000100047b0030) Stack: ffffffff804e3290 00000100dff21ed8 0000000000000001 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ffffffff8011943b 0000000000000001 0000000000000006 Call Trace:<IRQ> <ffffffff8011943b>{ipi_handler+75} <ffffffff8011c900>{smp_call_function_interrupt+64} <ffffffff8010f5c0>{default_idle+0} <ffffffff80110f2f>{call_function_interrupt+99} <EOI> <ffffffff8010f5e0>{default_idle+32} <ffffffff8010f9ea>{cpu_idle+26} Code: 0f 30 41 ba 01 00 00 00 31 ff 8d 8f 58 02 00 00 0f 32 41 89 RIP <ffffffff8011a8fe>{generic_set_all+318} RSP <00000100dff3bf48> <0>Kernel panic - not syncing: Aiee, killing interrupt handler! NMI Watchdog detected LOCKUP on CPU0, registers: CPU 0 Modules linked in: Pid: 1, comm: swapper Tainted: MG (2.6.8-24-smp 20041006091623) RIP: 0010:[<ffffffff80119540>] <ffffffff80119540>{set_mtrr+208} RSP: 0000:00000100dff21ec8 EFLAGS: 00000002 RAX: 0000000000000001 RBX: 00000000ffffffff RCX: 0000000000000002 RDX: 0000ffff0000ffff RSI: 0000000000000000 RDI: ffffffff8045d790 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000040000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffffffff804e2480(0000) knlGS:0000000000000000 CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b CR2: 0000000000000000 CR3: 0000000000101000 CR4: 00000000000006e0 Process swapper (pid: 1, threadinfo 00000100dff20000, task 00000100047b07e0) Stack: 0000000000000000 0000000000000246 0000000100000001 0000000000000000 0000000000000000 00000000ffffffff 00000100047edec0 0000000000000008 0000000000000000 0000000000000000 Call Trace:<ffffffff804f1360>{mtrr_init+352} <ffffffff8010c2f2>{init+514} <ffffffff8011129f>{child_rip+8} <ffffffff8010c0f0>{init+0} <ffffffff80111297>{child_rip+0} Code: f3 90 8b 44 24 10 85 c0 75 f6 be 08 00 00 00 48 c7 c7 90 d7 console shuts up ...