[resolved] dockstar blocks on end of kernel start

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

[resolved] dockstar blocks on end of kernel start

Postby crousti » Wed Jun 19, 2013 12:51 pm

Hi guys,

this is my first post. I tried looking for an answer but so far could not find it.

I previously used a debian squeeze on a usb key, but wanted to tinker about with something lighter and different. Enters archLinux .

Now i have the latest Uboot, and I followed the steps on arch linux install. The "sync" step strangely lasted maybe 1 second or less ...

First i tried on a USB stick with ext3, and that would not work correctly; then i used a stick that i knew would work, in ext2, at it booted debian some hours ago.

But ... now it does not boot on the stick, and i have no idea why.

I believe you could help if i publish the environment and netconsole boot result, so here you go.


Edit : you can find the kernel netconsole trace on my second post. It ends en "Started Login Service." yet the dockstar is not found on the network
Thanks !

my printenv:
$this->bbcode_second_pass_code('', '
ethact=egiga0
bootdelay=3
baudrate=115200
mainlineLinux=yes
console=ttyS0,115200
led_init=green blinking
led_exit=green off
led_error=orange blinking
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
mtdids=nand0=orion_nand
partition=nand0,2
stdin=serial
stdout=serial
stderr=serial
rescue_installed=0
rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params
rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi
pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi
force_rescue=0
force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi
ubifs_mtd=3
ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params
ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; fi
usb_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done
usb_scan_list=1 2 3 4
usb_scan_1=usb=0:1 dev=sda1
usb_scan_2=usb=1:1 dev=sdb1
usb_scan_3=usb=2:1 dev=sdc1
usb_scan_4=usb=3:1 dev=sdd1
usb_init=run usb_scan
usb_device=0:1
usb_root=/dev/sda1
usb_rootdelay=10
usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params
usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot
usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset
ethaddr=00:10:75:1A:89:36
arcNumber=2097
serverip=172.20.0.159
ipaddr=172.20.0.127
if_netconsole=ping $serverip
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
preboot=run if_netconsole start_netconsole
usb_rootfstype=ext2
')

my net console:

$this->bbcode_second_pass_code('', '
U-Boot 2011.12 (Feb 12 2012 - 21:33:07)
Seagate FreeAgent DockStar
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-0x000010000000 : "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: 219 MiB
UBI: number of good PEBs: 1752
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: 1731
UBI: total number of reserved PEBs: 21
UBI: number of PEBs reserved for bad PEB handling: 17
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)
2888208 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
** File not found /boot/uInitrd
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.1.10-20-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2888144 Bytes = 2.8 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...
')

It kind of hangs on Starting kernel.
Last edited by crousti on Thu Jun 20, 2013 12:39 pm, edited 2 times in total.
crousti
 
Posts: 7
Joined: Wed Jun 19, 2013 12:35 pm

Re: dockstar wont boot on usb key archlinux

Postby hydro » Wed Jun 19, 2013 6:41 pm

By default the kernel doesn't send message on netconsole, you have to enable it.
VDR on DockStar / Pogoplug E02: http://linux.bplaced.net/
hydro
 
Posts: 210
Joined: Wed Jun 15, 2011 2:03 pm
Location: Germany

Re: dockstar wont boot on usb key archlinux

Postby crousti » Thu Jun 20, 2013 7:41 am

ok, i enabled kernel netconsole, and it does not look like anything is wrong.
Yet the device is not found on the network : i used nmap to scan the whole subnet on port 22, and nothing pops out. Wireshark does not find anything either...


$this->bbcode_second_pass_code('', '
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.1.10-20-ARCH (nobody@panda1) (gcc version 4.7.2 (
GCC) ) #1 PREEMPT Sat May 18 14:37:07 UTC 2013
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397
7
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Seagate FreeAgent DockStar
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag
es: 32512
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda1 rootdela
y=10 rootfstype=ext2 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(dat
a) loglevel=7 netconsole=6666@172.20.0.127/eth0,6666@172.20.0.159/AC:16:2D:04:CF
:38
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] allocated 524288 bytes of page_cgroup
[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memor
y cgroups
[ 0.000000] Memory: 128MB = 128MB total
[ 0.000000] Memory: 122828k/122828k available, 8244k 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] DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
[ 0.000000] vmalloc : 0xc8800000 - 0xfe800000 ( 864 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc05381b4 (5313 kB)
[ 0.000000] .init : 0xc0539000 - 0xc0564000 ( 172 kB)
[ 0.000000] .data : 0xc0564000 - 0xc059d2b0 ( 229 kB)
[ 0.000000] .bss : 0xc059d2d4 - 0xc066ae6c ( 823 kB)
[ 0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, N
odes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:114
[ 0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474
ms
[ 0.000000] Console: colour dummy device 80x30
[ 14.549400] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[ 14.639331] pid_max: default: 32768 minimum: 301
[ 14.639453] Security Framework initialized
[ 14.639479] AppArmor: AppArmor disabled by boot time parameter
[ 14.639546] Mount-cache hash table entries: 512
[ 14.639940] Initializing cgroup subsys cpuacct
[ 14.639968] Initializing cgroup subsys memory
[ 14.640006] Initializing cgroup subsys devices
[ 14.640019] Initializing cgroup subsys freezer
[ 14.640029] Initializing cgroup subsys net_cls
[ 14.640039] Initializing cgroup subsys blkio
[ 14.640064] Initializing cgroup subsys perf_event
[ 14.640083] Initializing cgroup subsys bfqio
[ 14.640176] CPU: Testing write buffer coherency: ok
[ 14.641483] devtmpfs: initialized
[ 14.643353] NET: Registered protocol family 16
[ 14.644015] Kirkwood: MV88F6281-A0, TCLK=200000000.
[ 14.644031] Feroceon L2: Enabling L2
[ 14.644068] Feroceon L2: Cache support initialised.
[ 14.649613] bio: create slab <bio-0> at 0
[ 14.649987] vgaarb: loaded
[ 14.650254] SCSI subsystem initialized
[ 14.650629] usbcore: registered new interface driver usbfs
[ 14.650727] usbcore: registered new interface driver hub
[ 14.650836] usbcore: registered new device driver usb
[ 14.651397] Switching to clocksource orion_clocksource
[ 14.659329] Switched to NOHz mode on CPU #0
[ 14.660385] FS-Cache: Loaded
[ 14.670398] NET: Registered protocol family 2
[ 14.670640] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 14.671351] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 14.671492] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 14.671547] TCP: Hash tables configured (established 4096 bind 4096)
[ 14.671558] TCP reno registered
[ 14.671569] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 14.671591] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 14.671835] NET: Registered protocol family 1
[ 14.672461] audit: initializing netlink socket (disabled)
[ 14.672495] type=2000 audit(0.120:1): initialized
[ 14.757527] VFS: Disk quotas dquot_6.5.2
[ 14.757808] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 14.760047] JFFS2 version 2.2. (NAND) ┬® 2001-2006 Red Hat, Inc.
[ 14.761378] aufs 3.1-20111107
[ 14.761400] msgmni has been set to 239
[ 14.762807] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2
53)
[ 14.762824] io scheduler noop registered
[ 14.762833] io scheduler deadline registered
[ 14.762914] io scheduler cfq registered
[ 14.762984] io scheduler bfq registered (default)
[ 14.763048] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[ 14.763082] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[ 14.801481] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[ 14.841490] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[ 14.881477] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[ 14.921477] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[ 14.926658] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 14.947353] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[ 15.432147] console [ttyS0] enabled
[ 15.441861] brd: module loaded
[ 15.447976] loop: module loaded
[ 15.452127] ONFI flash detected
[ 15.455373] ONFI param page 0 valid
[ 15.458881] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G
08AAD)
[ 15.466602] Scanning device for bad blocks
[ 15.623923] 4 cmdlinepart partitions found on MTD device orion_nand
[ 15.630216] Creating 4 MTD partitions on "orion_nand":
[ 15.635400] 0x000000000000-0x000000100000 : "u-boot"
[ 15.640740] 0x000000100000-0x000000500000 : "uImage"
[ 15.646069] 0x000000500000-0x000002500000 : "rootfs"
[ 15.651388] 0x000002500000-0x000010000000 : "data"
[ 15.657492] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 15.664445] mv643xx_eth smi: probed
[ 15.670094] mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC addres
s 00:10:75:1a:89:36
[ 15.679139] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 15.685783] orion-ehci orion-ehci.0: Marvell Orion EHCI
[ 15.691108] orion-ehci orion-ehci.0: new USB bus registered, assigned bus num
ber 1
[ 15.721451] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[ 15.741444] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[ 15.747991] hub 1-0:1.0: USB hub found
[ 15.751796] hub 1-0:1.0: 1 port detected
[ 15.756249] Initializing USB Mass Storage driver...
[ 15.761234] usbcore: registered new interface driver usb-storage
[ 15.767294] USB Mass Storage support registered.
[ 15.772029] usbcore: registered new interface driver libusual
[ 15.778110] mousedev: PS/2 mouse device common for all mice
[ 16.071449] usb 1-1: new high speed USB device number 2 using orion-ehci
[ 16.223494] hub 1-1:1.0: USB hub found
[ 16.227621] hub 1-1:1.0: 4 ports detected
[ 16.511754] usb 1-1.2: new high speed USB device number 3 using orion-ehci
[ 16.628446] scsi0 : usb-storage 1-1.2:1.0
[ 16.791437] rtc-mv rtc-mv: internal RTC not ticking
[ 16.796503] sdhci: Secure Digital Host Controller Interface driver
[ 16.802739] sdhci: Copyright(c) Pierre Ossman
[ 16.807183] sdhci-pltfm: SDHCI platform and OF driver helper
[ 16.813339] usbcore: registered new interface driver r8712u
[ 16.819810] GRE over IPv4 demultiplexor driver
[ 16.824337] TCP cubic registered
[ 16.827761] NET: Registered protocol family 17
[ 16.832320] lib80211: common routines for IEEE802.11 drivers
[ 16.838015] Registering the dns_resolver key type
[ 16.843356] registered taskstats version 1
[ 16.848128] netconsole: local port 6666
[ 16.852019] netconsole: local IP 172.20.0.127
[ 16.856395] netconsole: interface 'eth0'
[ 16.860336] netconsole: remote port 6666
[ 16.864295] netconsole: remote IP 172.20.0.159
[ 16.868761] netconsole: remote ethernet address ac:16:2d:04:cf:38
[ 16.874899] netconsole: device eth0 not up yet, forcing it
[ 17.632593] scsi 0:0:0:0: Direct-Access USB 2.0 USB Flash Drive 0.00 PQ
: 0 ANSI: 2
[ 18.550553] console [netcon0] enabled
[ 18.554430] netconsole: network logging started
[ 18.559077] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 18.565703] Waiting 10sec before mounting root device...
[ 28.572912] EXT4-fs (sda1): mounting ext2 file system using the ext4 subsyste
m
[ 28.588175] EXT4-fs (sda1): warning: mounting unchecked fs, running e2fsck is
recommended
[ 28.612901] EXT4-fs (sda1): mounted filesystem without journal. Opts: (null)
[ 28.620039] VFS: Mounted root (ext2 filesystem) on device 8:1.
[ 28.628822] devtmpfs: mounted
[ 28.632506] Freeing init memory: 172K
[ 29.081607] systemd[1]: systemd 204 running in system mode. (+PAM -LIBWRAP -A
UDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ)
[ 29.297649] systemd[1]: Inserted module 'autofs4'
[ 29.347823] NET: Registered protocol family 10
[ 29.356140] systemd[1]: Inserted module 'ipv6'
[ 29.362062] systemd[1]: Set hostname to <alarm>.
[ 29.546261] systemd[1]: Cannot add dependency job for unit display-manager.se
rvice, ignoring: Unit display-manager.service failed to load: No such file or di
rectory. See system logs and 'systemctl status display-manager.service' for deta
ils.
[ 29.568768] systemd[1]: Expecting device dev-ttyS0.device...
[ 29.591564] systemd[1]: Starting Forward Password Requests to Wall Directory
Watch.
[ 29.599614] systemd[1]: Started Forward Password Requests to Wall Directory W
atch.
[ 29.607378] systemd[1]: Starting Remote File Systems.
[ 29.631580] systemd[1]: Reached target Remote File Systems.
[ 29.637280] systemd[1]: Starting Syslog Socket.
[ 29.661533] systemd[1]: Listening on Syslog Socket.
[ 29.666545] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[ 29.691524] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 29.698624] systemd[1]: Starting Delayed Shutdown Socket.
[ 29.721525] systemd[1]: Listening on Delayed Shutdown Socket.
[ 29.727401] systemd[1]: Starting Device-mapper event daemon FIFOs.
[ 29.751523] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[ 29.758203] systemd[1]: Starting LVM2 metadata daemon socket.
[ 29.781526] systemd[1]: Listening on LVM2 metadata daemon socket.
[ 29.787753] systemd[1]: Starting Encrypted Volumes.
[ 29.811519] systemd[1]: Reached target Encrypted Volumes.
[ 29.817071] systemd[1]: Starting Dispatch Password Requests to Console Direct
ory Watch.
[ 29.825403] systemd[1]: Started Dispatch Password Requests to Console Directo
ry Watch.
[ 29.833547] systemd[1]: Starting Paths.
[ 29.851536] systemd[1]: Reached target Paths.
[ 29.856155] systemd[1]: Starting Arbitrary Executable File Formats File Syste
m Automount Point.
[ 29.891538] systemd[1]: Set up automount Arbitrary Executable File Formats Fi
le System Automount Point.
[ 29.901101] systemd[1]: Starting Journal Socket.
[ 29.921528] systemd[1]: Listening on Journal Socket.
[ 29.926694] systemd[1]: Mounted Huge Pages File System.
[ 29.934969] systemd[1]: Started Load Kernel Modules.
[ 29.940104] systemd[1]: Mounted Configuration File System.
[ 29.947610] systemd[1]: Starting Apply Kernel Variables...
[ 30.012748] systemd[1]: Mounted FUSE Control File System.
[ 30.019509] systemd[1]: Starting Create static device nodes in /dev...
[ 30.092088] systemd[1]: Starting Setup Virtual Console...
[ 30.162096] systemd[1]: Starting Journal Service...
[ 30.231713] systemd[1]: Started Journal Service.
[ 30.419624] systemd[1]: Started Set Up Additional Binary Formats.
[ 30.425985] systemd[1]: Mounting POSIX Message Queue File System...
[ 30.491978] systemd[1]: Mounting Debug File System...
[ 30.562256] systemd[1]: Starting udev Kernel Socket.
[ 30.591652] systemd[1]: Listening on udev Kernel Socket.
[ 30.597436] systemd[1]: Starting udev Control Socket.
[ 30.631595] systemd[1]: Listening on udev Control Socket.
[ 30.637479] systemd[1]: Starting udev Coldplug all Devices...
[ 30.702193] systemd[1]: Starting Swap.
[ 30.721641] systemd[1]: Reached target Swap.
[ 30.726090] systemd[1]: Mounting Temporary Directory...
[ 30.801846] systemd[1]: Started File System Check on Root Device.
[ 30.808116] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 30.951546] systemd[1]: Started Apply Kernel Variables.
[ 31.011546] systemd[1]: Started Create static device nodes in /dev.
[ 31.071544] systemd[1]: Started Setup Virtual Console.
[ 31.101541] systemd[1]: Mounted POSIX Message Queue File System.
[ 31.121586] systemd[1]: Mounted Debug File System.
[ 31.191715] systemd[1]: Mounted Temporary Directory.
[ 31.251547] systemd[1]: Started Remount Root and Kernel File Systems.
[ 31.311544] systemd[1]: Started udev Coldplug all Devices.
[ 31.317293] systemd[1]: Starting Load Random Seed...
[ 31.383907] systemd[1]: Starting udev Kernel Device Manager...
[ 31.470438] systemd-udevd[71]: starting version 204
[ 31.511635] systemd[1]: Started Load Random Seed.
[ 31.541659] systemd[1]: Started udev Kernel Device Manager.
[ 31.547512] systemd[1]: Starting Local File Systems (Pre).
[ 31.581618] systemd[1]: Reached target Local File Systems (Pre).
[ 31.587819] systemd[1]: Starting Local File Systems.
[ 31.621649] systemd[1]: Reached target Local File Systems.
[ 31.627496] systemd[1]: Starting Recreate Volatile Files and Directories...
[ 31.722285] systemd[1]: Starting Trigger Flushing of Journal to Persistent St
orage...
[ 31.821618] systemd[1]: Found device /dev/ttyS0.
[ 31.921678] systemd[1]: Started Recreate Volatile Files and Directories.
[ 31.934042] systemd[1]: Starting Update UTMP about System Reboot/Shutdown...
[ 32.481555] systemd[1]: Started Update UTMP about System Reboot/Shutdown.
[ 32.541625] systemd[1]: Started Trigger Flushing of Journal to Persistent Sto
rage.
[ 32.549508] systemd[1]: Starting System Initialization.
[ 32.571533] systemd[1]: Reached target System Initialization.
[ 32.577417] systemd[1]: Starting Daily Cleanup of Temporary Directories.
[ 32.584317] systemd[1]: Started Daily Cleanup of Temporary Directories.
[ 32.591056] systemd[1]: Starting Timers.
[ 32.611629] systemd[1]: Reached target Timers.
[ 32.616232] systemd[1]: Starting D-Bus System Message Bus Socket.
[ 32.641688] systemd[1]: Listening on D-Bus System Message Bus Socket.
[ 32.648321] systemd[1]: Starting Sockets.
[ 32.671602] systemd[1]: Reached target Sockets.
[ 32.676327] systemd[1]: Starting Basic System.
[ 32.701562] systemd[1]: Reached target Basic System.
[ 32.706936] systemd[1]: Starting System Logger Daemon...
[ 32.791649] systemd[1]: Started System Logger Daemon.
[ 32.797281] systemd[1]: Starting Periodic Command Scheduler...
[ 32.881649] systemd[1]: Started Periodic Command Scheduler.
[ 32.887840] systemd[1]: Starting Netcfg multi-profile daemon...
[ 33.671031] systemd[1]: Started SSH Key Generation.
[ 33.681899] systemd[1]: Starting OpenSSH Daemon...
[ 33.771647] systemd[1]: Started OpenSSH Daemon.
[ 33.779590] systemd[1]: Starting Permit User Sessions...
[ 33.852128] systemd[1]: Starting Login Service...
[ 33.922149] systemd[1]: Starting D-Bus System Message Bus...
[ 34.021720] systemd[1]: Started D-Bus System Message Bus.
[ 34.271623] systemd[1]: Started Permit User Sessions.
[ 34.276980] systemd[1]: Starting Getty on tty1...
[ 34.371632] systemd[1]: Started Getty on tty1.
[ 34.379434] systemd[1]: Starting Serial Getty on ttyS0...
[ 34.491681] systemd[1]: Started Serial Getty on ttyS0.
[ 34.497116] systemd[1]: Starting Login Prompts.
[ 34.531640] systemd[1]: Reached target Login Prompts.
[ 34.571652] systemd[1]: Started Login Service.
')
crousti
 
Posts: 7
Joined: Wed Jun 19, 2013 12:35 pm

Re: dockstar blocks on end of kernel start

Postby hydro » Thu Jun 20, 2013 11:12 am

You could mount the drive on another linux installation or live system and investigate /var/log/messages.log . Maybe netcfg fails, it is not clear from netconsole output whether it is started at all. I just installed the current image (2013.06) on a second usb flash drive and kernel netconsole doesn't even report about OpenSSH
$this->bbcode_second_pass_code('', '
[ 25.736860] systemd[1]: Started Remount Root and Kernel File Systems.
[ 25.743592] systemd[1]: Starting Load Random Seed...
[ 25.826949] systemd[1]: Started udev Kernel Device Manager.
[ 25.832820] systemd[1]: Starting Local File Systems (Pre).
[ 25.866858] systemd[1]: Reached target Local File Systems (Pre).
[ 25.926937] systemd[1]: Started Load Random Seed.
')
I can only find it in the journal or logfile after logging in via SSH.
$this->bbcode_second_pass_code('', '

[root@alarm ~]# grep Started /var/log/messages.log | tail
Dec 31 18:00:24 alarm [ 23.856900] systemd[1]: Started udev Coldplug all Devices.
Dec 31 18:00:24 alarm [ 23.986839] systemd[1]: Started Setup Virtual Console.
Dec 31 18:00:24 alarm [ 25.736860] systemd[1]: Started Remount Root and Kernel File Systems.
Dec 31 18:00:24 alarm [ 25.826949] systemd[1]: Started udev Kernel Device Manager.
Dec 31 18:00:24 alarm [ 25.926937] systemd[1]: Started Load Random Seed.
Dec 31 18:00:31 alarm systemd[1]: Started Netcfg multi-profile daemon.
Jun 20 05:06:28 alarm systemd[1]: Started OpenNTP Daemon.
Jun 20 05:06:38 alarm systemd[1]: Started SSH Key Generation.
Jun 20 05:06:38 alarm systemd[1]: Started OpenSSH Daemon.
Jun 20 05:20:58 alarm systemd[1]: Started Cleanup of Temporary Directories.
')
VDR on DockStar / Pogoplug E02: http://linux.bplaced.net/
hydro
 
Posts: 210
Joined: Wed Jun 15, 2011 2:03 pm
Location: Germany

Re: dockstar blocks on end of kernel start

Postby crousti » Thu Jun 20, 2013 12:38 pm

I didnt think of checking this .

So i checked, and found it was my entire fault. I assumed that because i had the netconsole working with dockstar IP set to 172.20.0.127, which is the IP it got assigned from the DHCP when booting on its own system, i would also have that IP when booting archlinux.

It turns out i was wrong ... Archlinux tries to register an IPV6 address, fails, and then got assigned 172.20.0.230, which i did not see on nmap.


Now, for personal information, why would i get 2 different addresses on the same hardware, same mac address, same network ? I thought it would get the same, even if the lease time is not over, it still is the same hardware. Any idea ?
crousti
 
Posts: 7
Joined: Wed Jun 19, 2013 12:35 pm

Re: [resolved] dockstar blocks on end of kernel start

Postby vivkkrishnan2005 » Sat Jun 29, 2013 9:45 am

I have a similar issue - any help? I used debian squeeze on the same drive.
vivkkrishnan2005
 
Posts: 1
Joined: Sat Jun 29, 2013 9:44 am

Re: [resolved] dockstar blocks on end of kernel start

Postby WarheadsSE » Sat Jun 29, 2013 7:09 pm

Because you set one, and asked for the other.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [resolved] dockstar blocks on end of kernel start

Postby crousti » Sat Jun 29, 2013 10:07 pm

no, i was on DHCP on both.
crousti
 
Posts: 7
Joined: Wed Jun 19, 2013 12:35 pm

Re: [resolved] dockstar blocks on end of kernel start

Postby davidnewton » Sun Jun 30, 2013 3:05 pm

$this->bbcode_second_pass_quote('crousti', '
')
It kind of hangs on Starting kernel.


I have exactly the same problem. I used my dockstar with debian for about 3 years. This weekend I updated the U-Boot and then I could not boot to debian on any flash drive anymore. With Netconsole, I found that after "Starting Kernel", the booting process stopped. I tried to erase uboot and reinstall it, but no help. I also tried to re-install Debian, but failed too. Now, I tried to install ArchLinux on one of the flash drive, then it can boot to ArchLinux. I still would like to use debian since archlinux is very new to me. Could you tell me how you solved your problem? Thanks a lot.
davidnewton
 
Posts: 4
Joined: Sun Jun 30, 2013 2:54 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 15 guests