[Armadillo:06011] Re: interfacesファイルの変更でkernel panic

千葉慎也 email@hidden
2010年 10月 27日 (水) 16:16:16 JST


千葉です。

何も書き換えは行っていないです。
再現性は今のところ100%です。(5/5ほど)

起動ログを書きます。

Hermit-At v2.0.3 (armadillo4x0) compiled at 14:30:23, Aug 03 2010
Uncompressing
kernel...............................................................................................................done.
Uncompressing
ramdisk...............................................................................................................................................................................................................................................................................................................................................................................................................................done.
Linux version 2.6.26-at10 (2.6.26) (email@hidden) (gcc version 4.3.2 (Debian
4.3.2-1.1) ) #1 PREEMPT Thu Aug 19 16:17:48 JST 2010
CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ),
cr=00053177

Machine: Armadillo-420
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT 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: 16256
Kernel command line: console=ttymxc1,115200
MXC IRQ initialized
PID hash table entries: 256 (order: 8, 1024 bytes)
MXC GPT timer initialized, rate = 12000000
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 48008KB available (3252K code, 226K data, 128K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 480 bytes
NET: Registered protocol family 16
MXC WDOG1 Enabled
CPU is i.MX25 Revision 1.0
Clock input source is 24000000
MXC GPIO hardware
Using SDMA I.API
MXC DMA API initialized
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
MXC I2C driver
MXC I2C driver
MXC I2C driver
MC34704 regulator successfully probed
mc34704 0-0054: Loaded
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
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:
13256K
usb: Host 2 host (serial) registered
usb: DR host (utmi) registered
msgmni has been set to 119
io scheduler noop registered
io scheduler cfq registered (default)
Serial: MXC Internal UART driver
mxcintuart.1: ttymxc1 at MMIO 0x43f94000 (irq = 32) is a Freescale MXC
console [ttymxc1] enabled
mxcintuart.2: ttymxc2 at MMIO 0x5000c000 (irq = 18) is a Freescale MXC
mxcintuart.4: ttymxc4 at MMIO 0x5002c000 (irq = 40) is a Freescale MXC
brd: module loaded
loop: module loaded
FEC Ethernet Driver
PPP generic driver version 2.4.2
Linux video capture interface: v2.00
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v0.1.0)
Driver 'sd' needs updating - please use bus_type methods
armadillo-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 "armadillo-nor":
0x00000000-0x00020000 : "nor.bootloader"
0x00020000-0x00220000 : "nor.kernel"
0x00220000-0x00fe0000 : "nor.userland"
0x00fe0000-0x01000000 : "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 35, io mem 0x53ff4400
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
fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2
fsl-ehci fsl-ehci.1: irq 37, io mem 0x53ff4000
fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
input: gpio-keys as /devices/platform/gpio-keys.0/input/input0
rtc-s35390a 1-0030: error resetting chip
rtc-s35390a: probe of 1-0030 failed with error -5
rtc-s35390a 2-0030: error resetting chip
rtc-s35390a: probe of 2-0030 failed with error -5
i2c /dev entries driver
mxsdhci: MXC Secure Digital Host Controller Interface driver
mxsdhci: MXC SDHCI Controller Driver.
mmc0: SDHCI detect irq 159 irq 9 INTERNAL DMA
Registered led device: red
Registered led device: green
Registered led device: yellow
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.16.
usbcore: registered new interface driver snd-usb-audio
usbcore: registered new interface driver snd-usb-caiaq
ASoC version 0.13.2
ALSA device list:
  No soundcards found.
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
Static Power Management for Freescale i.MX25
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 13256KiB [1 disk] into ram disk... done.
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 128K
mmc0: new high speed SD card at address 0002
mmcblk0: mmc0:0002 00000 2000896KiB
 mmcblk0: p1 p2
init started:  BusyBox v1.00 (2010.06.08-07:20+0000) multi-call binary
Starting fsck for root filesystem.
fsck 1.25 (20-Sep-2001)
ext2fs_check_if_mount: No such file or directory while determining whether
/dev/ram0 is mounted.
/dev/ram0: clean, 902/1104 files, 12074/13256 blocks
Checking root filesystem:                                       done
Remounting root rw:                                             done
Mounting proc:                                                  done
Mounting usbfs:                                                 done
Mounting sysfs:                                                 done
Cleaning up system:                                             done
Running local start scripts.
Starting udevd:                                                 done
Loading /etc/config:                                            done
Changing file permissions:                                      done
Configure /home/ftp:                                            done
Starting syslogd:                                               done
Starting klogd:                                                 done
Starting basic firewall:                                        done
Setting hostname:                                               done
Configuring network interfaces: udhcpc (v0.9.9-pre) started
fec: PHY @ 0x0, ID 0x0007c0f1 -- LAN8720
Sending discover...
eth0: link down
Sending discover...
Sending discover...
interface: eth0:0 (00:11:0C:11:00:FC)
probing for 169.254.222.53
device eth0 entered promiscuous mode
device eth0 left promiscuous mode
claiming ownership of address 169.254.222.53
not storing IP for eth0:0 (not implemented yet!)
successfully acquired an IP address, backgrounding
all subsequent output will go to the syslog
No lease, forking to background.
                                                                done
Starting inetd:                                                 done
Setting at-cgi:                                                 done
Starting lighttpd:                                              done
Creating avahi.services:                                        done
Starting avahi.daemon:                                          done
Mounting ramfs /home/ftp/pub:                                   done
atmark-dist v1.26.1 (AtmarkTechno/Armadillo-420)
Linux 2.6.26-at10 [armv5tejl arch]

armadillo420-0 login:

よろしくお願いします。

2010年10月27日15:54 Takenoshita Koyo <email@hidden>:

> 竹之下です。
>
> undefined instruction
> となっていますね。
>
> カーネルかユーザーランドを書き換えていますか?
>
> 使用している環境を教えてください。
> カーネル、ユーザーランドイメージファイルのバージョンか
> 自分でビルドしている場合は元となったソースコードのバージョン及びビルド環境
>
> また、この問題は再現性のあるものでしょうか?
>
> 千葉慎也 さんは書きました:
>  > 千葉と申します。Armadillo-400を使用し評価しています。
> >
> > 初歩的な箇所の質問ですみません、/etc/config/interfaceを書き換えて、固定
> > IPにて通信を
> > 行いたいのですが、書き換えてifupするとKernel panicが発生してしまいます。
> > <順序>
> > viにて/etc/config/interfacesを以下の通り書き換えます。
> >
> > auto lo eth0
> > iface lo inet loopback
> > iface eth0 inet static
> >   address 192.168.1.1
> >   netmask 255.255.255.0
> >   network 192.168.1.0
> >   broadcast 192.168.1.255
> >   gateway 192.168.1.254
> >
> > 次に
> >
> > ifdown eth0
> >
> > 最後に
> >
> > ifup eth0
> >
> > すると
> >
> > [email@hidden (ttymxc1) ~]# Internal error: Oops - undefined
> > instruction: 0 [#1] PREEMPT
> > Modules linked
> > in:
> >
> > CPU: 0    Not tainted  (2.6.26-at10 #1)
> > PC is at 0xc0380fd8
> > LR is at run_timer_softirq+0x134/0x264
> > pc : [<c0380fd8>]    lr : [<c004d2d8>]    psr: 20000013
> > sp : c0357e90  ip : c0357e90  fp : c0357ecc
> > r10: c0381648  r9 : c0381848  r8 : c0380fd8
> > r7 : c0357e98  r6 : c0356000  r5 : 00000103  r4 : c0380e40
> > r3 : 00000103  r2 : 00000000  r1 : c3c23fb0  r0 : c0380fe0
> > Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
> > Control: 0005317f  Table: 81dbc000  DAC: 00000017
> > Process swapper (pid: 0, stack limit = 0xc0356268)
> > Stack: (0xc0357e90 to 0xc0358000)
> > 7e80:                                     c0381c48 c0381a48 c3c7549c
> > c2491bc8
> > 7ea0: 00000000 c0380c4c 00000081 0000000a c0380c00 00000001 00000000
> > c038348c
> > 7ec0: c0357efc c0357ed0 c0048540 c004d1b4 c0362940 c0356000 00000036
> > c0384dc8
> > 7ee0: 00000000 00000001 c0356000 800224f0 c0357f14 c0357f00 c004860c
> > c00484dc
> > 7f00: c0384dc8 c0362940 c0357f34 c0357f18 c002804c c00485c0 ffffffff
> > fc400000
> > 7f20: 00360000 00000002 c0357f8c c0357f38 c00287a4 c0028010 00000000
> > 0005317f
> > 7f40: 0005217f 80000013 c0029c50 c0356000 c0029c50 c0379f08 80022558
> > 41069264
> > 7f60: 800224f0 c0357f8c 800000d3 c0357f80 c0031b0c c0029cb0 80000013
> > ffffffff
> > 7f80: c0357fac c0357f90 c0029c1c c0029c60 c0356000 c0379ac8 c0023f28
> > c0359cd0
> > 7fa0: c0357fc4 c0357fb0 c029fc3c c0029be8 c0379ac8 c0383744 c0357ff4
> > c0357fc8
> > 7fc0: c0008b64 c029fbd8 c000862c 00000000 00000000 c0023f28 00000000
> > 00053175
> > 7fe0: c0379f6c c002432c 00000000 c0357ff8 80008034 c00088f4 00000000
> > 00000000
> > Backtrace:
> >
> > [<c004d1a4>] (run_timer_softirq+0x0/0x264) from [<c0048540>]
> > (__do_softirq+0x74/0xe4)
> > [<c00484cc>] (__do_softirq+0x0/0xe4) from [<c004860c>]
> > (irq_exit+0x5c/0x70)
> > [<c00485b0>] (irq_exit+0x0/0x70) from [<c002804c>]
> > (__exception_text_start+0x4c/0x60)
> >  r4:c0362940
> >
> > [<c0028000>] (__exception_text_start+0x0/0x60) from [<c00287a4>]
> > (__irq_svc+0x44/0x88)
> > Exception stack(0xc0357f38 to
> > 0xc0357f80)
> > 7f20:                                                       00000000
> > 0005317f
> > 7f40: 0005217f 80000013 c0029c50 c0356000 c0029c50 c0379f08 80022558
> > 41069264
> > 7f60: 800224f0 c0357f8c 800000d3 c0357f80 c0031b0c c0029cb0 80000013
> > ffffffff
> >  r7:00000002 r6:00360000 r5:fc400000
> > r4:ffffffff
> > [<c0029c50>] (default_idle+0x0/0x68) from [<c0029c1c>]
> (cpu_idle+0x44/0x78)
> > [<c0029bd8>] (cpu_idle+0x0/0x78) from [<c029fc3c>] (rest_init+0x74/0x88)
> >  r7:c0359cd0 r6:c0023f28 r5:c0379ac8 r4:c0356000
> > [<c029fbc8>] (rest_init+0x0/0x88) from [<c0008b64>]
> > (start_kernel+0x280/0x324)
> >  r4:c0383744
> >
> > [<c00088e4>] (start_kernel+0x0/0x324) from [<80008034>] (0x80008034)
> >  r6:c002432c r5:c0379f6c r4:00053175
> > Code: c0380fc8 c0380fc8 00000000 00200200 (c0380fd8)
> > Kernel panic - not syncing: Fatal exception in interrupt
> >
> > となり停止します。
> > 原因わかりますでしょうか。よろしくお願いします。
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > armadillo mailing list
> > email@hidden
> > http://lists.atmark-techno.com/cgi-bin/mailman/listinfo/armadillo
>
>
> --
> Koyo Takenoshita
>
> _______________________________________________
> armadillo mailing list
> email@hidden
> http://lists.atmark-techno.com/cgi-bin/mailman/listinfo/armadillo
>
-------------- next part --------------
HTMLの添付ファイルを保管しました...
URL: <http://lists.atmark-techno.com/pipermail/armadillo/attachments/20101027/b2baa5c2/attachment.html>


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