linux 2.0.31 problem

Francesco Faenzi (1993s000@educ.disi.unige.it)
Tue, 7 Oct 1997 09:20:51 +0100


Hi, I,ve got the following problem with linux-2.0.31-pre10

Oct 6 23:26:31 bob kernel: hda: write_intr: status=0x51
{ DriveReady SeekComplete Error }
Oct 6 23:26:31 bob kernel: hda: write_intr: error=0x18
{ SectorIdNotFound }, LBAsect=1718312, sector=328159
Oct 6 23:26:31 bob kernel: hda: status error: status=0x59 { DriveReady
SeekComplete DataRequest Error }
Oct 6 23:26:31 bob kernel: hda: status error: error=0x18
{ SectorIdNotFound }, LBAsect=1718319, sector=328159
Oct 6 23:26:31 bob kernel: hda: no DRQ after issuing WRITE
Oct 6 23:26:31 bob kernel: ide0: reset: success

Any ideas?
Thank you for your attention.
Francesco Faenzi

---------------------------------
SYSTEM CONFIGURATION
---------------------------------

kernel version:
2.0.31

kernel config:
#
# Automatically generated make config: don't edit
#

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y

#
# Loadable module support
#
CONFIG_MODULES=y
# CONFIG_MODVERSIONS is not set
CONFIG_KERNELD=y

#
# General setup
#
# CONFIG_MATH_EMULATION is not set
CONFIG_NET=y
# CONFIG_MAX_16M is not set
# CONFIG_PCI is not set
CONFIG_SYSVIPC=y
CONFIG_BINFMT_AOUT=m
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_JAVA=m
CONFIG_KERNEL_ELF=y
# CONFIG_M386 is not set
CONFIG_M486=y
# CONFIG_M586 is not set
# CONFIG_M686 is not set

#
# Floppy, IDE, and other block devices
#
CONFIG_BLK_DEV_FD=m
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set
# CONFIG_BLK_DEV_IDE_PCMCIA is not set
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_IDE_CHIPSETS is not set

#
# Additional Block Devices
#
CONFIG_BLK_DEV_LOOP=m
# CONFIG_BLK_DEV_MD is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_XD is not set
# CONFIG_BLK_DEV_HD is not set

#
# Networking options
#
# CONFIG_FIREWALL is not set
# CONFIG_NET_ALIAS is not set
CONFIG_INET=y
# CONFIG_IP_FORWARD is not set
# CONFIG_IP_MULTICAST is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_RST_COOKIES is not set
# CONFIG_IP_ACCT is not set
# CONFIG_IP_ROUTER is not set
# CONFIG_NET_IPIP is not set

#
# (it is safe to leave these untouched)
#
# CONFIG_INET_PCTCP is not set
# CONFIG_INET_RARP is not set
# CONFIG_NO_PATH_MTU_DISCOVERY is not set
CONFIG_IP_NOSR=y
CONFIG_SKB_LARGE=y

#
#
#
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_AX25 is not set
# CONFIG_BRIDGE is not set
# CONFIG_NETLINK is not set

#
# SCSI support
#
CONFIG_SCSI=m

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=m
# CONFIG_CHR_DEV_ST is not set
# CONFIG_BLK_DEV_SR is not set
# CONFIG_CHR_DEV_SG is not set

#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_CONSTANTS is not set

#
# SCSI low-level drivers
#
# CONFIG_SCSI_7000FASST is not set
# CONFIG_SCSI_AHA152X is not set
# CONFIG_SCSI_AHA1542 is not set
# CONFIG_SCSI_AHA1740 is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_IN2000 is not set
# CONFIG_SCSI_AM53C974 is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_DTC3280 is not set
# CONFIG_SCSI_EATA_DMA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GENERIC_NCR5380 is not set
# CONFIG_SCSI_NCR53C406A is not set
CONFIG_SCSI_PPA=m
# CONFIG_SCSI_PAS16 is not set
# CONFIG_SCSI_QLOGIC_FAS is not set
# CONFIG_SCSI_SEAGATE is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_ULTRASTOR is not set
# CONFIG_SCSI_GDTH is not set

#
# Network device support
#
# CONFIG_NETDEVICES is not set

#
# ISDN subsystem
#
# CONFIG_ISDN is not set

#
# CD-ROM drivers (not for SCSI or IDE/ATAPI drives)
#
# CONFIG_CD_NO_IDESCSI is not set

#
# Filesystems
#
# CONFIG_QUOTA is not set
CONFIG_MINIX_FS=m
# CONFIG_EXT_FS is not set
CONFIG_EXT2_FS=y
# CONFIG_XIA_FS is not set
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
# CONFIG_UMSDOS_FS is not set
CONFIG_PROC_FS=y
# CONFIG_NFS_FS is not set
CONFIG_SMB_FS=m
CONFIG_SMB_WIN95=y
CONFIG_ISO9660_FS=m
# CONFIG_HPFS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_UFS_FS is not set

#
# Character devices
#
CONFIG_SERIAL=m
# CONFIG_DIGI is not set
# CONFIG_CYCLADES is not set
# CONFIG_STALDRV is not set
# CONFIG_RISCOM8 is not set
CONFIG_PRINTER=m
# CONFIG_SPECIALIX is not set
# CONFIG_MOUSE is not set
# CONFIG_UMISC is not set
# CONFIG_QIC02_TAPE is not set
# CONFIG_FTAPE is not set
# CONFIG_APM is not set
# CONFIG_WATCHDOG is not set
# CONFIG_RTC is not set

#
# Sound
#
# CONFIG_SOUND is not set

#
# Kernel hacking
#
# CONFIG_PROFILE is not set

kernel modules config:
path[boot]=/lib/modules/boot
path[fs]=/lib/modules/`uname -r`/fs
path[misc]=/lib/modules/`uname -r`/misc
path[net]=/lib/modules/`uname -r`/net
path[scsi]=/lib/modules/`uname -r`/scsi
path[block]=/lib/modules/`uname -r`/block
path[cdrom]=/lib/modules/`uname -r`/cdrom
path[ipv4]=/lib/modules/`uname -r`/ipv4
path[fs]=/lib/modules/default/fs
path[misc]=/lib/modules/default/misc
path[net]=/lib/modules/default/net
path[scsi]=/lib/modules/default/scsi
path[block]=/lib/modules/default/block
path[cdrom]=/lib/modules/default/cdrom
path[ipv4]=/lib/modules/default/ipv4
path[fs]=/lib/modules/fs
path[misc]=/lib/modules/misc
path[net]=/lib/modules/net
path[scsi]=/lib/modules/scsi
path[block]=/lib/modules/block
path[cdrom]=/lib/modules/cdrom
path[ipv4]=/lib/modules/ipv4

alias binfmt-204 binfmt_aout
alias binfmt-263 binfmt_aout
alias binfmt-264 binfmt_aout
alias binfmt-267 binfmt_aout
alias binfmt-332 iBCS
alias binfmt--310 binfmt_java
alias block-major-1 off
alias block-major-2 floppy
alias block-major-3 off
alias block-major-7 loop
alias block-major-8 sd_mod
alias block-major-11 off
alias block-major-13 off
alias block-major-15 off
alias block-major-16 off
alias block-major-17 off
alias block-major-18 off
alias block-major-20 off
alias block-major-23 off
alias block-major-24 off
alias block-major-25 off
alias block-major-26 off
alias block-major-27 off
alias block-major-29 off
alias block-major-32 off
alias char-major-4 serial
alias char-major-5 serial
alias char-major-6 lp
alias char-major-9 off
alias char-major-10 off
alias char-major-10-0 off
alias char-major-10-1 off
alias char-major-10-2 off
alias char-major-10-3 off
alias char-major-10-130 off
alias char-major-10-131 off
alias char-major-14 off
alias char-major-19 off
alias char-major-20 off
alias char-major-21 off
alias char-major-27 off
alias char-major-34 off
alias char-major-35 off
alias char-major-36 off
alias char-major-48 off
alias char-major-49 off
alias char-major-63 off
alias dos msdos
alias dummy0 off
alias dummy1 off
alias eth0 off
alias iso9660 isofs
alias md-personality-1 off
alias md-personality-2 off
alias net-pf-3 off
alias net-pf-4 off
alias net-pf-5 off
alias netalias-2 off
alias plip0 off
alias plip1 off
alias ppp0 off
alias ppp1 off
alias scsi_hostadapter off
alias slip0 off
alias slip1 off
alias tty-ldisc-1 off
alias tty-ldisc-3 off

kernel patchlevel:
patch-2.0.31-pre9-pre10.gz
pre-patch-2.0.31-9.gz

system:
base system : slakware 3.0
gcc-2.7.2.3
libc.so.5.4.39
libstdc++.so.27.2.8
binutils-2.8.1.0.15
ld.so.1.9.6
libm.so.5.0.9
GNU Make version 3.75

ps auxw:
USER PID %CPU %MEM SIZE RSS TTY STAT START TIME COMMAND
root 1 0.2 2.1 828 320 ? S 23:11 0:03 init
root 2 0.0 0.0 0 0 ? SW 23:11 0:00 (kflushd)
root 3 0.0 0.0 0 0 ? SW< 23:11 0:00 (kswapd)
root 8 0.0 1.4 800 224 ? S 23:11 0:00 /sbin/update
root 58 0.0 1.9 812 288 ? S 23:11 0:00 /sbin/kerneld delay=5
root 77 0.1 2.5 832 384 ? S 23:11 0:02 /usr/sbin/syslogd
root 79 0.0 2.6 900 404 ? S 23:11 0:01 /usr/sbin/klogd -c 1
root 114 0.4 5.1 1296 772 1 S 23:11 0:05 -bash
root 115 0.0 5.1 1296 772 2 S 23:11 0:01 -bash
root 116 0.1 5.1 1296 772 3 S 23:11 0:01 -bash
root 117 0.0 5.0 1296 768 4 S 23:11 0:00 -bash
root 118 0.0 5.0 1296 768 5 S 23:11 0:01 -bash
root 119 0.1 5.1 1296 772 6 S 23:11 0:01 -bash
root 130 0.0 2.0 828 316 ? S 23:11 0:00 /usr/local/bin/gpm -t msc -3
root 571 0.0 2.3 852 356 2 R 23:34 0:00 ps auxw

fstab:
/dev/hda3 / ext2 defaults,usrquota,noatime 1 1
/dev/hda6 /boot ext2 defaults,noatime 1 1
/dev/hda1 /win95 vfat defaults,noauto,noexec,nosuid,ro 0 0
/dev/hdc /cdrom iso9660 defaults,noauto,noexec,nosuid,ro,unhide 0 0
/proc /proc proc defaults
/dev/hda5 none swap

hdparm -i /dev/hda:

/dev/hda:

Model=WDC AC2850F, FwRev=28.25E40, SerialNo=WD-WM303
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=1654/16/63, TrkSize=57600, SectSize=600, ECCbytes=4
BuffType=3(DualPortCache), BuffSize=64kB, MaxMultSect=16, MultSect=off
DblWordIO=no, maxPIO=1(medium), DMA=yes, maxDMA=0(slow)
CurCHS=1654/16/63, CurSects=1667232, LBA=yes, LBAsects=1667232
tDMA={min:150,rec:150}, DMA modes: mword0 *mword1
IORDY=on/off, tPIO={min:380,w/IORDY:180}, PIO modes: mode3

hdparm -g /dev/hda:

/dev/hda:
geometry = 1654/16/63, sectors = 1667232, start = 0

fdisk -l:

Disk /dev/hda: 16 heads, 63 sectors, 1654 cylinders
Units = cylinders of 516096 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/hda1 * 0+ 834 835- 420808+ 6 DOS 16-bit FAT >=32M
/dev/hda2 835 858 24 12096 5 DOS Extended
/dev/hda3 859 1653 795 400680 83 Linux native
/dev/hda4 0 - 0 0 0 Empty
/dev/hda5 835+ 855 21- 10552+ 82 Linux swap
/dev/hda6 856+ 858 3- 1480+ 83 Linux native

mount:
/dev/hda3 on / type ext2 (rw,noatime,usrquota)
/dev/hda6 on /boot type ext2 (rw,noatime)
/proc on /proc type proc (rw)
/dev/hda1 on /win95 type vfat (rw,noexec,nosuid)

devices:
Character devices:
1 mem
2 pty
3 ttyp
4 ttyS
5 cua
7 vcs

Block devices:
3 ide0
22 ide1

modules:
vfat 4 1 (autoclean)
fat 6 [vfat] 1 (autoclean)
serial 8 1 (autoclean)

interrupts:
0: 207007 timer
1: 12173 keyboard
2: 0 cascade
4: 5717 + serial
13: 1 math error
14: 82235 + ide0
15: 361 + ide1

dma
4: cascade

meminfo:
total: used: free: shared: buffers: cached:
Mem: 15421440 14258176 1163264 5332992 3866624 6492160
Swap: 10801152 57344 10743808
MemTotal: 15060 kB
MemFree: 1136 kB
MemShared: 5208 kB
Buffers: 3776 kB
Cached: 6340 kB
SwapTotal: 10548 kB
SwapFree: 10492 kB

ioports:
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-009f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : npu
0170-0177 : ide1
01f0-01f7 : ide0
02f8-02ff : serial(auto)
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)

cpuinfo:
processor : 0
cpu : 486
model : unknown
vendor_id : unknown
stepping : unknown
fdiv_bug : no
hlt_bug : no
fpu : yes
fpu_exception : yes
cpuid : no
wp : yes
flags :
bogomips : 19.92

PROBLEM:
Oct 6 23:26:31 bob kernel: hda: write_intr: status=0x51
{ DriveReady SeekComplete Error }
Oct 6 23:26:31 bob kernel: hda: write_intr: error=0x18
{ SectorIdNotFound }, LBAsect=1718312, sector=328159
Oct 6 23:26:31 bob kernel: hda: status error: status=0x59 { DriveReady
SeekComplete DataRequest Error }
Oct 6 23:26:31 bob kernel: hda: status error: error=0x18
{ SectorIdNotFound }, LBAsect=1718319, sector=328159
Oct 6 23:26:31 bob kernel: hda: no DRQ after issuing WRITE
Oct 6 23:26:31 bob kernel: ide0: reset: success