Re: kmalloc and other memory allocation failures.

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

 



Hi,

Le Wed, 1 Aug 2007 16:02:46 -0600,
Bruce Rowen <browen@xxxxxxxxxxxx> a écrit :

> EFLAGS: 00010216   (2.6.22.1 #9)
> EIP is at __register_chrdev_region+0x61/0x180

With a quick look at the code, I can't tell you what's wrong. To
understand what's happening, you can disassemble your vmlinux kernel
(available at the root directory of your kernel sources) using 'objdump
-S', and then look at the code of __register_chrdev_region around
offset 0x61.

If you need some help to understand the code, send to the list the
disassembled version of this function.

However, this failure doesn't look like as a memory allocation failure:
the __register_chrdev_region() properly handles an allocation failure.

Sincerly,

Thomas
-- 
PETAZZONI Thomas - thomas.petazzoni@xxxxxxxx 
http://{thomas,sos,kos}.enix.org - Jabber: thomas.petazzoni@xxxxxxxxx
http://{agenda,livret}dulibre.org - http://www.toulibre.org
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E  1624 F653 CB30 98D3 F7A7

Attachment: signature.asc
Description: PGP signature


[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