Cannot login after SCSI read error
Posted on 1998-02-26
I am running SCO Unix 3.2V4.2 and I am receiving the following message over and over:
Notice: Sdsk: Unrecoverable error reading SCSI disk 0
dev 1/40 (ha=0 id=0 lun=0) Block=250
Medium error: unrecovered read error
The message and block number are always the same. I would normally try to log in and run scsibadblk to try to find and relocate the bad block but I cannot login. Since I couldn't login to take the system down, I had to power off/on. After powering back on, the kernel loads up ok and then it wants to check the file system. If I let it try to check the file system, I immediately start getting the same read errors.
So I rebooted again and skipped the file system check. I get the following errors before it Inits single user mode:
/etc/bcheckrc: cannot make pipe
/etc/tcbck: /tmp/sh170: cannot create
/etc/smmck: restore missing files from backup or distribution.
Then I get the "Init: single user mode" message and am prompted to enter control-d for normal startup or the root password for system administration. However, it won't accept the root password. It just says "login incorrect". If I press ctrl-d for normal startup, it starts to init
level 2 but then appears to just lock up (except the read errors keep printing).
Just for kicks I tried to see what would happen if I booted off of the N1 Installation disk and then rooted from the hard disk. I had the same results.
What can I do?