Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

Pogoplug v2 hang at booting debian squeeze at "NET: Registered protocol family 10" (no replies)

$
0
0
Hi,

i have installed on my Pogoplug Archlinux first and it boots up fine. Then i installed the Rescue System from here "https://dl.dropbox.com/u/1015928/Kirkwood/rescue/RescueV2.8.2-10292012.tar.gz" and it works fine.

Then i would give debian a try. In Installed the squeeze Version from here "http://dev.shyd.de/dockstar/dockstar.debian-squeeze.sh" on a USB Stick.
It installed without errors. On reboot, netcat is showing the following output:

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... 2 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
** Block device usb 0 not supported

** Invalid boot device **
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:        728
UBI: number of bad PEBs:         0
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:             717
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'!
** Block device usb 0 not supported
** Block device usb 1 not supported
** Block device usb 2 not supported
** Block device usb 3 not supported
** Block device usb 0 not supported
** Block device usb 0 not supported
Wrong Image Format for bootm command
ERROR: can't get kernel image!
stopping USB..

NAND read: device 0 offset 0x100000, size 0x400000
 4194304 bytes read: OK
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.3.2-kirkwide
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3627768 Bytes = 3.5 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...
For me, this looks all right!?

After waiting 5 Minutes, no ip is showed up in my router (dhcp). I can not ping the ip for my pogo and no ssh login.

I put the San Disk Cruzer Micro USB stick 2GB (arch boots up from it and other people mentioned it should work) into a virtual linux system and look into the /var/log/dmesg of the USB stick.


[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.2.0-4-kirkwood (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-12) ) #1 Debian 3.2.35-2
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Marvell SheevaPlug Reference Board
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 65536
[    0.000000] free_area_init_node: node 0, pgdat c043fa44, node_mem_map c04a6000
[    0.000000]   Normal zone: 512 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65024 pages, LIFO batch:15
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda1 rootdelay=10 rootfstype=ext3 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 256MB = 256MB total
[    0.000000] Memory: 248496k/248496k available, 13648k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xfe800000   ( 736 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc03e3130   (3949 kB)
[    0.000000]       .init : 0xc03e4000 - 0xc0408000   ( 144 kB)
[    0.000000]       .data : 0xc0408000 - 0xc0442520   ( 234 kB)
[    0.000000]        .bss : 0xc0442544 - 0xc04a5b84   ( 398 kB)
[    0.000000] NR_IRQS:114
[    0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
[    0.000000] Console: colour dummy device 80x30
[   13.531415] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[   13.621302] pid_max: default: 32768 minimum: 301
[   13.621426] Security Framework initialized
[   13.621502] Mount-cache hash table entries: 512
[   13.621839] Initializing cgroup subsys cpuacct
[   13.621865] Initializing cgroup subsys memory
[   13.621889] Initializing cgroup subsys devices
[   13.621899] Initializing cgroup subsys freezer
[   13.621907] Initializing cgroup subsys net_cls
[   13.621915] Initializing cgroup subsys blkio
[   13.621936] Initializing cgroup subsys perf_event
[   13.622026] CPU: Testing write buffer coherency: ok
[   13.623310] devtmpfs: initialized
[   13.625155] print_constraints: dummy: 
[   13.625403] NET: Registered protocol family 16
[   13.626202] Kirkwood: MV88F6281-A0, TCLK=200000000.
[   13.626215] Feroceon L2: Enabling L2
[   13.626251] Feroceon L2: Cache support initialised.
[   13.626842] initial MPP regs: 01111111 11113322 00001111 00100000 00000000 00000000 00000000
[   13.626864]   final MPP regs: 01111111 11113322 00001111 00000000 00000000 00000000 00000000
[   13.629103] bio: create slab <bio-0> at 0
[   13.629477] vgaarb: loaded
[   13.630018] Switching to clocksource orion_clocksource
[   13.644164] NET: Registered protocol family 2
[   13.644370] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[   13.644981] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[   13.645165] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[   13.645260] TCP: Hash tables configured (established 8192 bind 8192)
[   13.645269] TCP reno registered
[   13.645279] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   13.645306] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   13.645516] NET: Registered protocol family 1
[   13.645546] PCI: CLS 0 bytes, default 32
[   13.645699] Unpacking initramfs...
[   14.193184] Freeing initrd memory: 6600K
[   14.193199] NetWinder Floating Point Emulator V0.97 (double precision)
[   14.193745] audit: initializing netlink socket (disabled)
[   14.193787] type=2000 audit(0.650:1): initialized
[   14.195187] VFS: Disk quotas dquot_6.5.2
[   14.195272] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   14.195393] JFFS2 version 2.2. (NAND) (SUMMARY)  \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.
[   14.195730] msgmni has been set to 498
[   14.197254] alg: No test for stdrng (krng)
[   14.197366] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[   14.197379] io scheduler noop registered
[   14.197386] io scheduler deadline registered
[   14.197440] io scheduler cfq registered (default)
[   14.197518] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[   14.197552] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[   14.230087] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[   14.270086] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[   14.310085] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[   14.350084] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[   14.350468] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   14.371009] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[   14.798163] console [ttyS0] enabled
[   14.802638] ONFI flash detected
[   14.806039] NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit)
[   14.814545] Scanning device for bad blocks
[   14.894217] 4 cmdlinepart partitions found on MTD device orion_nand
[   14.900522] Creating 4 MTD partitions on "orion_nand":
[   14.905687] 0x000000000000-0x000000100000 : "u-boot"
[   14.911505] 0x000000100000-0x000000500000 : "uImage"
[   14.917279] 0x000000500000-0x000002500000 : "rootfs"
[   14.923123] 0x000002500000-0x000008000000 : "data"
[   14.929464] mousedev: PS/2 mouse device common for all mice
[   15.940072] rtc-mv rtc-mv: internal RTC not ticking
[   15.945072] i2c /dev entries driver
[   15.948724] cpuidle: using governor ladder
[   15.952983] cpuidle: using governor menu
[   15.957063] Registered led device: plug:red:misc
[   15.957167] Registered led device: plug:green:health
[   15.957910] TCP cubic registered
[   15.961172] NET: Registered protocol family 17
[   15.965646] Registering the dns_resolver key type
[   15.970415] Gating clock of unused units
[   15.970424] before: 0x00dfc3fd
[   15.970431]  after: 0x00c701d9
[   15.970858] registered taskstats version 1
[   15.975413] /build/buildd-linux_3.2.35-2-armel-th89m3/linux-3.2.35/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[   15.986576] Initializing network drop monitor service
[   15.992259] Freeing init memory: 144K
[   16.050604] udevd[48]: starting version 175
[   16.137957] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   16.202736] mv643xx_eth smi: probed
[   16.246343] mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC address 00:25:31:04:8e:ad
[   16.265834] usbcore: registered new interface driver usbfs
[   16.287709] mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
[   16.302581] usbcore: registered new interface driver hub
[   16.327744] usbcore: registered new device driver usb
[   16.356688] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   16.392845] orion-ehci orion-ehci.0: Marvell Orion EHCI
[   16.398156] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   16.450075] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   16.470053] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   16.476068] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   16.482905] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   16.490170] usb usb1: Product: Marvell Orion EHCI
[   16.494893] usb usb1: Manufacturer: Linux 3.2.0-4-kirkwood ehci_hcd
[   16.501200] usb usb1: SerialNumber: orion-ehci.0
[   16.506743] hub 1-0:1.0: USB hub found
[   16.510549] hub 1-0:1.0: 1 port detected
[   16.830068] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   16.981457] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[   16.988185] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[   16.995366] usb 1-1: Product: USB2.0 Hub
[   17.003533] hub 1-1:1.0: USB hub found
[   17.013495] hub 1-1:1.0: 4 ports detected
[   17.290353] usb 1-1.1: new high-speed USB device number 3 using orion-ehci
[   17.400956] usb 1-1.1: New USB device found, idVendor=0781, idProduct=5151
[   17.407862] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   17.415216] usb 1-1.1: Product: Cruzer Micro
[   17.419501] usb 1-1.1: Manufacturer: SanDisk
[   17.423823] usb 1-1.1: SerialNumber: 0000A9709012037D
[   17.454315] SCSI subsystem initialized
[   17.462979] Initializing USB Mass Storage driver...
[   17.468184] scsi0 : usb-storage 1-1.1:1.0
[   17.473764] usbcore: registered new interface driver usb-storage
[   17.479798] USB Mass Storage support registered.
[   18.471050] scsi 0:0:0:0: Direct-Access     SanDisk  Cruzer Micro     6.51 PQ: 0 ANSI: 0 CCS
[   18.495386] sd 0:0:0:0: [sda] 3910655 512-byte logical blocks: (2.00 GB/1.86 GiB)
[   18.503353] sd 0:0:0:0: [sda] Write Protect is off
[   18.508171] sd 0:0:0:0: [sda] Mode Sense: 45 00 00 08
[   18.508602] sd 0:0:0:0: [sda] No Caching mode page present
[   18.514130] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   18.523602] sd 0:0:0:0: [sda] No Caching mode page present
[   18.529113] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   18.538609]  sda: sda1 sda2
[   18.544728] sd 0:0:0:0: [sda] No Caching mode page present
[   18.550261] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   18.556381] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   18.571517] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   26.577937] kjournald starting.  Commit interval 5 seconds
[   26.583607] EXT3-fs (sda1): mounted filesystem with ordered data mode
[   27.787125] udevd[242]: starting version 175
[   29.089212] Adding 251776k swap on /dev/sda2.  Priority:-1 extents:1 across:251776k 
[   29.427904] EXT3-fs (sda1): using internal journal
[   36.067922] mv643xx_eth_port mv643xx_eth_port.0: eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   54.387527] NET: Registered protocol family 10

I do not know where could be a problem. I found this "topic" but in the fstab i cant see any wrong code:

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>                               <dump>  <pass>
/dev/root                     /               ext2        noatime,errors=remount-ro        0             1
/dev/sda2               none            swap       sw                                              0             0

uname -a on the pogoplug rescue system shows:
Linux rescue 3.3.2-kirkwide #1 Mon Oct 29 17:52:07 CDT 2012 armv5tel GNU/Linux

what can i do?

Viewing all articles
Browse latest Browse all 3247

Trending Articles