Re: [uClinux-dev] uCLinux RAM usage
Yes, I do have a jffs2 on flash (about 5 Mbytes) and a ramdisk of 4 Mbytes ( ext2, with config_expand_nozeroes ). The ramdisk is empty. Stan 2008/7/24 rwarner <[EMAIL PROTECTED]>: > Marly wrote: > >> Hi guys >> >> I have a question regarding uClinux 2.4.32 slab allocator. >> I have a system (Coldfire 5208) with 16 mbytes of Ram and 8 Mbytes of >> flash. >> When the system starts, I have: >> Memory available: 12800k/16383k RAM, 0k/0k ROM (896k kernel code, 275k >> data) >> >> > >> >> Now if I run my application ( tcl interpreter), the sum of all the buffers >> of /proc/slabinfo is about 6.5 Mbytes (!!) and free returns a ram usage of >> 9.5 Mbytes. >> => I have lost 3 Mbytes. >> Could someone tell me how to recover these Megabytes or where are they >> located ? >> > > Do you have a file system in RAM or Flash? > > > ___ > uClinux-dev mailing list > uClinux-dev@uclinux.org > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev > This message was resent by uclinux-dev@uclinux.org > To unsubscribe see: > http://mailman.uclinux.org/mailman/options/uclinux-dev > ___ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
Re: [uClinux-dev] uCLinux RAM usage
Yes it is. 2008/7/25 rwarner <[EMAIL PROTECTED]> > Marly wrote: > >> # ps -ef >> PID PORT STAT SIZE SHARED %CPU COMMAND >>1 S141K 0K 0.5 /bin/init >>2 S 0K 0K 0.0 keventd >>3 R 0K 0K 0.0 ksoftirqd_CPU0 >>4 S 0K 0K 0.0 kswapd >>5 S 0K 0K 0.0 bdflush >>6 S 0K 0K 0.0 kupdated >>7 S 0K 0K 0.0 wlan_main_servic >>8 S 0K 0K 0.0 mtdblockd >>9 S 0K 0K 0.0 khubd >> 18 S 0K 0K 0.0 jffs2_gcd_mtd1 >> 30 S0 S198K 4K 0.0 /bin/sh >> 31 S 19K 0K 0.0 /bin/inetd >> 32 S 70K 4K 0.0 /bin/syslogd -n -s 256 -b 2 >> 33 S 22K 4K 0.4 /bin/telnetd >> 34 p0 S200K 4K 0.0 sh >> 38 p0 S4638K 0K 34.0 etcl ./package >> 42 S 26K 0K 0.1 /bin/dhcpcd -t 0 -d eth0 >> 43 S 22K 4K 0.3 /bin/telnetd >> 44 p0 S205K 4K 0.1 sh >> 86 p0 R 20K 0K 0.0 ps -ef >> >> > Is this when it is running the tcl interpreter and scripts? > > > ___ > uClinux-dev mailing list > uClinux-dev@uclinux.org > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev > This message was resent by uclinux-dev@uclinux.org > To unsubscribe see: > http://mailman.uclinux.org/mailman/options/uclinux-dev > ___ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
[uClinux-dev] Kernel Stack ?
Hi, I am porting cypress EZ-Host usb driver for uclinux 2.4.32/coldfire. The system crashes ( without any messages) after module_init. there is one function call in my driver that seems to be responsible of this: toto(&int_data,0,0,0); if I replace this by toto(0,0,0,0), it does not crash anymore, even if the toto() only contains a 'return'. The 'crash' occurs only at the end of the module init ( my function toto is in the middle of the init and I can see other traces after the toto call). Could it be a kernel stack problem ? If so how could I increase this stack ? Thanks. Stan ___ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
[uClinux-dev] traces in a driver
Hi, I would like to make some traces in a driver. I can't use printk because it introduces delay and affects the driver behaviour. Is there an easy way to log some traces in a file ? Thanks for your help. Stan ___ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev