Re: Nebezpečný skript?

Jirka Zeman jirka.zeman na gmail.com
Středa Září 7 14:28:22 CEST 2005


Děkuji za radu. Udělal jsem to podle uvedeného HOWTO a získal jsem
výpis který posílám v příloze. Vypadá to na problém s druhým CPU. Jen
mě nenapadá jak jej odstranit. V serveru mám 2xAMD Opteron 2GHz a
základní desku TYAN Thunder K8SD Pro s 8GB RAM.

Jirka Zeman

On 9/5/05, Jirka Kosina <jikos na jikos.cz> wrote:
> On Mon, 5 Sep 2005, Jirka Zeman wrote:
> 
> > To bych moc rád něco takového ....ale nevím jak na to poradíte mi?
> 
> http://www.tldp.org/HOWTO/Remote-Serial-Console-HOWTO/
> 
> --
> JiKos.
> 
> ---------------------------------------------------------------------------
> Meta-FAQ (odhlaseni, archiv, FAQ a dalsi): http://www.linux.cz/mailing-list
> TIP: Pred polozenim dotazu si nejprve prectete dokumentaci k programu
> 
>
------------- další část ---------------
root (hd0,0)   ok
Bootdata ok (command line is ro root=LABEL=/ mem=7254M console=tty0 console=ttyS
0,9600n8)                                                                  *
Linux version 2.4.21-27.ELsmp (bhcompile na dolly.build.redhat.com) (gcc version 3.
2.3 20030502 (Red Hat Linux 3.2.3-47)) #1 SMP Wed Dec 1 21:53:57 EST 2004  *
BIOS-provided physical RAM map:                                            *
 BIOS-e820: 0000000000000000 - 000000000009f800 (usable)                   *
 BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)                 *
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)                 *
 BIOS-e820: 0000000000100000 - 00000000f8ff0000 (usable)                   *
 BIOS-e820: 00000000f8ff0000 - 00000000f8fff000 (ACPI data)                *
 BIOS-e820: 00000000f8fff000 - 00000000f9000000 (ACPI NVS)                 *
 BIOS-e820: 00000000ff780000 - 0000000100000000 (reserved)                 *
 BIOS-e820: 0000000100000000 - 0000000200000000 (usable)                   *
kernel direct mapping tables upto 10200000000 @ 8000-11000******************
Scanning NUMA topology in Northbridge 24ch entry is highlighted.
Number of nodes: 2 (10010)the selected OS, 'e' to edit the
Node 0 MemBase 0000000000000000 Limit 00000000ffffffffl arguments
Node 1 MemBase 0000000100000000 Limit 00000001c5700000
node 1 shift 24 addr 100000000 conflict 0
Using node hash shift of 25ll be booted automatically in 7 seconds.
Bootmem setup node 0 0000000000000000-00000000ffffffff
Bootmem setup node 1 0000000100000000-00000001c5700000
found SMP MP-table at 000ff780
hm, page 000ff000 reserved twice.
hm, page 00100000 reserved twice.
hm, page 000fa000 reserved twice.
hm, page 000fb000 reserved twice.
setting up node 0 0-fffff
On node 0 totalpages: 1048575
zone(0): 4096 pages.
zone(1): 1044479 pages.
zone(2): 0 pages.
setting up node 1 100000-1c5700
On node 1 totalpages: 808704
zone(0): 0 pages.
zone(1): 808704 pages.
zone(2): 0 pages.
ACPI: RSDP (v000 ACPIAM                     ) @ 0x00000000000f6cb0
ACPI: RSDT (v001 A M I  OEMRSDT  01024.01304) @ 0x00000000f8ff0000
ACPI: FADT (v001 A M I  OEMFACP  01024.01304) @ 0x00000000f8ff0200
ACPI: MADT (v001 A M I  OEMAPIC  01024.01304) @ 0x00000000f8ff0380
ACPI: OEMB (v001 A M I  OEMBIOS  01024.01304) @ 0x00000000f8fff040
ACPI: SRAT (v001 A M I  OEMSRAT  01024.01304) @ 0x00000000f8ff3b20
ACPI: ASF! (v001 AMIASF AMDSTRET 00000.00001) @ 0x00000000f8ff3c30
ACPI: DSDT (v001  0AAAA 0AAAA000 00000.00000) @ 0x0000000000000000
ACPI: BIOS passes blacklist
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 15:5 APIC version 16
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
Processor #1 15:5 APIC version 16
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x82] disabled)
Processor #130 invalid (max 16)
ACPI: LAPIC (acpi_id[0x04] lapic_id[0x83] disabled)
Processor #131 invalid (max 16)
ACPI: IOAPIC (id[0x02] address[0xfec00000] global_irq_base[0x0])
IOAPIC[0]: Assigned apic_id 2
IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, IRQ 0-23
ACPI: IOAPIC (id[0x03] address[0xfebff000] global_irq_base[0x18])
IOAPIC[1]: Assigned apic_id 3
IOAPIC[1]: apic_id 3, version 17, address 0xfebff000, IRQ 24-27
ACPI: IOAPIC (id[0x04] address[0xfebfe000] global_irq_base[0x1c])
IOAPIC[2]: Assigned apic_id 4
IOAPIC[2]: apic_id 4, version 17, address 0xfebfe000, IRQ 28-31
ACPI: INT_SRC_OVR (bus[0] irq[0x0] global_irq[0x2] polarity[0x0] trigger[0x0])
ACPI: INT_SRC_OVR (bus[0] irq[0x0] global_irq[0x2] polarity[0x0] trigger[0x0])
Using ACPI (MADT) for SMP configuration information
Checking aperture...
CPU 0: aperture @ 1f20000000 size 32768 KB
Your BIOS doesn't leave a aperture memory hole
Please enable the IOMMU option in the BIOS setup
Mapping aperture over 65536 KB of RAM @ 8000000
Kernel command line: ro root=LABEL=/ mem=7254M console=tty0 console=ttyS0,9600n8

Initializing CPU#0
time.c: Detected 1.193182 MHz PIT timer.
time.c: Detected 1991.647 MHz TSC timer.
Console: colour VGA+ 80x25
Calibrating delay loop... 3971.48 BogoMIPS
Page-cache hash table entries: 2097152 (order: 12, 16384 KB)
Page-pin hash table entries: 524288 (order: 9, 2048 KB)
Dentry cache hash table entries: 1048576 (order: 12, 16384 KB)
Inode cache hash table entries: 524288 (order: 11, 8192 KB)
Buffer cache hash table entries: 524288 (order: 10, 4096 KB)
Memory: 7000880k/7429120k available (1809k kernel code, 0k reserved, 1870k data,
 228k init)
Mount cache hash table entries: 256 (order: 0, 4096 bytes)
CPU: L1 I Cache: 64K (64 bytes/line/2 way), D cache 64K (64 bytes/line/2 way)
CPU: L2 Cache: 1024K (64 bytes/line/8 way)
Machine Check Reporting enabled for CPU#0
POSIX conformance testing by UNIFIX
mtrr: v2.02 (20020716))
CPU: L1 I Cache: 64K (64 bytes/line/2 way), D cache 64K (64 bytes/line/2 way)
CPU: L2 Cache: 1024K (64 bytes/line/8 way)
CPU0: AMD Opteron(tm) Processor 246 stepping 0a
per-CPU timeslice cutoff: 5119.11 usecs.
task migration cache decay timeout: 10 msecs.
Booting processor 1/1 rip 6000 page 0000010011c14000
Initializing CPU#1
Calibrating delay loop... 3971.48 BogoMIPS
CPU: L1 I Cache: 64K (64 bytes/line/2 way), D cache 64K (64 bytes/line/2 way)
CPU: L2 Cache: 1024K (64 bytes/line/8 way)
Machine Check Reporting enabled for CPU#1
CPU1: AMD Opteron(tm) Processor 246 stepping 0a
Total of 2 processors activated (7942.96 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 pin1=2 pin2=0
testing the IO APIC.......................



.................................... done.
Using local APIC timer interrupts.
Detected 12.447 MHz APIC timer.
cpu: 0, clocks: 1991646, slice: 663882
CPU0<T0:1991632,T1:1327744,D:6,S:663882,C:1991646>
cpu: 1, clocks: 1991646, slice: 663882
CPU1<T0:1991632,T1:663856,D:12,S:663882,C:1991646>
checking TSC synchronization across CPUs: passed.
time.c: Using PIT based timekeeping.
Starting migration thread for cpu 0
Starting migration thread for cpu 1
ACPI: Subsystem revision 20030619
PCI: Using configuration type 1
Unable to handle kernel NULL pointer dereference at virtual address 000000000000
0000
 printing rip:
0000000000000000
PML4 0
Oops: 0010
CPU 1
Pid: 0, comm: swapper Not tainted
RIP: 0010:[<0000000000000000>]
RSP: 0018:0000010011c13fa0  EFLAGS: 00010003
RAX: 0000010011e17cd8 RBX: 0000000080541f40 RCX: 00000000ffffffff
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff801d5685
RBP: ffffffff8010de20 R08: 00000000ffffffff R09: 0000000000000003
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffffffff805e14c0(0000) knlGS:0000000000000000
CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 0000000000000000 CR3: 0000000011dfe000 CR4: 00000000000006e0

Call Trace: [<ffffffff8011ac7d>]{smp_call_function_interrupt+45}
       [<ffffffff8010de20>]{default_idle+0} [<ffffffff801109c4>]{call_function_i
nterrupt+64}
        <EOI> [<ffffffff8011fb45>]{thread_return+0} [<ffffffff8010de3e>]{default
_idle+30}
       [<ffffffff8010de20>]{default_idle+0} [<ffffffff8010dec9>]{cpu_idle+73}

Process swapper (pid: 0, stackpage=10011c15000)
Stack: 0000010011c13fa0 0000000000000018 ffffffff8011ac7d ffffffff8010de20
       ffffffff801109c4 0000010011c15f18  <EOI> ffffffff8011fb45 0000010011c15fc
0
       ffffffff805e9180 0000000000000001 0000000000000001 ffffffff803eae80
       0000000000000001 0000000000000001 0000000000000003 00000000ffffffff
       0000000000000000 00000000ffffffff 0000010011c14000 0000000000000001
       ffffffff805e9180 fffffffffffffffb ffffffff8010de3e 0000000000000010
       0000000000000246 0000010011c15fc8 0000000000000018 ffffffff8010de20
       ffffffff8010dec9 0000000000000010 0000000000000404 0000000000000001
       ffffffff8062110f 0000000000000000 ff20ff2000000000
Call Trace: [<ffffffff8011ac7d>]{smp_call_function_interrupt+45}
       [<ffffffff8010de20>]{default_idle+0} [<ffffffff801109c4>]{call_function_i
nterrupt+64}
        <EOI> [<ffffffff8011fb45>]{thread_return+0} [<ffffffff8010de3e>]{default
_idle+30}
       [<ffffffff8010de20>]{default_idle+0} [<ffffffff8010dec9>]{cpu_idle+73}


Code: Bad RIP value.

Kernel panic: Fatal exception
In idle task - not syncing



Další informace o konferenci Linux