mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Benoit Garnier" <bunch@wanadoo.fr>
To: <linux-kernel@vger.kernel.org>
Subject: [BUG] - 2.5.4-pre1 - I/O error on CD-ROM
Date: Thu, 7 Feb 2002 08:23:47 +0100	[thread overview]
Message-ID: <001d01c1afa8$620d7460$0201a8c0@cybercable.fr> (raw)


Since I first tried the 2.5.x serie (with 2.5.3), I got errors when
reading from my CD-ROM :

Feb  7 00:20:44 fw kernel: end_request: I/O error, dev 16:40, sector 464
Feb  7 00:20:45 fw kernel: hdd: cdrom_read_intr: data underrun (4294967256
blocks)
Feb  7 00:20:45 fw kernel: end_request: I/O error, dev 16:40, sector 7948
Feb  7 00:20:45 fw kernel: hdd: cdrom_read_intr: data underrun (4294967160
blocks)
Feb  7 00:20:45 fw kernel: end_request: I/O error, dev 16:40, sector 8052
Feb  7 00:20:45 fw kernel: hdd: cdrom_read_intr: data underrun (4294967224
blocks)
Feb  7 00:20:45 fw kernel: end_request: I/O error, dev 16:40, sector 8116
Feb  7 00:20:45 fw kernel: hdd: cdrom_read_intr: data underrun (4294967288
blocks)
Feb  7 00:20:45 fw kernel: end_request: I/O error, dev 16:40, sector 8180
Feb  7 00:20:45 fw kernel: hdd: cdrom_read_intr: data underrun (4294967256
blocks)
Feb  7 00:20:45 fw kernel: end_request: I/O error, dev 16:40, sector 14916
Feb  7 00:20:45 fw kernel: hdd: cdrom_read_intr: data underrun (4294967160
blocks)
Feb  7 00:20:45 fw kernel: end_request: I/O error, dev 16:40, sector 15020

*** I didn't have these errors with 2.4.17 ***
My CD-ROM is a generic one (I don't have physical access to the
box now, but if requested I will tell you more).
When doing "cat /mnt/cdrom/* >/dev/null" I can see I/O errors
reported by cat but only on the 2.5.X serie.
The problem occurs on 2.5.3 and 2.5.4-pre1 (without any patch
applied). I didn't tried with versions between 2.5.0 and 2.5.3.

I can see this from the boot log (I compiled with the VIA VT82Cxxxx driver)
:

Feb  7 02:43:29 fw kernel: Uniform Multi-Platform E-IDE driver Revision:
6.32
Feb  7 02:43:29 fw kernel: ide: Assuming 33MHz system bus speed for PIO
modes; override with idebus=xx
Feb  7 02:43:29 fw kernel: VP_IDE: IDE controller on PCI slot 00:07.1
Feb  7 02:43:29 fw kernel: VP_IDE: chipset revision 6
Feb  7 02:43:29 fw kernel: VP_IDE: not 100%% native mode: will probe irqs
later
Feb  7 02:43:29 fw kernel: ide: Assuming 33MHz system bus speed for PIO
modes; override with idebus=xx
Feb  7 02:43:29 fw kernel: VP_IDE: VIA vt82c586a (rev 25) IDE UDMA33
controller on pci00:07.1
Feb  7 02:43:29 fw kernel:     ide0: BM-DMA at 0x6000-0x6007, BIOS settings:
hda:pio, hdb:pio
Feb  7 02:43:29 fw kernel:     ide1: BM-DMA at 0x6008-0x600f, BIOS settings:
hdc:pio, hdd:pio
Feb  7 02:43:29 fw kernel: hda: JTS Corporation CHAMPION MODEL C2000-2A, ATA
DISK drive
Feb  7 02:43:29 fw kernel: hdd: ATAPI 50X CDROM, ATAPI CD/DVD-ROM drive
Feb  7 02:43:29 fw kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Feb  7 02:43:29 fw kernel: ide1 at 0x170-0x177,0x376 on irq 15
Feb  7 02:43:29 fw kernel: blk: queue c02e06a4, I/O limit 4095Mb (mask
0xffffffff)
Feb  7 02:43:29 fw kernel: hda: 3913056 sectors (2003 MB) w/256KiB Cache,
CHS=970/64/63
Feb  7 02:43:29 fw kernel: hdd: ATAPI 50X CD-ROM drive, 128kB Cache
Feb  7 02:43:29 fw kernel: Uniform CD-ROM driver Revision: 3.12

[root@fw /root]# hdparm /dev/hdd
/dev/hdd:
 HDIO_GET_MULTCOUNT failed: Invalid argument
 I/O support  =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  0 (off)
 keepsettings =  0 (off)
 HDIO_GET_NOWERR failed: Invalid argument
 readonly     =  1 (on)
 readahead    =  8 (on)
 HDIO_GETGEO_BIG failed: Invalid argument

What is funny is that if I switch DMA on, the errors are not reported
anymore on dmesg, but 'cat' continues to see IO errors (and eventually
the IO are locked).

Should I try the IDE patch?

Please CC me, I'm just read the list on archives...

----
Benoît GARNIER



             reply	other threads:[~2002-02-07  7:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-07  7:23 Benoit Garnier [this message]
2002-02-07  7:36 ` Zwane Mwaikambo
2002-02-07  9:37 ` Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001d01c1afa8$620d7460$0201a8c0@cybercable.fr' \
    --to=bunch@wanadoo.fr \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®