From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from imsm057dat.netvigator.com (imsm057.netvigator.com [218.102.48.210]) by ozlabs.org (Postfix) with ESMTP id F420A67BED for ; Tue, 22 Aug 2006 20:49:45 +1000 (EST) From: "alva" To: "'Wade Maxfield'" , "'ppc'" Subject: RE: ML40X, ppc 405 crash Date: Tue, 22 Aug 2006 18:52:40 +0800 Message-ID: <000001c6c5d9$184dba00$8500a8c0@dc.roysiu.servebbs.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01C6C61C.2670FA00" In-Reply-To: <45a1b53e0608211434n2c61167i8952ab8737f102cc@mail.gmail.com> List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. ------=_NextPart_000_0001_01C6C61C.2670FA00 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: quoted-printable So can u access your NFS mapped partition? If you can access every FILEs on the partition, running updatedb ought to index the NFS partition also. Then =93locate fixdep=94 is just to find the local indexed = database and display the matched result --- I just don=92t understand the = problem. Please state more what have you done in order to let us help you. =20 =20 -----Original Message----- From: linuxppc-embedded-bounces+vows_siu=3Dyahoo.com.hk@ozlabs.org [mailto:linuxppc-embedded-bounces+vows_siu=3Dyahoo.com.hk@ozlabs.org] On Behalf Of Wade Maxfield Sent: Tuesday, August 22, 2006 5:34 AM To: ppc Subject: ML40X, ppc 405 crash =20 I was running NFS on ML40X. I did a "updatedb" and then immediately, "locate fixdep" I got the following crash root@ml403:/home/moduletest# updatedb locate fixdep eth0: Could not transmit buffer.=20 eth0: Could not transmit buffer. eth0: Could not transmit buffer. Oops: kernel access of bad area, sig: 11 [#1] PREEMPT NIP: C01D0F74 LR: C01D0910 SP: C28B1930 REGS: c28b1880 TRAP: 0300 Not tainted MSR: 00029030 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11=20 DAR: 00000004, DSISR: 00800000 TASK =3D c0b034c0[5097] 'frcode' THREAD: c28b0000 Last syscall: 234 GPR00: 00000000 C28B1930 C0B034C0 C35E3200 C03CC380 C276E810 000005E8 C3CE8880 GPR08: 00000002 00000000 C3CE890C 00000000 33003599 10018E04 100C3208 C02DCE08=20 GPR16: C00DB1CC C02DCE08 00000002 0000000A C28B1DF8 C02E0000 C02A0000 C3A30940 GPR24: 00000000 00000000 00000000 C3A30940 00000000 C35E3200 C3CE8880 C03A8800 NIP [c01d0f74] pfifo_fast_dequeue+0x40/0x74 LR [c01d0910] qdisc_restart+0x30/0x2b4=20 Call trace: [c01c1e94] dev_queue_xmit+0x264/0x318 [c01dd8dc] ip_finish_output+0x140/0x2cc [c01dddb0] ip_queue_xmit+0x348/0x53c [c01ef628] tcp_transmit_skb+0x324/0x7f8 [c01f05fc] tcp_write_xmit+0x14c/0x31c=20 [c01ed360] __tcp_data_snd_check+0xc8/0xfc [c01ed9a4] tcp_rcv_established+0x2c0/0x8ac [c01f7250] tcp_v4_do_rcv+0x184/0x374 [c01f7d9c] tcp_v4_rcv+0x95c/0xa4c [c01da000] ip_local_deliver+0x120/0x298 [c01da86c] ip_rcv+0x400/0x508=20 [c01c2614] netif_receive_skb+0x24c/0x2fc [c01c276c] process_backlog+0xa8/0x1a0 [c01c2908] net_rx_action+0xa4/0x1cc [c001bef4] ___do_softirq+0x7c/0x114 Kernel panic - not syncing: Aiee, killing interrupt handler!=20 <0>Rebooting in 180 seconds.. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ----- Here is the kernel build and boot information. (I use the demo compact flash disk image shipped with the ml403 as an intermediate. I've not yet been able to get a small enough build to fit on 412 meg using your tools.)=20 Linux version 2.6.10_mvl401-ml40x (HYPERLINK "mailto:root@localhost.localdomain"root@localhost.localdomain) (gcc version 3.4.3 (MontaV ista 3.4.3-25.0.107.0601076 2006-07-21)) #1 Fri Aug 18 14:43:45 CDT 2006 Xilinx ML40x Reference System (Virtex-4 FX) Port by MontaVista Software, Inc. (HYPERLINK "mailto:source@mvista.com"source@mvista.com) Built 1 zonelists Kernel command line: console=3DttyS0,115200 ip=3Don root=3D/dev/xsysace2 = rw=20 Xilinx INTC #0 at 0xD1000FC0 mapped to 0xFDFFEFC0 PID hash table entries: 512 (order: 9, 8192 bytes) hr_time_init: arch_to_nsec =3D 6990506, nsec_to_arch =3D 1288490158 Console: colour dummy device 80x25 Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)=20 Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 61824k available (2244k kernel code, 640k data, 140k init, 0k highmem) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) spawn_desched_task(00000000)=20 desched cpu_callback 3/00000000 ksoftirqd started up. desched cpu_callback 2/00000000 desched thread 0 started up. NET: Registered protocol family 16 Registering platform device 'xilinx_emac.0'. Parent at platform=20 Registering platform device 'xilinx_fb.0'. Parent at platform Registering platform device 'xilinx_sysace.0'. Parent at platform Registering platform device 'xilinx_iic.0'. Parent at platform Registering platform device 'xilinx_gpio.0'. Parent at platform=20 Registering platform device 'xilinx_gpio.1'. Parent at platform Registering platform device 'xilinx_gpio.2'. Parent at platform Registering platform device 'xilinx_ps2.0'. Parent at platform Registering platform device 'xilinx_ps2.1'. Parent at platform=20 Installing knfsd (copyright (C) 1996 HYPERLINK "mailto:okir@monad.swb.de"okir@monad.swb.de). Console: switching to colour frame buffer device 80x30 xgpio #0 at 0x90000000 mapped to 0xC505C000 xgpio #1 at 0x90001000 mapped to 0xC505E000=20 xgpio #2 at 0x90002000 mapped to 0xC5060000 xilinx_ps2 #0 at 0xA9000000 mapped to 0xC5062000 xilinx_ps2 #1 at 0xA9001000 mapped to 0xC5064000 Serial: 8250/16550 driver $Revision: 1.90 $ 5 ports, IRQ sharing disabled=20 Registering platform device 'serial8250'. Parent at platform ttyS0 at MMIO 0x0 (irq =3D 9) is a 16450 io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered=20 RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize loop: loaded (max 8 devices) elevator: using anticipatory as default io scheduler System ACE at 0xCF000000 mapped to 0xC5066000, irq=3D3, 500472KB=20 xsysace: xsysace1 xsysace2 PPP generic driver version 2.4.2 PPP Deflate Compression module registered NET: Registered protocol family 24 xemac 0: using fifo mode. eth0: Xilinx EMAC #0 at 0x60000000 mapped to 0xC5068000, irq=3D0=20 i2c /dev entries driver xilinx_iic.0 #0 at 0xA8000000 mapped to 0xC506E000, irq=3D6 mice: PS/2 mouse device common for all mice atkbd.c: keyboard reset failed on xilinxps2/serio0 atkbd.c: keyboard reset failed on xilinxps2/serio1=20 NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 4096 bind 8192) NET: Registered protocol family 1 NET: Registered protocol family 17=20 Sending DHCP requests ., OK IP-Config: Got DHCP answer from HYPERLINK "http://0.0.0.0"0.0.0.0, my address is HYPERLINK "http://172.17.6.49"172.17.6.49 IP-Config: Complete: device=3Deth0, addr=3DHYPERLINK "http://172.17.6.49" 172.17.6.49, mask=3DHYPERLINK "http://255.255.254.0"255.255.254.0, gw=3DHYPERLINK "http://172.17.7.254"172.17.7.254, host=3DHYPERLINK "http://172.17.6.49"172.17.6.49, = domain=3DHYPERLINK "http://precisiondrilling.com" precisiondrilling.com, = nis-domain=3D(none), bootserver=3DHYPERLINK "http://0.0.0.0"0.0.0.0, = rootserver=3DHYPERLINK "http://0.0.0.0"0.0.0.0, rootpath=3D EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended=20 VFS: Mounted root (ext2 filesystem). Freeing unused kernel memory: 140k init INIT: version 2.78 booting Activating swap... Checking all file systems... fsck 1.27 (8-Mar-2002) Calculating module dependencies... depmod: QM_MODULES: Function not implemented=20 done. Loading modules: modprobe: QM_MODULES: Function not implemented Mounting local filesystems... nothing was mounted Cleaning: /etc/network/ifstate. Setting up IP spoofing protection: rp_filter.=20 Disable TCP/IP Explicit Congestion Notification: done. Configuring network interfaces: done. Starting portmap daemon: portmap. Starting dhcpcd on eth0 Running ntpdate to synchronize clock. Cleaning: /tmp /var/lock /var/rundhcpcd[775]: dhcpConfig: ioctl SIOCADDRT: File exists=20 . INIT: Entering runlevel: 3 Starting kernel log daemon: klogd. Starting system log daemon: syslogd. Hostname: ml403. Creating barrier for shutdown Starting X11 session for user 'linux' Welcome to the ML403 Evaluation Board=20 (C) 2004 Xilinx, Inc - Systems Engineering Group -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.11.4/424 - Release Date: 2006/8/21 --=20 No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.11.4/424 - Release Date: 2006/8/21 =20 ------=_NextPart_000_0001_01C6C61C.2670FA00 Content-Type: text/html; charset="windows-1250" Content-Transfer-Encoding: quoted-printable

So can u access = your NFS mapped partition? If you can access every FILEs on the partition, = running updatedb =A0ought to index the NFS partition also. Then =93locate fixdep=94 is just to find the local indexed database and display the matched result = --- I just don=92t understand the problem. Please state more what have you = done in order to let us help you.

 

 

-----Original Message-----
From: = linuxppc-embedded-bounces+vows_siu=3Dyahoo.com.hk@ozlabs.org [mailto:linuxppc-embedded-bounces+vows_siu=3Dyahoo.com.hk@ozlabs.org] = On Behalf Of Wade Maxfield
Sent:
Tuesday, August 22, 2006 5:34 AM
To: ppc
Subject: ML40X, ppc 405 = crash

 


  I was running NFS on ML40X.  I did a "updatedb" = and then immediately, "locate fixdep"

  I got the following crash

root@ml403:/home/moduletest# updatedb
locate fixdep
eth0: Could not transmit buffer.
eth0: Could not transmit buffer.
eth0: Could not transmit buffer.
Oops: kernel access of bad area, sig: 11 [#1]
PREEMPT
NIP: C01D0F74 LR: C01D0910 SP: C28B1930 REGS: c28b1880 TRAP: 0300    Not tainted
MSR: 00029030 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: 00000004, DSISR: 00800000
TASK =3D c0b034c0[5097] 'frcode' THREAD: c28b0000
Last syscall: 234
GPR00: 00000000 C28B1930 C0B034C0 C35E3200 C03CC380 C276E810 000005E8 = C3CE8880
GPR08: 00000002 00000000 C3CE890C 00000000 33003599 10018E04 100C3208 = C02DCE08
GPR16: C00DB1CC C02DCE08 00000002 0000000A C28B1DF8 C02E0000 C02A0000 = C3A30940
GPR24: 00000000 00000000 00000000 C3A30940 00000000 C35E3200 C3CE8880 = C03A8800
NIP [c01d0f74] pfifo_fast_dequeue+0x40/0x74
LR [c01d0910] qdisc_restart+0x30/0x2b4
Call trace:
 [c01c1e94] dev_queue_xmit+0x264/0x318
 [c01dd8dc] ip_finish_output+0x140/0x2cc
 [c01dddb0] ip_queue_xmit+0x348/0x53c
 [c01ef628] tcp_transmit_skb+0x324/0x7f8
 [c01f05fc] tcp_write_xmit+0x14c/0x31c
 [c01ed360] __tcp_data_snd_check+0xc8/0xfc
 [c01ed9a4] tcp_rcv_established+0x2c0/0x8ac
 [c01f7250] tcp_v4_do_rcv+0x184/0x374
 [c01f7d9c] tcp_v4_rcv+0x95c/0xa4c
 [c01da000] ip_local_deliver+0x120/0x298
 [c01da86c] ip_rcv+0x400/0x508
 [c01c2614] netif_receive_skb+0x24c/0x2fc
 [c01c276c] process_backlog+0xa8/0x1a0
 [c01c2908] net_rx_action+0xa4/0x1cc
 [c001bef4] ___do_softirq+0x7c/0x114
Kernel panic - not syncing: Aiee, killing interrupt handler!
 <0>Rebooting in 180 seconds..
-------------------------------------------------------------------------= -------------------------------------------------------------------------= ---

Here is the kernel build and boot information.  (I use the demo = compact flash disk image shipped with the ml403 as an intermediate. I've not yet = been able to get a small enough build to fit on 412 meg using your tools.) =

Linux version 2.6.10_mvl401-ml40x (root@localhost.localdomain= ) (gcc version 3.4.3 (MontaV
ista 3.4.3-25.0.107.0601076 2006-07-21)) #1 Fri Aug 18 =
14:43:45 CDT = 2006
Xilinx ML40x Reference System (Virtex-4 FX)
Port by MontaVista Software, Inc. (source@mvista.com)
Built 1 zonelists
Kernel command line: console=3DttyS0,115200 ip=3Don root=3D/dev/xsysace2 = rw
Xilinx INTC #0 at 0xD1000FC0 mapped to 0xFDFFEFC0
PID hash table entries: 512 (order: 9, 8192 bytes)
hr_time_init: arch_to_nsec =3D 6990506, nsec_to_arch =3D 1288490158
Console: colour dummy device 80x25
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 61824k available (2244k kernel code, 640k data, 140k init, 0k = highmem)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
spawn_desched_task(00000000)
desched cpu_callback 3/00000000
ksoftirqd started up.
desched cpu_callback 2/00000000
desched thread 0 started up.
NET: Registered protocol family 16
Registering platform device 'xilinx_emac.0'. Parent at platform
Registering platform device 'xilinx_fb.0'. Parent at platform
Registering platform device 'xilinx_sysace.0'. Parent at platform
Registering platform device 'xilinx_iic.0'. Parent at platform
Registering platform device 'xilinx_gpio.0'. Parent at platform
Registering platform device 'xilinx_gpio.1'. Parent at platform
Registering platform device 'xilinx_gpio.2'. Parent at platform
Registering platform device 'xilinx_ps2.0'. Parent at platform
Registering platform device 'xilinx_ps2.1'. Parent at platform
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Console: switching to colour frame buffer device 80x30
xgpio #0 at 0x90000000 mapped to 0xC505C000
xgpio #1 at 0x90001000 mapped to 0xC505E000
xgpio #2 at 0x90002000 mapped to 0xC5060000
xilinx_ps2 #0 at 0xA9000000 mapped to 0xC5062000
xilinx_ps2 #1 at 0xA9001000 mapped to 0xC5064000
Serial: 8250/16550 driver $Revision: 1.90 $ 5 ports, IRQ sharing = disabled
Registering platform device 'serial8250'. Parent at platform
ttyS0 at MMIO 0x0 (irq =3D 9) is a 16450
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 = blocksize
loop: loaded (max 8 devices)
elevator: using anticipatory as default io scheduler
System ACE at 0xCF000000 mapped to 0xC5066000, irq=3D3, 500472KB
 xsysace: xsysace1 xsysace2
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
NET: Registered protocol family 24
xemac 0: using fifo mode.
eth0: Xilinx EMAC #0 at 0x60000000 mapped to 0xC5068000, irq=3D0
i2c /dev entries driver
xilinx_iic.0 #0 at 0xA8000000 mapped to 0xC506E000, irq=3D6
mice: PS/2 mouse device common for all mice
atkbd.c: keyboard reset failed on xilinxps2/serio0
atkbd.c: keyboard reset failed on xilinxps2/serio1
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET: Registered protocol family 1
NET: Registered protocol family 17
Sending DHCP requests ., OK
IP-Config: Got DHCP answer from 0.0.0.0, = my address is 172.17.6.49
IP-Config: Complete:
      device=3Deth0, addr=3D 172.17.6.49, mask=3D255.255.254.0, gw=3D172.17.7.254,
     host=3D172.17.6.49, domain=3D = precisiondrilling.com, nis-domain=3D(none),
     bootserver=3D0.0.0.0, rootserver=3D0.0.0.0, rootpath=3D
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended =
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 140k init
INIT: version 2.78 booting
Activating swap...
Checking all file systems...
fsck 1.27 (8-Mar-2002)
Calculating module dependencies... depmod: QM_MODULES: Function not = implemented

done.
Loading modules:
modprobe: QM_MODULES: Function not implemented

Mounting local filesystems...
nothing was mounted
Cleaning: /etc/network/ifstate.
Setting up IP spoofing protection: rp_filter.
Disable TCP/IP Explicit Congestion Notification: done.
Configuring network interfaces: done.
Starting portmap daemon: portmap.
Starting dhcpcd on eth0
Running ntpdate to synchronize clock.
Cleaning: /tmp /var/lock /var/rundhcpcd[775]: dhcpConfig: ioctl = SIOCADDRT: File exists

.
INIT: Entering runlevel: 3
Starting kernel log daemon: klogd.
Starting system log daemon: syslogd.
Hostname: ml403.
Creating barrier for shutdown
Starting X11 session for user 'linux'
Welcome to the ML403 Evaluation Board
(C) 2004 Xilinx, Inc - Systems Engineering Group





--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.4/424 - Release Date: = 2006/8/21


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.4/424 - Release Date: = 2006/8/21

------=_NextPart_000_0001_01C6C61C.2670FA00--