Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* badblocks app & kmalloc question
@ 1997-12-27  5:00 Terry L. Ridder
  1997-12-27  5:00 ` geerten kuiper
  1997-12-27  5:00 ` Carlos Vidal
  0 siblings, 2 replies; 3+ messages in thread
From: Terry L. Ridder @ 1997-12-27  5:00 UTC (permalink / 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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1997-12-27  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-12-27  5:00 badblocks app & kmalloc question Terry L. Ridder
1997-12-27  5:00 ` geerten kuiper
1997-12-27  5:00 ` Carlos Vidal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox