Re: Debian on NSA310S? July 01, 2015 05:22PM |
Registered: 9 years ago Posts: 118 |
Listening on LPF/eth0/5c:f4:ab:df:07:2b Sending on LPF/eth0/5c:f4:ab:df:07:2b
net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1 net.ipv6.conf.eth0.disable_ipv6 = 1
Re: Debian on NSA310S? July 01, 2015 05:24PM |
Registered: 9 years ago Posts: 295 |
Re: Debian on NSA310S? July 01, 2015 05:27PM |
Registered: 9 years ago Posts: 118 |
[ 16.494152] NET: Registered protocol family 10 [ 16.674185] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/eth0/5c:f4:ab:df:07:2b Sending on LPF/eth0/5c:f4:ab:df:07:2b Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 18 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 21 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4 No DHCPOFFERS received. No working leases in persistent database - sleeping.
Re: Debian on NSA310S? July 01, 2015 05:30PM |
Registered: 9 years ago Posts: 295 |
Re: Debian on NSA310S? July 01, 2015 05:33PM |
Registered: 9 years ago Posts: 118 |
Re: Debian on NSA310S? July 01, 2015 05:35PM |
Admin Registered: 13 years ago Posts: 19,006 |
Re: Debian on NSA310S? July 01, 2015 05:36PM |
Registered: 9 years ago Posts: 118 |
Re: Debian on NSA310S? July 01, 2015 05:51PM |
Admin Registered: 13 years ago Posts: 19,006 |
Re: Debian on NSA310S? July 01, 2015 05:56PM |
Admin Registered: 13 years ago Posts: 19,006 |
Re: Debian on NSA310S? July 01, 2015 05:59PM |
Registered: 9 years ago Posts: 118 |
root@debian:~# shutdown -h now Broadcast message from root@debian (ttyS0) (Thu Jul 2 02:01:40 2015): The system is going down for system halt NOW! INIT: Switching to run INIT: Sending processes the TERM signal [info] Using makefile-style concurrent boot in runlevel 0. [....] Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon[ ok . [....] Stopping busybox' klogd implementation: klogd1344 (klogd) Stopped klogd (pid 1344). [ ok . [....] Stopping MD monitoring service: mdadm --monitor[ ok . [....] Stopping NFS kernel daemon: mountd nfsd[ ok . [....] Unexporting directories for NFS kernel daemon...[ ok . [....] Stopping NetBIOS name server: nmbd[ ok . Stopping foobar nzbget.conf(49): Invalid value for option "InterDir" (/media/hdd/.tmp/nzbget/inter/): could not create directory /media/hdd/.tmp: nzbget.conf(70): Invalid value for option "TempDir" (/media/hdd/.tmp/nzbget/tmp/): could not create directory /media/hdd/.tmp: nzbget.conf(67): Invalid value for option "QueueDir" (/media/hdd/.tmp/nzbget/queue/): could not create directory /media/hdd/.tmp: nzbget.conf(61): Invalid value for option "NzbDir" (/media/hdd/.tmp/nzbget/nzb/): could not create directory /media/hdd/.tmp: Request sent server returned: Stopping server [....] Stopping busybox' syslogd implementation: syslogd1346 (syslogd) [ ok . [....] Stopping Samba AD DC daemon: samba[ ok . [....] Stopping SMB/CIFS daemon: smbd[ ok . Stopping NzbDrone No process in pidfile '/var/run/nzbdrone/nzbdrone.pid' found running; none killed. [....] Asking all remaining processes to terminate...[ ok done. [....] All processes ended within 1 seconds...[ ok done. rpcbind: rpcbind terminating on signal. Restart with "rpcbind -w" [....] Stopping rpcbind daemon...[ ok . [....] Stopping NFS common utilities: idmapd statd[ ok . [....] Deconfiguring network interfaces...Removed stale PID file Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/eth0/5c:f4:ab:df:07:2b Sending on LPF/eth0/5c:f4:ab:df:07:2b Sending on Socket/fallback DHCPRELEASE on eth0 to 192.168.1.1 port 67 invoke-rc.d: ----------------------------------------------------- invoke-rc.d: WARNING: 'invoke-rc.d smbd reload' called invoke-rc.d: during shutdown sequence. invoke-rc.d: enabling safe mode: initscript policy layer disabled invoke-rc.d: ----------------------------------------------------- Reloading /etc/samba/smb.conf: smbd. [ ok done. [....] Unmounting temporary filesystems...[ ok done. [....] Deactivating swap...[ ok done. [ 287.495700] EXT4-fs (sda3): re-mounted. Opts: (null) [info] Will now halt. logger: Will halt - now [ 289.654142] reboot: Power down
Re: Debian on NSA310S? July 01, 2015 06:09PM |
Admin Registered: 13 years ago Posts: 19,006 |
Re: Debian on NSA310S? July 01, 2015 06:13PM |
Registered: 9 years ago Posts: 118 |
Re: Debian on NSA310S? July 02, 2015 12:24PM |
Admin Registered: 13 years ago Posts: 19,006 |
cp -a /etc/init.d/halt /etc/init.d/halt.orig
#! /bin/sh -x ### BEGIN INIT INFO # Provides: halt # Required-Start: # Required-Stop: # Default-Start: # Default-Stop: 0 # Short-Description: Execute the halt command. # Description: ### END INIT INFO NETDOWN=yes PATH=/sbin:/usr/sbin:/bin:/usr/bin [ -f /etc/default/halt ] && . /etc/default/halt . /lib/lsb/init-functions do_stop () { if [ "$INIT_HALT" = "" ] then case "$HALT" in [Pp]*) INIT_HALT=POWEROFF ;; [Hh]*) INIT_HALT=HALT ;; *) INIT_HALT=POWEROFF ;; esac fi # See if we need to cut the power. if [ "$INIT_HALT" = "POWEROFF" ] && [ -x /etc/init.d/ups-monitor ] then /etc/init.d/ups-monitor poweroff fi # Don't shut down drives if we're using RAID. hddown="-h" if grep -qs '^md.*active' /proc/mdstat then hddown="" fi # If INIT_HALT=HALT don't poweroff. poweroff="-p" if [ "$INIT_HALT" = "HALT" ] then poweroff="" fi # Make it possible to not shut down network interfaces, # needed to use wake-on-lan netdown="-i" if [ "$NETDOWN" = "no" ]; then netdown="" fi log_action_msg "Will now halt" logger -s "Will halt - now" halt -d -f $netdown $poweroff $hddown } case "$1" in start|status) # No-op ;; restart|reload|force-reload) echo "Error: argument '$1' not supported" >&2 exit 3 ;; stop) do_stop ;; *) echo "Usage: $0 start|stop" >&2 exit 3 ;; esac :
sync shutdown -h now
Re: Debian on NSA310S? July 02, 2015 01:15PM |
Registered: 9 years ago Posts: 118 |
Re: Debian on NSA310S? July 02, 2015 01:51PM |
Admin Registered: 13 years ago Posts: 19,006 |
shutdown -H nowif that option did not take, try
shutdown -h -H nowAnd capture the serial log.
Re: Debian on NSA310S? July 02, 2015 02:08PM |
Registered: 9 years ago Posts: 118 |
Re: Debian on NSA310S? July 02, 2015 04:02PM |
Admin Registered: 13 years ago Posts: 19,006 |
gpio_poweroff { compatible = "gpio-poweroff"; pinctrl-0 = <&pmx_pwr_off>; pinctrl-names = "default"; gpios = <&gpio0 27 GPIO_ACTIVE_HIGH>;
Re: Debian on NSA310S? July 02, 2015 04:47PM |
Registered: 9 years ago Posts: 118 |
Re: Debian on NSA310S? July 08, 2015 01:41PM |
Registered: 9 years ago Posts: 295 |
Re: Debian on NSA310S? July 08, 2015 03:35PM |
Registered: 9 years ago Posts: 118 |
Re: Debian on NSA310S? July 09, 2015 06:48AM |
Registered: 9 years ago Posts: 118 |
Re: Debian on NSA310S? July 09, 2015 04:26PM |
Admin Registered: 13 years ago Posts: 19,006 |
> help
Re: Debian on NSA310S? July 10, 2015 08:46AM |
Registered: 9 years ago Posts: 118 |
USB 0: host mode PEX 0: interface detected no Link. Net: egiga0 [PRIME] Hit any key to stop autoboot: 0 Marvell>> Marvell>> ping 192.168.1.1 egiga0 no link Using egiga0 device ping failed; host 192.168.1.1 is not alive
Marvell>> help ? - alias for 'help' SatR - sample at reset sub-system, relevent for DB only base - print or set address offset boot - boot default, i.e., run 'bootcmd' bootd - boot default, i.e., run 'bootcmd' bootext2 dev:boot_part1,boot_part2 addr boot_image linux_dev_name bootm - boot application image from memory bootp - boot image via network using BootP/TFTP protocol bubt - Burn an image on the Boot Nand Flash. chpart - change active partition cmp - memory compare cmpm - Compare Memory cp - memory copy cpumap - Display CPU memory mapping settings. crc32 - checksum calculation date - get/set/reset date & time dclk - Display the MV device CLKs. dhcp - invoke DHCP client to obtain IP/boot params diskboot- boot from IDE device echo - echo args to console eeprom - EEPROM sub-system erase - erase FLASH memory ext2load- load binary file from a Ext2 filesystem ext2ls - list files in a directory (default /) fatinfo - print information about filesystem fatload - load binary file from a dos filesystem fatls - list files in a directory (default /) fi - Find value in the memory. flinfo - print FLASH memory information fsinfo - print information about filesystems fsload - load binary file from a filesystem image g - start application at cached address 'addr'(default addr 0x40000) go - start application at address 'addr' help - print online help icrc32 - checksum calculation ide - IDE sub-system iloop - infinite loop on address range imd - i2c memory display iminfo - print header information for application image imm[.b, .s, .w, .l] - i2c memory modify (auto-incrementing) imw - memory write (fill) inm - memory modify (constant address) iprobe - probe to discover valid I2C chip addresses ir - reading and changing MV internal register values. loop - infinite loop on address range ls - list files in a directory (default /) map - Diasplay address decode windows md - memory display me - PCI master enable mm - memory modify (auto-incrementing) mmcinit - init mmc card mp - map PCI BAR mtdparts- define flash/nand partitions mtest - simple RAM test mw - memory write (fill) nand - NAND sub-system nboot - boot from NAND device nbubt - Burn a boot loader image on the Boot Nand Flash. nm - memory modify (constant address) pci - list and access PCI Configuration Space phyRead - Read PCI-E Phy register pciePhyWrite - Write PCI-E Phy register phyRead - Read Phy register phyWrite - Write Phy register ping - send ICMP ECHO_REQUEST to network host printenv- print environment variables printinfo- print environment variables protect - enable or disable FLASH write protection rarpboot- boot image via network using RARP/TFTP protocol rcvr - Satrt recovery process (Distress Beacon with TFTP server) reset - Perform RESET of the CPU resetenv - Return all environment variable to default. run - run commands in an environment variable saveenv - save environment variables to persistent storage saveinfo - save environment variables to persistent storage se - PCI Slave enable setenv - set environment variables setinfo - set environment variables sflash - read, write or erase the external SPI Flash. sg - scanning the PHYs status sp - Scan PCI bus. switchRegRead - Read switch register switchRegWrite - Write switch register Temp - read chip Tj temp tftpboot- boot image via network using TFTP protocol usb - USB sub-system usbboot - boot from USB device version - print monitor version
Re: Debian on NSA310S? July 10, 2015 01:05PM |
Registered: 9 years ago Posts: 295 |
Re: Debian on NSA310S? July 10, 2015 02:41PM |
Admin Registered: 13 years ago Posts: 19,006 |
Re: Debian on NSA310S? July 10, 2015 04:11PM |
Registered: 9 years ago Posts: 118 |
Re: Debian on NSA310S? July 10, 2015 04:32PM |
Admin Registered: 13 years ago Posts: 19,006 |
setenv gatewayip 192.168.1.1 ping 8.8.8.8 ping 192.168.1.1See what the result is.
Re: Debian on NSA310S? July 10, 2015 04:38PM |
Registered: 9 years ago Posts: 118 |
Marvell>> setenv gatewayip 192.168.1.1 Marvell>> ping 8.8.8.8 egiga0 no link Using egiga0 device ping failed; host 8.8.8.8 is not alive
Marvell>> ping 192.168.1.1 egiga0 no link Using egiga0 device ping failed; host 192.168.1.1 is not alive
Re: Debian on NSA310S? July 10, 2015 05:06PM |
Admin Registered: 13 years ago Posts: 19,006 |
Re: Debian on NSA310S? July 10, 2015 05:07PM |
Registered: 9 years ago Posts: 118 |