Tiny Core Base > piCore Test Releases
piCore-5.3rc4
bmarkus:
--- Quote from: Paul_123 on May 15, 2014, 08:55:58 AM ---Do you have any network drives mounted. If I have a SMB(CIFS) share mounted, the reboot takes forever.
--- End quote ---
Are you using cifs-utils? Do you have the same issue with previous rc/alpha and 5.2.x or just rc4?
Can you add umount to /opt/shutdown.sh?
Rich:
--- Quote from: Paul_123 on May 15, 2014, 08:55:58 AM ---Do you have any network drives mounted. If I have a SMB(CIFS) share mounted, the reboot takes forever.
--- End quote ---
I've noticed this too on my X86 machines and added this /opt/shutdown.sh to fix it:
--- Code: ---# put user shutdown commands here
sync
umount -f /mnt/bb
--- End code ---
As I recall, I had to add the -f option otherwise shutdown/reboot still sometimes took forever.
bmarkus:
umount is expected to do sync but the explicit sync is fine :)
Paul_123:
--- Quote from: Rich on May 15, 2014, 10:21:03 AM ---
--- Quote from: Paul_123 on May 15, 2014, 08:55:58 AM ---Do you have any network drives mounted. If I have a SMB(CIFS) share mounted, the reboot takes forever.
--- End quote ---
I've noticed this too on my X86 machines and added this /opt/shutdown.sh to fix it:
--- Code: ---# put user shutdown commands here
sync
umount -f /mnt/bb
--- End code ---
As I recall, I had to add the -f option otherwise shutdown/reboot still sometimes took forever.
--- End quote ---
I did put an unmount in the shutdown script before, but I never tried the -f option. Thanks for the tip.
Paul_123:
--- Quote from: bmarkus on May 15, 2014, 09:15:33 AM ---
--- Quote from: Paul_123 on May 15, 2014, 08:55:58 AM ---Do you have any network drives mounted. If I have a SMB(CIFS) share mounted, the reboot takes forever.
--- End quote ---
Are you using cifs-utils? Do you have the same issue with previous rc/alpha and 5.2.x or just rc4?
Can you add umount to /opt/shutdown.sh?
--- End quote ---
I just have the cifs module, and use the normal fstab/mount/unmount. I has done it with every version of piCore, and Raspbian. Pretty sure my 64 bit debian image does that too.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version