01:44 Hydr0p0nX: I'm running RHEL 7 (Dev subscription) with an AMD and NVidia graphics card (both physical), I want to use my AMD as passthrough to Win7 VM hosted in KVM. When I blacklist the radeon driver and add it to pci-stub.ids, I get an X crash; with the radeon driver enabled, I get an X display on both the nvidia and radeon displays with no problem, xorg log is at http://paste.ubuntu.com/23047954/ ... i've remved the nomodeset settings and a
02:55 Tom^: Hydr0p0nX: for some reason its still trying to load up on the radeon card.
02:57 Tom^: so i would assume the kernel still thinks it exists and you havent isolated / blacklisted it properly yet
03:15 Hydr0p0nX: this is after uninstalling the xorg ati driver and blacklisting in grub and /etc/modprobe.d - http://paste.ubuntu.com/23048055/
03:44 Tom^: Hydr0p0nX: what nvidia gpu is this?
11:09 RSpliet: Hydr0p0nX: might sound silly, but file your bug with Red Hat in this case. It just so happens to be that the person responsible for the kernel side of nouveau is a Red Hat employee ;-)
11:10 RSpliet: also, he lives in Australia, so bug tracker is the best means of getting his attention
11:12 RSpliet: having said that, in this case your graphics stack might simply be too much out of date to properly support your particular NVIDIA GPU
11:16 RSpliet: in particular, your kernel might not properly recognise your GPU, check your dmesg logs
12:05 karolherbst_work: RSpliet: odd, his gpu should be a gk107 according to the pci id, but we can't really rely on that 100%
12:31 RSpliet: karolherbst_work: I know, GTX650 popped up when I googled it
12:32 karolherbst_work: ohhh
12:32 karolherbst_work: 3.10 kernel :O
12:33 karolherbst_work: how did I miss that
12:34 karolherbst_work: mhh, 3.10 has support for nvf0
12:34 RSpliet: yeah, but nobody truly knows what that really means. Red Hat stable kernels tended to be patched up so strongly it might even be FreeBSD at this point ;-)
12:34 karolherbst_work: :D
12:35 karolherbst_work: well I checked the kernel longterm branch
12:35 RSpliet: Ben probably knows
12:35 karolherbst_work: I guess they don't remove such features?
12:35 RSpliet: I don't know what nouveau bits have been backported
12:35 karolherbst_work: right, then I check plain 3.10
12:37 karolherbst_work: yep, gk107 should be supported
12:37 karolherbst_work: but maybe the ddx is too ol
12:37 karolherbst_work: d
12:37 RSpliet: ddx is 1.0.11, should be new enough
12:38 RSpliet: but better to wait for feedback and let Ben handle this one
12:38 karolherbst_work: right
17:41 NanoSector: hey, it's the guy with reclocking issues from yesterday... anyone in for some sleep issues? :D
17:43 NanoSector: I know it's related because I can sleep with nvidia just fine but nouveau just gets stuck on resume
17:48 Calinou: O_o
17:48 Calinou: usually it's the other way around
17:48 Calinou: ie. sleep works fine with open source drivers, almost never with proprietary drivers
17:57 imirkin: sounds like sleep works just fine...
17:57 imirkin: waking up is the issue
17:57 imirkin: i get that a lot myself
17:57 imirkin: stupid alarms
18:02 NanoSector: imirkin: yeah sorry
18:07 imirkin: NanoSector: i forget, are you on a laptop? if so, does this happen with runpm=0?
18:07 NanoSector: i'm on a laptop yeah, i'll try with runpm=0
18:10 NanoSector: imirkin: no, still freezes on resume
18:11 imirkin: NanoSector: any chance you can get logs? also, iirc, there's a way to to a suspend/resume without *actually* doing it
18:11 NanoSector: i can journalctl previous boots
18:11 imirkin: alllso, is this s2ram or s2disk?
18:11 NanoSector: ram
18:11 imirkin: well, can you e.g. ssh into it?
18:12 NanoSector: note to self: .149
18:12 NanoSector: i'll try
18:12 imirkin: hope dhcp is stable :)
18:13 NanoSector: oh, enabling sshd helps
18:13 imirkin: just stick a /bin/sh -i into inetd.conf :)
18:19 NanoSector: euhh
18:19 imirkin: [that was a joke, btw]
18:19 imirkin: [before you go and do that]
18:19 NanoSector: lol
18:20 NanoSector: yeah it's dead on resume, no sshing into it
18:20 imirkin: ok =/
18:21 imirkin: one thing you could do to get logs is set up netconsole
18:21 imirkin: hopefully it resumes enough to send logs over network
18:21 imirkin: definitely wired would be preferable in that case ;)
18:25 NanoSector: could be TLP maybe screwing things up, I'll disable that
18:25 NanoSector: i'll also give reclocking another shot with it disabled
18:26 NanoSector: nope not tlp
18:26 NanoSector: i'll set up netconsole
18:27 NanoSector: the kernel does come up because sometimes i get a picture of just my cursor on the screen
18:31 imirkin: i wonder if it's an intel issue, since the main screen is intel..
18:32 imirkin: [classy move #1: blame the other guy]
18:34 NanoSector: hehe
18:34 NanoSector: sorry, got distracted, i'll set up netconsole now
18:34 NanoSector: youtube's such a wonderful palce
18:34 NanoSector: *place, even
18:38 NanoSector: note to self again: enp5s0f1
18:38 NanoSector: who invented these device names :|
18:38 imirkin: annoying people
18:38 imirkin: you can fix it
18:38 NanoSector: very
18:38 imirkin: add empty files in /etc/udev/rules.d/ called 80-net-name-slot.rules and 80-net-setup-link.rules
18:38 imirkin: and everything will be fixed
18:39 karolherbst: NanoSector: I do hope I didn't mess up suspending again, but it should work actually... or maybe if you use my branch, it is outdated?
18:40 NanoSector: i'm using your reclocking branch, yes
18:40 NanoSector: also sorry if you find me annoying for throwing all these things at you; I'm just hoping to help you fix some issues for other people :)
18:41 karolherbst: nah, people writing stuff can't annoy me, usually. Because you have always the choice to not read something on the internet :p
18:42 NanoSector: haha true
18:42 imirkin: sounds like a challenge...
18:42 NanoSector: so I booted with netconsole=6665@,6666@
18:43 NanoSector: where .149 is my laptop, and .221 is my desktop
18:43 NanoSector: and I ran 'nc -u -l -p 6666' on my desktop
18:43 NanoSector: but nothing happens?
18:43 imirkin: i usually do netconsole=@/enp5s0f1@ or something along those lines
18:43 imirkin: i wonder if it doesn't work coz it wants eth0 or something
18:43 NanoSector: oh my link is down
18:43 NanoSector: :x
18:44 karolherbst: oh my
18:44 NanoSector:enables NetworkManager
18:45 NanoSector: work dammit :S
18:45 karolherbst: it only gets new stuff though
18:45 karolherbst: push stuff through /dev/kmsg
18:45 NanoSector: just 'echo hello world > /dev/kmsg?
18:45 karolherbst: anything should do
18:45 karolherbst: it should at least appear in dmesgt
18:45 karolherbst: *dmesg
18:46 NanoSector: it did
18:46 NanoSector: not on my desktop tho
18:46 NanoSector: i'll try with the more minimal command from imirkin
18:47 imirkin: i don't remember the exact thing unfortunately
18:47 imirkin: but basically the majority of those parameters are optional
18:47 imirkin: but the separators are required
18:47 karolherbst: NanoSector: you can reconfigure netconsole at runtiome though
18:48 karolherbst: NanoSector: do you have netconsole loaded at least?
18:48 NanoSector: netconsole=[src-port]@[src-ip]/[<dev>],[tgt-port]@<tgt-ip>/[tgt-macaddr]
18:48 NanoSector: that's the structure according to arch wiki
18:48 imirkin: right, so you do...
18:48 imirkin: netconsole=@/,@
18:48 imirkin: and that will send udp to port 6666
18:49 NanoSector: nothing on desktop, will check if netconsole is loaded
18:49 NanoSector: i usually make those rookie mistakes :x
18:49 NanoSector: no not loaded
18:49 NanoSector: heh
18:49 imirkin: ah, oops
18:49 imirkin: also do like 'dmesg -n 8'
18:51 karolherbst: just found the best message in dmesg: "[311102.829462] done." ...
18:51 NanoSector: haha
18:54 NanoSector: huh, systemd-boot might be cutting off my command line
18:54 NanoSector: bad D:
18:55 karolherbst: it shouldn't
18:55 karolherbst: you just need to load netconsole
18:55 NanoSector: yeah but if i include a trailing slash in the parameter
18:55 NanoSector: and check via dmesg
18:55 Tom^: lol just found a cute systemd bug
18:55 NanoSector: it's not there
18:55 Tom^: Startup finished in 3min 29.679s (firmware) + 3.104s (loader) + 3.732s (kernel) + 642ms (userspace) = 3min 37.158s
18:55 Tom^: maths? plz.
18:55 NanoSector: yeah that's the same here
18:55 karolherbst: :O
18:56 NanoSector: well, it behaves now
18:56 NanoSector: Startup finished in 10.420s (firmware) + 3.598s (loader) + 4.453s (kernel) + 4.233s (userspace) = 22.706s
18:56 karolherbst: Tom^: are you serious? :D
18:56 Tom^: it takes about 30 seconds but yea it seem to think it takes 3 mins
18:56 Tom^: xD
18:57 karolherbst: guess what the first number means
18:57 NanoSector: i think the uefi firmware reports the amount it took to the bootloader tho, so it's not really systemd's fault
18:57 karolherbst: right
18:57 karolherbst: as if systemd could messure time before even the firmware was started
18:57 karolherbst: if that would be true, I would have bigger worries
18:57 NanoSector: haha
18:58 NanoSector: by the time we get apps in UEFI firmware i start to get worried
18:58 karolherbst: Tom^: uefi firmwares are one of the worst pieces of code... ever
18:58 karolherbst: NanoSector: we already have like forever?
18:58 NanoSector: like installable apps
18:58 karolherbst: NanoSector: like grub? or the kernel?
18:58 karolherbst: grub is installable
18:58 Tom^: karolherbst: well yea, everytime i reboot a new entry is added for my bootloader
18:59 NanoSector: no i don't mean bootloader :P something which nests itself inside uefi
18:59 Tom^: so i sort of have to clean it out a bit with efibootmgr from time to time, because im worried its gonna buffer overflow my uefi
18:59 NanoSector: or whatever
18:59 Tom^: xD
18:59 karolherbst: NanoSector: linux kernel?
18:59 NanoSector: Tom^: systemd-boot does that on my board too, grub does not
18:59 Tom^: NanoSector: im not alone then it seems
18:59 NanoSector: karolherbst: i guess
18:59 NanoSector: Tom^: no
19:00 NanoSector: Tom^: Gigabyte board, I assume?
19:00 Tom^: uhm, i think so yea
19:00 NanoSector: https://sourceforge.net/p/cloverefiboot/tickets/226/
19:00 karolherbst: "/boot/EFI/LINUX/LINUX.efi: Linux kernel x86 boot executable bzImage, version 4.7.0-gentoo (root@) #1 SMP PREEMPT Sun Jul 31 11:22:09 CEST 20, RO-rootFS, swap_dev 0x7, Normal VGA" :p
19:00 NanoSector: karolherbst: efistub?
19:01 karolherbst: yeah
19:01 NanoSector: nice
19:01 NanoSector: always was too lazy to set that up
19:01 NanoSector: do i also set loglevel 8 or soemthing?
19:01 karolherbst: modules signed with one time keys :3
19:01 NanoSector: because no matter what i try, nothing happens on desktop pc
19:02 karolherbst: does netconsole show in lsmod?
19:02 NanoSector: it even shows up in dmesg
19:02 karolherbst: ahh
19:03 karolherbst: well there is always wireshark or so
19:06 NanoSector: it doesn't even work if i use localhost
19:06 karolherbst: how could it
19:07 NanoSector: and netconsole shows up in lsmod
19:07 NanoSector: I mean on my laptop
19:07 karolherbst: yeah
19:07 karolherbst: how could it
19:07 karolherbst: the packages are sent to
19:07 karolherbst: not :p
19:08 NanoSector: no i set localhost/ in the kernel parameters as target ip
19:08 karolherbst: mhh k
19:08 karolherbst: no idea if netconsole sends to loopback though
19:10 NanoSector: oh setting it up manually works
19:10 NanoSector: so there's that
19:11 NanoSector: nothing on resume
19:11 NanoSector: like, no output to desktop
19:11 karolherbst: does that hapen with nouveau not loaded?
19:12 karolherbst: wait, we could do something else
19:12 NanoSector: *reboot, take 50 :D*
19:12 karolherbst: NanoSector: do you have pstore mounted?
19:12 NanoSector: doubti t
19:12 NanoSector: *doubt it
19:12 karolherbst: systemd will mount it automatically
19:12 karolherbst: usually
19:12 NanoSector: where should it be mounted?
19:13 karolherbst: /sys/fs/pstore
19:13 NanoSector: yes, it's empty
19:13 karolherbst: is it mounted?
19:13 NanoSector: 'df' shows nothing mounted to that directory
19:13 NanoSector: it exists though
19:13 karolherbst: df won't show it
19:14 karolherbst: check mount
19:14 NanoSector: lessee
19:14 NanoSector: yes, it's mounted
19:14 karolherbst: ...
19:15 NanoSector: pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
19:15 karolherbst: what does this show:
19:15 karolherbst: cat /proc/config.gz | gzip --decompress | grep PSTORE
19:16 NanoSector: http://hastebin.com/epovaxexup.vbs
19:18 Tom^: hm just realized that my rpi would be a quite neat little netconsole device and have it hookedup on the second monitor input
19:20 NanoSector: wb karolherbst
19:20 karolherbst: seriously, how hard can it be to provide stable internet...
19:20 karolherbst: I get like every day a disconnect of a few minutes
19:20 karolherbst: from the ISP
19:21 karolherbst: NanoSector: .... those guys
19:21 karolherbst: why is there no CONFIG_EFI_VARS_PSTORE=y ...
19:21 Tom^: it isnt your router then?
19:21 karolherbst: Tom^: nope
19:21 Tom^: :(
19:21 karolherbst: Tom^: From icmp_seq=163 Destination Net Unreachable
19:22 NanoSector: karolherbst: dunno, this is the stock Arch kernel
19:22 karolherbst: it is stupid
19:23 karolherbst: NanoSector: mind recompiling the kernel with that option set?
19:24 NanoSector: karolherbst: I would if I understood the process and had time :P
19:24 karolherbst: ...
19:24 karolherbst: those arch guys, but I think it is wrongly configured like everywhere
19:24 NanoSector: compiling a kernel will probably take years on this thing
19:25 karolherbst: nope
19:25 karolherbst: it shouldn't
19:25 karolherbst: 1 hour is a long time
19:25 NanoSector: although might be a good time to finally get a kernel based on modprobed-db
19:28 NanoSector: ...if i had that installed
19:28 NanoSector: sigh
19:28 NanoSector: well i'll grab linux-mainline from the aur and follow the wiki then I guess
19:28 NanoSector: oh that's 4.8 now
19:29 NanoSector: karolherbst: don't suppose your kepler reclocking branch works on 4.8 or is it obsolete by then?
19:30 karolherbst: 4.8 isn't even released yezt
19:30 karolherbst: *yet
19:30 NanoSector: rc1 that is
19:31 NanoSector: ok it's building with that option
19:31 NanoSector: i'll also rebuild regular linux with it
19:31 NanoSector: with abs
19:32 Tom^: modprobed-db is quite neat actually
19:32 NanoSector: it is
19:32 Tom^: have had it running for a while and got most if not all my modules in it by now
19:33 NanoSector: ran it on my homeserver, reduced module directory size from 180 MB to just 17MB
19:33 NanoSector: i don't plug in devices to it except a usb keyboard at times
19:33 karolherbst: yeah, and then you don't get netconsole, cause you never used it before :p
19:33 Tom^: =D
19:33 karolherbst: 17MB, how much
19:33 Tom^: then you add it to modprobe-db and recompile. ;)
19:34 karolherbst: I have 19MB, and nvidia is 17MB of that :p
19:34 Tom^: it takes like 5 minutes when you have things set up
19:34 karolherbst: without nvidia I have 7.8MB kernel + 2MB modules
19:34 NanoSector: oh the actual modules are 3.6 MB
19:34 NanoSector: 12.4mb kernel
19:35 karolherbst: mine isn't even optimized for size and uses the crappiest of all compression algos
19:35 karolherbst: :D
19:36 NanoSector: so laptop is now compiling 2 kernels at once
19:36 NanoSector: yay
19:38 NanoSector: heh biggest driver on server is i915
20:17 urmet: size optimization sounds kind of good on paper. smaller code fits in cpu cache = fast.
20:17 urmet: and compression is all about decompression speed
20:37 karolherbst: urmet: well optimized for size usually creates rather bad code
20:38 urmet: it was a bigger benefit before. when memory was slower
20:39 urmet: and caches were smaller
20:39 karolherbst: memory is slow today
20:39 NanoSector: it's still compiling >.>
20:39 NanoSector: told you it'll take a year if not mroe
20:39 NanoSector: *more
20:39 urmet: slow but faster than before
20:39 karolherbst: urmet: well, flash drives are also faster than before
20:40 karolherbst: but compared to CPUs, memory speed increased slower
20:40 urmet: most of kernel text is not pageable?
20:40 urmet: so disk speed doesn't matter
20:40 karolherbst: that wasn't the point
20:41 urmet: benchmarking real-world situations is the only true guide
20:44 urmet: i like going all out gentoo on my kernels - -march=native supposedly it should result in faster and/or smaller code :)
20:45 karolherbst: smaller code isn't always better, especially if that leads to more branching
20:46 karolherbst: loop unrolling is an optimization which usually leads to faster code, but bigger code size
20:48 urmet: and on desktop use you won't notice either way :P
20:51 urmet: or just ignore me
20:51 urmet:has mush for brains - 5 hours drive from vacation to help with office moving for 12 hours
20:52 imirkin: you sure know how to vacation
20:52 urmet: yeeeaaa
20:52 urmet: i know more about networking than any other guy here. so i'm kind of needed
20:53 urmet: today was hardware, tomorrow - probably 12 hours of network configuration
20:54 Tom^: NanoSector: did you forget to change makeflags?
20:55 Tom^: NanoSector: MAKEFLAGS in /etc/makepkg.conf
20:55 NanoSector: makeflags
20:55 NanoSector: jf
20:55 NanoSector: wtf
20:55 NanoSector: MAKEFLAGS="-j5"
20:55 Tom^: ok good, :p
20:55 Tom^: NanoSector: get modprobed-db =D
20:56 NanoSector: still running
20:56 NanoSector: and yes
20:56 NanoSector: i just did that
20:56 NanoSector: fuck this
20:56 NanoSector: :P
20:56 urmet: modprobed-db ?
20:56 NanoSector: https://wiki.archlinux.org/index.php/Modprobed-db
20:56 Tom^: urmet: keeps a database of modules you have loaded, so localmodconfig can then use those
20:56 urmet: ooh, shiny
20:56 Tom^: or rather it modprobes it all before localmodconfig :p
20:56 urmet: too bad I don't use arch
20:57 Tom^: it wouldnt be to hard to code something like this yourself tho
20:57 NanoSector: really thinking of building myself a mainline kernel with modprobed-db on my desktop
20:57 NanoSector: iirc 4.8 rc1 has experimental amdgpu for gcn 1.0
20:58 urmet: Tom^: seems like effort. I like the ease of use that gentoo provides me
20:58 urmet:should go to sleep
21:08 NanoSector: WOOW
21:08 NanoSector: it's done in less than an eternity
21:12 NanoSector: karolherbst: enabled that kernel option and there's still nothing in /sys/fs/pstore
21:12 NanoSector: and it's still mounted
21:12 NanoSector: and yes i have rebooted
21:18 imirkin: urmet: ask for a raise :)
21:20 urmet: 1) configure new network amazingly
21:20 urmet: 2) ...
21:20 urmet: 3) profit
21:55 karolherbst: NanoSector: well, you have to crash the kernel
21:55 karolherbst: it won't magically create entries
22:21 NanoSector: karolherbst: still empty after hanging on resume and rebooting
22:25 NanoSector: thinking i might just give up on that... lol