Messages in this thread | | | Date | Sun, 12 Jan 1997 00:24:27 -0800 (PST) | From | Trevor Johnson <> | Subject | mke2fs and bad sectors make 2.1.20+modutils-970104+awedrv-0.30 barf |
| |
I have an IDE hard disk with some bad sectors. I decided to run mke2fs 1.06 on it and unsurprisingly got many errors such as:
Jan 10 16:23:58 topside kernel: hdc: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error } Jan 10 16:23:58 topside kernel: hdc: read_intr: error=0x40 { UncorrectableError }, LBAsect=552754, sector=60787 Jan 10 16:23:58 topside kernel: end_request: I/O error, dev 16:06, sector 60787 Jan 10 16:23:59 topside kernel: hdc: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
After mke2fs had finished, I decided to start pppd 2.3, and got an oops. When I tried it a second time, I got another oops:
# pppd Unable to handle kernel NULL pointer dereference at virtual address 000000d0 current->tss.cr3 = 00101000, %cr3 = 00101000 *pde = 00000000 Oops: 0002 CPU: 0 EIP: 0010:[<c0119480>] EFLAGS: 00010202 eax: 00000000 ebx: c3b85018 ecx: c0093ce4 edx: c3b14c0c esi: 00000100 edi: 00000009 ebp: c3ede810 esp: c3f19fa0 ds: 0018 es: 0018 ss: 0018 Process pppd (pid: 145, process nr: 25, stackpage=c3f19000) Stack: c009e1b8 c01196f8 c3b14c0c bffffa84 bffffa80 bffff9e8 c011973e00000000 c010a8a8 00000000 00000000 00003900 bffffa84 bffffa80 bffff9e800000001 0000002b 0000002b 00000001 4007f89e 00000023 00000282 bffff9d80000002b Call Trace: [<c01196f8>] [<c011973e>] [<c010a8a8>] Code: 89 98 d0 00 00 00 8b 83 c8 00 00 00 89 98 cc 00 00 00 8b 03 Segmentation fault
Also, several processes, including init, showed up as zombies on ps' output, preventing a normal shutdown. Later, I formatted the drive under DOS, which simply gave "trying to recover allocation unit" messages as it marked off 40 bad sectors (I don't know how to mark off bad sectors under Linux). Sorry for not disassembling the oops, but ksymoops segfaults for me and my klogd didn't do the job because it is too old. I can update klogd and duplicate the problem if it is of interest.
Hardware details:
ASUS PVI-486SP3 motherboard with AMD 5x86 CPU and UMC8669F I/O chip, defective hard drive was a Quantum Fireball 1280 on the secondary interface
Kernel configuration:
CONFIG_EXPERIMENTAL=y CONFIG_MODULES=y CONFIG_KERNELD=y CONFIG_NET=y CONFIG_PCI=y CONFIG_PCI_OPTIMIZE=y CONFIG_SYSVIPC=y CONFIG_BINFMT_AOUT=m CONFIG_BINFMT_ELF=y CONFIG_BINFMT_JAVA=m CONFIG_M486=y CONFIG_VIDEO_SELECT=y CONFIG_BLK_DEV_FD=m CONFIG_BLK_DEV_IDE=y CONFIG_BLK_DEV_IDEDISK=y CONFIG_BLK_DEV_LOOP=m CONFIG_INET=y CONFIG_PATH_MTU_DISCOVERY=y CONFIG_IP_NOSR=y CONFIG_SCSI=m CONFIG_BLK_DEV_SD=m CONFIG_CHR_DEV_ST=m CONFIG_BLK_DEV_SR=m CONFIG_BLK_DEV_SR_VENDOR=y CONFIG_SCSI_AHA1542=m CONFIG_NETDEVICES=y CONFIG_NET_ETHERNET=y CONFIG_NET_ISA=y CONFIG_NE2000=m CONFIG_PPP=y CONFIG_SHAPER=m CONFIG_MINIX_FS=m CONFIG_EXT2_FS=y CONFIG_FAT_FS=y CONFIG_MSDOS_FS=y CONFIG_VFAT_FS=m CONFIG_UMSDOS_FS=m CONFIG_PROC_FS=y CONFIG_NFS_FS=m CONFIG_SMB_FS=m CONFIG_SMB_WIN95=y CONFIG_ISO9660_FS=m CONFIG_SERIAL=y CONFIG_PRINTER=m CONFIG_SOUND=m CONFIG_SB=y CONFIG_ADLIB=y CONFIG_YM3812=y CONFIG_LOWLEVEL_SOUND=y CONFIG_AWE32_SYNTH=y ___ Trevor Johnson <trevor@jpj.net>
| |