mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@suse.cz>
To: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Cc: kernel list <linux-kernel@vger.kernel.org>,
	"Rafael J. Wysocki" <rjw@sisk.pl>
Subject: Re: [regression] Re: 2.6.26-rc6: pcmcia stopped working
Date: Sun, 6 Jul 2008 14:35:30 +0200	[thread overview]
Message-ID: <20080706123530.GA1862@elf.ucw.cz> (raw)
In-Reply-To: <20080705224631.GA32546@elf.ucw.cz>

On Sun 2008-07-06 00:46:31, Pavel Machek wrote:
> Hi!
> 
> > > > > Hmm, hitting sysrq-w produces no blocked task until I eject pcmcia
> > > > > card. Backtrace there is:
> > > > > 
> > > > > Greg, I believe some traces lead to sysfs, can you help here?
> > > > 
> > > > ide_unregister() does not complete :-(.
> > > > 
> > > >         device_unregister(&hwif->gendev);
> > > > +       printk("ide_unregister: waiting for rel_comp\n");
> > > >         wait_for_completion(&hwif->gendev_rel_comp);
> > > > 
> > > > ...that wait_for_completion never returns.
> > 
> > [...]
> > 
> > Thanks for narrowing it down to wait_for_completion() call,
> > it was an useful hint.

Patched version seems to work here, thanks.

Tested-by: Pavel Machek <pavel@suse.cz>

There's still some funny stuff going on: Trying to free nonexistent
resource <> seems to indicate a code problem somewhere, and "hdc:
set_geometry_intr: error" is slightly scary, but the flash card seems
to work ok.
								Pavel

PM: Resume from disk failed.
Probing IDE interface ide1...
hdc: SunDisk SDP3B-20, CFA DISK drive
hdd: SunDisk SDP3B-20, CFA DISK drive
ide-probe: ignoring undecoded slave
ide1 at 0x9100-0x9107,0x910e on irq 16
hdc: max request size: 128KiB
hdc: 40960 sectors (20 MB) w/1KiB Cache, CHS=640/2/32
 hdc:hdc: set_geometry_intr: status=0x51 { DriveReady SeekComplete
Error }
hdc: set_geometry_intr: error=0x04 { DriveStatusError }
ide: failed opcode was: unknown
 hdc1 hdc3
ide-cs: hdc: Vpp = 0.0
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
...
Failure of coda_cnode_make for root: error -4
pccard: card ejected from slot 0
Trying to free nonexistent resource <000000000000910e-000000000000910e>
Trying to free nonexistent resource <0000000000009100-0000000000009107>
pccard: PCMCIA card inserted into slot 0
pcmcia: registering new device pcmcia0.0
Probing IDE interface ide1...
hdc: SunDisk SDP3B-20, CFA DISK drive
hdd: SunDisk SDP3B-20, CFA DISK drive
ide-probe: ignoring undecoded slave
ide1 at 0x9100-0x9107,0x910e on irq 16
hdc: max request size: 128KiB
hdc: 40960 sectors (20 MB) w/1KiB Cache, CHS=640/2/32
 hdc:hdc: set_geometry_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: set_geometry_intr: error=0x04 { DriveStatusError }
ide: failed opcode was: unknown
 hdc1 hdc3
ide-cs: hdc: Vpp = 0.0
Clocksource tsc unstable (delta = -63722496 ns)





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

  reply	other threads:[~2008-07-06 12:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-22 22:40 2.6.26-rc6: pcmcia stopped working after resume Pavel Machek
2008-06-23  8:13 ` Dominik Brodowski
2008-06-23  8:18   ` Pavel Machek
2008-06-23  8:30     ` Dominik Brodowski
2008-06-25 10:23       ` [regression] Re: 2.6.26-rc6: pcmcia stopped working Pavel Machek
2008-06-25 11:01         ` Pavel Machek
2008-06-25 12:03           ` Tejun Heo
2008-06-25 21:53           ` Pavel Machek
2008-06-25 22:09             ` Pavel Machek
2008-06-25 22:15               ` Pavel Machek
2008-07-05 12:48                 ` Bartlomiej Zolnierkiewicz
2008-07-05 22:46                   ` Pavel Machek
2008-07-06 12:35                     ` Pavel Machek [this message]
2008-07-08 18:06                     ` Bartlomiej Zolnierkiewicz

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=20080706123530.GA1862@elf.ucw.cz \
    --to=pavel@suse.cz \
    --cc=bzolnier@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rjw@sisk.pl \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®