Thread: KT3 Missing partitions
View Single Post
Old 03-23-2023, 04:43 AM   #1
hermit1
Junior Member
hermit1 began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2023
Device: Kindle
Missing partitions

Hi,

I got a KT3 serial number begins G000K9.
Probably MMC was erased.
I could partly reflash it with diagkern.bin and mainkern.bin no more files was flahed (thanks for description). Now the partitions are missing and kernel freezes. Is there a description about partitions or utility how I should create them or the whole process (serial port connection is working, these recovery menus didn't help:
I. Initialize Partition Table (fdisk) and format FAT
O. Format and overwrite FAT partition)?

Log file:

Quote:
[ 1.650383] mmc0: new high speed DDR MMC card at address 0001
[ 1.656397] mmcblk0: mmc0:0001 NJ2ZMB 3.64 GiB
[ 1.661018] mmcblk0boot0: mmc0:0001 NJ2ZMB partition 1 4.00 MiB
[ 1.667045] mmcblk0boot1: mmc0:0001 NJ2ZMB partition 2 4.00 MiB
[ 1.673044] mmcblk0rpmb: mmc0:0001 NJ2ZMB partition 3 512 KiB
[ 1.679478] mmc9:26 2023. 03. 23blk0: p1 p2 p3 p4
[ 1.685178] mmcblk0boot1: unknown partition table
[ 1.691739] mmcblk0boot0: unknown partition table
[ 1.725792] FAT-fs (loop1): bogus number of reserved sectors
[ 1.731462] FAT-fs (loop1): Can't find a valid FAT filesystem
[ 1.737329] ERROR:mount.c:324:mount_waveform_area():/dev/loop1:error 22(22)
[ 1.745664] INFO:recovery-util.c:142:spawn():child exited with status 00000000
[ 1.752997] ERROR:update.c:110:find_file():find_file: Failed to open /mnt/wfm/waveform_to_use: error 2
ERROR:recovery-util.c:1825:main():wfm_count=0DEBUG:eink.c:276:ein k_init():Loading: /lib/modules/mxc_epdc_eink.ko
[ 1.772684] DEBUG:eink.c:281:eink_init():Loading: /lib/modules/mxc_epdc_eink.ko
[ 1.780319] DEBUG:module.c:139:insmod():/lib/modules/mxc_epdc_eink.ko:loaded 11968 bytes. (11968)
[ 1.789287] mxc_epdc_eink: module license 'proprietary' taints kernel.
[ 1.795852] Disabling lock debugging due to kernel taint
[ 1.801444] INFO:module.c:163:insmod():Loaded module /lib/modules/mxc_epdc_eink.ko (11968 bytes)
[ 1.810416] DEBUG:eink.c:276:eink_init():Loading: /lib/modules/mxc_epdc_fb.ko builtin_firmware=y
[ 1.819255] DEBUG:eink.c:281:eink_init():Loading: /lib/modules/mxc_epdc_fb.ko builtin_firmware=y
[ 1.828535] DEBUG:module.c:139:insmod():/lib/modules/mxc_epdc_fb.ko:loaded 88680 bytes. (88680)
Panel VCOM string: 2820
[ 1.840899] imx_epdc_fb 20f4000.epdc: vcom_steps 131
[ 1.846082] imx_epdc_fb 20f4000.epdc: Memory override detected TotalMem:512M X:800 Y:600 FBMem:6M
[ 1.861899] imx_epdc_fb 20f4000.epdc: EPDC version = 2.1.0
[ 1.934958] wv_file->wdh.luts & 0xC =4
[ 3.619086] INFO:module.c:163:insmod():Loaded module /lib/modules/mxc_epdc_fb.ko builtin_firmware=y (88680 bytes)
[ 3.862068] INFO:eink.c:376:eink_init():eink initialized... (486400 bytes)
Press [ENTER] for recovery menu..[ 3.869170] DEBUG:recovery-util.c:736:choose_boot_mode():curr_time=978350420 end_time=978350420
. 0 [ 3.883567] DEBUG:keypad.c:105:keypad_set():keypad_set():keypa d_fd=-1 biggest_fd=0x7e88093c biggest_fd=0 s=0x7e880990
/[ 4.895631] DEBUG:readkey.c:121:read_key():Timeout
[ 4.900508] DEBUG:recovery-util.c:753:choose_boot_mode():curr_time=978350422 end_time=978350420 **
[ 4.924498] INFO:recovery-util.c:408:battery_check():Battery ID is valid
[ 4.931462] INFO:recovery-util.c:416:battery_check():Battery percentage = 100
[ 4.938835] DEBUG:diskutil.c:404:device_size():device size: 921600 sectors
[ 4.945899] DEBUG:diskutil.c:404:device_size():device size: 131072 sectors
[ 4.952875] DEBUG:diskutil.c:404:device_size():device size: 6385664 sectors
[ 4.962729] DEBUG:diskutil.c:404:device_size():device size: 7634944 sectors
[ 4.969750] INFO:recovery-util.c:1118:check_mbr():!!! Checking MBR /dev/mmcblk0 !!!!
[ 4.985965] DEBUG:diskutil.c:444:get_disk_info():real C:53760 H:4 S:16
[ 4.992515] DEBUG:diskutil.c:456:get_disk_info():calc C:119296 H:4 S:16
[ 4.999177] DEBUG:diskutil.c:587:append_partition()artition 1: requested length=921600
[ 5.007305] DEBUG:diskutil.c:210:roundup_lba():lba=987136 cylsize=64 ret=987136
[ 5.014644] DEBUG:diskutil.c:210:roundup_lba():lba=987136 cylsize=64 ret=987136
[ 5.021965] INFO:diskutil.c:573:append_partition()artition 2, start sector is 987136
[ 5.029903] DEBUG:diskutil.c:587:append_partition()artition 2: requested length=131072
[ 5.038053] DEBUG:diskutil.c:210:roundup_lba():lba=1118208 cylsize=64 ret=1118208
[ 5.045571] DEBUG:diskutil.c:210:roundup_lba():lba=1118208 cylsize=64 ret=1118208
[ 5.053064] INFO:diskutil.c:573:append_partition()artition 3, start sector is 1118208
[ 5.061089] DEBUG:diskutil.c:587:append_partition()artition 3: requested length=131072
[ 5.069209] DEBUG:diskutil.c:210:roundup_lba():lba=1249280 cylsize=64 ret=1249280
[ 5.076720] DEBUG:diskutil.c:210:roundup_lba():lba=1249280 cylsize=64 ret=1249280
[ 5.084223] INFO:diskutil.c:573:append_partition()artition 4, start sector is 1249280
[ 5.092235] DEBUG:diskutil.c:587:append_partition()artition 4: requested length=0
[ 5.099916] INFO:diskutil.c:238:make_part_info():maximizing partition 6385664 sectors
[ 5.107831] DEBUG:recovery-util.c:1180:check_mbr():Expected: 803D0FF 833D0FF 0100 10E00, 3D0FF83 3D0FF0 10F00 0200
[ 5.118229] DEBUG:recovery-util.c:1190:check_mbr():MBR : 803D0FF 833D0FF 0100 10E00, 3D0FF83 3D0FF0 10F00 0200
[ 5.128615] DEBUG:recovery-util.c:1192:check_mbr():!!! MBR checked /dev/mmcblk0 rootfs 0 varfs 0 !!!!
[ 5.138046] INFO:recovery-util.c:1250:check_and_create_partitions():*** Partition table verified for /dev/mmcblk0 ***
[ 5.148714] DEBUG:diskutil.c:444:get_disk_info():real C:53760 H:4 S:16
[ 5.155273] DEBUG:diskutil.c:456:get_disk_info():calc C:99776 H:4 S:16
[ 5.170072] ERROR:mount.c:88:losetup_fat():Could not find partition 0x0b on /dev/mmcblk0p4
[ 5.178415] ERROR:mount.c:172:mount_dosfs():Unable to access /dev/mmcblk0p4:Cannot update OS
[ 5.186893] ERROR:recovery-util.c:1860:main():No userstore partition, cannot check for updates.
[ 5.416449] INFO:eink.c:622:eink_splash_localized():Couldn't find localized image at /mnt/wfm/images/splash.raw.gz
[ 5.969911] ERROR:mount.c:352:umount_waveform_area():/mnt/wfm:error 22(22)
[ 5.976888] ERROR:mount.c:354:umount_waveform_area():Trouble unmounting waveform partition
[ 5.987994] DEBUG:mount.c:31:losetup_clear():ioctl LOOP_CLR_FD failed for /dev/loop1: error 6
BOOTING DEFAULT.
IP-Config: no devices to configure
kinit: Unable to mount root fs on device dev(179,1)
kinit: init not found!
[ 6.034061] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200
hermit1 is offline   Reply With Quote