maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Introducing console-tools v1 (install-tools replacemement) (https://talk.maemo.org/showthread.php?t=25714)

alephito 2009-10-22 23:18

Re: Introducing console-tools v1 (install-tools replacemement)
 
Quote:

Originally Posted by penguinbait (Post 355932)
I am suspecting some sort of power problem, is the battery you have the exact same one that shipped with 810? Or is it a different model but works?

It's a battery from Mugen.

alephito 2009-10-22 23:37

Re: Introducing console-tools v1 (install-tools replacemement)
 
It's funny how things work.

I switched the battery for the original one, the one I discarded because it had some problem in the internal logic (sometimes it lasted for a day, sometimes for half an our).

Everything was exactly as you detailed, so the problem had to be with my Mugen's battery.

Then, I switched batteries again and now, the one from Mugen's behaves exactly as you described. The problem is gone.

I don't know what it was (you saw the video) but the good thing is now I know how to revert it if it happens again: I just have to reboot with the original battery.

Thanks.

VulcanRidr 2009-10-27 15:56

Re: Introducing console-tools v1 (install-tools replacemement)
 
Quote:

Originally Posted by penguinbait (Post 355942)
You need to delete partition 2, 3, 4 and then create p2 ext3 and p3 swap. Right?

Correct. I'm outgrowing the / partition I built on the flash [again]. I guess that's a good thing. So I am going to take the whole internal flash as my primary partition minus the vfat and swap partitions. I'll build a Mer partition on the external card, since it seems to be getting there. :)

Quote:

Also you need to mkfs.ext3 on the new ext3 partition before restoring the backup.

1 more thing, I would reboot after using fdisk before doing anything else.
Thanks penguinbait. I just hate having my "brain prosthesis" offline while I do this in addition to the paranoia about screwing it up and having to start over again.

stevecrye 2009-11-04 17:11

Re: Introducing console-tools v1 (install-tools replacemement)
 
Hi PB and everyone!

Yesterday while running from my usual cloned partition on my external 8 GB SD card, I had a strange problem - could not run Terminal. It would launch and then close. I decided to reboot (tablet had been on for weeks), but when it shut down I saw a brief message that said something like "Memory corruption external SD" - it went by too fast to read.

When I power on, I get the boot menu (had used pbeasy last year), but if I select external it reports:

"Booting from mmc12 mmcblock0p2 ext3 "

but then I get jailbars and it reboots again to the menu. I can boot to internal flash (mtdblock4 jffs2 )

When I try to clone via pbeasy, it seems to only see a 2GB disk - I think it is the internal 2GB disk. I exited in in trembling fear.

I am able to connect via USB and see the 500 MB "fat" partition on the external card and copy the files.

Was wondering if I need to reformat the entire 8 GB external card. but I don't know how! <sob> Can't figure out how to run fsck - when I try fsck --help it just returns a version number. Sorry to be so helpless - I've been spending a lot of time with Windoze 7 lately and I think it hurt my brain.

Here's some info on the disk(s)

Rarrgh:~# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/mtdblock4 4096 2264 1832 55% /mnt/initfs
none 512 100 412 20% /mnt/initfs/tmp
/dev/mtdblock4 255488 201824 53664 79% /
none 512 100 412 20% /tmp
none 1024 68 956 7% /dev
tmpfs 1024 0 1024 0% /dev/shm
/dev/mmcblk0p1 1962220 1487368 474852 76% /media/mmc2
/dev/mmcblk1p1 498328 491408 6920 99% /media/mmc1

~ $ cat /proc/partitions

major minor #blocks name
31 0 128 mtdblock0
31 1 384 mtdblock1
31 2 2048 mtdblock2
31 3 4096 mtdblock3
31 4 255488 mtdblock4
254 0 7977472 mmcblk0
254 1 498591 mmcblk0p1
254 2 6980288 mmcblk0p2
254 3 498592 mmcblk0p3
254 8 1966080 mmcblk1
254 9 1966072 mmcblk1p1

~ $

All help greatly appreciated!

Steve

penguinbait 2009-11-06 17:42

Re: Introducing console-tools v1 (install-tools replacemement)
 
Quote:

Originally Posted by stevecrye (Post 365536)
Hi PB and everyone!

Yesterday while running from my usual cloned partition on my external 8 GB SD card, I had a strange problem - could not run Terminal. It would launch and then close. I decided to reboot (tablet had been on for weeks), but when it shut down I saw a brief message that said something like "Memory corruption external SD" - it went by too fast to read.

When I power on, I get the boot menu (had used pbeasy last year), but if I select external it reports:

"Booting from mmc12 mmcblock0p2 ext3 "

but then I get jailbars and it reboots again to the menu. I can boot to internal flash (mtdblock4 jffs2 )

When I try to clone via pbeasy, it seems to only see a 2GB disk - I think it is the internal 2GB disk. I exited in in trembling fear.

I am able to connect via USB and see the 500 MB "fat" partition on the external card and copy the files.

Was wondering if I need to reformat the entire 8 GB external card. but I don't know how! <sob> Can't figure out how to run fsck - when I try fsck --help it just returns a version number. Sorry to be so helpless - I've been spending a lot of time with Windoze 7 lately and I think it hurt my brain.

Here's some info on the disk(s)

Rarrgh:~# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/mtdblock4 4096 2264 1832 55% /mnt/initfs
none 512 100 412 20% /mnt/initfs/tmp
/dev/mtdblock4 255488 201824 53664 79% /
none 512 100 412 20% /tmp
none 1024 68 956 7% /dev
tmpfs 1024 0 1024 0% /dev/shm
/dev/mmcblk0p1 1962220 1487368 474852 76% /media/mmc2
/dev/mmcblk1p1 498328 491408 6920 99% /media/mmc1

~ $ cat /proc/partitions

major minor #blocks name
31 0 128 mtdblock0
31 1 384 mtdblock1
31 2 2048 mtdblock2
31 3 4096 mtdblock3
31 4 255488 mtdblock4
254 0 7977472 mmcblk0
254 1 498591 mmcblk0p1
254 2 6980288 mmcblk0p2
254 3 498592 mmcblk0p3
254 8 1966080 mmcblk1
254 9 1966072 mmcblk1p1

~ $

All help greatly appreciated!

Steve

So if you boot to flash and as root run "fsck -y /dev/mmcblk0p2" what happens?

It almost sounds like the card actually died, although it shows up in your partitions list, so it must be functioning somewhat.

rockydd 2009-11-08 07:33

Re: Introducing console-tools v1 (install-tools replacemement)
 
I have installed this successfully, my n810 can boot from internal flash or external MMC card. But, I don't know how to set the external MMC as the default boot device. I tried pb->bootmenu->Boot, but, the external MMC is not listed there. only 1 option:
/dev/mtdblock4 Size:256MB

What's the problem.

Thanks.

penguinbait 2009-11-09 14:31

Re: Introducing console-tools v1 (install-tools replacemement)
 
Quote:

Originally Posted by rockydd (Post 368586)
I have installed this successfully, my n810 can boot from internal flash or external MMC card. But, I don't know how to set the external MMC as the default boot device. I tried pb->bootmenu->Boot, but, the external MMC is not listed there. only 1 option:
/dev/mtdblock4 Size:256MB

What's the problem.

Thanks.

boot and open xterm and become root and run the following command:

chroot /mnt/initfs cal-tool –set-root-device ask:mmc12

Reference:
mmc2 is partition 2 on internal
mmc3 is partition 3 on internal
mmc12 is partition 2 on external
mmc13 is partition 3 on external

This sets the default, not sure why its not in the list?

stevecrye 2009-11-09 22:49

Re: Introducing console-tools v1 (install-tools replacemement)
 
Well, this is embarrassing.

The problem was my old, squinty eyes. I finally put on my reading glasses, fired up pbeasy, and lo and behold, there was a little, tiny, hard-to-see "+" symbol under the list of disks. Pressed it, and there was my external card. Partitioned and then Cloned without a hitch. Been running for a few days no problems. Probably had a flipped bit in some critical location. Well, after all, this is why I run from external SD in the first place!

<sigh>

People, I'm really sorry about this.

I'm braced for derision - please be merciful.

Steve

penguinbait 2009-11-10 00:16

Re: Introducing console-tools v1 (install-tools replacemement)
 
Quote:

Originally Posted by stevecrye (Post 370369)
Well, this is embarrassing.

The problem was my old, squinty eyes. I finally put on my reading glasses, fired up pbeasy, and lo and behold, there was a little, tiny, hard-to-see "+" symbol under the list of disks. Pressed it, and there was my external card. Partitioned and then Cloned without a hitch. Been running for a few days no problems. Probably had a flipped bit in some critical location. Well, after all, this is why I run from external SD in the first place!

<sigh>

People, I'm really sorry about this.

I'm braced for derision - please be merciful.

Steve

No issues here, best problems are the ones that sort themselves out... ;)

uhale 2009-11-18 05:55

Re: Introducing console-tools v1 (install-tools replacemement)
 
Is backup to Fat32 supported with current PB tools?


All times are GMT. The time now is 22:23.

vBulletin® Version 3.8.8