Comment 1 for bug 512321

Revision history for this message
Bryan Wu (cooloney) wrote : Re: please backport devtmpfs to the lucid linux-imx51 kernel tree

Ogra,

I already cherry picked 2 devtmpfs patches to my fsl-imx51 git branch:
http://kernel.ubuntu.com/git?p=roc/ubuntu-lucid.git;a=shortlog;h=refs/heads/lp512321_devtmpfs

And please download the kernel package here to help me test:
http://people.canonical.com/~roc/kernel/lp512321_devtmpfs/

Here is some test on my side:
--
roc@babbage:~$ dmesg | head
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 2.6.31-602-imx51 (root@roc-desktop) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #4 Tue Jan 26 11:27:08 CST 2010 (Ubuntu 2.6.31-602.4-imx51)
CPU: ARMv7 Processor [412fc081] revision 1 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: Freescale MX51 Babbage Board
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 122880
free_area_init_node: node 0, pgdat c061cce4, node_mem_map c0692000
  DMA zone: 128 pages used for memmap
roc@babbage:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 152459812 2446924 142268356 2% /
none 234340 21244 213096 10% /dev
none 239172 1164 238008 1% /dev/shm
none 239172 84 239088 1% /var/run
none 239172 0 239172 0% /var/lock
none 239172 0 239172 0% /lib/init/rw
roc@babbage:~$ cat /proc/mounts
rootfs / rootfs rw 0 0
none /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
none /proc proc rw,nosuid,nodev,noexec,relatime 0 0
none /dev devtmpfs rw,relatime,size=234340k,nr_inodes=58585,mode=755 0 0
none /dev/.bootchart/proc proc rw,relatime 0 0
/dev/disk/by-uuid/fd8c99d5-8e53-4d99-9d4e-75b8c96e7b94 / ext4 rw,relatime,errors=remount-ro,barrier=1,data=ordered 0 0
none /sys/fs/fuse/connections fusectl rw,relatime 0 0
none /sys/kernel/debug debugfs rw,relatime 0 0
none /sys/kernel/security securityfs rw,relatime 0 0
none /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
none /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0
none /var/run tmpfs rw,nosuid,relatime,mode=755 0 0
none /var/lock tmpfs rw,nosuid,nodev,noexec,relatime 0 0
none /lib/init/rw tmpfs rw,nosuid,relatime,mode=755 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime 0 0
gvfs-fuse-daemon /home/roc/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 0 0
roc@babbage:~$ sudo mount -t devtmpfs -o mode=0755 none dev
[sudo] password for roc:
roc@babbage:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 152459812 2447320 142267960 2% /
none 234340 22336 212004 10% /dev
none 239172 1164 238008 1% /dev/shm
none 239172 84 239088 1% /var/run
none 239172 0 239172 0% /var/lock
none 239172 0 239172 0% /lib/init/rw
none 234340 22336 212004 10% /home/roc/dev
roc@babbage:~$ cd dev/
roc@babbage:~/dev$ ls
apm_bios loop2 ram10 snd tty26 tty48 uio0
binder loop3 ram11 stderr tty27 tty49 urandom
block loop4 ram12 stdin tty28 tty5 vcs
bus loop5 ram13 stdout tty29 tty50 vcs1
char loop6 ram14 tty tty3 tty51 vcs2
console loop7 ram15 tty0 tty30 tty52 vcs3
cpu_dma_latency mapper ram2 tty1 tty31 tty53 vcs4
disk mem ram3 tty10 tty32 tty54 vcs5
ecryptfs mmcblk0 ram4 tty11 tty33 tty55 vcs6
fb0 mmcblk0p1 ram5 tty12 tty34 tty56 vcs7
fb1 mmcblk0p2 ram6 tty13 tty35 tty57 vcsa
fb2 mxc_iim ram7 tty14 tty36 tty58 vcsa1
fd mxc_ipu ram8 tty15 tty37 tty59 vcsa2
full mxc_vpu ram9 tty16 tty38 tty6 vcsa3
fuse network_latency random tty17 tty39 tty60 vcsa4
hidraw0 network_throughput rfkill tty18 tty4 tty61 vcsa5
i2c-0 null rtc0 tty19 tty40 tty62 vcsa6
i2c-1 pktcdvd sahara tty2 tty41 tty63 vcsa7
i2c-3 ppp sda tty20 tty42 tty7 watchdog
input psaux sda1 tty21 tty43 tty8 zero
kmsg ptmx sda2 tty22 tty44 tty9
log pts sda5 tty23 tty45 ttymxc0
loop0 ram0 sg0 tty24 tty46 ttymxc1
loop1 ram1 shm tty25 tty47 ttymxc2
roc@babbage:~/dev$ cd ..
--

Cheers,
-Bryan