Difference between revisions of "Plug notes"

From Amahi Wiki
Jump to: navigation, search
(Redirected page to Amahi Plug Edition)
 
(75 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 +
#REDIRECT [[Amahi_Plug_Edition]]
 +
 +
 +
'''Note: Most of this information is duplicated elsewhere.  It needs to be verified and removed as necessary.'''
 +
 +
See [[Amahi_Plug_Edition | Amahi_Plug_Edition]] for installation and supported devices.
 +
 +
 +
 +
= Misc Notes =
 +
 +
* restarting rpm db in chrooted environment:
 +
{{Code|rm /var/lib/rpm/__db*
 +
rpm --rebuilddb -vv}}
 +
 +
<!--* May need to add the following line to /etc/resolv.conf if you have DNS issues:
 +
nameserver 8.8.8.8-->
 +
 +
<!--  OLD NOTES
 
* 2 stop bits to get the bootloader to recognize keyboard and stop autobooting
 
* 2 stop bits to get the bootloader to recognize keyboard and stop autobooting
 
* speed: 115200 /dev/ttyUSB1
 
* speed: 115200 /dev/ttyUSB1
Line 13: Line 32:
 
* ruby-RMagick
 
* ruby-RMagick
  
Other:
 
* VPN does not work (had to turn it off in servers). This could be due to the kernel not having all that it needs for TUN/TAP?:
 
      Cannot allocate TUN/TAP dev dynamically
 
* Greyhole not working - hda-greyhole needed
 
* crontab does not appear to be working
 
* had to add with noatime in / to prevent flash burnout
 
* should control monit - it keeps on pounding the flash with messages in /var/log/monit
 
* would like to add swap to flash based drives
 
* mt-daapd and amahi-transmission are dying
 
 
= Getting the plug booting Fedora 12 =
 
Here are the steps to make the plug boot from USB
 
* General [http://fedoraproject.org/wiki/Architectures/ARM/SheevaplugUSB directions]
 
* get the rootfs-f12.tar.bz2 from
 
    http://ftp.linux.org.uk/pub/linux/arm/fedora/rootfs/
 
* Connect the JTAG module and connect the USB side to a terminal emulator
 
* Putty for windows (Serial)
 
* gtkterm for linux (use 2 stop bits!)
 
* Reset the device from the JTAG module
 
* At the terminal, press enter a couple of seconds after boot to prevent it booting to the flash
 
* There are some commands to make it permanently boot off USB:
 
 
          setenv mainlineLinux yes
 
          setenv arcNumber 2097
 
          setenv bootargs_root 'root=/dev/sda1 rootdelay=15'
 
          setenv bootcmd_usb 'usb start; ext2load usb 0:1  0x6400000 /boot/uImage-2.6.30-sheevaplug'
 
          setenv bootcmd 'setenv bootargs $(console) $(bootargs_root); run bootcmd_usb; bootm 0x6400000'
 
          saveenv
 
          reset
 
 
= Amahi Install =
 
  
 
* ssh into the plug
 
* ssh into the plug
Line 68: Line 56:
 
* input the install code and install!
 
* input the install code and install!
 
* NOTE: it may be better to  
 
* NOTE: it may be better to  
* report bugs!
+
* report bugs!-->
 
 
= Reporting issues =
 
 
 
These are mostly what matter for debugging:
 
* <code><small>/root/hda-install.log</small></code>
 
* <code><small>egrep -v 'POST|GET|progress' /tmp/amahi-ruby-install.log</small></code>
 
 
 
= Misc Notes =
 
 
 
* restarting rpm db in chrooted environment:
 
          rm /var/lib/rpm/__db*
 
          rpm --rebuilddb -vv
 

Latest revision as of 11:27, 15 July 2011

Redirect to:

Note: Most of this information is duplicated elsewhere. It needs to be verified and removed as necessary.

See Amahi_Plug_Edition for installation and supported devices.


Misc Notes

  • restarting rpm db in chrooted environment:
bash code
​rm /var/lib/rpm/__db* rpm --rebuilddb -vv​