drives only mount as read-only

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

drives only mount as read-only

Postby tvdon » Sat Oct 06, 2012 10:08 pm

Greetings,

Here's my system info. Problem info to follow.
$this->bbcode_second_pass_code('', 'Linux mediaserver 3.1.10-11-ARCH #1 PREEMPT Mon May 21 05:59:32 UTC 2012 armv5tel GNU/Linux')
I tried to update, but received the following:
$this->bbcode_second_pass_code('', '[doncolliver@mediaserver ~]$ sudo pacman -Syu
:: Synchronizing package databases...
core 38.1 KiB 144K/s 00:00 [############################################################################] 100%
extra 430.0 KiB 265K/s 00:02 [############################################################################] 100%
community 421.6 KiB 240K/s 00:02 [############################################################################] 100%
alarm 5.0 KiB 665K/s 00:00 [############################################################################] 100%
aur 11.0 KiB 350K/s 00:00 [############################################################################] 100%
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] Y

resolving dependencies...
looking for inter-conflicts...

Targets (3): glibc-2.16.0-4 linux-api-headers-3.5.1-1 pacman-4.0.3-3

Total Installed Size: 41.48 MiB
Net Upgrade Size: 0.77 MiB

Proceed with installation? [Y/n] Y
(3/3) checking package integrity [############################################################################] 100%
(3/3) loading package files [############################################################################] 100%
(3/3) checking for file conflicts [############################################################################] 100%
error: failed to commit transaction (conflicting files)
glibc: /lib exists in filesystem
Errors occurred, no packages were upgraded.
[doncolliver@mediaserver ~]$ sudo pacman -Syu --ignore glibc
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
alarm is up to date
aur is up to date
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] Y

resolving dependencies...
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16.0", a dependency of "pacman"
:: The following package cannot be upgraded due to unresolvable dependencies:
pacman

Do you want to skip the above package for this upgrade? [y/N] N
error: failed to prepare transaction (could not satisfy dependencies)
:: pacman: requires glibc>=2.16.0
[doncolliver@mediaserver ~]$ ')

Linux noob here. Installed Arch 2 months ago on Pogoplug V2 using instructions at:
http://archlinuxarm.org/platforms/armv5 ... 2-pinkgray
and
http://archlinuxarm.org/support/guides/ ... irst-steps
as well as multiple other sources from web and forum sources.

I am accessing the plug via ssh using terminal on osx.

My issue is, when I plug in my external usb drives after booting, they always mount as read-only.
$this->bbcode_second_pass_code('', '[doncolliver@mediaserver ~]$ mount
/dev/root on / type ext2 (rw,relatime,errors=continue)
devtmpfs on /dev type devtmpfs (rw,relatime,size=126056k,nr_inodes=31514,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)
binfmt on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
[doncolliver@mediaserver ~]$
')If I have external drives (besides flash drive w arch) plugged in prior to boot, linux does not boot at all. Drives are hfsplus, but I have made sure to turn off journaling. I've have tried using chown and chmod. I installed webmin to no avail, so I removed it. The frustrating part is that I did have this system working as read-write through many, many hours of forum searching and trial and error, but now I've rebooted, and cannot get the drives to mount as read-write.

I've tried to edit fstab with same results:
$this->bbcode_second_pass_code('', '#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
/media/Media_200/swapfile.img none swap sw 0 0
/dev/sdb2 /media/Media_200 hfsplus defaults,auto,rw 0 0
/dev/sdc2 /media/Media_500 hfsplus defaults,auto,rw 0 0
/dev/sdd3 /media/fw_800_media_drive hfsplus defaults,auto,rw 0 0
')

I assume from forum and wiki searching this is some kind of udev or automount issue, but I could not find clear information on how to resolve.

Any help would be greatly appreciated.
Thank you!
tvdon
 
Posts: 6
Joined: Sat Oct 06, 2012 9:16 pm

Re: drives only mount as read-only

Postby karog » Sat Oct 06, 2012 11:01 pm

First, get your system up to date without your external drives plugged in at all. Login as root.

Do the following but say n (ie NO) to the first question about upgrading pacman first.
$this->bbcode_second_pass_code('', '
pacman -Syu --ignore glibc')
This should update everything but glibc. Next, updating glibc requires everything but glibc owned files to be removed from /lib. So first
$this->bbcode_second_pass_code('', '
pacman -R pcmciautils')
That should be enough unless something else slipped into /lib. So next try
$this->bbcode_second_pass_code('', '
pacman -Syu')
If that does not succeed, show the output of
$this->bbcode_second_pass_code('', '
ls -al /lib')
so we can tell you what else must be removed.

If that last update succeeded, then you can move on.

The E02 will try to boot off of /dev/sda but the question is which drive becomes /dev/sda when more than one disk is plugged in. This is why it won't boot when you have more than one plugged in because it is finding the wrong disk as /dev/sda.

Some people have claimed success by plugging the arch disk into the USB port right above the ethernet port. You might try that with the other disks plugged in the other ports. No guarantees this will work but it is worth a try.

If you get this far, then it is time to reconsider the RW issue.
karog
 
Posts: 305
Joined: Thu Jan 05, 2012 7:55 pm

Re: drives only mount as read-only

Postby tvdon » Sun Oct 07, 2012 1:16 am

Thank you, Karog.
Tried your instructions and here's what I got. Something seems to be keeping the system from being upgraded:
$this->bbcode_second_pass_code('', '[root@mediaserver ~]# pacman -Syu --ignore glibc
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
alarm is up to date
aur is up to date
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] n

:: Starting full system upgrade...
warning: glibc: ignoring package upgrade (2.15-10 => 2.16.0-4)
:: Replace libsystemd with core/systemd? [Y/n] Y
:: Replace systemd-tools with core/systemd? [Y/n] Y
resolving dependencies...
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "binutils"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16.0", a dependency of "pacman"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
:: The following packages cannot be upgraded due to unresolvable dependencies:
avahi binutils cryptsetup dbus dbus-core device-mapper gcc-libs
glib2 gnutls grep initscripts less libcups systemd linux lvm2
mkinitcpio pacman pcre samba syslog-ng

Do you want to skip the above packages for this upgrade? [y/N] y
looking for inter-conflicts...

Targets (68): bash-4.2.037-1 cifs-utils-5.6-2 coreutils-8.19-1
cracklib-2.8.19-1 cronie-1.4.8-3 dhcpcd-5.6.2-1
e2fsprogs-1.42.5-1 filesystem-2012.10-1 fuse-2.9.1-1
hd-idle-1.04-1 hwids-20120922-1 iana-etc-2.30-3
inetutils-1.9.1-4 iproute2-3.5.1-1 iputils-20101006-4
kbd-1.15.3-3 kmod-10-1 krb5-1.10.3-1 libarchive-3.0.4-2
libcap-ng-0.7-1 libedit-20120601_3.0-1 libgssglue-0.4-1
libice-1.0.8-1 libldap-2.4.32-1 libpipeline-1.2.2-1
libpng-1.5.12-1 libsm-1.2.1-1 libtasn1-2.14-1 libtiff-4.0.3-1
libwbclient-3.6.8-1 libxext-1.3.1-1 libxml2-2.8.0-1
libxmu-1.1.1-1 libxt-1.1.3-1 linux-api-headers-3.5.1-1
linux-headers-3.1.10-13 logrotate-3.8.2-1 man-db-2.6.3-1
man-pages-3.42-1 mkinitcpio-busybox-1.20.2-1
net-tools-1.60.20120804git-2 nettle-2.5-1 openntpd-3.9p1-19
openssh-6.1p1-2 p11-kit-0.13-1 pacman-mirrorlist-20120916-1
perl-5.16.1-1 perl-net-ssleay-1.49-1
perl-perl4-corelibs-0.003-1 pinentry-0.8.2-1 ppp-2.4.5-4
procps-ng-3.3.3-6 readline-6.2.004-1 run-parts-4.3.4-1
sabnzbd-0.7.3-1 smbclient-3.6.8-1 sqlite-3.7.14.1-1
sudo-1.8.6.p3-1 sysvinit-2.88-8 sysvinit-tools-2.88-8
tzdata-2012f-1 usbutils-006-1 util-linux-2.22-7 webmin-1.600-1
wget-1.14-1 xdg-utils-1.1.0-2.20120520 xextproto-7.2.1-1
xorg-xset-1.2.2-1

Total Download Size: 54.45 MiB
Total Installed Size: 375.58 MiB
Net Upgrade Size: 18.61 MiB

Proceed with installation? [Y/n] Y
:: Retrieving packages from core...
readline-6.2.004-1-arm 289.1 KiB 299K/s 00:01 [######################] 100%
bash-4.2.037-1-arm 730.7 KiB 312K/s 00:02 [######################] 100%
util-linux-2.22-7-arm 1490.9 KiB 311K/s 00:05 [######################] 100%
e2fsprogs-1.42.5-1-arm 657.2 KiB 310K/s 00:02 [######################] 100%
libldap-2.4.32-1-arm 318.5 KiB 312K/s 00:01 [######################] 100%
krb5-1.10.3-1-arm 929.0 KiB 311K/s 00:03 [######################] 100%
coreutils-8.19-1-arm 1934.7 KiB 305K/s 00:06 [######################] 100%
cracklib-2.8.19-1-arm 237.7 KiB 303K/s 00:01 [######################] 100%
run-parts-4.3.4-1-arm 18.7 KiB 334K/s 00:00 [######################] 100%
cronie-1.4.8-3-arm 53.5 KiB 329K/s 00:00 [######################] 100%
dhcpcd-5.6.2-1-arm 68.3 KiB 317K/s 00:00 [######################] 100%
iana-etc-2.30-3-any 320.4 KiB 312K/s 00:01 [######################] 100%
filesystem-2012.10-... 5.9 KiB 392K/s 00:00 [######################] 100%
hwids-20120922-1-any 277.8 KiB 304K/s 00:01 [######################] 100%
inetutils-1.9.1-4-arm 213.2 KiB 313K/s 00:01 [######################] 100%
iproute2-3.5.1-1-arm 381.3 KiB 312K/s 00:01 [######################] 100%
iputils-20101006-4-arm 64.9 KiB 315K/s 00:00 [######################] 100%
kbd-1.15.3-3-arm 996.5 KiB 301K/s 00:03 [######################] 100%
kmod-10-1-arm 85.8 KiB 315K/s 00:00 [######################] 100%
libarchive-3.0.4-2-arm 461.9 KiB 311K/s 00:01 [######################] 100%
libedit-20120601_3.... 71.9 KiB 312K/s 00:00 [######################] 100%
libgssglue-0.4-1-arm 24.8 KiB 327K/s 00:00 [######################] 100%
libpipeline-1.2.2-1-arm 28.2 KiB 324K/s 00:00 [######################] 100%
linux-headers-3.1.1... 4.4 MiB 311K/s 00:14 [######################] 100%
logrotate-3.8.2-1-arm 26.4 KiB 166K/s 00:00 [######################] 100%
man-db-2.6.3-1-arm 325.4 KiB 311K/s 00:01 [######################] 100%
man-pages-3.42-1-any 4.4 MiB 311K/s 00:15 [######################] 100%
mkinitcpio-busybox-... 144.9 KiB 313K/s 00:00 [######################] 100%
net-tools-1.60.2012... 101.5 KiB 314K/s 00:00 [######################] 100%
openssh-6.1p1-2-arm 459.0 KiB 311K/s 00:01 [######################] 100%
pacman-mirrorlist-2... 768.0 B 1969K/s 00:00 [######################] 100%
perl-5.16.1-1-arm 11.8 MiB 311K/s 00:39 [######################] 100%
pinentry-0.8.2-1-arm 83.1 KiB 315K/s 00:00 [######################] 100%
ppp-2.4.5-4-arm 239.8 KiB 312K/s 00:01 [######################] 100%
procps-ng-3.3.3-6-arm 196.6 KiB 313K/s 00:01 [######################] 100%
sudo-1.8.6.p3-1-arm 553.1 KiB 312K/s 00:02 [######################] 100%
sysvinit-tools-2.88... 24.0 KiB 340K/s 00:00 [######################] 100%
sysvinit-2.88-8-arm 39.5 KiB 320K/s 00:00 [######################] 100%
tzdata-2012f-1-any 140.5 KiB 314K/s 00:00 [######################] 100%
usbutils-006-1-arm 47.2 KiB 323K/s 00:00 [######################] 100%
:: Retrieving packages from extra...
libcap-ng-0.7-1-arm 28.4 KiB 311K/s 00:00 [######################] 100%
libwbclient-3.6.8-1-arm 15.3 KiB 338K/s 00:00 [######################] 100%
cifs-utils-5.6-2-arm 41.7 KiB 321K/s 00:00 [######################] 100%
fuse-2.9.1-1-arm 120.0 KiB 314K/s 00:00 [######################] 100%
libpng-1.5.12-1-arm 194.0 KiB 313K/s 00:01 [######################] 100%
libtasn1-2.14-1-arm 93.8 KiB 315K/s 00:00 [######################] 100%
libtiff-4.0.3-1-arm 780.9 KiB 311K/s 00:03 [######################] 100%
libxml2-2.8.0-1-arm 1328.3 KiB 311K/s 00:04 [######################] 100%
nettle-2.5-1-arm 175.3 KiB 313K/s 00:01 [######################] 100%
p11-kit-0.13-1-arm 57.1 KiB 319K/s 00:00 [######################] 100%
perl-net-ssleay-1.4... 353.1 KiB 312K/s 00:01 [######################] 100%
sqlite-3.7.14.1-1-arm 345.5 KiB 312K/s 00:01 [######################] 100%
xextproto-7.2.1-1-any 98.9 KiB 315K/s 00:00 [######################] 100%
libxext-1.3.1-1-arm 91.8 KiB 315K/s 00:00 [######################] 100%
libice-1.0.8-1-arm 81.8 KiB 316K/s 00:00 [######################] 100%
libsm-1.2.1-1-arm 44.1 KiB 319K/s 00:00 [######################] 100%
libxt-1.1.3-1-arm 503.0 KiB 312K/s 00:02 [######################] 100%
libxmu-1.1.1-1-arm 60.4 KiB 315K/s 00:00 [######################] 100%
xorg-xset-1.2.2-1-arm 15.5 KiB 110K/s 00:00 [######################] 100%
xdg-utils-1.1.0-2.2... 48.7 KiB 290K/s 00:00 [######################] 100%
smbclient-3.6.8-1-arm 5.8 MiB 311K/s 00:19 [######################] 100%
perl-perl4-corelibs... 33.5 KiB 321K/s 00:00 [######################] 100%
webmin-1.600-1-arm 9.9 MiB 289K/s 00:35 [######################] 100%
wget-1.14-1-arm 432.8 KiB 309K/s 00:01 [######################] 100%
:: Retrieving packages from community...
openntpd-3.9p1-19-arm 21.2 KiB 331K/s 00:00 [######################] 100%
:: Retrieving packages from aur...
hd-idle-1.04-1-arm 9.8 KiB 355K/s 00:00 [######################] 100%
sabnzbd-0.7.3-1-any 1432.3 KiB 298K/s 00:05 [######################] 100%
(68/68) checking package integrity [######################] 100%
(68/68) loading package files [######################] 100%
(68/68) checking for file conflicts [######################] 100%
error: failed to commit transaction (conflicting files)
filesystem: /etc/profile.d/locale.sh exists in filesystem
filesystem: /var/lock exists in filesystem
filesystem: /var/run exists in filesystem
Errors occurred, no packages were upgraded.
[root@mediaserver ~]# pacman -R pcmciautils
checking dependencies...

Targets (1): pcmciautils-017-1

Total Removed Size: 0.09 MiB

Do you want to remove these packages? [Y/n] Y
(1/1) removing pcmciautils [##############################################] 100%
[root@mediaserver ~]# pacman -Syu
:: Synchronizing package databases...
core 38.1 KiB 150K/s 00:00 [##############################################] 100%
extra 430.0 KiB 281K/s 00:02 [##############################################] 100%
community 421.6 KiB 255K/s 00:02 [##############################################] 100%
alarm 5.0 KiB 417K/s 00:00 [##############################################] 100%
aur 11.0 KiB 352K/s 00:00 [##############################################] 100%
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] Y

resolving dependencies...
looking for inter-conflicts...

Targets (3): glibc-2.16.0-4 linux-api-headers-3.5.1-1 pacman-4.0.3-3

Total Installed Size: 41.48 MiB
Net Upgrade Size: 0.77 MiB

Proceed with installation? [Y/n] Y
(3/3) checking package integrity [##############################################] 100%
(3/3) loading package files [##############################################] 100%
(3/3) checking for file conflicts [##############################################] 100%
error: failed to commit transaction (conflicting files)
glibc: /lib exists in filesystem
Errors occurred, no packages were upgraded.
[root@mediaserver ~]')

Here's the output of ls -al /lib
$this->bbcode_second_pass_code('', '[root@mediaserver ~]# ls -al /lib
total 3152
drwxr-xr-x 3 root root 4096 Oct 6 20:10 .
drwxr-xr-x 21 root root 4096 Jul 30 13:27 ..
-rwxr-xr-x 1 root root 155498 May 14 15:52 ld-2.15.so
lrwxrwxrwx 1 root root 10 May 14 15:52 ld-linux.so.3 -> ld-2.15.so
-rwxr-xr-x 1 root root 18308 May 14 15:52 libanl-2.15.so
lrwxrwxrwx 1 root root 14 May 14 15:52 libanl.so.1 -> libanl-2.15.so
-rwxr-xr-x 1 root root 5644 May 14 15:52 libBrokenLocale-2.15.so
lrwxrwxrwx 1 root root 23 May 14 15:52 libBrokenLocale.so.1 -> libBrokenLocale-2.15.so
-rwxr-xr-x 1 root root 1506920 May 14 15:52 libc-2.15.so
-rwxr-xr-x 1 root root 181896 May 14 15:52 libcidn-2.15.so
lrwxrwxrwx 1 root root 15 May 14 15:52 libcidn.so.1 -> libcidn-2.15.so
-rwxr-xr-x 1 root root 30284 May 14 15:52 libcrypt-2.15.so
lrwxrwxrwx 1 root root 16 May 14 15:52 libcrypt.so.1 -> libcrypt-2.15.so
lrwxrwxrwx 1 root root 12 May 14 15:52 libc.so.6 -> libc-2.15.so
-rwxr-xr-x 1 root root 9828 May 14 15:52 libdl-2.15.so
lrwxrwxrwx 1 root root 13 May 14 15:52 libdl.so.2 -> libdl-2.15.so
-rwxr-xr-x 1 root root 616028 May 14 15:52 libm-2.15.so
-rwxr-xr-x 1 root root 18028 May 14 15:52 libmemusage.so
lrwxrwxrwx 1 root root 12 May 14 15:52 libm.so.6 -> libm-2.15.so
-rwxr-xr-x 1 root root 71640 May 14 15:52 libnsl-2.15.so
lrwxrwxrwx 1 root root 14 May 14 15:52 libnsl.so.1 -> libnsl-2.15.so
-rwxr-xr-x 1 root root 26492 May 14 15:52 libnss_compat-2.15.so
lrwxrwxrwx 1 root root 21 May 14 15:52 libnss_compat.so.2 -> libnss_compat-2.15.so
-rwxr-xr-x 1 root root 34568 May 14 15:52 libnss_db-2.15.so
lrwxrwxrwx 1 root root 17 May 14 15:52 libnss_db.so.2 -> libnss_db-2.15.so
-rwxr-xr-x 1 root root 18052 May 14 15:52 libnss_dns-2.15.so
lrwxrwxrwx 1 root root 18 May 14 15:52 libnss_dns.so.2 -> libnss_dns-2.15.so
-rwxr-xr-x 1 root root 47048 May 14 15:52 libnss_files-2.15.so
lrwxrwxrwx 1 root root 20 May 14 15:52 libnss_files.so.2 -> libnss_files-2.15.so
-rwxr-xr-x 1 root root 18060 May 14 15:52 libnss_hesiod-2.15.so
lrwxrwxrwx 1 root root 21 May 14 15:52 libnss_hesiod.so.2 -> libnss_hesiod-2.15.so
-rwxr-xr-x 1 root root 38624 May 14 15:52 libnss_nis-2.15.so
-rwxr-xr-x 1 root root 46800 May 14 15:52 libnss_nisplus-2.15.so
lrwxrwxrwx 1 root root 22 May 14 15:52 libnss_nisplus.so.2 -> libnss_nisplus-2.15.so
lrwxrwxrwx 1 root root 18 May 14 15:52 libnss_nis.so.2 -> libnss_nis-2.15.so
-rwxr-xr-x 1 root root 5604 May 14 15:52 libpcprofile.so
-rwxr-xr-x 1 root root 130472 May 14 15:48 libpthread-2.15.so
lrwxrwxrwx 1 root root 18 May 14 15:52 libpthread.so.0 -> libpthread-2.15.so
-rwxr-xr-x 1 root root 75644 May 14 15:52 libresolv-2.15.so
lrwxrwxrwx 1 root root 17 May 14 15:52 libresolv.so.2 -> libresolv-2.15.so
-rwxr-xr-x 1 root root 26656 May 14 15:52 librt-2.15.so
lrwxrwxrwx 1 root root 13 May 14 15:52 librt.so.1 -> librt-2.15.so
-rwxr-xr-x 1 root root 9768 May 14 15:52 libSegFault.so
-rwxr-xr-x 1 root root 34641 May 14 15:49 libthread_db-1.0.so
lrwxrwxrwx 1 root root 19 May 14 15:52 libthread_db.so.1 -> libthread_db-1.0.so
-rwxr-xr-x 1 root root 9864 May 14 15:52 libutil-2.15.so
lrwxrwxrwx 1 root root 15 May 14 15:52 libutil.so.1 -> libutil-2.15.so
drwxr-xr-x 4 root root 4096 Dec 31 1969 modules
[root@mediaserver ~]#')

Thanks again.
tvdon
 
Posts: 6
Joined: Sat Oct 06, 2012 9:16 pm

Re: drives only mount as read-only

Postby karog » Sun Oct 07, 2012 5:19 am

Sheesh, when is the last time you updated? That's a hell of a lot of files.

When it asks you to upgrade pacman first, say NO. You said no the first time but Y the second.

Another problem you have is updating the package filesystem. See filesystem upgrade - manual intervention required

See also Fontconfig 2.10.1 update - manual intervention required

Finally /lib/modules is a problem for glibc. Show what is in /lib/modules and in /usr/lib/modules.

You might be better off starting with a fresh rootfs.
karog
 
Posts: 305
Joined: Thu Jan 05, 2012 7:55 pm

Re: drives only mount as read-only

Postby moonman » Sun Oct 07, 2012 8:12 am

If you want a drive that works on both mac and linux without the drawbacks of fat32 then you may want to reformat your drive as NTFS. Linux already supports NTFS through it's NTFS-3G usermode driver. For mac, you can get the same driver. Read here and here. That's what I did, at least, as HFS+ on linux is a pain in the butt.

If you still want HFS+, then try to force rw mount with the following command:
$this->bbcode_second_pass_code('', 'mount -t hfsplus -o force,rw /dev/sdx# /media/mntpoint')

As for the updates read here: viewtopic.php?f=18&t=3775. If it isn't working, then read stuff in the subscript in the first post, specifically (but before you do that, install all other updates with "pacman -Su --ignore glibc", follow the links in the post above by karog):

$this->bbcode_second_pass_quote('', ' ')you are stuck with this error:
$this->bbcode_second_pass_code('', 'error: failed to commit transaction (conflicting files)
glibc: /lib exists in filesystem
Errors occurred, no packages were upgraded.')

There is a way to force the upgrade and not break the system. Make sure you you don't close ssh session before you finish. If you do, you won't be able to log back in. Here is what I did:

$this->bbcode_second_pass_code('', 'pacman -Syf pacman')
say Y to all questions

You will get this error:
$this->bbcode_second_pass_code('', 'warning: /etc/locale.gen installed as /etc/locale.gen.pacnew
error: extract: not overwriting dir with file lib
error: problem occurred while upgrading glibc
call to execv failed (No such file or directory)
error: command failed to execute correctly
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded.')
Now delete /lib

$this->bbcode_second_pass_code('', '/usr/lib/ld-linux.so.3 /bin/rm -Rf /lib')

install glibc again:

$this->bbcode_second_pass_code('', '/usr/lib/ld-linux.so.3 /usr/bin/pacman -Sy glibc')

Now do a full upgrade. Everything should be working now.

Troubleshooting:
If, after you are done, pacman is not upgrading, do this:
$this->bbcode_second_pass_code('', '/usr/lib/ld-linux.so.3 /usr/bin/pacman -Suy')

then

Code: Select all
$this->bbcode_second_pass_code('', '/usr/lib/ld-linux.so.3 /usr/bin/pacman -Sy glibc')



Thanks to pepedog for suggeting to use ld-linux.so.3 directly :)
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

Re: drives only mount as read-only

Postby sambul13 » Sun Oct 07, 2012 2:08 pm

I guess one might want to wait for the next ArchLinux release? Will all above upgrade issues go away? What's so valuable in this release to go through all this hassle?
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

Re: drives only mount as read-only

Postby tvdon » Tue Oct 09, 2012 7:13 am

Thanks for all of your help, everyone. I followed karog's and moonman's instructions and links, and continued to get conflicts preventing upgrades, until I was unable to ssh into the plug anymore. So, I'm currently re-installing from scratch per the instructions @ http://archlinuxarm.org/platforms/armv5 ... 2-pinkgray.

I'll get myself back to working status, then revisit this hfsplus rw issue here. I'm hoping to find a way to make it work, because I had it working before, and I occasionally use these drives on other people's systems, where I would not be able to easily install an ntfs driver.

thanks again!
tvdon
 
Posts: 6
Joined: Sat Oct 06, 2012 9:16 pm

Re: drives only mount as read-only

Postby sambul13 » Sun Oct 21, 2012 2:46 pm

$this->bbcode_second_pass_quote('karog', 'W')hen it asks you to upgrade pacman first, say NO.
For some reason I thought, update issues were already fixed, and couldn't find this thread before today's update. So proceeded with pacman -Syu and updating Pacman on USB Thumb OK, and updating all other packages. Then I got the above described result:

$this->bbcode_second_pass_code('', 'error: failed to commit transaction (conflicting files)
glibc: /lib exists in filesystem
fontconfig: /etc/fonts/conf.d/20-unhint-small-vera.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/29-replace-bitmap-fonts.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/30-metric-aliases.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/30-urw-aliases.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/40-nonlatin.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/45-latin.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/49-sansserif.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/50-user.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/51-local.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/60-latin.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/65-fonts-persian.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/65-nonlatin.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/69-unifont.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/80-delicious.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/90-synthetic.conf exists in filesystem
Errors occurred, no packages were upgraded.
')
So the question is: what now? Can I reboot the Dockstar? Nothing seems to be installed yet...except new pacman. Should the Pacman be downgraded before reattempting to upgrade the system - how to do it correctly? I can't find previous pacman version for Arch 3.5.2-1 in /var/cache/pacman/pkg despite all other packages are there - or it was named differently? Or what? :)
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

Re: drives only mount as read-only

Postby pepedog » Sun Oct 21, 2012 4:47 pm

pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: drives only mount as read-only

Postby sambul13 » Sun Oct 21, 2012 4:52 pm

Yes, I am doing fontconfig and glibc memos. My only concern was, why the pacman should not be updated? And will there be any consequences, since I already updated it. :)
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 100 guests