Ticket #91 (closed bug: fixed)

Opened 2 years ago

Last modified 23 months ago

Oops on SD card removal

Reported by: jekhor Owned by: jekhor
Priority: critical Milestone: 0.1
Component: kernel Version: 0.1-beta1
Keywords: Cc:
Blocking: Blocked By:

Description (last modified by jekhor) (diff)

[  347.950000] IRQ 49 asserted at resume
[  347.950000] post sleep, preparing to return
[  347.950000] S3C2410 PM Resume (post-restore)
[  347.950000] restore f4000008 (restore 6ddd3dc8, was ffffffff)
[  347.950000] restore f400001c (restore 000007ff, was 000007ff)
[  347.950000] dma0: restoring configuration
[  347.950000] timer tcon=00000000, tcnt a2c1, tcfg 00000200,00000000, usec 00001eb8
[  347.950000] s3c2410-wdt: watchdog disabled
[  347.950000] s3c2410-nand s3c2410-nand: Tacls=4, 40ns Twrph0=7 70ns, Twrph1=4 40ns
[  347.955000] battery change irq: IRQ 53 was raised
[  347.970000] mmc0: card b368 removed
[  348.005000] mmc0: card b368 removed
[  348.005000] sysfs group c01f6a18 not found for kobject 'mmc0:b368'
[  348.005000] ------------[ cut here ]------------
[  348.005000] WARNING: at fs/sysfs/group.c:83 sysfs_remove_group+0x54/0xf4()
[  348.005000] Modules linked in: lbookv3_battery power_supply nls_iso8859_1 nls_cp437 evdev vfat fat nls_base s3cmci mmc_block mmc_core lbookv3_keys [last unloaded: power_supply]
[  348.005000] [<c0022df0>] (dump_stack+0x0/0x14) from [<c0031238>] (warn_on_slowpath+0x4c/0x60)
[  348.005000] [<c00311ec>] (warn_on_slowpath+0x0/0x60) from [<c00b15f8>] (sysfs_remove_group+0x54/0xf4)
[  348.005000]  r6:c104dc70 r5:c01f6a18 r4:00000000
[  348.005000] [<c00b15a4>] (sysfs_remove_group+0x0/0xf4) from [<c01122c4>] (dpm_sysfs_remove+0x18/0x20)
[  348.005000]  r6:c1c56808 r5:c01f6a54 r4:c104dc08
[  348.005000] [<c01122ac>] (dpm_sysfs_remove+0x0/0x20) from [<c0112a08>] (device_pm_remove+0x24/0x50)
[  348.005000] [<c01129e4>] (device_pm_remove+0x0/0x50) from [<c010c134>] (device_del+0x1c/0x184)
[  348.005000]  r5:c1c56800 r4:c104dc08
[  348.005000] [<c010c118>] (device_del+0x0/0x184) from [<bf009e6c>] (mmc_remove_card+0x54/0x68 [mmc_core])
[  348.005000]  r6:bf009aec r5:c1c56800 r4:c104dc00
[  348.005000] [<bf009e18>] (mmc_remove_card+0x0/0x68 [mmc_core]) from [<bf00b718>] (mmc_sd_remove+0x28/0x34 [mmc_core])
[  348.005000]  r4:c1c56800
[  348.005000] [<bf00b6f0>] (mmc_sd_remove+0x0/0x34 [mmc_core]) from [<bf00c1fc>] (mmc_sd_detect+0x50/0x70 [mmc_core])
[  348.005000]  r4:00000001
[  348.005000] [<bf00c1ac>] (mmc_sd_detect+0x0/0x70 [mmc_core]) from [<bf009c3c>] (mmc_rescan+0x150/0x18c [mmc_core])
[  348.005000]  r5:c1060000 r4:c1c56800
[  348.005000] [<bf009aec>] (mmc_rescan+0x0/0x18c [mmc_core]) from [<c0041218>] (run_workqueue+0xb0/0x138)
[  348.005000]  r5:c1060000 r4:c1f7f880
[  348.005000] [<c0041168>] (run_workqueue+0x0/0x138) from [<c0041ca8>] (worker_thread+0xe8/0xfc)
[  348.005000]  r7:c1061fa4 r6:c1f7f880 r5:c1060000 r4:c1f7f888
[  348.005000] [<c0041bc0>] (worker_thread+0x0/0xfc) from [<c0044c40>] (kthread+0x60/0x94)
[  348.005000]  r7:00000000 r6:c0041bc0 r5:c1f7f880 r4:c1060000
[  348.005000] [<c0044be0>] (kthread+0x0/0x94) from [<c0034704>] (do_exit+0x0/0x5c4)
[  348.005000]  r6:00000000 r5:00000000 r4:00000000
[  348.005000] ---[ end trace 132586b47ba3ef5c ]---
[  348.005000] Unable to handle kernel NULL pointer dereference at virtual address 0000000c
[  348.005000] pgd = c0004000
[  348.005000] [0000000c] *pgd=00000000
[  348.005000] Internal error: Oops: 17 [#1]
[  348.005000] Modules linked in: lbookv3_battery power_supply nls_iso8859_1 nls_cp437 evdev vfat fat nls_base s3cmci mmc_block mmc_core lbookv3_keys [last unloaded: power_supply]
[  348.005000] CPU: 0    Not tainted  (2.6.25-v3-armel #314)
[  348.005000] PC is at klist_del+0x14/0x3c
[  348.005000] LR is at device_del+0x28/0x184
[  348.005000] pc : [<c017d5f4>]    lr : [<c010c140>]    psr: a0000013
[  348.005000] sp : c1061ee0  ip : c1061ef8  fp : c1061ef4
[  348.005000] r10: 00000000  r9 : 00000000  r8 : 00000000
[  348.005000] r7 : 00000000  r6 : c1c56808  r5 : c104dc18  r4 : c104dc08
[  348.005000] r3 : 00000000  r2 : 00000001  r1 : 00000000  r0 : c104dc18
[  348.005000] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[  348.005000] Control: c000717f  Table: 311c4000  DAC: 00000017
[  348.005000] Process kmmcd (pid: 748, stack limit = 0xc1060268)
[  348.005000] Stack: (0xc1061ee0 to 0xc1062000)
[  348.005000] 1ee0: c104dc08 c1c56800 c1061f14 c1061ef8 c010c140 c017d5f0 c1061f2c c104dc00 
[  348.005000] 1f00: c1c56800 bf009aec c1061f2c c1061f18 bf009e6c c010c128 00000000 c1c56800 
[  348.005000] 1f20: c1061f44 c1061f30 bf00b718 bf009e28 c1c56800 00000001 c1061f5c c1061f48 
[  348.005000] 1f40: bf00c1fc bf00b700 c1c56800 c1060000 c1061f7c c1061f60 bf009c3c bf00c1bc 
[  348.005000] 1f60: c017f558 c002e138 c1f7f880 c1060000 c1061f9c c1061f80 c0041218 bf009afc 
[  348.005000] 1f80: c1f7f888 c1060000 c1f7f880 c1061fa4 c1061fd4 c1061fa0 c0041ca8 c0041178 
[  348.005000] 1fa0: 00000000 00000000 c1c24900 c0044f64 c1061fb0 c1061fb0 c1060000 c1f7f880 
[  348.005000] 1fc0: c0041bc0 00000000 c1061ff4 c1061fd8 c0044c40 c0041bd0 00000000 00000000 
[  348.005000] 1fe0: 00000000 00000000 00000000 c1061ff8 c0034704 c0044bf0 e3520c02 23a02c02 
[  348.005000] Backtrace: 
[  348.005000] [<c017d5e0>] (klist_del+0x0/0x3c) from [<c010c140>] (device_del+0x28/0x184)
[  348.005000]  r5:c1c56800 r4:c104dc08
[  348.005000] [<c010c118>] (device_del+0x0/0x184) from [<bf009e6c>] (mmc_remove_card+0x54/0x68 [mmc_core])
[  348.005000]  r6:bf009aec r5:c1c56800 r4:c104dc00
[  348.005000] [<bf009e18>] (mmc_remove_card+0x0/0x68 [mmc_core]) from [<bf00b718>] (mmc_sd_remove+0x28/0x34 [mmc_core])
[  348.005000]  r4:c1c56800
[  348.005000] [<bf00b6f0>] (mmc_sd_remove+0x0/0x34 [mmc_core]) from [<bf00c1fc>] (mmc_sd_detect+0x50/0x70 [mmc_core])
[  348.005000]  r4:00000001
[  348.005000] [<bf00c1ac>] (mmc_sd_detect+0x0/0x70 [mmc_core]) from [<bf009c3c>] (mmc_rescan+0x150/0x18c [mmc_core])
[  348.005000]  r5:c1060000 r4:c1c56800
[  348.005000] [<bf009aec>] (mmc_rescan+0x0/0x18c [mmc_core]) from [<c0041218>] (run_workqueue+0xb0/0x138)
[  348.005000]  r5:c1060000 r4:c1f7f880
[  348.005000] [<c0041168>] (run_workqueue+0x0/0x138) from [<c0041ca8>] (worker_thread+0xe8/0xfc)
[  348.005000]  r7:c1061fa4 r6:c1f7f880 r5:c1060000 r4:c1f7f888
[  348.005000] [<c0041bc0>] (worker_thread+0x0/0xfc) from [<c0044c40>] (kthread+0x60/0x94)
[  348.005000]  r7:00000000 r6:c0041bc0 r5:c1f7f880 r4:c1060000
[  348.005000] [<c0044be0>] (kthread+0x0/0x94) from [<c0034704>] (do_exit+0x0/0x5c4)
[  348.005000]  r6:00000000 r5:00000000 r4:00000000
[  348.005000] Code: e92dd830 e24cb004 e5903000 e1a05000 (e593400c) 
[  348.010000] ---[ end trace 132586b47ba3ef5c ]---
[  348.015000] MMC: killing requests for dead queue
[  348.030000] selected clock c01f6598 (pclk) quot 26, calc 115740
[  348.030000] selected clock c01f6598 (pclk) quot 26, calc 115740
[  348.035000] Restarting tasks ... done.
[  348.340000] FAT: Directory bread(block 168747) failed
[  348.340000] FAT: Directory bread(block 168748) failed
[  348.345000] FAT: Directory bread(block 168749) failed
[  348.350000] FAT: Directory bread(block 168750) failed
[  348.355000] FAT: Directory bread(block 168751) failed
[  348.360000] FAT: Directory bread(block 168752) failed
[  348.365000] FAT: Directory bread(block 168753) failed
[  348.370000] FAT: Directory bread(block 168754) failed
...

Change History

Changed 2 years ago by jekhor

  • description modified (diff)

Changed 2 years ago by dottedmag

  • milestone changed from bluesky to 0.1

It worth it to fix before 0.1 release.

Changed 2 years ago by jekhor

  • milestone changed from 0.1 to 0.2

Isn't reproduced with recent madshelf. I think that this ticket can be postponed to 0.2.

Changed 2 years ago by dottedmag

  • version set to 0.1-beta1
  • milestone changed from 0.2 to 0.1

Manifested again and again for many people. Moving back to 0.1

Changed 23 months ago by jekhor

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.