sudo apt-get install nfs-kernel-server
vim /etc/exports
/home *(rw,sync,no_root_squash)
sudo /etc/init.d/nfs-kernel-server start
Tuesday, July 17, 2012
Monday, July 16, 2012
tftpserver on fedora 14
after install tftp server, run following command :
sudo /usr/sbin/in.tftpd -L -v -v -v -s /var/lib/tftpboot
Friday, July 13, 2012
Android Kernel vs Linux Kernel ( 2.6.29) : What Files Have Been Changed by
- /home/bxiong/ext_disk/linux-2.6.29/block/blk-core.c
ignored, only changed
printk(KERN_DEBUG "%s(%d): %s block %Lu on %s\n",
current->comm, task_pid_nr(current),
(rw & WRITE) ? "WRITE" : "READ",
(unsigned long long)bio->bi_sector,
bdevname(bio->bi_bdev, b));
to
printk(KERN_DEBUG "%s(%d): %s block %Lu on %s (%u sectors)\n",
current->comm, task_pid_nr(current),
(rw & WRITE) ? "WRITE" : "READ",
(unsigned long long)bio->bi_sector,
bdevname(bio->bi_bdev, b),
count); - /home/bxiong/ext_disk/linux-2.6.29/block/genhd.c
need merge following function:
static int disk_uevent(struct device *dev, struct kobj_uevent_env *env)
and
static struct device_type disk_type = {
.name = "disk",
.groups = disk_attr_groups,
.release = disk_release,
.uevent = disk_uevent,
}; - /home/bxiong/ext_disk/linux-2.6.29/drivers/base/power/main.c
No corresponding file in 2.6.30 - /home/bxiong/ext_disk/linux-2.6.29/drivers/bluetooth/bfusb.c
- /home/bxiong/ext_disk/linux-2.6.29/drivers/bluetooth/bt3c_cs.c
Only one var changed and for printk. - /home/bxiong/ext_disk/linux-2.6.29/drivers/bluetooth/btusb.c
- /home/bxiong/ext_disk/linux-2.6.29/drivers/bluetooth/hci_h4.c
- /home/bxiong/ext_disk/linux-2.6.29/drivers/bluetooth/hci_ll.c
- new file /home/bxiong/ext_disk/github_mti/drivers/char/dcc_tty.c
- /home/bxiong/ext_disk/linux-2.6.29/drivers/char/Kconfig
- /home/bxiong/ext_disk/linux-2.6.29/drivers/char/Makefile
- /home/bxiong/ext_disk/linux-2.6.29/drivers/char/mem.c
- /home/bxiong/ext_disk/linux-2.6.29/drivers/cpufreq
Don't think need to change cpu frequency. - /home/bxiong/ext_disk/linux-2.6.29/drivers/i2c
- /home/bxiong/ext_disk/linux-2.6.29/drivers/input
- /home/bxiong/ext_disk/linux-2.6.29/drivers/leds
- /home/bxiong/ext_disk/linux-2.6.29/drivers/misc/Kconfig
- /home/bxiong/ext_disk/linux-2.6.29/drivers/misc/Makefile
- /home/bxiong/ext_disk/linux-2.6.29/drivers/mmc/
No mmc in our platform. - /home/bxiong/ext_disk/linux-2.6.29/drivers/mtd/nand/nand_base.c
- /home/bxiong/ext_disk/linux-2.6.29/drivers/net/Kconfig
No need, for l2tp and pppox - /home/bxiong/ext_disk/linux-2.6.29/drivers/net/Makefile
No need, for l2tp and pppox - /home/bxiong/ext_disk/linux-2.6.29/drivers/rtc/class.c
- /home/bxiong/ext_disk/linux-2.6.29/drivers/rtc/Kconfig
- /home/bxiong/ext_disk/linux-2.6.29/drivers/rtc/Makefile
- /home/bxiong/ext_disk/linux-2.6.29/drivers/serial/serial_core.c
- /home/bxiong/ext_disk/linux-2.6.29/drivers/staging/android/binder.c
No change in our platform. - /home/bxiong/ext_disk/linux-2.6.29/drivers/staging/android/Kconfig
- /home/bxiong/ext_disk/linux-2.6.29/drivers/staging/android/lowmemorykiller.c
- /home/bxiong/ext_disk/linux-2.6.29/drivers/staging/android/Makefile
- /home/bxiong/ext_disk/linux-2.6.29/drivers/staging/android/ram_console.c No need, for l2tp and pppox
- /home/bxiong/ext_disk/linux-2.6.29/drivers/staging/android/timed_gpio.c
- /home/bxiong/ext_disk/linux-2.6.29/drivers/staging/android/timed_gpio.h
- /home/bxiong/ext_disk/linux-2.6.29/drivers/usb
Guess we don't need to use USB on our device for now - /home/bxiong/ext_disk/linux-2.6.29/drivers/Kconfig
- /home/bxiong/ext_disk/linux-2.6.29/drivers/Makefile
- /home/bxiong/ext_disk/linux-2.6.29/fs/fat/cache.c
Change fat_fs_panic() to fat_fs_error() - /home/bxiong/ext_disk/linux-2.6.29/fs/fat/dir.c
- /home/bxiong/ext_disk/linux-2.6.29/fs/fat/fatent.c
- /home/bxiong/ext_disk/linux-2.6.29/fs/fat/fat.h
- /home/bxiong/ext_disk/linux-2.6.29/fs/fat/file.c
- /home/bxiong/ext_disk/linux-2.6.29/fs/fat/inode.c
- /home/bxiong/ext_disk/linux-2.6.29/fs/fat/misc.c
- /home/bxiong/ext_disk/linux-2.6.29/fs/fat/namei_msdos.c
Mergered but left a const in our product code, since the logic should be same, not sure why it was modifed by BSP. - /home/bxiong/ext_disk/linux-2.6.29/fs/fat/namei_vfat.c
Mergered but left a const in our product code, since the logic should be same, not sure why it was modifed by BSP. - /home/bxiong/ext_disk/linux-2.6.29/fs/partitions/check.c
- /home/bxiong/ext_disk/linux-2.6.29/fs/proc/base.c
- /home/bxiong/ext_disk/linux-2.6.29/fs/fs-writeback.c
- /home/bxiong/ext_disk/linux-2.6.29/fs/Kconfig
- /home/bxiong/ext_disk/linux-2.6.29/fs/Makefile
- /home/bxiong/ext_disk/linux-2.6.29/include/linux/mm.h
- /home/bxiong/ext_disk/linux-2.6.29/include/linux/msdos_fs.h
- /home/bxiong/ext_disk/linux-2.6.29/include/linux/personality.h
- /home/bxiong/ext_disk/linux-2.6.29/include/linux/security.h
- /home/bxiong/ext_disk/linux-2.6.29/include/linux/serial_core.h
- /home/bxiong/ext_disk/linux-2.6.29/include/net/tcp.h
- /home/bxiong/ext_disk/linux-2.6.29/init/Kconfig
- /home/bxiong/ext_disk/linux-2.6.29/kernel/power/Kconfig
- /home/bxiong/ext_disk/linux-2.6.29/kernel/power/main.c
- /home/bxiong/ext_disk/linux-2.6.29/kernel/power/Makefile
- /home/bxiong/ext_disk/linux-2.6.29/kernel/time/tick-sched.c
- /home/bxiong/ext_disk/linux-2.6.29/kernel/cgroup.c
- /home/bxiong/ext_disk/linux-2.6.29/kernel/cgroup_freezer.c
- /home/bxiong/ext_disk/linux-2.6.29/kernel/cpuset.c
- /home/bxiong/ext_disk/linux-2.6.29/kernel/futex.c
This is too complicated, may come back to work on it. - /home/bxiong/ext_disk/linux-2.6.29/kernel/posix-cpu-timers.c
This is too complicated, may come back to work on it. - /home/bxiong/ext_disk/linux-2.6.29/kernel/printk.c
- /home/bxiong/ext_disk/linux-2.6.29/kernel/ptrace.c
Not touched it. - /home/bxiong/ext_disk/linux-2.6.29/kernel/sched.c
This is too risk to merge it. - /home/bxiong/ext_disk/linux-2.6.29/kernel/sysctl.c
- /home/bxiong/ext_disk/linux-2.6.29/lib/genalloc.c
- /home/bxiong/ext_disk/linux-2.6.29/mm/Kconfig
- /home/bxiong/ext_disk/linux-2.6.29/mm/Makefile
- /home/bxiong/ext_disk/linux-2.6.29/mm/mmap.c
- /home/bxiong/ext_disk/linux-2.6.29/mm/page_alloc.c
- /home/bxiong/ext_disk/linux-2.6.29/mm/shmem.c
- /home/bxiong/ext_disk/linux-2.6.29/net/core/dev.c
Too complicated, skip it for now. - /home/bxiong/ext_disk/linux-2.6.29/net/ipv4/af_inet.c
- /home/bxiong/ext_disk/linux-2.6.29/net/ipv4/devinet.c
- /home/bxiong/ext_disk/linux-2.6.29/net/ipv4/Makefile
- /home/bxiong/ext_disk/linux-2.6.29/net/ipv4/tcp_ipv4.c
- /home/bxiong/ext_disk/linux-2.6.29/net/ipv6/af_inet6.c
- /home/bxiong/ext_disk/linux-2.6.29/net/rfkill/Kconfig
- /home/bxiong/ext_disk/linux-2.6.29/net/rfkill/rfkill.c
- /home/bxiong/ext_disk/linux-2.6.29/net/Kconfig
- /home/bxiong/ext_disk/linux-2.6.29/net/socket.c
- /home/bxiong/ext_disk/linux-2.6.29/security/commoncap.c
- /home/bxiong/ext_disk/linux-2.6.29/security/Kconfig
- /home/bxiong/ext_disk/linux-2.6.29/security/security.c
Tuesday, June 26, 2012
How To Install Redmine on Ubuntu 12.04, step by step
With a fresh installed Ubuntu 12.04, did following steps have successfully installed and lunched Redmine:
- sudo apt-get install tasksel
- sudo tasksel install lamp-server
- sudo apt-get install libapache2-mod-passenger
- sudo apt-get install redmine remine-mysql
- sudo ln -s /usr/share/redmine/public/ redmine
- sudo vim /etc/apache2/mods-available/passenger.conf to add following line:
PassengerDefaultUser www-data - sudo vim /etc/apache2/sites-available/default to add following lines:
RailsBaseURI /redmine
PassengerResolveSymlinksInDocumentRoot on
- sudo service apache2 restart
- Lunch browser, goto http://127.0.0.1/redmine
- Login on with default user name and pass: admin/admin
Thursday, September 24, 2009
Wednesday, May 13, 2009
Feature update
Update on GUI:
- jump easily on your fingers. No need to go top anymore.
- Shift the color select to flash instead of YUI ColorPicker.
- Use HBoxPane to avoid losing focus.
- No flick during the switch mode.
- Allowed changing color after your draw.
- Better performance with draw
- Clear last draw used flash internal fucntion (as3)
- as3 transform has been used to change color
Friday, April 10, 2009
Subscribe to:
Posts (Atom)