Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs January 23, 2019 11:09AM |
Registered: 7 years ago Posts: 162 |
Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs January 23, 2019 11:17AM |
Registered: 5 years ago Posts: 258 |
Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs January 23, 2019 11:22AM |
Registered: 7 years ago Posts: 162 |
Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs January 23, 2019 11:44AM |
Registered: 5 years ago Posts: 258 |
Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs January 23, 2019 12:36PM |
Admin Registered: 13 years ago Posts: 18,896 |
# Defaults for busybox-syslogd initscript # This is a POSIX shell fragment sourced by /etc/init.d/busybox-syslogd # Additional options that are passed to the daemons. Default is to log # to ring buffer (to be read with logread(1)) and drop duplicates. SYSLOG_OPTS="-C128" KLOG_OPTS=""
#SYSLOG_OPTS="-C128"And then restart busybox-syslogd, or reboot the system.
Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs January 23, 2019 08:33PM |
Registered: 7 years ago Posts: 162 |
Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs January 25, 2019 12:58AM |
Registered: 5 years ago Posts: 27 |
Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs January 25, 2019 09:27PM |
Registered: 7 years ago Posts: 162 |
Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs February 01, 2019 12:47PM |
Registered: 6 years ago Posts: 11 |
Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs February 01, 2019 03:50PM |
Admin Registered: 13 years ago Posts: 18,896 |
Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs February 02, 2019 06:36AM |
Registered: 6 years ago Posts: 11 |
Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs February 02, 2019 02:44PM |
Registered: 5 years ago Posts: 27 |
Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs February 02, 2019 04:50PM |
Admin Registered: 13 years ago Posts: 18,896 |
Quote
I enabled writing syslogs to disk as suggested above. I've been stress-testing the Stora and its thumb drive and it seems to be hard to replicate the issue consistently but managed to trigger it just now. Simultaneous large 'dd' writes don't seem to do it, but every once in a while an apt/dpkg operation will cause processes to start becoming unresponsive one by one. After pulling the power cable and rebooting I see the following entries in /var/log/messages. The dmesg logs don't seem to show anything and the file /var/log/syslog doesn't exist.
Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs February 03, 2019 05:28AM |
Registered: 6 years ago Posts: 11 |
Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs February 03, 2019 06:33AM |
Admin Registered: 13 years ago Posts: 18,896 |
Feb 1 06:25:01 tldDebian cron.info CRON[30644]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ))
Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs February 03, 2019 07:22AM |
Registered: 6 years ago Posts: 11 |
Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs February 03, 2019 09:36AM |
Registered: 7 years ago Posts: 162 |
Feb 2 19:35:44 Pogoplug daemon.err smbd[1837]: Unable to open new log file '/tmp/var/.log': No such file or directory Feb 2 19:36:08 Pogoplug authpriv.info sshd[2086]: pam_unix(sshd:session): session closed for user root
Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs February 03, 2019 12:03PM |
Admin Registered: 13 years ago Posts: 18,896 |
Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs February 14, 2019 11:18AM |
Registered: 7 years ago Posts: 162 |
Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs February 14, 2019 01:30PM |
Admin Registered: 13 years ago Posts: 18,896 |
Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs February 14, 2019 04:07PM |
Registered: 7 years ago Posts: 162 |
Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs February 15, 2019 12:19AM |
Admin Registered: 13 years ago Posts: 18,896 |
Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs February 15, 2019 09:25PM |
Registered: 7 years ago Posts: 162 |
## Currently root@pogoplug:~# cat /boot/uEnv.txt custom_params=init=/bin/systemd
## Wanted to add zSwap root@pogoplug:~# cat /boot/uEnv.txt custom_params=init=/bin/systemd custom_params= zswap.enabled=1Could the above setup of uEnv.txt have caused boot issues? I thought the idea of that file was to pass boot parameters without causing issues if the formatting was incorrect (basically ignored if wrong). I'm probably misinterpreting that, and eEnv.txt is just a safer option than writing to nand.
# this (note the usb part) usb_custom_params=zswap.enabled=1 # or extraargs=zswap.enabled=1 #or to concatenate the params maybe? custom_params=init=/bin/systemd zswap.enabled=1
# /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> LABEL=rootfs / ext4 noatime,errors=remount-ro 0 1 tmpfs /tmp tmpfs defaults 0 0 LABEL=HIT2TB /mnt/pogo2 ext4 rw 0 0 LABEL=HIT2TB-2 /mnt/pogo3 ext4 rw 0 0In this case the HIT2TB-2 drive's enclosure had a power issue and wouldn't spin the disk so it could not mount. Are the fstab options requiring this drive in order to completely boot?
Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs October 26, 2019 10:57AM |
Registered: 6 years ago Posts: 11 |
Bus 003 Device 003: ID 0781:5567 SanDisk Corp. Cruzer Blade Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x0781 SanDisk Corp. idProduct 0x5567 Cruzer Blade bcdDevice 1.02 iManufacturer 1 iProduct 2 iSerial 3 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x0020 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 200mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk-Only iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 1 Bus 003 Device 004: ID 0781:5571 SanDisk Corp. Cruzer Fit Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.10 bDeviceClass 0 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x0781 SanDisk Corp. idProduct 0x5571 Cruzer Fit bcdDevice 1.00 iManufacturer 1 iProduct 2 iSerial 3 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x0020 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 224mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk-Only iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0
Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs October 26, 2019 05:25PM |
Admin Registered: 13 years ago Posts: 18,896 |
Bus 003 Device 004: ID 0781:5571 SanDisk Corp. Cruzer Fit Couldn't open device, some information will be missingThe error above should not happen if you are root.
Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs October 26, 2019 05:31PM |
Admin Registered: 13 years ago Posts: 18,896 |
Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs November 03, 2019 05:48AM |
Registered: 6 years ago Posts: 11 |
cat var/log/messages | grep -v 'sshd' | grep -v 'transmission-daemon' | grep -e 'Oct' -e 'Nov'(removing some irrelevant entries for security and so it's less for you to trawl through!).
My Stora has a USB port on the front panel but not on the back. I haven't taken the case off in a while but I don't seem to remember seeing one there last time I looked.Quote
bodhi
- Plug in the Ultra Fit to the USB port right next to the ethernet port (and not using a hub).
Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs November 03, 2019 05:13PM |
Admin Registered: 13 years ago Posts: 18,896 |
# increase the free page caches for VM vm.min_free_kbytes = 65536 vm.swappiness = 60
Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs November 05, 2019 01:07PM |
Registered: 6 years ago Posts: 11 |
Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs November 05, 2019 06:01PM |
Admin Registered: 13 years ago Posts: 18,896 |