12535 Members
237 Forums
7811 Topics
24004 Posts
Max Online: 9115 @ 08/24/24 07:30 PM
|
|
|
|
|
|
|
|
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
31
|
|
|
|
|
|
|
|
|
#19890 - 11/09/19 08:13 AM
Re: DM900 rescue mode problem
[Re: Pamiko]
|
Japhar Member
Carpal Tunnel
Registered: 10/19/10
Posts: 9993
|
Perhaps you should recreate by hand the missing partitions ? Go to rescue mode, if you are not already in rescue mode most probably. echo "rescue" >> /proc/stb/fp/boot_mode && reboot Then check the partitions, below you have correct partitions from a working DM900UHD, opendreambox 2.5.0 dm900
>>> Your Dreambox has booted into RESCUE MODE. >>> Please log in as user 'root' (no password required), >>> then run 'help' to get further information.
dm900 login: root root@dm900:~# fdisk -lu
Disk /dev/mtdblock0: 2 MB, 2097152 bytes 255 heads, 63 sectors/track, 0 cylinders, total 4096 sectors Units = sectors of 1 * 512 = 512 bytes
Disk /dev/mtdblock0 doesn't contain a valid partition table
Disk /dev/mtdblock1: 0 MB, 131072 bytes 255 heads, 63 sectors/track, 0 cylinders, total 256 sectors Units = sectors of 1 * 512 = 512 bytes
Disk /dev/mtdblock1 doesn't contain a valid partition table
Disk /dev/mtdblock2: 0 MB, 131072 bytes 255 heads, 63 sectors/track, 0 cylinders, total 256 sectors Units = sectors of 1 * 512 = 512 bytes
Disk /dev/mtdblock2 doesn't contain a valid partition table
Disk /dev/mtdblock3: 14 MB, 14417920 bytes 255 heads, 63 sectors/track, 1 cylinders, total 28160 sectors Units = sectors of 1 * 512 = 512 bytes
Disk /dev/mtdblock3 doesn't contain a valid partition table
Disk /dev/mtdblock4: 33 MB, 33554432 bytes 255 heads, 63 sectors/track, 4 cylinders, total 65536 sectors Units = sectors of 1 * 512 = 512 bytes
Disk /dev/mtdblock4 doesn't contain a valid partition table Found valid GPT with protective MBR; using GPT
Disk /dev/mmcblk0: 7634944 sectors, 3728M Logical sector size: 512 Disk identifier (GUID): 30f082cc-2877-4689-9b2b-e1812454a613 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 7634910
Number Start (sector) End (sector) Size Code Name 1 2048 65535 31.0M 0700 kernel 2 65536 2097151 992M 0700 rootfs 3 2097152 7634910 2703M 0700 data
Disk /dev/mmcblk0boot1: 4 MB, 4194304 bytes 4 heads, 16 sectors/track, 128 cylinders, total 8192 sectors Units = sectors of 1 * 512 = 512 bytes
Disk /dev/mmcblk0boot1 doesn't contain a valid partition table
Disk /dev/mmcblk0boot0: 4 MB, 4194304 bytes 4 heads, 16 sectors/track, 128 cylinders, total 8192 sectors Units = sectors of 1 * 512 = 512 bytes
Disk /dev/mmcblk0boot0 doesn't contain a valid partition table And try to recreate the same partitions, that seems to be lost. Let us know if you get something working, Admin DM920UHD : root@dm920:~# fdisk -lu /dev/mmcblk0 Found valid GPT with protective MBR; using GPT
Disk /dev/mmcblk0: 15269888 sectors, 3360M Logical sector size: 512 Disk identifier (GUID): a157dc9b-d004-44e6-a25a-9c0d96d709f6 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 15269854
Number Start (sector) End (sector) Size Code Name 1 2048 65535 31.0M 0700 kernel 2 65536 4194303 2016M 0700 rootfs 3 4194304 15269854 5407M 0700 data Perhaps you could restore your GPT partitions this way... from rescue partition. sgdisk /dev/mmcblk0 -z -n 1:2048:65535 -c 1:kernel -t 1:8301 -n 2:65536:4194303 -c 2:rootfs -t 2:8307 -n 3:4194304: -c 3:data -t 3:8300 DM900UHD : opendreambox 2.5.0 dm900
>>> Your Dreambox has booted into RESCUE MODE. >>> Please log in as user 'root' (no password required), >>> then run 'help' to get further information.
dm900 login: root root@dm900:~# fdisk -lu /dev/mmcblk0 Found valid GPT with protective MBR; using GPT
Disk /dev/mmcblk0: 7634944 sectors, 3728M Logical sector size: 512 Disk identifier (GUID): 30f082cc-2877-4689-9b2b-e1812454a613 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 7634910
Number Start (sector) End (sector) Size Code Name 1 2048 65535 31.0M 0700 kernel 2 65536 2097151 992M 0700 rootfs 3 2097152 7634910 2703M 0700 data
Should be... sgdisk /dev/mmcblk0 -z -n 1:2048:65535 -c 1:kernel -t 1:8301 -n 2:65536:2097151 -c 2:rootfs -t 2:8307 -n 3:2097152: -c 3:data -t 3:8300
_________________________
|
Top
|
|
|
|
|
#19930 - 11/17/19 07:23 AM
Re: DM900 rescue mode problem
[Re: Admin]
|
stranger
Registered: 11/03/19
Posts: 2
|
Thanks for brainstorming! The issue is that I am unable to create partitions on a disk what is not present. Unfortunately mmcblk0 is not present in /dev. The OS is not seeing the drive. My idea was to modify the rescue scripts (luckily it is working with variables). It was successfully created the partitions on a HDD (/dev/sda). The problem is that on a restary it re-reads the ROM and wants to boot from mmcblk0 not sda. My idea is to extract the rescue image file. modify the scripts, and re program ROM with the modified one, to work from sda instead. Basically the mmcblk0 drive seems defective.
|
Top
|
|
|
|
|
#22192 - 10/31/20 05:03 PM
Re: DM900 rescue mode problem
[Re: Pamiko]
|
VIPF Japhar
enthusiast
Registered: 03/08/15
Posts: 218
Loc: Netherlands
|
Since I seems to have the same issue as you seems to have, Same issue as if the nand flash chip has been damaged. And noticed after (allot of) searching to the fault figured out that in my case the box just worked when I disconnect the front panel. And thus, as it may seems that there is some issue with the front panel which I still need to find out..
In any case, see in the picture snap to see if you have the same errors before trying it,
It may also be the front panel in your case. So, see if it also helps you.. Disconnect the flat cable from the front panel. See with the usb serial mode if the box starts up and which ip it gets. And test the box by the webif browser.
I'm not claiming that it is, buy may. It's at least worth to try/
Attachments
Snap1.jpg (24 downloads)
_________________________
Doing nothing leads to nothing. ------------- Please note, for technical support ------------- Will be given here, or on the jb8a8f8 forum and I prefer it in English. Johnny B. Click on the banner if you like to go there..
|
Top
|
|
|
|
|
#24838 - 03/12/23 04:56 AM
Re: DM900UHD Rescue mode problem
[Re: Pamiko]
|
Japhar Member
Carpal Tunnel
Registered: 10/21/10
Posts: 2649
|
I got this, what do you think ?
TS
Attachments
error.jpg (40 downloads)
_________________________
DM8000, DM800se, DM500HD, DM800HD, DM7025, DM7020s, DM7000, DM500s VU+ Solo, VU+ Uno, VU+ Duo, Kathrein UFS910 Tivusat, TNTSat, Fransat, SSR/TSR, BBC1-2-3/ITV DE-OpenBlackHole 1.4 image : http://www.openblackhole.com/
|
Top
|
|
|
|
|
|
|