Welcome! Log In Create A New Profile

Advanced

MVEBU Debian armhf rootfs - upgrade problem

Posted by mcmg2 
mcmg2
MVEBU Debian armhf rootfs - upgrade problem
August 29, 2017 10:54AM
root@mario:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  libxml2
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 826 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://security.debian.org stretch/updates/main armhf libxml2 armhf 2.9.4+dfsg1-2.2+deb9u1 [826 kB]
Fetched 826 kB in 1s (498 kB/s)
(Reading database ... 45359 files and directories currently installed.)
Preparing to unpack .../libxml2_2.9.4+dfsg1-2.2+deb9u1_armhf.deb ...
Unpacking libxml2:armhf (2.9.4+dfsg1-2.2+deb9u1) over (2.9.4+dfsg1-2.2) ...
Setting up libxml2:armhf (2.9.4+dfsg1-2.2+deb9u1) ...
Processing triggers for libc-bin (2.24-11+deb9u1) ...
ldconfig: file /usr/lib/arm-linux-gnueabihf/libnettle.so.6 is truncated

ldconfig: file /usr/lib/arm-linux-gnueabihf/libnettle.so.6.3 is truncated

ldconfig: /usr/lib/arm-linux-gnueabihf/ is not a symbolic link

Setting up samba (2:4.5.8+dfsg-2+deb9u1+b1) ...
Failed to preset unit, unit /etc/systemd/system/samba-ad-dc.service is masked.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory
[....] Starting SMB/CIFS daemon: smbd/usr/sbin/smbd: error while loading shared libraries: libp11-kit.so.0: cannot open shared object file: No such file or directory
 failed!
invoke-rc.d: initscript smbd, action "start" failed.
dpkg: error processing package samba (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.24-11+deb9u1) ...
ldconfig: file /usr/lib/arm-linux-gnueabihf/libnettle.so.6 is truncated

ldconfig: file /usr/lib/arm-linux-gnueabihf/libnettle.so.6.3 is truncated

ldconfig: /usr/lib/arm-linux-gnueabihf/ is not a symbolic link

Errors were encountered while processing:
 samba
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@mario:~#

samba does not start with Debian-4.12.4-mvebu-tld-1-rootfs-bodhi.tar.bz2

is it just me or something wrong with image?



Edited 1 time(s). Last edit at 08/29/2017 05:55PM by bodhi.
Re: MVEBU Debian armhf rootfs - upgrade problem
August 29, 2017 06:01PM
mcmg2,

> ...
> ldconfig: file /usr/lib/arm-linux-gnueabihf/libnet
> tle.so.6 is truncated
>
> ldconfig: file /usr/lib/arm-linux-gnueabihf/libnet
> tle.so.6.3 is truncated
>
> ldconfig: /usr/lib/arm-linux-gnueabihf/ is not a s
> ymbolic link
>
> Setting up samba (2:4.5.8+dfsg-2+deb9u1+b1) ...
> Failed to preset unit, unit /etc/systemd/system/sa
> mba-ad-dc.service is masked.
> /usr/bin/deb-systemd-helper: error: systemctl pres
> et failed on samba-ad-dc.service: No such file or
> directory

>
> is it just me or something wrong with image?

When you see problem like this, try:

apt-get clean
dpkg --clear-avail
rm /var/lib/apt/lists/* --force
dpkg --configure -a

and then repeat

apt-get update
apt-get upgrade

Are you booting with systemd?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
mcmg2
Re: MVEBU Debian armhf rootfs - upgrade problem
August 29, 2017 06:13PM

root@mario:~# apt-get clean
root@mario:~# dpkg --clear-avail
root@mario:~# rm /var/lib/apt/lists/* --force
rm: cannot remove '/var/lib/apt/lists/partial': Is a directory
root@mario:~# rm -r /var/lib/apt/lists/* --force
root@mario:~# dpkg --configure -a
Setting up nginx-full (1.10.3-1+deb9u1) ...
[FAIL] Starting nginx: nginx failed!
invoke-rc.d: initscript nginx, action "start" failed.
dpkg: error processing package nginx-full (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up samba (2:4.5.8+dfsg-2+deb9u1+b1) ...
Failed to preset unit, unit /etc/systemd/system/samba-ad-dc.service is masked.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory
[....] Starting SMB/CIFS daemon: smbd/usr/sbin/smbd: error while loading shared libraries: libp11-kit.so.0: cannot open shared object file: No such file or directory
 failed!
invoke-rc.d: initscript smbd, action "start" failed.
dpkg: error processing package samba (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nginx:
 nginx depends on nginx-full (<< 1.10.3-1+deb9u1.1~) | nginx-light (<< 1.10.3-1+deb9u1.1~) | nginx-extras (<< 1.10.3-1+deb9u1.1~); however:
  Package nginx-full is not configured yet.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.
 nginx depends on nginx-full (>= 1.10.3-1+deb9u1) | nginx-light (>= 1.10.3-1+deb9u1) | nginx-extras (>= 1.10.3-1+deb9u1); however:
  Package nginx-full is not configured yet.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.

dpkg: error processing package nginx (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.24-11+deb9u1) ...
ldconfig: file /usr/lib/arm-linux-gnueabihf/libnettle.so.6 is truncated

ldconfig: file /usr/lib/arm-linux-gnueabihf/libnettle.so.6.3 is truncated

ldconfig: /usr/lib/arm-linux-gnueabihf/ is not a symbolic link

Errors were encountered while processing:
 nginx-full
 samba
 nginx
root@mario:~#

still unable to finish install
Re: MVEBU Debian armhf rootfs - upgrade problem
August 29, 2017 08:43PM
Please post output of

fw_printenv
uname -a
cat /proc/cmdline

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 08/29/2017 08:45PM by bodhi.
mcmg2
Re: MVEBU Debian armhf rootfs - upgrade problem
August 29, 2017 09:03PM
root@mario:~# fw_printenv
CASset=max
MALLOC_len=5
MPmode=SMP
autoload=no
baudrate=115200
boot_order=hd_scr usb_scr mmc_scr hd_img usb_img mmc_img pxe net_img net_scr
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
bootargs_dflt=$console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel
bootargs_end=:10.4.50.254:255.255.255.0:Armada38x:eth0:none
bootargs_root=root=/dev/nfs rw
bootcmd=run bootcmd_usb; run bootcmd_stock; reset
bootcmd_auto=stage_boot $boot_order
bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_boot=tftpboot 0x2000000 $image_name; setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_edit=tftpboot $fdtaddr $fdtfile; fdt addr $fdtaddr; setenv bootcmd $bootcmd_fdt_boot
bootcmd_lgcy=tftpboot 0x2000000 $image_name; setenv bootargs $bootargs_dflt; bootm 0x2000000;
bootcmd_stock=echo Booting from stock ... ; run set_bootargs_stock; printenv bootargs; nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000
bootcmd_usb=echo Booting from USB ...; usb start; setenv fdt_skip_update yes; usb start; run usb_set_bootargs; if run load_image; then if run load_initrd; then bootm $load_image_addr $load_initrd_addr; else bootm $load_image_addr; fi; fi
bootdelay=1
bootdev=usb
cacheShare=no
console=console=ttyS0,115200
device=0:1
device_partition=0:1
disaMvPnp=no
eeeEnable=no
enaClockGating=no
enaCpuStream=no
enaFPU=yes
enaMonExt=no
enaWrAllo=no
eth1addr=00:50:43:20:21:3e
eth1mtu=1500
eth2addr=00:50:43:20:f2:3e
eth2mtu=1500
eth3addr=00:50:43:21:f2:20
eth3mtu=1500
ethact=egiga2
ethaddr=00:50:43:f2:21:3e
ethmtu=1500
ethprime=egiga2
fdt_addr=2040000
fdt_skip_update=yes
fdtaddr=0x1000000
fdtfile=armada-38x-modular.dtb
filesize=12
ide_path=/
image_name=uImage
initrd_name=uInitrd
ipaddr=192.168.11.110
kernel_addr_r=2080000
lcd0_enable=0
lcd0_params=640x480-16@60
lcd_panel=0
load_image=echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage
load_image_addr=0x02000000
load_initrd=echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x2900000
loadaddr=0x02000000
loads_echo=0
mtddevname=u-boot
mtddevnum=0
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)
mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500
mv_pon_addr=00:50:43:3e:f2:20
nandEcc=nfcConfig=4bitecc
netbsd_en=no
netmask=255.255.255.0
netretry=no
partition=nand0,0
pcieTune=no
pexMode=RC
pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm
pxefile_addr_r=3100000
ramdisk_addr_r=2880000
rootpath=/srv/nfs/
sata_delay_reset=0
sata_dma_mode=yes
script_addr_r=3000000
script_name=boot.scr
serverip=192.168.11.114
set_bootargs_stock=setenv bootargs root=/dev/ram console=ttyS0,115200
standalone=fsload 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000;
stderr=serial
stdin=serial
stdout=serial
usb0Mode=host
usbActive=0
usbType=3
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)
vxworks_en=no
yuk_ethaddr=00:00:00:EE:51:81
root@mario:~# uname -a
Linux mario 4.12.4-mvebu-tld-1 #1 SMP PREEMPT Sat Jul 29 21:56:37 PDT 2017 armv7l GNU/Linux
root@mario:~# cat /proc/cmdline
console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)
root@mario:~#

here it is
Re: MVEBU Debian armhf rootfs - upgrade problem
August 29, 2017 10:18PM
You are not booting with systemd?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
mcmg2
Re: MVEBU Debian armhf rootfs - upgrade problem
August 29, 2017 10:26PM
I did not change so it should boot with sysvinit.
mcmg2
Re: MVEBU Debian armhf rootfs - upgrade problem
August 29, 2017 10:42PM
released rootfs does not have dtb file for my cloud mirror gen2 so I used file attached here

Debian-4.12.4-mvebu-tld-1-rootfs-bodhi.tar.bz2
mcmg2
Re: MVEBU Debian armhf rootfs - upgrade problem
August 30, 2017 12:16AM
root@mario:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.12.4-mvebu-tld-1 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #1 SMP PREEMPT Sat Jul 29 21:56:37 PDT 2017
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Western Digital MyCloud EX2 Ultra
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat c0d9d700, node_mem_map dfbf8000
[    0.000000]   Normal zone: 1024 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 131072 pages, LIFO batch:31
[    0.000000] percpu: Embedded 17 pages/cpu @dfbc8000 s40460 r8192 d20980 u69632
[    0.000000] pcpu-alloc: s40460 r8192 d20980 u69632 alloc=17*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 499276K/524288K available (8192K kernel code, 712K rwdata, 2080K rodata, 1024K init, 331K bss, 25012K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
                   lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                   modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                     .text : 0xc0008000 - 0xc0900000   (9184 kB)
                     .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
                     .data : 0xc0d00000 - 0xc0db2308   ( 713 kB)
                      .bss : 0xc0db9a84 - 0xc0e0ca58   ( 332 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] Switching to timer-based delay loop, resolution 40ns
[    0.000003] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.007883] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.019122] Console: colour dummy device 80x30
[    0.023637] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.034031] pid_max: default: 32768 minimum: 301
[    0.038793] Security Framework initialized
[    0.042992] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.049667] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.057173] CPU: Testing write buffer coherency: ok
[    0.062258] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.103755] Setting up static identity map for 0x100000 - 0x100060
[    0.110181] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.115494] mvebu-pmsu: Initializing Power Management Service Unit
[    0.173661] smp: Bringing up secondary CPUs ...
[    0.233662] Booting CPU 1
[    0.236529] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.236585] smp: Brought up 1 node, 2 CPUs
[    0.246470] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.252790] CPU: All CPU(s) started in SVC mode.
[    0.258012] devtmpfs: initialized
[    0.263350] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.271300] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.281195] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.287487] prandom: seed boundary self test passed
[    0.294466] prandom: 100 self tests passed
[    0.298627] pinctrl core: initialized pinctrl subsystem
[    0.304600] NET: Registered protocol family 16
[    0.309765] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.317847] cpuidle: using governor ladder
[    0.322023] cpuidle: using governor menu
[    0.326162] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.334224] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.363804] vgaarb: loaded
[    0.366886] SCSI subsystem initialized
[    0.370878] libata version 3.00 loaded.
[    0.371193] usbcore: registered new interface driver usbfs
[    0.376868] usbcore: registered new interface driver hub
[    0.382309] usbcore: registered new device driver usb
[    0.387585] media: Linux media interface: v0.10
[    0.392200] Linux video capture interface: v2.00
[    0.397667] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.445144] VFS: Disk quotas dquot_6.6.0
[    0.449244] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.461854] NET: Registered protocol family 2
[    0.466667] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.473871] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.480415] TCP: Hash tables configured (established 4096 bind 4096)
[    0.486864] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.492792] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.499398] NET: Registered protocol family 1
[    0.504064] RPC: Registered named UNIX socket transport module.
[    0.510075] RPC: Registered udp transport module.
[    0.514840] RPC: Registered tcp transport module.
[    0.519623] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.526119] PCI: CLS 0 bytes, default 64
[    0.526224] Unpacking initramfs...
[    0.804353] Freeing initrd memory: 6908K
[    0.808565] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.815348] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.824292] audit: initializing netlink subsys (disabled)
[    0.829992] audit: type=2000 audit(0.812:1): state=initialized audit_enabled=0 res=1
[    0.830132] Initialise system trusted keyrings
[    0.830154] Key type blacklist registered
[    0.830227] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.837813] zbud: loaded
[    0.858483] NFS: Registering the id_resolver key type
[    0.863604] Key type id_resolver registered
[    0.867886] Key type id_legacy registered
[    0.871968] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.878764] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.885298] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.892703] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.899333] orangefs_init: module version upstream loaded
[    0.907367] Key type asymmetric registered
[    0.911563] Asymmetric key parser 'x509' registered
[    0.916533] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.923993] io scheduler noop registered
[    0.928008] io scheduler deadline registered
[    0.932372] io scheduler cfq registered (default)
[    0.938024] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    0.946322] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    0.953390] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.959728] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    0.966656] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.972225] pci_bus 0000:00: scanning bus
[    0.972247] pci 0000:00:01.0: [11ab:6820] type 01 class 0x060400
[    0.972273] pci 0000:00:01.0: calling pci_fixup_ide_bases+0x0/0x3c
[    0.972415] pci 0000:00:02.0: [11ab:6820] type 01 class 0x060400
[    0.972434] pci 0000:00:02.0: calling pci_fixup_ide_bases+0x0/0x3c
[    0.972560] pci_bus 0000:00: fixups for bus
[    0.972569] PCI: bus0: Fast back to back transfers disabled
[    0.978230] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 0
[    0.978235] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.986290] pci 0000:00:02.0: scanning [bus 00-00] behind bridge, pass 0
[    0.986294] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.994373] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 1
[    0.994449] pci_bus 0000:01: scanning bus
[    0.994454] pci_bus 0000:01: fixups for bus
[    0.994458] PCI: bus1: Fast back to back transfers enabled
[    1.000030] pci_bus 0000:01: bus scan returning with max=01
[    1.000036] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.000045] pci 0000:00:02.0: scanning [bus 00-00] behind bridge, pass 1
[    1.000121] pci_bus 0000:02: scanning bus
[    1.000127] pci_bus 0000:02: fixups for bus
[    1.000130] PCI: bus2: Fast back to back transfers enabled
[    1.005674] pci_bus 0000:02: bus scan returning with max=02
[    1.005680] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.005685] pci_bus 0000:00: bus scan returning with max=02
[    1.005692] pci 0000:00:01.0: fixup irq: got 0
[    1.005696] pci 0000:00:01.0: assigning IRQ 00
[    1.005701] pci 0000:00:02.0: fixup irq: got 0
[    1.005705] pci 0000:00:02.0: assigning IRQ 00
[    1.005719] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.010776] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.015852] pcieport 0000:00:01.0: enabling bus mastering
[    1.015899] pcieport 0000:00:02.0: enabling bus mastering
[    1.016182] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.078129] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy sg intr )
[    1.085966] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.148137] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy sg intr )
[    1.189578] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.197188] console [ttyS0] disabled
[    1.222011] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 23, base_baud = 12500000) is a 16550A
[    1.231137] console [ttyS0] enabled
[    1.238252] bootconsole [earlycon0] disabled
[    1.267726] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 24, base_baud = 12500000) is a 16550A
[    1.277498] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.286624] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    1.296016] scsi host0: ahci-mvebu
[    1.299702] scsi host1: ahci-mvebu
[    1.303261] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 42
[    1.311227] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 42
[    1.320023] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.327959] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    1.334342] nand: Hynix H27U2G8F2CTR-BC
[    1.338206] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.345812] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.353023] Bad block table found at page 131008, version 0x01
[    1.359231] Bad block table found at page 130944, version 0x01
[    1.365327] 8 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.371470] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    1.376894] 0x000000000000-0x000000500000 : "U-Boot"
[    1.382761] 0x000000500000-0x000000a00000 : "uImage"
[    1.388599] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    1.394585] 0x000000f00000-0x00000c800000 : "image.cfs"
[    1.401395] 0x00000c800000-0x00000d700000 : "rescue fw"
[    1.407419] 0x00000d700000-0x00000eb00000 : "config"
[    1.413261] 0x00000eb00000-0x00000f500000 : "reserve1"
[    1.419240] 0x00000f500000-0x00000ff00000 : "reserve2"
[    1.425955] m25p80 spi0.0: unrecognized JEDEC id bytes: ff, ff, ff
[    1.433419] libphy: Fixed MDIO Bus: probed
[    1.438476] libphy: orion_mdio_bus: probed
[    1.448048] mvneta f1034000.ethernet eth0: Using random mac address c2:b4:21:7a:67:39
[    1.456247] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.462874] ehci-pci: EHCI PCI platform driver
[    1.467415] ehci-orion: EHCI orion driver
[    1.471875] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.477225] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 1
[    1.484849] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.493468] xhci-hcd f10f0000.usb3: irq 45, io mem 0xf10f0000
[    1.499361] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.506180] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.513458] usb usb1: Product: xHCI Host Controller
[    1.518368] usb usb1: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd
[    1.524835] usb usb1: SerialNumber: f10f0000.usb3
[    1.529986] hub 1-0:1.0: USB hub found
[    1.533771] hub 1-0:1.0: 1 port detected
[    1.537906] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.543249] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    1.550854] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.559058] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    1.565878] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.573154] usb usb2: Product: xHCI Host Controller
[    1.578061] usb usb2: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd
[    1.584529] usb usb2: SerialNumber: f10f0000.usb3
[    1.589638] hub 2-0:1.0: USB hub found
[    1.593424] hub 2-0:1.0: 1 port detected
[    1.597615] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.602977] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[    1.610590] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.619183] xhci-hcd f10f8000.usb3: irq 46, io mem 0xf10f8000
[    1.625041] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    1.631894] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.639159] usb usb3: Product: xHCI Host Controller
[    1.644057] usb usb3: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd
[    1.650587] usb usb3: SerialNumber: f10f8000.usb3
[    1.655688] hub 3-0:1.0: USB hub found
[    1.659485] hub 3-0:1.0: 1 port detected
[    1.663599] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.668970] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    1.676533] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.684734] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
[    1.691573] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.698907] usb usb4: Product: xHCI Host Controller
[    1.703806] usb usb4: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd
[    1.710295] usb usb4: SerialNumber: f10f8000.usb3
[    1.715386] hub 4-0:1.0: USB hub found
[    1.719183] hub 4-0:1.0: 1 port detected
[    1.723458] usbcore: registered new interface driver usblp
[    1.729099] usbcore: registered new interface driver usb-storage
[    1.735373] mousedev: PS/2 mouse device common for all mice
[    1.741778] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.749664] i2c /dev entries driver
[    1.764529] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[    1.777430] orion_wdt: Initial timeout 171 sec
[    1.783911] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.791330] hidraw: raw HID events driver (C) Jiri Kosina
[    1.797085] usbcore: registered new interface driver usbhid
[    1.802700] usbhid: USB HID core driver
[    1.806779] drop_monitor: Initializing network drop monitor service
[    1.813142] Netfilter messages via NETLINK v0.30.
[    1.817699] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    1.817724] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    1.830423] ata1.00: ATA-9: WDC WD20EFRX-68EUZN0, 82.00A82, max UDMA/133
[    1.830428] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    1.830450] ata2.00: ATA-9: WDC WD20EFRX-68EUZN0, 82.00A82, max UDMA/133
[    1.830454] ata2.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    1.844233] ata1.00: configured for UDMA/133
[    1.844260] ata2.00: configured for UDMA/133
[    1.854583] scsi 0:0:0:0: Direct-Access     ATA      WDC WD20EFRX-68E 0A82 PQ: 0 ANSI: 5
[    1.862838] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    1.862842] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    1.862876] sd 0:0:0:0: [sda] Write Protect is off
[    1.862880] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    1.862935] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.873886] scsi 1:0:0:0: Direct-Access     ATA      WDC WD20EFRX-68E 0A82 PQ: 0 ANSI: 5
[    1.883083] sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    1.883088] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[    1.883120] sd 1:0:0:0: [sdb] Write Protect is off
[    1.883125] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[    1.883179] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.901665] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    1.943429] ip_set: protocol 6
[    1.946727] NET: Registered protocol family 10
[    1.951357]  sda: sda1 sda2 sda3 sda4
[    1.956267] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    1.962036]  sdb: sdb1 sdb2 sdb3 sdb4
[    1.966001] Segment Routing with IPv6
[    1.966710] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[    1.975242] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.982068] NET: Registered protocol family 17
[    1.986566] 8021q: 802.1Q VLAN Support v1.8
[    1.990836] Key type dns_resolver registered
[    1.995227] ThumbEE CPU extension supported.
[    1.999549] Registering SWP/SWPB emulation handler
[    2.004745] registered taskstats version 1
[    2.008875] Loading compiled-in X.509 certificates
[    2.013725] zswap: loaded using pool lzo/zbud
[    2.067528] Key type big_key registered
[    2.074955] Key type encrypted registered
[    2.080140] armada38x-rtc f10a3800.rtc: setting system clock to 2017-08-30 02:19:50 UTC (1504059590)
[    2.089452] PM: Hibernation image not present or could not be loaded.
[    2.090676] Freeing unused kernel memory: 1024K
[    2.095967] usb 1-1: New USB device found, idVendor=090c, idProduct=1000
[    2.102754] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.109964] usb 1-1: Product: POLLEX 8G
[    2.113840] usb 1-1: Manufacturer: SRT
[    2.119047] usb 1-1: SerialNumber: 033113111111135234000373
[    2.125960] usb-storage 1-1:1.0: USB Mass Storage device detected
[    2.142447] scsi host2: usb-storage 1-1:1.0
[    2.148869] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.152716] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.153418] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.153458] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.153734] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.154102] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.154344] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.154582] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.154826] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.155135] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.427226] usbcore: registered new interface driver uas
[    3.228433] scsi 2:0:0:0: Direct-Access     SRT      POLLEX 8G        1100 PQ: 0 ANSI: 4
[    3.238525] sd 2:0:0:0: [sdc] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
[    3.246847] sd 2:0:0:0: [sdc] Write Protect is off
[    3.251688] sd 2:0:0:0: [sdc] Mode Sense: 43 00 00 00
[    3.252353] sd 2:0:0:0: [sdc] No Caching mode page found
[    3.257728] sd 2:0:0:0: [sdc] Assuming drive cache: write through
[    3.265493] random: fast init done
[    3.269711]  sdc: sdc1
[    3.274260] sd 2:0:0:0: [sdc] Attached SCSI removable disk
[   12.960512] EXT4-fs (sdc1): mounting ext3 file system using the ext4 subsystem
[   12.978277] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null)
[   14.468048] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   14.510117] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   14.524551] sd 2:0:0:0: Attached scsi generic sg2 type 0
[   15.742219] EXT4-fs (sdc1): re-mounted. Opts: (null)
[   15.872068] EXT4-fs (sdc1): re-mounted. Opts: errors=remount-ro
[   17.609711] random: crng init done
[   18.269813] EXT4-fs (sda2): mounted filesystem with writeback data mode. Opts: data=writeback
[   19.963606] EXT4-fs (sdb2): mounted filesystem with writeback data mode. Opts: data=writeback
[   20.718524] m88e1318_get_wol: phy_id = 0x1410dd1 OK
[   20.723576] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   24.898131] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   24.906189] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
root@mario:~#

boot dmesg
Re: MVEBU Debian armhf rootfs - upgrade problem
August 30, 2017 03:06AM
mcmg2,

I think it must be your system. I have Samba installed in my rootfs but did not see the error. I've also tested installed Samba on the released rootfs Debian-4.12.4-mvebu-tld-1-rootfs-bodhi.tar.bz2

This is OK. It should not cause problem when you run sysvinit.

/usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory

Try remove Samba and reinstall.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 2 time(s). Last edit at 08/30/2017 03:10AM by bodhi.
mcmg2
Re: MVEBU Debian armhf rootfs - upgrade problem
August 30, 2017 04:06AM
I reinstalled but still no samba works.

root@mario:~# wget http://www.webmin.com/jcameron-key.asc
wget: error while loading shared libraries: libnettle.so.6: cannot open shared object file: No such file or directory
root@mario:~# /mnt/public/EBS/ebs_record.sh test 1 /mnt/public/EBS
rtmpdump: error while loading shared libraries: libnettle.so.6: cannot open shared object file: No such file or directory
root@mario:~#

somehow system can't locate library files.
Re: MVEBU Debian armhf rootfs - upgrade problem
August 30, 2017 04:45AM
mcmg2,

> somehow system can't locate library files.

What is your output of this?
ls -l  /usr/lib/arm-linux-gnueabihf/libnettle.so.*
and
dpkg -l | grep libnettle

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 08/30/2017 04:47AM by bodhi.
mcmg2
Re: MVEBU Debian armhf rootfs - upgrade problem
August 30, 2017 04:53AM
root@mario:~# ls -l /usr/lib/arm-linux-gnueabihf/libnettle.so.*
lrwxrwxrwx 1 root root     16 Nov  7  2016 /usr/lib/arm-linux-gnueabihf/libnettle.so.4 -> libnettle.so.4.7
-rw-r--r-- 1 root root 165756 Nov  7  2016 /usr/lib/arm-linux-gnueabihf/libnettle.so.4.7
lrwxrwxrwx 1 root root     16 Oct  3  2016 /usr/lib/arm-linux-gnueabihf/libnettle.so.6 -> libnettle.so.6.3
-rw-r--r-- 1 root root 190604 Oct  3  2016 /usr/lib/arm-linux-gnueabihf/libnettle.so.6.3
root@mario:~# dpkg -l | grep libnettle
ii  libnettle4:armhf                2.7.1-5+deb8u2                    armhf        low level cryptographic library (symmetric and one-way cryptos)
ii  libnettle6:armhf                3.3-1+b1                          armhf        low level cryptographic library (symmetric and one-way cryptos)
root@mario:~#

Re: MVEBU Debian armhf rootfs - upgrade problem
August 30, 2017 04:59AM
mcmg2,

You probably need to recreate the rootfs. My guess is something was wrong when you did that.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
mcmg2
Re: MVEBU Debian armhf rootfs - upgrade problem
August 30, 2017 06:31AM
you are right. old one created on vitualbox.

new one created on livecd and works good.
Re: MVEBU Debian armhf rootfs - upgrade problem
August 30, 2017 01:23PM
mcmg2 Wrote:
-------------------------------------------------------
> you are right. old one created on vitualbox.
>
> new one created on livecd and works good.


VirtualBox should be OK. You probably did a wrong step somewhere.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
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: