Re: [PATCH 2.6.9-rc3-mm2] EDD: use EXTENDED READ command, add CONFIG_EDD_SKIP_MBR

From: Matt Domsch (Matt_Domsch_at_dell.com)
Date: 10/07/04

  • Next message: Willy Tarreau: "Re: [Patch] share i386/x86_64 intel cache descriptors table"
    Date:	Thu, 7 Oct 2004 00:19:39 -0500
    To: Jeff Garzik <jgarzik@pobox.com>
    
    

    On Thu, Oct 07, 2004 at 12:39:54AM -0400, Jeff Garzik wrote:
    > Alas, this does not eliminate the 30-second delay on my box.

    OK, thanks for trying. So it's not the READ SECTORS call itself
    that's the problem.
     
    > Just to re-emphasize, I feel a particularly relevant detail is that my
    > VIA-based Athlon64 box has _all_ PATA ports disabled.
    >
    > I am fairly certainly that the delay did not exist when I enabled at
    > least one PATA port, and I can verify this if you would like.

    Yeah, that'd be good to know. The PATA controller doesn't show up in
    your lspci results from 5 July, so I'm sure you had it turned off then too.

    BIOS reports having 4 disks in your system. Does that match
    what you would expect?

    Your boot disk is on this Promise controller, yes?
    00:0d.0 RAID bus controller: Promise Technology, Inc. PDC20378
    (SATA150 TX) (rev 02)

    The second disk is on a different controller though, with its own EDD
    3.0-compliant BIOS.
    00:0f.0 RAID bus controller: VIA Technologies,
    Inc. VIA VT6420 SATA
            RAID Controller (rev 80)
            Subsystem: Micro-Star International Co., Ltd. MSI Neo K8T
            FIS2R mainboard

    Then BIOS says you've got two more disks.
    Both disks 82 and 83 look remarkably small (20808 sectors each,
    ~10MB). And I would bet there's no media present, as there's no
    mbr_signature field given... So BIOS says there's a disk there, but
    there really isn't. Which could cause the kind of timeout you're
    seeing. To what are these attached? It's the BIOS for this
    controller that's probably what's lying.

    Thanks,
    Matt

    -- 
    Matt Domsch
    Sr. Software Engineer, Lead Engineer
    Dell Linux Solutions linux.dell.com & www.dell.com/linux
    Linux on Dell mailing lists @ http://lists.us.dell.com
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Willy Tarreau: "Re: [Patch] share i386/x86_64 intel cache descriptors table"

    Relevant Pages

    • Re: Stable SATA pci card for FreeBSD 6.x/7.0
      ... However I'm still having problems with my SATA drives. ... I flashed my BIOS to the latest version about a year ago, and never noticed that there was any problem, but it turns out there was. ... I did another rsync of my old mirror (the 250GB disks) to the new mirror, but again one of the disks got detached. ... attached to on-board VIA IDE controller ...
      (freebsd-stable)
    • Re: Fujitsu Siemens Promergy RX100S4
      ... I have two SATA disks configured for mirroring in the BIOS; I see the two disks separately as ad devices, but no RAID device: I'd expect an ar0 or something. ... <Intel AHCI controller> port 0x3440-0x3447,0x3434-0x3437,0x3438-0x343f, ...
      (freebsd-questions)
    • Re: C/H/S from user space
      ... That's because if you don't use the same geometry that the bios reports when calculating the CHS addresses of the sectors you intend to load, you won't be requesting the right sectors from int 13. ... Generally yes, modern large disks will get clamped at 1024 cylinders, 255 heads, and 63 sectors. ... But it isn't always going to be 255/63, there are some bioses that cap the number of heads at 240, and disks that are smaller than 8 gigs also will have less than 255 heads. ...
      (Linux-Kernel)
    • Re: maximum hard drive size in Latitude cpi
      ... >>>conceivably diddle the size parameters for the disk kept in the bios. ... >> The limitation is the number of bits used to count the sectors. ... The IDE controller talks to your disk, ...
      (comp.sys.laptops)
    • Re: RAID, getting a new server.
      ... I'm looking at RAID 5 for a new server. ... there'll be an option to get into the controller's BIOS. ... I'll really have n-1 disks because of the parity stripe. ... RAID controller report otherwise? ...
      (uk.comp.os.linux)