Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

linux 2.6.12 instability

hippo, I'm starting a new thread to keep track of this...

I think 2.6.12 looks better than .16 - it hasn't failed on me yet. the patches you gave me were a bit messy though, I think maybe some things were missing. I also get these warnings on every single file compiled:

In file included from /share/nios2/tmp/linux-2.6.12/include/linux/sched.h:17,

from /share/nios2/tmp/linux-2.6.12/include/linux/module.h:10,

from /share/nios2/tmp/linux-2.6.12/init/version.c:10:

/share/nios2/tmp/linux-2.6.12/include/linux/nodemask.h: In function `__first_unset_node':

/share/nios2/tmp/linux-2.6.12/include/linux/nodemask.h:250: warning: passing arg 1 of `find_next_zero_bit' discards qualifiers from pointer target type

Page allocation failures is one thing, but I'm more worried about the kernel hanging completely like .16 was doing. I also have a feeling it's the busybox version. I noticed that in 1.1.1, the file utilities were a bit messed up. For example, here is the output from a normal 'df -h':

# busybox_old df -h

Filesystem Size Used Available Use% Mounted on

/dev/ram0 235.0k 14.0k 221.0k 6% /var

/dev/ram1 235.0k 13.0k 222.0k 6% /tmp

/dev/hda1 14.5M 12.3M 1.5M 89% /mnt/cf#

Here is the output of 1.1.1 df -h:

# df -h

Filesystem Size Used Available Use% Mounted on

/dev/ram0 235.0k 14.0k 221.0k 6% (null)

/dev/ram1 235.0k 13.0k 222.0k 6% (null)

/dev/hda1 14.5M 12.3M 1.5M 89% (null)#

All the filesystem utilities, like mke2fs, du, e2fsck, are weird like this. I will keep playing around with 2.6.12 and see what happens.

26 Replies