ISSUE: HD corruption under OPTi 621

Matt Ryan (matt@planet.net.uk)
Sun, 01 Mar 1998 14:49:37 -0000 (GMT)


HD corruption under OPTi 621

Reading from the files /proc/ide/hd?/{smart_values,smart_thresholds} under
Linux 2.1.88 results in filesystem corruption.

Drives are as follows:

hda: ST3660A, ATA DISK drive
hdb: H3342-A4, ATA DISK drive
hdd: SyQuest EZ135A, ATA DISK drive
hda: ST3660A, 520MB w/120kB Cache, CHS=528/32/63
hdb: H3342-A4, 327MB w/96kB Cache, CHS=872/16/48
hdd: SyQuest EZ135A, 128MB w/64kB Cache, CHS=512/16/32

>From /usr/X11R6/bin/scanpci (machine is Fujitsu ICL ErgoPro):

pci bus 0x0 cardnum 0x00 function 0x0000: vendor 0x1045 device 0xc557
Opti 82C557
STATUS 0x0280 COMMAND 0x0007
CLASS 0x06 0x00 0x00 REVISION 0x00

pci bus 0x0 cardnum 0x01 function 0x0000: vendor 0x1045 device 0xc558
Opti 82C558
STATUS 0xd300 COMMAND 0x0107
CLASS 0x06 0x01 0x00 REVISION 0x00

pci bus 0x0 cardnum 0x0d function 0x0000: vendor 0x1002 device 0x4354
ATI Mach64 CT
STATUS 0x0280 COMMAND 0x0083
CLASS 0x03 0x00 0x00 REVISION 0x41
APBASE 0xc0000000 addr 0xc0000000
MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x00 INT_LINE 0x20
SPARSEIO 0x2ec Sparse IO enabled Enable 0x46E8

pci bus 0x0 cardnum 0x10 function 0x0000: vendor 0x1045 device 0xc621
Opti 82C621
STATUS 0x0280 COMMAND 0x0003
CLASS 0x01 0x01 0x00 REVISION 0x00

PCI probing configuration type 2

Linux version 2.1.88 (root@hippo) (gcc version 2.7.2.3) #6 Sun Mar 1
13:34:38 GMT 1998

Linux hippo 2.1.88 #6 Sun Mar 1 13:34:38 GMT 1998 i586 unknown
Kernel modules 2.1.85
Gnu C 2.7.2.3
Binutils 980114
Linux C Library 2.0.7pre1
Dynamic Linker (ld.so) 1.9.6
Linux C++ Library 2.7.2.8
Procps 1.2.6
Mount 2.7l
Net-tools pre1.34
Kbd 0.94
Sh-utils 1.16

processor : 0
cpu family : 5
model : Pentium 75+
vendor_id : GenuineIntel
stepping : 5
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : yes
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8
bogomips : 29.90

Workaround is to remove the two functions from the proc filesystem (see
drivers/block/ide-disk.c) as even non-root users can read these files and
thus cause corruption.

Matt.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu