Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* SCSI HD trubble
  2001-03-15  8:49       ` francis Hauguet
@ 2001-03-15 18:10         ` Alexey Chupakhin
  2001-03-15 18:54           ` Steve
  0 siblings, 1 reply; 36+ messages in thread
From: Alexey Chupakhin @ 2001-03-15 18:10 UTC (permalink / raw)
  To: axp-list

What is required to do for SCSI winchester with badblocks?
It is known that controller goes to mark badblocks himself.
It is good for any SCSI adapters that allows to do lowlevel format.
What about Jensen with AHA-1742 ?
Once winchester get a badblock we just can put it into basket ?

Alexey




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

* RE: SCSI HD trubble
@ 2001-03-15 18:49 KirkE
  2001-03-15 19:00 ` Steve
  0 siblings, 1 reply; 36+ messages in thread
From: KirkE @ 2001-03-15 18:49 UTC (permalink / raw)
  To: axp-list

Alexey,

When bad blocks begin to appear on disk (you will receive errors during boot
time scans or manual fschk) the disk will soon fail.  The process is not
reversible, use this time to obtain a new disk which the AHA1742 EISA
controller can understand (I believe it must be under 9GB).  

Good luck,

--KE

-----Original Message-----
From: Alexey Chupakhin [mailto:achupahi@uic.rsu.ru]
Sent: Thursday, March 15, 2001 10:11 AM
To: axp-list@redhat.com
Subject: SCSI HD trubble



What is required to do for SCSI winchester with badblocks?
It is known that controller goes to mark badblocks himself.
It is good for any SCSI adapters that allows to do lowlevel format.
What about Jensen with AHA-1742 ?
Once winchester get a badblock we just can put it into basket ?

Alexey



_______________________________________________
Axp-list mailing list
Axp-list@redhat.com
https://listman.redhat.com/mailman/listinfo/axp-list




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

* Re: SCSI HD trubble
  2001-03-15 18:10         ` SCSI HD trubble Alexey Chupakhin
@ 2001-03-15 18:54           ` Steve
  2001-03-16 10:14             ` Uncle George
  0 siblings, 1 reply; 36+ messages in thread
From: Steve @ 2001-03-15 18:54 UTC (permalink / raw)
  To: axp-list

Alexey,

I should also mention that using another manufacturer's SCSI controller has NOT
worked for me in the past.  I have been consistent in using only Adaptec.
The actual model I use is AHA-1542CF.  I have not been able to use the 1742 for
any formatting at all.

Regards,

			-Steve

> 
> 
> What is required to do for SCSI winchester with badblocks?
> It is known that controller goes to mark badblocks himself.
> It is good for any SCSI adapters that allows to do lowlevel format.
> What about Jensen with AHA-1742 ?
> Once winchester get a badblock we just can put it into basket ?
> 
> Alexey
> 
> 
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
> 




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

* RE: SCSI HD trubble
@ 2001-03-15 18:57 Hoover, Tony
  0 siblings, 0 replies; 36+ messages in thread
From: Hoover, Tony @ 2001-03-15 18:57 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

SCSI hard drives react differently to the SCSI "FORMAT" command (0x04).
Some may be able to low level format the drive if you can send a SCSI
command 0x04.  However you are really only borrowing time until the ultimate
failure of your drive.  
My recommendation... Find another drive (quickly).

> ----------
> From: 	Alexey Chupakhin[SMTP:achupahi@uic.rsu.ru]
> Reply To: 	axp-list@redhat.com
> Sent: 	Thursday, March 15, 2001 12:10 PM
> To: 	axp-list@redhat.com
> Subject: 	SCSI HD trubble
> 
> 
> What is required to do for SCSI winchester with badblocks?
> It is known that controller goes to mark badblocks himself.
> It is good for any SCSI adapters that allows to do lowlevel format.
> What about Jensen with AHA-1742 ?
> Once winchester get a badblock we just can put it into basket ?
> 
> Alexey
> 
> 
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
> 




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

* Re: SCSI HD trubble
  2001-03-15 18:49 KirkE
@ 2001-03-15 19:00 ` Steve
  0 siblings, 0 replies; 36+ messages in thread
From: Steve @ 2001-03-15 19:00 UTC (permalink / raw)
  To: axp-list

Good advice!  You might get additional time from the reformat but eventually
it will catch up with you.  If you have no choice then make sure backups are
in GREAT shape!

According to Adaptec, the maximum size drive "supported" is 8.0GB.  Remember
that DEC has modified the firmware/BIOS on the card so only they would know
for sure.  The other thing is - try to get a revision of "G.1" or H.1"
if at all possible.

Regards,

			-Steve



> 
> Alexey,
> 
> When bad blocks begin to appear on disk (you will receive errors during boot
> time scans or manual fschk) the disk will soon fail.  The process is not
> reversible, use this time to obtain a new disk which the AHA1742 EISA
> controller can understand (I believe it must be under 9GB).  
> 
> Good luck,
> 
> --KE
> 
> -----Original Message-----
> From: Alexey Chupakhin [mailto:achupahi@uic.rsu.ru]
> Sent: Thursday, March 15, 2001 10:11 AM
> To: axp-list@redhat.com
> Subject: SCSI HD trubble
> 
> 
> 
> What is required to do for SCSI winchester with badblocks?
> It is known that controller goes to mark badblocks himself.
> It is good for any SCSI adapters that allows to do lowlevel format.
> What about Jensen with AHA-1742 ?
> Once winchester get a badblock we just can put it into basket ?
> 
> Alexey
> 
> 
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
> 
> 
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
> 




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

* RE: SCSI HD trubble
@ 2001-03-15 20:53 Paul Bunn
  2001-03-15 23:51 ` Michal Jaegermann
  0 siblings, 1 reply; 36+ messages in thread
From: Paul Bunn @ 2001-03-15 20:53 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

There's also something else to consider:
There are two bits in the MODE SELECT pages:
AWRE - Automatic Write REallocation
ARRE - Automatic Read REallocation

When these bits are set, there are no errors reported traditionally when a
bad-sector is found because the sector is automatically remapped out and replaced
with a spare sector from the sector spare pool.  It's only once this pool of
spares is exhausted does the error get reported.  It's also possible for the
remapping to be done by the disk device driver, but I'm not sure if this is
implemented in Linux.

Now, if the bits above mentioned are NOT set, then getting a bad-sector error is
no big deal -- use the VERIFY operation of the SCSI controller's BIOS and the
remapping will be done for you that way.  You should keep an eye on the drive, and
backups are *always* recommended anyway.  If the drive starts generating errors on
a frequent basis, it usually is the foretelling of the device's total imminent
failure.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com
 

-----Original Message-----
From: Steve [mailto:steve@alex.hollis.nh.us]
Sent: None
To: axp-list@redhat.com
Subject: Re: SCSI HD trubble


Good advice!  You might get additional time from the reformat but eventually
it will catch up with you.  If you have no choice then make sure backups are
in GREAT shape!

According to Adaptec, the maximum size drive "supported" is 8.0GB.  Remember
that DEC has modified the firmware/BIOS on the card so only they would know
for sure.  The other thing is - try to get a revision of "G.1" or H.1"
if at all possible.

Regards,

			-Steve



> 
> Alexey,
> 
> When bad blocks begin to appear on disk (you will receive errors during boot
> time scans or manual fschk) the disk will soon fail.  The process is not
> reversible, use this time to obtain a new disk which the AHA1742 EISA
> controller can understand (I believe it must be under 9GB).  
> 
> Good luck,
> 
> --KE
> 
> -----Original Message-----
> From: Alexey Chupakhin [mailto:achupahi@uic.rsu.ru]
> Sent: Thursday, March 15, 2001 10:11 AM
> To: axp-list@redhat.com
> Subject: SCSI HD trubble
> 
> 
> 
> What is required to do for SCSI winchester with badblocks?
> It is known that controller goes to mark badblocks himself.
> It is good for any SCSI adapters that allows to do lowlevel format.
> What about Jensen with AHA-1742 ?
> Once winchester get a badblock we just can put it into basket ?
>




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

* Re: SCSI HD trubble
  2001-03-15 20:53 Paul Bunn
@ 2001-03-15 23:51 ` Michal Jaegermann
  2001-03-16  0:06   ` Andrei A. Dergatchev
                     ` (2 more replies)
  0 siblings, 3 replies; 36+ messages in thread
From: Michal Jaegermann @ 2001-03-15 23:51 UTC (permalink / raw)
  To: axp-list

On Thu, Mar 15, 2001 at 12:53:08PM -0800, Paul Bunn wrote:
> It's also possible for the
> remapping to be done by the disk device driver, but I'm not sure if this is
> implemented in Linux.

There is 'badblocks' utility on your system and 'e2fsck' will use
it automatically when called with '-c' flag.  Try 'man badblocks'
and 'man e2fsck'; in the later case flags '-c' and '-l' in particular.

How fast you will run out of 'badblocks' that is another story.

  Michal




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

* Re: SCSI HD trubble
  2001-03-15 23:51 ` Michal Jaegermann
@ 2001-03-16  0:06   ` Andrei A. Dergatchev
  2001-03-16  0:21     ` Michal Jaegermann
  2001-03-16 14:04   ` Alan P. Kennedy, Sr
  2001-03-16 15:27   ` Alan P. Kennedy, Sr
  2 siblings, 1 reply; 36+ messages in thread
From: Andrei A. Dergatchev @ 2001-03-16  0:06 UTC (permalink / raw)
  To: axp-list


Michal Jaegermann wrote:

> On Thu, Mar 15, 2001 at 12:53:08PM -0800, Paul Bunn wrote:
> > It's also possible for the
> > remapping to be done by the disk device driver, but I'm not sure if this is
> > implemented in Linux.
>
> There is 'badblocks' utility on your system and 'e2fsck' will use
> it automatically when called with '-c' flag.  Try 'man badblocks'
> and 'man e2fsck'; in the later case flags '-c' and '-l' in particular.

I'm wondering about this '-l|-L" option - man page doesn't say
anything about expected format of this file. Will a list like
0x000000001
...
0x100000000
do ?
And am I right that the result of "e2fsck -L mybadblocks"
will make sure that the fs won't access those ever ?
Just curious, got a few bad blocks on my drive which neither
low level format (SCSI 06 that is) nor reassign (07) can deal with :-((

>
> How fast you will run out of 'badblocks' that is another story.
>
>   Michal
>

Regards,

Andrei




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

* Re: SCSI HD trubble
  2001-03-16  0:06   ` Andrei A. Dergatchev
@ 2001-03-16  0:21     ` Michal Jaegermann
  2001-03-16  0:42       ` Andrei A. Dergatchev
  0 siblings, 1 reply; 36+ messages in thread
From: Michal Jaegermann @ 2001-03-16  0:21 UTC (permalink / raw)
  To: axp-list

On Fri, Mar 16, 2001 at 01:06:02AM +0100, Andrei A. Dergatchev wrote:
> Michal Jaegermann wrote:
> > There is 'badblocks' utility on your system and 'e2fsck' will use
> > it automatically when called with '-c' flag.  Try 'man badblocks'
> > and 'man e2fsck'; in the later case flags '-c' and '-l' in particular.
> 
> I'm wondering about this '-l|-L" option - man page doesn't say
> anything about expected format of this file. Will a list like
> 0x000000001
> ...
> 0x100000000
> do ?

This is what documentation says:

       -o output_file
              Write the list of bad blocks to the specified file.
              Without this option, badblocks displays the list on
              its  standard  output.   The format of this file is
                                         ^^^^^^^^^^^^^^^^^^^^^^^
              suitable for use by the -l option in  e2fsck(8)  or
              ^^^^^^
              mke2fs(8).

I am afraid that I do not know much more but it should be easy
to find that from sources what is this format if you do not have
any bad blocks. :-)

> Just curious, got a few bad blocks on my drive which neither
> low level format (SCSI 06 that is) nor reassign (07) can deal with :-((

In theory 'e2fsck -fc <device>' should do that for you (these blocks
will be marked as "used" in your file system) but I never tried that
myself.  '-c' runs badblocks as a subprocess.

  Michal




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

* Re: SCSI HD trubble
  2001-03-16  0:21     ` Michal Jaegermann
@ 2001-03-16  0:42       ` Andrei A. Dergatchev
  2001-03-16  0:54         ` Michal Jaegermann
  0 siblings, 1 reply; 36+ messages in thread
From: Andrei A. Dergatchev @ 2001-03-16  0:42 UTC (permalink / raw)
  To: axp-list


Michal Jaegermann wrote:

> [..]
>
> This is what documentation says:
>
>        -o output_file

Thanks !
Haven't read the man page till the end, sorry :-( !

>
> > Just curious, got a few bad blocks on my drive which neither
> > low level format (SCSI 06 that is) nor reassign (07) can deal with :-((
>
> In theory 'e2fsck -fc <device>' should do that for you (these blocks
> will be marked as "used" in your file system) but I never tried that
> myself.  '-c' runs badblocks as a subprocess.

Well, I haven't seen that much of discussion related
to SCSI subsystem on AlphaLinux, and I wasn't subscribed
to other SCSI lists until very recently, that's why I'm asking :

I don't have a clear idea of what is going to happen when
a drive finds a bad block. From one viewpoint, with automatic
block reassignment of the drive turned ON, the filesystem should
expect that the drive will deal with the problem - reassign the bad
block i.e. - and the present logical address should be fine (?).
From another viewpoint, I'm stuck in the situation when
a drive does not do reassignment at all, or at least does not do
reassignment for a few "special" bad blocks, so I'd prefer
the file system to mark them as used and never refer to them.

Thanks a lot for your help again,

>
>
>   Michal
>

Regards,

Andrei




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

* Re: SCSI HD trubble
  2001-03-16  0:42       ` Andrei A. Dergatchev
@ 2001-03-16  0:54         ` Michal Jaegermann
  2001-03-16  7:25           ` Helge Kreutzmann
  0 siblings, 1 reply; 36+ messages in thread
From: Michal Jaegermann @ 2001-03-16  0:54 UTC (permalink / raw)
  To: axp-list

On Fri, Mar 16, 2001 at 01:42:58AM +0100, Andrei A. Dergatchev wrote:
> 
> I don't have a clear idea of what is going to happen when
> a drive finds a bad block. From one viewpoint, with automatic
> block reassignment of the drive turned ON, the filesystem should
> expect that the drive will deal with the problem - reassign the bad
> block i.e. - and the present logical address should be fine (?).
> From another viewpoint, I'm stuck in the situation when
> a drive does not do reassignment at all, or at least does not do
> reassignment for a few "special" bad blocks, so I'd prefer
> the file system to mark them as used and never refer to them.

These are two different levels.  When a drive/device driver is
doing remapping your file system should not see that bad block at
all (you may loose it contents if errors happened on read but usually
you will have first problems with writes).  Utilities like 'e2fsck -c'
will just tell a file system that some disk pieces are "used" so
they are not available.  'badblocks' will produce a list for a device
but it is up to a given file system to do something with it.  If
you have such block in swap, for example, then it may turn out
to be a real PITA and bad reads of a swapped out stuff may provide an
interesting way to crash. :-)

  Michal




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

* Re: SCSI HD trubble
  2001-03-16  0:54         ` Michal Jaegermann
@ 2001-03-16  7:25           ` Helge Kreutzmann
  0 siblings, 0 replies; 36+ messages in thread
From: Helge Kreutzmann @ 2001-03-16  7:25 UTC (permalink / raw)
  To: axp-list

Hello !
On Thu, Mar 15, 2001 at 05:54:05PM -0700, Michal Jaegermann wrote:
> On Fri, Mar 16, 2001 at 01:42:58AM +0100, Andrei A. Dergatchev wrote:
<snip>
> but it is up to a given file system to do something with it.  If
> you have such block in swap, for example, then it may turn out
> to be a real PITA and bad reads of a swapped out stuff may provide an
> interesting way to crash. :-)

Yup. I had that once (albeit on an Intel) and it took me quite some
time to understand why the machine ran fine even under load until I
started some programm (which caused to swap) and then the machine
locked solid.

        Regards

	        Helge
-- 
Helge Kreutzmann, Dipl.-Phys.                      kreutzm@itp.uni-hannover.de
         For gpg-key: finger kreutzm@rigel.itp.uni-hannover.de
    64bit GNU powered                  http://www.itp.uni-hannover.de/~kreutzm
       Help keep free software "libre": http://www.freepatents.org/




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

* Re: SCSI HD trubble
  2001-03-15 18:54           ` Steve
@ 2001-03-16 10:14             ` Uncle George
  0 siblings, 0 replies; 36+ messages in thread
From: Uncle George @ 2001-03-16 10:14 UTC (permalink / raw)
  To: axp-list

The last time I asked about "low level" formatting of a scsi disk drive
is that that disk drive capability does not exist anymore. This ( I
think ) was for a quantum 4 gig disk drive. I think that most
manufacturers of disk drives ( these days ) wont let u low level format
anything.
/gat





Steve wrote:
> 
> Alexey,
> 
> I should also mention that using another manufacturer's SCSI controller has NOT
> worked for me in the past.  I have been consistent in using only Adaptec.
> The actual model I use is AHA-1542CF.  I have not been able to use the 1742 for
> any formatting at all.
> 
> Regards,
> 
>                         -Steve
> 
> >
> >
> > What is required to do for SCSI winchester with badblocks?
> > It is known that controller goes to mark badblocks himself.
> > It is good for any SCSI adapters that allows to do lowlevel format.
> > What about Jensen with AHA-1742 ?
> > Once winchester get a badblock we just can put it into basket ?
> >
> > Alexey
> >
> >
> >
> > _______________________________________________
> > Axp-list mailing list
> > Axp-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/axp-list
> >
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list





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

* Re: SCSI HD trubble
  2001-03-15 23:51 ` Michal Jaegermann
  2001-03-16  0:06   ` Andrei A. Dergatchev
@ 2001-03-16 14:04   ` Alan P. Kennedy, Sr
  2001-03-16 15:27   ` Alan P. Kennedy, Sr
  2 siblings, 0 replies; 36+ messages in thread
From: Alan P. Kennedy, Sr @ 2001-03-16 14:04 UTC (permalink / raw)
  To: axp-list

>>>>> "Michal" == Michal Jaegermann <michal@ellpspace.math.ualberta.ca> writes:

Try this utility 

http://www.bit-net.com/~rmiller/scu.html

Later,

Alan




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

* Re: SCSI HD trubble
  2001-03-15 23:51 ` Michal Jaegermann
  2001-03-16  0:06   ` Andrei A. Dergatchev
  2001-03-16 14:04   ` Alan P. Kennedy, Sr
@ 2001-03-16 15:27   ` Alan P. Kennedy, Sr
  2 siblings, 0 replies; 36+ messages in thread
From: Alan P. Kennedy, Sr @ 2001-03-16 15:27 UTC (permalink / raw)
  To: axp-list

>>>>> "Michal" == Michal Jaegermann <michal@ellpspace.math.ualberta.ca> writes:

Try this utility it is very nice for scsi drives.

http://www.bit-net.com/~rmiller/scu.html

Good luck,

Alan




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

* RE: SCSI HD trubble
@ 2001-03-16 16:27 Paul Bunn
  2001-03-16 22:17 ` Uncle George
  0 siblings, 1 reply; 36+ messages in thread
From: Paul Bunn @ 2001-03-16 16:27 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

No, all modern SCSI drives allow a low-level format.  SCSI drives support
different sector sizes ("Block size" in SCSI terminology) changed via a MODE
SELECT op followed by a FORMAT UNIT command (low-level format).
IDE drives typically do not offer a low-level format, the ones that do require a
special DOS-based diagnostic program written by the device's manufacturer.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com
 

-----Original Message-----
From: Uncle George [mailto:gatgul@voicenet.com]
Sent: Friday, March 16, 2001 2:14 AM
To: axp-list@redhat.com
Subject: Re: SCSI HD trubble


The last time I asked about "low level" formatting of a scsi disk drive
is that that disk drive capability does not exist anymore. This ( I
think ) was for a quantum 4 gig disk drive. I think that most
manufacturers of disk drives ( these days ) wont let u low level format
anything.
/gat




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

* Re: SCSI HD trubble
  2001-03-16 16:27 SCSI HD trubble Paul Bunn
@ 2001-03-16 22:17 ` Uncle George
  2001-03-16 22:25   ` Andrei A. Dergatchev
  0 siblings, 1 reply; 36+ messages in thread
From: Uncle George @ 2001-03-16 22:17 UTC (permalink / raw)
  To: axp-list

Sorry, but that was the info relayed to me. AND with current technology
being what they are, low level formatting, interleav'ng factors, and the
different amount of data that can be placed on each track ( more outer,
less inner tracks ) I tend to believe the tecnicians answer. Just having
the scsi command set have a format command, does not mean that the drive
has the capability.

My query at the time was to change the sector size from 512 to 1024,
which required a low level format. I did not have any luck in getting it
to change to 1024. Oh well. 

I'd love to see 1024 byte sectors for my scsi drives. 

/gat


Paul Bunn wrote:
> 
> No, all modern SCSI drives allow a low-level format.  SCSI drives support
> different sector sizes ("Block size" in SCSI terminology) changed via a MODE
> SELECT op followed by a FORMAT UNIT command (low-level format).
> IDE drives typically do not offer a low-level format, the ones that do require a
> special DOS-based diagnostic program written by the device's manufacturer.
> 
> Regards,
> 
> Paul Bunn, UltraBac.com, 425-644-6000
> Microsoft MVP - WindowsNT/2000
> http://www.ultrabac.com
> 
> 
> -----Original Message-----
> From: Uncle George [mailto:gatgul@voicenet.com]
> Sent: Friday, March 16, 2001 2:14 AM
> To: axp-list@redhat.com
> Subject: Re: SCSI HD trubble
> 
> The last time I asked about "low level" formatting of a scsi disk drive
> is that that disk drive capability does not exist anymore. This ( I
> think ) was for a quantum 4 gig disk drive. I think that most
> manufacturers of disk drives ( these days ) wont let u low level format
> anything.
> /gat
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list




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

* Re: SCSI HD trubble
  2001-03-16 22:17 ` Uncle George
@ 2001-03-16 22:25   ` Andrei A. Dergatchev
  2001-03-16 22:27     ` Andrei A. Dergatchev
  2001-03-19 11:43     ` Uncle George
  0 siblings, 2 replies; 36+ messages in thread
From: Andrei A. Dergatchev @ 2001-03-16 22:25 UTC (permalink / raw)
  To: axp-list


Uncle George wrote:

> Sorry, but that was the info relayed to me. AND with current technology
> being what they are, low level formatting, interleav'ng factors, and the
> different amount of data that can be placed on each track ( more outer,
> less inner tracks ) I tend to believe the tecnicians answer. Just having
> the scsi command set have a format command, does not mean that the drive
> has the capability.
>
> My query at the time was to change the sector size from 512 to 1024,
> which required a low level format. I did not have any luck in getting it
> to change to 1024. Oh well.

I read in comp.periphs.scsi that one has to have a special
equipment to perform a LLF with any sector size different
from 512 bytes.
FWIW, my drives came formatted with 520 bytes sector size
and I had to reformat the drive to make it useful (don't know when
Linux will support anything different from 512 ?)

>
>
> I'd love to see 1024 byte sectors for my scsi drives.
>
> /gat
>

David Miller, the author of "scu" utility, mailed me an example
where he made 4096 byte sector size on his 50GB drive.

Regards,

Andrei




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

* Re: SCSI HD trubble
  2001-03-16 22:25   ` Andrei A. Dergatchev
@ 2001-03-16 22:27     ` Andrei A. Dergatchev
  2001-03-19 11:43     ` Uncle George
  1 sibling, 0 replies; 36+ messages in thread
From: Andrei A. Dergatchev @ 2001-03-16 22:27 UTC (permalink / raw)
  To: axp-list

>
> David Miller,

I'm extremely sorry, it's Robin T. Miller ! Sorry !
Should check before I'm writing :-(

> the author of "scu" utility, mailed me an example
> where he made 4096 byte sector size on his 50GB drive.
>
> Regards,
>
> Andrei
>




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

* RE: SCSI HD trubble
@ 2001-03-17  0:59 Paul Bunn
  2001-03-17 17:10 ` Michal Jaegermann
  0 siblings, 1 reply; 36+ messages in thread
From: Paul Bunn @ 2001-03-17  0:59 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

Sorry, but you've been given bum info.
I have 16 years experience of dealing with SCSI, coupled with writing both OS
drivers and device firmware.  In all that time I've never come across a device
that has failed a FORMAT UNIT command (other than because the unit was on its
death bed).  SCSI devices have never had interleaving -- all of that messy
business is abstracted by the device itself, all SCSI random-access devices have
been LBA since day 1.  This also means that you don't have to concern yourself
with the internal geometry of the drive, including whether more data is stored at
the outer tracks or not.   The LBA addressing caused problems in the old days
since the old INT 13 interface necessitated a C/H/S addressing scheme that was
imposed on top of the LBA addressing.  This is still done today at least until the
kernel/device drivers are initialized.
Most devices do support various block sizes (I don't recall off-hand which
commands are used to inquire as to what is supported, but I think it's READ BLOCK
LIMITS).  However, if you do successfully format a drive with 1024 or 2048 byte
blocks (sectors) don't be surprised if your OS freaks out, as it has to be coded
explicitly to deal with that block size.  I'm not sure if linux has any such
provisions.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com
 

-----Original Message-----
From: Uncle George [mailto:gatgul@voicenet.com]
Sent: Friday, March 16, 2001 2:18 PM
To: axp-list@redhat.com
Subject: Re: SCSI HD trubble


Sorry, but that was the info relayed to me. AND with current technology
being what they are, low level formatting, interleav'ng factors, and the
different amount of data that can be placed on each track ( more outer,
less inner tracks ) I tend to believe the tecnicians answer. Just having
the scsi command set have a format command, does not mean that the drive
has the capability.

My query at the time was to change the sector size from 512 to 1024,
which required a low level format. I did not have any luck in getting it
to change to 1024. Oh well. 

I'd love to see 1024 byte sectors for my scsi drives. 

/gat


Paul Bunn wrote:
> 
> No, all modern SCSI drives allow a low-level format.  SCSI drives support
> different sector sizes ("Block size" in SCSI terminology) changed via a MODE
> SELECT op followed by a FORMAT UNIT command (low-level format).
> IDE drives typically do not offer a low-level format, the ones that do require a
> special DOS-based diagnostic program written by the device's manufacturer.
> 
> -----Original Message-----
> From: Uncle George [mailto:gatgul@voicenet.com]
> Sent: Friday, March 16, 2001 2:14 AM
> To: axp-list@redhat.com
> Subject: Re: SCSI HD trubble
> 
> The last time I asked about "low level" formatting of a scsi disk drive
> is that that disk drive capability does not exist anymore. This ( I
> think ) was for a quantum 4 gig disk drive. I think that most
> manufacturers of disk drives ( these days ) wont let u low level format
> anything.




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

* Re: SCSI HD trubble
  2001-03-17  0:59 Paul Bunn
@ 2001-03-17 17:10 ` Michal Jaegermann
  0 siblings, 0 replies; 36+ messages in thread
From: Michal Jaegermann @ 2001-03-17 17:10 UTC (permalink / raw)
  To: axp-list

On Fri, Mar 16, 2001 at 04:59:58PM -0800, Paul Bunn wrote:
> Sorry, but you've been given bum info.
> I have 16 years experience of dealing with SCSI, coupled with writing both OS
> drivers and device firmware.  In all that time I've never come across a device
> that has failed a FORMAT UNIT command
....

> Most devices do support various block sizes (I don't recall off-hand
> which commands are used to inquire as to what is supported, but I
> think it's READ BLOCK LIMITS).  However, if you do successfully format
> a drive with 1024 or 2048 byte blocks (sectors) don't be surprised if
> your OS freaks out, as it has to be coded explicitly to deal with that
> block size.

Years ago when I got myself for NeXT machine a WREN full height SCSI
drive with a whopping 700 MB, or so, capacity (it still works even it is
not in use right now) I immediately changed its block size to 1024.
This was a popular move on NeXT, and tools for that were readily
available, as a drive after such change was performing better and was
gaining an extra usable capacity and one would not have to worry about
some legacy junk from M$.  Quite a bit later I added there a Quantum
drive (it died some year ago).  You could try to change on it a sector
size and that command was not failing but also it was not doing anything
useful.  A sector size on that drive was hardwired to 512 bytes because
this is what "everybody" is using.  Right?

> I'm not sure if linux has any such provisions.

BTW - Linux can mount this WREN if a support for a proper variant of UFS
is present in a kernel so, apparently, it is not fazed by its sector
size.:-)

  Michal




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

* RE: SCSI HD trubble
@ 2001-03-18 17:11 KirkE
  2001-03-19  6:11 ` Alexey Chupakhin
  0 siblings, 1 reply; 36+ messages in thread
From: KirkE @ 2001-03-18 17:11 UTC (permalink / raw)
  To: axp-list

Paul,

I didn't think you monitored this list.  Note that I mentioned you by name
in a previous SCSI-imbued post.  Good to have you among us.

--KE

-----Original Message-----
From: Paul Bunn [mailto:Paul@UltraBac.com]
Sent: Friday, March 16, 2001 5:00 PM
To: 'axp-list@redhat.com'
Subject: RE: SCSI HD trubble


Sorry, but you've been given bum info.




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

* Re: SCSI HD trubble
  2001-03-18 17:11 KirkE
@ 2001-03-19  6:11 ` Alexey Chupakhin
  0 siblings, 0 replies; 36+ messages in thread
From: Alexey Chupakhin @ 2001-03-19  6:11 UTC (permalink / raw)
  To: axp-list

I simple decide problem with badblocks:
In tru64 there is an program *scu*, that can do full SCSI controller
operations,
like format and download controller firmware.
It seems, OpenVMS has such program too.
I simply format my ill HD and mark badblocks. One thing: one who do it
must hope that badblocks do not appears again.
But if one get this hd for 20$ it is not so bad. :-)

regards,
Alexey


----- Original Message -----
From: <KirkE@paccessglobal.com>
To: <axp-list@redhat.com>
Sent: Sunday, March 18, 2001 8:11 PM
Subject: RE: SCSI HD trubble


> Paul,
>
> I didn't think you monitored this list.  Note that I mentioned you by name
> in a previous SCSI-imbued post.  Good to have you among us.
>
> --KE
>
> -----Original Message-----
> From: Paul Bunn [mailto:Paul@UltraBac.com]
> Sent: Friday, March 16, 2001 5:00 PM
> To: 'axp-list@redhat.com'
> Subject: RE: SCSI HD trubble
>
>
> Sorry, but you've been given bum info.
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list




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

* Re: SCSI HD trubble
  2001-03-16 22:25   ` Andrei A. Dergatchev
  2001-03-16 22:27     ` Andrei A. Dergatchev
@ 2001-03-19 11:43     ` Uncle George
  2001-03-19 18:36       ` Andrei A. Dergatchev
  1 sibling, 1 reply; 36+ messages in thread
From: Uncle George @ 2001-03-19 11:43 UTC (permalink / raw)
  To: axp-list

Is that example handy ?
 I think i'd like to resurrect a long dead project.
thanks
/gat


"Andrei A. Dergatchev" wrote:
> 
> >
> > I'd love to see 1024 byte sectors for my scsi drives.
> >
> > /gat
> >
> 
> David Miller, the author of "scu" utility, mailed me an example
> where he made 4096 byte sector size on his 50GB drive.
> 
> Regards,
>




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

* RE: SCSI HD trubble
@ 2001-03-19 17:45 Paul Bunn
  0 siblings, 0 replies; 36+ messages in thread
From: Paul Bunn @ 2001-03-19 17:45 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

Hi Kirk,
Thanks for the endorsement -- I saw the name-check in the SCSI post the other day.

Great to be here!  ;-)  Just trying to boost my Linux knowledge by osmosis here...

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com
 

-----Original Message-----
From: KirkE@paccessglobal.com [mailto:KirkE@paccessglobal.com]
Sent: Sunday, March 18, 2001 9:12 AM
To: axp-list@redhat.com
Subject: RE: SCSI HD trubble


Paul,

I didn't think you monitored this list.  Note that I mentioned you by name
in a previous SCSI-imbued post.  Good to have you among us.

--KE

-----Original Message-----
From: Paul Bunn [mailto:Paul@UltraBac.com]
Sent: Friday, March 16, 2001 5:00 PM
To: 'axp-list@redhat.com'
Subject: RE: SCSI HD trubble


Sorry, but you've been given bum info.




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

* Re: SCSI HD trubble
  2001-03-19 11:43     ` Uncle George
@ 2001-03-19 18:36       ` Andrei A. Dergatchev
  2001-03-19 20:43         ` Sebastian Moeller
                           ` (2 more replies)
  0 siblings, 3 replies; 36+ messages in thread
From: Andrei A. Dergatchev @ 2001-03-19 18:36 UTC (permalink / raw)
  To: axp-list


Uncle George wrote:

> Is that example handy ?
>  I think i'd like to resurrect a long dead project.

Well, it's simple with his tool. I more meant to stress that it is
possible
to change sector size of the drive, despite what you've been told.

scu> show mode

Mode Parameters (Current Values):

Mode Parameter Header:

                      Mode Data Length: 170
                           Medium Type: 0 (Default Medium Type)
             Device Specific Parameter: 0x10 (Supports DPO & FUA bits)
               Block Descriptor Length: 8

Mode Parameter Block Descriptor:

                          Density Code: 0
              Number of Logical Blocks: 539209 (2106.285 megabytes)
                  Logical Block Length: 4096

scu> set device block 512
scu> show mode

Mode Parameters (Current Values):

Mode Parameter Header:

                      Mode Data Length: 170
                           Medium Type: 0 (Default Medium Type)
             Device Specific Parameter: 0x10 (Supports DPO & FUA bits)
               Block Descriptor Length: 8

Mode Parameter Block Descriptor:

                          Density Code: 0
              Number of Logical Blocks: 4110480 (2007.070 megabytes)
                  Logical Block Length: 512

scu>

[here you need to format].

He said that he successfully used 4K sector size for testings.
But, as it was stated in this thread too, Linux does not support
any sector size different from 512 bytes yet.
With my 73 Gig drives I was thinking to have a look around
how much hacking is necessary to get a simplest fs going -
if you'll find something please kindly inform me, I'm interested too.

>
> thanks
> /gat
>

Regards,

Andrei




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

* Re: SCSI HD trubble
  2001-03-19 18:36       ` Andrei A. Dergatchev
@ 2001-03-19 20:43         ` Sebastian Moeller
  2001-03-20 15:50           ` ST15150N SCSI HD trouble José Pedro Sousa do Amaral
       [not found]         ` <3AB66A3B.6353D457@voicenet.com>
  2001-04-24  0:06         ` Bill Beers
  2 siblings, 1 reply; 36+ messages in thread
From: Sebastian Moeller @ 2001-03-19 20:43 UTC (permalink / raw)
  To: axp-list

Hello,

On Mon, 19 Mar 2001, Andrei A. Dergatchev wrote:
> 
> He said that he successfully used 4K sector size for testings.
> But, as it was stated in this thread too, Linux does not support
> any sector size different from 512 bytes yet.
	Well I am not so sure about the 512 byte limitation. My mo-drive
works under linux, and the platters sport 2048 byte sectors. (This is a
HARD limit, no scsi command is likely to change that ;)) I can write to
it, I can read from it, so I assume it works (I have not noticed any
file corruption, but I did not really check for it either).
	The biggest catch seems to be that the choice of filesystems that
support blocks larger than 512 is somewhat limited. (Judging from man
mount on SuSE 6.3). (Number two might be fdisk...)	

Ahoi
	Sebastian Moeller

DISCLAIMER: As usual I do not really have any clue, nor do I tell the
truth, so anybody please correct me where I err.




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

* ST15150N  SCSI HD trouble
  2001-03-19 20:43         ` Sebastian Moeller
@ 2001-03-20 15:50           ` José Pedro Sousa do Amaral
  0 siblings, 0 replies; 36+ messages in thread
From: José Pedro Sousa do Amaral @ 2001-03-20 15:50 UTC (permalink / raw)
  To: axp-list

Hi,
I recently bought a Seagate Barracuda ST15150N and am having trouble getting
Linux onto it. My system is an AlphaStation 200 4/233. I set the drive's
SCSI id to 0, the termination to active, and the termination power set to be
supplied by the drive. However when  try to boot from MILO I either get a
series of periods after "Please wait while setting up devices" with MILO
2.0.35-c7b or the boot process stops after expanding the kernel and doing
some SCSI probing with an older MILO.

Am I doing anything blatantly wrong in what I describe above? Does the
ST15150N work with the SCSI controller on the AS 200? What would you suggest
my doing?

I read the archives of the list and found a similar problem, but found no
applicable answers in that thread. However, that person with a similar
problem was trying to add a SCSI disk to an already set system, whereas I
would like this disk to be my main (and only) disk on my system.

Thank you,
ZP
-- 
José Pedro Sousa do Amaral

An invasion of armies can be resisted, but not an idea whose time has come.
      -- V. Hugo




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

* Re: SCSI HD trubble
       [not found]           ` <3AB679F9.C935D2E5@tn.utwente.nl>
@ 2001-03-22 16:23             ` Uncle George
  0 siblings, 0 replies; 36+ messages in thread
From: Uncle George @ 2001-03-22 16:23 UTC (permalink / raw)
  To: Andrei A. Dergatchev, axp-list

So i tried again with my quantum 4 gig XP34300 drive. setting blocksize
to 1024 was just unacceptable, as i remembered. The tech at quantum was
correct. 512 is acceptable, but not the 1024 sector size :-{
/gat



[root@kodak scu.d]# ./scu -f /dev/sdb
scu> set device block 1024
scu: 'mode select (6)' failed on device 'XP34300' at nexus [0/3/0]
scu: Sense Key = 0x5 = ILLEGAL REQUEST - Illegal request or CDB
parameter,
     Sense Code/Qualifier = (0x26, 0x2) = Parameter value invalid
scu>
scu> set device block 512
scu> set device block 1024
scu: 'mode select (6)' failed on device 'XP34300' at nexus [0/3/0]
scu: Sense Key = 0x5 = ILLEGAL REQUEST - Illegal request or CDB
parameter,
     Sense Code/Qualifier = (0x26, 0x2) = Parameter value invalid
scu>



"Andrei A. Dergatchev" wrote:
> 
> > Not at all. I saw the format command, but did not see any option for
> > setting sector size ( except for floppy disks?! )
> 
> I apologize for posting the information without checking it myself.
> 
>




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

* RE: SCSI HD trubble
@ 2001-03-22 17:16 Paul Bunn
  2001-03-22 18:16 ` Uncle George
  0 siblings, 1 reply; 36+ messages in thread
From: Paul Bunn @ 2001-03-22 17:16 UTC (permalink / raw)
  To: 'axp-list@redhat.com', Andrei A. Dergatchev

All SCSI drives support FORMAT UNIT, but not all will accept a block size other
than 512 -- most will, but not all.  Some drives require special firmware in order
to support non-512byte blocks.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com
 

-----Original Message-----
From: Uncle George [mailto:gatgul@voicenet.com]
Sent: Thursday, March 22, 2001 8:23 AM
To: Andrei A. Dergatchev; axp-list@redhat.com
Subject: Re: SCSI HD trubble


So i tried again with my quantum 4 gig XP34300 drive. setting blocksize
to 1024 was just unacceptable, as i remembered. The tech at quantum was
correct. 512 is acceptable, but not the 1024 sector size :-{
/gat



[root@kodak scu.d]# ./scu -f /dev/sdb
scu> set device block 1024
scu: 'mode select (6)' failed on device 'XP34300' at nexus [0/3/0]
scu: Sense Key = 0x5 = ILLEGAL REQUEST - Illegal request or CDB
parameter,
     Sense Code/Qualifier = (0x26, 0x2) = Parameter value invalid
scu>
scu> set device block 512
scu> set device block 1024
scu: 'mode select (6)' failed on device 'XP34300' at nexus [0/3/0]
scu: Sense Key = 0x5 = ILLEGAL REQUEST - Illegal request or CDB
parameter,
     Sense Code/Qualifier = (0x26, 0x2) = Parameter value invalid
scu>




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

* Re: SCSI HD trubble
  2001-03-22 17:16 Paul Bunn
@ 2001-03-22 18:16 ` Uncle George
  0 siblings, 0 replies; 36+ messages in thread
From: Uncle George @ 2001-03-22 18:16 UTC (permalink / raw)
  To: axp-list

thank you, but ur opinion is no longer needed or desired. I will bury
that project again. Maybe next time you wont be so quick to point out
that all modern drives can do different sector sizes - as from my
empirical experience it is not always possible!
/gat

Paul Bunn wrote:
> 
> All SCSI drives support FORMAT UNIT, but not all will accept a block size other
> than 512 -- most will, but not all.  Some drives require special firmware in order
> to support non-512byte blocks.
>




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

* RE: SCSI HD trubble
@ 2001-03-22 18:22 KirkE
  0 siblings, 0 replies; 36+ messages in thread
From: KirkE @ 2001-03-22 18:22 UTC (permalink / raw)
  To: axp-list

Temper temper now.  Paul was just trying to lend you a hand.

Group hug?

--KE

-----Original Message-----
From: Uncle George [mailto:gatgul@voicenet.com]
Sent: Thursday, March 22, 2001 10:16 AM
To: axp-list@redhat.com
Subject: Re: SCSI HD trubble


thank you, but ur opinion is no longer needed or desired. I will bury
that project again. Maybe next time you wont be so quick to point out
that all modern drives can do different sector sizes - as from my
empirical experience it is not always possible!
/gat

Paul Bunn wrote:
> 
> All SCSI drives support FORMAT UNIT, but not all will accept a block size
other
> than 512 -- most will, but not all.  Some drives require special firmware
in order
> to support non-512byte blocks.
>




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

* RE: SCSI HD trubble
@ 2001-03-22 20:45 Paul Bunn
  0 siblings, 0 replies; 36+ messages in thread
From: Paul Bunn @ 2001-03-22 20:45 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

That was uncalled for -- as Kirk pointed out, I was only trying to assist.

What I was emphatic about was that all SCSI drives support the FORMAT UNIT, not
that all drives support different block sizes.  I can see after re-reading my
previous posts that that meaning could have been misconstrued.  Again, most SCSI
drives do support different block sizes, and I'm sorry that you have one that does
not....

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com
 

-----Original Message-----
From: Uncle George [mailto:gatgul@voicenet.com]
Sent: Thursday, March 22, 2001 10:16 AM
To: axp-list@redhat.com
Subject: Re: SCSI HD trubble


thank you, but ur opinion is no longer needed or desired. I will bury
that project again. Maybe next time you wont be so quick to point out
that all modern drives can do different sector sizes - as from my
empirical experience it is not always possible!
/gat

Paul Bunn wrote:
> 
> All SCSI drives support FORMAT UNIT, but not all will accept a block size other
> than 512 -- most will, but not all.  Some drives require special firmware in
order
> to support non-512byte blocks.




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

* RE: SCSI HD trubble
  2001-03-19 18:36       ` Andrei A. Dergatchev
  2001-03-19 20:43         ` Sebastian Moeller
       [not found]         ` <3AB66A3B.6353D457@voicenet.com>
@ 2001-04-24  0:06         ` Bill Beers
  2001-04-24  4:04           ` Uncle George
  2 siblings, 1 reply; 36+ messages in thread
From: Bill Beers @ 2001-04-24  0:06 UTC (permalink / raw)
  To: axp-list

Should scu work on a RH 5.2 multia using an ncr53c810 controller?  For a new
drive that's unfortunately formatted with sector size 520, I get 'device not
configured' which I think is due to linux deleting its disk entry during
boot:

I get the following error:

---- begin paste
ncr53c8xx: at PCI bus 0, device 6, function 0
ncr53c8xx: 53c810 detected
ncr53c810-0: rev=0x02, base=0xc001000, io_port=0x9000, irq=11
ncr53c810-0: ID 7, Fast-10, Parity Checking
ncr53c810-0: restart (scsi reset).
scsi0: ncr53c8xx - revision 2.6n
scsi: 1 host.
  Vendor: CORE      Model: 1000  MB    C002  Rev: 465c
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 1, lun 0
  Vendor: IBM OEM   Model: 0664M1H       YQ  Rev: DG05
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi disk sdb at scsi0, channel 0, id 5, lun 0
  Vendor: IBM       Model: CDRM00201     !F  Rev: 0724
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 6, lun 0
scsi: detected 1 SCSI cdrom 2 SCSI disks total.
ncr53c810-0-<1,0>: FAST-10 SCSI 10.0 MB/s (100 ns, offset 8)
SCSI device sda: hdwr sector= 512 bytes. Sectors= 2050860 [1001 MB] [1.0 GB]
ncr53c810-0-<5,0>: FAST-10 SCSI 10.0 MB/s (100 ns, offset 8)
sdb: unsupported sector size 520.
scsi: deleting disk entry.
----- end paste

I thought I saw that the way to fix this was a low-level reformat using
tools such as scsiformat from the scsiinfo package or scu.  Unfortunately,
after this disk entry is deleted, neither of these tools can open /dev/sdb.
I seem to be in a catch 22.

How can I get /dev/sdb so scu or scsiformat can access it?

Thanks,

./bill



-----Original Message-----
From: axp-list-admin@redhat.com [mailto:axp-list-admin@redhat.com]On
Behalf Of Andrei A. Dergatchev
Sent: Monday, March 19, 2001 1:36 PM
To: axp-list@redhat.com
Subject: Re: SCSI HD trubble




Uncle George wrote:

> Is that example handy ?
>  I think i'd like to resurrect a long dead project.

Well, it's simple with his tool. I more meant to stress that it is
possible
to change sector size of the drive, despite what you've been told.

scu> show mode

Mode Parameters (Current Values):

Mode Parameter Header:

                      Mode Data Length: 170
                           Medium Type: 0 (Default Medium Type)
             Device Specific Parameter: 0x10 (Supports DPO & FUA bits)
               Block Descriptor Length: 8

Mode Parameter Block Descriptor:

                          Density Code: 0
              Number of Logical Blocks: 539209 (2106.285 megabytes)
                  Logical Block Length: 4096

scu> set device block 512
scu> show mode

Mode Parameters (Current Values):

Mode Parameter Header:

                      Mode Data Length: 170
                           Medium Type: 0 (Default Medium Type)
             Device Specific Parameter: 0x10 (Supports DPO & FUA bits)
               Block Descriptor Length: 8

Mode Parameter Block Descriptor:

                          Density Code: 0
              Number of Logical Blocks: 4110480 (2007.070 megabytes)
                  Logical Block Length: 512

scu>

[here you need to format].

He said that he successfully used 4K sector size for testings.
But, as it was stated in this thread too, Linux does not support
any sector size different from 512 bytes yet.
With my 73 Gig drives I was thinking to have a look around
how much hacking is necessary to get a simplest fs going -
if you'll find something please kindly inform me, I'm interested too.

>
> thanks
> /gat
>

Regards,

Andrei



_______________________________________________
Axp-list mailing list
Axp-list@redhat.com
https://listman.redhat.com/mailman/listinfo/axp-list




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

* Re: SCSI HD trubble
  2001-04-24  0:06         ` Bill Beers
@ 2001-04-24  4:04           ` Uncle George
  0 siblings, 0 replies; 36+ messages in thread
From: Uncle George @ 2001-04-24  4:04 UTC (permalink / raw)
  To: axp-list, Bill Beers

Looks like this problem has been fixed for linux 2.4.x.

                if (sector_size != 512 &&
                    sector_size != 1024 &&
                    sector_size != 2048 &&
                    sector_size != 4096 &&
                    sector_size != 256) {
                        printk("%s : unsupported sector size %d.\n",
                               nbuff, sector_size);
                        /*
                         * The user might want to re-format the drive with
                         * a supported sectorsize.  Once this happens, it
                         * would be relatively trivial to set the thing up.
                         * For this reason, we leave the thing in the table.
                         */
                        rscsi_disks[i].capacity = 0;


I dont know if u can use 520, but it wont drop the drive from its list.
From linux2.2.x, if ur not a multiple of 512, then u are dropped :={

if (rscsi_disks[i].sector_size != 512 &&
            rscsi_disks[i].sector_size != 1024 &&
            rscsi_disks[i].sector_size != 2048 &&
            rscsi_disks[i].sector_size != 4096 &&
            rscsi_disks[i].sector_size != 256)
        {
            printk ("%s : unsupported sector size %d.\n",
                    nbuff, rscsi_disks[i].sector_size);
            if(rscsi_disks[i].device->removable){
                rscsi_disks[i].capacity = 0;
            } else {
                printk ("scsi : deleting disk entry.\n");
                sd_detach(rscsi_disks[i].device);



So u can take a linux 2.4.2, which appears to work, or u can edit the 2.2.x u
got. I opt for the temp usage of the linux 2.4.2 kernel for formatting the
drive, then go back to the kernel u are familiar with.
/gat


Bill Beers wrote:

> Should scu work on a RH 5.2 multia using an ncr53c810 controller?  For a new
> drive that's unfortunately formatted with sector size 520, I get 'device not
> configured' which I think is due to linux deleting its disk entry during
> boot:
>
> I get the following error:
>
> ---- begin paste
> ncr53c8xx: at PCI bus 0, device 6, function 0




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

* RE: SCSI HD trubble
@ 2001-04-24 14:04 Haniel Mercedes
  0 siblings, 0 replies; 36+ messages in thread
From: Haniel Mercedes @ 2001-04-24 14:04 UTC (permalink / raw)
  To: axp-list; +Cc: axp-list

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1413 bytes --]


unsubscribe

***************************************************************************

Este mensaje puede contener informaci¢n privilegiada y confidencial.  Dicha
informaci¢n es exclusivamente para el uso del individuo o entidad al cual
es enviada.  Si el lector de este mensaje no es el destinatario del mismo,
queda formalmente notificado que cualquier divulgaci¢n, distribuci¢n,
reproducci¢n o copiado de esta comunicaci¢n est  estrictamente prohibido.
Si este es el caso, favor de eliminar el mensaje de su computadora e
informar al emisor a trav‚s de un mensaje de respuesta.  Las opiniones
expresadas en este mensaje son propias del autor y no necesariamente
coinciden con las de CODETEL.

Gracias.

CODETEL
Una compa¤¡a Verizon


This message may contain information that is priviliged and confidential.
It is intended only for the use of the individual or entity to which it is
addressed. If the reader of this message is not the intended recipient, you
are hereby notified that any dissemination, distribution, reproduction or
copying of this communication is strictly prohibited.  If this is the case,
please proceed to destroy the message from your computer and inform the
sender through reply mail. Information in this message that does not
directly relate to the official business of the company shall be understood
as neither given nor endorsed by it.

Thank you.

CODETEL
A Verizon Company





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

end of thread, other threads:[~2001-04-24 13:02 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-16 16:27 SCSI HD trubble Paul Bunn
2001-03-16 22:17 ` Uncle George
2001-03-16 22:25   ` Andrei A. Dergatchev
2001-03-16 22:27     ` Andrei A. Dergatchev
2001-03-19 11:43     ` Uncle George
2001-03-19 18:36       ` Andrei A. Dergatchev
2001-03-19 20:43         ` Sebastian Moeller
2001-03-20 15:50           ` ST15150N SCSI HD trouble José Pedro Sousa do Amaral
     [not found]         ` <3AB66A3B.6353D457@voicenet.com>
     [not found]           ` <3AB679F9.C935D2E5@tn.utwente.nl>
2001-03-22 16:23             ` SCSI HD trubble Uncle George
2001-04-24  0:06         ` Bill Beers
2001-04-24  4:04           ` Uncle George
  -- strict thread matches above, loose matches on Subject: below --
2001-04-24 14:04 Haniel Mercedes
2001-03-22 20:45 Paul Bunn
2001-03-22 18:22 KirkE
2001-03-22 17:16 Paul Bunn
2001-03-22 18:16 ` Uncle George
2001-03-19 17:45 Paul Bunn
2001-03-18 17:11 KirkE
2001-03-19  6:11 ` Alexey Chupakhin
2001-03-17  0:59 Paul Bunn
2001-03-17 17:10 ` Michal Jaegermann
2001-03-15 20:53 Paul Bunn
2001-03-15 23:51 ` Michal Jaegermann
2001-03-16  0:06   ` Andrei A. Dergatchev
2001-03-16  0:21     ` Michal Jaegermann
2001-03-16  0:42       ` Andrei A. Dergatchev
2001-03-16  0:54         ` Michal Jaegermann
2001-03-16  7:25           ` Helge Kreutzmann
2001-03-16 14:04   ` Alan P. Kennedy, Sr
2001-03-16 15:27   ` Alan P. Kennedy, Sr
2001-03-15 18:57 Hoover, Tony
2001-03-15 18:49 KirkE
2001-03-15 19:00 ` Steve
2001-03-12 14:06 Everyone's SRM woes Rich Payne
2001-03-12 14:38 ` alvin
2001-03-13  6:09   ` Maurice Hilarius
2001-03-15  8:09     ` AVI/ Mpeg4 player Alexey Chupakhin
2001-03-15  8:49       ` francis Hauguet
2001-03-15 18:10         ` SCSI HD trubble Alexey Chupakhin
2001-03-15 18:54           ` Steve
2001-03-16 10:14             ` Uncle George

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