Subject: Scsi disk bad, any suggestions?
To: None <netbsd-help@NetBSD.ORG>
From: Tobias Weingartner <weingart@austin.BrandonU.CA>
List: netbsd-help
Date: 04/11/1995 10:49:58
Hi all.
I'm running:
NetBSD 1.0/i386
With:
aha0: 1542C/CF detected, unlocking mailbox
aha0 at isa0 port 0x330-0x333 irq 11 drq 5
scsibus0 at aha0
aha0 targ 0 lun 0: <FUJITSU M2694S-512 0124> SCSI2 direct fixed
sd0 at scsibus0: 1033MB, 1819 cyl, 15 head, 77 sec, 512 bytes/sec
aha0 targ 2 lun 0: <TOSHIBA CD-ROM XM-3401TA0283> SCSI2 readonly removable
cd0 at scsibus0: drive empty
And have been getting these messages:
/netbsd: sd0 at scsibus0: 1033MB, 1819 cyl, 15 head, 77 sec, 512 bytes/sec
/netbsd: sd0 at scsibus0: 1033MB, 1819 cyl, 15 head, 77 sec, 512 bytes/sec
/netbsd: sd0 at scsibus0: 1033MB, 1819 cyl, 15 head, 77 sec, 512 bytes/sec
/netbsd: sd0(aha0:0:0): non-media hardware failure, info = 55728 (decimal)
/netbsd: sd0(aha0:0:0): non-media hardware failure, info = 55729 (decimal)
/netbsd: sd0(aha0:0:0): medium error, info = 55729 (decimal)
/netbsd: sd0(aha0:0:0): medium error, info = 55729 (decimal)
/netbsd: sd0(aha0:0:0): medium error, info = 55729 (decimal)
/netbsd: sd0(aha0:0:0): medium error, info = 55729 (decimal)
/netbsd: sd0 at scsibus0: 1033MB, 1819 cyl, 15 head, 77 sec, 512 bytes/sec
/netbsd: sd0(aha0:0:0): non-media hardware failure, info = 55728 (decimal)
/netbsd: sd0(aha0:0:0): medium error, info = 55728 (decimal)
/netbsd: sd0(aha0:0:0): medium error, info = 55728 (decimal)
/netbsd: sd0 at scsibus0: 1033MB, 1819 cyl, 15 head, 77 sec, 512 bytes/sec
/netbsd: sd0(aha0:0:0): medium error, info = 55728 (decimal)
As much as I can determine, block# 5572[89] can not be read by the
scsi system. Looking at the sd driver, it seems like it does sector
remapping. However, fsck can't seem to handle it. Also, what happened
to ncheck and icheck? They used to be usefull to find out what file
a certain block was in. Is there any way short of fixing this by hand,
ie: write my own code, to fix this?
Thanks in advance...
--Toby.
*----------------------------------------------------------------------------*
| Tobias Weingartner | Email: weingart@BrandonU.Ca | Need a Unix sys-admin? |
| Box 27, Beulah, MB |-----------------------------| Send E-Mail for resume, |
| R0M 0B0, Canada | Unix Guru, Admin, Sys-Prgmr | and other details... |
|----------------------------------------------------------------------------|
| %SYSTEM-F-ANARCHISM, The operating system has been overthrown |
*----------------------------------------------------------------------------*