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

Bug#862935: installation-reports: vmlinuz missing from armhf netboot SD image



Package: installation-reports
Severity: important

-- Package-specific info:

Boot method: netboot SD-card image
Image version: http://ftp.nl.debian.org/debian/dists/testing/main/installer-armhf/current/images/netboot/SD-card-images/partition.img.gz [20170407]
Date: 2017-05-18T22:00+01:00

Machine: BeagleBone Black
Partitions:

Disk /dev/mmcblk1: 3.6 GiB, 3825205248 bytes, 7471104 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: 0x0aa12372

Device         Boot   Start     End Sectors  Size Id Type
/dev/mmcblk1p1 *       2048  438271  436224  213M 83 Linux
/dev/mmcblk1p2       438272 6483967 6045696  2.9G 83 Linux
/dev/mmcblk1p3      6486014 7469055  983042  480M  5 Extended
/dev/mmcblk1p5      6486016 7469055  983040  480M 82 Linux swap / Solaris

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:        [O]

Comments/Problems:

I installed the system using a serial console from an Ubuntu 16.04 box using picocom and GNOME Terminal. I also used this Ubuntu box for downloading and manipulating boot images.

I assembled an image from parts in images/netboot/SD-card-images:

zcat firmware.BeagleBoneBlack.img.gz partition.img.gz | sudo sh -c 'cat > /dev/sdc'

This failed to boot on my BeagleBone Black.  Here is the console log:

--------8<--------
U-Boot SPL 2016.11+dfsg1-4 (Mar 27 2017 - 18:39:51)
Trying to boot from MMC1
MMC partition switch failed
*** Warning - MMC partition switch failed, using default environment



U-Boot 2016.11+dfsg1-4 (Mar 27 2017 - 18:39:51 +0000)

CPU  : AM335X-GP rev 2.1
I2C:   ready
DRAM:  512 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - bad CRC, using default environment

<ethaddr> not set. Validating first E-fuse MAC
Net:   cpsw
Press SPACE to abort autoboot in 2 seconds
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading boot.scr
1575 bytes read in 6 ms (255.9 KiB/s)
Running bootscript from mmc0 ...
## Executing script at 82000000
Mainline u-boot / new-style environment detected.
This installer medium does not contain a suitable device-tree file for
this system (am335x-boneblack.dtb). Aborting boot process.
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
reading /boot.scr
1575 bytes read in 7 ms (219.7 KiB/s)
## Executing script at 80000000
Mainline u-boot / new-style environment detected.
reading vmlinuz
** Unable to read file vmlinuz **
SCRIPT FAILED: continuing...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading boot.scr
1575 bytes read in 6 ms (255.9 KiB/s)
Running bootscript from mmc0 ...
## Executing script at 82000000
Mainline u-boot / new-style environment detected.
reading vmlinuz
** Unable to read file vmlinuz **
** Invalid partition 2 **
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1...
switch to partitions #0, OK
mmc1(part 0) is current device
SD/MMC found on device 1
switch to partitions #0, OK
mmc1(part 0) is current device
SD/MMC found on device 1
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
** Unable to read file uEnv.txt **
** File not found /boot/zImage **
## Error: "bootcmd_nand0" not defined
starting USB...
USB0:   Port not available.
cpsw Waiting for PHY auto negotiation to complete......... TIMEOUT !
BOOTP broadcast 1
-------->8--------

The critical line seems to be "** Unable to read file vmlinuz **". Indeed, there's no file called "vmlinuz" on the SD card. I tried to copy on the "vmlinuz" from images/netboot, but that failed:

bjh21@sole:/tmp/debian-stretch-rc3$ sudo cp vmlinuz /media/bjh21/EB55-8514/.
cp: error writing '/media/bjh21/EB55-8514/./vmlinuz': No space left on device

I deleted the partition from the SD card, created a bigger one, and installed the contents of the partition image and the vmlinuz file referenced above. This booted successfully.

The first question was a little odd, asking me to select a language for the installation process, with a choice between "English" and "C". There wasn't any clear explanation of what "C" meant.

Thereafter, everything went well until the reboot after installation. First, the console started emitting "C" characters a few times per second, which makes me think of XMODEM. Maybe I accidentally typed something at the wrong moment while putting the MicroSD card away. Anyway, afterwards the GNOME Terminal through which I was installing got stuck in the DEC Graphics character set, requiring me to disconnect picocom and run "reset" before I could get a useful display from the BeagleBone's console.

Other than those two problems, everything went very well, and the installation experience was as smooth as on a PC.

--

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 20170407"
X_INSTALLATION_MEDIUM=netboot

==============================================
Installer hardware-summary:
==============================================
uname -a: Linux skagerrak 4.9.0-2-armmp #1 SMP Debian 4.9.18-1 (2017-03-30) armv7l GNU/Linux
lsmod: Module                  Size  Used by
lsmod: dm_mod                103345  0
lsmod: md_mod                120554  0
lsmod: jfs                   174500  0
lsmod: btrfs                1144412  0
lsmod: xor                     4718  1 btrfs
lsmod: zlib_deflate           20290  1 btrfs
lsmod: raid6_pq               87373  1 btrfs
lsmod: vfat                   10313  0
lsmod: fat                    57205  1 vfat
lsmod: ext4                  551118  2
lsmod: crc16                   1274  1 ext4
lsmod: jbd2                   94046  1 ext4
lsmod: crc32c_generic          1862  3
lsmod: fscrypto               15747  1 ext4
lsmod: ecb                     2191  0
lsmod: mbcache                 5508  3 ext4
lsmod: usb_storage            45771  0
lsmod: scsi_mod              187963  1 usb_storage
lsmod: smsc                    3309  0
lsmod: musb_dsps               9789  0
lsmod: musb_hdrc             113261  1 musb_dsps
lsmod: udc_core               26444  1 musb_hdrc
lsmod: davinci_mdio            4937  1
lsmod: usbcore               195888  2 usb_storage,musb_hdrc
lsmod: phy_am335x              2369  6
lsmod: phy_generic             4686  1 phy_am335x
lsmod: usb_common              3659  5 phy_am335x,udc_core,musb_hdrc,musb_dsps,usbcore
lsmod: phy_am335x_control      2510  1 phy_am335x
lsmod: ti_cpsw                28155  0
lsmod: cpsw_ale                7511  1 ti_cpsw
lsmod: cpsw_common             1689  1 ti_cpsw
lsmod: davinci_cpdma           9069  1 ti_cpsw
lsmod: omap_hsmmc             20367  0
lsmod: musb_am335x             1287  0
lsmod: leds_gpio               3390  0
df: Filesystem           1K-blocks      Used Available Use% Mounted on
df: none                     50544        52     50492   0% /run
df: devtmpfs                233600         0    233600   0% /dev
df: /dev/mmcblk1p2         2909840    649132   2093184  24% /target
df: /dev/mmcblk1p1          211212     24723    175584  12% /target/boot
df: /dev/mmcblk1p2         2909840    649132   2093184  24% /dev/.static/dev
df: devtmpfs                233600         0    233600   0% /target/dev
free:              total         used         free       shared      buffers
free: Mem:        505428       335716       169712        87344        39384
free: -/+ buffers:             296332       209096
free: Swap:       491516         8068       483448
/proc/cmdline:  console=ttyO0,115200n8
/proc/cpuinfo: processor	: 0
/proc/cpuinfo: model name	: ARMv7 Processor rev 2 (v7l)
/proc/cpuinfo: BogoMIPS	: 997.78
/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	: 0x3
/proc/cpuinfo: CPU part	: 0xc08
/proc/cpuinfo: CPU revision	: 2
/proc/cpuinfo: /proc/cpuinfo: Hardware : Generic AM33XX (Flattened Device Tree)
/proc/cpuinfo: Revision	: 0000
/proc/cpuinfo: Serial		: 0000000000000000
/proc/device-tree/model: TI AM335x BeagleBone Black0483ff : /ocp/timer@48048000
/proc/iomem: 4804a000-4804a3ff : /ocp/timer@4804a000
/proc/iomem: 4804c000-4804cfff : /ocp/gpio@4804c000
/proc/iomem: 48060000-48060fff : /ocp/mmc@48060000
/proc/iomem: 480c8000-480c81ff : /ocp/mailbox@480C8000
/proc/iomem: 4819c000-4819cfff : /ocp/i2c@4819c000
/proc/iomem: 481ac000-481acfff : /ocp/gpio@481ac000
/proc/iomem: 481ae000-481aefff : /ocp/gpio@481ae000
/proc/iomem: 481d8000-481d8fff : /ocp/mmc@481d8000
/proc/iomem: 49000000-4900ffff : edma3_cc
/proc/iomem: 4a100000-4a1007ff : /ocp/ethernet@4a100000
/proc/iomem: 4a101000-4a1010ff : /ocp/ethernet@4a100000/mdio@4a101000
/proc/iomem: 4a101200-4a1012ff : /ocp/ethernet@4a100000
/proc/iomem: 80000000-9fdfffff : System RAM
/proc/iomem:   80008000-80afffff : Kernel code
/proc/iomem:   80c00000-80d42dc3 : Kernel data
/proc/interrupts: CPU0 /proc/interrupts: 16: 276647 INTC 68 Level gp_timer
/proc/interrupts:  20:      61601      INTC  12 Level     49000000.edma_ccint
/proc/interrupts:  22:       4497      INTC  14 Level     49000000.edma_ccerrint
/proc/interrupts:  26:          1      INTC  96 Level     44e07000.gpio
/proc/interrupts:  33:          1  44e07000.gpio   6 Edge      48060000.mmc cd
/proc/interrupts:  59:          0      INTC  98 Level     4804c000.gpio
/proc/interrupts:  92:          0      INTC  32 Level     481ac000.gpio
/proc/interrupts: 125:          0      INTC  62 Level     481ae000.gpio
/proc/interrupts: 158:      19436      INTC  72 Level     OMAP UART0
/proc/interrupts: 159:          0      INTC  70 Level     44e0b000.i2c
/proc/interrupts: 160:          0      INTC  30 Level     4819c000.i2c
/proc/interrupts: 161:       1001      INTC  64 Level     mmc0
/proc/interrupts: 162:     252514      INTC  28 Level     mmc1
/proc/interrupts: 170:          0      INTC  75 Level     rtc0
/proc/interrupts: 171:          1      INTC  76 Level     rtc0
/proc/interrupts: 173:     197484      INTC  41 Level     4a100000.ethernet
/proc/interrupts: 174:      48362      INTC  42 Level     4a100000.ethernet
/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:         505428 kB
/proc/meminfo: MemFree:          169712 kB
/proc/meminfo: MemAvailable:     372688 kB
/proc/meminfo: Buffers:           39384 kB
/proc/meminfo: Cached:           229252 kB
/proc/meminfo: SwapCached:          512 kB
/proc/meminfo: Active:           119960 kB
/proc/meminfo: Inactive:         167496 kB
/proc/meminfo: Active(anon):      11324 kB
/proc/meminfo: Inactive(anon):    94844 kB
/proc/meminfo: Active(file):     108636 kB
/proc/meminfo: Inactive(file):    72652 kB
/proc/meminfo: Unevictable:           0 kB
/proc/meminfo: Mlocked:               0 kB
/proc/meminfo: HighTotal:             0 kB
/proc/meminfo: HighFree:              0 kB
/proc/meminfo: LowTotal:         505428 kB
/proc/meminfo: LowFree:          169712 kB
/proc/meminfo: SwapTotal:        491516 kB
/proc/meminfo: SwapFree:         483448 kB
/proc/meminfo: Dirty:               752 kB
/proc/meminfo: Writeback:             0 kB
/proc/meminfo: AnonPages:         18316 kB
/proc/meminfo: Mapped:             4164 kB
/proc/meminfo: Shmem:             87344 kB
/proc/meminfo: Slab:              39284 kB
/proc/meminfo: SReclaimable:      33116 kB
/proc/meminfo: SUnreclaim:         6168 kB
/proc/meminfo: KernelStack:         600 kB
/proc/meminfo: PageTables:          496 kB
/proc/meminfo: NFS_Unstable:          0 kB
/proc/meminfo: Bounce:                0 kB
/proc/meminfo: WritebackTmp:          0 kB
/proc/meminfo: CommitLimit:      744228 kB
/proc/meminfo: Committed_AS:     119224 kB
/proc/meminfo: VmallocTotal:     507904 kB
/proc/meminfo: VmallocUsed:           0 kB
/proc/meminfo: VmallocChunk:          0 kB
/proc/meminfo: CmaTotal:          16384 kB
/proc/meminfo: CmaFree:           13784 kB

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

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

Reply to: