public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* linux-2.6.28-rc8 wedges in twl_mmc_set_voltage()...
@ 2009-12-03 17:57 Peter Barada
  0 siblings, 0 replies; only message in thread
From: Peter Barada @ 2009-12-03 17:57 UTC (permalink / raw)
  To: linux-omap

I've run across a semi-consistent (~15%) hang on Logic's omap3530 LV SOM
running a 2.6.28-rc8 omap kernel where it dies in twl_mmc_set_voltage().
Adding in printk's perturbs the frequency of failure, but it
consistently dies on the same call. I've added the following
printk's(and others) in twl_mmc_set_voltage() to straddle the failure:

 	printk("%s: dev_grp_val 0x%x vmmc_dev_grp 0x%x\n", __FUNCTION__, dev_grp_val, c->twl_vmmc_dev_grp);

	ret = twl4030_i2c_write_u8(TWL4030_MODULE_PM_RECEIVER,
					dev_grp_val, c->twl_vmmc_dev_grp);
	printk("%s:%d ret %d\n", __FUNCTION__, __LINE__, ret);
	if (ret)
		return ret;

When it dies, I consistently see the first printk, but not the 2nd after
returning from twl4030_i2c_write_u8().  The log (when it dies) looks
like:

cpuidle: using governor ladder                                                  
cpuidle: using governor menu                                                    
mmci-omap-hs mmci-omap-hs.0: mmc_fclk: enabled                                  
mmci-omap-hs mmci-omap-hs.0: Failed to get debounce clock                       
omap_mmc_probe:1180                                                             
twl_mmc1_set_power: slot 0 power_on 0 vdd 0                                     
twl_mmc1_set_power:294                                                          
twl_mmc_set_voltage: vdd 0                                                      
twl_mmc_set_voltage: dev_grp_val 0x0 vmmc_dev_grp 0x27                          


What's really weird is that Sysrq won't tell me anything after its died.
As a result I'm really stumped on trying to figure out what's gone
wrong.

Has anyone stumbled across this before or have any ideas on how I can
debug this further?  I'm currently using the CodeSourcery 2009q1-203
compiler.

Thanks in advance!

-- 
Peter Barada <peterb@logicpd.com>
Logic Product Development, Inc.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-12-03 17:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-03 17:57 linux-2.6.28-rc8 wedges in twl_mmc_set_voltage() Peter Barada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox