Some additional output regarding Linux

From t-hack.com - Hack X300T / X301T

Revision as of 03:58, 23 March 2009 by Hoernchen (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This page shows some additional output captured while trying to fire-up Linux. The error is caused by too much memory for the kernel.

Booting the latest (Feb. 2008) Popcorn-Hour kernel

>
**********************************
* SMP863x zboot start ...
* Version: 2.2.0-2.7.167.0
* Started at 0x91000000.
* Configurations (chip revision: 6):
*    Use 8KB DRAM as stack.
*    Support XLoad format.
*    Enabled BIST mode.
*    Enabled memory test mode.
*    Use internal memory for stage0/1.
**********************************
Boot from flash (0x48000000) mapped to 0xac000000.
Found XENV block at 0xac000000.
CPU clock frequency: 297.00MHz.
System clock frequency: 198.00MHz.
DRAM0 dunit_cfg/delay0_ctrl (0xe34111ba/0x00084333).
DRAM1 dunit_cfg/delay0_ctrl (0xe34111ba/0x000a3443).
Using UART port 0 as console.
Board ID.: "KMM3210-TG-A"
Chip Revision: 0x8634:0x82 .. Mismatched.
Setting up H/W from XENV block at 0xac000000.
  Setting <SYSCLK premux> to 0x00000603.
  Setting <SYSCLK avclk_mux> to 0x00000000.
  Setting <SYSCLK hostclk_mux> to 0x00000100.
  Setting <IRQ rise edge trigger lo> to 0xff28ca00.
  Setting <IRQ fall edge trigger lo> to 0x0000c000.
  Setting <IRQ rise edge trigger hi> to 0x000001ff.
  Setting <IRQ fall edge trigger hi> to 0x00000000.
  Setting <IRQ GPIO map> to 0x0d090800.
  Setting <PB default timing> to 0x01090008.
  Setting <PB timing0> to 0x01090008.
  Setting <PB Use timing0> to 0x000003fc.
  Setting <PB timing1> to 0x00110101.
  Setting <PB Use timing1> to 0x000003f3.
  PB cs config: 0x000c10c0 (use 0x000c10c0)
  Enabled Devices: 0x00023efe
    BM/IDE PCIHost Ethernet IR FIP I2CM I2CS USB PCIDev1 PCIDev2 PCIDev3 PCIDev4 SCARD
  MAC: 00:11:de:ad:be:ef
  PCI IRQ routing:
    IDSEL 1: INTA(#14) INTB(#14) INTC(#14) INTD(#14)
    IDSEL 2: INTA(#14) INTB(#14) INTC(#14) INTD(#14)
    IDSEL 3: INTA(#14) INTB(#14) INTC(#14) INTD(#14)
    IDSEL 4: INTA(#15) INTB(#15) INTC(#15) INTD(#15)
  Smartcard pin assignments:
    OFF pin = 0
    5V pin = 1
    CMD pin = 2
  Setting up Clean Divider 2 to 96000000Hz.
  Setting up Clean Divider 4 to 33333333Hz.
  GPIO dir/data = 0x00000000/0x00000000
  UART0 GPIO mode/dir/data = 0x6e/0x00/0x00
  UART1 GPIO mode/dir/data = 0x6e/0x00/0x00
XENV block processing completed.
Found existing memcfg: DRAM0(0x04000000), DRAM1(0x04000000)
Heap/Temp/Temp1/Dest start at 0x12400000/0x11800000/0x11e00000/0x13000000.
Default boot index: 0
processing zboot record at 0xac000000 (0xac000000) .. index 0Scanning ROMFS image at 0x90800000.. no romfs found.
  Execute final at 0x90020000 ..
Linux version 2.6.15-sigma (whsaw@xeon4x) (gcc version 4.0.4) #1795 PREEMPT Thu Jan 24 19:11:36 MYT 2008
Configured for SMP8634 (revision ES6/RevA), detected SMP8634 (revision ES6/RevA).
SMP863x/SMP865x Enabled Devices under Linux/XENV 0x48000000 = 0x00023efe
 BM/IDE PCIHost Ethernet IR FIP I2CM I2CS USB PCIDev1 PCIDev2 PCIDev3 PCIDev4 SCARD
Valid MEMCFG found at 0x10000fc0.
CPU revision is: 00019068
Determined physical RAM map:
 memory: 05ee0000 @ 10020000 (usable)
On node 0 totalpages: 89856
  DMA zone: 89856 pages, LIFO batch:15
  DMA32 zone: 0 pages, LIFO batch:0
  Normal zone: 0 pages, LIFO batch:0
  HighMem zone: 0 pages, LIFO batch:0
Built 1 zonelists
Kernel command line: console=ttyS0
Primary instruction cache 16kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 16kB, 2-way, linesize 16 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
PID hash table entries: 2048 (order: 11, 32768 bytes)
Using 148.500 MHz high precision timer.
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 86400k/97152k available (3578k kernel code, 10676k reserved, 573k data, 3096k init, 0k highmem)
Calibrating delay loop... 292.86 BogoMIPS (lpj=146432)
Mount-cache hash table entries: 512
Checking for 'wait' instruction...  available.
CPU 0 Unable to handle kernel paging request at virtual address 00000098, epc == 9009d3b4, ra == 9009df68
Oops[#1]:
Cpu 0
$ 0   : 00000000 90ac8000 95e00bb8 00000000
$ 4   : 0000819c 00000000 90ab1938 00005920
$ 8   : 00000000 00000000 0000287c 00000000
$12   : 90aefd30 00000001 00000002 26040006
$16   : 90aefd30 90ac0000 00005920 90ab1938
$20   : 90450000 90730000 00000030 90450000
$24   : 00000008 00000000
$28   : 90ab0000 90ab18d0 903b0000 9009df68
Hi    : 2a8a0226
Lo    : 6e822120
epc   : 9009d3b4     Not tainted
ra    : 9009df68 Status: 10001c03    KERNEL EXL IE
Cause : 40808008
BadVA : 00000098
PrId  : 00019068
Modules linked in:
Process swapper (pid: 1, threadinfo=90ab0000, task=90aa7be8)
Stack : 9042c1a0 9007275c 000000f6 000000fd 00000000 90054348 00000000 00000000
        9009df68 00000000 00060000 9002136c 0000009a 0000009d fffffff7 90ac0000
        90aefd30 90450000 9009eaf4 9009eac4 000064a8 90023670 000000ce 000000cf
        00000000 000000d3 0000287c 00000000 90450000 9044f2d0 90450000 90432c2c
        90452000 00007b68 90730000 0000000c 90450000 9044f2d0 90450000 00008000
        ...
Call Trace: [<9007275c>]  [<90054348>]  [<9009df68>]  [<9002136c>]  [<9009eaf4>]  [<9009eac4>]  [<90023670>]  [<90432c2c>]  [<904302ec>]  [<90430a64>]  [<9043110c>]  [<9043192c>]  [<904325f0>]  [<90053b64>]  [<90053b34>]  [<900204d0>]  [<90026bdc>]  [<90026bcc>]

Code: 00004021  8d820008  8c450008 <8ca30098> 10600012  00000000  8ca30094  8c620034  30420040
Kernel panic - not syncing: Attempted to kill init!

**


YAMON output

**********************************

* YAMON ROM Monitor

* Revision 02.06-SIGMADESIGNS-01-2.7.176.0

**********************************

Memory:  code: 0x11000000-0x11040000, 0x11200000-0x11204000

reserved data: 0x11240000-0x12440000, PCI memory: 0x12440000-0x12840000

YAMON> setxenv

(0x00)    4 a.avclk_mux 0x00000000

(0x00)   14 a.board_id "KMM3210-TG-A"

(0x00)    4 a.cd2_freq 0x05b8d800

(0x00)    4 a.cd4_freq 0x01fca055

(0x00)    4 a.chip_rev 0x86340082

(0x00)    4 a.enable_devices 0x00023efe

(0x00)    4 a.gpio_data 0x00000000

(0x00)    4 a.gpio_dir 0x00000000

(0x00)    4 a.gpio_irq_map 0x0d090800

(0x00)    4 a.hostclk_mux 0x00000100

(0x00)    4 a.irq_fall_edge_hi 0x00000000

(0x00)    4 a.irq_fall_edge_lo 0x0000c000

(0x00)    4 a.irq_rise_edge_hi 0x000001ff

(0x00)    4 a.irq_rise_edge_lo 0xff28ca00

(0x00)    4 a.pb_cs_config 0x000c10c0

(0x00)    4 a.pb_def_timing 0x01090008

(0x00)    4 a.pb_timing0 0x01090008

(0x00)    4 a.pb_timing1 0x00110101

(0x00)    4 a.pb_use_timing0 0x000003fc

(0x00)    4 a.pb_use_timing1 0x000003f3

(0x00)    4 a.pcidev1_irq_route 0x01010101

(0x00)    4 a.pcidev2_irq_route 0x01010101

(0x00)    4 a.pcidev3_irq_route 0x01010101

(0x00)    4 a.pcidev4_irq_route 0x02020202

(0x00)    4 a.premux 0x00000603

(0x00)    4 a.scard_5v_pin 0x00000001

(0x00)    4 a.scard_cmd_pin 0x00000002

(0x00)    4 a.scard_off_pin 0x00000000

(0x00)    4 a.uart0_gpio_data 0x00000000

(0x00)    4 a.uart0_gpio_dir 0x00000000

(0x00)    4 a.uart0_gpio_mode 0x0000006e

(0x00)    4 a.uart1_gpio_data 0x00000000

(0x00)    4 a.uart1_gpio_dir 0x00000000

(0x00)    4 a.uart1_gpio_mode 0x0000006e

(0x00)    4 a.uart_console_port 0x00000000

(0x00)    4 a.uart_used_ports 0x00000001

(0x00)    4 l.cs0_size 0x00000000

(0x00)    4 l.cs1_size 0x00000000

(0x00)    4 l.cs2_part1_offset 0x00000000

(0x00)    4 l.cs2_part1_size 0x00008000

(0x00)    4 l.cs2_part2_offset 0x00008000

(0x00)    4 l.cs2_part2_size 0x800e8000

(0x00)    4 l.cs2_part3_offset 0x000f0000

(0x00)    4 l.cs2_part3_size 0x80010000

(0x00)    4 l.cs2_parts 0x00000003

(0x00)    4 l.cs2_size 0x00400000

(0x00)    4 l.cs3_size 0x00000000

(0x00)    4 x.boot 0x00008000

(0x00)    4 x.csf 0x00000002

(0x00)    4 x.d0.cfg 0xe34111ba

(0x00)    4 x.d1.cfg 0xe34111ba

(0x00)    4 x.ds 0x00010040

(0x00)    4 x.dt 0x00000001

(0x00)    4 x.l2rzc 0x0000000c

(0x00)    4 x.l2xz 0x00000015

(0x00)    4 z.boot0 0x00040000

(0x00)    4 z.boot1 0x00080000

(0x00)    4 z.boot2 0x4c040000

(0x00)    4 z.boot3 0x4c080000

(0x00)    4 z.default_boot 0x00000000



YAMON> help



Available commands :



.           . (repeat last command line)

;           ; (command separator)

+           + <repeat count> ;

cache       cache [ <value> | off | on | wb | wt | wtall ]

cksum       cksum <address> <size>

compare     compare <address1> <address2> <size>

copy        copy [-f] <src> <dst> <size>

cp0         cp0 [ (<name> | ([-<0..7>] <regnum>)) [<value>] ]

dis         dis [-m] [-16] <address> [<count>]

disk        disk [-f] (id [hda|hdb] )|

                 (read|readdma  hda|hdb <sector> <count> <addr>)|

                 (write|writedma hda|hdb <sector> <count> <addr>)|

                 (readpart|writepart hda|hdb <part> <subpart> <count> <addr>)|

                 (writeimg hda|hdb <part> <subpart> <length> <addr>)|

                 (set isa|bm)|

                 (perf hda|hdb <all-sector> <sectors/DMA> [<addr>])|

                 (test pio|dmaread|dmawrite|irq)

dump        dump [-m][-8|-16|-32] <address> [<size>] |

                 romfs <start_addr>

echo        echo <data>

edit        edit [-8|-16|-32] <address>

erase       erase -e | <address> <size>

fill        fill [-8|-16|-32] <address> <size> <data>

flush       flush [-i|-d]

fpu         fpu [on|off] [emul [on|off|stat|clear]] [fs [on|off]] [fr [on|off]]

fread       fread  tftp://<ipaddr>/<filename> <address>

fwrite      fwrite tftp://<ipaddr>/<filename> <address> <size>

gdb         gdb [-v][-c] [. <args>]

go          go [?|.|<address> [<args>]]

gr16        gr16 <gbus-address>

gr32        gr32 <gbus-address>

gr8         gr8 <gbus-address>

gw16        gw16 <gbus-address> <data>

gw32        gw32 <gbus-address> <data>

gw8         gw8 <gbus-address> <data>

help        help [<command>]

load        load (uu [-z] <address>) |

                 (romfs [-z] <romfsaddr> <filename> [<loadaddr>]) |

                 (zbf <address> [<loadaddr>]) |

                 [-r] (-b tftp://<ipaddr>/<filename(bin)> <loadaddr>) |

                      (tftp://<ipaddr>/<filename(srec)>)

                 (asc:[//(tty0|tty1)])

net         net (init | initpci )

                ( up )|

                ( down )

pcicfg      pcicfg [-8|-16|-32] ([-r] <bus> <dev> <func> <addr> [<range>]) |

                                ( -w  <bus> <dev> <func> <addr> <val>) |

                   (init | disp ) --mambo host

                   (dmawrite | dmaread) -- PC host



pflash      pflash (probe [<bus_width>] [<gbus_addr>]) |

                   (write [-f] <flash offs addr> <ram addr> <length>) |

                   (erase <flash offs addr> <length>) |

                   (eraseall)

ping        ping ipaddr [<datagramsize>]

port        port [-a] [-8|-16|-32] <address> [<value>]

scpu        scpu ( [-i|-d|-m]+ [-a|-u|(-r|-p)+] ) |

                 ( (-i|-d) <bpw> [<assoc>] [-p] ) |

                 ( (-i|-d) <assoc> [<bpw>] [-p] ) |

                 ( (tlb|fixed) [-p]             )

search      search [-asc|-hex] <address> <size> <string>

setenv      setenv [<variable> [<value>]]

setxenv     setxenv [-b] [<key> [<value>]]

sleep       sleep <ms>

stty        stty [-tty<0|1>] [-b|-u|[-p][<baudrate>][n|o|e][7|8][1|2][hw|none]]

test        test [-m] [ <module> [ <module arguments> ] ]

tlb         tlb ( -i [-s] ) | ( <index> <pagesize> <va> <g> <asid>

                                <pa0> <c0> <d0> <v0>

                                <pa1> <c1> <d1> <v1> )

unsetenv    unsetenv  <variable> | (-u|-s)

unsetxenv   unsetxenv <key>

watch       watch s/l/i address

xrpc        xrpc <xrpc.bin address>

                 -v | -s | -r