All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stanislaw Gruszka <sgruszka@redhat.com>
To: Michal Hocko <mhocko@suse.cz>
Cc: LKML <linux-kernel@vger.kernel.org>, linux-wireless@vger.kernel.org
Subject: Re: iwl3945 didn't survive after s2ram failure
Date: Tue, 3 Jan 2012 13:23:12 +0100	[thread overview]
Message-ID: <20120103122311.GC3391@redhat.com> (raw)
In-Reply-To: <20120103103457.GA3391@redhat.com>

On Tue, Jan 03, 2012 at 11:34:58AM +0100, Stanislaw Gruszka wrote:
> On Tue, Dec 27, 2011 at 11:53:40AM +0100, Michal Hocko wrote:
> > my laptop died (due to drained batteries) while it was suspended to
> > RAM and the wireless didn't get back to life after I booted again.
> 
> I wonder how we could kill hardware that way ...
> 
> > Dmesg says:
> > cfg80211: Calling CRDA to update world regulatory domain
> > iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, in-tree:s
> > iwl3945: Copyright(c) 2003-2011 Intel Corporation
> > iwl3945 0000:05:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
> > iwl3945 0000:05:00.0: setting latency timer to 64
> > iwl3945 0000:05:00.0: MAC is in deep sleep!.  CSR_GP_CNTRL = 0xFFFFFFFF
> > iwl3945 0000:05:00.0: MAC is in deep sleep!.  CSR_GP_CNTRL = 0xFFFFFFFF
> > iwl3945 0000:05:00.0: MAC is in deep sleep!.  CSR_GP_CNTRL = 0xFFFFFFFF
> > iwl3945 0000:05:00.0: MAC is in deep sleep!.  CSR_GP_CNTRL = 0xFFFFFFFF
> > iwl3945 0000:05:00.0: MAC is in deep sleep!.  CSR_GP_CNTRL = 0xFFFFFFFF
> > iwl3945 0000:05:00.0: MAC is in deep sleep!.  CSR_GP_CNTRL = 0xFFFFFFFF
> > iwl3945 0000:05:00.0: bad EEPROM signature,EEPROM_GP=0x00000007
> > iwl3945 0000:05:00.0: EEPROM not found, EEPROM_GP=0xffffffff
> > iwl3945 0000:05:00.0: Unable to init EEPROM
> > iwl3945 0000:05:00.0: PCI INT A disabled
> > iwl3945: probe of 0000:05:00.0 failed with error -2
> > 
> > Is there anything I can do to resurrect it?
> 
> No idea. Please provide logs with debug=0x47ffffff option.
> 
> Did you try to totally power-off the laptop by removing
> battery (and power cable of course) ?
> 
> If anything other will not help, is possible to rewrite eeprom, I don't
> know how to do this, but I know that tool for that exist:
> http://code.google.com/p/iwleeprom/
Actually I do not think we overwrite eeprom, seems problem is at pci-e
bus level. Simply we can not communicate with device through pci-e bus.
That is kind a silly, but you can check if removing cart from slot
and put it back again (assuring it correctly connected) helps.
 
Stanislaw 

  reply	other threads:[~2012-01-03 12:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-27 10:53 iwl3945 didn't survive after s2ram failure Michal Hocko
2012-01-03 10:34 ` Stanislaw Gruszka
2012-01-03 12:23   ` Stanislaw Gruszka [this message]
2012-01-03 13:07     ` Michal Hocko
2012-01-05 11:26       ` Stanislaw Gruszka
2012-01-05 12:20         ` Michal Hocko
2012-01-03 13:03   ` Michal Hocko
2012-01-05 11:07     ` Stanislaw Gruszka
2012-01-05 14:19       ` Michal Hocko
2012-01-05 14:34         ` Michal Hocko
2012-01-05 15:00         ` Stanislaw Gruszka
2012-01-05 16:25           ` Michal Hocko
2012-01-05 19:44         ` Yinghai Lu
2012-01-06  8:49           ` Michal Hocko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120103122311.GC3391@redhat.com \
    --to=sgruszka@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mhocko@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.