[Letux-kernel] more 5.4-rc1 woes

Andreas Kemnade andreas at kemnade.info
Wed Oct 2 19:29:36 CEST 2019


On Wed, 2 Oct 2019 19:04:42 +0200
"H. Nikolaus Schaller" <hns at goldelico.com> wrote:

> > Am 02.10.2019 um 18:57 schrieb Andreas Kemnade <andreas at kemnade.info>:
> > 
> > Hi,
> > 
> > I tested again, now booting without mmc fs, just a busybox from initrd.
> >    2.888397] smartreflex 480c9000.smartreflex: omap_sr_probe: SmartReflex drid
> > [    2.899871] ALSA device list:                                                
> > [    2.903015]   No soundcards found.                                           
> > [    2.909973] Freeing unused kernel memory: 1024K                              
> > [    2.915161] Run /init as init process                                        
> > [    2.940124] omap_hdq 480b2000.1w: OMAP HDQ Hardware Rev 0.5. Driver in Intere
> > [    2.953704] w1_master_driver w1_bus_master1: Attaching one wire slave 01.000d
> > 
> > 
> > / #                                                                             
> > / # ifconfig lo                                                                 
> > lo        Link encap:Local Loopback                                             
> >          LOOPBACK  MTU:65536  Metric:1                                         
> >          RX packets:0 errors:0 dropped:0 overruns:0 frame:0                    
> >          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0                  
> >          collisions:0 txqueuelen:1000                                          
> >          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)                                
> > 
> > / # ifconfig lo 192.168.0.[   33.118438] VAUX3: disabling                       
> > [   33.122436] VDAC: disabling                                                  
> > [   33.126068] VUSB1V5: disabling                                               
> > [   33.130096] VUSB1V8: disabling                                               
> > [   33.133941] VUSB3V1: disabling                                               
> > 
> > / # ifconfig lo 127.0.0.1 up                                                    
> > / # ping -c 4 127.0.0.1                                                         
> > PING 127.0.0.1 (127.0.0.1): 56 data bytes                                       
> > ping: recvfrom: Bad address                                                     
> > ping: recvfrom: Bad address                                                     
> > ping: recvfrom: Bad address                                                     
> > ping: recvfrom: Bad address                                                     
> > ping: recvfrom: Bad address                                                     
> > ping: recvfrom: Bad address                                                     
> > ping: recvfrom: Bad address                                                     
> > ping: recvfrom: Bad address                                                     
> > 
> > --- 127.0.0.1 ping statistics ---                                               
> > 4 packets transmitted, 0 packets received, 100% packet loss                     
> > / # 
> > 
> > Well, people have finally understood that networking is too dangerous...
> > Hmm, does it make sense to bisect that?! Such a bug cannot go undiscovered.  
> 
> I have now tried to boot the Pyra (using Stretch).
> Well, it boots but also has significant trouble...
> 
> e.g.
> 
> [    0.220995] NET: Registered protocol family 16
> [    0.232201] DMA: preallocated 256 KiB pool for atomic coherent allocations
> [    0.233323] omap_hwmod: l3_main_3 using broken dt data from ocp
> [    0.234187] omap_hwmod: l3_main_2 using broken dt data from ocp
> [    0.240997] omap_hwmod: mmu_dsp: no dt node
> [    0.241005] ------------[ cut here ]------------
> [    0.241023] WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/omap_hwmod.c:2414 _init+0x18c/0x474
> [    0.241030] omap_hwmod: mmu_dsp: doesn't have mpu register target base
> [    0.241037] Modules linked in:
> [    0.241051] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.4.0-rc1-letux+ #1060
> [    0.241058] Hardware name: Generic OMAP5 (Flattened Device Tree)
> [    0.241086] [<c010ffa8>] (unwind_backtrace) from [<c010b61c>] (show_stack+0x10/0x14)
> [    0.241103] [<c010b61c>] (show_stack) from [<c07a5e40>] (dump_stack+0x7c/0x9c)
> [    0.241121] [<c07a5e40>] (dump_stack) from [<c013164c>] (__warn+0xc8/0xf4)
> [    0.241136] [<c013164c>] (__warn) from [<c01316e8>] (warn_slowpath_fmt+0x70/0x9c)
> [    0.241151] [<c01316e8>] (warn_slowpath_fmt) from [<c0b0d198>] (_init+0x18c/0x474)
> [    0.241166] [<c0b0d198>] (_init) from [<c01201dc>] (omap_hwmod_for_each+0x3c/0x64)
> [    0.241182] [<c01201dc>] (omap_hwmod_for_each) from [<c0b0d6b0>] (__omap_hwmod_setup_all+0x24/0xc0)
> [    0.241196] [<c0b0d6b0>] (__omap_hwmod_setup_all) from [<c0102ed8>] (do_one_initcall+0xb4/0x268)
> [    0.241211] [<c0102ed8>] (do_one_initcall) from [<c0b00fe4>] (kernel_init_freeable+0x11c/0x1ec)
> [    0.241225] [<c0b00fe4>] (kernel_init_freeable) from [<c07bb4c0>] (kernel_init+0x8/0x110)
> [    0.241238] [<c07bb4c0>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
> [    0.241246] Exception stack(0xed0d7fb0 to 0xed0d7ff8)
> [    0.241260] 7fa0:                                     ???????? ???????? ???????? ????????
> [    0.241275] 7fc0: ???????? ???????? ???????? ???????? ???????? ???????? ???????? ????????
> [    0.241287] 7fe0: ???????? ???????? ???????? ???????? ???????? ????????
> [    0.241298] ---[ end trace bd2a1792584d7428 ]---
> [    0.248573] omap_hwmod: mmu_ipu: no dt node
> [    0.248581] ------------[ cut here ]------------
> [    0.248593] WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/omap_hwmod.c:2414 _init+0x18c/0x474
> [    0.248600] omap_hwmod: mmu_ipu: doesn't have mpu register target base
> [    0.248606] Modules linked in:
> [    0.248617] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G        W         5.4.0-rc1-letux+ #1060
> [    0.248624] Hardware name: Generic OMAP5 (Flattened Device Tree)
> [    0.248640] [<c010ffa8>] (unwind_backtrace) from [<c010b61c>] (show_stack+0x10/0x14)
> [    0.248654] [<c010b61c>] (show_stack) from [<c07a5e40>] (dump_stack+0x7c/0x9c)
> [    0.248669] [<c07a5e40>] (dump_stack) from [<c013164c>] (__warn+0xc8/0xf4)
> [    0.248683] [<c013164c>] (__warn) from [<c01316e8>] (warn_slowpath_fmt+0x70/0x9c)
> [    0.248697] [<c01316e8>] (warn_slowpath_fmt) from [<c0b0d198>] (_init+0x18c/0x474)
> [    0.248710] [<c0b0d198>] (_init) from [<c01201dc>] (omap_hwmod_for_each+0x3c/0x64)
> [    0.248724] [<c01201dc>] (omap_hwmod_for_each) from [<c0b0d6b0>] (__omap_hwmod_setup_all+0x24/0xc0)
> [    0.248737] [<c0b0d6b0>] (__omap_hwmod_setup_all) from [<c0102ed8>] (do_one_initcall+0xb4/0x268)
> [    0.248750] [<c0102ed8>] (do_one_initcall) from [<c0b00fe4>] (kernel_init_freeable+0x11c/0x1ec)
> [    0.248763] [<c0b00fe4>] (kernel_init_freeable) from [<c07bb4c0>] (kernel_init+0x8/0x110)
> [    0.248775] [<c07bb4c0>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
> [    0.248782] Exception stack(0xed0d7fb0 to 0xed0d7ff8)
> [    0.248794] 7fa0:                                     ???????? ???????? ???????? ????????
> [    0.248808] 7fc0: ???????? ???????? ???????? ???????? ???????? ???????? ???????? ????????
> [    0.248820] 7fe0: ???????? ???????? ???????? ???????? ???????? ????????
> [    0.248828] ---[ end trace bd2a1792584d7429 ]---
> [    0.266649] audit: initializing netlink subsys (disabled)
> [    0.266791] audit: type=2000 audit(0.260:1): state=initialized audit_enabled=0 res=1
> [    0.268158] debugfs: Directory 'dummy-scm_conf at 0' with parent 'regmap' already present!
> [    0.268697] cpuidle: using governor menu
> [    0.299223] platform 50000000.gpmc: Cannot lookup hwmod 'gpmc'
> [    0.299397] omap-gpmc 50000000.gpmc: _od_fail_runtime_resume: FIXME: missing hwmod/omap_dev info
> [    0.299411] omap-gpmc 50000000.gpmc: GPMC revision 6.0
> [    0.309497] No ATAGs?
> [    0.309565] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
> 
> ...
> 
> [    4.332041] systemd[1]: Set hostname to <letux>.
> [    4.367492] random: systemd: uninitialized urandom read (16 bytes read)
> [    4.408190] random: systemd-cryptse: uninitialized urandom read (16 bytes read)
> [    4.424507] systemd-fstab-generator[1392]: Failed to write unit file /run/systemd/generator/-.mount: Bad address
> [    4.437866] systemd-fstab-generator[1392]: Failed to write unit file /run/systemd/generator/boot.mount: Bad address
> [    4.449361] systemd-fstab-generator[1392]: Failed to write unit file /run/systemd/generator/mnt-mmc0.1.mount: Bad address
> [    4.461122] systemd-fstab-generator[1392]: Failed to write unit file /run/systemd/generator/mnt-mmc0.2.mount: Bad address
> [    4.473091] systemd-fstab-generator[1392]: Failed to write unit file /run/systemd/generator/mnt-mmc1.1.mount: Bad address
> [    4.484909] systemd-fstab-generator[1392]: Failed to write unit file /run/systemd/generator/mnt-mmc1.2.mount: Bad address
> [    4.496826] systemd-fstab-generator[1392]: Failed to write unit file /run/systemd/generator/mnt-mmc2.1.mount: Bad address
> [    4.508563] systemd-fstab-generator[1392]: Failed to write unit file /run/systemd/generator/mnt-mmc2.2.mount: Bad address
> [    4.520852] systemd-fstab-generator[1392]: Failed to write unit file /run/systemd/generator/mnt-nand.mount: Bad address
> [    4.634895] systemd-sysv-generator[1394]: Failed to write unit /run/systemd/generator.late/cpufrequtils.service: Bad address
> [    4.647096] systemd-sysv-generator[1394]: Failed to write unit /run/systemd/generator.late/rc.pvr.service: Bad address
> [    4.660131] systemd-sysv-generator[1394]: Failed to write unit /run/systemd/generator.late/loadcpufreq.service: Bad address
> [    4.671999] systemd-sysv-generator[1394]: Failed to write unit /run/systemd/generator.late/sysfsutils.service: Bad address
> [    4.683769] systemd-sysv-generator[1394]: Failed to write unit /run/systemd/generator.late/wwan.service: Bad address
> [    4.694970] systemd-sysv-generator[1394]: Failed to write unit /run/systemd/generator.late/ntp.service: Bad address
> [    4.707216] systemd[1385]: /lib/systemd/system-generators/systemd-fstab-generator failed with error code 1.
> [    4.733390] systemd[1]: SO_PASSCRED failed: Bad address
> [    4.739677] systemd[1]: Failed to fully start up daemon: Bad address
> [    4.989232] systemd[1]: systemd-journald-audit.socket: Failed to listen on sockets: Bad address
> [    4.998598] systemd[1]: Failed to listen on Journal Audit Socket.
> [FAILED] Failed to listen on Journal Audit Socket.
> See 'systemctl status systemd-journald-audit.socket' for details.
> [    5.060325] systemd[1]: systemd-journald-audit.socket: Unit entered failed state.
> [    5.068684] systemd[1]: Reached target Swap.
> [  OK  ] Reached target Swap.
> 
> So I think the conversion from hwmods to some sysc based device tree entries did go wrong.
> 
> In summary: 5.4-rc1 is not even good for being debugged...
> 
well, we have:
static void panel_simple_parse_panel_timing_node(struct device *dev,
                                                 struct panel_simple *panel,
                                                 const struct display_timing *ot)
{
        const struct panel_desc *desc = panel->desc;
        struct videomode vm;
        unsigned int i;

        if (WARN_ON(desc->num_modes)) {
                dev_err(dev, "Reject override mode: panel has a fixed mode\n");
                return;
        }

That warning gets triggered on panel-simple even on kernel booting
otherwise cleanly. But I think that can be debugged...

Regards,
Andreas


More information about the Letux-kernel mailing list