Bug 810093

Summary: oops after resume with sdcard inserted
Product: [openSUSE] openSUSE 12.3 Reporter: Juergen Weigert <jw>
Component: KernelAssignee: E-mail List <kernel-maintainers>
Status: RESOLVED UPSTREAM QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: tiwai
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 357354    

Description Juergen Weigert 2013-03-18 19:22:15 UTC
After a resume from s2ram, I had to click away multiple windows offering the contents of the sdcard that I had left in the slot.

After a while, I got an oops. Reproduced from dmesg:

[247206.548325] Restarting tasks ... done.
[247206.573279] video LNXVIDEO:00: Restoring backlight state
[247206.636481] sdhci-pci 0000:15:00.2: Will use DMA mode even though HW doesn't fully claim to support it.
[247206.693730] sdhci-pci 0000:15:00.2: Will use DMA mode even though HW doesn't fully claim to support it.
[247206.751055] sdhci-pci 0000:15:00.2: Will use DMA mode even though HW doesn't fully claim to support it.
[247206.808494] sdhci-pci 0000:15:00.2: Will use DMA mode even though HW doesn't fully claim to support it.
[247206.841849] e1000e 0000:02:00.0: irq 47 for MSI/MSI-X
[247206.942238] e1000e 0000:02:00.0: irq 47 for MSI/MSI-X
[247206.942853] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[247207.064561] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[247207.706105] usb 5-1: new full-speed USB device number 33 using uhci_hcd
[247207.862759] usb 5-1: New USB device found, idVendor=0a5c, idProduct=2110
[247207.862771] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[247207.862778] usb 5-1: Product: BCM2045B
[247207.862784] usb 5-1: Manufacturer: Broadcom Corp
[247214.379620] wlan0: authenticate with 14:7d:c5:13:ac:69
[247214.379782] wlan0: send auth to 14:7d:c5:13:ac:69 (try 1/3)
[247214.381655] wlan0: authenticated
[247214.387031] wlan0: associate with 14:7d:c5:13:ac:69 (try 1/3)
[247214.389933] wlan0: RX AssocResp from 14:7d:c5:13:ac:69 (capab=0x431 status=0 aid=2)
[247214.395258] wlan0: associated
[247214.395307] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[247214.395401] cfg80211: Calling CRDA for country: GB
[247214.407709] cfg80211: Regulatory domain changed to country: GB
[247214.407717] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[247214.407720] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[247214.407723] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[247214.407726] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[247214.407729] cfg80211:   (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
[247214.465306] wlan0: Limiting TX power to 20 (20 - 0) dBm as advertised by 14:7d:c5:13:ac:69
[248223.073283] mmc0: new SDHC card at address b368
[248223.073611] mmcblk0: mmc0:b368 USD   14.9 GiB 
[248223.075237]  mmcblk0: p1
[248234.046193] mmc0: card b368 removed
[248234.049013] sdhci-pci 0000:15:00.2: Will use DMA mode even though HW doesn't fully claim to support it.
[248234.108141] sdhci-pci 0000:15:00.2: Will use DMA mode even though HW doesn't fully claim to support it.
[248234.171008] sdhci-pci 0000:15:00.2: Will use DMA mode even though HW doesn't fully claim to support it.
[248234.231084] sdhci-pci 0000:15:00.2: Will use DMA mode even though HW doesn't fully claim to support it.
[248234.288734] sdhci-pci 0000:15:00.2: Will use DMA mode even though HW doesn't fully claim to support it.
[248246.346250] mmc0: new SDHC card at address b368
[248246.346518] mmcblk0: mmc0:b368 USD   14.9 GiB 
[248246.348265]  mmcblk0: p1
[248266.970210] mmc0: card b368 removed
[248266.975011] sdhci-pci 0000:15:00.2: Will use DMA mode even though HW doesn't fully claim to support it.
[248267.037032] sdhci-pci 0000:15:00.2: Will use DMA mode even though HW doesn't fully claim to support it.
[248267.097825] sdhci-pci 0000:15:00.2: Will use DMA mode even though HW doesn't fully claim to support it.
[248267.190150] mmc0: new SDHC card at address b368
[248267.195059] mmcblk0: mmc0:b368 USD   14.9 GiB 
[248267.197176]  mmcblk0: p1
[248268.516277] mmc0: card b368 removed
[248268.523010] sdhci-pci 0000:15:00.2: Will use DMA mode even though HW doesn't fully claim to support it.
[248268.539083] VFS: Busy inodes after unmount of mmcblk0p1. Self-destruct in 5 seconds.  Have a nice day...
[248268.541063] BUG: unable to handle kernel paging request at 20736574
[248268.541135] IP: [<c035b4d0>] iput+0x60/0x160
[248268.541183] *pdpt = 0000000031617001 *pde = 0000000000000000 
[248268.541240] Oops: 0000 [#1] PREEMPT SMP 
[248268.541283] Modules linked in: usb_storage tun cdc_acm ftdi_sio usbserial nls_iso8859_1 nls_cp437 btrfs zlib_deflate libcrc32c ufs qnx4 hfsplus hfs minix vfat msdos fat jfs xfs reiserfs dm_mod fuse af_packet cpufreq_conservative cpufreq_userspace cpufreq_powersave btusb bluetooth snd_hda_codec_analog thinkpad_acpi snd_hda_intel snd_hda_codec snd_hwdep snd_pcm acpi_cpufreq mperf coretemp snd_seq snd_timer kvm_intel kvm iTCO_wdt iTCO_vendor_support mmc_block snd_seq_device arc4 iwl3945 iwlegacy mac80211 sdhci_pci pcmcia nsc_ircc cfg80211 snd sdhci lpc_ich sg mmc_core microcode irda rfkill mfd_core yenta_socket pcmcia_rsrc pcmcia_core i2c_i801 pcspkr firewire_ohci firewire_core crc_itu_t soundcore crc_ccitt ac battery e1000e snd_page_alloc tpm_tis tpm tpm_bios autofs4 thermal i915 drm_kms_helper drm i2c_algo_bit processor button video thermal_sys scsi_dh_alua scsi_dh_rdac scsi_dh_emc scsi_dh_hp_sw scsi_dh ata_generic pata_acpi ata_piix
[248268.542008] Pid: 1084, comm: gvfsd-trash Not tainted 3.7.10-1.1-desktop #1 LENOVO 1704R8G/1704R8G
[248268.542008] EIP: 0060:[<c035b4d0>] EFLAGS: 00010246 CPU: 0
[248268.542008] EIP is at iput+0x60/0x160
[248268.542008] EAX: 00000001 EBX: cb9f58c8 ECX: 00000001 EDX: cb9f591c
[248268.542008] ESI: cb9f591c EDI: f1dc5000 EBP: 20736564 ESP: f1bb1f6c
[248268.542008]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[248268.542008] CR0: 8005003b CR2: 20736574 CR3: 31ba1000 CR4: 000007f0
[248268.542008] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[248268.542008] DR6: ffff0ff0 DR7: 00000400
[248268.542008] Process gvfsd-trash (pid: 1084, ti=f1bb0000 task=f1baf2b0 task.ti=f1bb0000)
[248268.542008] Stack:
[248268.542008]  e916a450 f1e14480 e916a464 f1e144bc c037d839 00000000 cb9f58c8 f1660180
[248268.542008]  e916a450 f1e144cc 00000001 c037f2dc 00000001 00000006 08c0b078 08c02738
[248268.542008]  f1bb0000 c0707ee0 00000006 00000061 b772e000 08c0b078 08c02738 08c1a910
[248268.542008] Call Trace:
[248268.542008]  [<c037d839>] fsnotify_destroy_mark+0x149/0x170
[248268.542008]  [<c037f2dc>] sys_inotify_rm_watch+0x5c/0xa0
[248268.542008]  [<c0707ee0>] syscall_call+0x7/0xb
[248268.542008]  [<b73c9db1>] 0xb73c9db0
[248268.542008] Code: 1a 8b 1c 24 8b 74 24 04 8b 7c 24 08 8b 6c 24 0c 83 c4 10 c3 8d b4 26 00 00 00 00 8b 7b 1c f6 43 68 08 8b 6f 20 0f 85 d1 00 00 00 <8b> 55 10 85 d2 0f 84 7d 00 00 00 89 d8 ff d2 85 c0 0f 85 89 00
[248268.542008] EIP: [<c035b4d0>] iput+0x60/0x160 SS:ESP 0068:f1bb1f6c
[248268.542008] CR2: 0000000020736574
[248268.594807] ---[ end trace 4ccd4b7377324790 ]---
[248268.594813] note: gvfsd-trash[1084] exited with preempt_count 1
Comment 1 Takashi Iwai 2014-12-03 07:04:54 UTC
This is an ancient PM issue of the old mmc driver.  The newer kernels should work better.

Feel free to reopen if this still happens on openSUSE 13.2.