Possible IDE CDROM related bug/problem in Kernel-2.2.16

From: S. Salman Ahmed (ssahmed@pathcom.com)
Date: Fri Jun 09 2000 - 19:09:46 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Problem description:
====================
Getting error messages in /var/log/messages relating to the IDE cdrom
device whenever I eject/load a CD (music/audio or data - doesn't matter
which one). Messages in question are:

Jun 9 19:58:21 phoenix kernel: ATAPI device hdc:
Jun 9 19:58:21 phoenix kernel: Unknown Error Type: No sense data -- (Sense key=0x00)
Jun 9 19:58:21 phoenix kernel: (reserved error code) -- (asc=0x1a, ascq=0xc6)
Jun 9 19:58:21 phoenix kernel: The failed "Read Subchannel" packet command was:
Jun 9 19:58:21 phoenix kernel: "42 02 40 01 00 00 00 00 10 00 00 00 "
Jun 9 19:58:21 phoenix kernel: ATAPI device hdc:
Jun 9 19:58:21 phoenix kernel: Unknown Error Type: No sense data -- (Sense key=0x00)
Jun 9 19:58:21 phoenix kernel: (reserved error code) -- (asc=0x1a, ascq=0xc6)
Jun 9 19:58:21 phoenix kernel: The failed "Read Subchannel" packet command was:
Jun 9 19:58:21 phoenix kernel: "42 02 40 01 00 00 00 00 10 00 00 00 "
Jun 9 19:58:24 phoenix kernel: ATAPI device hdc:
Jun 9 19:58:24 phoenix kernel: Unknown Error Type: No sense data -- (Sense key=0x00)
Jun 9 19:58:24 phoenix kernel: (reserved error code) -- (asc=0x1a, ascq=0xc6)
Jun 9 19:58:24 phoenix kernel: The failed "Read Subchannel" packet command was:
Jun 9 19:58:24 phoenix kernel: "42 02 40 01 00 00 00 00 10 00 00 00 "
Jun 9 19:58:25 phoenix kernel: ATAPI device hdc:
Jun 9 19:58:25 phoenix kernel: Unknown Error Type: No sense data -- (Sense key=0x00)
Jun 9 19:58:25 phoenix kernel: (reserved error code) -- (asc=0x1a, ascq=0xc6)
Jun 9 19:58:25 phoenix kernel: The failed "Read Subchannel" packet command was:
Jun 9 19:58:25 phoenix kernel: "42 02 40 01 00 00 00 00 10 00 00 00 "

The messages only appear in the log file when the CD is ejected from or
loaded into the CD-ROM drive, not when the audio tracks are played or
when the data CD is mounted/unmounted.

Never had this problem with 2.2.15, only with 2.2.16.

Linux System information:
=========================
Debian GNU/Linux 2.3 (woody)

Kernel Version:
===============
@phoenix:[/home/ssahmed] cat /proc/version
Linux version 2.2.16 (root@phoenix) (gcc version 2.95.2 20000313 (Debian GNU/Linux)) #1 Thu Jun 8 20:44:12 EDT 2000

Kernel Patches:
===============
I have patched the kernel with the lm-sensors2 sources.

Hardware:
=========
Intel Celeron 300A overclocked to 450Mhz
128 MB 100MHz RAM
Quantum 10.2 Gb UDMA HD
Creative Labs 52x IDE CD-ROM drive (connected as master on the second
IDE channel/port)
Matrox Millennium G200 8MB Video card
Creative Labs PCI128 sound card

Workaround/Fix:
===============
Switch back to kernel-2.2.15. That lets me play my music/audio CDs
without getting any messages of the above type.

Environment:
============

@phoenix:[/home/ssahmed] /usr/src/linux-2.2.16/scripts/ver_linux
- -- Versions installed: (if some fields are empty or looks
- -- unusual then possibly you have very old versions)
Linux phoenix 2.2.16 #1 Thu Jun 8 20:44:12 EDT 2000 i686 unknown
Kernel modules 2.3.11
Gnu C 2.95.2
Binutils 2.9.5.0.42
Linux C Library 2.1.3
Dynamic linker ldd: version 1.9.11
Procps 2.0.6
Mount 2.10f
Net-tools 2.05
Kbd 0.99
Sh-utils 2.0i
Modules Loaded nls_cp437 isofs ide-cd lm78 sensors i2c-isa i2c-core dummy bsd_comp ppp slhc cdrom

@phoenix:[/home/ssahmed] cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 6
model name : Celeron (Mendocino)
stepping : 0
cpu MHz : 451.031
cache size : 128 KB
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr
bogomips : 901.12

@phoenix:[/home/ssahmed] cat /proc/modules
nls_cp437 3904 0 (autoclean)
isofs 18288 0 (autoclean)
ide-cd 23796 1 (autoclean)
lm78 6888 0
sensors 5884 0 [lm78]
i2c-isa 1180 0 (unused)
i2c-core 11196 0 [lm78 sensors i2c-isa]
dummy 964 0 (unused)
bsd_comp 4052 0 (unused)
ppp 20940 0 [bsd_comp]
slhc 4500 0 [ppp]
cdrom 27836 0 [ide-cd]

@phoenix:[/home/ssahmed] cat /proc/ide/hda/cache
418

@phoenix:[/home/ssahmed] cat /proc/ide/hda/capacity
20044080

@phoenix:[/home/ssahmed] cat /proc/ide/hda/driver
ide-disk version 1.08

@phoenix:[/home/ssahmed] cat /proc/ide/hda/media
disk

@phoenix:[/home/ssahmed] cat /proc/ide/hda/geometry
physical 16383/16/63
logical 1247/255/63

@phoenix:[/home/ssahmed] cat /proc/ide/hda/model
QUANTUM FIREBALL EL10.2A

@phoenix:[/home/ssahmed] cat /proc/ide/hda/identify
045a 3fff 0000 0010 7e00 5332 003f 0000
0000 5154 3334 3138 3334 3533 3330 3534
2020 2020 2020 2020 0003 0344 0004 4130
382e 3131 3030 5155 414e 5455 4d20 4649
5245 4241 4c4c 2045 4c31 302e 3241 2020
2020 2020 2020 2020 2020 2020 2020 8010
0000 0f00 4000 0200 0200 0007 3fff 0010
003f fc10 00fb 0100 d930 0131 0007 0007
0003 0078 0078 0078 0078 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
001e 0011 3069 4001 4000 3069 0001 4000
0407 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000

@phoenix:[/home/ssahmed] cat /proc/ide/hda/settings
name value min max mode
- ---- ----- --- --- ----
bios_cyl 1247 0 65535 rw
bios_head 255 0 255 rw
bios_sect 63 0 63 rw
breada_readahead 4 0 127 rw
bswap 0 0 1 r
file_readahead 124 0 2097151 rw
io_32bit 0 0 3 rw
keepsettings 0 0 1 rw
max_kb_per_request 64 1 127 rw
multcount 0 0 8 rw
nice1 1 0 1 rw
nowerr 0 0 1 rw
pio_mode write-only 0 255 w
slow 0 0 1 rw
unmaskirq 0 0 1 rw
using_dma 1 0 1 rw

@phoenix:[/home/ssahmed] cat /proc/ide/hdc/capacity
2147483647

@phoenix:[/home/ssahmed] cat /proc/ide/hdc/driver
ide-cdrom version 4.58

@phoenix:[/home/ssahmed] cat /proc/ide/hdc/media
cdrom

@phoenix:[/home/ssahmed] cat /proc/ide/hdc/model
CREATIVE CD5230E

@phoenix:[/home/ssahmed] cat /proc/ide/hdc/identify
85c0 0000 0000 0000 0000 0000 0000 0000
0000 0000 4d54 3131 3938 2042 2046 6972
6d77 6172 6520 2020 0000 0000 0000 4331
2e30 3120 2020 4352 4541 5449 5645 2043
4435 3233 3045 2020 2020 2020 2020 2020
2020 2020 2020 2020 2020 2020 2020 0000
0000 0f00 0000 0400 0200 0002 0000 0000
0000 0000 0000 0000 0000 0000 0007 0407
0003 0078 0096 00e3 0078 0000 0000 0000
0000 0004 0009 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000

@phoenix:[/home/ssahmed] cat /proc/ide/hdc/settings
name value min max mode
- ---- ----- --- --- ----
breada_readahead 4 0 127 rw
dsc_overlap 0 0 1 rw
file_readahead 124 0 2097151 rw
io_32bit 0 0 3 rw
keepsettings 0 0 1 rw
max_kb_per_request 64 1 127 rw
nice1 1 0 1 rw
pio_mode write-only 0 255 w
slow 0 0 1 rw
unmaskirq 0 0 1 rw
using_dma 1 0 1 rw

- --
Salman Ahmed
ssahmed AT pathcom DOT com

http://www.pathcom.com/~ssahmed
GnuPG Key fingerprint = A6DB 6C85 DE5A 33BB E873 E437 58B2 09CD 977B 900B

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.5 and Gnu Privacy Guard <http://www.gnupg.org/>

iD8DBQE5QYc6WLIJzZd7kAsRAug2AKCIdDjdAHlgFduimDgRg1MXLr26zwCfadx7
xbagL7DYbMSKJaJoqW/E8Mg=
=b6LA
-----END PGP SIGNATURE-----

-
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/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:20 EST