Skip to contentSkip to conversation

New: DMA crash with via82cxxx module

Bug 10142 [email protected] 1 participant 15 messages Mar 2, 2008 – Sep 24, 2008 libata

lore
Share & tools
lore
#0 lore raw

http://bugzilla.kernel.org/show_bug.cgi?id=10142

Summary: DMA crash with via82cxxx module
Product: IO/Storage
Version: 2.5
KernelVersion: 2.*
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: high
Priority: P1
Component: IDE
AssignedTo: [email protected]
ReportedBy: [email protected]

Latest working kernel version: all without via82cxxx module Earliest failing kernel version: all with via82cxxx module
Distribution: all
Hardware Environment: via8233 chipset
Software Environment: any
Problem Description: System crashes when DMA is on. The problem is via82cxxx module. When it's disabled system doesn't crash. The problem is that, when is disabled there is no DMA, so performance is just horrible... Due to this it's not even possible to find anything in system logs.

Steps to reproduce: Make sure DMA is on. Copy big file (so it takes longer than few seconds ;) ) and play music at the same time (or anything that involves disk use).

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#1 lore raw

[Bug 10142] DMA crash with via82cxxx module

http://bugzilla.kernel.org/show_bug.cgi?id=10142

------- Comment #1 from [email protected] 2008-03-02 05:37 -------
- Which kernel version is it?

- Do you have kernel log of the crash?
[ photo of the screen will be fine ]

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#2 lore raw

[Bug 10142] DMA crash with via82cxxx module

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=10142

------- Comment #2 from [email protected] 2008-03-02 05:52 ------- As I said, There is no log of the crash, because system just stops working. It just freezes, I can't move mouse, change console... nothing. I can only press reset button... I have tested many kernel versions, but this bug apears in 2.2, 2.4, 2.6 kernels.

Photo would be quite useless, because screen looks normal . There are no additional messages on the screen. What's more it's quite difficult to show that the screen (and anything else...) is frozen on photo ;).

PS: in 1st post should be vt8233 chipset, not via8233 chipset (which doesn't exist ;) ).

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#3 lore raw

[Bug 10142] DMA crash with via82cxxx module

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=10142

------- Comment #3 from [email protected] 2008-03-02 06:30 ------- Have you tried 2.6.25-rc3 or 2.6.24?

- If there is no log of the crash and no error messages - why do you think it is via82cxxx is the cul?

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#5 lore raw

[Bug 10142] DMA crash with via82cxxx module

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=10142

------- Comment #5 from [email protected] 2008-03-02 07:24 ------- Because I have vt8233 chipset and this module is responsible for DMA support on this chipset (at least I think so). When I turn off DMA system is stable. This might be some other module, but it's definitely something with DMA on vt8233 chipset.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#7 lore raw

[Bug 10142] DMA crash with via82cxxx module

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=10142

------- Comment #7 from [email protected] 2008-03-02 08:15 ------- Thanks.

Please try 2.6.25-rc3, there were massive IDE changes in 2.6.24 and 2.6.25 so the issue it might got fixed already.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#8 lore raw

[Bug 10142] DMA crash with via82cxxx module

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=10142

------- Comment #8 from [email protected] 2008-03-02 23:55 ------- I have installed 2.6.25-rc kernel and doesn't even boot... I have error message:

"hdc: drive not ready for command"

which is displayed in endless loop.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#9 lore raw

[Bug 10142] DMA crash with via82cxxx module

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=10142

------- Comment #9 from [email protected] 2008-03-03 14:33 ------- This looks more and more like a broken hardware (or a very device specific problem) as via82cxxx is known to work fine with recent kernels and there were no other bugreports recently. Please send dmesg command output for the working kernel so we can see what devices are involved.

W.R.T. to 2.6.25-rc(3?) problem:

Could you try using git-bisect to narrow down the problem to a specific commit? Please install git package, get kernel git tree from kernel.org and do:

git bisect start
git bisect good 2.6.23
git bisect bad 2.6.25-rc3

It will select the kernel to test, compile and boot it to see if the problem is still there. If so do "git bisect bad" which will give you new kernel to test.
If the kernel works fine do "git bisect good" instead. After few iterations
you should find the exact commit which introduced the bug.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#10 lore raw

[Bug 10142] DMA crash with via82cxxx module

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=10142

------- Comment #10 from [email protected] 2008-03-07 11:49 ------- Ok, I've tested kernel version 2.6.24.8 and it didn't creash, but it's doesn't mean that it won't crash later. I'll test it for a week or so and see if it works fine. The problem with testing is that system may crash after few minutes or after few weeks. Even if finding kernel with git bisect might take only few iterations, one iteration may take very long time... I haven't found any software that always makes system crash...

And about "drive not ready for command" error. This is related to Benq DVD drive, and is discribed here:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/182996. I've disconnected Benq drive and system did boot.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#11 lore raw

[Bug 10142] DMA crash with via82cxxx module

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=10142

------- Comment #11 from [email protected] 2008-03-07 12:09 -------

| And about "drive not ready for command" error. This is related to Benq DVD
| drive, and is discribed here:
| https://bugs.launchpad.net/ubuntu/+source/linux/+bug/182996. I've

disconnected
| Benq drive and system did boot.

Thanks but I was asking specifically for narrowing down this problem (since it looks like regression) - this would greatly help us in fixing it.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#12 lore raw

[Bug 10142] DMA crash with via82cxxx module

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=10142

------- Comment #12 from [email protected] 2008-03-15 03:11 ------- Ok, I've tested kernel 2.6.25-rc5 and it does crash (just like any other kernel).

After the crash Num Lock and Caps Lock blink, but I don't know what does it mean...

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#13 lore raw

[Bug 10142] DMA crash with via82cxxx module

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=10142

------- Comment #13 from [email protected] 2008-06-18 15:57 ------- Is the crash still present in 2.6.25 or 2.6.26-rc6?

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#14 lore raw

[Bug 10142] DMA crash with via82cxxx module

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=10142

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |REJECTED
         Resolution|                            |UNREPRODUCIBLE
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.