Cannot Telnet or ssh

This forum is for all other ARMv5 devices

Re: Cannot Telnet or ssh

Postby dinjo » Thu Nov 22, 2012 2:09 pm

Applying update script with Dec 2011 tarball , should i reboot now ?



$this->bbcode_second_pass_code('', '[root@alarm update-oxnas]# ./update-kernel.sh
# Oxnas kernel update, WarheadsSE 06/05/12
# Adds devtmpfs to kernel, and many modules
# NOTE: I DO NOT HAVE THE DEVICES TO TEST
# THEM ALL. Sorry.

This will flash non-PCI kernel only
Pacman'ing needs: mtd-utils & libaccept4
:: Synchronizing package databases...
core 38.0K 29.6K/s 00:00:01 [##############################################################################] 100%
extra 432.2K 44.0K/s 00:00:10 [##############################################################################] 100%
community 430.0K 81.1K/s 00:00:05 [##############################################################################] 100%
aur 11.2K 49.1K/s 00:00:00 [##############################################################################] 100%
alarm 5.1K 273.8K/s 00: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] n

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

Targets (3): lzo2-2.06-1 mtd-utils-1.5.0-1 libaccept4-0.1.0-2

Total Download Size: 0.22 MB
Total Installed Size: 1.32 MB

Proceed with installation? [Y/n] y
:: Retrieving packages from core...
lzo2-2.06-1-arm 67.0K 60.2K/s 00:00:01 [##############################################################################] 100%
:: Retrieving packages from aur...
mtd-utils-1.5.0-1-arm 155.5K 110.7K/s 00:00:01 [##############################################################################] 100%
:: Retrieving packages from alarm...
libaccept4-0.1.0-2-arm 2.0K 538.7K/s 00:00:00 [##############################################################################] 100%
(3/3) checking package integrity [##############################################################################] 100%
(3/3) checking for file conflicts [##############################################################################] 100%
(1/3) installing lzo2 [##############################################################################] 100%
(2/3) installing mtd-utils [##############################################################################] 100%
(3/3) installing libaccept4 [##############################################################################] 100%
Copying if necessary...
Placing updates...
Depmod...
Flashing Kernel to slot A...
Erasing 128 Kibyte @ 760000 -- 100 % complete
Writing data to block 40 at offset 0x500000
Writing data to block 41 at offset 0x520000
Writing data to block 42 at offset 0x540000
Writing data to block 43 at offset 0x560000
Writing data to block 44 at offset 0x580000
Writing data to block 45 at offset 0x5a0000
Writing data to block 46 at offset 0x5c0000
Writing data to block 47 at offset 0x5e0000
Writing data to block 48 at offset 0x600000
Writing data to block 49 at offset 0x620000
Writing data to block 50 at offset 0x640000
Writing data to block 51 at offset 0x660000
Writing data to block 52 at offset 0x680000
Writing data to block 53 at offset 0x6a0000
Writing data to block 54 at offset 0x6c0000
Writing data to block 55 at offset 0x6e0000
Writing data to block 56 at offset 0x700000
Writing data to block 57 at offset 0x720000')

Post update of kernel

$this->bbcode_second_pass_code('', '[root@alarm ~]# pacman -Syu
:: Synchronizing package databases...
core 38.0K 1474.7K/s 00:00:00 [##############################################################################] 100%
extra 432.2K 71.6K/s 00:00:06 [##############################################################################] 100%
community 430.0K 86.8K/s 00:00:05 [##############################################################################] 100%
aur 11.2K 237.5K/s 00:00:00 [##############################################################################] 100%
alarm 5.1K 282.4K/s 00: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] n

:: Starting full system upgrade...
:: Replace libusb with core/libusbx? [Y/n] y
:: Replace module-init-tools with core/kmod? [Y/n] y
:: Replace procps with core/procps-ng? [Y/n] y
resolving dependencies...
looking for inter-conflicts...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: udev-oxnas and systemd are in conflict (udev)

[root@alarm ~]# uname -a
Linux alarm 2.6.31.6_SMP_820 #99 SMP Sun May 29 03:04:43 EDT 2011 armv6l ARMv6-compatible processor rev 5 (v6l) Oxsemi NAS GNU/Linux

')

EDIT -

I tried installing transmission now
$this->bbcode_second_pass_code('', '
(3/5) installing curl [##############################################################################] 100%
(4/5) installing libevent [##############################################################################] 100%
Optional dependencies for libevent
python2: to use event_rpcgen.py
(5/5) installing transmission-cli [##############################################################################] 100%

If you want to run the Transmission daemon at boot do:
systemctl enable transmissiond

/tmp/alpm_XT4JwB/.INSTALL: line 16: systemd-tmpfiles: command not found
')

Do i need to do pacman -Sy udev-automount since main doc still says to do it but i read in some post that its not needed ?

Also samba & transmission is failing as to what needs to be removed and what needs to be kept.
$this->bbcode_second_pass_code('', '

:: Starting Transmission Daemon
/transmission-daemon: /lib/libc.so.6: version `GLIBC_2.15' not found (required by /usr/bin/transmission-daemon)
/usr/bin/transmission-daemon: /lib/libc.so.6: version `GLIBC_2.15' not found (required by /usr/lib/libevent-2.0.so.5)
/usr/bin/transmission-daemon: /lib/libc.so.6: version `GLIBC_2.15' not found (required by /usr/lib/libcurl.so.4)
/usr/bin/transmission-daemon: /lib/libc.so.6: version `GLIBC_2.16' not found (required by /usr/lib/libcurl.so.4)



[root@alarm ~]# pacman -Sy samba avahi
:: Synchronizing package databases...
core 38.0K 46.2K/s 00:00:01 [######################################################] 100%
extra 432.2K 76.9K/s 00:00:06 [######################################################] 100%
warning: resuming download of community.db not possible; starting over
community 430.0K 149.5K/s 00:00:03 [######################################################] 100%
aur 11.2K 239.3K/s 00:00:00 [######################################################] 100%
alarm 5.1K 276.8K/s 00: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] n

resolving dependencies...
looking for inter-conflicts...
:: kmod and module-init-tools are in conflict. Remove module-init-tools? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: kmod and module-init-tools are in conflict

')
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Cannot Telnet or ssh

Postby dinjo » Thu Nov 22, 2012 5:51 pm

Okay rebooted went fine but can't perform full upgrade

Glibc /lib fklesystem exists in filesystem
/etc/mtab exists in filesystem
Locale.sh exists in filesystem
/var/run exists in filesyste
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Cannot Telnet or ssh

Postby dinjo » Fri Nov 23, 2012 1:21 am

Anyone ?
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Cannot Telnet or ssh

Postby pepedog » Fri Nov 23, 2012 1:52 am

I got some vodka in system, but if I remember right, answers here
https://www.archlinux.org/news/
For glibc, if I remember right, remove udev-oxnas, remove kernel, update with --ignore glibc, then install kernel again (for modules), then fully update. I think systemd replaces udev, systemd package does not mean you are booting systemd
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Cannot Telnet or ssh

Postby dinjo » Fri Nov 23, 2012 3:48 am

From what i gather i feel this is what i need to do

$this->bbcode_second_pass_code('', 'rm -rf /lib/modules
mv /etc/profile.d/locale.sh /etc/profile.d/locale.sh.pacnew
mv /etc/mtab /etc/mtab.old or pacman -S filesystem --force
pacman -R pcmciautils
pacman -S kernel26-oxnas-nopci [b]# Do i need this ?[/b]
pacman -Syu --ignore glibc
pacman -Su')

The one thing which is concern is i see linux header files of 3.1+ whereas uname -a still shows 2.6 kernel
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Cannot Telnet or ssh

Postby pepedog » Fri Nov 23, 2012 1:34 pm

I don't see a package kernel26-oxnas-nopci
You best move contents of /lib/modules first and put in /usr/lib/modules after update
You have done the mac_addr thing?
I don't have one of these devices, hope whse is not laughing at me
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Cannot Telnet or ssh

Postby dinjo » Fri Nov 23, 2012 2:54 pm

Things are really bad with this upgrade its like cockroaches you kill one 2 other pops up.

I'm gonna try final time then I'll just try with new tarball
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Cannot Telnet or ssh

Postby dinjo » Fri Nov 23, 2012 3:55 pm

Now what ? I took the fresh tarball

$this->bbcode_second_pass_code('', '[root@alarm ~]# pacman -Syu --ignore glibc
:: Synchronizing package databases...
core 38.0 KiB 56.9K/s 00:01 [#######################################################################################] 100%
extra 431.5 KiB 132K/s 00:03 [#######################################################################################] 100%
community 429.5 KiB 186K/s 00:02 [#######################################################################################] 100%
alarm 5.1 KiB 283K/s 00:00 [#######################################################################################] 100%
aur 11.1 KiB 264K/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] n

:: Starting full system upgrade...
warning: glibc: ignoring package upgrade (2.16.0-1 => 2.16.0-5)
:: Replace libsystemd with core/systemd? [Y/n] y
:: Replace systemd-tools with core/systemd? [Y/n] y
resolving dependencies...
looking for inter-conflicts...

Targets (71): bash-4.2.039-1 binutils-2.23-1 ca-certificates-20121105-1 coreutils-8.20-1 cracklib-2.8.19-1 cronie-1.4.8-4 cryptsetup-1.5.1-1 curl-7.28.0-1 dbus-core-1.6.8-1 device-mapper-2.02.98-1 dhcpcd-5.6.2-1
e2fsprogs-1.42.6-1 filesystem-2012.10-2 fuse-2.9.2-1 gcc-libs-4.7.2-2 glib2-2.34.2-1 grep-2.14-1 hwids-20121022-1 iana-etc-2.30-3 inetutils-1.9.1-4 initscripts-2012.10.1-1 iproute2-3.6.0-2 iptables-1.4.16.2-1
iputils-20121114-1 kmod-11-2 krb5-1.10.3-1 ldns-1.6.16-1 less-451-1 libarchive-3.0.4-2 libedit-20120601_3.0-1 libgssglue-0.4-1 libldap-2.4.33-1 libpipeline-1.2.2-1 libsystemd-186-2 [removal] libtirpc-0.2.2-4
libusbx-1.0.14-1 linux-3.1.10-13 linux-api-headers-3.6.3-1 logrotate-3.8.2-2 lvm2-2.02.98-1 lzo2-2.06-1 man-db-2.6.3-1 man-pages-3.44-1 mdadm-3.2.6-1 mkinitcpio-0.11.2-1 mkinitcpio-busybox-1.20.2-1
mtd-utils-1.5.0-1 net-tools-1.60.20120804git-2 nss-myhostname-0.3-3 openntpd-3.9p1-21 openssh-6.1p1-4 pacman-4.0.3-3.1 pacman-mirrorlist-20120916-1 pam-1.1.6-1 perl-5.16.2-1 pinentry-0.8.2-1 ppp-2.4.5-5
procps-ng-3.3.5-1 run-parts-4.3.4-1 shadow-4.1.5.1-2 syslog-ng-3.3.6-3 systemd-195-2 systemd-tools-186-2 [removal] sysvinit-2.88-9 sysvinit-tools-2.88-9 tzdata-2012j-1 udev-automount-1.0-3 util-linux-2.22.1-3
vi-1:050325-3 wget-1.14-2 wpa_supplicant-1.0-2

Total Installed Size: 218.94 MiB
Net Upgrade Size: 10.92 MiB

Proceed with installation? [Y/n] y
(69/69) checking package integrity [#######################################################################################] 100%
(69/69) loading package files [#######################################################################################] 100%
(69/69) checking for file conflicts [#######################################################################################] 100%
(71/71) checking available disk space [#######################################################################################] 100%
(1/2) removing libsystemd [#######################################################################################] 100%
(2/2) removing systemd-tools [#######################################################################################] 100%
( 1/69) upgrading bash [#######################################################################################] 100%
( 2/69) upgrading binutils [#######################################################################################] 100%
( 3/69) upgrading run-parts [#######################################################################################] 100%
( 4/69) upgrading cracklib [#######################################################################################] 100%
( 5/69) upgrading libgssglue [#######################################################################################] 100%
( 6/69) upgrading libtirpc [#######################################################################################] 100%
( 7/69) upgrading pam [#######################################################################################] 100%
( 8/69) upgrading coreutils [#######################################################################################] 100%
( 9/69) upgrading ca-certificates [#######################################################################################] 100%
(10/69) upgrading cronie [#######################################################################################] 100%
New optional dependencies for cronie
pm-utils: defer anacron when on battery power
(11/69) upgrading shadow [#######################################################################################] 100%
(12/69) upgrading util-linux [#######################################################################################] 100%
(13/69) upgrading iana-etc [#######################################################################################] 100%
warning: /etc/protocols installed as /etc/protocols.pacnew
warning: /etc/services installed as /etc/services.pacnew
(14/69) installing nss-myhostname [#######################################################################################] 100%
(15/69) upgrading filesystem [#######################################################################################] 100%
warning: /etc/shadow installed as /etc/shadow.pacnew
warning: /etc/passwd installed as /etc/passwd.pacnew
warning: directory permissions differ on sys/
filesystem: 755 package: 555
(16/69) upgrading dbus-core [#######################################################################################] 100%
(17/69) upgrading glib2 [#######################################################################################] 100%
(18/69) upgrading kmod [#######################################################################################] 100%
(19/69) upgrading hwids [#######################################################################################] 100%
(20/69) installing systemd [#######################################################################################] 100%
Failed to set capabilities on file `usr/bin/systemd-detect-virt' (Operation not supported)
usage: setcap [-q] [-v] (-r|-|<caps>) <filename> [ ... (-r|-|<capsN>) <filenameN> ]

Note <filename> must be a regular (non-symlink) file.
ln -s '/usr/lib/systemd/system/getty@.service' '/etc/systemd/system/getty.target.wants/getty@tty1.service'
:: Append 'init=/bin/systemd' to your kernel command line in your
bootloader to replace sysvinit with systemd
Optional dependencies for systemd
initscripts: legacy support for /etc/rc.conf
python: systemd library bindings
python2-cairo: systemd-analyze
python2-dbus: systemd-analyze
systemd-sysvcompat: symlink package to provide sysvinit binaries
cryptsetup: required for encrypted block devices
quota-tools: kernel-level quota management
(21/69) upgrading device-mapper [#######################################################################################] 100%
(22/69) upgrading cryptsetup [#######################################################################################] 100%
(23/69) upgrading curl [#######################################################################################] 100%
(24/69) upgrading dhcpcd [#######################################################################################] 100%
(25/69) upgrading e2fsprogs [#######################################################################################] 100%
(26/69) upgrading fuse [#######################################################################################] 100%
(27/69) upgrading gcc-libs [#######################################################################################] 100%
(28/69) upgrading grep [#######################################################################################] 100%
(29/69) upgrading inetutils [#######################################################################################] 100%
(30/69) installing iptables [#######################################################################################] 100%
(31/69) upgrading iproute2 [#######################################################################################] 100%
(32/69) installing sysvinit-tools [#######################################################################################] 100%
(33/69) upgrading initscripts [#######################################################################################] 100%
----
> initscripts now ships a compatibility layer to make systemd use DAEMONS
> from rc.conf; and run rc.local and rc.local.shutdown on boot and
> shutdown, respectively. Refer to arch-modules-load(8) and arch-daemons(8).
----
----
> systemd no longer reads MODULES from rc.conf.
----
New optional dependencies for initscripts
bridge-utils: Legacy network bridging support
net-tools: Legacy network support
sysvinit: Legacy init support
wireless_tools: Legacy wireless networking
(34/69) upgrading iputils [#######################################################################################] 100%
(35/69) upgrading libldap [#######################################################################################] 100%
(36/69) upgrading krb5 [#######################################################################################] 100%
(37/69) upgrading ldns [#######################################################################################] 100%
(38/69) upgrading less [#######################################################################################] 100%
(39/69) upgrading libarchive [#######################################################################################] 100%
(40/69) upgrading libedit [#######################################################################################] 100%
(41/69) upgrading libpipeline [#######################################################################################] 100%
(42/69) upgrading libusbx [#######################################################################################] 100%
(43/69) upgrading mkinitcpio-busybox [#######################################################################################] 100%
(44/69) upgrading mkinitcpio [#######################################################################################] 100%
(45/69) upgrading linux [#######################################################################################] 100%
>>> Updating module dependencies. Please wait ...
depmod: ERROR: could not open directory /lib/modules/3.1.10-13-ARCH: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
error: command failed to execute correctly
(46/69) upgrading linux-api-headers [#######################################################################################] 100%
(47/69) upgrading logrotate [#######################################################################################] 100%
New optional dependencies for logrotate
cron: scheduled log rotation
(48/69) upgrading lvm2 [#######################################################################################] 100%
(49/69) upgrading man-db [#######################################################################################] 100%
(50/69) upgrading man-pages [#######################################################################################] 100%
(51/69) upgrading mdadm [#######################################################################################] 100%
(52/69) installing lzo2 [#######################################################################################] 100%
(53/69) upgrading mtd-utils [#######################################################################################] 100%
(54/69) upgrading net-tools [#######################################################################################] 100%
(55/69) upgrading openntpd [#######################################################################################] 100%
(56/69) upgrading openssh [#######################################################################################] 100%
(57/69) upgrading pacman-mirrorlist [#######################################################################################] 100%
(58/69) upgrading pacman [#######################################################################################] 100%
>>> Run `pacman-key --init` to set up your pacman keyring.
(59/69) upgrading perl [#######################################################################################] 100%
(60/69) upgrading pinentry [#######################################################################################] 100%
(61/69) upgrading ppp [#######################################################################################] 100%
(62/69) upgrading procps-ng [#######################################################################################] 100%
(63/69) upgrading syslog-ng [#######################################################################################] 100%
==> syslog-ng now reads from /run/systemd/journal/syslog in the
default config. If you still use sysvinit/initscripts, this
must be /dev/log in /etc/syslog-ng/syslog-ng.conf
(64/69) upgrading sysvinit [#######################################################################################] 100%
(65/69) upgrading tzdata [#######################################################################################] 100%
(66/69) upgrading udev-automount [#######################################################################################] 100%
(67/69) upgrading vi [#######################################################################################] 100%
New optional dependencies for vi
heirloom-mailx: used by the preserve command for notification
(68/69) upgrading wget [#######################################################################################] 100%
(69/69) upgrading wpa_supplicant [#######################################################################################] 100%
[root@alarm ~]# depmod -a
depmod: ERROR: could not open directory /lib/modules/2.6.31.6_SMP_820: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
')
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Cannot Telnet or ssh

Postby pepedog » Fri Nov 23, 2012 4:00 pm

Did you do this?
$this->bbcode_second_pass_quote('', 'Y')ou best move contents of /lib/modules first and put in /usr/lib/modules after update

Put them where they belong and then depmod -a
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Cannot Telnet or ssh

Postby dinjo » Fri Nov 23, 2012 4:14 pm

No and i meant it there were no files in that folder so i just deleted /lib/modules as mentioned in arch linux forums.

Not rebooting now I'll untar again so once i do it i have to do a depmod -a then do a system update right ?
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

PreviousNext

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 3 guests