[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#823020: marked as done (installation-reports: problems with u-boot and ext4)



Your message dated Wed, 26 Jul 2017 15:44:54 -0400
with message-id <87h8xz6kzt.fsf@aikidev.net>
and subject line Re: Bug#823020: Bug#823500: cannot boot from ext4
has caused the Debian Bug report #823020,
regarding installation-reports: problems with u-boot and ext4
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
823020: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823020
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: installation-reports
Severity: important
X-Debbugs-Cc: marex@denx.de

I've done several installs now on both a Wandboard Solo and an Novena
board, and u-boot has problems reading the the dtbs subdirectory needed
to load the device-trees, and fails to boot after an otherwise
successful install.

The problem seems to *mostly* be with subdirectories, and since the
device-tree files in stored in /boot/dtbs/${version}/${device}.dtb.

Installs done with jessie and the same u-boot version work fine. Also,
recreating the ext4 filesystem with mkfs.ext4 works fine, even with,
as far as I can tell, identical filesytem flags.

I suspect other boards using u-boot and ext4 filesystem will also have
similar problems.


live well,
  vagrant


-- Package-specific info:

Boot method: network
Image version: https://d-i.debian.org/daily-images/armhf/20160426-00:33/netboot/
Date: 20160426

Machine: Wandboard Solo
Partitions:
sfdisk -l /dev/mmcblk0
Disk /dev/mmcblk0: 3.7 GiB, 3980394496 bytes, 7774208 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xcd2ecfc6

Device         Boot   Start     End Sectors  Size Id Type
/dev/mmcblk0p1 *       2048  976895  974848  476M 83 Linux
/dev/mmcblk0p2       976896 4882431 3905536  1.9G 83 Linux
/dev/mmcblk0p3      4882432 5859327  976896  477M 82 Linux swap / Solaris
/dev/mmcblk0p4      5859328 6883327 1024000  500M 83 Linux

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:           [E]
Detect network card:    [O]
Configure network:      [O]
Detect CD:              [ ]
Load installer modules: [O]
Clock/timezone setup:   [O]
User/password setup:    [O]
Detect hard drives:     [O]
Partition hard drives:  [O]
Install base system:    [O]
Install tasks:          [O]
Install boot loader:    [O]
Overall install:        [ ]

Comments/Problems:

Network boot and SD card boot worked fine, but initial boot failed due to issues with u-boot being unable to consistantly read the ext4 filesystem.

-- 

Please make sure that the hardware-summary log file, and any other
installation logs that you think would be useful are attached to this
report. Please compress large files using gzip.

Once you have filled out this report, mail it to submit@bugs.debian.org.

==============================================
Installer lsb-release:
==============================================
DISTRIB_ID=Debian
DISTRIB_DESCRIPTION="Debian GNU/Linux installer"
DISTRIB_RELEASE="9 (stretch) - installer build 20160426-00:13"
X_INSTALLATION_MEDIUM=netboot

==============================================
Installer hardware-summary:
==============================================
uname -a: Linux wbs20160426-18 4.5.0-1-armmp #1 SMP Debian 4.5.1-1 (2016-04-14) armv7l GNU/Linux
usb-list: 
usb-list: Bus 01 Device 01: EHCI Host Controller [1d6b:0002]
usb-list:    Level 00 Parent 00 Port 00  Class 09(hub  ) Subclass 00 Protocol 01
usb-list:    Manufacturer: Linux 4.5.0-1-armmp ehci_hcd
usb-list:    Interface 00: Class 09(hub  ) Subclass 00 Protocol 00 Driver hub
lsmod: Module                  Size  Used by
lsmod: dm_mod                 98863  0
lsmod: md_mod                118279  0
lsmod: jfs                   174600  0
lsmod: btrfs                1091195  0
lsmod: xor                     4782  1 btrfs
lsmod: zlib_deflate           20354  1 btrfs
lsmod: raid6_pq               87885  1 btrfs
lsmod: vfat                   10249  0
lsmod: fat                    56693  1 vfat
lsmod: ext4                  559642  2
lsmod: crc16                   1274  1 ext4
lsmod: mbcache                 9488  1 ext4
lsmod: jbd2                   95959  1 ext4
lsmod: crc32c_generic          1862  5
lsmod: usb_storage            45523  0
lsmod: scsi_mod              188696  1 usb_storage
lsmod: ci_hdrc_imx             6936  0
lsmod: ci_hdrc                34941  1 ci_hdrc_imx
lsmod: ehci_hcd               64352  1 ci_hdrc
lsmod: extcon                 10462  1 ci_hdrc
lsmod: udc_core                9769  1 ci_hdrc
lsmod: imx_ipu_v3             59444  0
lsmod: sdhci_esdhc_imx        11634  0
lsmod: sdhci_pltfm             3722  1 sdhci_esdhc_imx
lsmod: sdhci                  39207  2 sdhci_pltfm,sdhci_esdhc_imx
lsmod: usbcore               190774  3 usb_storage,ehci_hcd,ci_hdrc
lsmod: usbmisc_imx             5814  1 ci_hdrc_imx
lsmod: usb_common              3659  3 udc_core,usbcore,ci_hdrc
lsmod: phy_mxs_usb             5810  2
lsmod: anatop_regulator        4584  1
lsmod: dw_hdmi_imx             3234  0
lsmod: dw_hdmi                14484  1 dw_hdmi_imx
lsmod: imxdrm                  6334  1 dw_hdmi_imx
lsmod: drm_kms_helper        105048  2 dw_hdmi,imxdrm
lsmod: drm                   277626  4 dw_hdmi,drm_kms_helper,dw_hdmi_imx,imxdrm
lsmod: at803x                  3887  0
df: Filesystem           1K-blocks      Used Available Use% Mounted on
df: none                     50788        44     50744   0% /run
df: devtmpfs                244552         0    244552   0% /dev
df: /dev/mmcblk0p2         1889292    458460   1316812  26% /target
df: /dev/mmcblk0p1          463826     23481    411878   5% /target/boot
df: /dev/mmcblk0p2         1889292    458460   1316812  26% /dev/.static/dev
df: devtmpfs                244552         0    244552   0% /target/dev
free:              total         used         free       shared      buffers
free: Mem:        507864       382256       125608        78440        14892
free: -/+ buffers:             367364       140500
free: Swap:       488444         7016       481428
/proc/cmdline: console=ttymxc0,115200
/proc/cpuinfo: processor	: 0
/proc/cpuinfo: model name	: ARMv7 Processor rev 10 (v7l)
/proc/cpuinfo: BogoMIPS	: 6.00
/proc/cpuinfo: Features	: half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32 
/proc/cpuinfo: CPU implementer	: 0x41
/proc/cpuinfo: CPU architecture: 7
/proc/cpuinfo: CPU variant	: 0x2
/proc/cpuinfo: CPU part	: 0xc09
/proc/cpuinfo: CPU revision	: 10
/proc/cpuinfo: 
/proc/cpuinfo: Hardware	: Freescale i.MX6 Quad/DualLite (Device Tree)
/proc/cpuinfo: Revision	: 0000
/proc/cpuinfo: Serial		: 0000000000000000
/proc/device-tree/model: Wandboard i.MX6 Dual Lite Board./proc/iomem: 00110000-00111fff : /soc/dma-apbh@00110000
/proc/iomem: 00900000-0091ffff : 900000.sram
/proc/iomem: 02020000-02023fff : /soc/aips-bus@02000000/spba-bus@02000000/serial@02020000
/proc/iomem: 0209c000-0209ffff : /soc/aips-bus@02000000/gpio@0209c000
/proc/iomem: 020a0000-020a3fff : /soc/aips-bus@02000000/gpio@020a0000
/proc/iomem: 020a4000-020a7fff : /soc/aips-bus@02000000/gpio@020a4000
/proc/iomem: 020a8000-020abfff : /soc/aips-bus@02000000/gpio@020a8000
/proc/iomem: 020ac000-020affff : /soc/aips-bus@02000000/gpio@020ac000
/proc/iomem: 020b0000-020b3fff : /soc/aips-bus@02000000/gpio@020b0000
/proc/iomem: 020b4000-020b7fff : /soc/aips-bus@02000000/gpio@020b4000
/proc/iomem: 020c9000-020c9fff : /soc/aips-bus@02000000/usbphy@020c9000
/proc/iomem: 020ca000-020cafff : /soc/aips-bus@02000000/usbphy@020ca000
/proc/iomem: 020e0000-020e3fff : /soc/aips-bus@02000000/iomuxc@020e0000
/proc/iomem: 020ec000-020effff : /soc/aips-bus@02000000/sdma@020ec000
/proc/iomem: 02184000-021841ff : /soc/aips-bus@02100000/usb@02184000
/proc/iomem:   02184000-021841ff : /soc/aips-bus@02100000/usb@02184000
/proc/iomem: 02184200-021843ff : /soc/aips-bus@02100000/usb@02184200
/proc/iomem:   02184200-021843ff : /soc/aips-bus@02100000/usb@02184200
/proc/iomem: 02184800-021849ff : /soc/aips-bus@02100000/usbmisc@02184800
/proc/iomem: 02188000-0218bfff : /soc/aips-bus@02100000/ethernet@02188000
/proc/iomem: 02190000-02193fff : mmc0
/proc/iomem: 02194000-02197fff : mmc1
/proc/iomem: 02198000-0219bfff : mmc2
/proc/iomem: 021ec000-021effff : /soc/aips-bus@02100000/serial@021ec000
/proc/iomem: 10000000-2fffffff : System RAM
/proc/iomem:   10008000-109a09cb : Kernel code
/proc/iomem:   10a88000-10bd3703 : Kernel data
/proc/interrupts:            CPU0       
/proc/interrupts:  16:     320671     GIC-0  29 Edge      twd
/proc/interrupts:  17:          0       GPC  55 Level     i.MX Timer Tick
/proc/interrupts:  25:       7708       GPC  26 Level     2020000.serial
/proc/interrupts:  34:          0  gpio-mxc   2 Edge      2190000.usdhc cd
/proc/interrupts:  38:      92073  gpio-mxc   6 Level     2188000.ethernet
/proc/interrupts: 109:          0  gpio-mxc   9 Edge      2198000.usdhc cd
/proc/interrupts: 276:          1       GPC  19 Level     rtc alarm
/proc/interrupts: 282:          0       GPC   2 Level     sdma
/proc/interrupts: 283:          0       GPC  43 Level     2184000.usb
/proc/interrupts: 284:          0       GPC  40 Level     2184200.usb
/proc/interrupts: 285:          0     GIC-0 151 Level     2188000.ethernet
/proc/interrupts: 286:          0       GPC  22 Level     mmc0
/proc/interrupts: 287:      80548       GPC  23 Level     mmc1
/proc/interrupts: 288:   10129204       GPC  24 Level     mmc2
/proc/interrupts: 292:          0       GPC  28 Level     21ec000.serial
/proc/interrupts: 295:          0       IPU 457 Edge      (null)
/proc/interrupts: 296:          0       IPU 451 Edge      (null)
/proc/interrupts: IPI0:          0  CPU wakeup interrupts
/proc/interrupts: IPI1:          0  Timer broadcast interrupts
/proc/interrupts: IPI2:          0  Rescheduling interrupts
/proc/interrupts: IPI3:          0  Function call interrupts
/proc/interrupts: IPI4:          0  CPU stop interrupts
/proc/interrupts: IPI5:          0  IRQ work interrupts
/proc/interrupts: IPI6:          0  completion interrupts
/proc/interrupts: Err:          0
/proc/meminfo: MemTotal:         507864 kB
/proc/meminfo: MemFree:          125592 kB
/proc/meminfo: MemAvailable:     384488 kB
/proc/meminfo: Buffers:           14892 kB
/proc/meminfo: Cached:           305224 kB
/proc/meminfo: SwapCached:         1092 kB
/proc/meminfo: Active:           149696 kB
/proc/meminfo: Inactive:         186888 kB
/proc/meminfo: Active(anon):       6384 kB
/proc/meminfo: Inactive(anon):    88524 kB
/proc/meminfo: Active(file):     143312 kB
/proc/meminfo: Inactive(file):    98364 kB
/proc/meminfo: Unevictable:           0 kB
/proc/meminfo: Mlocked:               0 kB
/proc/meminfo: HighTotal:             0 kB
/proc/meminfo: HighFree:              0 kB
/proc/meminfo: LowTotal:         507864 kB
/proc/meminfo: LowFree:          125592 kB
/proc/meminfo: SwapTotal:        488444 kB
/proc/meminfo: SwapFree:         481428 kB
/proc/meminfo: Dirty:               544 kB
/proc/meminfo: Writeback:             0 kB
/proc/meminfo: AnonPages:         15388 kB
/proc/meminfo: Mapped:             2756 kB
/proc/meminfo: Shmem:             78440 kB
/proc/meminfo: Slab:              35720 kB
/proc/meminfo: SReclaimable:      29100 kB
/proc/meminfo: SUnreclaim:         6620 kB
/proc/meminfo: KernelStack:         600 kB
/proc/meminfo: PageTables:          352 kB
/proc/meminfo: NFS_Unstable:          0 kB
/proc/meminfo: Bounce:                0 kB
/proc/meminfo: WritebackTmp:          0 kB
/proc/meminfo: CommitLimit:      742376 kB
/proc/meminfo: Committed_AS:     105164 kB
/proc/meminfo: VmallocTotal:     507904 kB
/proc/meminfo: VmallocUsed:           0 kB
/proc/meminfo: VmallocChunk:          0 kB

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: armhf (armv7l)

Kernel: Linux 4.5.0-1-armmp (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
On 2017-06-24, Cyril Brulebois wrote:
> Thierry Reding <thierry.reding@gmail.com> (2017-02-27):
>> On Fri, May 06, 2016 at 02:20:45AM +0200, Cyril Brulebois wrote:
>> > Cyril Brulebois <kibi@debian.org> (2016-05-06):
>> > > Anyway, we could probably implement the change globally regardless, just
>> > > to make it possible to check the hypothesis on a wide range of devices,
>> > > and only figure out later how to fix this in a better way?
>> > > 
>> > > Vagrant, what do you think?
>> > 
>> > I've pushed a pu/disable-flex_bg branch to partman-ext3's git repository.
>> > Feedback/tests welcome. I can push to master and upload if that looks like
>> > a good idea.
>> 
>> I just ran across this from Martin's instructions on how to install
>> Debian on a Jetson TX1 and this sounds familiar. I ran into a similar
>> bug not long ago that turned out to be caused by e2fsprogs 1.43 which
>> enables the 64bit (-O 64bit) feature by default. U-Boot (before 2016.07
>> I think) can't deal with such filesystems and will read bogus data.
>> 
>> Newer versions of U-Boot have support for this. Another solution was to
>> create filesystems with -O ^64bit to disable the offending option.
>> 
>> Given that the last entry in this bug report is rather old, I'm not sure
>> this is still an issue, but I thought I'd bring it up in case this still
>> doesn't work properly.
>
> Thanks for bringing this up.
>
> u-boot maintainers: any action that should be taken on the d-i side?

It's currently working with the u-boot versions in stretch(2016.11+), as
far as I can tell. There appear to be upstream commits addressing 64bit
ext4 issues in u-boot 2016.11, so I'm marking this as closed.


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply to: