Re: [Zaurus-devel] zaurus: mmcblk0: error -110

2011-04-15 Thread Cyril Hrubis
Hi! > >> > mmc0: error -95 whilst initialising SD card > >> > >> That's interesting. Would you mind trying to bisect? (Knowing whether > >> 2.6.38 final does it, for example, would be very helpful.) > > > > It may need one or two tries on 2.6.38 but it's there too. > > > >> There aren't many -EO

Re: [Zaurus-devel] zaurus: mmcblk0: error -110

2011-04-13 Thread Marek Vasut
On Wednesday, April 13, 2011 07:10:53 PM Marek Vasut wrote: > On Tuesday, April 12, 2011 08:04:14 PM Pavel Machek wrote: > > On Tue 2011-04-12 17:52:17, Cyril Hrubis wrote: > > > Hi! > > > > > > > > Which model do you have? And check the corresponding board file if > > > > > card detect GPIO handl

Re: [Zaurus-devel] zaurus: mmcblk0: error -110

2011-04-13 Thread Marek Vasut
On Tuesday, April 12, 2011 08:04:14 PM Pavel Machek wrote: > On Tue 2011-04-12 17:52:17, Cyril Hrubis wrote: > > Hi! > > > > > > Which model do you have? And check the corresponding board file if > > > > card detect GPIO handling is doing right. > > > > > > I've got spitz (SL-3200). > > > > > >

Re: [Zaurus-devel] zaurus: mmcblk0: error -110

2011-04-12 Thread Chris Ball
Hi, On Tue, Apr 12 2011, Cyril Hrubis wrote: >> > mmc0: error -95 whilst initialising SD card >> >> That's interesting. Would you mind trying to bisect? (Knowing whether >> 2.6.38 final does it, for example, would be very helpful.) > > It may need one or two tries on 2.6.38 but it's there too.

Re: [Zaurus-devel] zaurus: mmcblk0: error -110

2011-04-12 Thread Cyril Hrubis
Hi! > > Tried 2.6.39-rc3 both with and without CONFIG_MMC_UNSAFE_RESUME and the > > insert/remove detection works but both with and without unsafe resume, if > > the > > card is removed for more than second or two it fails to recognize the card > > after insertion failing with: > > > > mmc0: error

Re: [Zaurus-devel] zaurus: mmcblk0: error -110

2011-04-12 Thread Chris Ball
Hi, On Tue, Apr 12 2011, Chris Ball wrote: > There aren't many -EOPNOTSUPP returns in the stack. I see: > > card/block.c: mmc_blk_issue_secdiscard_rq and mmc_blk_issue_discard_rq > card/core.c: mmc_erase > core/sd_ops.c: mmc_app_cmd > > Mind doing some instrumentation to figure out which it is?

Re: [Zaurus-devel] zaurus: mmcblk0: error -110

2011-04-12 Thread Chris Ball
Hi, On Tue, Apr 12 2011, Cyril Hrubis wrote: > Tried 2.6.39-rc3 both with and without CONFIG_MMC_UNSAFE_RESUME and the > insert/remove detection works but both with and without unsafe resume, if the > card is removed for more than second or two it fails to recognize the card > after insertion fail

Re: [Zaurus-devel] zaurus: mmcblk0: error -110

2011-04-12 Thread Cyril Hrubis
Hi! > >> Your symptoms match the bug that was fixed by: > >> > >> bad3babace2ee4d ("mmc: fix CONFIG_MMC_UNSAFE_RESUME regression") > >> > >> but this fix made it into 2.6.38, so if you're using 2.6.38 final then > >> you shouldn't be seeing this. Could you confirm that you have this > >> patch?

Re: [Zaurus-devel] zaurus: mmcblk0: error -110

2011-04-12 Thread Chris Ball
Hi, (Adding linux-mmc@.) On Tue, Apr 12 2011, Cyril Hrubis wrote: > Hi! > When I insert the mmc card to zaurus, it gets properly detected and prints > some > info into console. Mounting reading/writing files works fine. > > However when the card is removed (doesn't need to be mounted before), th

Re: [Zaurus-devel] zaurus: mmcblk0: error -110

2011-04-12 Thread Chris Ball
Hi, On Tue, Apr 12 2011, Cyril Hrubis wrote: >> Your symptoms match the bug that was fixed by: >> >> bad3babace2ee4d ("mmc: fix CONFIG_MMC_UNSAFE_RESUME regression") >> >> but this fix made it into 2.6.38, so if you're using 2.6.38 final then >> you shouldn't be seeing this. Could you confirm t

Re: [Zaurus-devel] zaurus: mmcblk0: error -110

2011-04-12 Thread Cyril Hrubis
Hi! > > When I insert the mmc card to zaurus, it gets properly detected and prints > > some > > info into console. Mounting reading/writing files works fine. > > > > However when the card is removed (doesn't need to be mounted before), the > > removal is most likely not detected, so when I insert

Re: [Zaurus-devel] zaurus: mmcblk0: error -110

2011-04-12 Thread Pavel Machek
On Tue 2011-04-12 17:52:17, Cyril Hrubis wrote: > Hi! > > > Which model do you have? And check the corresponding board file if > > > card detect GPIO handling is doing right. > > > > I've got spitz (SL-3200). > > > > So I suppose the board file is arch/arm/mach-pxa/spitz.c, I'll have a look. > >

Re: [Zaurus-devel] zaurus: mmcblk0: error -110

2011-04-12 Thread Cyril Hrubis
Hi! > > Which model do you have? And check the corresponding board file if > > card detect GPIO handling is doing right. > > I've got spitz (SL-3200). > > So I suppose the board file is arch/arm/mach-pxa/spitz.c, I'll have a look. Hmm, besides cleanup by Marek Vasut there were no changes in the

Re: [Zaurus-devel] zaurus: mmcblk0: error -110

2011-04-12 Thread Cyril Hrubis
Hi! > Which model do you have? And check the corresponding board file if > card detect GPIO handling is doing right. I've got spitz (SL-3200). So I suppose the board file is arch/arm/mach-pxa/spitz.c, I'll have a look. -- metan ___ Zaurus-devel maili

Re: [Zaurus-devel] zaurus: mmcblk0: error -110

2011-04-12 Thread Eric Miao
Hi Cyril, Which model do you have? And check the corresponding board file if card detect GPIO handling is doing right. - eric On Tue, Apr 12, 2011 at 11:15 PM, Cyril Hrubis wrote: > Hi! > When I insert the mmc card to zaurus, it gets properly detected and prints > some > info into console. Mou