lost interrupts under 2.2.X

Thomas Molina (tmolina@home.com)
Fri, 2 Apr 1999 14:25:13 -0600 (EST)


I'm willing to believe this is a cdrom drive going south, but it plays
audio cds just fine. I've reproduced the copying problem with both
original cds (RedHat 5.2 CD) and CDRs I made myself. Copying a cd from
the CDROM drive fails, but the same copy from the CDRW drive succeeds.

[1.] One line summary of the problem:
cp -a from cdrom to hard drive produces lost interrupt message
[2.] Full description of the problem/report:
I put a cd into cdrom drive and mount it. I then issue the command:
cp -a /mnt/cdrom/* /mnt/rw1
The copy proceeds normally for some variable amount of bytes before
producing the following output in /var/log/messages:
Apr 2 12:49:11 localhost kernel: hdb: DSC timeout
Apr 2 12:49:21 localhost kernel: hdb: lost interrupt
Apr 2 12:49:21 localhost kernel: hdb: cdrom_read_intr: data underrun (4
blocks)
Apr 2 12:49:21 localhost kernel: end_request: I/O error, dev 03:40
(hdb), sector 102860
Apr 2 12:49:32 localhost kernel: hdb: lost interrupt
Apr 2 12:49:32 localhost kernel: hdb: cdrom_read_intr: data underrun (4
blocks)
Apr 2 12:49:32 localhost kernel: end_request: I/O error, dev 03:40
(hdb), sector 102864

At this point no more bytes are copied and I get a continuing series of
the above messages. After some time I'm able to kill the cp command and
unmount the cdrom, but I'm unable to eject the cd. The drive light
continues blinking and I'm forced to reboot to stop it.

[3.] Keywords (i.e., modules, networking, kernel): cdrom
[4.] Kernel version (from /proc/version):
Linux version 2.2.5 (root@localhost) (gcc version 2.7.2.3) #1 Tue Mar 30
14:49:53 CST 1999

[5.] Output of Oops.. message (if applicable): N/A
[6.] A small shell script or example program: N/A
[7.] Environment
[7.1.] Software (add the output of the ver_linux script here)

[root@localhost scripts]# sh ver_linux
-- Versions installed: (if some fields are empty or looks
-- unusual then possibly you have very old versions)
Linux localhost 2.2.5 #1 Tue Mar 30 14:49:53 CST 1999 i586 unknown
Kernel modules 2.1.121
Gnu C 2.7.2.3
Binutils 2.9.1.0.15
Linux C Library 2.0.7
Dynamic linker ldd (GNU libc) 2.0.7
Linux C++ Library 2.8.0
Procps 1.2.9
Mount 2.8a
Net-tools (1998-12-05)
Kbd 0.96
Sh-utils 1.16
cat: /proc/modules: No such file or directory
Modules Loaded
[root@localhost scripts]#

[7.2.] Processor information (from /proc/cpuinfo):
[root@localhost scripts]# cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 5
model : 8
model name : AMD-K6(tm) 3D processor
stepping : 0
cpu MHz : 350.804880
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8 sep mmx 3dnow
bogomips : 699.60

[7.3.] Module information (from /proc/modules): N/A monolithic kernel
[7.4.] SCSI information (from /proc/scsi/scsi):
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: PHILIPS Model: CDD3610 CD-R/RW Rev: 3.01
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 00 Lun: 01
Vendor: PHILIPS Model: CDD3610 CD-R/RW Rev: 3.01
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 00 Lun: 02
Vendor: PHILIPS Model: CDD3610 CD-R/RW Rev: 3.01
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 00 Lun: 03
Vendor: PHILIPS Model: CDD3610 CD-R/RW Rev: 3.01
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 00 Lun: 04
Vendor: PHILIPS Model: CDD3610 CD-R/RW Rev: 3.01
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 00 Lun: 05
Vendor: PHILIPS Model: CDD3610 CD-R/RW Rev: 3.01
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 00 Lun: 06
Vendor: PHILIPS Model: CDD3610 CD-R/RW Rev: 3.01
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 00 Lun: 07
Vendor: PHILIPS Model: CDD3610 CD-R/RW Rev: 3.01
Type: CD-ROM ANSI SCSI revision: 02

[7.5.] Other information that might be relevant to the problem
(please look in /proc and include all information that you
think to be relevant): ????? uncertain what's relevant here.

here's a snip from dmesg:

Sound initialization complete
RAM disk driver initialized: 16 RAM disks of 4096K size
loop: registered device at major 7
hda: SAMSUNG VG34323A (4.32GB), ATA DISK drive
hdb: CREATIVE CD2422E, ATAPI CDROM drive
hdc: WDC AC14300R, ATA DISK drive
hdd: PHILIPS CDD3610 CD-R/RW, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: SAMSUNG VG34323A (4.32GB), 4124MB w/496kB Cache, CHS=525/255/63
hdc: WDC AC14300R, 4112MB w/512kB Cache, CHS=8912/15/63
hdb: ATAPI 20X CD-ROM drive, 0kB Cache
Uniform CDROM driver Revision: 2.54
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
scsi : 1 host.
Vendor: PHILIPS Model: CDD3610 CD-R/RW Rev: 3.01
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Vendor: PHILIPS Model: CDD3610 CD-R/RW Rev: 3.01
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr1 at scsi0, channel 0, id 0, lun 1
Vendor: PHILIPS Model: CDD3610 CD-R/RW Rev: 3.01
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr2 at scsi0, channel 0, id 0, lun 2
Vendor: PHILIPS Model: CDD3610 CD-R/RW Rev: 3.01
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr3 at scsi0, channel 0, id 0, lun 3
Vendor: PHILIPS Model: CDD3610 CD-R/RW Rev: 3.01
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr4 at scsi0, channel 0, id 0, lun 4
Vendor: PHILIPS Model: CDD3610 CD-R/RW Rev: 3.01
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr5 at scsi0, channel 0, id 0, lun 5
Vendor: PHILIPS Model: CDD3610 CD-R/RW Rev: 3.01
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr6 at scsi0, channel 0, id 0, lun 6
Vendor: PHILIPS Model: CDD3610 CD-R/RW Rev: 3.01
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr7 at scsi0, channel 0, id 0, lun 7
scsi : detected 8 SCSI cdroms total.
sr0: scsi3-mmc drive: 2x/6x writer cd/rw xa/form2 cdda tray
sr1: scsi3-mmc drive: 2x/6x writer cd/rw xa/form2 cdda tray
sr2: scsi3-mmc drive: 2x/6x writer cd/rw xa/form2 cdda tray
sr3: scsi3-mmc drive: 2x/6x writer cd/rw xa/form2 cdda tray
sr4: scsi3-mmc drive: 2x/6x writer cd/rw xa/form2 cdda tray
sr5: scsi3-mmc drive: 2x/6x writer cd/rw xa/form2 cdda tray
sr6: scsi3-mmc drive: 2x/6x writer cd/rw xa/form2 cdda tray
sr7: scsi3-mmc drive: 2x/6x writer cd/rw xa/form2 cdda tray
PPP: version 2.3.3 (demand dialling)
TCP compression code copyright 1989 Regents of the University of
California
PPP line discipline registered.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/