由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Hardware版 - pogoplug E02 装debian重启失败,求助!
相关主题
POGOPLUG E02装了samba,请问怎么挂载移动硬盘以及从tablet stdockstar 分区分析和建议
最近pogoplug装Jeff debian squeeze请注意pogoplug 装 ArchLinux 一点心得
在 Dockstar 上安装 shadowsocks server尼玛,dockstar装openVPN装死了
Debian比ARCH更难安装的多是不是有的u盘对pogoplug兼容不行?
Pogoplug问题请教大牛感觉 Debian + Pogoplug 的script还是个不成熟的产品
Pogoplug E02挺难搞?POGOPLUG安装squeeze出错
pogoplug E02装完debian,看不到了海康威视的摄像头太烂了
[HELP] dockstar的uboot的问题PogoPlug的月经Deal又来了...
相关话题的讨论汇总
话题: ubi话题: usb话题: boot话题: uimage话题: device
进入Hardware版参与讨论
1 (共1页)
h******e
发帖数: 730
1
安装完debian,说已成功提示我reboot,我reboot, 马上跳出错误框,说“SSH server
unexpected closed network connection”,导致安装不成功。过了几分钟,再ssh
pogo仍旧是旧的东西,或者拔电源重启, u盘就都还原了,刚才安装的东西一点也没了
。。。没进新debian系统,这是咋回事啊?google不到啊。。。。谢了
不明白为啥不能reboot啊。
用winscp 连接的话,会说
Command ' reboot'
faild with return code 127 and error message
-bash: line 43: reboot: command not found.
疯了
h******e
发帖数: 730
2
为啥reboot不了,为啥我自己拔电源重启,刚安装的系统就没有了啊,菜鸟
好头疼
m*****k
发帖数: 58
3
fdisk分区的时候有没有记得让它bootable? 命令是a

server

【在 h******e 的大作中提到】
: 安装完debian,说已成功提示我reboot,我reboot, 马上跳出错误框,说“SSH server
: unexpected closed network connection”,导致安装不成功。过了几分钟,再ssh
: pogo仍旧是旧的东西,或者拔电源重启, u盘就都还原了,刚才安装的东西一点也没了
: 。。。没进新debian系统,这是咋回事啊?google不到啊。。。。谢了
: 不明白为啥不能reboot啊。
: 用winscp 连接的话,会说
: Command ' reboot'
: faild with return code 127 and error message
: -bash: line 43: reboot: command not found.
: 疯了

h******e
发帖数: 730
4
已经把第一个盘设为bootable了啊。。
为啥我reboot或者拔电源, u盘就还原了啊?刚才安装的东西一点也没了。。。

【在 m*****k 的大作中提到】
: fdisk分区的时候有没有记得让它bootable? 命令是a
:
: server

g****n
发帖数: 3370
5
重新按照网上的攻略装一次试试?

【在 h******e 的大作中提到】
: 已经把第一个盘设为bootable了啊。。
: 为啥我reboot或者拔电源, u盘就还原了啊?刚才安装的东西一点也没了。。。

h******e
发帖数: 730
6
已经从新装过几遍了,换了2个u盘1个移动硬盘,错误都一样。。。不知道原因啊
e*i
发帖数: 10288
7

this is normal. Your remote system is rebooting, so network will be
disconnected
for sure.
It seems when you reboot, it just skipped the usb drive and booted from the
flash
inside.
1 make sure you updated uboot (or something like that) so that pogo will try
to boot from usb first.
2 make sure you activated the partition on the flash drive so it is bootable.
3 change the brand / capacity of the flash drive. Not ALL flash drives work!
Try some old flash drives such as kingston 1gb.

【在 h******e 的大作中提到】
: 已经从新装过几遍了,换了2个u盘1个移动硬盘,错误都一样。。。不知道原因啊
h******e
发帖数: 730
8
谢了! 1 2 3我都做了啊,u盘换了3个了。。为啥不能从u盘引导呢,还有啥可能的原
因?
无知愁死人啊

the
try
bootable.
work!

【在 e*i 的大作中提到】
:
: this is normal. Your remote system is rebooting, so network will be
: disconnected
: for sure.
: It seems when you reboot, it just skipped the usb drive and booted from the
: flash
: inside.
: 1 make sure you updated uboot (or something like that) so that pogo will try
: to boot from usb first.
: 2 make sure you activated the partition on the flash drive so it is bootable.

b*****c
发帖数: 54
9
设置netconsole看看启动过程吧
http://forum.doozan.com/read.php?3,14,14
m**i
发帖数: 45
10
I had similar experience a long time ago. It takes too long to warm up USB
drive, so system does not find USB drive. Some parameter need to be set
somewhere to let the system sleep for about 20 seconds, and it can actually
see the USB drive and boot from it. Hopefully it gives you some clue.
相关主题
Pogoplug E02挺难搞?dockstar 分区分析和建议
pogoplug E02装完debian,看不到了pogoplug 装 ArchLinux 一点心得
[HELP] dockstar的uboot的问题尼玛,dockstar装openVPN装死了
进入Hardware版参与讨论
h******e
发帖数: 730
11
netconsole 显示如下,我移动硬盘用fdisk分了三个区,第一个linux, 设为boot, 第
二个linux swap, 第三个也是linux。
1. 其中“1 Storage Device(s) found”是说哪个盘?
2. Loading file "/boot/uImage" from usb device 0:1 (usbda1)
** File not found /boot/uImage
是啥意思?没在我硬盘里找到可以启动的/uImage?
但是我u盘 /boot 里确实有启动文件啊:
System.map-2.6.32-5-kirkwood initrd.img-2.6.32-5-kirkwood
config-2.6.32-5-kirkwood vmlinuz-2.6.32-5-kirkwood
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)
** File not found /boot/uImage
** Block device usb 1 not supported
** Block device usb 2 not supported
** Block device usb 3 not supported
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
** File not found /boot/uImage
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
** File not found /boot/uInitrd
Wrong Image Format for bootm command
ERROR: can't get kernel image!
stopping USB..
### JFFS2 loading 'uboot-original-mtd0.kwb' to 0x800000
Scanning JFFS2 FS: ......... done.
### JFFS2 load complete: 524288 bytes loaded to 0x800000
## Starting application at 0x00800200 ...

【在 b*****c 的大作中提到】
: 设置netconsole看看启动过程吧
: http://forum.doozan.com/read.php?3,14,14

h******e
发帖数: 730
12
u盘里的文件:
Pogoplug:/tmp$ mount /dev/sda1 /tmp/usb
Pogoplug:/tmp$ cd usb
Pogoplug:/tmp/usb$ ls
bin home media root sys vmlinuz
boot initrd.img mnt sbin tmp
dev lib opt selinux usr
etc lost+found proc srv var
b******r
发帖数: 1137
13
it happened once to one of my E02. i knew my usb drive was good because it
worked on other E02. eventually i decided to install arch, which worked
flawlessly. then i installed the rescue system, and put debian back. no more
booting problem any more.

【在 h******e 的大作中提到】
: u盘里的文件:
: Pogoplug:/tmp$ mount /dev/sda1 /tmp/usb
: Pogoplug:/tmp$ cd usb
: Pogoplug:/tmp/usb$ ls
: bin home media root sys vmlinuz
: boot initrd.img mnt sbin tmp
: dev lib opt selinux usr
: etc lost+found proc srv var

h******e
发帖数: 730
14
换了Arch,仍旧进不了系统,pogo下面变成橙黄色的灯了,不再是绿灯。到底哪里问题
啊,安装过程本身就没几步啊。。

more

【在 b******r 的大作中提到】
: it happened once to one of my E02. i knew my usb drive was good because it
: worked on other E02. eventually i decided to install arch, which worked
: flawlessly. then i installed the rescue system, and put debian back. no more
: booting problem any more.

e*i
发帖数: 10288
15
先简单点,别将boot单独弄个分区。
flash drive只分两个区,一个/,一个swap,将/设定为bootable,然后在试试看。

【在 h******e 的大作中提到】
: netconsole 显示如下,我移动硬盘用fdisk分了三个区,第一个linux, 设为boot, 第
: 二个linux swap, 第三个也是linux。
: 1. 其中“1 Storage Device(s) found”是说哪个盘?
: 2. Loading file "/boot/uImage" from usb device 0:1 (usbda1)
: ** File not found /boot/uImage
: 是啥意思?没在我硬盘里找到可以启动的/uImage?
: 但是我u盘 /boot 里确实有启动文件啊:
: System.map-2.6.32-5-kirkwood initrd.img-2.6.32-5-kirkwood
: config-2.6.32-5-kirkwood vmlinuz-2.6.32-5-kirkwood
: U-Boot 2011.12 (Feb 20 2012 - 21:21:59)

b*****c
发帖数: 54
16
怎么会没有uImage和uInitrd呢
是自己装的kernel?
uboot需要这俩image才行
cd /boot
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n
Linux-2.6.32 -d vmlinuz-2.6.32-5-kirkwood uImage
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n
initramfs-2.6.32-kirkwood -d initrd.img-2.6.32-5-kirkwood uInitrd

【在 h******e 的大作中提到】
: netconsole 显示如下,我移动硬盘用fdisk分了三个区,第一个linux, 设为boot, 第
: 二个linux swap, 第三个也是linux。
: 1. 其中“1 Storage Device(s) found”是说哪个盘?
: 2. Loading file "/boot/uImage" from usb device 0:1 (usbda1)
: ** File not found /boot/uImage
: 是啥意思?没在我硬盘里找到可以启动的/uImage?
: 但是我u盘 /boot 里确实有启动文件啊:
: System.map-2.6.32-5-kirkwood initrd.img-2.6.32-5-kirkwood
: config-2.6.32-5-kirkwood vmlinuz-2.6.32-5-kirkwood
: U-Boot 2011.12 (Feb 20 2012 - 21:21:59)

c*a
发帖数: 806
17
ft, 我有一模一样的问题,boot into Pogoplug straight.
no uImage either. followed exact step at http://projects.doozan.com/debian/
mkimage not available on pogoplug

【在 h******e 的大作中提到】
: netconsole 显示如下,我移动硬盘用fdisk分了三个区,第一个linux, 设为boot, 第
: 二个linux swap, 第三个也是linux。
: 1. 其中“1 Storage Device(s) found”是说哪个盘?
: 2. Loading file "/boot/uImage" from usb device 0:1 (usbda1)
: ** File not found /boot/uImage
: 是啥意思?没在我硬盘里找到可以启动的/uImage?
: 但是我u盘 /boot 里确实有启动文件啊:
: System.map-2.6.32-5-kirkwood initrd.img-2.6.32-5-kirkwood
: config-2.6.32-5-kirkwood vmlinuz-2.6.32-5-kirkwood
: U-Boot 2011.12 (Feb 20 2012 - 21:21:59)

h******e
发帖数: 730
18
不是自己装的,就是按Jeff帖子一步一步装的:
cd /tmp
wget http://projects.doozan.com/debian/dockstar.debian-squeeze.sh
chmod +x dockstar.debian-squeeze.sh
export PATH=$PATH:/usr/sbin:/sbin
./dockstar.debian-squeeze.sh
其中第四行 PATH=$PATH:/usr/sbin:/sbin
需不需要自己修改? 这是export到哪里了?

【在 b*****c 的大作中提到】
: 怎么会没有uImage和uInitrd呢
: 是自己装的kernel?
: uboot需要这俩image才行
: cd /boot
: mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n
: Linux-2.6.32 -d vmlinuz-2.6.32-5-kirkwood uImage
: mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n
: initramfs-2.6.32-kirkwood -d initrd.img-2.6.32-5-kirkwood uInitrd

h******e
发帖数: 730
19
后来是怎么解决的啊?

【在 c*a 的大作中提到】
: ft, 我有一模一样的问题,boot into Pogoplug straight.
: no uImage either. followed exact step at http://projects.doozan.com/debian/
: mkimage not available on pogoplug

c*a
发帖数: 806
20
#89900
after installing Lenny, ran into problem attempting to apt-get update/
upgrade
trying to see what's wrong, hope it's not bricked

【在 h******e 的大作中提到】
: 后来是怎么解决的啊?
相关主题
是不是有的u盘对pogoplug兼容不行?海康威视的摄像头太烂了
感觉 Debian + Pogoplug 的script还是个不成熟的产品PogoPlug的月经Deal又来了...
POGOPLUG安装squeeze出错你们的pogoplug load是多少?
进入Hardware版参与讨论
h******e
发帖数: 730
21
似乎这个帖子给出了答案。。
http://forum.doozan.com/read.php?2,11396
其中 okigan Wrote:
uBoot file needs to be created from vmlinuz, which is not happening for what
ever reason.
The following seems to correct the problem:
cd /tmp/debian/usr/bin #adjust based on the location of usb stick mount
point
./mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n
Linux-2.6.32-5-kirkwood -d ../../boot/vmlinuz-2.6.32-5-kirkwood ../../boot/
uImage
./mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n
initramfs-2.6.32-5-kirkwood -d ../../boot/initrd.img-2.6.32-5-kirkwood ../..
/boot/uInitrd
但是我这菜鸟还是不知道怎么修复啊,如何" adjust based on the location of usb
stick mount point"?。。。似乎先要
cd /tmp
mkdir usb
mount /dev/sda1 usb
cd ./usb/usr/bin
./mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n
Linux-2.6.32-5-kirkwood -d ../../boot/vmlinuz-2.6.32-5-kirkwood ../../boot/
uImage
./mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n
initramfs-2.6.32-5-kirkwood -d ../../boot/initrd.img-2.6.32-5-kirkwood ../..
/boot/uInitrd
b******r
发帖数: 1137
22
install the rescue system from jeff. e02 virtually unbrickable

【在 c*a 的大作中提到】
: #89900
: after installing Lenny, ran into problem attempting to apt-get update/
: upgrade
: trying to see what's wrong, hope it's not bricked

c****i
发帖数: 373
23
mark
d******a
发帖数: 32122
24
他为什么不修改?
-------------
看来 Jeff的安装文件确实有问题了,他还没来的急修改

【在 h******e 的大作中提到】
: 似乎这个帖子给出了答案。。
: http://forum.doozan.com/read.php?2,11396
: 其中 okigan Wrote:
: uBoot file needs to be created from vmlinuz, which is not happening for what
: ever reason.
: The following seems to correct the problem:
: cd /tmp/debian/usr/bin #adjust based on the location of usb stick mount
: point
: ./mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n
: Linux-2.6.32-5-kirkwood -d ../../boot/vmlinuz-2.6.32-5-kirkwood ../../boot/

1 (共1页)
进入Hardware版参与讨论
相关主题
PogoPlug的月经Deal又来了...Pogoplug问题请教大牛
你们的pogoplug load是多少?Pogoplug E02挺难搞?
难道pogoplug E02装的那个没iptables?pogoplug E02装完debian,看不到了
准备刷pogoplug[HELP] dockstar的uboot的问题
POGOPLUG E02装了samba,请问怎么挂载移动硬盘以及从tablet stdockstar 分区分析和建议
最近pogoplug装Jeff debian squeeze请注意pogoplug 装 ArchLinux 一点心得
在 Dockstar 上安装 shadowsocks server尼玛,dockstar装openVPN装死了
Debian比ARCH更难安装的多是不是有的u盘对pogoplug兼容不行?
相关话题的讨论汇总
话题: ubi话题: usb话题: boot话题: uimage话题: device