[openib-general] ib_local_sa workqueue creation crash with ofed 1.2 + sles9sp3

Steve Wise swise at opengridcomputing.com
Tue Jan 23 08:55:16 PST 2007


I guess I was all wet...the latest code works with the name
"local_sa"...

Sorry for the noise...

Steve.


On Sat, 2007-01-20 at 09:44 -0600, Steve WIse wrote:
> On Sat, 2007-01-20 at 09:27 -0600, Steve WIse wrote:
> > BTW:  "local_sa" is still too long.  I reduced it to "lsa" and it
> > worked.
> > 
> 
> I cannot explain this.  The BUG_ON() is for (strlen(name) > 10).
> "local_sa" is 8...9 if you count the NUL at the end.  
> 
> But I hit that BUG_ON() for rhel4u4 and sles9sp3.  I reduced the name to
> "lsa" and it loads fine.
> 
> ????
> 
> 
> 
> > 
> > On Thu, 2007-01-18 at 14:09 -0800, Sean Hefty wrote:
> > > Can you see if the call to create_singlethread_workqueue() passes in a string
> > > longer than 8 characters?  If so, try reducing the size of the string.
> > > 
> > > I've committed a change to the local_sa.c file this morning to avoid this sort
> > > of backport issue, if this is indeed what it is.
> > > 
> > > - Sean
> > > 
> > > >Loading ib_local_sa crashes on sles9sp3 with a BUG() trap.  Is this a
> > > >known issue?
> > > >
> > > >----------- [cut here ] --------- [please bite here ] ---------
> > > >Kernel BUG at workqueue:308
> > > >invalid operand: 0000 [1] SMP
> > > >CPU 0
> > > >Pid: 7309, comm: modprobe Tainted: GF  U   (2.6.5-7.244-smp SLES9_SP3_BRANCH-
> > > >200512121832250000)
> > > >RIP: 0010:[<ffffffff8014f9c1>] <ffffffff8014f9c1>{__create_workqueue+33}
> > > >RSP: 0000:000001003f4f7d38  EFLAGS: 00010202
> > > >RAX: 000000000000000b RBX: ffffffffa02b4e69 RCX: 0000000000000bb8
> > > >RDX: 0000000000000bb8 RSI: 0000000000000001 RDI: ffffffffa02b4e69
> > > >RBP: 0000000000000001 R08: 000000000000003d R09: 0000000000000000
> > > >R10: 00000000000493e0 R11: 0000000000000001 R12: ffffffff803e3fc0
> > > >R13: 000000000000000a R14: ffffffff803e3fc0 R15: 0000000000000000
> > > >FS:  0000002a95894b00(0000) GS:ffffffff8057cc00(0000) knlGS:0000000000000000
> > > >CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
> > > >CR2: 0000000000539ccf CR3: 0000000000101000 CR4: 00000000000006e0
> > > >Process modprobe (pid: 7309, threadinfo 000001003f4f6000, task
> > > >000001001fcdc9e0)
> > > >Stack: 000001003fe3f350 ffffffff803e4020 ffffffffa02b7180 ffffffff803e3fc0
> > > >       000000000000000a ffffffff803e3fc0 ffffffffa02b2300 ffffffffa02bd08f
> > > >       ffffffff803e4020 ffffffff8015d4dd
> > > >Call Trace:<ffffffffa02bd08f>{:ib_local_sa:sa_db_init+143}
> > > ><ffffffff8015d4dd>{sys_init_module+6589}
> > > >       <ffffffff80166d5b>{generic_file_read+187}
> > > ><ffffffffa02bd000>{:ib_local_sa:sa_db_init+0}
> > > >       <ffffffff8018da34>{vfs_read+244} <ffffffff8018dc8d>{sys_read+157}
> > > >       <ffffffff80110694>{system_call+124}
> > > >
> > > >Code: 0f 0b 17 66 38 80 ff ff ff ff 34 01 66 66 90 48 8b 3d 61 50
> > > >RIP <ffffffff8014f9c1>{__create_workqueue+33} RSP <000001003f4f7d38>
> > > >
> > > >
> > > >
> > > >_______________________________________________
> > > >openib-general mailing list
> > > >openib-general at openib.org
> > > >http://openib.org/mailman/listinfo/openib-general
> > > >
> > > >To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
> > 
> > 
> > _______________________________________________
> > openib-general mailing list
> > openib-general at openib.org
> > http://openib.org/mailman/listinfo/openib-general
> > 
> > To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
> > 
> 
> 
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
> 





More information about the general mailing list