From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lothar =?UTF-8?B?V2HDn21hbm4=?= Date: Wed, 30 Aug 2017 08:44:17 +0200 Subject: [U-Boot] ** Can't read Driver Desriptor Block ** In-Reply-To: References: <34c835e4-920c-19c8-5202-dcd26ee219ce@gmx.de> Message-ID: <20170830084417.5b0d4183@karo-electronics.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de Hi, On Wed, 30 Aug 2017 14:34:18 +0800 Simon Glass wrote: > Hi, >=20 > On 30 August 2017 at 09:54, Bin Meng wrote: > > Hi Heinrich, > > > > On Wed, Aug 30, 2017 at 4:26 AM, Heinrich Schuchardt 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 =3D 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 > >> > >> =3D> ide info > >> =3D> > >> > >> Without the patch I get=3D> ide info > >> Device 0: Model: QEMU HARDDISK Firm: 2.5+ Ser#: QM00001 > >> Type: Hard Disk > >> Supports 48-bit addressing > >> Capacity: 128.0 MB =3D 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? >=20 > We should definitely change that message to debug(). It is very ... and fix the missing 'c' in 'Desriptor' Lothar Wa=C3=9Fmann