[Bug 4362] New: flash_eraseall gives segfault
bugzilla-daemon at amethyst.openembedded.net
bugzilla-daemon at amethyst.openembedded.net
Fri Jun 6 13:33:06 UTC 2008
http://bugs.openembedded.net/show_bug.cgi?id=4362
Summary: flash_eraseall gives segfault
Classification: Unclassified
Product: Openembedded
Version: Angstrom 2007.12
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: org.openembedded.stable
AssignedTo: openembedded-issues at lists.openembedded.org
ReportedBy: udovdh at xs4all.nl
I built mtd-utils 1.1.0-r3 for 2007.12 and followed the howto at:
http://www.handhelds.org/moin/moin.cgi/HpIpaqH2200LAB#head-61e597ebffb81bac4c0075ea331f6aaaebd5d31f
But:
root at h2200:~$ flash_eraseall -j /dev/mtd3
[ 1177.010000] MTD_open
[ 1177.020000] MTD_ioctl
[ 1177.020000] MTD_ioctl
[ 1177.030000] MTD_ioctl
Erasing 16 Kibyte @ 0 -- 0 % complete.[ 1177.030000] MTD_ioctl
[ 1177.040000] MTD_ioctl
[ 1177.040000] Unable to handle kernel NULL pointer dereference at virtual
address 00000018
[ 1177.050000] pgd = c3f38000
[ 1177.050000] [00000018] *pgd=a2dca031, *pte=00000000, *ppte=00000000
[ 1177.060000] Internal error: Oops: 17 [#1]
[ 1177.060000] Modules linked in: mtdchar g_ether snd_pcm_oss snd_mixer_oss
i2c_pxa snd_h2200_audio snd_uda1380 i2c_core snd_pxa2xx_i2sound snd_pcm
snd_timer snd_page_alloc snd rfcomm ircomm_tty ircomm irda t
[ 1177.060000] CPU: 0
[ 1177.060000] PC is at part_write_oob+0x50/0xb4
[ 1177.060000] LR is at __init_begin+0x3fff8000/0x30
[ 1177.060000] pc : [<c0143bc8>] lr : [<00000000>] Not tainted
[ 1177.060000] sp : c21f9de4 ip : c3c98ca0 fp : c21f9e08
[ 1177.060000] r10: 00000000 r9 : c21f8000 r8 : c24553e0
[ 1177.060000] r7 : c3c98ca0 r6 : be9b9c84 r5 : c21f9e0c r4 : 00000000
[ 1177.060000] r3 : 01e98000 r2 : 00000000 r1 : 00000000 r0 : 01e98000
[ 1177.060000] Flags: nzcv IRQs on FIQs on Mode SVC_32 Segment user
[ 1177.060000] Control: 397F
[ 1177.060000] Table: A3F38000 DAC: 00000015
[ 1177.060000] Process flash_eraseall (pid: 1426, stack limit = 0xc21f8258)
[ 1177.060000] Stack: (0xc21f9de4 to 0xc21fa000)
[ 1177.060000] 9de0: c007e980 c3b47a40 c21f9e0c c3b47a40 be9b9c84
c3c98ca0 c21f9f2c
[ 1177.060000] 9e00: c21f9e0c bf0d9b70 c0143b84 00000000 c03bca60 c0032f58
00000005 00200200
[ 1177.060000] 9e20: 00000000 00000000 c3b47c40 0000005f c3c31000 40000013
a0000013 00000000
[ 1177.060000] 9e40: c3f82c28 c3c31000 00000028 c21f9e74 c21f9e78 c21f9e68
c0123e24 c0031ebc
[ 1177.060000] 9e60: 60000013 ffffffff c21f9e8c c21f9e78 c0123e24 c0031ebc
00000000 c3c18c64
[ 1177.060000] 9e80: c21f9ebc c21f9e90 c21f9eac c21f9e98 c0123e24 c025da5c
00000003 00000001
[ 1177.060000] 9ea0: 00000000 60000093 00000000 c21f8000 c21f9eec c21f9ec0
c00330d8 c0031ebc
[ 1177.060000] 9ec0: 00000000 c391e900 c21f9ef4 c3c3100c a0000013 c3c31000
4001b028 00000028
[ 1177.060000] 9ee0: c21f9f04 c21f9ef0 c011082c c0031ebc c391e900 00000000
00000005 00012870
[ 1177.060000] 9f00: c0110d14 c01107c0 c21f9f2c c24553e0 c00c4d03 be9b9c84
00000036 c001dde8
[ 1177.060000] 9f20: c21f9f4c c21f9f30 c008ebe4 bf0d9688 00000028 c24553e0
c2ad5660 be9b9c84
[ 1177.060000] 9f40: c21f9f7c c21f9f50 c008eeb8 c008eb74 00000000 00000000
c3f77ae0 c24553e0
[ 1177.060000] 9f60: fffffff7 c00c4d03 c001dde8 c21f8000 c21f9fa4 c21f9f80
c008ef28 c008ec0c
[ 1177.060000] 9f80: c0025014 00000000 40135650 00000000 00000000 00000000
00000000 c21f9fa8
[ 1177.060000] 9fa0: c001dc40 c008eef4 00000000 00000000 00000003 c00c4d03
be9b9c84 00000001
[ 1177.060000] 9fc0: 00000000 00000000 00000000 00000036 00000003 00000000
00000005 00000001
[ 1177.060000] 9fe0: 00000001 be9b9b90 00008dc0 400d5cbc 20000010 00000003
00000000 00000000
[ 1177.060000] Backtrace:
[ 1177.060000] [<c0143b78>] (part_write_oob+0x0/0xb4) from [<bf0d9b70>]
(mtd_ioctl+0x4f4/0x9b8 [mtdchar])
[ 1177.060000] r7 = C3C98CA0 r6 = BE9B9C84 r5 = C3B47A40 r4 = C21F9E0C
[ 1177.060000] [<bf0d967c>] (mtd_ioctl+0x0/0x9b8 [mtdchar]) from [<c008ebe4>]
(do_ioctl+0x7c/0x98)
[ 1177.060000] r8 = C001DDE8 r7 = 00000036 r6 = BE9B9C84 r5 = C00C4D03
[ 1177.060000] r4 = C24553E0
[ 1177.060000] [<c008eb68>] (do_ioctl+0x0/0x98) from [<c008eeb8>]
(vfs_ioctl+0x2b8/0x2e8)
[ 1177.060000] r6 = BE9B9C84 r5 = C2AD5660 r4 = C24553E0
[ 1177.060000] [<c008ec00>] (vfs_ioctl+0x0/0x2e8) from [<c008ef28>]
(sys_ioctl+0x40/0x64)
[ 1177.060000] r9 = C21F8000 r8 = C001DDE8 r6 = C00C4D03 r5 = FFFFFFF7
[ 1177.060000] r4 = C24553E0
[ 1177.060000] [<c008eee8>] (sys_ioctl+0x0/0x64) from [<c001dc40>]
(ret_fast_syscall+0x0/0x2c)
[ 1177.060000] r6 = 00000000 r5 = 00000000 r4 = 00000000
[ 1177.060000] Code: ca000002 1a000017 e1500002 9a000015 (e59e3018)
[ 1177.510000] MTD_close
Segmentation fault
This is on HP ipaq H2210.
--
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Openembedded-issues
mailing list