From owner-freebsd-questions Fri Sep 19 13:18:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA05326 for questions-outgoing; Fri, 19 Sep 1997 13:18:06 -0700 (PDT) Received: from grande.dcc.unicamp.br (dcc.unicamp.br [143.106.1.11]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA05320 for ; Fri, 19 Sep 1997 13:18:00 -0700 (PDT) Received: from xingu.dcc.unicamp.br (xingu3 [143.106.7.7]) by grande.dcc.unicamp.br (8.8.5/8.8.5) with ESMTP id QAA04328 for ; Fri, 19 Sep 1997 16:39:49 -0300 (EST) Received: from localhost (971531@localhost) by xingu.dcc.unicamp.br (8.8.5/8.8.5) with SMTP id QAA11661 for ; Fri, 19 Sep 1997 16:39:44 -0300 (EST) X-Authentication-Warning: xingu.dcc.unicamp.br: 971531 owned process doing -bs Date: Fri, 19 Sep 1997 16:39:43 -0300 (EST) From: RODOLFO BROCO MANIN <971531@dcc.unicamp.br> X-Sender: 971531@xingu To: freebsd-questions@freebsd.org Subject: Listing badblocks Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi All... I'm using a Quantum Empire 2100S hard drive with a Adaptec 1542CF host adapter. Problem is: The HD have a lot of bad sectors (phisical accident). I try to remap these, but it was done sucessfull for the firsts sectors only. After remap some sectors (using the AHA1542's firmware: The Scsi Select utilitie), the utilitie returns me a 04 error code (hardware error). Formatting the whole disk under DOS and using the Norton Calibrate, I get 4Mb of bad DOS' CLUSTERS. Actually, I can't get another HD. Questions is: - Is the G-List Full? - I Uses FreeBSD with this machine, and the bad144 (FreeBSD's module to mark badsectors) is a big trash. How can I list the badsectors to mark them (generate a list to use with Unix's FSCK utilitie, for example)? It's possible to do that under DOS (or OS/2). Note: Actualy, I uses the disks with DOS, OS/2 and FreeBSD. Under DOS and OS/2, I mark the badblock with no problems, but under Unix-like systems (Slakware/RedHat Linux, SCO Unix and FreeBSD), I can't do that (the support of badblocks is realy BAD on these systems) Partition Map: Boot Disk (IDE - It's OK): Sec. Disck (SCSI - The problem is here): +-----------------------------+ +-------------------------------------+ | OS/2 Boot Manager (1Mb) | | FreeBSD boot partition (464Mb) | +-----------------------------+ +-------------------------------------+ | DOS boot Partition (15Mb) | | FAT Extended Logical Unit (560Mb) | +-----------------------------+ +- - - - - - - - - - - - - - - - - - -+ | OS/2 boot Partition (154Mb) | | HPFS Extended Logical Unit (1.1Gb) | +-----------------------------+ +-------------------------------------+ Thanks, and... I'm studing english :-) \\|// (o o) +---------------------------ooO-( )-Ooo-------------------------+ | Rodolfo Broco Manin | | State University of - Campinas - UNICAMP (Sao Paulo - Brazil) | | e-mail: 971531@dcc.unicamp.br | +---------------------------------------------------------------+