Comment # 10 on bug 1004933 from
(In reply to John H. from comment #9)
> soooo, whats the status here? booting seems to work now,

Yay.

> although this maybe due to gdn switching to wayland.

Perhaps but how? The issue I saw with this code path which seemed rather racy
path with getting EDID info on bootup/suspend. To this end I have had some
changes I've made to firmware_class which I'd like you to test. Is it possible
for you to test random kernel trees ?

If so can you test this branch ?

https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git/log/?h=20170329-driver-data-v2-try2

> just had this while trying to access a tty
> from X.

How exactly did this happen. You booted up, and after a while you switch to a
tty from X ? No suspend / resume at all ?

> Mar 15 00:40:56 crest kernel: BUG: unable to handle kernel NULL pointer
> dereference at 0000000000000008
> Mar 15 00:40:56 crest kernel: IP: set_root+0x24/0xb0
> Mar 15 00:40:56 crest kernel: PGD 0 
> Mar 15 00:40:56 crest kernel: 
> Mar 15 00:40:56 crest kernel: Oops: 0000 [#1] PREEMPT SMP
> Mar 15 00:40:56 crest kernel: Modules linked in: cpufreq_userspace overlay
> crypto_simd glue_helper cryptd aes_x86_64 arc4 md4 md5 nls_utf8 cifs
> dns_resolver fscache fuse zram nf_log_ipv6 xt_pkttype nf_log_ipv4
> nf_log_common xt_LOG xt_limit af_packet iscsi_ibft iscsi_boot_sysfs msr
> dm_crypt algif_skcipher af_alg snd_hda_codec_realtek snd_hda_codec_generic
> joydev coretemp iTCO_wdt snd_hda_codec_hdmi iTCO_vendor_support
> snd_hda_intel gpio_ich snd_hda_codec snd_hda_core kvm_intel snd_hwdep
> snd_pcm r8169 snd_timer kvm fjes mii lpc_ich mfd_core snd irqbypass
> soundcore acpi_cpufreq shpchp ppdev tpm_tis parport_pc i2c_i801 tpm_tis_core
> parport tpm button ip6t_REJECT nf_reject_ipv6 xt_tcpudp nf_conntrack_ipv6
> nf_defrag_ipv6 ip6table_raw ipt_REJECT nf_reject_ipv4 iptable_raw xt_CT
> iptable_filter ip6table_mangle nf_conntrack_netbios_ns
> Mar 15 00:40:56 crest kernel:  nf_conntrack_broadcast nf_conntrack_ipv4
> nf_defrag_ipv4 ip_tables xt_conntrack nf_conntrack ip6table_filter
> ip6_tables x_tables btrfs xor hid_generic usbhid raid6_pq ata_generic
> ata_piix amdkfd amd_iommu_v2 serio_raw radeon i2c_algo_bit drm_kms_helper
> syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm ehci_pci uhci_hcd
> ehci_hcd usbcore sg dm_multipath dm_mod scsi_dh_rdac scsi_dh_emc scsi_dh_alua
> Mar 15 00:40:56 crest kernel: CPU: 0 PID: 5528 Comm: Ethread-feedbac Not
> tainted 4.10.1-2-default #1
> Mar 15 00:40:56 crest kernel: Hardware name: FUJITSU                        
> ESPRIMO P2560                 /D3041-A1, BIOS 6.00 R1.02.3041.A1            
> 11/09/2010
> Mar 15 00:40:56 crest kernel: task: ffff92d7971c2200 task.stack:
> ffffb21f05a60000
> Mar 15 00:40:56 crest kernel: RIP: 0010:set_root+0x24/0xb0
> Mar 15 00:40:56 crest kernel: RSP: 0018:ffffb21f05a636c8 EFLAGS: 00010202
> Mar 15 00:40:56 crest kernel: RAX: ffff92d7971c2200 RBX: ffffb21f05a63800
> RCX: ffff92d79a166100
> Mar 15 00:40:56 crest kernel: RDX: ffffffffbb232a48 RSI: 0000000000000000
> RDI: ffffb21f05a63800
> Mar 15 00:40:56 crest kernel: RBP: ffffb21f05a636e0 R08: 0000000000020d40
> R09: ffff92d74db725a0
> Mar 15 00:40:56 crest kernel: R10: 0000000000020b80 R11: ffff92d7c097d000
> R12: 0000000000000000
> Mar 15 00:40:56 crest kernel: R13: ffff92d7b3b6701c R14: 0000000000003a98
> R15: ffffb21f05a63914
> Mar 15 00:40:56 crest kernel: FS:  00007f7d9b796700(0000)
> GS:ffff92d81fc00000(0000) knlGS:0000000000000000
> Mar 15 00:40:56 crest kernel: CS:  0010 DS: 0000 ES: 0000 CR0:
> 0000000080050033
> Mar 15 00:40:56 crest kernel: CR2: 0000000000000008 CR3: 0000000030e09000
> CR4: 00000000000406f0
> Mar 15 00:40:56 crest kernel: Call Trace:
> Mar 15 00:40:56 crest kernel:  path_init+0x1e3/0x350
> Mar 15 00:40:56 crest kernel:  path_openat+0x69/0x13c0
> Mar 15 00:40:56 crest kernel:  ? idr_get_empty_slot+0x15a/0x340
> Mar 15 00:40:56 crest kernel:  ? idr_get_empty_slot+0x15a/0x340
> Mar 15 00:40:56 crest kernel:  ? ep_poll_callback+0xd9/0x200
> Mar 15 00:40:56 crest kernel:  do_filp_open+0x7e/0xe0
> Mar 15 00:40:56 crest kernel:  ? __kmalloc_reserve.isra.32+0x2e/0x80
> Mar 15 00:40:56 crest kernel:  ? platform_match+0x24/0x90
> Mar 15 00:40:56 crest kernel:  file_open_name+0xf0/0x120
> Mar 15 00:40:56 crest kernel:  filp_open+0x2c/0x50
> Mar 15 00:40:56 crest kernel:  kernel_read_file_from_path+0x34/0x70
> Mar 15 00:40:56 crest kernel:  _request_firmware+0x266/0xad0
> Mar 15 00:40:56 crest kernel:  ? platform_device_add+0x10e/0x260
> Mar 15 00:40:56 crest kernel:  request_firmware+0x32/0x50
> Mar 15 00:40:56 crest kernel:  drm_load_edid_firmware+0x2a0/0x460
> [drm_kms_helper]
> Mar 15 00:40:56 crest kernel: 
> drm_helper_probe_single_connector_modes+0x15d/0x520 [drm_kms_helper]
> Mar 15 00:40:56 crest kernel:  drm_setup_crtcs+0x7b/0x9f0 [drm_kms_helper]
> Mar 15 00:40:56 crest kernel:  ? drm_modeset_unlock_all+0x31/0x60 [drm]
> Mar 15 00:40:56 crest kernel:  drm_fb_helper_hotplug_event+0xcb/0xf0
> [drm_kms_helper]
> Mar 15 00:40:56 crest kernel: 
> drm_fb_helper_restore_fbdev_mode_unlocked+0x50/0x70 [drm_kms_helper]
> Mar 15 00:40:56 crest kernel:  radeon_fbdev_restore_mode+0x16/0x40 [radeon]
> Mar 15 00:40:56 crest kernel:  radeon_driver_lastclose_kms+0xe/0x20 [radeon]
> Mar 15 00:40:56 crest kernel:  drm_lastclose+0x34/0xf0 [drm]
> Mar 15 00:40:56 crest kernel:  drm_release+0x2ee/0x3a0 [drm]
> Mar 15 00:40:56 crest kernel:  __fput+0xc7/0x1d0
> Mar 15 00:40:56 crest kernel:  task_work_run+0x79/0xa0
> Mar 15 00:40:56 crest kernel:  do_exit+0x2bc/0xbb0
> Mar 15 00:40:56 crest kernel:  do_group_exit+0x3a/0xa0
> Mar 15 00:40:56 crest kernel:  get_signal+0x261/0x660
> Mar 15 00:40:56 crest kernel:  do_signal+0x23/0x680
> Mar 15 00:40:56 crest kernel:  ? hrtimer_try_to_cancel+0xaa/0x110
> Mar 15 00:40:56 crest kernel:  ? do_nanosleep+0x88/0xe0
> Mar 15 00:40:56 crest kernel:  ? hrtimer_nanosleep+0xd4/0x210
> Mar 15 00:40:56 crest kernel:  ? __hrtimer_init+0x90/0x90
> Mar 15 00:40:56 crest kernel:  exit_to_usermode_loop+0x71/0xb0
> Mar 15 00:40:56 crest kernel:  syscall_return_slowpath+0x54/0x60
> Mar 15 00:40:56 crest kernel:  entry_SYSCALL_64_fastpath+0xab/0xad
> Mar 15 00:40:56 crest kernel: Code: 1f 84 00 00 00 00 00 66 66 66 66 90 55
> 65 48 8b 04 25 c0 d3 00 00 48 89 e5 41 55 41 54 53 f6 47 38 40 4c 8b a0 c8
> 06 00 00 74 3b <41> 8b 4c 24 08 f6 c1 01 75 75 49 8b 54 24 20 49 8b 44 24 18
> 48 
> Mar 15 00:40:56 crest kernel: RIP: set_root+0x24/0xb0 RSP: ffffb21f05a636c8
> Mar 15 00:40:56 crest kernel: CR2: 0000000000000008
> Mar 15 00:40:56 crest kernel: ---[ end trace ab563ef3b7ca7d10 ]---
> Mar 15 00:40:56 crest kernel: Fixing recursive fault but reboot is needed!


You are receiving this mail because: