Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #68500 > unrolled thread
| Started by | gregor <debian@gregor-horvath.com> |
|---|---|
| First post | 2020-11-04 12:00 +0100 |
| Last post | 2021-01-22 23:30 +0100 |
| Articles | 8 — 7 participants |
Back to article view | Back to linux.debian.kernel
Bug#973742: linux-source: 4.9.0-14-armmp-lpae update renders Olimex A20-OLinuXino-MICRO unbootable gregor <debian@gregor-horvath.com> - 2020-11-04 12:00 +0100
Bug#973742: Boot output debian@gregor-horvath.com - 2020-11-04 13:10 +0100
Bug#973742: Boot output Ben Hutchings <ben@decadent.org.uk> - 2020-11-04 17:20 +0100
Bug#973742: Boot output Gregor Horvath <debian@gregor-horvath.com> - 2020-11-04 18:00 +0100
Processed: Re: Bug#973742: Boot output "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-11-04 17:20 +0100
Bug#973742: Bad microSD Card Gregor Horvath <gh@gregor-horvath.com> - 2021-01-21 16:50 +0100
Bug#973742: Bad microSD Card Salvatore Bonaccorso <carnil@debian.org> - 2021-01-22 23:30 +0100
Bug#973742: marked as done (linux-source: 4.9.0-14-armmp-lpae update renders Olimex A20-OLinuXino-MICRO unbootable) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2021-01-22 23:30 +0100
| From | gregor <debian@gregor-horvath.com> |
|---|---|
| Date | 2020-11-04 12:00 +0100 |
| Subject | Bug#973742: linux-source: 4.9.0-14-armmp-lpae update renders Olimex A20-OLinuXino-MICRO unbootable |
| Message-ID | <B7oGe-61a-1@gated-at.bofh.it> |
Package: linux-source
Severity: important
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
unattended-upgrades installed new 4.9.0-14 kernel version.
System did not boot afterwards.
* What exactly did you do (or not do) that was effective (or
ineffective)?
reverting vmlinux, initrd, boot.scr and dtb symbolic links in /boot to old/bak version 4.9.0-13 worked
-- System Information:
Debian Release: 9.13
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: armhf (armv7l)
Kernel: Linux 4.9.0-13-armmp-lpae (SMP w/2 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8), LANGUAGE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages linux-source depends on:
pn linux-source-4.9 <none>
linux-source recommends no packages.
linux-source suggests no packages.
[toc] | [next] | [standalone]
| From | debian@gregor-horvath.com |
|---|---|
| Date | 2020-11-04 13:10 +0100 |
| Subject | Bug#973742: Boot output |
| Message-ID | <B7pLX-70a-3@gated-at.bofh.it> |
| In reply to | #68500 |
[Multipart message — attachments visible in raw view] — view raw
U-Boot SPL 2016.11+dfsg1-4 (Mar 27 2017 - 18:39:51) DRAM: 1024 MiB CPU: 912000000Hz, AXI/AHB/APB: 3/2/2 Trying to boot from MMC1 U-Boot 2016.11+dfsg1-4 (Mar 27 2017 - 18:39:51 +0000) Allwinner Technology CPU: Allwinner A20 (SUN7I) Model: Olimex A20-Olinuxino Micro I2C: ready DRAM: 1 GiB MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1 *** Warning - bad CRC, using default environment Setting up a 1024x768 vga console (overscan 0x0) In: serial Out: vga Err: vga SCSI: Target spinup took 0 ms. AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode flags: ncq stag pm led clo only pmp pio slum part ccc apst Net: eth0: ethernet@01c50000 starting USB... USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 USB2: USB EHCI 1.00 USB3: USB OHCI 1.0 scanning bus 0 for devices... 1 USB Device(s) found scanning bus 2 for devices... 1 USB Device(s) found Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:2... Found U-Boot script /boot.scr 2464 bytes read in 75 ms (31.3 KiB/s) ## Executing script at 43100000 Mainline u-boot / new-style environment detected. 3837000 bytes read in 457 ms (8 MiB/s) 35271 bytes read in 232 ms (148.4 KiB/s) 17060265 bytes read in 1510 ms (10.8 MiB/s) Booting Debian 4.9.0-14-armmp-lpae from mmc 0:2... ## Flattened Device Tree blob at 43000000 Booting using the fdt blob at 0x43000000 Loading Ramdisk to 48fba000, end 49fff1a9 ... OK Loading Device Tree to 48fae000, end 48fb99c6 ... OK Starting kernel ... ��r���º��/cpus/cpu@0 missing clock-frequency property [ 0.072909] /cpus/cpu@1 missing clock-frequency property [ 1.806132] sr_init: platform driver register failed for SR [ 1.816144] Failed to execute /init (error -2) [ 1.820753] Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance. [ 1.833873] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.9.0-14-armmp-lpae #1 Debian 4.9.240-2 [ 1.842385] Hardware name: Allwinner sun7i (A20) Family [ 1.847645] [<c0231ab8>] (unwind_backtrace) from [<c022bae0>] (show_stack+0x20/0x24) [ 1.855391] [<c022bae0>] (show_stack) from [<c0549eb0>] (dump_stack+0xc4/0xd8) [ 1.862617] [<c0549eb0>] (dump_stack) from [<c038d30c>] (panic+0x100/0x28c) [ 1.869585] [<c038d30c>] (panic) from [<c0935644>] (kernel_init+0x110/0x120) [ 1.876633] [<c0935644>] (kernel_init) from [<c0227380>] (ret_from_fork+0x14/0x34) [ 1.884205] CPU0: stopping [ 1.886917] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.9.0-14-armmp-lpae #1 Debian 4.9.240-2 [ 1.895428] Hardware name: Allwinner sun7i (A20) Family [ 1.900661] [<c0231ab8>] (unwind_backtrace) from [<c022bae0>] (show_stack+0x20/0x24) [ 1.908401] [<c022bae0>] (show_stack) from [<c0549eb0>] (dump_stack+0xc4/0xd8) [ 1.915620] [<c0549eb0>] (dump_stack) from [<c022f43c>] (handle_IPI+0x2c8/0x2e8) [ 1.923014] [<c022f43c>] (handle_IPI) from [<c0201848>] (gic_handle_irq+0x8c/0x90) [ 1.930582] [<c0201848>] (gic_handle_irq) from [<c093d538>] (__irq_svc+0x58/0x74) [ 1.938055] Exception stack(0xc1001f00 to 0xc1001f48) [ 1.943107] 1f00: 00000000 0000028e ef6c36f8 c023ed20 c1000000 c1004194 00000001 c1004200 [ 1.951277] 1f20: c10eb715 c0b3ddc4 00000001 c1001f5c c1001f60 c1001f50 c0227cb0 c0227cb4 [ 1.959442] 1f40: 60000013 ffffffff [ 1.962935] [<c093d538>] (__irq_svc) from [<c0227cb4>] (arch_cpu_idle+0x48/0x4c) [ 1.970329] [<c0227cb4>] (arch_cpu_idle) from [<c093b600>] (default_idle_call+0x30/0x3c) [ 1.978417] [<c093b600>] (default_idle_call) from [<c02b68b4>] (cpu_startup_entry+0xe8/0x158) [ 1.986938] [<c02b68b4>] (cpu_startup_entry) from [<c0935530>] (rest_init+0x84/0x88) [ 1.994679] [<c0935530>] (rest_init) from [<c0e00df4>] (start_kernel+0x43c/0x464) [ 2.002167] ---[ end Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[toc] | [prev] | [next] | [standalone]
| From | Ben Hutchings <ben@decadent.org.uk> |
|---|---|
| Date | 2020-11-04 17:20 +0100 |
| Subject | Bug#973742: Boot output |
| Message-ID | <B7tFT-180-1@gated-at.bofh.it> |
| In reply to | #68501 |
[Multipart message — attachments visible in raw view] — view raw
Control: tag -1 moreinfo On Wed, 2020-11-04 at 12:27 +0100, debian@gregor-horvath.com wrote: [...] > Starting kernel ... > ��r���º��/cpus/cpu@0 missing clock-frequency property > [ 0.072909] /cpus/cpu@1 missing clock-frequency property > [ 1.806132] sr_init: platform driver register failed for SR > [ 1.816144] Failed to execute /init (error -2) Are these error messages also logged by the working kernel, or are they new? > [ 1.820753] Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance. > [ 1.833873] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.9.0-14-armmp-lpae #1 Debian 4.9.240-2 > [ 1.842385] Hardware name: Allwinner sun7i (A20) Family > [ 1.847645] [<c0231ab8>] (unwind_backtrace) from [<c022bae0>] (show_stack+0x20/0x24) > [ 1.855391] [<c022bae0>] (show_stack) from [<c0549eb0>] (dump_stack+0xc4/0xd8) > [ 1.862617] [<c0549eb0>] (dump_stack) from [<c038d30c>] (panic+0x100/0x28c) > [ 1.869585] [<c038d30c>] (panic) from [<c0935644>] (kernel_init+0x110/0x120) > [ 1.876633] [<c0935644>] (kernel_init) from [<c0227380>] (ret_from_fork+0x14/0x34) > [ 1.884205] CPU0: stopping This suggest to me that the initramfs is incomplete. Is the /boot partition (or root partition, if /boot is not separate) full? Ben. -- Ben Hutchings If the facts do not conform to your theory, they must be disposed of.
[toc] | [prev] | [next] | [standalone]
| From | Gregor Horvath <debian@gregor-horvath.com> |
|---|---|
| Date | 2020-11-04 18:00 +0100 |
| Subject | Bug#973742: Boot output |
| Message-ID | <B7uiB-1kC-3@gated-at.bofh.it> |
| In reply to | #68505 |
[Multipart message — attachments visible in raw view] — view raw
Am Wed, 04 Nov 2020 15:40:24 +0000
schrieb Ben Hutchings <ben@decadent.org.uk>:
> Control: tag -1 moreinfo
>
> On Wed, 2020-11-04 at 12:27 +0100, debian@gregor-horvath.com wrote:
> [...]
> > Starting kernel ...
> > ��r���º��/cpus/cpu@0 missing clock-frequency property
> > [ 0.072909] /cpus/cpu@1 missing clock-frequency property
> > [ 1.806132] sr_init: platform driver register failed for SR
> > [ 1.816144] Failed to execute /init (error -2)
>
> Are these error messages also logged by the working kernel, or are
> they new?
boot message of the working kernel:
U-Boot 2016.11+dfsg1-4 (Mar 27 2017 - 18:39:51 +0000) Allwinner Technology
CPU: Allwinner A20 (SUN7I)
Model: Olimex A20-Olinuxino Micro
I2C: ready
DRAM: 1 GiB
MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
*** Warning - bad CRC, using default environment
Setting up a 1024x768 vga console (overscan 0x0)
In: serial
Out: vga
Err: vga
SCSI: Target spinup took 0 ms.
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apst
Net: eth0: ethernet@01c50000
starting USB...
USB0: USB EHCI 1.00
USB1: USB OHCI 1.0
USB2: USB EHCI 1.00
USB3: USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 2 for devices... 1 USB Device(s) found
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:2...
Found U-Boot script /boot.scr
2464 bytes read in 73 ms (32.2 KiB/s)
## Executing script at 43100000
Mainline u-boot / new-style environment detected.
3836080 bytes read in 502 ms (7.3 MiB/s)
35271 bytes read in 232 ms (148.4 KiB/s)
16947432 bytes read in 1488 ms (10.9 MiB/s)
Booting Debian 4.9.0-13-armmp-lpae from mmc 0:2...
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
Loading Ramdisk to 48fd6000, end 49fff8e8 ... OK
Loading Device Tree to 48fca000, end 48fd59c6 ... OK
Starting kernel ...
[ 0.073034] /cpus/cpu@0 missing clock-frequency property
[ 0.073073] /cpus/cpu@1 missing clock-frequency property
[ 1.792129] sr_init: platform driver register failed for SR
[ 2.742847] sunxi-mmc 1c12000.mmc: smc 1 err, cmd 8, RTO !!
[ 2.761214] sunxi-mmc 1c12000.mmc: smc 1 err, cmd 8, RTO !!
eth set gpio 17 to 0
/dev/mmcblk0p3: clean, 74944/402400 files, 806103/1608192 blocks
[ 5.739075] ata1: exception Emask 0x10 SAct 0x0 SErr 0x10002 action 0xe frozen
[ 5.746414] ata1: irq_stat 0x00400000, PHY RDY changed
[ 5.751605] ata1: SError: { RecovComm PHYRdyChg }
Debian GNU/Linux 9 SrvInt01 ttyS0
>
> > [ 1.820753] Kernel panic - not syncing: No working init found.
> > Try passing init= option to kernel. See Linux
> > Documentation/init.txt for guidance. [ 1.833873] CPU: 1 PID: 1
> > Comm: swapper/0 Not tainted 4.9.0-14-armmp-lpae #1 Debian 4.9.240-2
> > [ 1.842385] Hardware name: Allwinner sun7i (A20) Family
> > [ 1.847645] [<c0231ab8>] (unwind_backtrace) from [<c022bae0>]
> > (show_stack+0x20/0x24) [ 1.855391] [<c022bae0>] (show_stack)
> > from [<c0549eb0>] (dump_stack+0xc4/0xd8) [ 1.862617]
> > [<c0549eb0>] (dump_stack) from [<c038d30c>] (panic+0x100/0x28c)
> > [ 1.869585] [<c038d30c>] (panic) from [<c0935644>]
> > (kernel_init+0x110/0x120) [ 1.876633] [<c0935644>] (kernel_init)
> > from [<c0227380>] (ret_from_fork+0x14/0x34) [ 1.884205] CPU0:
> > stopping
>
> This suggest to me that the initramfs is incomplete. Is the /boot
> partition (or root partition, if /boot is not separate) full?
no, see:
$ df -h
Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
udev 482M 0 482M 0% /dev
tmpfs 100M 7,9M 92M 8% /run
/dev/mmcblk0p3 6,0G 3,0G 2,8G 52% /
tmpfs 499M 4,0K 499M 1% /dev/shm
tmpfs 5,0M 0 5,0M 0% /run/lock
tmpfs 499M 0 499M 0% /sys/fs/cgroup
/dev/mmcblk0p2 237M 58M 167M 26% /boot
/dev/mapper/inthdd_crypt 294G 70G 209G 26% /mnt/inthdd
tmpfs 100M 0 100M 0% /run/user/1000
Thank you!
Greg
[toc] | [prev] | [next] | [standalone]
| From | "Debian Bug Tracking System" <owner@bugs.debian.org> |
|---|---|
| Date | 2020-11-04 17:20 +0100 |
| Subject | Processed: Re: Bug#973742: Boot output |
| Message-ID | <B7tFT-180-3@gated-at.bofh.it> |
| In reply to | #68500 |
Processing control commands: > tag -1 moreinfo Bug #973742 [src:linux] linux-source: 4.9.0-14-armmp-lpae update renders Olimex A20-OLinuXino-MICRO unbootable Added tag(s) moreinfo. -- 973742: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973742 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
[toc] | [prev] | [next] | [standalone]
| From | Gregor Horvath <gh@gregor-horvath.com> |
|---|---|
| Date | 2021-01-21 16:50 +0100 |
| Subject | Bug#973742: Bad microSD Card |
| Message-ID | <BzKnD-6np-3@gated-at.bofh.it> |
| In reply to | #68500 |
[Multipart message — attachments visible in raw view] — view raw
This was probably because of an dying microSD Card where the kernel was installed. Because 2 months later also the 4.9.0-13 kernel on hold had boot problems. [1] After reinstalling Debian Stretch with 4.9.0-14 on an SSD instead of microSD (except u-boot) everything runs fine. [1] https://www.olimex.com/forum/index.php?topic=8028.0
[toc] | [prev] | [next] | [standalone]
| From | Salvatore Bonaccorso <carnil@debian.org> |
|---|---|
| Date | 2021-01-22 23:30 +0100 |
| Subject | Bug#973742: Bad microSD Card |
| Message-ID | <BAd6h-6xo-3@gated-at.bofh.it> |
| In reply to | #69246 |
Hi Gregor, On Thu, Jan 21, 2021 at 04:23:02PM +0100, Gregor Horvath wrote: > This was probably because of an dying microSD Card where the kernel was > installed. > Because 2 months later also the 4.9.0-13 kernel on hold had boot > problems. [1] > After reinstalling Debian Stretch with 4.9.0-14 on an SSD instead of > microSD (except u-boot) everything runs fine. > > [1] https://www.olimex.com/forum/index.php?topic=8028.0 thanks for reporting back. In this case I guess we can close this bugreport. Regards, Salvatore
[toc] | [prev] | [next] | [standalone]
| From | "Debian Bug Tracking System" <owner@bugs.debian.org> |
|---|---|
| Date | 2021-01-22 23:30 +0100 |
| Subject | Bug#973742: marked as done (linux-source: 4.9.0-14-armmp-lpae update renders Olimex A20-OLinuXino-MICRO unbootable) |
| Message-ID | <BAd6h-6xo-1@gated-at.bofh.it> |
| In reply to | #68500 |
[Multipart message — attachments visible in raw view] — view raw
Your message dated Fri, 22 Jan 2021 23:17:11 +0100 with message-id <YAtO542Tcyl3owfJ@eldamar.lan> and subject line Re: Bug#973742: Bad microSD Card has caused the Debian Bug report #973742, regarding linux-source: 4.9.0-14-armmp-lpae update renders Olimex A20-OLinuXino-MICRO unbootable 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.) -- 973742: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973742 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.kernel
csiph-web