HomePage
Materiel
Photo Système et réseau Sous Debian Gnu Linux... ... et Ubuntu Gestion de projet ...informatique Cours Divers Private edit SideBar |
Custom BootCustom RPI bootCurrent /boot/cmdline.txt (fixes network freeze & boots to hard drive)# more /boot/cmdline.txt dwc_otg.lpm_enable=0 console=tty1 root=/dev/sda2 rootfstype=ext4 elevator=deadline rootwait smsc95xx.turbo_mode=N dwc_otg.dma_enable=1 dwc_otg.dma_burst_size=256 Boot and Swap on Hard DriveSuppression SWAPfile RaspbianDepuis http://raspberrypihobbyist.blogspot.fr/2013/07/running-from-external-hard-drive.htmlroot@raspberrypi:~# find /etc/ -name *swapfile -exec ls -al {} + -rw-r--r-- 1 root root 18 déc. 15 2012 /etc/dphys-swapfile -rwxr-xr-x 1 root root 2148 juin 9 2012 /etc/init.d/dphys-swapfile lrwxrwxrwx 1 root root 24 janv. 16 2013 /etc/rc2.d/S03dphys-swapfile -> ../init.d/dphys-swapfile lrwxrwxrwx 1 root root 24 janv. 16 2013 /etc/rc3.d/S03dphys-swapfile -> ../init.d/dphys-swapfile lrwxrwxrwx 1 root root 24 janv. 16 2013 /etc/rc4.d/S03dphys-swapfile -> ../init.d/dphys-swapfile lrwxrwxrwx 1 root root 24 janv. 16 2013 /etc/rc5.d/S03dphys-swapfile -> ../init.d/dphys-swapfile rm /etc/rc?.d/*dphys-swapfile # Delete old SWAPfile rm /mnt/var/swapAdd /dev/sda2 none swap sw 0 0 to fstab
Reboot
Fix network controller issue (SoC controller freeze)From http://raspberrypi.stackexchange.com/questions/4958/networks-drops-and-freezes#8557 Add the following to /boot/cmdline.txt (which must remain as one line):smsc95xx.turbo_mode=N dwc_otg.dma_enable=1 dwc_otg.dma_burst_size=256 elevator=deadline smsc95xx.turbo_mode=N sets the Network device not in turbo mode. Usually you don't see a difference on network traffic
elevator=deadline sets the scheduler to deadline Sched
|