Linux kernel oops on Malta board while accessing pflash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Expired
|
Undecided
|
Unassigned |
Bug Description
commit 33d609990621dea
While running tests/acceptanc
physmap-flash.0: Found 1 x32 devices at 0x0 in 32-bit bank. Manufacturer ID 0x000000 Chip ID 0x000000
Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
Searching for RedBoot partition table in physmap-flash.0 at offset 0x1003f0000
Creating 3 MTD partitions on "physmap-flash.0":
0x00000000000
0x00000010000
0x0000003e000
CPU 0 Unable to handle kernel paging request at virtual address 00000014
The 64-bit test fails with:
CPU 0 Unable to handle kernel paging request at virtual address 0000000000000028
Changed in qemu: | |
assignee: | Philippe Mathieu-Daudé (philmd) → nobody |
Changed in qemu: | |
status: | Incomplete → Confirmed |
Relevant 32-bit output:
tests/acceptanc e/linux_ ssh_mips_ malta.py: LinuxSSH. test_mips_ malta32eb_ kernel3_ 2_0
[ 34.968000] Using buffer write method 0x000000100000 : "YAMON" 0x0000003e0000 : "User FS" 0x000000400000 : "Board Config" 8fbca000, task=8fbbda88, tls=774b0490) open+0x124/ 0x250 open+0x27c/ 0x3d8 to_filp+ 0x64/0x78 isra.17+ 0x3a4/0x81c 0xc0/0x4c4 open+0x3c/ 0xac open+0x114/ 0x200 0x20/0x40 char-90: 3'
[ 38.324000] Searching for RedBoot partition table in physmap-flash.0 at offset 0x3f0000
[ 38.328000] No RedBoot partition table detected in physmap-flash.0
[ 39.032000] Creating 3 MTD partitions on "physmap-flash.0":
[ 39.032000] 0x000000000000-
[ 39.052000] 0x000000100000-
[ 39.068000] 0x0000003e0000-
[ 40.924000] CPU 0 Unable to handle kernel paging request at virtual address 00000014, epc == c0203278, ra == c0203254
[ 40.932000] Oops[#1]:
[ 40.932000] Cpu 0
[ 40.932000] $ 0 : 00000000 1000a400 00000000 00000001
[ 40.932000] $ 4 : c012f590 00000001 00000000 7fffffff
[ 40.932000] $ 8 : 8fbcbfe0 0000a400 00000000 8fae0000
[ 40.932000] $12 : 74646368 00000001 806c0078 61720053
[ 40.932000] $16 : 8fb38000 8fba63c0 c0200000 00000001
[ 40.932000] $20 : 00000000 c0205074 8020953c 7fac45e4
[ 40.932000] $24 : 00000003 80338058
[ 40.932000] $28 : 8fbca000 8fbcbcd0 00000008 c0203254
[ 40.932000] Hi : 00000009
[ 40.932000] Lo : 85d47900
[ 40.932000] epc : c0203278 mtd_open+0x94/0x1d0 [mtdchar]
[ 40.932000] Not tainted
[ 40.932000] ra : c0203254 mtd_open+0x70/0x1d0 [mtdchar]
[ 40.932000] Status: 1000a403 KERNEL EXL IE
[ 40.932000] Cause : 10800008
[ 40.932000] BadVA : 00000014
[ 40.932000] PrId : 00019300 (MIPS 24Kc)
[ 40.932000] Modules linked in: mtdchar(+) redboot cfi_cmdset_0001 cfi_probe cfi_util gen_probe sg evdev uhci_hcd ehci_hcd physmap map_funcs chipreg usbcore mtd psmouse sr_mod i2c_piix4 i2c_core cdrom serio_raw usb_common
[ 40.932000] Process mtd_probe (pid: 268, threadinfo=
[ 40.932000] Stack : 00000000 8e9b9470 8fba63c0 8e9b9470 802094b0 8e9ad980 8e9b9470 8fba63c0
[ 40.932000] 8e9ad980 802095d4 00000000 00000000 00000000 7fac45e4 00000003 8033768c
[ 40.932000] 8fba63c0 8f5a7518 8f811c80 8e9b9470 802094b0 00000000 00000000 7fac45e4
[ 40.932000] 00000008 80202bb4 8fbcbe14 8fbcbe68 8fbcbdc0 8f4f4498 8f811c80 8fbcbe70
[ 40.932000] 8fa29140 8fbcbe68 8e9b9470 00000024 00000000 00000000 00000005 7fac45e4
[ 40.932000] ...
[ 40.932000] Call Trace:
[ 40.932000] [<c0203278>] mtd_open+0x94/0x1d0 [mtdchar]
[ 40.932000] [<802095d4>] chrdev_
[ 40.932000] [<80202bb4>] __dentry_
[ 40.932000] [<8020400c>] nameidata_
[ 40.932000] [<80214160>] do_last.
[ 40.932000] [<802146d4>] path_openat+
[ 40.932000] [<80214bf0>] do_filp_
[ 40.932000] [<80204134>] do_sys_
[ 40.932000] [<8010a9d0>] stack_done+
[ 40.932000]
[ 40.932000]
[ 40.932000] Code: 3c02c013 3c02c020 8c425070 <8c440014> 3c028022 2442eef4 0040f809 02602821 10400043
[ 40.956000] ---[ end trace e666aa8cbfdf5c7f ]---
udevd[192]: 'mtd_probe /dev/.tmp-
[hang]