Messages in this thread | | | Date | Sun, 6 Jul 2008 14:35:30 +0200 | From | Pavel Machek <> | Subject | Re: [regression] Re: 2.6.26-rc6: pcmcia stopped working |
| |
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
| |