kernel panic in slab.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,
I'm porting uClinux on a new architecture and I have reached the step of init_process creation. When 'init()' function is called (init/main.c), After checking a trace, the process 'kthread' is also created, but after that the system enters in Panic.
It seems to be the following BUG_ON which is responsible for the problem:

   BUG_ON(!PageSlab(page));

If I understand correctly, PageSlab return the value of the bit defined by PG_slab (i.e number 7).
So it seems that 'page' is not contained in a slab. Am I right?
If so, what could be the problem?

Thanks in advance.
S. Lambert


Linux version 2.6.19-uc1 (gcc version 4.1.2 20080812 (Cortus release)) #39 Tue Nov 18 10:02:18 CET 2008
Built 1 zonelists.  Total pages: 1007
Kernel command line:
PID hash table entries: 16 (order: 4, 64 bytes)
Dentry cache hash table entries: 1024 (order: 0, 4096 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory available: 3920k/994k RAM, (655k kernel code, 77k data)
Mount-cache hash table entries: 512
BUG: failure at mm/slab.c:594/page_get_cache()!
Kernel panic - not syncing: BUG!


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux