partprobe crashes kernel with RIP sysfs_create_link called from add_partition and emcp module

Solution Verified - Updated -

Issue

  • Running /sbin/partprobe without any options sometimes causes a system crash with following error messages on the console:

    ----------- [cut here ] ---------
    Kernel BUG at fs/sysfs/symlink.c:88
    invalid opcode: 0000 [1] SMP 
    last sysfs file: /block/sdaw/size
    [...]        
    Code: 0f 0b 68 eb 06 2c 80 c2 58 00 eb fe 49 8b 7d 10 bd ef ff ff 
    RIP  [<ffffffff80112670>] sysfs_create_link+0x2f/0x11b
     RSP <ffff81079fe8f918>
    [...]
    

Environment

  • Red Hat Enterprise Linux 5.7
  • EMC PowerPath

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content