← Back to team overview

tiomap-dev team mailing list archive

[Bug 633227] Re: instabilities with highmem activated

 

With the patch the kernel seems to be better, but still have mem issues.

This happened when trying to run memtester while compiling the kernel:
ubuntu@panda-maverick-usb:~$ sudo memtester -p 0xb0000000 120
memtester version 4.1.3 (32-bit)
Copyright (C) 2010 Charles Cazabon.
Licensed under the GNU General Public License version 2 (only).

pagesize is 4096
pagesizemask is 0xfffff000
want 120MB (125829120 bytes)
Loop 1:
  Stuck Address       : setting   0Connection to panda-maverick-usb.local closed.

<----- Disconnected from my ssh connection

Kernel Build:
/home/ubuntu/kernel/ubuntu-maverick/kernel/wait.c: In function ‘remove_wait_queue’:
/home/ubuntu/kernel/ubuntu-maverick/kernel/wait.c:289: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.
make[3]: *** [kernel/wait.o] Error 1
make[2]: *** [kernel] Error 2
make[2]: *** Waiting for unfinished jobs....
/home/ubuntu/kernel/ubuntu-maverick/mm/vmalloc.c: In function ‘T.534’:
/home/ubuntu/kernel/ubuntu-maverick/mm/vmalloc.c:902: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.
  CC      mm/pagewalk.o
gcc: Internal error: Segmentation fault (program cc1)
Please submit a full bug report.
See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.
make[3]: *** [mm/vmalloc.o] Segmentation fault
make[3]: *** Waiting for unfinished jobs....
gcc: Internal error: Segmentation fault (program cc1)
Please submit a full bug report.
See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.
make[3]: *** [mm/pagewalk.o] Segmentation fault
make[2]: *** [mm] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/ubuntu/kernel/ubuntu-maverick'
make: *** [/home/ubuntu/kernel/ubuntu-maverick/debian/stamps/stamp-build-omap4] Error 2

Then the went into a very unstable state (failing next memtest run).

-- 
instabilities with highmem activated
https://bugs.launchpad.net/bugs/633227
You received this bug notification because you are a member of TI OMAP
Developers, which is a direct subscriber.

Status in “linux-ti-omap4” package in Ubuntu: New

Bug description:
Seen on Maverick: 2.6.35-903.9
HW: pandaboard ES2.0

Using following kernel memory allocation (in bootargs):
mem=460M@0x80000000 mem=512M@0xA0000000

Instabilities have been observed in 2 different ways:

1) The following memtester test:
sudo memtester -p 0xb0000000 120
Fails in few seconds with a "illegal instruction” error.
Then various behaviors can be seen:  the UI can freeze, shell commands be unavailable. The systems works well again after a reboot.

2) By doing a native build of a kernel package (with file-system on SD card, and kernel sources on an NFS mount):
After 15mins to 1h30, a "compiler error: bus error" triggers and the build stops (and the platform hangs).


This issue cannot be reproduced if using mem=460M@0x80000000 mem=256M@0xA000000.
This issue cannot be reproduced with highmen deactivated from the kernel config.
This issue can be reproduced with 'nosmp' in kernel command line.