Unable to use Call Profiling in minix315

18 views
Skip to first unread message

Jaswinder Singh Rajput

unread,
Dec 30, 2009, 9:20:14 AM12/30/09
to rog...@meurs.org, minix3
Hello,

sprofile is working and I am trying to use call profile like this :

1. setting 1 to CPROFILE in /usr/src/include/minix/config

2. export CPROFILE="-Rcmem-p"

3. make install

4. reboot

5. profile get -o pc8139

6. profile reset

7. /usr/bin/cprofalyze.pl 2400 pc8139

But it does not show the call profiling, Am I missing some thing.

Thank you,
--
Jaswinder Singh.

Jaswinder Singh Rajput

unread,
Jan 5, 2010, 9:55:18 AM1/5/10
to rog...@meurs.org, minix3
1. setting 1 to CPROFILE in /usr/src/include/minix/config

2. export CPROFILE="-Rcem-p"

3. make install

I get :

mkfs image proto.gen || { rm -f image; false; }
sizeup ioctl: Not a typewriter
used fstat instead
mkfs: File system not big enough for all the files
Line 393 being processed when error detected.
make in /usr/src/drivers/memory/ramdisk: Exit code 1


And on reboot :

mount: Can't mount /dev/c0d0p0s2 on /usr: Invalid argument


Please let me know how can I solve above problems.

Thank,
--
Jaswinder Singh.

Antoine Leca

unread,
Jan 5, 2010, 12:32:31 PM1/5/10
to min...@googlegroups.com
Jaswinder Singh Rajput wrote:
> mkfs: File system not big enough for all the files
> Line 393 being processed when error detected.
> make in /usr/src/drivers/memory/ramdisk: Exit code 1

In src/drivers/memory/ramdisk/proto, increase the value of the first
number of the second line (the number of blocks).

Also man mkfs


Antoine

Jaswinder Singh Rajput

unread,
Jan 6, 2010, 3:48:19 AM1/6/10
to min...@googlegroups.com
Dear Antoine,

Currently src/drivers/memory/ramdisk/proto :
boot
175 400

So you mean I should increase block from 175 to 250. What about inode ?

What is the significance of inode here, is it related with number of files.

If I added more files then I have to increase inode.

I think these numbers should come automatically based upon the image.

Thank you,
--
Jaswinder Singh.

> --
> You received this message because you are subscribed to the Google Groups "minix3" group.
> To post to this group, send email to min...@googlegroups.com.
> To unsubscribe from this group, send email to minix3+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/minix3?hl=en.
>
>
>
>

Jaswinder Singh Rajput

unread,
Jan 6, 2010, 10:49:27 AM1/6/10
to min...@googlegroups.com
Dear Antoine,

In src/drivers/memory/ramdisk/proto, I replace 175 400 with 250 400

And now I am getting :

Loading Boot image 3.1.5 revision 5.
Not enough memory to load boot/image/3.1.5r5
d0p0s0>

Thanks,
--
Jaswinder Singh.


On Tue, Jan 5, 2010 at 11:02 PM, Antoine Leca <Antoine...@gmail.com> wrote:

Reply all
Reply to author
Forward
0 new messages