All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bin Meng <bmeng.cn@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] ** Can't read Driver Desriptor Block **
Date: Wed, 30 Aug 2017 09:54:11 +0800	[thread overview]
Message-ID: <CAEUhbmVc1ayrOV4RiRZYm-WmYnivub7FEEJqef0-fusBNpauNA@mail.gmail.com> (raw)
In-Reply-To: <34c835e4-920c-19c8-5202-dcd26ee219ce@gmx.de>

Hi Heinrich,

On Wed, Aug 30, 2017 at 4:26 AM, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
> Hello Simon,
>
> U-Boot HEAD qemu-86_defconfig cannot discover an IDE disk with one FAT
> partition in qemu-system-x86_64.
>
> By bisection I found this patch.
>
> b7c6baef2891ce8978cbfddb66e944943473ac21
> x86: Convert MMC to driver model
>
> With this patch I get
>
> IDE:   Bus 0: OK Bus 1: OK
>   Device 0: Model: QEMU HARDDISK  Firm: 2.5+ Ser#: QM00001
>             Type: Hard Disk
>             Supports 48-bit addressing
>             Capacity: 128.0 MB = 0.1 GB (262144 x 512)
> ** Can't read Driver Desriptor Block **
>   Device 1: not available
>   Device 2: Model: QEMU Firm: 2.5+ Ser#: QEMU DVD-ROM
>             Type: Removable CD ROM
>             Capacity: not available
>   Device 3: not available
>
> => ide info
> =>
>
> Without the patch I get=> ide info
> Device 0: Model: QEMU HARDDISK  Firm: 2.5+ Ser#: QM00001
>             Type: Hard Disk
>             Supports 48-bit addressing
>             Capacity: 128.0 MB = 0.1 GB (262144 x 512)
> Device 2: Model: QEMU Firm: 2.5+ Ser#: QEMU DVD-ROM
>             Type: Removable CD ROM
>             Capacity: not available
>
> I think we observe two independent errors here:
>
> - The hard disk Device 0 is not read.
> - The ide command stops at the first device that is not available.
>
> I guess only the first is caused by your patch.

Both logs look fine to me. The "Can't read Driver Desriptor Block"
comes from part_mac.c. Did you verify the actual IDE read/write fails
with current HEAD?

Regards,
Bin

  reply	other threads:[~2017-08-30  1:54 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-29 20:26 [U-Boot] ** Can't read Driver Desriptor Block ** Heinrich Schuchardt
2017-08-30  1:54 ` Bin Meng [this message]
2017-08-30  4:37   ` Heinrich Schuchardt
2017-08-30 21:19     ` Heinrich Schuchardt
2017-08-31  2:53       ` Bin Meng
2017-08-31 12:52         ` Simon Glass
2017-08-31 12:55           ` Bin Meng
2017-08-31 17:24             ` Heinrich Schuchardt
2017-09-04  3:59               ` Bin Meng
2017-09-04  5:41                 ` Heinrich Schuchardt
2017-09-04  7:30                   ` Bin Meng
2017-09-04  9:05                     ` Bin Meng
2017-08-30  6:34   ` Simon Glass
2017-08-30  6:44     ` Lothar Waßmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAEUhbmVc1ayrOV4RiRZYm-WmYnivub7FEEJqef0-fusBNpauNA@mail.gmail.com \
    --to=bmeng.cn@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.