Cannot Telnet or ssh

This forum is for all other ARMv5 devices

Re: Cannot Telnet or ssh

Postby dinjo » Sat Nov 24, 2012 12:23 pm

The second attached HDD is getting unmounted as ro below are dmesg

$this->bbcode_second_pass_code('', ' 6914.050000] EXT3-fs warning: mounting fs with errors, running e2fsck is recommended
[ 6914.050000] EXT3 FS on sdb2, internal journal
[ 6914.050000] EXT3-fs: recovery complete.
[ 6914.060000] EXT3-fs: mounted filesystem with writeback data mode.
[ 7116.080000] EXT3-fs error (device sdc2): ext3_get_inode_loc: unable to read inode block - inode=11673602, block=46694402
[ 7116.100000] EXT3-fs error (device sdc2) in ext3_reserve_inode_write: IO failure
[ 7116.100000] ------------[ cut here ]------------
[ 7116.110000] WARNING: at fs/buffer.c:1152 mark_buffer_dirty+0xac/0xcc()
[ 7116.120000] Modules linked in: bootled_module gmac mii
[ 7116.120000] [<c00305e4>] (unwind_backtrace+0x0/0xe0) from [<c0049f68>] (warn_slowpath_null+0x34/0x4c)
[ 7116.130000] [<c0049f68>] (warn_slowpath_null+0x34/0x4c) from [<c00c4814>] (mark_buffer_dirty+0xac/0xcc)
[ 7116.140000] [<c00c4814>] (mark_buffer_dirty+0xac/0xcc) from [<c00fcab8>] (ext3_commit_super.constprop.11+0x44/0x58)
[ 7116.150000] [<c00fcab8>] (ext3_commit_super.constprop.11+0x44/0x58) from [<c00fcb48>] (ext3_handle_error+0x7c/0xb8)
[ 7116.160000] [<c00fcb48>] (ext3_handle_error+0x7c/0xb8) from [<c00fce70>] (__ext3_std_error+0x74/0x7c)
[ 7116.170000] [<c00fce70>] (__ext3_std_error+0x74/0x7c) from [<c00f5278>] (ext3_reserve_inode_write+0x38/0x84)
[ 7116.180000] [<c00f5278>] (ext3_reserve_inode_write+0x38/0x84) from [<c00f52dc>] (ext3_mark_inode_dirty+0x18/0x38)
[ 7116.190000] [<c00f52dc>] (ext3_mark_inode_dirty+0x18/0x38) from [<c00f7a44>] (ext3_dirty_inode+0x58/0x80)
[ 7116.200000] [<c00f7a44>] (ext3_dirty_inode+0x58/0x80) from [<c00bdc70>] (__mark_inode_dirty+0x2c/0x110)
[ 7116.210000] [<c00bdc70>] (__mark_inode_dirty+0x2c/0x110) from [<c00b3ab0>] (file_update_time+0x98/0x120)
[ 7116.220000] [<c00b3ab0>] (file_update_time+0x98/0x120) from [<c007b8c8>] (__generic_file_aio_write_nolock+0x200/0x454)
[ 7116.230000] [<c007b8c8>] (__generic_file_aio_write_nolock+0x200/0x454) from [<c007c070>] (generic_file_aio_write+0x54/0xcc)
[ 7116.240000] [<c007c070>] (generic_file_aio_write+0x54/0xcc) from [<c00f2704>] (ext3_file_write+0x20/0xa4)
[ 7116.250000] [<c00f2704>] (ext3_file_write+0x20/0xa4) from [<c00a0840>] (do_sync_write+0xb4/0xfc)
[ 7116.260000] [<c00a0840>] (do_sync_write+0xb4/0xfc) from [<c00a101c>] (vfs_write+0xa0/0x15c)
[ 7116.270000] [<c00a101c>] (vfs_write+0xa0/0x15c) from [<c00a1864>] (sys_pwrite64+0x7c/0xbc)
[ 7116.280000] [<c00a1864>] (sys_pwrite64+0x7c/0xbc) from [<c002ba00>] (ret_fast_syscall+0x0/0x2c)
[ 7116.280000] ---[ end trace d0394acd5a6a0161 ]---
[ 7116.370000] Aborting journal on device sdc2.
[ 7116.370000] journal commit I/O error
[ 7116.370000] ext3_abort called.
/')


Really annoyed now how this upgrade thing has resulted not a single doc or link is even sticked properly everything is assumed that you google out really annoyed

@pepedog can you reply to my PM
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Cannot Telnet or ssh

Postby dinjo » Mon Nov 26, 2012 11:39 am

At the end of it i had to manually install packages one by one and ignored glib though there were errors in transmission but i had to fix them by applying changes to rc.local .

If you are on older 2.6 with running system its highly recommended not to upgrade since the upgrade process is completely broken and no one has any clues with most of the errors and everyone is in R&D mode.
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Cannot Telnet or ssh

Postby dinjo » Wed Nov 28, 2012 12:15 pm

$this->bbcode_second_pass_quote('pepedog', 'S')o pacman -Syu doesn't want to upgrade anything more?

Now network and transmission are going off topic, but-

Network, install netcfg (somehow) probably by going here http://us.mirror.archlinuxarm.org/arm/
Copy /etc/network.d/examples/ethernet-static to /etc/network.d/
Edit /etc/network.d/ethernet-static
Edit /etc/conf.d/netcfg and put ethernet-static where you see last in brackets
net-profiles replaces network in DAEMONS line

Transmission, you have to get this file and put in /etc/rc.d
https://projects.archlinux.org/svntogit/packages.git/plain/trunk/transmissiond?h=packages/transmission


How do i re-start the network ? Can't really understand why did they changed so many things from last time.
$this->bbcode_second_pass_code('', '

[root@alarm conf.d]# cat /etc/network.d/ethernet-static
CONNECTION='ethernet'
DESCRIPTION='A basic static ethernet connection using iproute'
INTERFACE='eth0'
IP='static'
ADDR='192.168.1.104'
#ROUTES=('192.168.0.0/24 via 192.168.1.2')
GATEWAY='192.168.1.1'
DNS=('8.8.8.8' '8.8.4.4')

[root@alarm conf.d]# cat /etc/conf.d/netcfg
# Enable these netcfg profiles at boot time.
# - prefix an entry with a '@' to background its startup
# - set to 'last' to restore the profiles running at the last shutdown
# - set to 'menu' to present a menu (requires the dialog package)
# Network profiles are found in /etc/network.d
NETWORKS=(last ethernet-static)

# Specify the name of your wired interface for net-auto-wired
WIRED_INTERFACE="eth0"

# Specify the name of your wireless interface for net-auto-wireless
WIRELESS_INTERFACE="wlan0"

# Array of profiles that may be started by net-auto-wireless.
# When not specified, all wireless profiles are considered.
#AUTO_PROFILES=("profile1" "profile2")
')

I did a rc.d restart network nothing happen still same IP
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Cannot Telnet or ssh

Postby pepedog » Wed Nov 28, 2012 1:38 pm

NETWORKS=(last ethernet-static)
this should read
NETWORKS=(ethernet-static)

In your DAEMONS line in rc.conf replace network with netcfg
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Cannot Telnet or ssh

Postby dinjo » Wed Nov 28, 2012 4:37 pm

Tried it as soon as network is removed and netcfg is added the pogo cannot be connected had to revert it back is there something i'm missing and i guess the old way of rc.conf setting static ip does not work now ?
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Cannot Telnet or ssh

Postby pepedog » Wed Nov 28, 2012 5:14 pm

It might be network-profiles in DAEMONS
Examine /etc/rc.d to see what file in there
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Cannot Telnet or ssh

Postby dinjo » Wed Nov 28, 2012 6:07 pm

How have u setup ? You also have static

I see some changes to process to start network netcfgl
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Cannot Telnet or ssh

Postby pepedog » Wed Nov 28, 2012 6:50 pm

Yes, I have 2 servers on static ISP addresses. Been months since switching to systemd but before that you started network-profiles with initscripts. That actually starts up netcfg.
In fact I talked about it yesterday here http://www.raspberrypi.org/phpBB3/viewt ... 53&t=24002
Ps, that is pure systemd
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Cannot Telnet or ssh

Postby WarheadsSE » Wed Nov 28, 2012 9:17 pm

Oxnas boards cannot use systemd in place of sysvinit!
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Cannot Telnet or ssh

Postby dinjo » Thu Nov 29, 2012 1:30 am

Ok so how do i setup a static ip the link you mentioned is not for Pogo oxnas
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 2 guests