libreport version: 2.0.8 abrt_version: 2.0.7 cmdline: BOOT_IMAGE=/boot/vmlinuz-3.2.0-0.rc5.git0.1.fc17.x86_64 root=UUID=a2a2936f-55b2-4192-8a31-f5202c402e4d ro rd.md=0 rd.lvm=0 rd.dm=0 quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks=0 LANG=de_DE.UTF-8 KEYTABLE=de-latin1-nodeadkeys radeon.modeset=0 event_log: 2011-12-12-20:40:38> Smolt profile successfully saved kernel: 3.2.0-0.rc5.git0.1.fc17.x86_64 reason: WARNING: at lib/dma-debug.c:930 check_for_stack+0xb3/0xf0() time: Mo 12 Dez 2011 20:36:49 CET backtrace: :WARNING: at lib/dma-debug.c:930 check_for_stack+0xb3/0xf0() :Hardware name: VGN-SR41M_S :uhci_hcd 0000:00:1d.0: DMA-API: device driver maps memory fromstack [addr=ffff880115f01cd1] :Modules linked in: hid_logitech_dj(+) i2c_i801 soundcore cfg80211(O) iTCO_wdt iTCO_vendor_support uvcvideo videodev sony_laptop(+) media rfkill v4l2_compat_ioctl32 snd_page_alloc microcode sky2 uinput sunrpc sdhci_pci sdhci mmc_core firewire_ohci firewire_core crc_itu_t video radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core :Pid: 569, comm: modprobe Tainted: G O 3.2.0-0.rc5.git0.1.fc17.x86_64 #1 :Call Trace: : [<ffffffff8107cf4f>] warn_slowpath_common+0x7f/0xc0 : [<ffffffff8107d046>] warn_slowpath_fmt+0x46/0x50 : [<ffffffff81325453>] check_for_stack+0xb3/0xf0 : [<ffffffff8132569d>] debug_dma_map_page+0xed/0x140 : [<ffffffff8146dd70>] usb_hcd_map_urb_for_dma+0x520/0x5c0 : [<ffffffff81191d32>] ? set_track+0x62/0x1a0 : [<ffffffff8146f81e>] ? usb_alloc_urb+0x1e/0x50 : [<ffffffff8146df85>] usb_hcd_submit_urb+0x175/0x870 : [<ffffffff810ba643>] ? lockdep_init_map+0xb3/0x580 : [<ffffffff8146f374>] usb_submit_urb+0xf4/0x390 : [<ffffffff814705eb>] usb_start_wait_urb+0x7b/0x190 : [<ffffffff81470986>] usb_control_msg+0xe6/0x120 : [<ffffffff81228021>] ? sysfs_add_file+0x11/0x20 : [<ffffffff815144c2>] usbhid_output_raw_report+0xe2/0x100 : [<ffffffffa028d024>] logi_dj_recv_send_report+0x24/0x50 [hid_logitech_dj] : [<ffffffffa028dabe>] logi_dj_recv_switch_to_dj_mode.constprop.8+0x4e/0x70 [hid_logitech_dj] : [<ffffffffa028dda0>] logi_dj_probe+0x260/0x400 [hid_logitech_dj] : [<ffffffff816795eb>] ? _raw_spin_unlock+0x2b/0x50 : [<ffffffff81507f84>] hid_device_probe+0xb4/0x140 : [<ffffffff81229da3>] ? sysfs_create_link+0x13/0x20 : [<ffffffff813f738c>] driver_probe_device+0x9c/0x300 : [<ffffffff813f769b>] __driver_attach+0xab/0xb0 : [<ffffffff813f75f0>] ? driver_probe_device+0x300/0x300 : [<ffffffff813f75f0>] ? driver_probe_device+0x300/0x300 : [<ffffffff813f6164>] bus_for_each_dev+0x64/0xa0 : [<ffffffff813f6f8e>] driver_attach+0x1e/0x20 : [<ffffffff813f6b80>] bus_add_driver+0x1c0/0x2b0 : [<ffffffffa0052000>] ? 0xffffffffa0051fff : [<ffffffff813f7c16>] driver_register+0x76/0x140 : [<ffffffff81318858>] ? __raw_spin_lock_init+0x38/0x70 : [<ffffffffa0052000>] ? 0xffffffffa0051fff : [<ffffffff81508076>] __hid_register_driver+0x66/0xa0 : [<ffffffffa0052047>] logi_dj_init+0x47/0x1000 [hid_logitech_dj] : [<ffffffff81002040>] do_one_initcall+0x40/0x180 : [<ffffffff810ce1b0>] sys_init_module+0xc0/0x230 : [<ffffffff81682382>] system_call_fastpath+0x16/0x1b smolt_data: : : :Allgemein :================================= :UUID: 967aab77-efb0-493a-98f4-6e4a5cc9fe99 :OS: Fedora release 16 (Verne) :Standard-Runlevel: Unknown :Sprache: de_DE.UTF-8 :Plattform: x86_64 :BogoMIPS: 3988.98 :CPU-Anbieter: GenuineIntel :CPU-Modell: Intel(R) Core(TM)2 Duo CPU T6400 @ 2.00GHz :CPU-Stepping: 10 :CPU Familie: 6 :CPU-Modellnummer: 23 :Anzahl der CPUs: 2 :CPU-Geschwindigkeit: 2000 :Systemspeicher: 3903 :System-Swap: 2047 :Anbieter: Sony Corporation :System: VGN-SR41M_S C601R6TA :Form-Faktor: Notebook :Kernel: 3.2.0-0.rc5.git0.1.fc17.x86_64 :SELinux aktiviert: 1 :SELinux-Richtlinie: targeted :SELinux erzwingen: Enforcing :MythTV Remote: Unknown :MythTV Role: Unknown :MythTV Theme: Unknown :MythTV Plugin: :MythTV Tuner: -1 : : :Geräte :================================= :(32902:10816:4173:36915) pci, None, HOST/PCI, Mobile 4 Series Chipset Memory Controller Hub :(32902:10817:4173:36915) pci, pcieport, PCI/PCI, Mobile 4 Series Chipset PCI Express Graphics Port :(32902:10544:4173:36915) pci, i801_smbus, SERIAL, 82801I (ICH9 Family) SMBus Controller :(32902:10537:4173:36915) pci, ahci, STORAGE, ICH9M/M-E SATA AHCI Controller :(32902:10521:4173:36915) pci, None, PCI/ISA, ICH9M LPC Interface Controller :(4523:17236:4173:36915) pci, sky2, ETHERNET, 88E8040 PCI-E Fast Ethernet Controller :(32902:10549:4173:36915) pci, uhci_hcd, USB, 82801I (ICH9 Family) USB UHCI Controller #2 :(32902:9288:4173:36915) pci, None, PCI/PCI, 82801 Mobile PCI Bridge :(32902:10553:4173:36915) pci, uhci_hcd, USB, 82801I (ICH9 Family) USB UHCI Controller #6 :(32902:10550:4173:36915) pci, uhci_hcd, USB, 82801I (ICH9 Family) USB UHCI Controller #3 :(32902:10554:4173:36915) pci, ehci_hcd, USB, 82801I (ICH9 Family) USB2 EHCI Controller #1 :(32902:10556:4173:36915) pci, ehci_hcd, USB, 82801I (ICH9 Family) USB2 EHCI Controller #2 :(32902:10564:4173:36915) pci, pcieport, PCI/PCI, 82801I (ICH9 Family) PCI Express Port 3 :(32902:10566:4173:36915) pci, pcieport, PCI/PCI, 82801I (ICH9 Family) PCI Express Port 4 :(32902:10560:4173:36915) pci, pcieport, PCI/PCI, 82801I (ICH9 Family) PCI Express Port 1 :(32902:10562:4173:36915) pci, pcieport, PCI/PCI, 82801I (ICH9 Family) PCI Express Port 2 :(32902:10558:4173:36915) pci, snd_hda_intel, MULTIMEDIA, 82801I (ICH9 Family) HD Audio Controller :(32902:10551:4173:36915) pci, uhci_hcd, USB, 82801I (ICH9 Family) USB UHCI Controller #4 :(32902:10548:4173:36915) pci, uhci_hcd, USB, 82801I (ICH9 Family) USB UHCI Controller #1 :(4098:43576:4173:36915) pci, snd_hda_intel, MULTIMEDIA, RV710/730 :(4098:38227:4173:36915) pci, None, VIDEO, M92 [Mobility Radeon HD 4500/5100 Series] :(4480:2098:4173:36915) pci, firewire_ohci, FIREWIRE, R5C832 IEEE 1394 Controller :(4480:2082:4173:36915) pci, sdhci-pci, BASE, R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter :(4480:1426:4173:36915) pci, r592, BASE, R5C592 Memory Stick Bus Host Adapter :(32902:16946:32902:4865) pci, iwlwifi, NETWORK, WiFi Link 5100 AGN :(32902:10552:4173:36915) pci, uhci_hcd, USB, 82801I (ICH9 Family) USB UHCI Controller #5 : : :Dateisysteminformationen :================================= :device mtpt type bsize frsize blocks bfree bavail file ffree favail :------------------------------------------------------------------- :/dev/sda4 / ext4 4096 4096 12250812 9777876 9164091 3072000 2726895 2726895 :
We indeed map stack memory for DMA in logi_dj_recv_switch_to_dj_mode() and logi_dj_recv_query_paired_devices(). But I do not see why this is a problem, we wait until DMA finish before we exit from both functions ...
Just booted my fedora 17 test OS Package: kernel OS Release: Fedora release 17 (Rawhide)
Hi, For me, this issue only occurs when I switch from kernel 3.1.x (Fedora 16) to 3.2.x (Fedora 17) c.q. usb-generic driver to hid_logitech_dj driver and had total system freezes after reboot from 3.2.x to 3.1.x. Reboots from 3.2.x to 3.2.x and from 3.1.x to 3.1.x are okay. Martin Kho
Hi, With the latest kernel (3.2.0-2.fc17.x86_64) I don't see the DMA message. So, for me at least, it seems to be solved. Thanks, Martin Kho
(In reply to comment #4) > Hi, > > With the latest kernel (3.2.0-2.fc17.x86_64) I don't see the DMA message. So, > for me at least, it seems to be solved. No, that kernel just has the debug options disabled so the warning goes away. The underlying problem is still present.
Actually I do not think there is any problem here. We use stack memory for DMA, but we wait on function that allocate stack until DMA finish. So this time issue is a DMA API debugger false positive.