I previously used Nagios and because of the painful configurations, I found
OpenNMS. It does all I need and more, being more easier than Nagios. It
uses PostgreSQL and runs on top of Tomcat4.
Here is how I installed OpenNMS and it's prereqs. It's rough, but it works.
Installing Java and Tomcat
--------------
Download SDK and JRE to Local PC. Use SCP to copy them to the server in the
/downloads directory
mkdir /usr/local/java
cp /downloads/j2sdk-1_4_2_09-linux-i586.bin /usr/local/java
cp /downloads/j2re-1_4_2_09-linux-i586.bin /usr/local/java
cd /usr/local/java
chmod +x *
./j2sdk-1_4_2_09-linux-i586.bin
./j2re-1_4_2_09-linux-i586.bin
rm -rf *.bin
chown -R root:root j2sdk1.4.2_09
chown -R root:root j2re1.4.2_09
ln -s j2sdk1.4.2_09 j2sdk
ln -s j2re1.4.2_09 j2jre
nano -w /etc/profile
if ! echo ${PATH} | grep -q /usr/local/java/j2sdk/bin ; then
export PATH=/usr/local/java/j2sdk/bin:${PATH}
fi
if ! echo ${PATH} | grep -q /usr/local/java/j2re/bin ; then
export PATH=/usr/java/local/j2re/bin:${PATH}
fi
export JAVA_HOME=/usr/local/java/j2sdk
export
CLASSPATH=.:/usr/local/java/j2sdk/lib/tools.jar:/usr/local/java/j2re/lib/rt.
jar
exit
su -
java -version
java version "1.4.2_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-b05)
Java HotSpot(TM) Client VM (build 1.4.2_09-b05, mixed mode)
cd /downloads
groupadd -g 220 tomcat
useradd -u 220 -g tomcat -c "Tomcat" -r -d /usr/local/tomcat -s
"/sbin/nologin" tomcat
wget
http://mirrors.isc.org/pub/apache/jakarta/tomcat-4/v4.1.31/bin/jakarta-tomca
t-4.1.31.tar.gz
cp jakarta-tomcat-4.1.31.tar.gz /usr/local
cd /usr/local
tar -zxvf jakarta-tomcat-4.1.31.tar.gz
rm *.gz
chown -R tomcat:tomcat /usr/local/jakarta-tomcat-4.1.31
ln -s jakarta-tomcat-4.1.31 tomcat
nano -w /etc/sysconfig/iptables
Add port 8080 to ip tables
service iptables restart
nano -w /etc/profile
Add: CATALINA_HOME=/usr/local/tomcat
echo $CATALINA_HOME
nano -w /etc/rc.d/init.d/tomcat
ADD CONTENT:
#!/bin/sh
#
# Startup script for the Jakarta Tomcat Java Servlets and JSP server
#
# chkconfig: - 85 15
# description: Jakarta Tomcat Java Servlets and JSP server
# processname: tomcat
# pidfile: /var/run/tomcat.pid
# config:
# Source function library.
. /etc/rc.d/init.d/functions
# Source networking configuration.
. /etc/sysconfig/network
# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0# Set Tomcat environment.
export JAVA_HOME=/usr/local/java/j2sdk
export
CLASSPATH=.:/usr/local/java/j2sdk/lib/tools.jar:/usr/local/java/j2re/lib/rt.
jar
export CATALINA_HOME=/usr/local/tomcat
export CATALINA_OPTS="-Dbuild.compiler.emacs=true"
export PATH=/usr/local/java/j2sdk/bin:/usr/local/local/j2re/bin:$PATH
[ -f /usr/local/tomcat/bin/startup.sh ] || exit 0
[ -f /usr/local/tomcat/bin/shutdown.sh ] || exit 0
export PATH=$PATH:/usr/bin:/usr/local/bin
# See how we were called.
case "$1" in
start)
# Start daemon.
echo -n "Starting Tomcat: "
/usr/local/tomcat/bin/startup.sh
RETVAL=$?
echo
[ $RETVAL = 0 ] && touch /var/lock/subsys/tomcat
;;
stop)
# Stop daemons.
echo -n "Shutting down Tomcat: "
/usr/local/tomcat/bin/shutdown.sh
RETVAL=$?
echo
[ $RETVAL = 0 ] && rm -f /var/lock/subsys/tomcat
;;
restart)
$0 stop
$0 start
;;
condrestart)
[ -e /var/lock/subsys/tomcat ] && $0 restart
;;
status)
status tomcat
;;
*)
echo "Usage: $0 {start|stop|restart|status}"
exit 1
esac
exit 0
chown root:root /etc/rc.d/init.d/tomcat
chmod 755 /etc/rc.d/init.d/tomcat
chkconfig --add tomcat
chkconfig tomcat on
Go to: http://localhost:8080
Note: It will take about 15 seconds to pull up.
--------------
Installing RRDTool
yum install rrdtool
--------------
Configuring SNMP
yum -y install net-snmp-utils
cd /etc/snmp
mv snmpd.conf snmpd.conf.old
nano -w snmpd.conf
Add: rocommunity <password>
chkconfig snmpd on
service snmpd start
snmpwalk -v 1 -c <password> localhost system
--------------
Configuring Postgresql
service postgresql start
chkconfig postgresql on
nano -w /var/lib/pgsql/data/postgresql.conf
add/change: tcpip_socket = true
add/change: shared_buffers = 1024
nano -w /var/lib/pgsql/data/pg_hba.conf
change (remove comment): host all all 127.0.0.1 255.255.255.255 trust
change: local all all trust
service postgresql restart
--------------
Configuring OpenNMS
cd /downloads
wget
http://easynews.dl.sourceforge.net/sourceforge/opennms/opennms-1.2.4-1_cento
s4.i386.rpm
wget
http://easynews.dl.sourceforge.net/sourceforge/opennms/opennms-docs-1.2.4-1_
centos4.i386.rpm
wget
http://easynews.dl.sourceforge.net/sourceforge/opennms/opennms-webapp-1.2.4-
1_centos4.i386.rpm
rpm -i opennms-1.2.4-1_centos4.i386.rpm --nodeps
rpm -i opennms-docs-1.2.4-1_centos4.i386.rpm --nodeps
rpm -i opennms-webapp-1.2.4-1_centos4.i386.rpm --nodeps
cd /opt/OpenNMS/bin
./runjava -s
./install -disU
./install -y -w $CATALINA_HOME/webapps -W $CATALINA_HOME/server/lib
cd /opt/OpenNMS/etc
nano -w discovery-configuration.xml
Change the begin and end IP address to 127.0.0.1, or
service tomcat restart
/opt/OpenNMS/bin/opennms.sh start
chkconfig opennms on
opennms -v status
Goto: http://localhost:8080/opennms/
login with admin:admin
Change password
>On Thu, 2005-09-22 at 12:54, Kennedy Clark wrote:
>
>
>>A bit off topic, but I keep looking for an answer to this question and
>>coming up with nothing... so I thought I would go to the gurus. :-)
>>
>>Can anyone recommend a good package for pinging other devices and
>>sending an email/alert when they go down? I'm aware of all kinds of
>>more complex things with GUIs and a zillion other bells and whistles
>>we aren't looking for, but we just want a simple tool (could be daemon
>>or something run from cron) that runs every 1 - 5 minutes and alerts
>>us when stuff disappears. Would need some basic logic like only
>>sending one email/alert when something goes down (vs sending an email
>>every 1-5 minutes until it comes back up). :-) We need to avoid a
>>requirement for an X-windows GUI, but a web-GUI would probably be fine
>>(a GUI-less command-line thing would probably be best).
>>
>>
>
>This probably isn't the best anymore, but I've had it running with
>no particular problems for 5 or 6 years - before any of the others
>like it were available. It is all-perl, has one server process to
>collate the responses and rate-limit the alarms, one network probe
>for all the remotely checks, and optional local clients for some
>things that can only be tested locally. It is fairly easy to add
>custom tests for local applications.
> http://spong.sourceforge.net/
>
>
>
_______________________________________________
CentOS mailing list
CentOS(a)centos.org
http://lists.centos.org/mailman/listinfo/centos
Test wrote:
>
> Is it at all possible to do a graphical netinstall ?
>
> I am using centos 5.2, and i have been doing net installs (pxe) for a
> while in console mode...
The pxeboot initrd and vmlinuz are in the boot directory on CD 1.
Copy those to the tftpboot directory, along with your pxelinux.0, and
put the syslinux config in the pxelinux.cfg/default file, mine looks
like so:
default server
prompt 1
timeout 100
display pxeboot.msg
label server
kernel vmlinuz
append initrd=initrd.img ramdisk_size=8192 root=/dev/ram0 ip=dhcp lang=us expert ksdevice=eth0 ks=http://10.1.1.60/CentOS/5/server.cfg method=http://10.1.1.60/CentOS/5/os/i386 noipv6 quiet
label desktop
kernel vmlinuz
append initrd=initrd.img ramdisk_size=8192 root=/dev/ram0 ip=dhcp lang=us ksdevice=eth0 ks=http://10.1.1.60/CentOS/5/desktop.cfg method=http://10.1.1.60/CentOS/5/os/i386 noipv6 quiet
I setup the packages on a web server along with my kickstart that looks
like so for desktops:
install
reboot
lang en_US.UTF-8
keyboard us
firewall --disabled
selinux --disabled
firstboot --disabled
timezone --utc America/New_York
network --device=eth0 --bootproto=dhcp
authconfig --enableshadow --enablemd5 --enablecache
rootpw --iscrypted <passwd hash>
monitor --noprobe --monitor="LCD Panel 1280x1024"
xconfig --driver "vesa" --resolution="1280x1024" --depth=24 --startxonboot --defaultdesktop=kde
bootloader --location=mbr
zerombr
clearpart --linux --initlabel --drives=sda
part /boot --fstype ext3 --size=128 --ondisk=sda --asprimary
part pv.0 --size=0 --grow --ondisk=sda
volgroup vg0 --pesize=32768 pv.0
logvol / --fstype ext3 --name=root --vgname=vg0 --size=4096 --grow --maxsize=16384
logvol swap --fstype swap --name=swap --vgname=vg0 --size=1024 --grow --maxsize=2048
%packages
@base
@core
@base-x
@kde-desktop
-NetworkManager
-desktop-printing
-firstboot
-gdm
-im-chooser
-kdeaccessibility
-kdeaddons
-kdepim
-pirut
-pup
-system-config-date
-system-config-display
-system-config-keyboard
-system-config-language
ImageMagick
compat-libstdc++-33
cyrus-sasl-gssapi
cyrus-sasl-md5
cyrus-sasl-ntlm
firefox
hplip
k3b
ntp
openldap-clients
openmotif
openoffice.org-base
openoffice.org-calc
openoffice.org-draw
openoffice.org-emailmerge
openoffice.org-graphicfilter
openoffice.org-math
openoffice.org-impress
openoffice.org-writer
openoffice.org-xsltfilter
openoffice.org-javafilter
openoffice.org-pyuno
rdesktop
samba-client
sendmail-cf
telnet-server
usermode-gtk
vnc
%post
export ARCH="`uname -i`"
# Install EPEL Repository
rpm -ivh http://software.mfg.prv/Software/Redhat/EPEL/5/epel-release-5-2.noarch.rpm
# Set yum repos to baseurl from mirrorlist and set their priorities
for repo in `ls /etc/yum.repos.d/*.repo`; do
sed -i -e 's/^#baseurl=/baseurl=/' $repo
sed -i -e 's/^mirrorlist=/#mirrorlist=/' $repo
sed -i -e 's/^baseurl=\(.*\)\(\/os\/\$basearch\/\)$/#baseurl=\1\2\nbaseurl=http:\/\/centos.mfg.prv\/centos\/\$releasever\2/' $repo
sed -i -e 's/^baseurl=\(.*\)\(\/updates\/\$basearch\/\)$/#baseurl=\1\2\nbaseurl=http:\/\/centos.mfg.prv\/centos\/\$releasever\2/' $repo
sed -i -e 's/\(^name=CentOS.*Media$\)/\1\npriority=1/' $repo
sed -i -e 's/\(^name=CentOS.*Base$\)/\1\npriority=1/' $repo
sed -i -e 's/\(^name=CentOS.*Updates$\)/\1\npriority=1/' $repo
sed -i -e 's/\(^name=CentOS.*Addons$\)/\1\npriority=2/' $repo
sed -i -e 's/\(^name=CentOS.*Extras$\)/\1\npriority=2/' $repo
sed -i -e 's/\(^name=CentOS.*Plus$\)/\1\npriority=2/' $repo
sed -i -e 's/\(^name=CentOS.*Contrib$\)/\1\npriority=2/' $repo
done
# Load default package signing keys
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-beta
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
# Install Yum Priorities
yum -y install yum-priorities
# Config Priority Obsoletes
echo "check_obsoletes = 1" >>/etc/yum/pluginconf.d/priorities.conf
# Update distribution
yum -y update
# Microsoft core TT fonts
rpm -ivh http://software.mfg.prv/Software/Linux/msttcorefonts/msttcorefonts-2.0-1.no…
# Adobe Reader
rpm -ivh http://software.mfg.prv/Software/Adobe/Reader/Linux/AdobeReader_enu-8.1.2-1…
# Adobe Flash Plugin
rpm -ivh http://software.mfg.prv/Software/Adobe/Flash/Linux/flash-plugin-9.0.124.0-r…
# Sun Java Runtime Environment
rpm -ivh http://software.mfg.prv/Software/Sun/Java/JRE/Linux/jre-6u2-linux-i586.rpm
# Set Sun Java as default
rm -f /usr/bin/javaws
rm -f /usr/bin/jcontrol
alternatives --install /usr/bin/java java /usr/java/default/bin/java 1000 --slave /usr/lib/jvm/jre jre /usr/java/default --slave /usr/bin/javaws javaws /usr/java/default/bin/javaws --slave /usr/bin/jcontrol jcontrol /usr/java/default/bin/jcontrol --slave /usr/bin/rmiregistry rmiregistry /usr/java/default/bin/rmiregistry
alternatives --set java /usr/java/default/bin/java
# Add local admin user account (failsafe)
useradd -p '<passwd hash>' admin
# Configure services
chkconfig lisa on
chkconfig ntpd on
chkconfig telnet on
# Default LISA configuration
mv /etc/lisarc /etc/lisarc.orig
cat >/etc/lisarc <<EOF
PingAddresses = 127.0.0.1/255.255.255.255;
PingNames =
AllowedAddresses = 127.0.0.1/255.255.255.255;
BroadcastNetwork = 127.0.0.1/255.255.255.255;
SearchUsingNmblookup = 1
FirstWait = 30
SecondWait = -1
UpdatePeriod = 150
DeliverUnnamedHosts = 1
MaxPingsAtOnce = 256
EOF
# Default Kerberos configuration
mv /etc/krb5.conf /etc/krb5.conf.orig
cat >/etc/krb5.conf <<EOF
[logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log
[libdefaults]
default_realm = EXAMPLE.COM
dns_lookup_realm = false
dns_lookup_kdc = false
ticket_lifetime = 24h
renew_lifetime = 7d
forwardable = yes
[appdefaults]
pam = {
debug = false
ticket_lifetime = 24h
renew_lifetime = 7d
forwardable = true
krb4_convert = false
}
EOF
authconfig --kickstart --enablekrb5 --krb5realm=MFG.PRV --krb5kdc=mfg.prv --krb5adminserver=mfg.prv --enablekrb5kdcdns --enablekrb5realmdns
# Default Samba configuration
mv /etc/samba/smb.conf /etc/samba/smb.conf.orig
cat >/etc/samba/smb.conf <<EOF
[global]
workgroup = EXAMPLE
realm = EXAMPLE.COM
security = ads
password server = *
use kerberos keytab = yes
passdb backend = tdbsam
allow trusted domains = no
idmap domains = default
idmap config default:default = yes
idmap config default:backend = rid
idmap uid = 100000 - 999999
idmap gid = 100000 - 999999
template homedir = /home/%U
template shell = /bin/bash
winbind use default domain = true
winbind enum groups = yes
winbind enum users = yes
name resolve order = wins bcast host
[homes]
comment = Home Directories
read only = no
browseable = no
[printers]
comment = All Printers
path = /var/spool/samba
printable = yes
browseable = no
EOF
authconfig --kickstart --smbworkgroup=MFG --smbservers=* --enablewinbind --smbsecurity=ads --smbrealm=MFG.PRV --smbidmapuid=100000-999999 --smbidmapgid=100000-999999 --winbindtemplatehomedir=/home/%U --winbindtemplateshell=/bin/bash --enablewinbindusedefaultdomain
# Default NSS_LDAP configuration
mv /etc/ldap.conf /etc/ldap.conf.orig
cat >/etc/ldap.conf <<EOF
uri ldap://example.com/
base dc=example,dc=com
timelimit 30
bind_timelimit 30
idle_timelimit 3600
ssl start_tls
tls_checkpeer no
use_sasl yes
sasl_secprops maxssf=0
krb5_ccname FILE:/tmp/krb5.ldap
pam_filter objectClass=User
pam_password crypt
nss_map_objectclass posixAccount User
nss_map_objectclass shadowAccount User
nss_map_objectclass posixGroup Group
nss_map_attribute homeDirectory unixHomeDirectory
nss_map_attribute uniqueMember msSFU30PosixMember
nss_map_attribute userPassword unixUserPassword
nss_initgroups_ignoreusers root,ldap,named,avahi,haldaemon,dbus,radvd,tomcat,radiusd,news,mailman
EOF
# Default OpenLDAP configuration
mv /etc/openldap/ldap.conf /etc/openldap/ldap.conf.orig
cat >/etc/openldap/ldap.conf <<EOF
URI ldap://example.com
BASE dc=example, dc=com
SASL_SECPROPS maxssf=0
TLS_REQCERT allow
EOF
authconfig --kickstart --ldapserver=mfg.prv --ldapbasedn="DC=mfg,DC=prv"
# Default Sendmail & Submission configuration
mv /etc/mail/sendmail.mc /etc/mail/sendmail.mc.orig
cat >/etc/mail/sendmail.mc <<EOF
divert(-1)dnl
dnl #
dnl # This is the sendmail macro config file for m4. If you make changes to
dnl # /etc/mail/sendmail.mc, you will need to regenerate the
dnl # /etc/mail/sendmail.cf file by confirming that the sendmail-cf package is
dnl # installed and then performing a
dnl #
dnl # make -C /etc/mail
dnl #
include(\`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(\`setup for Red Hat Linux')dnl
OSTYPE(\`linux')dnl
DAEMON_OPTIONS(\`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
DOMAIN(\`generic')dnl
FEATURE(\`nocanonify')dnl
FEATURE(\`nullclient',\`mfg.prv')dnl
MASQUERADE_AS(\`mfg.prv')dnl
undefine(\`ALIAS_FILE')dnl
EOF
mv /etc/mail/submit.mc /etc/mail/submit.mc.orig
cat >/etc/mail/submit.mc <<EOF
divert(-1)
#
# Copyright (c) 2001-2003 Sendmail, Inc. and its suppliers.
# All rights reserved.
#
# By using this file, you agree to the terms and conditions set
# forth in the LICENSE file which can be found at the top level of
# the sendmail distribution.
#
#
#
# This is the prototype file for a set-group-ID sm-msp sendmail that
# acts as a initial mail submission program.
#
divert(0)dnl
include(\`/usr/share/sendmail-cf/m4/cf.m4')
VERSIONID(\`linux setup for Red Hat Linux')dnl
define(\`confCF_VERSION', \`Submit')dnl
define(\`__OSTYPE__',\`')dnl dirty hack to keep proto.m4 from complaining
define(\`_USE_DECNET_SYNTAX_', \`1')dnl support DECnet
define(\`confTIME_ZONE', \`USE_TZ')dnl
define(\`confDONT_INIT_GROUPS', \`True')dnl
define(\`confPID_FILE', \`/var/run/sm-client.pid')dnl
dnl define(\`confDIRECT_SUBMISSION_MODIFIERS',\`C')
FEATURE(\`use_ct_file')dnl
FEATURE(\`allmasquerade')dnl
FEATURE(\`masquerade_envelope')dnl
MASQUERADE_AS(\`mfg.prv')dnl
dnl
dnl If you use IPv6 only, change [127.0.0.1] to [IPv6:::1]
FEATURE(\`msp', \`[127.0.0.1]')dnl
EOF
# Default KDE-CUPS settings
mv /etc/cups/cupsd.conf /etc/cups/cupsd.conf.orig
mv /etc/cups/cupsd.conf.default /etc/cups/cupsd.conf.default.orig
cat >/etc/cups/cupsd.conf <<EOF
Classification none
DefaultCharset UTF-8
DefaultLanguage en
Printcap /etc/printcap
PrintcapFormat BSD
RemoteRoot remroot
SystemGroup sys root
ServerCertificate /etc/cups/ssl/server.crt
ServerKey /etc/cups/ssl/server.key
<Location />
Encryption IfRequested
Satisfy All
Order allow,deny
Allow @LOCAL
</Location>
<Location /admin>
Encryption Required
Satisfy All
Order allow,deny
Allow @LOCAL
</Location>
<Location /admin/conf>
AuthType Basic
Require user @SYSTEM
Encryption IfRequested
Satisfy All
Order allow,deny
Allow @LOCAL
</Location>
HostnameLookups Off
KeepAlive On
KeepAliveTimeout 60
MaxClients 100
MaxRequestSize 0
Timeout 300
Port 631
Listen /var/run/cups/cups.sock
AccessLog /var/log/cups/access_log
ErrorLog /var/log/cups/error_log
PageLog /var/log/cups/page_log
MaxLogSize 0
LogLevel info
PreserveJobHistory On
PreserveJobFiles Off
AutoPurgeJobs No
MaxJobs 0
MaxJobsPerPrinter 0
MaxJobsPerUser 0
User lp
Group lp
RIPCache 8m
FilterLimit 0
DataDir /usr/share/cups
DocumentRoot /usr/share/cups/doc
RequestRoot /var/spool/cups
ServerBin /usr/lib/cups
ServerRoot /etc/cups
TempDir /var/spool/cups/tmp
Browsing On
BrowseOrder allow,deny
BrowseAllow @LOCAL
BrowseAddress @LOCAL
BrowseProtocols CUPS
BrowsePort 631
BrowseInterval 30
BrowseTimeout 300
ImplicitClasses On
ImplicitAnyClasses On
HideImplicitMembers Off
BrowseShortNames Yes
EOF
cp /etc/cups/cupsd.conf /etc/cups/cupsd.conf.default
mv /etc/cups/snmp.conf /etc/cups/snmp.conf.orig
cat >/etc/cups/snmp.conf <<EOF
Address @LOCAL
Community medallion
DebugLevel 0
HostNameLookups on
EOF
# Make sure in the end, local accounts can always login
authconfig --kickstart --enablelocauthorize
# Disable IPv6
echo "alias net-pf-10 off" >>/etc/modprobe.conf
# Add an entry for pam_mkhomedir in system-auth
sed -i -e 's/\(session required pam_limits.so\)/session required pam_mkhomedir.so skel=\/etc\/skel umask=0077 silent\n\1/' /etc/pam.d/system-auth
# Set HOSTNAME to DHCP_HOSTNAME for DDNS in /etc/sysconfig/network
sed -i -e "s/^HOSTNAME=.*/DHCP_HOSTNAME=$(hostname -s)/" /etc/sysconfig/network
# Remove DHCP_HOSTNAME from ifcfg files if it exists
sed -i -e '/^DHCP_HOSTNAME=.*/d' /etc/sysconfig/network-scripts/ifcfg-*
# Clean up /etc/hosts, 127.0.0.1 is ALWAYS localhost
sed -i -e 's/^127.0.0.1\t\t.*localhost.localdomain localhost/127.0.0.1\t\tlocalhost.localdomain localhost/' /etc/hosts
sed -i -e 's/^::1\t\t.*localhost.localdomain localhost/::1\t\t\tlocalhost.localdomain localhost/' /etc/hosts
# Stop NTP daemon if it is running
service ntpd stop
# Sync clock to network time
ntpdate -b mfg.prv
______________________________________________________________________
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.
Hello,
We have recently purchased two Supermicro servers, AS-1021M-T2RB
(http://www.supermicro.com/Aplus/system/1U/1021/AS-1021M-T2RV.cfm) and
have built them both with CentOS 5 operating system. They are identical,
apart from the manufacturer of the disk drives.
Kernel is: Linux version 2.6.18-8.1.6.el5
(mockbuild(a)builder6.centos.org) (gcc version 4.1.1 20070105 (Red Hat
4.1.1-52)) #1 SMP Thu Jun 14 17:29:04 EDT 2007
Both servers have 2 SATA disks, and using software RAID 1.
When they boot, we see this error in dmesg:
ATA: abnormal status 0x7F on port 0xB887
The servers seem to be working OK, but we're a little worried. The full
dmsg is below. Is anyone able to help explain what this problem/message
could be?
Thank you.
pcie_portdrv_probe->Dev[0375:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:0e.0:pcie00]
PCI: Setting latency timer of device 0000:00:0f.0 to 64
pcie_portdrv_probe->Dev[0377:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:0f.0:pcie00]
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
Real Time Clock Driver v1.12ac
Non-volatile memory driver v1.2
Linux agpgart interface v0.101 (c) Dave Jones
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:05: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:06: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
NFORCE-MCP55: IDE controller at PCI slot 0000:00:04.0
NFORCE-MCP55: chipset revision 161
NFORCE-MCP55: not 100% native mode: will probe irqs later
NFORCE-MCP55: 0000:00:04.0 (rev a1) UDMA133 controller
ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:pio, hdb:DMA
Probing IDE interface ide0...
hdb: MATSHITADVD-ROM SR-8178, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
ide-floppy driver 0.99.newide
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
TCP bic registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
powernow-k8: Found 4 Dual-Core AMD Opteron(tm) Processor 2212 processors
(version 2.10.00)
powernow-k8: MP systems not supported by PSB BIOS structure
powernow-k8: MP systems not supported by PSB BIOS structure
powernow-k8: MP systems not supported by PSB BIOS structure
powernow-k8: MP systems not supported by PSB BIOS structure
ACPI: (supports S0 S1 S4 S5)
Freeing unused kernel memory: 196k freed
Write protecting the kernel read-only data: 460k
input: AT Translated Set 2 keyboard as /class/input/input0
USB Universal Host Controller Interface driver v3.0
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver
(PCI)
ACPI: PCI Interrupt Link [LUB0] enabled at IRQ 23
GSI 16 sharing vector 0xE9 and IRQ 16
ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LUB0] -> GSI 23 (level,
low)
-> IRQ 233
PCI: Setting latency timer of device 0000:00:02.0 to 64
ohci_hcd 0000:00:02.0: OHCI Host Controller
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:02.0: irq 233, io mem 0xfe9bf000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 10 ports detected
ACPI: PCI Interrupt Link [LUB2] enabled at IRQ 22
GSI 17 sharing vector 0x32 and IRQ 17
ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [LUB2] -> GSI 22 (level,
low)
-> IRQ 50
PCI: Setting latency timer of device 0000:00:02.1 to 64
ehci_hcd 0000:00:02.1: EHCI Host Controller
ehci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 2
ehci_hcd 0000:00:02.1: debug port 1
PCI: cache line size of 64 is not supported by device 0000:00:02.1
ehci_hcd 0000:00:02.1: irq 50, io mem 0xfe9bec00
ehci_hcd 0000:00:02.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 10 ports detected
md: raid1 personality registered for level 1
SCSI subsystem initialized
libata version 2.00 loaded.
sata_nv 0000:00:05.0: version 2.0
ACPI: PCI Interrupt Link [LSA0] enabled at IRQ 21
GSI 18 sharing vector 0x3A and IRQ 18
ACPI: PCI Interrupt 0000:00:05.0[A] -> Link [LSA0] -> GSI 21 (level,
low)
-> IRQ 58
PCI: Setting latency timer of device 0000:00:05.0 to 64
ata1: SATA max UDMA/133 cmd 0xC480 ctl 0xC402 bmdma 0xBC00 irq 58
ata2: SATA max UDMA/133 cmd 0xC080 ctl 0xC002 bmdma 0xBC08 irq 58
scsi0 : sata_nv
input: ImExPS/2 Generic Explorer Mouse as /class/input/input1
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ATA-7, max UDMA/133, 781422768 sectors: LBA48 NCQ (depth 0/32)
ata1.00: ata1: dev 0 multi count 16
ata1.00: configured for UDMA/133
scsi1 : sata_nv
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata2.00: ATA-7, max UDMA/133, 781422768 sectors: LBA48 NCQ (depth 0/32)
ata2.00: ata2: dev 0 multi count 16
ata2.00: configured for UDMA/133
Vendor: ATA Model: WDC WD4000YR-01P Rev: 01.0
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sda: 781422768 512-byte hdwr sectors (400088 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
SCSI device sda: 781422768 512-byte hdwr sectors (400088 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
sda: sda1 sda2
sd 0:0:0:0: Attached scsi disk sda
Vendor: ATA Model: WDC WD4000YR-01P Rev: 01.0
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sdb: 781422768 512-byte hdwr sectors (400088 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: drive cache: write back
SCSI device sdb: 781422768 512-byte hdwr sectors (400088 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: drive cache: write back
sdb: sdb1 sdb2
sd 1:0:0:0: Attached scsi disk sdb
ACPI: PCI Interrupt Link [LSA1] enabled at IRQ 20
GSI 19 sharing vector 0x42 and IRQ 19
ACPI: PCI Interrupt 0000:00:05.1[B] -> Link [LSA1] -> GSI 20 (level,
low)
-> IRQ 66
PCI: Setting latency timer of device 0000:00:05.1 to 64
ata3: SATA max UDMA/133 cmd 0xB880 ctl 0xB802 bmdma 0xB080 irq 66
ata4: SATA max UDMA/133 cmd 0xB480 ctl 0xB402 bmdma 0xB088 irq 66
scsi2 : sata_nv
ata3: SATA link down (SStatus 0 SControl 300)
ATA: abnormal status 0x7F on port 0xB887
scsi3 : sata_nv
ata4: SATA link down (SStatus 0 SControl 300)
ATA: abnormal status 0x7F on port 0xB487
ACPI: PCI Interrupt Link [LSA2] enabled at IRQ 23
ACPI: PCI Interrupt 0000:00:05.2[C] -> Link [LSA2] -> GSI 23 (level,
low)
-> IRQ 233
PCI: Setting latency timer of device 0000:00:05.2 to 64
ata5: SATA max UDMA/133 cmd 0xB000 ctl 0xAC02 bmdma 0xA480 irq 233
ata6: SATA max UDMA/133 cmd 0xA880 ctl 0xA802 bmdma 0xA488 irq 233
scsi4 : sata_nv
ata5: SATA link down (SStatus 0 SControl 300)
ATA: abnormal status 0x7F on port 0xB007
scsi5 : sata_nv
ata6: SATA link down (SStatus 0 SControl 300)
ATA: abnormal status 0x7F on port 0xA887
md: Autodetecting RAID arrays.
md: autorun ...
md: considering sdb1 ...
md: adding sdb1 ...
md: adding sda1 ...
md: created md0
md: bind<sda1>
md: bind<sdb1>
md: running: <sdb1><sda1>
raid1: raid set md0 active with 2 out of 2 mirrors
md: ... autorun DONE.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
SELinux: Disabled at runtime.
SELinux: Unregistering netfilter hooks
audit(1183559928.450:2): selinux=0 auid=4294967295
i2c_adapter i2c-0: nForce2 SMBus adapter at 0x2d00
i2c_adapter i2c-1: nForce2 SMBus adapter at 0x2e00
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
EDAC MC: Ver: 2.0.1 Jun 14 2007
EDAC MC0: Giving out device to k8_edac Athlon64/Opteron: DEV
0000:00:18.2
EDAC MC1: Giving out device to k8_edac Athlon64/Opteron: DEV
0000:00:19.2
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 1:0:0:0: Attached scsi generic sg1 type 0
Modular ISDN Stack core version (1_1_5) revision ($Revision: 1.40 $)
mISDNd: kernel daemon started (current:ffff81003e565820)
input: PC Speaker as /class/input/input2
mISDNd: test event done
hdb: ATAPI 24X DVD-ROM drive, 256kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.56.
ACPI: PCI Interrupt Link [LMAC] enabled at IRQ 22
ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [LMAC] -> GSI 22 (level,
low)
-> IRQ 50
PCI: Setting latency timer of device 0000:00:08.0 to 64
forcedeth: using HIGHDMA
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
eth0: forcedeth.c: subsystem: 015d9:1511 bound to 0000:00:08.0
ACPI: PCI Interrupt Link [LMAD] enabled at IRQ 21
ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LMAD] -> GSI 21 (level,
low)
-> IRQ 58
PCI: Setting latency timer of device 0000:00:09.0 to 64
forcedeth: using HIGHDMA
eth1: forcedeth.c: subsystem: 015d9:1511 bound to 0000:00:09.0
lp: driver loaded but no devices found
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
ibm_acpi: ec object not found
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
device-mapper: ioctl: 4.11.0-ioctl (2006-09-14) initialised:
dm-devel(a)redhat.com
EXT3 FS on md0, internal journal
Adding 4096564k swap on /dev/sdb2. Priority:-1 extents:1
across:4096564k
Adding 4096564k swap on /dev/sda2. Priority:-2 extents:1
across:4096564k
Zapata Telephony Interface Registered on major 196
Zaptel Version: 1.2.18
Zaptel Echo Canceller: KB1
Registered Tormenta2 PCI
Registered tone zone 4 (United Kingdom)
Registered tone zone 4 (United Kingdom)
Registered tone zone 4 (United Kingdom)
Registered tone zone 4 (United Kingdom)
Registered tone zone 4 (United Kingdom)
Registered tone zone 4 (United Kingdom)
Registered tone zone 4 (United Kingdom)
usbcore: registered new driver wcusb
Wildcard USB FXS Interface driver registered
Registered tone zone 4 (United Kingdom)
Registered tone zone 4 (United Kingdom)
CAPI Subsystem Rev 1.1.2.8
capifs: Rev 1.1.2.3
capi20: Rev 1.1.2.7: started up with major 68 (middleware+capifs)
ISDN L1 driver version 1.20
ISDN L2 driver version 1.32
mISDN: DSS1 Rev. 1.47
mISDN Capi 2.0 driver file version 1.21
mISDN: HFC-multi driver Rev. 1.68
HFC-multi: card manufacturer: 'Cologne Chip AG' card name: 'HFC-4S
Digium
Card' clock: normal
ACPI: PCI Interrupt Link [LNEA] enabled at IRQ 19
GSI 20 sharing vector 0x62 and IRQ 20
ACPI: PCI Interrupt 0000:03:06.0[A] -> Link [LNEA] -> GSI 19 (level,
low)
-> IRQ 98
HFC-4S#1: defined at IOBASE 0xec00 IRQ 98 HZ 1000 leds-type 2
HFC_multi: resetting HFC with chip ID=0xc revision=1
Setting GPIOs
calling vpm_init
VPM: Chip 0: ver 33
VPM: A-law mode
VPM reg 0x20 is 11
NLP Thresh is set to 2 (0x2)
VPM: A-law mode
VPM reg 0x20 is 11
NLP Thresh is set to 2 (0x2)
rtc: lost some interrupts at 1024Hz.
hfcpci_probe: DIPs(0x90) jumpers(0x0)
1 devices registered
mISDN_dsp: Audio DSP Rev. 1.29 (debug=0x0) EchoCancellor MG2
dtmfthreshold(100)
mISDN_dsp: DSP clocks every 64 samples. This equals 8 jiffies.
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
Zaptel Transcoder support loaded
eth0: no IPv6 routers present
--
Andrew Hearn
Am 2018-08-09 17:31, schrieb Robert Moskowitz:
> On 08/09/2018 11:21 AM, arm_ml(a)rirasoft.de wrote:
>> Am 2018-08-09 16:57, schrieb Robert Moskowitz:
>>> On 08/09/2018 10:31 AM, arm_ml(a)rirasoft.de wrote:
>>>> Am 2018-08-09 13:58, schrieb Robert Moskowitz:
>>>>> On 08/09/2018 07:34 AM, arm_ml(a)rirasoft.de wrote:
>>>>>> Am 2018-08-07 12:23, schrieb Pablo Sebastián Greco:
>>>>>>> <snip>
>> snip
Wow, I can boot it, but I can't login and can't install the kernel from
Pablo. Whats next?
U-Boot SPL 2018.09-rc1 (Jul 31 2018 - 12:18:07 +0000)
DRAM: 2048 MiB
Trying to boot from MMC1
U-Boot 2018.09-rc1 (Jul 31 2018 - 12:18:07 +0000) Allwinner Technology
CPU: Allwinner A83T (SUN8I 1673)
Model: Cubietech Cubietruck Plus
I2C: ready
DRAM: 2 GiB
MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
Loading Environment from FAT... *** Warning - bad CRC, using default
environment
Failed (-5)
In: serial
Out: serial
Err: serial
Net: No ethernet found.
starting USB...
USB0: failed to get usb PHY
Port not available.
USB1: failed to get usb@01c1a000 usb PHY
Port not available.
USB2: failed to get usb@01c1b000 usb PHY
Port not available.
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:2...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
857 bytes read in 16 ms (51.8 KiB/s)
Ignoring unknown command: ui
Ignoring malformed menu command: autoboot
Ignoring malformed menu command: hidden
Ignoring unknown command: totaltimeout
CentOS-Userland-7-armv7hl-generic-Minimal-1804 Boot Options.
1: CentOS-Userland-7-armv7hl-generic-Minimal-1804
(4.14.28-201.el7.centos.armv7hl)
2: single
Enter choice: 1: CentOS-Userland-7-armv7hl-generic-Minimal-1804
(4.14.28-201.el7.centos.armv7hl)
Retrieving file: /initramfs-4.14.28-201.el7.centos.armv7hl.img
42665567 bytes read in 11495 ms (3.5 MiB/s)
Retrieving file: /vmlinuz-4.14.28-201.el7.centos.armv7hl
6627840 bytes read in 682 ms (9.3 MiB/s)
append: ro root=UUID=e4d55603-4823-4fb7-ab52-46f2e9fcaae1 selinux=off
Retrieving file:
/dtb-4.14.28-201.el7.centos.armv7hl/sun8i-a83t-cubietruck-plus.dtb
6627840 bytes read in 682 ms (9.3 MiB/s)
append: ro root=UUID=e4d55603-4823-4fb7-ab52-46f2e9fcaae1 selinux=off
Retrieving file:
/dtb-4.14.28-201.el7.centos.armv7hl/sun8i-a83t-cubietruck-plus.dtb
10902 bytes read in 586 ms (17.6 KiB/s)
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
Loading Ramdisk to 4774f000, end 49fff65f ... OK
Loading Device Tree to 47749000, end 4774ea95 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.28-201.el7.centos.armv7hl
(mockbuild(a)armhfp-02.bsys.centos.org) (gcc version 4.8.5 20150623 (Red
Hat 4.8.5-16) (GCC)) #1 SMP Mon Mar 19 20:25:46 UTC 2018
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7),
cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing
instruction cache
[ 0.000000] OF: fdt: Machine model: Cubietech Cubietruck Plus
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
snip
Welcome to CentOS Linux 7 (Core) dracut-033-535.el7 (Initramfs)!
[ 5.950324] systemd[1]: No hostname configured.
[ 5.954983] systemd[1]: Set hostname to <localhost>.
[ 5.960338] systemd[1]: Initializing machine ID from random
generator.
[ OK ] Reached target Swap.
[ 6.310341] systemd[1]: Reached target Swap.
[ 6.314834] systemd[1]: Starting Swap.
[ OK ] Created slice Root Slice.
[ 6.326288] systemd[1]: Created slice Root Slice.
[ 6.331225] systemd[1]: Starting Root Slice.
[ OK ] Listening on Journal Socket.
[ OK ] Listening on udev Kernel Socket.
[ OK ] Reached target Timers.
[ OK ] Created slice System Slice.
Starting Create list of required st... nodes for the current
kernel...
Starting Journal Service...
Starting Apply Kernel Variables...
[ OK ] Listening on udev Control Socket.
[ OK ] Reached target Slices.
[ OK ] Reached target Sockets.
Starting Setup Virtual Console...
[ OK ] Reached target Local File Systems.
Starting dracut cmdline hook...
[ OK ] Started Create list of required sta...ce nodes for the current
kernel.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started Setup Virtual Console.
Starting Create Static Device Nodes in /dev...
[ OK ] Started Journal Service.
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Started dracut cmdline hook.
Starting dracut pre-udev hook...
[ OK ] Started dracut pre-udev hook.
Starting udev Kernel Device Manager...
[ OK ] Started udev Kernel Device Manager.
Starting udev Coldplug all Devices...
[ OK ] Started udev Coldplug all Devices.
Starting Show Plymouth Boot Screen...
[ OK ] Reached target System Initialization.
Starting dracut initqueue hook...
[ OK ] Started Show Plymouth Boot Screen.
[ OK ] Reached target Paths.
[ OK ] Reached target Basic System.
Mounting Configuration File System...
[ OK ] Mounted Configuration File System.
[ 9.258492] ehci-platform: EHCI generic platform driver
[ 9.310921] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[ 9.353339] sunxi-mmc 1c0f000.mmc: base:0xf0b41000 irq:24
[ 9.401563] mmc0: host does not support reading read-only switch,
assuming write-enable
[ 9.409746] sunxi-mmc 1c11000.mmc: base:0xf0b45000 irq:25
[ 9.418906] mmc0: new high speed SDHC card at address 0007
[ 9.488974] mmc1: new DDR MMC card at address 0001
[ 9.710645] mmcblk0: mmc0:0007 SD32G 29.0 GiB
[ 9.720620] mmcblk0: p1 p2 p3 p4
[ 9.731581] mmcblk1: mmc1:0001 NCard 7.30 GiB
[ 9.736734] mmcblk1boot0: mmc1:0001 NCard partition 1 4.00 MiB
[ 9.744053] mmcblk1boot1: mmc1:0001 NCard partition 2 4.00 MiB
[ 9.754396] mmcblk1: p1 p2
[ OK ] Found device
/dev/disk/by-uuid/e4d55603-4823-4fb7-ab52-46f2e9fcaae1.
[ OK ] Started dracut initqueue hook.
[ OK ] Reached target Remote File Systems (Pre).
[ OK ] Reached target Remote File Systems.
Starting File System Check on
/dev/...3-4823-4fb7-ab52-46f2e9fcaae1...
[ OK ] Started File System Check on
/dev/d...603-4823-4fb7-ab52-46f2e9fcaae1.
Mounting /sysroot...
[ 10.483219] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data
mode. Opts: (null)
[ OK ] Mounted /sysroot.
[ OK ] Reached target Initrd Root File System.
Starting Reload Configuration from the Real Root...
[ OK ] Started Reload Configuration from the Real Root.
[ OK ] Reached target Initrd File Systems.
[ OK ] Reached target Initrd Default Target.
Starting dracut pre-pivot and cleanup hook...
[ OK ] Started dracut pre-pivot and cleanup hook.
Starting Cleaning Up and Shutting Down Daemons...
[ OK ] Stopped Cleaning Up and Shutting Down Daemons.
[ OK ] Stopped dracut pre-pivot and cleanup hook.
Stopping dracut pre-pivot and cleanup hook...
[ OK ] Stopped target Initrd Default Target.
[ OK ] Stopped target Basic System.
[ OK ] Stopped target Paths.
[ OK ] Stopped target System Initialization.
Stopping udev Kernel Device Manager...
[ OK ] Stopped target Swap.
[ OK ] Stopped target Slices.
[ OK ] Stopped target Sockets.
[ OK ] Stopped Apply Kernel Variables.
Stopping Apply Kernel Variables...
[ OK ] Stopped target Timers.
[ OK ] Stopped target Local File Systems.
Starting Plymouth switch root service...
[ OK ] Stopped target Remote File Systems.
[ OK ] Stopped target Remote File Systems (Pre).
[ OK ] Stopped dracut initqueue hook.
Stopping dracut initqueue hook...
[ OK ] Stopped udev Coldplug all Devices.
Stopping udev Coldplug all Devices...
[ OK ] Stopped udev Kernel Device Manager.
snip
Welcome to CentOS Linux 7 (Core)!
[ OK ] Stopped Switch Root.
[ OK ] Stopped Journal Service.
Starting Journal Service...
[ OK ] Reached target Local Encrypted Volumes.
[ OK ] Created slice
system-selinux\x2dpol...grate\x2dlocal\x2dchanges.slice.
[ OK ] Set up automount Arbitrary Executab...ats File System Automount
Point.
Mounting Debug File System...
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Stopped target Switch Root.
[ OK ] Stopped target Initrd File Systems.
[ OK ] Stopped target Initrd Root File System.
[ OK ] Stopped File System Check on Root Device.
Stopping File System Check on Root Device...
[ OK ] Listening on udev Kernel Socket.
[ OK ] Created slice system-getty.slice.
Starting Read and set NIS domainname from
/etc/sysconfig/network...
Starting Collect Read-Ahead Data...
[ OK ] Listening on Delayed Shutdown Socket.
Mounting POSIX Message Queue File System...
[ OK ] Created slice User and Session Slice.
[ OK ] Reached target Slices.
[ OK ] Reached target Remote File Systems.
[ OK ] Created slice system-serial\x2dgetty.slice.
[ OK ] Listening on udev Control Socket.
Starting Create list of required st... nodes for the current
kernel...
[ OK ] Reached target Paths.
Starting Replay Read-Ahead Data...
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Mounted Debug File System.
[ OK ] Started Journal Service.
[ OK ] Started Collect Read-Ahead Data.
[ OK ] Started Replay Read-Ahead Data.
[ OK ] Started Read and set NIS domainname from
/etc/sysconfig/network.
[ OK ] Started Create list of required sta...ce nodes for the current
kernel.
Starting Remount Root and Kernel File Systems...
Starting Create Static Device Nodes in /dev...
Starting Apply Kernel Variables...
[ 17.296550] EXT4-fs (mmcblk0p4): re-mounted. Opts: (null)
[ OK ] Started Apply Kernel Variables.
[ OK ] Started Remount Root and Kernel File Systems.
Starting udev Coldplug all Devices...
Starting Load/Save Random Seed...
Starting Configure read-only root support...
Starting Flush Journal to Persistent Storage...
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Started Load/Save Random Seed.
[ 17.818547] systemd-journald[427]: Received request to flush runtime
journal from PID 1
[ OK ] Reached target Local File Systems (Pre).
Starting udev Kernel Device Manager...
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Started Configure read-only root support.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started udev Coldplug all Devices.
[ 19.146181] cpu cpu0: failed to get clock: -2
[ 19.218261] cpufreq-dt: probe of cpufreq-dt failed with error -2
[ 19.708227] ehci-platform 1c1a000.usb: EHCI Host Controller
[ 19.721852] ehci-platform 1c1a000.usb: new USB bus registered,
assigned bus number 1
[ 19.740546] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[ 19.762241] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[ 19.775259] usb usb1: New USB device found, idVendor=1d6b,
idProduct=0002
[ 19.782236] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 19.789508] usb usb1: Product: EHCI Host Controller
[ 19.794416] usb usb1: Manufacturer: Linux
4.14.28-201.el7.centos.armv7hl ehci_hcd
[ 19.801926] usb usb1: SerialNumber: 1c1a000.usb
[ 19.844670] hub 1-0:1.0: USB hub found
[ 19.854212] hub 1-0:1.0: 1 port detected
[ 19.868545] ehci-platform 1c1b000.usb: EHCI Host Controller
[ 19.882930] ehci-platform 1c1b000.usb: new USB bus registered,
assigned bus number 2
[ 19.901798] ehci-platform 1c1b000.usb: irq 27, io mem 0x01c1b000
[ 19.923267] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[ 19.936351] usb usb2: New USB device found, idVendor=1d6b,
idProduct=0002
[ 19.943225] usb usb2: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 19.950493] usb usb2: Product: EHCI Host Controller
[ 19.955399] usb usb2: Manufacturer: Linux
4.14.28-201.el7.centos.armv7hl ehci_hcd
[ 19.962907] usb usb2: SerialNumber: 1c1b000.usb
[ 20.008450] hub 2-0:1.0: USB hub found
[ 20.019233] hub 2-0:1.0: 1 port detected
[ OK ] Found device /dev/ttyS0.
[ 20.253371] usb 1-1: new high-speed USB device number 2 using
ehci-platform
[ 20.304553] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16
sec, nowayout=0)
[ 20.350267] usb 2-1: new high-speed USB device number 2 using
ehci-platform
[ 20.397887] usb 1-1: New USB device found, idVendor=05e3,
idProduct=0718
[ 20.404808] usb 1-1: New USB device strings: Mfr=0, Product=1,
SerialNumber=2
[ 20.412007] usb 1-1: Product: USB Storage
[ 20.416058] usb 1-1: SerialNumber: 000000000033
[ 20.440034] sunxi-rsb 1f03400.rsb: RSB running at 3000000 Hz
[ 20.492897] usb 2-1: New USB device found, idVendor=0424,
idProduct=3503
[ 20.499823] usb 2-1: New USB device strings: Mfr=0, Product=0,
SerialNumber=0
[ 20.523676] hub 2-1:1.0: USB hub found
[ 20.535200] hub 2-1:1.0: 2 ports detected
[ 20.626373] usb3503 usb-hub: Ports disabled with no control interface
[ OK ] Found device /dev/disk/by-uuid/2CA3-F2A2.
[ 20.760223] usb3503 usb-hub: switched to HUB mode
[ 20.765030] usb3503 usb-hub: usb3503_probe: probed in hub mode
[ OK ] Found device
/dev/disk/by-uuid/13ad9f52-e2ca-4fd1-83d6-7b0af86a85df.
Mounting /boot...
[ 20.966073] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to
feature incompatibilities
[FAILED] Failed to mount /boot.
See 'systemctl status boot.mount' for details.
[DEPEND] Dependency failed for Local File Systems.
[DEPEND] Dependency failed for Relabel all filesystems, if necessary.
[DEPEND] Dependency failed for Migrate local... structure to the new
structure.
[DEPEND] Dependency failed for /boot/fw.
[ OK ] Reached target Timers.
[ OK ] Reached target Network (Pre).
[ OK ] Reached target Network.
[ OK ] Reached target Network is Online.
[ OK ] Reached target Login Prompts.
Starting Crash recovery kernel arming...
[ OK ] Reached target Sockets.
Starting Import network configuration from initramfs...
Starting Tell Plymouth To Write Out Runtime Data...
[ OK ] Started Tell Plymouth To Write Out Runtime Data.
[ OK ] Found device
/dev/disk/by-uuid/13b9fbb1-f4bd-4db2-86d8-a802ceb87618.
Activating swap
/dev/disk/by-uuid/1...1-f4bd-4db2-86d8-a802ceb87618...
[ 21.646852] Adding 249852k swap on /dev/mmcblk0p3. Priority:-2
extents:1 across:249852k SSFS
[ OK ] Activated swap
/dev/disk/by-uuid/13b9fbb1-f4bd-4db2-86d8-a802ceb87618.
[ OK ] Reached target Swap.
[FAILED] Failed to start Crash recovery kernel arming.
See 'systemctl status kdump.service' for details.
[ OK ] Started Import network configuration from initramfs.
[ OK ] Started Emergency Shell.
Starting Emergency Shell...
[ OK ] Reached target Emergency Mode.
Starting Create Volatile Files and Directories...
[ 23.733719] random: crng init done
[ 25.605825] axp20x-rsb sunxi-rsb-3a3: AXP20x variant AXP813 found
[ OK ] Started Create Volatile Files and Directories.
Starting Security Auditing Service...
[ 25.816033] axp20x-rsb sunxi-rsb-3a3: AXP20X driver loaded
[ OK ] Started Security Auditing Service.
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Started Update UTMP about System Boot/Shutdown.
Starting Update UTMP about System Runlevel Changes...
[ OK ] Started Update UTMP about System Runlevel Changes.
Welcome to emergency mode! After logging in, type "journalctl -xPress
enter for maintenance(or type Control-D to continue): [ 26.911598]
input: axp20x-pek as
/devices/platform/soc/1f03400.rsb/sunxi-rsb-3a3/axp221-pek/input/input0
[ 27.082356] ac100-rtc ac100-rtc: rtc core: registered rtc-ac100 as
rtc0
[ 27.163368] ac100-rtc ac100-rtc: RTC enabled
[ 27.272882] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 27.317836] scsi host0: usb-storage 1-1:1.0
[ 27.372202] usbcore: registered new interface driver usb-storage
[ 27.510019] asoc-simple-card sound: dit-hifi <-> 1c21000.spdif
mapping ok
[ 27.516919] asoc-simple-card sound: ASoC: no DMI vendor name!
[ 27.540329] usbcore: registered new interface driver uas
sulogin: failed to execute /bin/bash: Permission denied
sulogin: failed to execute /bin/sh: Permission denied
Can not execute su shell
Error getting authority: Error initializing authority: Could not
connect: No such file or directory (g-io-error-quark, 1)
[ 31.615654] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to
feature incompatibilities
Welcome to emergency mode! After logging in, type "journalctl -xPress
enter for maintenance(or type Control-D to continue):
sulogin: failed to execute /bin/bash: Permission denied
sulogin: failed to execute /bin/sh: Permission denied
Can not execute su shell
On 08/10/2018 08:17 AM, arm_ml(a)rirasoft.de wrote:
> Am 2018-08-09 17:31, schrieb Robert Moskowitz:
>> On 08/09/2018 11:21 AM, arm_ml(a)rirasoft.de wrote:
>>> Am 2018-08-09 16:57, schrieb Robert Moskowitz:
>>>> On 08/09/2018 10:31 AM, arm_ml(a)rirasoft.de wrote:
>>>>> Am 2018-08-09 13:58, schrieb Robert Moskowitz:
>>>>>> On 08/09/2018 07:34 AM, arm_ml(a)rirasoft.de wrote:
>>>>>>> Am 2018-08-07 12:23, schrieb Pablo Sebastián Greco:
>>>>>>>> <snip>
>>> snip
>
> Wow, I can boot it, but I can't login and can't install the kernel
> from Pablo. Whats next?
>
>
> U-Boot SPL 2018.09-rc1 (Jul 31 2018 - 12:18:07 +0000)
Good you got the current uboot.
> DRAM: 2048 MiB
> Trying to boot from MMC1
>
>
> U-Boot 2018.09-rc1 (Jul 31 2018 - 12:18:07 +0000) Allwinner Technology
>
> CPU: Allwinner A83T (SUN8I 1673)
> Model: Cubietech Cubietruck Plus
Do you have any other arm soc? If you put that cards uboot on, boot up
on that card, install the new kernel, then go back to the Cubietruck+
uboot, that would work.
Pablo may know of a simpler method, as I don't do kernel work. I did
work a lot with uboot a couple years ago.
> I2C: ready
> DRAM: 2 GiB
> MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
> Loading Environment from FAT... *** Warning - bad CRC, using default
> environment
>
> Failed (-5)
> In: serial
> Out: serial
> Err: serial
> Net: No ethernet found.
> starting USB...
> USB0: failed to get usb PHY
> Port not available.
> USB1: failed to get usb@01c1a000 usb PHY
> Port not available.
> USB2: failed to get usb@01c1b000 usb PHY
> Port not available.
> Hit any key to stop autoboot: 0
> switch to partitions #0, OK
> mmc0 is current device
> Scanning mmc 0:2...
> Found /extlinux/extlinux.conf
> Retrieving file: /extlinux/extlinux.conf
> 857 bytes read in 16 ms (51.8 KiB/s)
> Ignoring unknown command: ui
> Ignoring malformed menu command: autoboot
> Ignoring malformed menu command: hidden
> Ignoring unknown command: totaltimeout
> CentOS-Userland-7-armv7hl-generic-Minimal-1804 Boot Options.
> 1: CentOS-Userland-7-armv7hl-generic-Minimal-1804
> (4.14.28-201.el7.centos.armv7hl)
> 2: single
> Enter choice: 1: CentOS-Userland-7-armv7hl-generic-Minimal-1804
> (4.14.28-201.el7.centos.armv7hl)
> Retrieving file: /initramfs-4.14.28-201.el7.centos.armv7hl.img
> 42665567 bytes read in 11495 ms (3.5 MiB/s)
> Retrieving file: /vmlinuz-4.14.28-201.el7.centos.armv7hl
> 6627840 bytes read in 682 ms (9.3 MiB/s)
> append: ro root=UUID=e4d55603-4823-4fb7-ab52-46f2e9fcaae1 selinux=off
> Retrieving file:
> /dtb-4.14.28-201.el7.centos.armv7hl/sun8i-a83t-cubietruck-plus.dtb
> 6627840 bytes read in 682 ms (9.3 MiB/s)
> append: ro root=UUID=e4d55603-4823-4fb7-ab52-46f2e9fcaae1 selinux=off
> Retrieving file:
> /dtb-4.14.28-201.el7.centos.armv7hl/sun8i-a83t-cubietruck-plus.dtb
> 10902 bytes read in 586 ms (17.6 KiB/s)
> ## Flattened Device Tree blob at 43000000
> Booting using the fdt blob at 0x43000000
> Loading Ramdisk to 4774f000, end 49fff65f ... OK
> Loading Device Tree to 47749000, end 4774ea95 ... OK
>
> Starting kernel ...
>
> [ 0.000000] Booting Linux on physical CPU 0x0
> [ 0.000000] Linux version 4.14.28-201.el7.centos.armv7hl
> (mockbuild(a)armhfp-02.bsys.centos.org) (gcc version 4.8.5 20150623 (Red
> Hat 4.8.5-16) (GCC)) #1 SMP Mon Mar 19 20:25:46 UTC 2018
> [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7),
> cr=10c5387d
> [ 0.000000] CPU: div instructions available: patching division code
> [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing
> instruction cache
> [ 0.000000] OF: fdt: Machine model: Cubietech Cubietruck Plus
> [ 0.000000] Memory policy: Data cache writealloc
> [ 0.000000] efi: Getting EFI parameters from FDT:
> [ 0.000000] efi: UEFI not found.
> snip
> Welcome to CentOS Linux 7 (Core) dracut-033-535.el7 (Initramfs)!
>
> [ 5.950324] systemd[1]: No hostname configured.
> [ 5.954983] systemd[1]: Set hostname to <localhost>.
> [ 5.960338] systemd[1]: Initializing machine ID from random generator.
> [ OK ] Reached target Swap.
> [ 6.310341] systemd[1]: Reached target Swap.
> [ 6.314834] systemd[1]: Starting Swap.
> [ OK ] Created slice Root Slice.
> [ 6.326288] systemd[1]: Created slice Root Slice.
> [ 6.331225] systemd[1]: Starting Root Slice.
> [ OK ] Listening on Journal Socket.
> [ OK ] Listening on udev Kernel Socket.
> [ OK ] Reached target Timers.
> [ OK ] Created slice System Slice.
> Starting Create list of required st... nodes for the current
> kernel...
> Starting Journal Service...
> Starting Apply Kernel Variables...
> [ OK ] Listening on udev Control Socket.
> [ OK ] Reached target Slices.
> [ OK ] Reached target Sockets.
> Starting Setup Virtual Console...
> [ OK ] Reached target Local File Systems.
> Starting dracut cmdline hook...
> [ OK ] Started Create list of required sta...ce nodes for the
> current kernel.
> [ OK ] Started Apply Kernel Variables.
> [ OK ] Started Setup Virtual Console.
> Starting Create Static Device Nodes in /dev...
> [ OK ] Started Journal Service.
> [ OK ] Started Create Static Device Nodes in /dev.
> [ OK ] Started dracut cmdline hook.
> Starting dracut pre-udev hook...
> [ OK ] Started dracut pre-udev hook.
> Starting udev Kernel Device Manager...
> [ OK ] Started udev Kernel Device Manager.
> Starting udev Coldplug all Devices...
> [ OK ] Started udev Coldplug all Devices.
> Starting Show Plymouth Boot Screen...
> [ OK ] Reached target System Initialization.
> Starting dracut initqueue hook...
> [ OK ] Started Show Plymouth Boot Screen.
> [ OK ] Reached target Paths.
> [ OK ] Reached target Basic System.
> Mounting Configuration File System...
> [ OK ] Mounted Configuration File System.
> [ 9.258492] ehci-platform: EHCI generic platform driver
> [ 9.310921] sunxi-mmc 1c0f000.mmc: Got CD GPIO
> [ 9.353339] sunxi-mmc 1c0f000.mmc: base:0xf0b41000 irq:24
> [ 9.401563] mmc0: host does not support reading read-only switch,
> assuming write-enable
> [ 9.409746] sunxi-mmc 1c11000.mmc: base:0xf0b45000 irq:25
> [ 9.418906] mmc0: new high speed SDHC card at address 0007
> [ 9.488974] mmc1: new DDR MMC card at address 0001
> [ 9.710645] mmcblk0: mmc0:0007 SD32G 29.0 GiB
> [ 9.720620] mmcblk0: p1 p2 p3 p4
> [ 9.731581] mmcblk1: mmc1:0001 NCard 7.30 GiB
> [ 9.736734] mmcblk1boot0: mmc1:0001 NCard partition 1 4.00 MiB
> [ 9.744053] mmcblk1boot1: mmc1:0001 NCard partition 2 4.00 MiB
> [ 9.754396] mmcblk1: p1 p2
> [ OK ] Found device
> /dev/disk/by-uuid/e4d55603-4823-4fb7-ab52-46f2e9fcaae1.
> [ OK ] Started dracut initqueue hook.
> [ OK ] Reached target Remote File Systems (Pre).
> [ OK ] Reached target Remote File Systems.
> Starting File System Check on
> /dev/...3-4823-4fb7-ab52-46f2e9fcaae1...
> [ OK ] Started File System Check on
> /dev/d...603-4823-4fb7-ab52-46f2e9fcaae1.
> Mounting /sysroot...
> [ 10.483219] EXT4-fs (mmcblk0p4): mounted filesystem with ordered
> data mode. Opts: (null)
> [ OK ] Mounted /sysroot.
> [ OK ] Reached target Initrd Root File System.
> Starting Reload Configuration from the Real Root...
> [ OK ] Started Reload Configuration from the Real Root.
> [ OK ] Reached target Initrd File Systems.
> [ OK ] Reached target Initrd Default Target.
> Starting dracut pre-pivot and cleanup hook...
> [ OK ] Started dracut pre-pivot and cleanup hook.
> Starting Cleaning Up and Shutting Down Daemons...
> [ OK ] Stopped Cleaning Up and Shutting Down Daemons.
> [ OK ] Stopped dracut pre-pivot and cleanup hook.
> Stopping dracut pre-pivot and cleanup hook...
> [ OK ] Stopped target Initrd Default Target.
> [ OK ] Stopped target Basic System.
> [ OK ] Stopped target Paths.
> [ OK ] Stopped target System Initialization.
> Stopping udev Kernel Device Manager...
> [ OK ] Stopped target Swap.
> [ OK ] Stopped target Slices.
> [ OK ] Stopped target Sockets.
> [ OK ] Stopped Apply Kernel Variables.
> Stopping Apply Kernel Variables...
> [ OK ] Stopped target Timers.
> [ OK ] Stopped target Local File Systems.
> Starting Plymouth switch root service...
> [ OK ] Stopped target Remote File Systems.
> [ OK ] Stopped target Remote File Systems (Pre).
> [ OK ] Stopped dracut initqueue hook.
> Stopping dracut initqueue hook...
> [ OK ] Stopped udev Coldplug all Devices.
> Stopping udev Coldplug all Devices...
> [ OK ] Stopped udev Kernel Device Manager.
> snip
> Welcome to CentOS Linux 7 (Core)!
>
> [ OK ] Stopped Switch Root.
> [ OK ] Stopped Journal Service.
> Starting Journal Service...
> [ OK ] Reached target Local Encrypted Volumes.
> [ OK ] Created slice
> system-selinux\x2dpol...grate\x2dlocal\x2dchanges.slice.
> [ OK ] Set up automount Arbitrary Executab...ats File System
> Automount Point.
> Mounting Debug File System...
> [ OK ] Listening on /dev/initctl Compatibility Named Pipe.
> [ OK ] Stopped target Switch Root.
> [ OK ] Stopped target Initrd File Systems.
> [ OK ] Stopped target Initrd Root File System.
> [ OK ] Stopped File System Check on Root Device.
> Stopping File System Check on Root Device...
> [ OK ] Listening on udev Kernel Socket.
> [ OK ] Created slice system-getty.slice.
> Starting Read and set NIS domainname from
> /etc/sysconfig/network...
> Starting Collect Read-Ahead Data...
> [ OK ] Listening on Delayed Shutdown Socket.
> Mounting POSIX Message Queue File System...
> [ OK ] Created slice User and Session Slice.
> [ OK ] Reached target Slices.
> [ OK ] Reached target Remote File Systems.
> [ OK ] Created slice system-serial\x2dgetty.slice.
> [ OK ] Listening on udev Control Socket.
> Starting Create list of required st... nodes for the current
> kernel...
> [ OK ] Reached target Paths.
> Starting Replay Read-Ahead Data...
> [ OK ] Mounted POSIX Message Queue File System.
> [ OK ] Mounted Debug File System.
> [ OK ] Started Journal Service.
> [ OK ] Started Collect Read-Ahead Data.
> [ OK ] Started Replay Read-Ahead Data.
> [ OK ] Started Read and set NIS domainname from /etc/sysconfig/network.
> [ OK ] Started Create list of required sta...ce nodes for the
> current kernel.
> Starting Remount Root and Kernel File Systems...
> Starting Create Static Device Nodes in /dev...
> Starting Apply Kernel Variables...
> [ 17.296550] EXT4-fs (mmcblk0p4): re-mounted. Opts: (null)
> [ OK ] Started Apply Kernel Variables.
> [ OK ] Started Remount Root and Kernel File Systems.
> Starting udev Coldplug all Devices...
> Starting Load/Save Random Seed...
> Starting Configure read-only root support...
> Starting Flush Journal to Persistent Storage...
> [ OK ] Started Create Static Device Nodes in /dev.
> [ OK ] Started Load/Save Random Seed.
> [ 17.818547] systemd-journald[427]: Received request to flush
> runtime journal from PID 1
> [ OK ] Reached target Local File Systems (Pre).
> Starting udev Kernel Device Manager...
> [ OK ] Started Flush Journal to Persistent Storage.
> [ OK ] Started Configure read-only root support.
> [ OK ] Started udev Kernel Device Manager.
> [ OK ] Started udev Coldplug all Devices.
> [ 19.146181] cpu cpu0: failed to get clock: -2
> [ 19.218261] cpufreq-dt: probe of cpufreq-dt failed with error -2
> [ 19.708227] ehci-platform 1c1a000.usb: EHCI Host Controller
> [ 19.721852] ehci-platform 1c1a000.usb: new USB bus registered,
> assigned bus number 1
> [ 19.740546] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
> [ 19.762241] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
> [ 19.775259] usb usb1: New USB device found, idVendor=1d6b,
> idProduct=0002
> [ 19.782236] usb usb1: New USB device strings: Mfr=3, Product=2,
> SerialNumber=1
> [ 19.789508] usb usb1: Product: EHCI Host Controller
> [ 19.794416] usb usb1: Manufacturer: Linux
> 4.14.28-201.el7.centos.armv7hl ehci_hcd
> [ 19.801926] usb usb1: SerialNumber: 1c1a000.usb
> [ 19.844670] hub 1-0:1.0: USB hub found
> [ 19.854212] hub 1-0:1.0: 1 port detected
> [ 19.868545] ehci-platform 1c1b000.usb: EHCI Host Controller
> [ 19.882930] ehci-platform 1c1b000.usb: new USB bus registered,
> assigned bus number 2
> [ 19.901798] ehci-platform 1c1b000.usb: irq 27, io mem 0x01c1b000
> [ 19.923267] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
> [ 19.936351] usb usb2: New USB device found, idVendor=1d6b,
> idProduct=0002
> [ 19.943225] usb usb2: New USB device strings: Mfr=3, Product=2,
> SerialNumber=1
> [ 19.950493] usb usb2: Product: EHCI Host Controller
> [ 19.955399] usb usb2: Manufacturer: Linux
> 4.14.28-201.el7.centos.armv7hl ehci_hcd
> [ 19.962907] usb usb2: SerialNumber: 1c1b000.usb
> [ 20.008450] hub 2-0:1.0: USB hub found
> [ 20.019233] hub 2-0:1.0: 1 port detected
> [ OK ] Found device /dev/ttyS0.
> [ 20.253371] usb 1-1: new high-speed USB device number 2 using
> ehci-platform
> [ 20.304553] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled
> (timeout=16 sec, nowayout=0)
> [ 20.350267] usb 2-1: new high-speed USB device number 2 using
> ehci-platform
> [ 20.397887] usb 1-1: New USB device found, idVendor=05e3,
> idProduct=0718
> [ 20.404808] usb 1-1: New USB device strings: Mfr=0, Product=1,
> SerialNumber=2
> [ 20.412007] usb 1-1: Product: USB Storage
> [ 20.416058] usb 1-1: SerialNumber: 000000000033
> [ 20.440034] sunxi-rsb 1f03400.rsb: RSB running at 3000000 Hz
> [ 20.492897] usb 2-1: New USB device found, idVendor=0424,
> idProduct=3503
> [ 20.499823] usb 2-1: New USB device strings: Mfr=0, Product=0,
> SerialNumber=0
> [ 20.523676] hub 2-1:1.0: USB hub found
> [ 20.535200] hub 2-1:1.0: 2 ports detected
> [ 20.626373] usb3503 usb-hub: Ports disabled with no control interface
> [ OK ] Found device /dev/disk/by-uuid/2CA3-F2A2.
> [ 20.760223] usb3503 usb-hub: switched to HUB mode
> [ 20.765030] usb3503 usb-hub: usb3503_probe: probed in hub mode
> [ OK ] Found device
> /dev/disk/by-uuid/13ad9f52-e2ca-4fd1-83d6-7b0af86a85df.
> Mounting /boot...
> [ 20.966073] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to
> feature incompatibilities
> [FAILED] Failed to mount /boot.
> See 'systemctl status boot.mount' for details.
> [DEPEND] Dependency failed for Local File Systems.
> [DEPEND] Dependency failed for Relabel all filesystems, if necessary.
> [DEPEND] Dependency failed for Migrate local... structure to the new
> structure.
> [DEPEND] Dependency failed for /boot/fw.
> [ OK ] Reached target Timers.
> [ OK ] Reached target Network (Pre).
> [ OK ] Reached target Network.
> [ OK ] Reached target Network is Online.
> [ OK ] Reached target Login Prompts.
> Starting Crash recovery kernel arming...
> [ OK ] Reached target Sockets.
> Starting Import network configuration from initramfs...
> Starting Tell Plymouth To Write Out Runtime Data...
> [ OK ] Started Tell Plymouth To Write Out Runtime Data.
> [ OK ] Found device
> /dev/disk/by-uuid/13b9fbb1-f4bd-4db2-86d8-a802ceb87618.
> Activating swap
> /dev/disk/by-uuid/1...1-f4bd-4db2-86d8-a802ceb87618...
> [ 21.646852] Adding 249852k swap on /dev/mmcblk0p3. Priority:-2
> extents:1 across:249852k SSFS
> [ OK ] Activated swap
> /dev/disk/by-uuid/13b9fbb1-f4bd-4db2-86d8-a802ceb87618.
> [ OK ] Reached target Swap.
> [FAILED] Failed to start Crash recovery kernel arming.
> See 'systemctl status kdump.service' for details.
> [ OK ] Started Import network configuration from initramfs.
> [ OK ] Started Emergency Shell.
> Starting Emergency Shell...
> [ OK ] Reached target Emergency Mode.
> Starting Create Volatile Files and Directories...
> [ 23.733719] random: crng init done
> [ 25.605825] axp20x-rsb sunxi-rsb-3a3: AXP20x variant AXP813 found
> [ OK ] Started Create Volatile Files and Directories.
> Starting Security Auditing Service...
> [ 25.816033] axp20x-rsb sunxi-rsb-3a3: AXP20X driver loaded
> [ OK ] Started Security Auditing Service.
> Starting Update UTMP about System Boot/Shutdown...
> [ OK ] Started Update UTMP about System Boot/Shutdown.
> Starting Update UTMP about System Runlevel Changes...
> [ OK ] Started Update UTMP about System Runlevel Changes.
> Welcome to emergency mode! After logging in, type "journalctl -xPress
> enter for maintenance(or type Control-D to continue): [ 26.911598]
> input: axp20x-pek as
> /devices/platform/soc/1f03400.rsb/sunxi-rsb-3a3/axp221-pek/input/input0
> [ 27.082356] ac100-rtc ac100-rtc: rtc core: registered rtc-ac100 as
> rtc0
> [ 27.163368] ac100-rtc ac100-rtc: RTC enabled
> [ 27.272882] usb-storage 1-1:1.0: USB Mass Storage device detected
> [ 27.317836] scsi host0: usb-storage 1-1:1.0
> [ 27.372202] usbcore: registered new interface driver usb-storage
> [ 27.510019] asoc-simple-card sound: dit-hifi <-> 1c21000.spdif
> mapping ok
> [ 27.516919] asoc-simple-card sound: ASoC: no DMI vendor name!
> [ 27.540329] usbcore: registered new interface driver uas
>
> sulogin: failed to execute /bin/bash: Permission denied
> sulogin: failed to execute /bin/sh: Permission denied
> Can not execute su shell
>
> Error getting authority: Error initializing authority: Could not
> connect: No such file or directory (g-io-error-quark, 1)
> [ 31.615654] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to
> feature incompatibilities
> Welcome to emergency mode! After logging in, type "journalctl -xPress
> enter for maintenance(or type Control-D to continue):
> sulogin: failed to execute /bin/bash: Permission denied
> sulogin: failed to execute /bin/sh: Permission denied
> Can not execute su shell
>