[Armadillo:06635] Kernel panic - not syncing: Attempted to kill init!の件

email@hidden
2011年 1月 26日 (水) 07:22:20 JST


竹之下様へ

いつもお忙しいところ、対応「して頂いて有難う御座います。東芝の上村です。
HowToであるhttp://armadillo.atmark-techno.com/howto/a500fx-debian-lenny-x#step1の記述に従い
現在、「1. Debian lenny のインストール」のインストールを完了して、
2の「Linuxカーネルのビルド」において、カーネルイメージ linux-2.6.26-at13/linux.bin.gzを、Armadilloのフラッシュメモリのカーネル領域に書き込もうとしております。

カーネルイメージのフラッシュメモリへの書込み方法は、ご指示して頂いた通り、debianを起動しないで、標準のユーザーランドを起動して行う、以下の2.2の手法を利用しております。

2. Armadilloを(Debianではなく)標準のユーザーランドで起動して
2.2. ArmadilloにUSBメモリを接続して(USBメモリを/mntディレクトリにマウントして)
     netflash -knusr /dev/flash/kernel /mnt/linux.bin.gz

実行の結果、以下のメッセージが表示され、処理が固まってしまいます。
電源を入れ直しても、同じ状態で固まってしまします。
clearenvコマンドを実行しても、変わりません。

Kernel panic - not syncing: Attempted to kill init! /*メッセージの最後行です*/


次にどのように対応したらよいかを、ご教示頂けないでしょうか。
宜しくお願い致します。


/*************** netflash -knusr /dev/flash/kernel /mnt/linux.bin.gz実行の出力メッセージ*****************/
[email@hidden (ttymxc0) /mnt]# netflash -knusr /dev/flash/kernel /mnt/linux.bin.gz ......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
 .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
netflash: got "/mnt/linux.bin.gz", length=1708040
umount: /dev/sdb1 busy - remounted read-only
netflash: programming FLASH device /dev/flash/kernel ..............
Restarting system.
Hermit-At v1.1.22 (Armadillo-500/fx 532MHz) compiled at 18:38:09, Feb  1 2010 Uncompressing  kernel..........................................................................................................done.
Uncompressing ramdisk.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................done.
Linux version 2.6.26-at13 (2.6.26) (email@hidden<mailto:email@hidden>) (gcc version 4.3.2 (Debian 4.3.2-1.1) ) #1 PREEMPT Thu Jan 20 17:40:32 JST 2011
CPU: ARMv6-compatible processor [4107b364] revision 4 (ARMv6TEJ), cr=00e5387f
Machine: Armadillo-500 FX
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIPT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512 Kernel command line: console=ttymxc0,115200 usb-storage.delay_use=0 MXC IRQ initialized PID hash table entries: 512 (order: 9, 2048 bytes) MXC GPT timer initialized, rate = 60000000
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 107500KB available (3120K code, 200K data, 132K init) Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 480 bytes
NET: Registered protocol family 16
L2X0 cache controller enabled
CPU is i.MX31 Revision 2.0
Clock input source is 26000000
MXC GPIO hardware
Using SDMA I.API
MXC DMA API initialized
SCSI subsystem initialized
CSPI: mxc_spi-2 probed
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb MXC I2C driver MXC I2C driver
clk: Unable to get requested clock: dfm_clk
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered
NET: Registered protocol family 1
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd Freeing initrd memory: 18844K
usb: Host 2 host (isp1504) registered
usb: Host 1 host (serial) registered
usb: OTG host (isp1504) registered
Low-Level PM Driver module loaded
DPTC driver module loaded
msgmni has been set to 246
io scheduler noop registered
io scheduler cfq registered (default)
MXC/iMX Backlight Driver
Console: switching to colour frame buffer device 80x30
mxcfb: fb registered, using mode KYOCERA-VGA
Serial: MXC Internal UART driver
mxcintuart.0: ttymxc0 at MMIO 0x43f90000 (irq = 45) is a Freescale MXC console [ttymxc0] enabled
mxcintuart.1: ttymxc1 at MMIO 0x43f94000 (irq = 32) is a Freescale MXC
mxcintuart.4: ttymxc4 at MMIO 0x43fb4000 (irq = 47) is a Freescale MXC
brd: module loaded
loop: module loaded
wsim_pm: W-SIM Power Management for i.MX31 PPP generic driver version 2.4.2
smsc911x: Driver version 2008-10-21.
smsc911x-mdio: probed
eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1) net eth0: MAC Address: 00:11:0c:0c:04:b7 Driver 'sd' needs updating - please use bus_type methods
armadillo5x0-nor: Found 1 x16 devices at 0x0 in 16-bit bank  Intel/Sharp Extended Query Table at 0x010A  Intel/Sharp Extended Query Table at 0x010A  Intel/Sharp Extended Query Table at 0x010A  Intel/Sharp Extended Query Table at 0x010A  Intel/Sharp Extended Query Table at 0x010A Using buffer write method Using auto-unlock on power-up/resume
cfi_cmdset_0001: Erase suspend on write enabled
armadillo-nor: use default partitions(4) Creating 4 MTD partitions on "armadillo5x0-nor":
0x00000000-0x00020000 : "nor.bootloader"
0x00020000-0x00220000 : "nor.kernel"
0x00220000-0x01fe0000 : "nor.userland"
0x01fe0000-0x02000000 : "nor.config"
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1 fsl-ehci fsl-ehci.0: irq 36, io mem 0x43f88400 fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage USB Mass Storage support registered.
MXC keypad loaded
input: mxckpd as /devices/virtual/input/input0
ads7846 spi3.1: touchscreen, irq 130
input: ADS784x Touchscreen as /devices/platform/mxc_spi.2/spi3.1/input/input1
rtc-s353xxa 1-0030: rtc core: registered rtc-s353xxa as rtc0
rtc-s353xxa: S-353XXA Real Time Clock class driver, (C) 2008 Atmark Techno, Inc.
i2c /dev entries driver
MXC MMC/SD driver
mxcmci-0 found
mxcmci-1 found
Registered led device: status
usb 1-1: new high speed USB device using fsl-ehci and address 2 usb 1-1: configuration #1 chosen from 1 choice scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
SSI module loaded successfully
Advanced Linux Sound Architecture Driver Version 1.0.16.
ASoC version 0.13.2
wm8978: WM8978 Audio Codec v0.2
scsi 0:0:0:0: Direct-Access     Intel    Value SSD        2.00 PQ: 0 ANSI: 2
asoc: WM8978 HiFi <-> imx-i2s-1 mapping ok sd 0:0:0:0: [sda] 2006016 512-byte hardware sectors (1027 MB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Assuming drive cache: write through sd 0:0:0:0: [sda] 2006016 512-byte hardware sectors (1027 MB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0 ALSA device list:
  #0: armadillo500fx (WM8978)
ip_tables: (C) 2000-2006 Netfilter Core Team TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 2 rtc-s353xxa 1-0030: setting system clock to 2000-04-26 00:53:09 UTC (956710389)
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 18844KiB [1 disk] into ram disk... done.
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 132K
Kernel panic - not syncing: Attempted to kill init! /*ここがメッセージの最後です*/




以上です。







-----Original Message-----
From: email@hidden<mailto:email@hidden> [mailto:email@hidden] On Behalf Of Takenoshita Koyo
Sent: Friday, January 21, 2011 6:38 PM
To: Armadillo series general discussion list
Subject: [Armadillo:06609] Re: Debian lenny用linuxカーネルインストールに関して

竹之下です。

Armadilloのフラッシュメモリを書き換える方法は、いくつかあります。

1. Armadilloを保守モードで起動して
1.1. Armadilloと作業用PCをシリアルケーブルで接続して
     作業用PCでhermit downloadコマンドを実行する。
1.2. Armadilloと作業用PCをLANケーブルで接続して
     Armadilloでtftpdlコマンドを実行する。

2. Armadilloを(Debianではなく)標準のユーザーランドで起動して
2.1. Armadilloと作業用PCをLANケーブルで接続して
     netflash -knusr /dev/flash/kernel http://(作業用PCのIPアドレス)/linux.bin.gzを実行する。
2.2. ArmadilloにUSBメモリを接続して(USBメモリを/mntディレクトリにマウントして)
     netflash -knusr /dev/flash/kernel /mnt/linux.bin.gz

今回は、2.2.の方法が使えるのではないかと思います。

email@hidden<mailto:email@hidden> さんは書きました:
> いつもお世話になっております。
> 東芝の上村です。
>
> お忙しい中、いつもご対応して頂き有難う御座います。
>
> 「Armadillo-500 FX 液晶モデルでDebian lennyを使うhttp://armadillo.atmark
> -techno.com/howto/a500fx-debian-lenny-x#step1」の2.カーネルのビルドにお
> いて、カーネルイメージ linux-2.6.26-at13/linux.bin.gz をArmadilloのフ
> ラッシュメモリのカーネル領域へ書き込む場合、通常は、hermit downloadコマ
> ンドを使用すると考えますが、都合によりUSBメモリを使って書き込みたいと考
> えております。Debian lennyがArmadillo500FXにインストールされた状態で、ど
> このフォルダへ何をコピーすればよいかをご教示頂け無いでしょうか?
>
> 以上、よろしくお願い致します。
>
>
>
>
>
>
>
> ----------------------------------------------------------------------
> --
>
> _______________________________________________
> armadillo mailing list
> email@hidden<mailto:email@hidden>
> http://lists.atmark-techno.com/cgi-bin/mailman/listinfo/armadillo


--
Koyo Takenoshita

_______________________________________________
armadillo mailing list
email@hidden<mailto:email@hidden>
http://lists.atmark-techno.com/cgi-bin/mailman/listinfo/armadillo
_______________________________________________
armadillo mailing list
email@hidden<mailto:email@hidden>
http://lists.atmark-techno.com/cgi-bin/mailman/listinfo/armadillo
-------------- next part --------------
HTMLの添付ファイルを保管しました...
URL: <http://lists.atmark-techno.com/pipermail/armadillo/attachments/20110125/f182025c/attachment.html>


armadillo メーリングリストの案内