public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: C/H/S from user space
@ 2006-02-17 20:30 Seewer Philippe
  0 siblings, 0 replies; 14+ messages in thread
From: Seewer Philippe @ 2006-02-17 20:30 UTC (permalink / raw)
  To: linux-os (Dick Johnson); +Cc: linux-kernel


<snip>

wow this is really great... but just for your information
on my ibm notebook the output is this:

        Disk parameter table(s) at vector 0x41
Disk0
    Cylinders = 1024
      Sectors = 63
        Heads = 240
Write precomp = 255
 Landing zone = 65296
        Reserved bit 0 set
        Reserved bit 1 set
        Reserved bit 2 set
        More than 8 heads
        Reserved bit 4 set
        Defect map present
        Disable retries
        Disable retries
Disk1
    Cylinders = 1024
      Sectors = 4
        Heads = 16
Write precomp = 0
 Landing zone = 0
        Disk parameter table(s) at vector 0x46
Disk0
    Cylinders = 34281
      Sectors = 240
        Heads = 230
Write precomp = 7950
 Landing zone = 61
        Reserved bit 2 set
        More than 8 heads
        Disable retries
Disk1
    Cylinders = 47631
      Sectors = 102
        Heads = 46
Write precomp = 3698
 Landing zone = 7952
        More than 8 heads
        Defect map present
        Disable retries


Just Note the "MAX" of 240 heads (very typical for IBM notebooks).

But anyway this tool is very useful for me. many, many thanks.



^ permalink raw reply	[flat|nested] 14+ messages in thread
* C/H/S from user space
@ 2006-02-17 17:01 linux-os (Dick Johnson)
  2006-02-17 18:37 ` Jeff V. Merkey
  0 siblings, 1 reply; 14+ messages in thread
From: linux-os (Dick Johnson) @ 2006-02-17 17:01 UTC (permalink / raw)
  To: Linux kernel

[-- Attachment #1: Type: text/plain, Size: 1720 bytes --]



For those who think that C/H/S translation is useful,
attached is a simple program that gets whatever the BIOS
used from user-space. If you have large media (most do),
you will descover that C/H/S is useless because it is
always set to "MAX" like this:

 	Disk parameter table(s) at vector 0x41
Disk0
     Cylinders = 1024
       Sectors = 63
         Heads = 255
Write precomp = 0
  Landing zone = 65296
 	Reserved bit 0 set
 	Reserved bit 1 set
 	Reserved bit 2 set
 	More than 8 heads
 	Reserved bit 4 set
 	Defect map present
 	Disable retries
 	Disable retries
Disk1
     Cylinders = 306
       Sectors = 1
         Heads = 4
Write precomp = 0
  Landing zone = 12544
 	Disk parameter table(s) at vector 0x46
Disk0
     Cylinders = 306
       Sectors = 1
         Heads = 4
Write precomp = 0
  Landing zone = 12544
Disk1
     Cylinders = 306
       Sectors = 1
         Heads = 4
Write precomp = 0
  Landing zone = 12544


Cheers,
Dick Johnson
Penguin : Linux version 2.6.15.4 on an i686 machine (5589.55 BogoMips).
Warning : 98.36% of all statistics are fiction.
_
\x1a\x04


****************************************************************
The information transmitted in this message is confidential and may be privileged.  Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited.  If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to DeliveryErrors@analogic.com - and destroy all copies of this information, including any attachments, without reading or disclosing them.

Thank you.

[-- Attachment #2: CHS.tar.gz --]
[-- Type: APPLICATION/x-gzip, Size: 4141 bytes --]

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

end of thread, other threads:[~2006-02-18 16:21 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-17 20:30 C/H/S from user space Seewer Philippe
  -- strict thread matches above, loose matches on Subject: below --
2006-02-17 17:01 linux-os (Dick Johnson)
2006-02-17 18:37 ` Jeff V. Merkey
2006-02-17 19:59   ` Phillip Susi
2006-02-17 20:04   ` linux-os (Dick Johnson)
2006-02-17 20:24     ` Nick Warne
2006-02-17 20:39       ` linux-os (Dick Johnson)
2006-02-17 21:04     ` Phillip Susi
2006-02-17 21:22       ` linux-os (Dick Johnson)
2006-02-17 22:20         ` Phillip Susi
2006-02-18  3:42           ` Marcin Dalecki
2006-02-18 16:20             ` Phillip Susi
2006-02-17 22:24         ` Jeff V. Merkey
2006-02-17 22:22       ` Jeff V. Merkey

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