search for: preinit

Displaying 20 results from an estimated 95 matches for "preinit".

2016 Oct 13
15
[Bug 98240] New: Kernel module fails to load on HP Pavilion V3A33AV laptop.
...50d8 object ffff8802591e50d8 [ 4620.356004] nouveau: DRM:00000000:00000000: ioctl: create device size 16 [ 4620.356004] nouveau: DRM:00000000:00000000: ioctl: create device v0 device ffffffffffffffff [ 4620.356005] nouveau: DRM:00000000:00000080: init running... [ 4620.356006] nouveau 0000:01:00.0: preinit running... [ 4620.356006] nouveau 0000:01:00.0: pci: preinit running... [ 4620.356007] nouveau 0000:01:00.0: pci: preinit completed in 0us [ 4620.356008] nouveau 0000:01:00.0: bios: preinit running... [ 4620.356008] nouveau 0000:01:00.0: bios: preinit completed in 0us [ 4620.356009] nouveau 0000:01...
2016 Feb 11
1
[PATCH] devinit/gf100-: detect if BIOS invoked devinit
.../subdev/devinit/gf100.c b/drm/nouveau/nvkm/subdev/devinit/gf100.c index 22b0140..2923598 100644 --- a/drm/nouveau/nvkm/subdev/devinit/gf100.c +++ b/drm/nouveau/nvkm/subdev/devinit/gf100.c @@ -90,9 +90,21 @@ gf100_devinit_disable(struct nvkm_devinit *init) return disable; } +void +gf100_devinit_preinit(struct nvkm_devinit *base) +{ + struct nv50_devinit *init = nv50_devinit(base); + struct nvkm_subdev *subdev = &init->base.subdev; + struct nvkm_device *device = subdev->device; + + /* This bit is set by devinit, and flips back to 0 on suspend */ + if (!base->post) + base->post = (...
2019 Jun 26
0
[PATCH] drm/nouveau: Enable i2c pads & busses during preinit
...pu/drm/nouveau/nvkm/subdev/i2c/base.c index ecacb22834d7..719345074711 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c @@ -184,6 +184,25 @@ nvkm_i2c_fini(struct nvkm_subdev *subdev, bool suspend) return 0; } +static int +nvkm_i2c_preinit(struct nvkm_subdev *subdev) +{ + struct nvkm_i2c *i2c = nvkm_i2c(subdev); + struct nvkm_i2c_bus *bus; + struct nvkm_i2c_pad *pad; + + /* + * We init our i2c busses as early as possible, since they may be + * needed by the vbios init scripts on some cards + */ + list_for_each_entry(pad, &i2c-...
2011 Jun 28
2
minor Hivex.xs leaks
...was looking at hivex today I ran coverity on it. It spotted one problem but missed a similar one nearby. The following are from Hivex.xs: (generated by generator.ml) void node_set_values (h, node, values) hive_h *h; int node; pl_set_values values = unpack_pl_set_values (ST(2)); PREINIT: int r; PPCODE: r = hivex_node_set_values (h, node, values.nr_values, values.values, 0); free (values.values); if (r == -1) croak ("%s: %s", "node_set_values", strerror (errno)); void node_set_value (h, node, val) hive_h *h; int node...
2009 Sep 09
10
dtrace overhead and proper measuring technique
I''m trying to time a function within Firefoxwith a pid$target probe [2]. e.g dtrace -Zqw -x dynvarsize=64m -x evaltime=preinit -p 13954 -s menu- construct.d -s sigcont.d elapsed: 12.7942481ms cpu : 7.7911194ms count : 40 times I''m also measuring Firefox startup time by running it arguments like this: ... file:///Users/joelr/work/mozilla/startup/startup.html#`python -c ''import time; print int(t...
2014 Aug 04
6
[hivex] Segfault for an integer value to node_set_value
Hi, When an integer argument is passed as value, node_set_value segfaults. Reproducer is at the end of this message The backtrace points at hivex-py.c, function get_value. While obj is non-NULL, `bytes = PyUnicode_AsUTF8String (obj);` returns NULL. Kind regards, Peter https://lekensteyn.nl #!/usr/bin/env python3 import hivex, sys h = hivex.Hivex(sys.argv[1]) print(h) val = {
2014 Aug 16
7
[hivex] [PATCH 0/6] Python fixes for node_set_value
Hi, This patch series is based on a prior patch[1], splitting off changes as requested and incorporating feedback from Richard Jones. It introduces type validation to avoid segmentation faults (instead, it reports an exception) and fixes handling of the bytes type in Python 3. Major changes since that series: - Drop newly introduced support for integer types for DWORD/QWORDS - Reject Unicode
2015 Apr 01
2
[LLVMdev] Missing libclang_rt.san-x86_64.a file for Compiler-rt
.../home/hongxu/RESEARCH/llvm-git/obj/bin/../lib/clang/3.7.0/lib/linux/* there are other libraries: > pwd /home/hongxu/RESEARCH/llvm-git/obj/lib/clang/3.7.0/lib/linux/ > ll *.a |grep x86 | awk '{print $9}' libclang_rt.asan_cxx-x86_64.a libclang_rt.asan-preinit-x86_64.a libclang_rt.asan-x86_64.a libclang_rt.builtins-x86_64.a libclang_rt.dd-x86_64.a libclang_rt.dfsan-libc-x86_64.a libclang_rt.dfsan-x86_64.a libclang_rt.lsan-x86_64.a libclang_rt.msan-x86_64.a libclang_rt.profile-x86_64.a libclan...
2019 Apr 23
0
[PATCH 7/7] perl: show warnings for deprecated functions
...d, so users have a way to know that they are using one. --- generator/perl.ml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/generator/perl.ml b/generator/perl.ml index efb31077c..af19650a8 100644 --- a/generator/perl.ml +++ b/generator/perl.ml @@ -335,7 +335,7 @@ PREINIT: List.iter ( fun { name; style = (ret, args, optargs as style); - c_function; c_optarg_prefix } -> + c_function; c_optarg_prefix; deprecated_by } -> (match ret with | RErr -> pr "void\n" | RInt _ -> pr "SV *\n" @@ -4...
2016 Apr 01
0
[PATCH] devinit/gf100: make devinit on resume safer
...vinit_mmio(struct nvkm_devinit *, u32 addr); diff --git a/drm/nouveau/nvkm/subdev/devinit/base.c b/drm/nouveau/nvkm/subdev/devinit/base.c index 5f25402f6b09..9edd53773a19 100644 --- a/drm/nouveau/nvkm/subdev/devinit/base.c +++ b/drm/nouveau/nvkm/subdev/devinit/base.c @@ -83,6 +83,12 @@ nvkm_devinit_preinit(struct nvkm_subdev *subdev) if (init->func->preinit) init->func->preinit(init); + /* Override the post flag during the first call if NvForcePost is set */ + if (init->force_post) { + init->post = init->force_post; + init->force_post = false; + } + /* unlock the ex...
2017 Apr 24
2
kickstart: dracut-initqueue fails due to unresolvable hostname even though network config looks perfectly ok
...localhost kernel: tg3 0000:0b:00.0 eno1: Flow control is off for TX and off for RX [ 19.978880] localhost kernel: tg3 0000:0b:00.0 eno1: EEE is disabled [ 19.980693] localhost kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eno1: link becomes ready [ 19.829468] localhost dracut-initqueue[992]: dhcp: PREINIT eno1 up [ 19.853734] localhost dhclient[1393]: DHCPDISCOVER on eno1 to 255.255.255.255 port 67 interval 6 (xid=0x4df19201) [ 26.030151] localhost dhclient[1393]: DHCPDISCOVER on eno1 to 255.255.255.255 port 67 interval 13 (xid=0x4df19201) [ 26.033472] localhost dhclient[1393]: DHCPREQUEST o...
2012 Mar 12
1
Xen and ATI Radeon 4200
...der root=/dev/sda1 ro --- If I boot without the hypervisor I can run X without any problem, booting up with the hypervisor xdm halts with the following (EE) fglrx(0): V_BIOS address 0x0 out of range (EE) fglrx(0): Invalid video BIOS signature! (EE) fglrx(0): GetBIOSParameter failed (EE) fglrx(0): PreInitAdapter failed (EE) fglrx(0): PreInit failed (EE) Screen(s) found, but none have a usable configuration. Fatal server error: no screens found ---- Now I found this thread: http://forums.opensuse.org/english/get-technical-help-here/applications/398600-get-nvidia-work-xen-kernel.html So, based on...
2011 Oct 19
1
[hivex][PATCH 2/8] generator: Add new return type to ABI: RLenValue
...id\n" | RInt32 -> pr "SV *\n" | RInt64 -> pr "SV *\n" @@ -2639,6 +2672,22 @@ DESTROY (h) pr " PUSHs (sv_2mortal (newSViv (type)));\n"; pr " PUSHs (sv_2mortal (newSViv (len)));\n"; + | RLenValue -> + pr "PREINIT:\n"; + pr " hive_value_h r;\n"; + pr " size_t len;\n"; + pr " PPCODE:\n"; + pr " errno = 0;\n"; + pr " r = hivex_%s (%s, &len);\n" + name (String.concat ", " c_para...
2016 Sep 30
1
[ANNOUNCE] xf86-input-libinput 0.20.0
...ons >= 256 Add tablet pad support Fix proximity events Change some fixed floats to decimal notation Init touch x/y axis labels as MT axis labels Fix button offset for tablet pad buttons Block input events while creating the virtual subdevices Bail out of PreInit if the parent driver data is NULL Ensure parent devices are actual parent devices Expose tablet pad modes as properties Comment two read-only properties as such Whitespace fix conf: drop libinput to below the other drivers Add support for the rotation configurati...
2007 Mar 27
0
[ANNOUNCE] xf86-video-ati-6.6.191
...icially require libdrm 2.2.0 [mach64] Use asynchronous DMA mode by default. [mach64] Prefer double-buffered visuals for GLX. Use portable XORG_RELEASE_VERSION macro. Drop AVOID_NON_PCI. Drop probing for VGA, VGAWonder, 8514, Mach32. Keep PCI mach64 only (atipreinit.c, atimode.c), drop: Keep PCI mach64 only, drop: Clean pATI->Adapter and pATI->VGAAdapter. We always use the accelerator CRTC within the xserver. Always use the linear aperture. Banked memory is no longer needed. Drop support for non-programmable cloc...
2017 May 15
0
kickstart: dracut-initqueue fails due to unresolvable hostname even though network config looks perfectly ok
...000:0b:00.0 eno1: Flow control is > off for TX and off for RX > [ 19.978880] localhost kernel: tg3 0000:0b:00.0 eno1: EEE is disabled > [ 19.980693] localhost kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eno1: > link becomes ready > [ 19.829468] localhost dracut-initqueue[992]: dhcp: PREINIT eno1 up > [ 19.853734] localhost dhclient[1393]: DHCPDISCOVER on eno1 to > 255.255.255.255 port 67 interval 6 (xid=0x4df19201) > [ 26.030151] localhost dhclient[1393]: DHCPDISCOVER on eno1 to > 255.255.255.255 port 67 interval 13 (xid=0x4df19201) > [ 26.033472] localhost dhclie...
2011 Dec 08
0
[hivex] [PATCH 2/8] generator: Add new return type to ABI: RLenValue
...id\n" | RInt32 -> pr "SV *\n" | RInt64 -> pr "SV *\n" @@ -2639,6 +2672,22 @@ DESTROY (h) pr " PUSHs (sv_2mortal (newSViv (type)));\n"; pr " PUSHs (sv_2mortal (newSViv (len)));\n"; + | RLenValue -> + pr "PREINIT:\n"; + pr " hive_value_h r;\n"; + pr " size_t len;\n"; + pr " PPCODE:\n"; + pr " errno = 0;\n"; + pr " r = hivex_%s (%s, &len);\n" + name (String.concat ", " c_para...
2006 Jun 03
8
dtrace causing sigtrap?
Just to let people know what my big picture is, I''m trying to write a script that will let me run a program, and name a progeny of that program that I want to debug. My script should find the first occurrence of that progeny, and run it until it finishes initializing the runtime linker, but stop it before it runs any shared library startup routines. (Failing that, I''d be okay
2013 Oct 22
4
baby blue screen of permanent death
I clicked on a window to try to raise it and get a good look. Instead, my screen turned the baby blue mentioned in the subject and I could do nothing else. The mouse cursor was not even visible. It's possible an alternate terminal was available, but I didn't think of it at the time. Eventually I hit the reset button. My Daktech machine has a reset button separate from the power button. The
2011 Aug 31
1
[PATCH] hivex: Add byte runs for nodes and values
...RLenValue | RLenTypeVal -> pr "void\n" | RInt32 -> pr "SV *\n" | RInt64 -> pr "SV *\n" @@ -2500,6 +2594,7 @@ DESTROY (h) | RErrDispose -> assert false | RHive -> assert false + | RSize | RNode | RValue -> pr "PREINIT:\n"; @@ -2603,6 +2698,34 @@ DESTROY (h) pr " PUSHs (sv_2mortal (newSViv (type)));\n"; pr " PUSHs (sv_2mortal (newSViv (len)));\n"; + | RLenNode -> + pr "PREINIT:\n"; + pr " int r;\n"; + pr " siz...