Welcome! Log In Create A New Profile

Advanced

Debian not booting on Pink E02

Posted by cyablo 
Debian not booting on Pink E02
April 12, 2013 01:23PM
Hello,

Ive got a Pink Pogoplug E02 on wich i tried to install Debian. The wheezy Installer fails with "kernel too old", so i tried squeeze. The installer runs trough but the Pogoplug did always boot into original os. i controlled the boot with netconsole, and it said that it couldn't find uImage and uInitrd, so i did:

http://forum.doozan.com/read.php?2,12006,12036#msg-12036

Now it runs trough the uBoot process:

U-Boot 2011.12 (Feb 20 2012 - 21:21:59)
Pogoplug E02
arm-none-linux-gnueabi-gcc (Sourcery G++ Lite 2009q3-67) 4.4.1
GNU ld (Sourcery G++ Lite 2009q3-67) 2.19.51.20090709
Hit any key to stop autoboot:  0
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/rescueme" from usb device 0:1 (usbda1)
** File not found /rescueme
reading /rescueme.txt

** Unable to read "/rescueme.txt" from usb 0:1 **
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000008000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=3"
UBI: MTD device size:            91 MiB
UBI: number of good PEBs:        727
UBI: number of bad PEBs:         1
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     0
UBI: available PEBs:             716
UBI: total number of reserved PEBs: 11
UBI: number of PEBs reserved for bad PEB handling: 7
UBI: max/mean erase counter: 1/1
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:rootfs", error -19
Error reading superblock on volume 'ubi:rootfs'!
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
1 bytes read
Found bootable drive on usb 0:1
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
1437200 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
4536158 bytes read
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-2.6.32-5-kirkwood
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1437136 Bytes = 1.4 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   Initrd-2.6.32-5-kirkwood
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4536094 Bytes = 4.3 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

But ends up with a orange LED and no network connection is coming up :(

Somebody a idea?

greets

Daniel



Edited 1 time(s). Last edit at 04/12/2013 01:24PM by cyablo.
Re: Debian not booting on Pink E02
April 12, 2013 01:38PM
You may need a fsck on your rootfs.

If that does not work, setup up a serial console and see what kernel is doing there.

-syong
Re: Debian not booting on Pink E02
April 13, 2013 05:53AM
Got it... needed to convert /dev/sda1 from ext2 to ext3. now it is booting debian :)



Edited 1 time(s). Last edit at 04/13/2013 06:25AM by cyablo.
Re: Debian not booting on Pink E02
April 25, 2013 09:43AM
HI guys

I've got a weird problem here on a new black E02,
When I got it I install squeeze and upgraded to wheezey, /dev/sda1 formated to ext2
No matter what I did I could not get Arch to boot, I wanted to see differeneces between the two, OK

Arch would boot , but sit there with no network, I added the ip-addressses for netconsole to fw_env
and it booted up staright away.
Reloaded Uboot flushing the addresses out and it failed to boot, put them back in and it booted and found the network.

So as fw_env says ext3, and my working copy of debian was ext2, I attempted to use ddif to make an image of the partition, reformat it to ext3 and load it back in.
That failed as the drive size changed it wanted more than 2.7GB to load the image back in,
Fiddled around with the partition size , but couldn't restore the sytem .

So reformatted the flash stick and tied to reload debian, both the squeeze and wheezy shell failed with unknown options.
wget http://projects.doozan.com/debian/kirkwood.debian-wheezy.sh and squeezs.sh
the logfile it said to see did not exist :(

next loaded the
wget http://dev.shyd.de/dockstar/dockstar.debian-squeeze.sh

its not booting , but I did see the comment for ext2.

Can someome point me at an install shell either squeeze or wheezey that will install on a ext3 partion and boot up and run,

or suggest what to do.

Strangely now fw_printenv just shows command not found when booting in to the pogopig with no drives attached.

I'll keep reading thru previous threads in case I find something that helps.
TIA

No errors seen when loading, but it is not booting
Re: Debian not booting on Pink E02
April 25, 2013 11:27AM
A bit more info
This is what I get if trying to install either the Doozan wheezey or squeeze .sh

./usr/share/debootstrap/devices.tar.gz
./usr/share/debootstrap/scripts/wheezy
./usr/share/debootstrap/scripts/karmic
./usr/share/debootstrap/scripts/testing
./usr/share/debootstrap/scripts/stable
./usr/share/debootstrap/scripts/lucid
./usr/share/debootstrap/scripts/maverick
./usr/share/debootstrap/scripts/unstable
./usr/share/debootstrap/scripts/squeeze
./usr/share/debootstrap/scripts/etch
./usr/share/debootstrap/scripts/jaunty
./usr/share/debootstrap/scripts/hardy
./usr/share/debootstrap/scripts/etch-m68k
./usr/share/debootstrap/scripts/natty
./usr/share/debootstrap/scripts/lenny
./usr/share/debootstrap/scripts/intrepid
# checking for /usr/share/debootstrap/pkgdetails...

# Installing /usr/share/debootstrap/pkgdetails...
Connecting to download.doozan.com (50.116.34.13:80)
pkgdetails.md5 100% |*******************************| 32 --:--:-- ETA
Connecting to download.doozan.com (50.116.34.13:80)
pkgdetails 100% |*******************************| 559k 00:00:00 ETA
# Successfully installed /usr/share/debootstrap/pkgdetails.


# Starting debootstrap installation
E: unrecognized or invalid option --no-check-gpg
debootstrap failed.
See /tmp/debian/debootstrap/debootstrap.log for more information.
Pogoplug:/tmp$ cat /tmp/debian/debootstrap/debootstrap.log
cat: can't open '/tmp/debian/debootstrap/debootstrap.log': No such file or directory
Pogoplug:/tmp$


Still stuck !
Re: Debian not booting on Pink E02
April 25, 2013 12:46PM
Next step
try with ext2 and load the shyd squeeze installer.
no errors on install , but it sits and does nothing and I see nothing on nc port 6666/udp, and the port is open.

mounted on this machine the /boot looks like this

[richard@localhost boot]$ ls
config-2.6.32-5-kirkwood uImage
initrd.img-2.6.32-5-kirkwood uInitrd
System.map-2.6.32-5-kirkwood vmlinuz-2.6.32-5-kirkwood
[richard@localhost boot]$ ls -l
total 12780
-rw-r--r--. 1 root root 84134 Feb 16 13:33 config-2.6.32-5-kirkwood
-rw-r--r--. 1 root root 4535327 Jan 1 2000 initrd.img-2.6.32-5-kirkwood
-rw-r--r--. 1 root root 1006188 Feb 16 13:33 System.map-2.6.32-5-kirkwood
-rw-r--r--. 1 root root 1437200 Jan 1 2000 uImage
-rw-r--r--. 1 root root 4535391 Jan 1 2000 uInitrd
-rw-r--r--. 1 root root 1437136 Feb 16 13:32 vmlinuz-2.6.32-5-kirkwood

It just doesn't want to play, the other stick with Arch is still booting up OK.

I had the reverse situation when I had debian running, then Arch wouldn't boot
Re: Debian not booting on Pink E02
April 25, 2013 01:06PM
And there's more
Downloaded Doozans Uboot installer and ran it , reset the previuos settings, and now I have two USB flash drives
one with Debian and one with Arch.
Also both leave the Orange Led on after boot.
Whats even more strange is the Arch flash is ext3 and the Debian ext2.
confused ? I am
Re: Debian not booting on Pink E02
April 25, 2013 11:42PM
richard-g8jvm Wrote:
-------------------------------------------------------
> And there's more
> Downloaded Doozans Uboot installer and ran it ,
> reset the previuos settings, and now I have two
> USB flash drives
> one with Debian and one with Arch.
> Also both leave the Orange Led on after boot.

This is because you are running mainline kernel 2.6.xx, which does not have the Pogo E02 patch for LEDs. You could upgrade the kernel to this:
http://forum.doozan.com/read.php?2,11601
or this:
http://forum.doozan.com/read.php?2,12096

and then after booting successfully, set arcNumber to 3542 (so that it is identified as Pogo E02) and reboot.

> Whats even more strange is the Arch flash is ext3
> and the Debian ext2.
> confused ? I am

Arch installation set rootfs to Ext3, Debian installation set rootfs to Ext2.
Re: Debian not booting on Pink E02
April 26, 2013 03:41AM
Thanks
Its now running Wheezey, with the stock kernel, and I'll upgrade the kernel, per link,
I did have the arch number set the 3542 before, I hadn't added yet as trying to keep a system that I can change
the OS by changing the Flash drive. Adding the ach number on Arch had no effect, so that looks safe to add.
At the moment they both boot OK as long as machid dd66 is not entered. On Arch the led colour doesn't change without that,
and adding it stops Debian from booting.

Thanks again

kernel now upgraded to 3.6.11, the led is still orange and the arch number has been set.



Edited 1 time(s). Last edit at 04/26/2013 05:47AM by richard-g8jvm.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: