[Avila] showvolt/showtemp crashes on new BSP

Chris Lang clang at gateworks.com
Mon Apr 21 22:13:47 EDT 2008


Nathan,

We have tested the new BSP on old boards and this configuration works
fine... Is the image you are using identical between the 2 boards? How
can I reproduce the problem? And are the 2 boards the same? (i.e.
GW2348-4)

Thanks,

-- 
Chris Lang
Gateworks Corporation
3026 S. Higuera, San Luis Obispo, CA 93401
Ph: 805-781-2000 Fax: 805-781-2001
Email: clang at gateworks.com
Web: www.gateworks.com

On Mon, 2008-04-21 at 17:14 -0500, Nathan Wharton wrote:
> I have a 2348-4 with the original processor (older stepping).  I flashed 
> it to the new redboot and I am using the new BSP (0.7.1).  If more than 
> one process is looking at the voltage or temperature at the same time, 
> it crashes with the messages below on the console.
> 
> If I use the same image on a new processor (newer stepping), things work 
> fine.
> 
> Is flashing the older boards with the new redboot and using the new BSP 
> something that is not supported?
> 
> Unable to handle kernel NULL pointer dereference at virtual address 00000000
> pgd = c2f74000
> [00000000] *pgd=02913031, *pte=00000000, *ppte=00000000
> Internal error: Oops: 817 [#1]
> Modules linked in: ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 
> nf_conntrack ip_tables x_tables wlan_scan_sta ath_rate_sample ath_pci 
> ath_hal(P) wlan_wep wlan ixp
> 400_eth ixp400(P)
> CPU: 0
> PC is at add_wait_queue_exclusive+0x34/0x44
> LR is at __down+0x58/0x10c
> pc : [<c004cf14>]    lr : [<c0212ea8>]    Tainted: P
> sp : c2931e84  ip : 40000013  fp : c2931e90
> r10: bee3eafb  r9 : c02b06f0  r8 : c3cfa5a8
> r7 : c2f9fce0  r6 : c3cfa5a0  r5 : c2931e94  r4 : 00000002
> r3 : c2931ea0  r2 : 00000000  r1 : c2931e94  r0 : c3cfa5a8
> Flags: nZcv  IRQs off  FIQs on  Mode SVC_32  Segment user
> Control: 39FF
> Table: 02F74000  DAC: 00000015
> Process showvolt (pid: 1385, stack limit = 0xc2930250)
> Stack: (0xc2931e84 to 0xc2932000)
> 1e80:          c2931ec8 c2931e94 c0212ea8 c004ceec 00000001 c2f9fce0 
> c0035db0
> 1ea0: c3cfa5a8 00000000 c3cfa400 c3cfa400 c3cfa5a0 c3d3e350 c3cfa47c 
> c2931f00
> 1ec0: c2931ecc c0212dec c0212e5c c3cfa414 00000004 c28f3000 00000004 
> c3cfa400
> 1ee0: c018613c c3cfa414 c28f3000 00000005 c3d3e350 c2931f18 c2931f04 
> c0186320
> 1f00: c018610c c34267e0 00000000 c2931f28 c2931f1c c015248c c0186304 
> c2931f60
> 1f20: c2931f2c c00af204 c0152470 c2931f80 c02ade1c c34267fc c2f723a0 
> bee3eafb
> 1f40: c2931f80 00000003 c0024bc4 c2930000 000084c8 c2931f7c c2931f64 
> c0078a78
> 1f60: c00af144 00000000 00000000 c2f723a0 c2931fa4 c2931f80 c0078e44 
> c00789d8
> 1f80: 00000000 00000000 00000000 bee3ec70 bee3eb20 00008584 00000000 
> c2931fa8
> 1fa0: c0024a20 c0078e04 bee3ec70 bee3eb20 00000003 bee3eafb 00000005 
> bee3eafb
> 1fc0: bee3ec70 bee3eb20 00008584 40070ea8 bee3eba4 00000001 000084c8 
> bee3eb1c
> 1fe0: 4002af88 bee3eae8 0000871c 4002af90 20000010 00000003 00000000 
> 00000000
> Backtrace:
> [<c004cee0>] (add_wait_queue_exclusive+0x0/0x44) from [<c0212ea8>] 
> (__down+0x58/0x10c)
> [<c0212e50>] (__down+0x0/0x10c) from [<c0212dec>] (__down_failed+0xc/0x20)
>   r8 = C3CFA47C  r7 = C3D3E350  r6 = C3CFA5A0  r5 = C3CFA400
>   r4 = C3CFA400
> [<c0186100>] (ad7418_update_device+0x0/0xfc) from [<c0186320>] 
> (adc_volt+0x28/0x5c)
>   r7 = C3D3E350  r6 = 00000005  r5 = C28F3000  r4 = C3CFA414
> [<c01862f8>] (adc_volt+0x0/0x5c) from [<c015248c>] (dev_attr_show+0x28/0x2c)
>   r5 = 00000000  r4 = C34267E0
> [<c0152464>] (dev_attr_show+0x0/0x2c) from [<c00af204>] 
> (sysfs_read_file+0xcc/0x1d0)
> [<c00af138>] (sysfs_read_file+0x0/0x1d0) from [<c0078a78>] 
> (vfs_read+0xac/0xd4)
> [<c00789cc>] (vfs_read+0x0/0xd4) from [<c0078e44>] (sys_read+0x4c/0x80)
>   r6 = C2F723A0  r5 = 00000000  r4 = 00000000
> [<c0078df8>] (sys_read+0x0/0x80) from [<c0024a20>] 
> (ret_fast_syscall+0x0/0x2c)
>   r6 = 00008584  r5 = BEE3EB20  r4 = BEE3EC70
> Code: e5902004 e281300c e581000c e5803004 (e5823000)
> 
> Unable to handle kernel NULL pointer dereference at virtual address 00000000
> pgd = c28e0000
> [00000000] *pgd=028d8031, *pte=00000000, *ppte=00000000
> Internal error: Oops: 0 [#2]
> Modules linked in: ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 
> nf_conntrack ip_tables x_tables wlan_scan_sta ath_rate_sample ath_pci 
> ath_hal(P) wlan_wep wlan ixp
> 400_eth ixp400(P)
> CPU: 0
> PC is at __init_begin+0x3fff8000/0x30
> LR is at __wake_up_common+0x38/0x74
> pc : [<00000000>]    lr : [<c0034b54>]    Tainted: P
> sp : c290be78  ip : c3cfa5a4  fp : c290bea0
> r10: 00000003  r9 : 00000000  r8 : 00000000
> r7 : c3cfa5a8  r6 : 00000000  r5 : c3cfa5a4  r4 : 00000001
> r3 : 00000000  r2 : 00000000  r1 : 00000003  r0 : c3cfa598
> Flags: Nzcv  IRQs off  FIQs on  Mode SVC_32  Segment user
> Control: 39FF
> Table: 028E0000  DAC: 00000015
> Process showvolt (pid: 1392, stack limit = 0xc290a250)
> Stack: (0xc290be78 to 0xc290c000)
> be60:                                                       60000013 
> c3cfa400
> be80: c3cfa5a0 c02a65b8 c3cfa47c c02b06f0 beb4eafb c290beb8 c290bea4 
> c0034bbc
> bea0: c0034b28 00000000 c3cfa400 c290bec8 c290bebc c002680c c0034b9c 
> c290bf00
> bec0: c290becc c0212e4c c00267f8 00000341 00000003 000004d9 00000001 
> c3cfa400
> bee0: c01861e8 c3cfa414 c2934000 00000005 c3d3e350 c290bf18 c290bf04 
> c0186320
> bf00: c018610c c3426ce0 00000000 c290bf28 c290bf1c c015248c c0186304 
> c290bf60
> bf20: c290bf2c c00af204 c0152470 c290bf80 c02ade1c c3426cfc c2fb04c0 
> beb4eafb
> bf40: c290bf80 00000003 c0024bc4 c290a000 000084c8 c290bf7c c290bf64 
> c0078a78
> bf60: c00af144 00000000 00000000 c2fb04c0 c290bfa4 c290bf80 c0078e44 
> c00789d8
> bf80: 00000000 00000000 00000000 beb4ec70 beb4eb20 00008584 00000000 
> c290bfa8
> bfa0: c0024a20 c0078e04 beb4ec70 beb4eb20 00000003 beb4eafb 00000005 
> beb4eafb
> bfc0: beb4ec70 beb4eb20 00008584 40070ea8 beb4eba4 00000001 000084c8 
> beb4eb1c
> bfe0: 4002af88 beb4eae8 0000871c 4002af90 20000010 00000003 00000000 
> 00000000
> Backtrace:
> [<c0034b1c>] (__wake_up_common+0x0/0x74) from [<c0034bbc>] 
> (__wake_up+0x2c/0x34)
> [<c0034b90>] (__wake_up+0x0/0x34) from [<c002680c>] (__up+0x20/0x24)
>   r4 = C3CFA400
> [<c00267ec>] (__up+0x0/0x24) from [<c0212e4c>] (__up_wakeup+0xc/0x10)
> [<c0186100>] (ad7418_update_device+0x0/0xfc) from [<c0186320>] 
> (adc_volt+0x28/0x5c)
>   r7 = C3D3E350  r6 = 00000005  r5 = C2934000  r4 = C3CFA414
> [<c01862f8>] (adc_volt+0x0/0x5c) from [<c015248c>] (dev_attr_show+0x28/0x2c)
>   r5 = 00000000  r4 = C3426CE0
> [<c0152464>] (dev_attr_show+0x0/0x2c) from [<c00af204>] 
> (sysfs_read_file+0xcc/0x1d0)
> [<c00af138>] (sysfs_read_file+0x0/0x1d0) from [<c0078a78>] 
> (vfs_read+0xac/0xd4)
> [<c00789cc>] (vfs_read+0x0/0xd4) from [<c0078e44>] (sys_read+0x4c/0x80)
>   r6 = C2FB04C0  r5 = 00000000  r4 = 00000000
> [<c0078df8>] (sys_read+0x0/0x80) from [<c0024a20>] 
> (ret_fast_syscall+0x0/0x2c)
>   r6 = 00008584  r5 = BEB4EB20  r4 = BEB4EC70
> Code: bad PC value.
> 
> _______________________________________________
> Avila mailing list
> Avila at lists.gateworks.com
> http://lists.gateworks.com/cgi-bin/mailman/listinfo/avila





More information about the Avila mailing list