All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 16414] New: Panic during IO from both hard disk and CD-ROM on VIA IDE chipset using pata_via
@ 2010-07-19  7:56 bugzilla-daemon
  2010-07-19  7:58 ` [Bug 16414] " bugzilla-daemon
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-07-19  7:56 UTC (permalink / raw)
  To: linux-ide

https://bugzilla.kernel.org/show_bug.cgi?id=16414

           Summary: Panic during IO from both hard disk and CD-ROM on VIA
                    IDE chipset using pata_via
           Product: IO/Storage
           Version: 2.5
    Kernel Version: 2.6.35-rc5
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: IDE
        AssignedTo: io_ide@kernel-bugs.osdl.org
        ReportedBy: ben.livengood@gmail.com
        Regression: No


Created an attachment (id=27141)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=27141)
netconsole output for three kernel panics.

On an Averatec 3220 (Athlon XP-M, 512 MB RAM) with a VIA VT82Cx IDE controller
I can trigger a kernel panic by performing IO on both the hard disk (80 GB
Samsung MP080AH) and CD/DVD drive (QSI CD-RW/DVD-ROM SBW-242) at the same time.

The simplest way to trigger the panic is just to dump a CD image to the hard
disk:

dd if=/dev/cdrom of=cd-image

Reading from both the CD drive and from the hard disk at the same time also
causes a panic.

I can reproduce the problem on 2.6.33.4, 2.6.34, and the latest 2.6.35-rc5+
branch from git.  This problem does not occur with the depreciated IDE/ATA
driver (BLK_DEV_VIA82CXXX) on any of the kernels I have tried.

I have another system with a similar VIA IDE controller and I can't reproduce
the panic on that system, so I am guessing the problem is with the Averatec
hardware/firmware.  I've tried booting with pci=noacpi and acpi=off, but that
didn't help either.  I've also tried compiling the kernel with and without
preemption and dynamic ticks but still had the same problem.

All the kernel panics begin with "divide error: 0000 [#1]" and rarely occur in
the same function.  Of the functions I looked at none had a DIV instruction at
the crash address.  I used netconsole to dump all the kernel messages to
another machine, which I think accounts for the "eth0: Too much work at
interrupt, status=0x00000002." messages I see mixed in with the backtraces and
other messages.

In my attempt to debug the problem I compiled and loaded a kexec crash-dump
kernel and it began booting after the panic but it hangs during tsc
calibration.  I tested the crash dump kernel by manually kexec'ing it and it
booted fine.  When I added a printk to display the value of the PIT's counter 0
during the calibration loop, it always prints 0x0000.

For one of the crashdumps I enabled some printk output in libata-sff.c to show
when an interrupt occurs (__ata_sff_interrupt) and when a command is issued to
the IDE controller (ata_sff_exec_command).  The output
(averatec-broken-ata.txt) shows several hundred interleaved commands to ata1
and ata2 before the panic, and I can't discern any pattern that might show why
the panic occurred.  Sometimes ata1 (the hard disk) was the last device to
receive a command, sometimes it was ata2 (the cd-rom).

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 16414] Panic during IO from both hard disk and CD-ROM on VIA IDE chipset using pata_via
  2010-07-19  7:56 [Bug 16414] New: Panic during IO from both hard disk and CD-ROM on VIA IDE chipset using pata_via bugzilla-daemon
@ 2010-07-19  7:58 ` bugzilla-daemon
  2010-07-19  7:59 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-07-19  7:58 UTC (permalink / raw)
  To: linux-ide

https://bugzilla.kernel.org/show_bug.cgi?id=16414





--- Comment #1 from Ben Livengood <ben.livengood@gmail.com>  2010-07-19 07:58:10 ---
Created an attachment (id=27142)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=27142)
lspci -vvxx output

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 16414] Panic during IO from both hard disk and CD-ROM on VIA IDE chipset using pata_via
  2010-07-19  7:56 [Bug 16414] New: Panic during IO from both hard disk and CD-ROM on VIA IDE chipset using pata_via bugzilla-daemon
  2010-07-19  7:58 ` [Bug 16414] " bugzilla-daemon
@ 2010-07-19  7:59 ` bugzilla-daemon
  2010-07-19  8:00 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-07-19  7:59 UTC (permalink / raw)
  To: linux-ide

https://bugzilla.kernel.org/show_bug.cgi?id=16414





--- Comment #2 from Ben Livengood <ben.livengood@gmail.com>  2010-07-19 07:59:27 ---
Created an attachment (id=27143)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=27143)
dmesg from kernel 2.6.35-rc5+ boot

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 16414] Panic during IO from both hard disk and CD-ROM on VIA IDE chipset using pata_via
  2010-07-19  7:56 [Bug 16414] New: Panic during IO from both hard disk and CD-ROM on VIA IDE chipset using pata_via bugzilla-daemon
  2010-07-19  7:58 ` [Bug 16414] " bugzilla-daemon
  2010-07-19  7:59 ` bugzilla-daemon
@ 2010-07-19  8:00 ` bugzilla-daemon
  2010-07-19  8:03 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-07-19  8:00 UTC (permalink / raw)
  To: linux-ide

https://bugzilla.kernel.org/show_bug.cgi?id=16414





--- Comment #3 from Ben Livengood <ben.livengood@gmail.com>  2010-07-19 08:00:13 ---
Created an attachment (id=27144)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=27144)
Kernel 2.6.35-rc5+ config file

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 16414] Panic during IO from both hard disk and CD-ROM on VIA IDE chipset using pata_via
  2010-07-19  7:56 [Bug 16414] New: Panic during IO from both hard disk and CD-ROM on VIA IDE chipset using pata_via bugzilla-daemon
                   ` (2 preceding siblings ...)
  2010-07-19  8:00 ` bugzilla-daemon
@ 2010-07-19  8:03 ` bugzilla-daemon
  2010-07-19  8:05 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-07-19  8:03 UTC (permalink / raw)
  To: linux-ide

https://bugzilla.kernel.org/show_bug.cgi?id=16414





--- Comment #4 from Ben Livengood <ben.livengood@gmail.com>  2010-07-19 08:03:38 ---
Created an attachment (id=27145)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=27145)
Panic without additional debugging output

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 16414] Panic during IO from both hard disk and CD-ROM on VIA IDE chipset using pata_via
  2010-07-19  7:56 [Bug 16414] New: Panic during IO from both hard disk and CD-ROM on VIA IDE chipset using pata_via bugzilla-daemon
                   ` (3 preceding siblings ...)
  2010-07-19  8:03 ` bugzilla-daemon
@ 2010-07-19  8:05 ` bugzilla-daemon
  2012-07-13 14:14 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-07-19  8:05 UTC (permalink / raw)
  To: linux-ide

https://bugzilla.kernel.org/show_bug.cgi?id=16414





--- Comment #5 from Ben Livengood <ben.livengood@gmail.com>  2010-07-19 08:05:44 ---
Created an attachment (id=27146)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=27146)
Panic after booting with pci=noacpi and acpi=off

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 16414] Panic during IO from both hard disk and CD-ROM on VIA IDE chipset using pata_via
  2010-07-19  7:56 [Bug 16414] New: Panic during IO from both hard disk and CD-ROM on VIA IDE chipset using pata_via bugzilla-daemon
                   ` (4 preceding siblings ...)
  2010-07-19  8:05 ` bugzilla-daemon
@ 2012-07-13 14:14 ` bugzilla-daemon
  2012-07-13 14:16 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2012-07-13 14:14 UTC (permalink / raw)
  To: linux-ide

https://bugzilla.kernel.org/show_bug.cgi?id=16414





--- Comment #6 from old_man999@gmx.de  2012-07-13 14:14:10 ---
Created an attachment (id=75311)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=75311)
Kernel Panic after Reading from CD-Audio

Hardware:
TargaVisionaryXP
AMD AthlonXP-m
VIA KT333 w. VT8235
IDE DVD-Rom/CDRW Samsung SN324B with Firmware U103

no access to CD possible without kernel panic after a short time.
When inserting at boot time there are a lot of io errors on device.
Works normally on MS Windows without read error.
Was working before at least with kernel 2.6.18.
Tried kernels:
2.6.32 debian
3.2.   -"-
3.4
3.2. Partition magic (slackware)    <<here device is not mounting when cd is
inserted
Everything was up to date. Last try: 11.07. 2012

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 16414] Panic during IO from both hard disk and CD-ROM on VIA IDE chipset using pata_via
  2010-07-19  7:56 [Bug 16414] New: Panic during IO from both hard disk and CD-ROM on VIA IDE chipset using pata_via bugzilla-daemon
                   ` (5 preceding siblings ...)
  2012-07-13 14:14 ` bugzilla-daemon
@ 2012-07-13 14:16 ` bugzilla-daemon
  2012-07-20 12:25 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2012-07-13 14:16 UTC (permalink / raw)
  To: linux-ide

https://bugzilla.kernel.org/show_bug.cgi?id=16414





--- Comment #7 from old_man999@gmx.de  2012-07-13 14:16:10 ---
Created an attachment (id=75321)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=75321)
Kernel Panic after Reading from CD-Audio (second picture)

Hardware:
TargaVisionaryXP
AMD AthlonXP-m
VIA KT333 w. VT8235
IDE DVD-Rom/CDRW Samsung SN324B with Firmware U103

no access to CD possible without kernel panic after a short time.
When inserting at boot time there are a lot of io errors on device.
Works normally on MS Windows without read error.
Was working before at least with kernel 2.6.18.
Tried kernels:
2.6.32 debian
3.2.   -"-
3.4
3.2. Partition magic (slackware)    <<here device is not mounting when cd is
inserted
Everything was up to date. Last try: 11.07. 2012

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 16414] Panic during IO from both hard disk and CD-ROM on VIA IDE chipset using pata_via
  2010-07-19  7:56 [Bug 16414] New: Panic during IO from both hard disk and CD-ROM on VIA IDE chipset using pata_via bugzilla-daemon
                   ` (6 preceding siblings ...)
  2012-07-13 14:16 ` bugzilla-daemon
@ 2012-07-20 12:25 ` bugzilla-daemon
  2012-07-20 12:25 ` bugzilla-daemon
  2012-08-09 14:28 ` bugzilla-daemon
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2012-07-20 12:25 UTC (permalink / raw)
  To: linux-ide

https://bugzilla.kernel.org/show_bug.cgi?id=16414


Alan <alan@lxorguk.ukuu.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |old_man999@gmx.de




--- Comment #8 from Alan <alan@lxorguk.ukuu.org.uk>  2012-07-20 12:25:43 ---
*** Bug 44871 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 16414] Panic during IO from both hard disk and CD-ROM on VIA IDE chipset using pata_via
  2010-07-19  7:56 [Bug 16414] New: Panic during IO from both hard disk and CD-ROM on VIA IDE chipset using pata_via bugzilla-daemon
                   ` (7 preceding siblings ...)
  2012-07-20 12:25 ` bugzilla-daemon
@ 2012-07-20 12:25 ` bugzilla-daemon
  2012-08-09 14:28 ` bugzilla-daemon
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2012-07-20 12:25 UTC (permalink / raw)
  To: linux-ide

https://bugzilla.kernel.org/show_bug.cgi?id=16414


Alan <alan@lxorguk.ukuu.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alan@lxorguk.ukuu.org.uk
     Kernel Version|2.6.35-rc5                  |3.2




-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 16414] Panic during IO from both hard disk and CD-ROM on VIA IDE chipset using pata_via
  2010-07-19  7:56 [Bug 16414] New: Panic during IO from both hard disk and CD-ROM on VIA IDE chipset using pata_via bugzilla-daemon
                   ` (8 preceding siblings ...)
  2012-07-20 12:25 ` bugzilla-daemon
@ 2012-08-09 14:28 ` bugzilla-daemon
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2012-08-09 14:28 UTC (permalink / raw)
  To: linux-ide

https://bugzilla.kernel.org/show_bug.cgi?id=16414


Alan <alan@lxorguk.ukuu.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |OBSOLETE




-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-08-09 14:28 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-19  7:56 [Bug 16414] New: Panic during IO from both hard disk and CD-ROM on VIA IDE chipset using pata_via bugzilla-daemon
2010-07-19  7:58 ` [Bug 16414] " bugzilla-daemon
2010-07-19  7:59 ` bugzilla-daemon
2010-07-19  8:00 ` bugzilla-daemon
2010-07-19  8:03 ` bugzilla-daemon
2010-07-19  8:05 ` bugzilla-daemon
2012-07-13 14:14 ` bugzilla-daemon
2012-07-13 14:16 ` bugzilla-daemon
2012-07-20 12:25 ` bugzilla-daemon
2012-07-20 12:25 ` bugzilla-daemon
2012-08-09 14:28 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.