[SOLVED] PPv4: Problem doing full system upgrade

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

Re: Pogoplug Series 4: Problem doing full system upgrade

Postby WarheadsSE » Wed Nov 14, 2012 12:43 am

check lsmod.

I don't own any apple products, so I can't help you there.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Pogoplug Series 4: Problem doing full system upgrade

Postby winestock » Wed Nov 14, 2012 12:54 am

$this->bbcode_second_pass_quote('WarheadsSE', 'c')heck lsmod.

I don't own any apple products, so I can't help you there.


Maybe I am misunderstadning something. After I have done 'modprobe hfsplus' and then 'lsmod' which shows nothing installed:
$this->bbcode_second_pass_code('', '
lsmod
Module Size Used by
')

I found hfsplus.ko in /usr/lib/modules/3.1.10-13-ARCH/kernel/fs/hfsplus. I 'cd' to that directory and then tried 'modprobe -d . hfsplus.ko', 'lsmod' still returns nothing. Thoughts?
Pogoplug Series 4 / Linux-Kirkwood 3.10.10-2
winestock
 
Posts: 134
Joined: Mon Nov 05, 2012 12:03 am

Re: Pogoplug Series 4: Problem doing full system upgrade

Postby winestock » Wed Nov 14, 2012 1:03 am

Okay I think I figured this out. I needed to do a 'insmod /usr/lib/modules/3.1.10-13-ARCH/kernel/fs/hfsplus.ko'. But this still begs the question, why do I need to do this now but I didn't previously.

WarheadsSE,

Thank you very much for your help.
Pogoplug Series 4 / Linux-Kirkwood 3.10.10-2
winestock
 
Posts: 134
Joined: Mon Nov 05, 2012 12:03 am

Re: Pogoplug Series 4: Problem doing full system upgrade

Postby WarheadsSE » Wed Nov 14, 2012 2:23 am

1) that is odd
2) depmod -a
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Pogoplug Series 4: Problem doing full system upgrade

Postby winestock » Wed Nov 14, 2012 3:28 am

$this->bbcode_second_pass_quote('WarheadsSE', '1')) that is odd
2) depmod -a


$this->bbcode_second_pass_code('', '
depmod -a
ERROR: could not open directory /lib/modules/3.6.4-1-ARCH: No such file or directory
FATAL: could not search modules: No such file or directory
')
Pogoplug Series 4 / Linux-Kirkwood 3.10.10-2
winestock
 
Posts: 134
Joined: Mon Nov 05, 2012 12:03 am

Re: Pogoplug Series 4: Problem doing full system upgrade

Postby WarheadsSE » Wed Nov 14, 2012 5:07 am

You aren't booting 3.1.10, congratulations. There is your problem.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Pogoplug Series 4: Problem doing full system upgrade

Postby winestock » Wed Nov 14, 2012 11:32 am

$this->bbcode_second_pass_quote('WarheadsSE', 'Y')ou aren't booting 3.1.10, congratulations. There is your problem.


What I did was install 3.1.10-13 initially, reboot and then applied linux-kirkwood 3.6.4-1 packagage like I did last time. Sorry for the confusion. So this is what I did to do a clean re-install:

$this->bbcode_list('5')
  • While booted, from /dev/sda (sata topport), using 3.6.4-1 I attached a portable USB HD to one of the backports on the PPv4. Shows up as /dev/sdb.
  • Applied steps 6-10, using /dev/sdb, http://archlinuxarm.org/platforms/armv5 ... s-ui-tabs2.
  • Perform a shutdown. Removed power from PPv4.
  • Removed all hard drives and attached the /dev/sdb (USB backport) HD to /dev/sda (sata topport). Booted PPv4.
  • Logged in and setup PPv4 like before.
  • Pogoplug Series 4 / Linux-Kirkwood 3.10.10-2
    winestock
     
    Posts: 134
    Joined: Mon Nov 05, 2012 12:03 am
    Top

    Re: Pogoplug Series 4: Problem doing full system upgrade

    Postby moonman » Wed Nov 14, 2012 11:46 am

    hfsplus support is in both 3.1.x and 3.6.x kernels. You need to "cat /proc/filesystems" and not /proc/fs.
    modprobe hfsplus loads the module and I can see hfsplus listed at the bottom in /proc/filesystems. Though I don't have to do that usually as it's supposed to be loaded automatically.

    $this->bbcode_second_pass_code('', 'find /usr/lib -name hfsplus
    /usr/lib/modules/3.6.4-1-ARCH/kernel/fs/hfsplus')

    Things to try:
    -Full system upgrade with "pacman -Suy"
    -Reinstall linux-kirkwood with "pacman -Sy linux-kirkwood" and andswer Y to reinstall
    -Boot from your sata and check this USB stick for errors with "e2fsck /dev/sdb1"
    Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
    -----------------------------------------------------------------------------------------------------------------------
    [armv5] Updated U-Boot | [armv5] NAND Rescue System
    moonman
    Developer
     
    Posts: 3388
    Joined: Sat Jan 15, 2011 3:36 am

    [SOLVED] Re: PPv4: Problem doing full system upgrade

    Postby winestock » Wed Nov 14, 2012 1:24 pm

    $this->bbcode_second_pass_quote('moonman', 'h')fsplus support is in both 3.1.x and 3.6.x kernels. You need to "cat /proc/filesystems" and not /proc/fs.
    modprobe hfsplus loads the module and I can see hfsplus listed at the bottom in /proc/filesystems. Though I don't have to do that usually as it's supposed to be loaded automatically.

    $this->bbcode_second_pass_code('', 'find /usr/lib -name hfsplus
    /usr/lib/modules/3.6.4-1-ARCH/kernel/fs/hfsplus')

    Things to try:
    -Full system upgrade with "pacman -Suy"
    -Reinstall linux-kirkwood with "pacman -Sy linux-kirkwood" and andswer Y to reinstall
    -Boot from your sata and check this USB stick for errors with "e2fsck /dev/sdb1"


    I just performed another clean install on /dev/sdb (using 3.1.10-13):

    $this->bbcode_second_pass_code('', '
    e2fsck /dev/sdb1
    e2fsck 1.42.6 (21-Sep-2012)
    /dev/sdb1: recovering journal
    Setting free inodes count to 30498161 (was 30498184)
    Setting free blocks count to 120020424 (was 120020465)
    /dev/sdb1: clean, 33423/30531584 files, 2075965/122096389 blocks
    ')

    After I have booted the clean install (plugged into top sata port as /dev/sda):
    $this->bbcode_second_pass_code('', '
    find /usr/lib -name hfsplus
    /usr/lib/modules/3.1.10-13-ARCH/kernel/fs/hfsplus
    ')

    $this->bbcode_second_pass_code('', '
    cat /proc/filesystems
    nodev sysfs
    nodev rootfs
    nodev bdev
    nodev proc
    nodev cgroup
    nodev cpuset
    nodev tmpfs
    nodev devtmpfs
    nodev binfmt_misc
    nodev debugfs
    nodev securityfs
    nodev sockfs
    nodev usbfs
    nodev pipefs
    nodev anon_inodefs
    nodev devpts
    ext3
    ext2
    ext4
    cramfs
    nodev ramfs
    vfat
    msdos
    nodev jffs2
    nodev aufs
    nodev mqueue
    nodev mtd_inodefs
    nodev ubifs
    ')

    Plugging a hfsplus USB stick into one of the back USB ports:
    $this->bbcode_second_pass_code('', '
    cd /tmp
    mkdir hd
    mount -o rw,noatime,umask=22,uid=0,gid=0,nls=utf8 -t hfsplus /dev/sdb1 hd

    mount
    /dev/root on / type ext3 (rw,relatime,user_xattr,acl,barrier=1,nodelalloc,data=ordered)
    devtmpfs on /dev type devtmpfs (rw,relatime,size=61440k,nr_inodes=15360,mode=755)
    proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
    sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
    run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
    devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
    shm on /dev/shm type tmpfs (rw,nosuid,nodev,relatime)
    tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
    binfmt on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
    /dev/sdb1 on /tmp/hd type hfsplus (rw,noatime,umask=22,uid=0,gid=0,nls=utf8)

    cat /proc/filesystems
    nodev sysfs
    nodev rootfs
    nodev bdev
    nodev proc
    nodev cgroup
    nodev cpuset
    nodev tmpfs
    nodev devtmpfs
    nodev binfmt_misc
    nodev debugfs
    nodev securityfs
    nodev sockfs
    nodev usbfs
    nodev pipefs
    nodev anon_inodefs
    nodev devpts
    ext3
    ext2
    ext4
    cramfs
    nodev ramfs
    vfat
    msdos
    nodev jffs2
    nodev aufs
    nodev mqueue
    nodev mtd_inodefs
    nodev ubifs
    hfsplus
    ')

    So I am now futher confused because I did a clean install just yesterday and I could not get hfsplus to work, now it seems to be working.

    I even installed linux-kirkwood 3.6.4-1, rebooted and hfsplus is now working. I am not sure what was happening but it appears to be no longer a issue.

    I really appreciate all your help. Thanks.
    Pogoplug Series 4 / Linux-Kirkwood 3.10.10-2
    winestock
     
    Posts: 134
    Joined: Mon Nov 05, 2012 12:03 am
    Top

    Re: [SOLVED] PPv4: Problem doing full system upgrade

    Postby WarheadsSE » Wed Nov 14, 2012 4:39 pm

    You were forgetting to reboot after every kernel updates/installs.
    Core Developer
    Remember: Arch Linux ARM is entirely community donation supported!
    WarheadsSE
    Developer
     
    Posts: 6807
    Joined: Mon Oct 18, 2010 2:12 pm

    PreviousNext

    Return to Marvell Kirkwood

    Who is online

    Users browsing this forum: No registered users and 4 guests