Date: Thu, 05 Sep 2013 18:46:13 +0300 From: Alexander <vsityz@gmail.com> To: John Baldwin <jhb@freebsd.org> Cc: =?UTF-8?B?SmVhbi1Tw6liYXN0aWVuIFDDqWRyb24=?= <jean-sebastien.pedron@dumbbell.fr>, freebsd-current@freebsd.org Subject: Re: i915kms.ko not loading Message-ID: <5228A745.5030905@gmail.com> In-Reply-To: <201309051030.53839.jhb@freebsd.org> References: <521E52A6.6040205@gmail.com> <201309041440.51566.jhb@freebsd.org> <52289055.5020509@gmail.com> <201309051030.53839.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
05.09.2013 17:30, John Baldwin wrote: > On Thursday, September 05, 2013 10:08:21 am Alexander wrote: > [ ..cut ..] >>> Hmm, 'p *dev'? >>> >>> >> (kgdb) p *dev >> No symbol "dev" in current context. > Please go back to frame 6 first and then run 'p *dev'. > (kgdb) frame 6 #6 0xffffffff810402a6 in intel_parse_bios (dev=0xfffff80005dca800) at /usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/intel_bios.c:287 287 switch (INTEL_INFO(dev)->gen) { (kgdb) p *dev $1 = {driver = 0xffffffff810796a0, id_entry = 0xffffffff81079cd8, pci_device = 338, pci_vendor = 32902, pci_subdevice = 0, pci_subvendor = 0, unique = 0x0, unique_len = 0, device = 0xfffff80001a0ba00, devnode = 0xfffff801a476a400, if_version = 0, flags = 0, dma_lock = {lock_object = { lo_name = 0xffffffff806d3a7d "drmvbl", lo_flags = 16973824, lo_data = 0, lo_witness = 0x0}, mtx_lock = 4}, irq_lock = {lock_object = {lo_name = 0x0, lo_flags = 0, lo_data = 0, lo_witness = 0x0}, mtx_lock = 0}, dev_lock = {lock_object = {lo_name = 0xffffffff806d3a76 "drmirq", lo_flags = 16973824, lo_data = 0, lo_witness = 0x0}, mtx_lock = 4}, dev_struct_lock = {lock_object = {lo_name = 0xffffffff806d3a6f "drmdev", lo_flags = 16973824, lo_data = 0, lo_witness = 0x0}, sx_lock = 1}, drw_lock = {lock_object = {lo_name = 0xffffffff806d3a84 "drmdrw", lo_flags = 16973824, lo_data = 0, lo_witness = 0x0}, mtx_lock = 4}, open_count = 0, buf_use = 0, counters = 10, types = {_DRM_STAT_LOCK, _DRM_STAT_OPENS, _DRM_STAT_CLOSES, _DRM_STAT_IOCTLS, _DRM_STAT_LOCKS, _DRM_STAT_UNLOCKS, _DRM_STAT_IRQ, _DRM_STAT_PRIMARY, _DRM_STAT_SECONDARY, _DRM_STAT_DMA, _DRM_STAT_LOCK, _DRM_STAT_LOCK, _DRM_STAT_LOCK, _DRM_STAT_LOCK, _DRM_STAT_LOCK}, counts = {0 <repeats 15 times>}, files = {tqh_first = 0x0, tqh_last = 0xfffff80005dca968}, magiclist = {{head = 0x0, tail = 0x0} <repeats 16 times>}, maplist = {tqh_first = 0xfffff800056ccb80, tqh_last = 0xfffff800056ccbd0}, map_unrhdr = 0xfffff801a46097c0, context_sareas = 0x0, max_context = 0, lock = {hw_lock = 0x0, file_priv = 0x0, lock_queue = 0, lock_time = 0}, dma = 0x0, irq = 0, irq_enabled = 0, msi_enabled = 0, irqrid = 0, irqr = 0x0, irqh = 0x0, pcir = {0xfffff80001ac3d80, 0x0, 0x0, 0x0, 0x0, 0x0}, pcirid = {16, 0, 0, 0, 0, 0}, pci_domain = 0, pci_bus = 0, pci_slot = 2, pci_func = 0, context_flag = 0, last_context = 0, num_crtcs = 0, buf_sigio = 0x0, sysctl = 0x0, sysctl_node_idx = 0, agp = 0x0, sg = 0x0, ctx_bitmap = 0x0, dev_private = 0xfffff80005dca840, agp_buffer_token = 0, agp_buffer_map = 0x0, control = 0xfffff801a483bd80, primary = 0x3, drm_ttm_bdev = 0x0, drw_unrhdr = 0xfffff80005335ee0, drw_head = { rbh_root = 0x0}, vblank_disable_allowed = 0, _vblank_count = 0x0, _vblank_time = 0x0, vblank_time_lock = {lock_object = {lo_name = 0x0, lo_flags = 0, lo_data = 0, lo_witness = 0x0}, mtx_lock = 0}, vbl_lock = {lock_object = {lo_name = 0x0, lo_flags = 0, lo_data = 0, lo_witness = 0x0}, mtx_lock = 0}, vblank_refcount = 0x0, last_vblank = 0x0, vblank_enabled = 0x0, vblank_inmodeset = 0x0, last_vblank_wait = 0x0, vblank_disable_callout = {c_links = { le = {le_next = 0x0, le_prev = 0x0}, sle = {sle_next = 0x0}, tqe = {tqe_next = 0x0, tqe_prev = 0x0}}, c_time = 0, c_precision = 0, c_arg = 0x0, c_func = 0, c_lock = 0x0, c_flags = 0, c_cpu = 0}, max_vblank_count = 4294967295, vblank_event_list = {next = 0x0, prev = 0x0}, event_lock = { lock_object = {lo_name = 0x0, lo_flags = 0, lo_data = 0, lo_witness = 0x0}, mtx_lock = 0}, mode_config = {mutex = {lock_object = {lo_name = 0x0, lo_flags = 0, lo_data = 0, lo_witness = 0x0}, sx_lock = 0}, crtc_names = {lock = {lock_object = {lo_name = 0x0, lo_flags = 0, lo_data = 0, lo_witness = 0x0}, mtx_lock = 0}, names_hash = 0x0, hash_mask = 0, unr = 0x0}, num_fb = 0, fb_list = {next = 0x0, prev = 0x0}, num_connector = 0, connector_list = {next = 0x0, prev = 0x0}, num_encoder = 0, encoder_list = {next = 0x0, prev = 0x0}, num_plane = 0, plane_list = {next = 0x0, prev = 0x0}, num_crtc = 0, crtc_list = {next = 0x0, prev = 0x0}, property_list = {next = 0x0, prev = 0x0}, min_width = 0, min_height = 0, max_width = 0, max_height = 0, funcs = 0x0, fb_base = 0, poll_enabled = false, output_poll_task = {q = 0x0, t = {ta_link = {stqe_next = 0x0}, ta_pending = 0, ta_priority = 0, ta_func = 0, ta_context = 0x0}, c = {c_links = {le = {le_next = 0x0, le_prev = 0x0}, sle = {sle_next = 0x0}, tqe = {tqe_next = 0x0, tqe_prev = 0x0}}, c_time = 0, c_precision = 0, c_arg = 0x0, c_func = 0, c_lock = 0x0, c_flags = 0, c_cpu = 0}, f = 0}, property_blob_list = {next = 0x0, prev = 0x0}, edid_property = 0x0, dpms_property = 0x0, dvi_i_subconnector_property = 0x0, dvi_i_select_subconnector_property = 0x0, tv_subconnector_property = 0x0, tv_select_subconnector_property = 0x0, tv_mode_property = 0x0, tv_left_margin_property = 0x0, tv_right_margin_property = 0x0, tv_top_margin_property = 0x0, tv_bottom_margin_property = 0x0, tv_brightness_property = 0x0, tv_contrast_property = 0x0, tv_flicker_reduction_property = 0x0, tv_overscan_property = 0x0, tv_saturation_property = 0x0, tv_hue_property = 0x0, scaling_mode_property = 0x0, dithering_mode_property = 0x0, dirty_info_property = 0x0, preferred_depth = 0, prefer_shadow = 0}, object_name_lock = {lock_object = {lo_name = 0x0, lo_flags = 0, lo_data = 0, lo_witness = 0x0}, sx_lock = 0}, object_names = {lock = {lock_object = {lo_name = 0x0, lo_flags = 0, lo_data = 0, lo_witness = 0x0}, mtx_lock = 0}, names_hash = 0x0, hash_mask = 0, unr = 0x0}, mm_private = 0x0, sysctl_private = 0x0, busid_str = "\000\000\000\000\000\000\000\000\033", '\0' <repeats 47 times>, "\002", '\0' <repeats 70 times>, modesetting = 0, switch_power_state = 0} (kgdb)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5228A745.5030905>