[Bug 459316] Re: Video DVDs: Buffer I/O errors with Pioneer DVD-105S

2010-05-25 Thread Jeremy Foshee
This bug report was marked as Incomplete and has not had any updated
comments for quite some time.  As a result this bug is being closed.
Please reopen if this is still an issue in the current Ubuntu release
http://www.ubuntu.com/getubuntu/download . Also, please be sure to
provide any requested information that may have been missing.  To reopen
the bug, click on the current status under the Status column and change
the status back to "New".  Thanks.

[This is an automated message.  Apologies if it has reached you
inappropriately; please just reply to this message indicating so.]


** Tags added: kj-expired

** Changed in: linux (Ubuntu)
   Status: Incomplete => Expired

-- 
Video DVDs: Buffer I/O errors with Pioneer DVD-105S
https://bugs.launchpad.net/bugs/459316
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 459316] Re: Video DVDs: Buffer I/O errors with Pioneer DVD-105S

2010-04-05 Thread Jeremy Foshee
Hi Christian,

This bug was reported a while ago and there hasn't been any activity in it 
recently. We were wondering if this is still an issue? Can you try with the 
latest development release of Ubuntu?  ISO CD images are available from 
http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal 
(Applications->Accessories->Terminal).  It will automatically gather and attach 
updated debug information to this report.

apport-collect -p linux 459316

Also, if you could test the latest upstream kernel available that would be 
great.  It will allow additional upstream developers to examine the issue.  
Refer to https://wiki.ubuntu.com/KernelMainlineBuilds .  Once you've tested the 
upstream kernel, please remove the 'needs-upstream-testing' tag.  This can be 
done by clicking on the yellow pencil icon next to the tag located at the 
bottom of the bug description and deleting the 'needs-upstream-testing' text.  
Please let us know your results.

Thanks in advance.

[This is an automated message.  Apologies if it has reached you 
inappropriately; please just reply to this message indicating so.]


** Tags added: needs-kernel-logs

** Tags added: needs-upstream-testing

** Tags added: kj-triage

** Changed in: linux (Ubuntu)
   Status: New => Incomplete

-- 
Video DVDs: Buffer I/O errors with Pioneer DVD-105S
https://bugs.launchpad.net/bugs/459316
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 459316] Re: Video DVDs: Buffer I/O errors with Pioneer DVD-105S

2009-10-25 Thread Christian Neumair

** Attachment added: "Apport file for setup 1, i.e. Pioneer on 80-pin cable."
   
http://launchpadlibrarian.net/34354702/apport.linux-image-2.6.28-15-generic_2.6.28-15.52.OT1IUC-80pin.apport

-- 
Video DVDs: Buffer I/O errors with Pioneer DVD-105S
https://bugs.launchpad.net/bugs/459316
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 459316] Re: Video DVDs: Buffer I/O errors with Pioneer DVD-105S

2009-10-25 Thread Christian Neumair
*arf* the introductory paragraph should say that my hard-disk is
UDMA133, down-sensed to UDMA25 for a 40-pin cable.

-- 
Video DVDs: Buffer I/O errors with Pioneer DVD-105S
https://bugs.launchpad.net/bugs/459316
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 459316] Re: Video DVDs: Buffer I/O errors with Pioneer DVD-105S

2009-10-25 Thread Christian Neumair
I was wrong. The UDMA speed sensing seems to work like a charm for my
hard disk (which is UDMA33). The Pioneer DVD-ROM even just uses UDMA33,
so may guess that it SHOULD work with a 40-pin connector as well. It
doesn't though!

To further debug the issue I had the following setup:

* primary controller (ata1): attached a 80-pin wire
* secondary controller (ata2): attached a 40-pin wire

Only two (master) devices: Pioneer CD-ROM and maxtor hard disk

A) Setup 1: Maxtor HD on 40-pin: speed-sensed to UDMA25


ata1 / 80-pin on CD-ROM:
ata2 / 40-pin on maxtor:

dmesg has the following regarding general initialization:

 [3.098979] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xa000 irq 14
 [3.098985] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xa008 irq 15

follwed by (CD-ROM)

 [3.540429] ata1.00: ATAPI: Pioneer DVD-ROM ATAPIModel DVD-105S 0122, 
E1.22, max UDMA/33
 [3.556437] ata1.00: configured for UDMA/33

followed by (hard disk)

 [3.720605] ata2.00: ATA-7: Maxtor 4R120L0, RAMB1TU0, max UDMA/133
 [3.720612] ata2.00: 240121728 sectors, multi 16: LBA 
 [3.720652] ata2.00: limited to UDMA/33 due to 40-wire cable
 [3.736597] ata2.00: configured for UDMA/33 

Now, you may say that the limiting works like a charm, however, now -
after some sr* and sd* lines - we have something interesting:

 [3.740880]  sda:<3>ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 
0x6
 [3.832470] ata2.00: BMDMA stat 0x24
 [3.832539] ata2.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 
in
 [3.832542]  res 51/84:00:00:00:00/00:00:00:00:00/e0 Emask 0x10 
(ATA bus error)
 [3.832651] ata2.00: status: { DRDY ERR }
 [3.832698] ata2.00: error: { ICRC ABRT }
 [3.832793] ata2: soft resetting link
 [4.012602] ata2.00: configured for UDMA/33
 [4.012633] ata2: EH complete
 [4.110043] ata2.00: limiting speed to UDMA/25:PIO4
 [4.110051] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
 [4.110110] ata2.00: BMDMA stat 0x24
 [4.110163] ata2.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 
in
 [4.110166]  res 51/84:00:00:00:00/00:00:00:00:00/e0 Emask 0x10 
(ATA bus error)
 [4.110274] ata2.00: status: { DRDY ERR }
 [4.110330] ata2.00: error: { ICRC ABRT }
 [4.110419] ata2: soft resetting link
 [4.288603] ata2.00: configured for UDMA/25
 [4.288621] ata2: EH complete

In other words, UDMA33 doesn't seem to work properly with a 40-pin cable
in this setup even with the hard disk, and it is speed-sensed to UDMA25
with the hard disk.


A) Setup 2: Pioneer DVDon 40-pin  used silently with UDMA33
==

ata1 / 80-pin on Maxtor HD:
ata2 / 40-pin on Pioneer CD-ROM:

dmesg output

* general initialization

 [3.099423] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xa000 irq 14
 [3.099429] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xa008 irq 15

* Maxtor HD

 [3.260597] ata1.00: ATA-7: Maxtor 4R120L0, RAMB1TU0, max UDMA/133
 [3.260605] ata1.00: 240121728 sectors, multi 16: LBA 
 [3.276597] ata1.00: configured for UDMA/100

* Pioneer DVD-ROM

 [3.448375] ata2.00: ATAPI: IOMEGA  ZIP 100   ATAPI, 05.H, max MWDMA1, 
CDB intr
 [3.448441] ata2.01: ATAPI: Pioneer DVD-ROM ATAPIModel DVD-105S 0122, 
E1.22, max UDMA/33
 [3.464407] ata2.00: configured for MWDMA1
 [3.480447] ata2.01: configured for UDMA/33

Very notable: UDMA33 is NOT down-sensed to UDMA25. There is no exception
mask as in setup 1.

Another interesting aspect is that the BIOS bootup screen reports the
PIO 4 transfer mode for the 40-pin / DVD case, and UDMA33 only when an
80-pin cable is used. I will try to find out how a drive tells the
(BI-)OS and the controller what modes it supports, and whether some of
the Flags are ignored by recent Linux's - which is what I suppose.

-- 
Video DVDs: Buffer I/O errors with Pioneer DVD-105S
https://bugs.launchpad.net/bugs/459316
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 459316] Re: Video DVDs: Buffer I/O errors with Pioneer DVD-105S

2009-10-25 Thread Christian Neumair
Looking at the Linux PATA driver from Linux 2.6.28 (drivers/ata/libata-
core.c) suggests that bus speed limits for PATA drives on SATA are
applied in ata_dev_configure(), while 40 pin busses supporting only
UDMA-33 are detected with ata_id_xfermask() which is not incorporated
into ata_dev_configure().

It looks like Linux tries to dynamically adjust the speed, but this does
not seem to work properly for some devices on some 40-pin buses.

-- 
Video DVDs: Buffer I/O errors with Pioneer DVD-105S
https://bugs.launchpad.net/bugs/459316
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 459316] Re: Video DVDs: Buffer I/O errors with Pioneer DVD-105S

2009-10-25 Thread Christian Neumair
Renamed title, bug 304954 is probably a duplicate.

The fix would be to let linux detect a 40-pin cable and use max. UDMA-33
in such a situation.

-- 
Video DVDs: Buffer I/O errors with Pioneer DVD-105S
https://bugs.launchpad.net/bugs/459316
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 459316] Re: Video DVDs: Buffer I/O errors with Pioneer DVD-105S

2009-10-25 Thread Christian Neumair
I could fix the issue by using a 80-pin UDMA-66 cable.

In other words: Previous kernel releases (around 2.6.24-something)
handled such devices with 40 pin cables, recent ones don't. Maybe this
somehow boosts performance for those who have such a cable, but it
renders the system unusable for those who don't. This is a real no-go,
since in a developing country you can't just exchange hardware like
this.

The dmesg log suggests that the bus with a 40 pin cable is configured
for UDMA 100, while the German Wikipedia suggests [1] that it should use
UDMA 33 max. I will rename the bug report appropriately.

[1] http://de.wikipedia.org/wiki/Ultra-DMA

-- 
Video DVDs: Buffer I/O errors with Pioneer DVD-105S
https://bugs.launchpad.net/bugs/459316
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 459316] Re: Video DVDs: Buffer I/O errors with Pioneer DVD-105S

2009-10-23 Thread Christian Neumair
Upgrading to the latest mainline release v2.6.31.5 and v2.6.32-rc5 did
not help. The additional boot parameters noapic all_generic_ide (as
suggested in some forum entries) did not work.

I suppose my Elitegroup K7VZA mainboard / Pioneer DVD-105S causes issues
systematic issues. It used to be a very cheap mainboard.

Maybe you have any idea what I can do to debug the issue?

-- 
Video DVDs: Buffer I/O errors with Pioneer DVD-105S
https://bugs.launchpad.net/bugs/459316
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 459316] Re: Video DVDs: Buffer I/O errors with Pioneer DVD-105S

2009-10-23 Thread Christian Neumair
I am attaching the file created by

apport-cli -p linux -f

because the links browser's login page of apport-collect does not work
for me. You'll have to process it with apport-unpack.

** Attachment added: "apport file"
   
http://launchpadlibrarian.net/34278575/apport.linux-image-2.6.28-15-generic_2.6.28-15.52.cJIbH2.apport

-- 
Video DVDs: Buffer I/O errors with Pioneer DVD-105S
https://bugs.launchpad.net/bugs/459316
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs