From: "Terry L. Ridder" <terrylr@gte.net>
Subject: badblocks app & kmalloc question
Date: 1997/12/27 [thread overview]
Message-ID: <682cpo$or8$1@gte1.gte.net> (raw)
Hello;
Background:
Alpha PC164
128 MB RAM
SCSI card - ncr53c810 chipset
SCSI driver - ncr53c810 NOT the 53c7,8xx driver
harddrives - 2 ST32550N's 1 Quantum Fireball ST3.2S
Linux - RedHat 4.2
/dev/sda -- ST32550N harddrive -- Linux drive
/dev/sdb -- ST32550N harddrive -- NT4.0
/dev/sdc -- ST3.2S harddrive -- Linux drive
The /dev/sda harddrive developed several bad blocks which required
the drive to be reformatted. Before restoring the filesystems from tape
the ran the following:
badblocks -b 1024 /dev/sda3 1536000
consistantly I receive a scsidisk error message in /var/log/messages concerning
sector 2163128.
I decided to run badblocks in read/write mode with the following command:
badblocks -b 1024 -s -v -w /dev/sda3 1536000
This command fails and basically hangs the machine for awhile til it can be 'killed'.
I receive the following message:
"Couldn't get a free page..." which is coming from /usr/src/linux/mm/kmalloc.c
Before I dive into this problem has anyone else ever seen this problem?
I am able to run the read/write test by doing it in 100000 block segments.
i.e.
badblocks -b 1024 -s -v -w /dev/sda3 100000 000000
badblocks -b 1024 -s -v -w /dev/sda3 200000 100000
badblocks -b 1024 -s -v -w /dev/sda3 300000 200000
...
badblocks -b 1024 -s -v -w /dev/sda3 1536000 1500000
I do not receive the same errors as the read-only test.
I receive several different sectors as being unrecovered read errors, the sectors
are all in the same cylinders however.
I will need to reformat the drive once again, but why does badblocks in read/write mode
interact so negatively with kmalloc? I have never seen this message before running
badblocks. Does anyone have an educated guess as to how valid badblocks is for finding
bad blocks in a SCSI disk partition?
Terry L. Ridder
Blue Danube Software (Blaue Donau Software)
"We do not write software, we compose it."
When the toast is burnt
and all the milk has turned
and Captain Crunch is waving goodbye
when the Big One finds you
may this song remind you that they
don't serve breakfast in hell
==Breakfast==Newsboys
next reply other threads:[~1997-12-27 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-12-27 5:00 Terry L. Ridder [this message]
1997-12-27 5:00 ` badblocks app & kmalloc question geerten kuiper
1997-12-27 5:00 ` Carlos Vidal
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox