All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Putting the sdhci to sleep safely [with attachments]
       [not found] <458FA64E.7070501@mobily.com>
@ 2006-12-25 21:14 ` Pavel Machek
  2006-12-26  1:05   ` Tony Mobily
  0 siblings, 1 reply; 5+ messages in thread
From: Pavel Machek @ 2006-12-25 21:14 UTC (permalink / raw)
  To: Tony Mobily; +Cc: Greg Kroah-Hartman, kernel list

Hi!

(Please always cc: linux-kernel@ with such stuff).

> I am the Editor In Chief of Free Software Magazine
> (http://www.freesoftwaremagazine.com)
> I am in a bit of a mission: I would like to see the module sdhci put my
> card reader to sleep without getting the system highly
> unstable. This is

Well, suspend works for me, and my machine seems to have sdhci:

0000:15:00.2 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host
Adapter (rev 18)

> Pierre Ossman, the maintainer of the sdhci module, wrote to me:
> 
> "Anyway, as far as I know, this isn't a bug in the driver, so there is
> not very much I can do. The problem is somewhere in the PCI interaction,
> but I've sent numerous mail to the kernel PCI hackers, but have yet to
> receive a single reply."

I've certainly not seen such a mail. Can you get info what is wrong
with that, and cc lkml, me and greg?

> This is why I felt there was no point for me to file a big report...

> So, here I am... please find attache my lspci and the log of what
> happens when the computer is put to sleep.
> 
> I would also be happy to organise a bounty for this bug to be fixed.

:-). Just hunt it yourself. It is probably easier than organizing a bounty.

Ouch... you failed to mention what kernel you are using?
								Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Putting the sdhci to sleep safely [with attachments]
  2006-12-25 21:14 ` Putting the sdhci to sleep safely [with attachments] Pavel Machek
@ 2006-12-26  1:05   ` Tony Mobily
  2006-12-26 14:42     ` Pavel Machek
  0 siblings, 1 reply; 5+ messages in thread
From: Tony Mobily @ 2006-12-26  1:05 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Greg Kroah-Hartman, kernel list

Hi,

> (Please always cc: linux-kernel@ with such stuff).

Gosh, alright. I am gonna embarrass myself here, but I guess this is
part of the game...! :-D

>> I am the Editor In Chief of Free Software Magazine
>> (http://www.freesoftwaremagazine.com)
>> I am in a bit of a mission: I would like to see the module sdhci put my
>> card reader to sleep without getting the system highly
>> unstable. This is
> 
> Well, suspend works for me, and my machine seems to have sdhci:
> 
> 0000:15:00.2 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host
> Adapter (rev 18)

Alright, that's what I have as well...

0a:01.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822
SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)

>> Pierre Ossman, the maintainer of the sdhci module, wrote to me:
>>
>> "Anyway, as far as I know, this isn't a bug in the driver, so there is
>> not very much I can do. The problem is somewhere in the PCI interaction,
>> but I've sent numerous mail to the kernel PCI hackers, but have yet to
>> receive a single reply."
> 
> I've certainly not seen such a mail. 

OK. I guess there was a bit of a communication problem here. I am more
than happy to

> Can you get info what is wrong
> with that, and cc lkml, me and greg?

Sure thing!

>> So, here I am... please find attache my lspci and the log of what
>> happens when the computer is put to sleep.
>>
>> I would also be happy to organise a bounty for this bug to be fixed.
> 
> :-). Just hunt it yourself. It is probably easier than organizing a bounty.

OK. I had a look at the code, and I foind it depressing. Not because it
was bad, but because it reminded me of how hopeless I am!
I can do my best to get you guys to communicate, *and* to get some
testing done - I am more than happy to spend as long as it takes
testing, compiling patches, and putting my laptop to sleep over and over
and over again. But coding... nope. Not on *this* code...

> Ouch... you failed to mention what kernel you are using?

I told you I'd embarrass myself...

Linux merc-laptop 2.6.19-7-generic #2 SMP Mon Dec 4 16:46:19 UTC 2006
i686 GNU/Linux

I am trying to gather some information - will report back to you ASAP.

Merc.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Putting the sdhci to sleep safely [with attachments]
  2006-12-26  1:05   ` Tony Mobily
@ 2006-12-26 14:42     ` Pavel Machek
  2006-12-26 14:45       ` Tony Mobily
  0 siblings, 1 reply; 5+ messages in thread
From: Pavel Machek @ 2006-12-26 14:42 UTC (permalink / raw)
  To: Tony Mobily; +Cc: Greg Kroah-Hartman, kernel list

Hi!

> >> So, here I am... please find attache my lspci and the log of what
> >> happens when the computer is put to sleep.
> >>
> >> I would also be happy to organise a bounty for this bug to be fixed.
> > 
> > :-). Just hunt it yourself. It is probably easier than organizing a bounty.
> 
> OK. I had a look at the code, and I foind it depressing. Not because it
> was bad, but because it reminded me of how hopeless I am!
> I can do my best to get you guys to communicate, *and* to get some
> testing done - I am more than happy to spend as long as it takes
> testing, compiling patches, and putting my laptop to sleep over and over
> and over again. But coding... nope. Not on *this* code...

Come on, C is not that hard.

> > Ouch... you failed to mention what kernel you are using?
> 
> I told you I'd embarrass myself...
> 
> Linux merc-laptop 2.6.19-7-generic #2 SMP Mon Dec 4 16:46:19 UTC 2006
> i686 GNU/Linux

Okay, so trying 2.6.20-rc2 is good first step.

And then description what the problem is. My machine sleeps okay with
sdhci loaded... If I can reproduce, chance to do something about it
gets bigger.
									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Putting the sdhci to sleep safely [with attachments]
  2006-12-26 14:42     ` Pavel Machek
@ 2006-12-26 14:45       ` Tony Mobily
  2006-12-26 14:49         ` Pavel Machek
  0 siblings, 1 reply; 5+ messages in thread
From: Tony Mobily @ 2006-12-26 14:45 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Greg Kroah-Hartman, kernel list, Pierre Ossman

Hi,

> Okay, so trying 2.6.20-rc2 is good first step.

OK.

> And then description what the problem is. My machine sleeps okay with
> sdhci loaded... If I can reproduce, chance to do something about it
> gets bigger.

Would it be easier/better if I managed to get to you a Lenovo 3000 V100
(which *definitely* has the problem) for testing for 1 month?

Merc.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Putting the sdhci to sleep safely [with attachments]
  2006-12-26 14:45       ` Tony Mobily
@ 2006-12-26 14:49         ` Pavel Machek
  0 siblings, 0 replies; 5+ messages in thread
From: Pavel Machek @ 2006-12-26 14:49 UTC (permalink / raw)
  To: Tony Mobily; +Cc: Greg Kroah-Hartman, kernel list, Pierre Ossman

Hi!

> > Okay, so trying 2.6.20-rc2 is good first step.
> 
> OK.
> 
> > And then description what the problem is. My machine sleeps okay with
> > sdhci loaded... If I can reproduce, chance to do something about it
> > gets bigger.
> 
> Would it be easier/better if I managed to get to you a Lenovo 3000 V100
> (which *definitely* has the problem) for testing for 1 month?

No, I do not think I've time for that.
								Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-12-26 14:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <458FA64E.7070501@mobily.com>
2006-12-25 21:14 ` Putting the sdhci to sleep safely [with attachments] Pavel Machek
2006-12-26  1:05   ` Tony Mobily
2006-12-26 14:42     ` Pavel Machek
2006-12-26 14:45       ` Tony Mobily
2006-12-26 14:49         ` Pavel Machek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.