[Bug 892249] New: r592 IRQ: DMA errors cause log files to grow *HUGE*
https://bugzilla.novell.com/show_bug.cgi?id=892249 https://bugzilla.novell.com/show_bug.cgi?id=892249#c0 Summary: r592 IRQ: DMA errors cause log files to grow *HUGE* Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: All OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: gordon@dickens.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 I am seeing this problem on OpenSUSE with kernel-desktop versions 3.15.6 (stable repo) and 3.16.0 (HEAD repo). The log files on my laptop, /var/log/messages and /var/log/warn, will grow HUGE with the following repeated over and over along with some extraneous related log entries: 2014-08-15T12:18:41.396981-04:00 localhost kernel: [17310.691176] r592: IRQ: card added 2014-08-15T12:18:41.396983-04:00 localhost kernel: [17310.691178] r592: IRQ: DMA error . <snip> . 2014-08-15T12:18:41.397001-04:00 localhost kernel: [17311.223846] r592: IRQ: card added 2014-08-15T12:18:41.397004-04:00 localhost kernel: [17311.223847] r592: IRQ: DMA error On any given day, there will be tens of thousands of these entries such that /var/log/messages and /var/log/warn will both exceed 3GB within a day (over 6GB total). I believe that this bug is generated due to the presence of a Ricoh R5C592 Memory Stick Adapter on my laptop and which has never been properly recognized by the stock linux kernels. Apparently, the kernel developers keep trying to make it work but have now introduced a "bigger" problem so to speak since it is now causing all these extraneous error messages to be generated in the logs. I am seeing this bug on OpenSUSE with kernel-desktop versions 3.15.6 and 3.16.0. This bug does not appear to be present in the OpenSUSE stock 3.11.6 and 3.11.10 kernels. I have since reverted back to the earlier kernels that don't have this problem. This bug has also been reported at Red Hat's bugzilla at: https://bugzilla.redhat.com/show_bug.cgi?id=1119361 IMHO, this bug needs to be fixed prior to the release of OpenSUSE 13.2. FYI, Gordon Reproducible: Always Steps to Reproduce: 1. Boot 2. Wait a while. It sometimes takes an hour or two for the log errors to begin at top volume. Actual Results: Logs grow *HUGE* with r592IRQ: DMA errors and related entries. Expected Results: Logger should not produce error messages of this magnitude and size. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=892249
https://bugzilla.novell.com/show_bug.cgi?id=892249#c
Gordon Dickens
https://bugzilla.novell.com/show_bug.cgi?id=892249
https://bugzilla.novell.com/show_bug.cgi?id=892249#c1
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=892249
https://bugzilla.novell.com/show_bug.cgi?id=892249#c2
--- Comment #2 from Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=892249
https://bugzilla.novell.com/show_bug.cgi?id=892249#c3
--- Comment #3 from Gordon Dickens
https://bugzilla.novell.com/show_bug.cgi?id=892249
https://bugzilla.novell.com/show_bug.cgi?id=892249#c4
--- Comment #4 from Gordon Dickens
https://bugzilla.novell.com/show_bug.cgi?id=892249
https://bugzilla.novell.com/show_bug.cgi?id=892249#c5
--- Comment #5 from Takashi Iwai
I am not a kernel developer and so I'm not sure how to build r592.c with the patch, however, I would be happy to test it if somebody else would build it for me. Alternatively, if its simple to do, then please provide some instructions and I will attempt to build it.
Yes, you should learn how to build a kernel and a patched module. There are a few good ways. I'll give some brief instructions later.
Also, the following is from a post at:
https://forums.opensuse.org/showthread.php/494706-openSUSE-13-1-KDE-inconsis...
Quoting Romanator: "The most recent openSUSE kernel (3.11.10-21-desktop) Makefile for the r592.c from Maxim Levitsky is from 2010. His final patch wasn't submitted until Jan. 8, 2011. <snip> Ask the openSUSE kernel devs to look at and backport patch #5b945a6 from this link: https://gitorious.org/ricoh-kernel/ricoh-kernel.git ".
So, it doesn't look like the OpenSUSE kernel has the most recent r592 driver...
You're testing 3.15 and 3.16, so the above statement doesn't fit at all.
Also, there is a good bit of recent activity by the r592 developer, Maxim Levitsky, on this exact same bug at Red Hat's Bugzilla site here:
https://bugzilla.redhat.com/show_bug.cgi?id=1119361
The bottom line is that someone needs to make sure that OpenSUSE is using the most recent version of r592.c.
No, r592 developer has to submit the fix to the upstream at first. This is the golden rule. In general, we take *only* the upstream fix (or the patch that is promised to upstream) to openSUSE kernels. If there is a problem of upstreaming, put me in Cc in chain, so that I can assist for it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=892249
https://bugzilla.novell.com/show_bug.cgi?id=892249#c6
--- Comment #6 from Takashi Iwai
(In reply to comment #3)
I am not a kernel developer and so I'm not sure how to build r592.c with the patch, however, I would be happy to test it if somebody else would build it for me. Alternatively, if its simple to do, then please provide some instructions and I will attempt to build it.
Yes, you should learn how to build a kernel and a patched module. There are a few good ways. I'll give some brief instructions later.
A quick way to rebuild a module is like below: 1. Install kernel-source and kernel-desktop-devel packages. 2. Copy the relevant driver code to the local directory. Suppose you'll work on a directory /somewhere/test to compile the module: % mkdir /somewhere/test % cp -a /usr/src/linux/drivers/memstick/host /somewhere/test 3. Patch the code. In this case, pass -p4 to strip the paths: % cd /somewhere/test % patch -p4 < /yetsomewhere/r592.patch 4. Build the module. This is the tricky part. Pass -C option to make. % make -C /usr/src/linux-obj/x86_64/desktop M=$(pwd) modules 5. If successful built, install it to the updates directory. Do this as root. % su .... # mkdir -p /lib/modules/$(uname -r)/updates # cp *.ko /lib/modules/$(uname -r)/updates # depmod -a 6. Confirm that the module will be loaded from the new path. The command below should give the path with "updates" path: % /usr/sbin/modinfo r592 | grep filename filename: /lib/modules/..../updates/r592.ko 7. Retest. If anything goes wrong, just remove the updated modules from /lib/modules/*/updates/* directory. Since this rebuilds only a few modules, it won't take time at all, at most 5 minutes or so. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=892249
--- Comment #14 from Gordon Dickens
http://bugzilla.novell.com/show_bug.cgi?id=892249
--- Comment #15 from Gordon Dickens
http://bugzilla.novell.com/show_bug.cgi?id=892249
--- Comment #16 from Gordon Dickens
http://bugzilla.novell.com/show_bug.cgi?id=892249
--- Comment #17 from Takashi Iwai
http://bugzilla.novell.com/show_bug.cgi?id=892249
--- Comment #18 from Gordon Dickens
http://bugzilla.novell.com/show_bug.cgi?id=892249
--- Comment #19 from Gordon Dickens
http://bugzilla.novell.com/show_bug.cgi?id=892249
--- Comment #20 from Takashi Iwai
http://bugzilla.novell.com/show_bug.cgi?id=892249
--- Comment #21 from Gordon Dickens
http://bugzilla.novell.com/show_bug.cgi?id=892249
--- Comment #22 from Gordon Dickens
http://bugzilla.novell.com/show_bug.cgi?id=892249
Jiri Slaby
http://bugzilla.novell.com/show_bug.cgi?id=892249
Jiri Slaby
participants (1)
-
bugzilla_noreply@novell.com