You are not logged in.

#601 2012-09-07 11:55:52

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 419

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

martadinata wrote:

kernel panic on hibernate? or just me?

Not here on 3.5.3-5 (core2)… hibernating & resuming works just fine…

Offline

#602 2012-09-09 00:34:20

leodag
Member
Registered: 2012-05-21
Posts: 9

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

I build my own kernel with a PKGBUILD based on yours, and that's why I was pointing some things in it... Here, I don't have any missing headers, and I use basically your version with my patch (I had also built your kernel with it, and it had everything needed)

Anyway, it seems that nobody's interested in aufs, so I suggest you drop it as it's also availiable as a separate package in the AUR. As it is, it's not possible to build aufs-util (at least not here...)

nous: Did you do anything else than apply my patch?

Last edited by leodag (2012-09-09 00:35:18)

Offline

#603 2012-09-10 18:26:45

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 320

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

leodag wrote:

I build my own kernel with a PKGBUILD based on yours, and that's why I was pointing some things in it... Here, I don't have any missing headers, and I use basically your version with my patch (I had also built your kernel with it, and it had everything needed)

Anyway, it seems that nobody's interested in aufs, so I suggest you drop it as it's also availiable as a separate package in the AUR. As it is, it's not possible to build aufs-util (at least not here...)

nous: Did you do anything else than apply my patch?

No, just that. That "make [...] headers_install" command installed and then deleted most of the includes. I don't know why and I don't have the time to investigate. In the latest linux-pf I completely removed it though, until I find the time to figure out the right way to inject aufs_type.h.

Offline

#604 2012-10-10 12:07:45

graysky
Member
From: /run/user/1000
Registered: 2008-12-01
Posts: 8,517
Website

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

I see that pf merged the unofficial bfs into the latest patchset.  I am toying with the idea of doing the same for linux-ck.  Anyone have some experiences to share about it?

EDIT: also, is it clear to anyone from where the unofficial patchset originated???  Is it:

http://ck-hack.blogspot.com/2012/08/35- … 3526302916

Last edited by graysky (2012-10-10 12:11:54)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#605 2012-10-13 20:01:20

neo007
Member
Registered: 2012-09-10
Posts: 10

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Installing linux-pf 3.6.2-1 with nvidia-pf-304.51 I have problems running X. It started with:

gdm-binary[1841]: WARNING: GdmDisplay: display lasted 2.787705 seconds
gdm-binary[1841]: WARNING: GdmDisplay: display lasted 2.787705 seconds
gdm-binary[1841]: WARNING: GdmDisplay: display lasted 2.787705 seconds
gdm-binary[1841]: WARNING: GdmDisplay: display lasted 2.787705 seconds
gdm-binary[1841]: WARNING: GdmDisplay: display lasted 2.787705 seconds
gdm-binary[1841]: WARNING: GdmDisplay: display lasted 2.787705 seconds
gdm-binary[1841]: WARNING: GdmLocalDisplayFactory: maximum number of X display failures reached: check X server log for errors 

Trying

modprobe nvidia

gives me:

nvidia: disagrees about version of symbol module_layout

Some logs:

[    17.375] (II) LoadModule: "glx"
[    17.375] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    17.389] (II) Module glx: vendor="NVIDIA Corporation"
[    17.389]    compiled for 4.0.2, module version = 1.0.0
[    17.389]    Module class: X.Org Server Extension
[    17.389] (II) NVIDIA GLX Module  304.51  Tue Sep 18 17:38:06 PDT 2012
[    17.389] Loading extension GLX
[    17.389] (II) LoadModule: "nouveau"
[    17.389] (WW) Warning, couldn't open module nouveau
[    17.389] (II) UnloadModule: "nouveau"
[    17.389] (II) Unloading nouveau
[    17.389] (EE) Failed to load module "nouveau" (module does not exist, 0)
[    17.389] (II) LoadModule: "nvidia"
[    17.389] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    17.390] (II) Module nvidia: vendor="NVIDIA Corporation"
[    17.390]    compiled for 4.0.2, module version = 1.0.0
[    17.390]    Module class: X.Org Video Driver
[    17.522] (EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
[    17.522] (EE) NVIDIA:     system's kernel log for additional error messages.
[    17.522] (II) UnloadModule: "nvidia"
[    17.522] (II) Unloading nvidia
[    17.523] (EE) Failed to load module "nvidia" (module-specific error, 0)
[    17.523] (II) LoadModule: "nv"
[    17.523] (WW) Warning, couldn't open module nv
[    17.523] (II) UnloadModule: "nv"
[    17.523] (II) Unloading nv
[    17.523] (EE) Failed to load module "nv" (module does not exist, 0)
[    17.523] (II) LoadModule: "vesa"
[    17.523] (WW) Warning, couldn't open module vesa
[    17.523] (II) UnloadModule: "vesa"
[    17.523] (II) Unloading vesa
[    17.523] (EE) Failed to load module "vesa" (module does not exist, 0)
[    17.523] (II) LoadModule: "modesetting"
[    17.523] (WW) Warning, couldn't open module modesetting
[    17.523] (II) UnloadModule: "modesetting"
[    17.523] (II) Unloading modesetting
[    17.523] (EE) Failed to load module "modesetting" (module does not exist, 0)
[    17.523] (II) LoadModule: "fbdev"
[    17.524] (WW) Warning, couldn't open module fbdev
[    17.524] (II) UnloadModule: "fbdev"
[    17.524] (II) Unloading fbdev
[    17.524] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    17.524] (EE) No drivers available.
[    17.524]
Fatal server error:
[    17.524] no screens found
[    17.524] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
for help.

Finally I installed nouveau and it works but with poor 3d performance.

Offline

#606 2012-10-20 07:19:31

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 320

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

neo007 wrote:

Installing linux-pf 3.6.2-1 with nvidia-pf-304.51 I have problems running X. It started with:

gdm-binary[1841]: WARNING: GdmDisplay: display lasted 2.787705 seconds
gdm-binary[1841]: WARNING: GdmLocalDisplayFactory: maximum number of X display failures reached: check X server log for errors 

Trying

modprobe nvidia

gives me:

nvidia: disagrees about version of symbol module_layout

Finally I installed nouveau and it works but with poor 3d performance.

I take it you're using the pfkernel repo. If that's the case,  then you must have caught it in between compiling and updating. You should try again and also make sure you use the corresponding optimization in both linux-pf and nvidia-pf, if any (e.g. linux-pf-k8 and nvidia-pf-k8).

Offline

#607 2012-10-21 12:35:12

neo007
Member
Registered: 2012-09-10
Posts: 10

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Unfortunately, trying to intall nvidia-pf once again did not help. What is more to install nvidia-pf I needed to downgrade nvidia-utils to version 304.51 (which is also the version of my currently installed nvidia-pf). I use linux-pf 3.6.3-1.

Offline

#608 2012-10-21 13:19:17

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 320

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

neo007 wrote:

Unfortunately, trying to intall nvidia-pf once again did not help. What is more to install nvidia-pf I needed to downgrade nvidia-utils to version 304.51 (which is also the version of my currently installed nvidia-pf). I use linux-pf 3.6.3-1.

I would investigate, but nvidia-pf got updated to 304.60, so I'm rebuilding the repo. Stay tuned.

Offline

#609 2012-10-27 23:03:02

Thaodan
Member
From: Dortmund, Nordrein-Westfalen
Registered: 2012-04-28
Posts: 438

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Can I use the nvidia-bumblebee package with it?


Linux odin 3.13.1-pf #1 SMP PREEMPT Wed Mar 5 21:47:28 CET 2014 x86_64 GNU/Linux

Offline

#610 2012-10-28 12:15:48

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 419

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Hey, just wanted to confirm dkasaks error reported on AUR: Trying to update to linux-pf-core2-3.6.5-2-x86_64 yields 404

Offline

#611 2012-10-28 12:31:29

Thaodan
Member
From: Dortmund, Nordrein-Westfalen
Registered: 2012-04-28
Posts: 438

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Added PKGBUILD to use nvidia with bumblebee: nvidia-pf-bumblebee


Linux odin 3.13.1-pf #1 SMP PREEMPT Wed Mar 5 21:47:28 CET 2014 x86_64 GNU/Linux

Offline

#612 2012-12-01 00:17:58

RussianKid
Member
Registered: 2012-05-29
Posts: 10

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

With hindsight, this thread would have been a much better place to post my problem: LVM no volumes found, lvmwait doesn't work (I think it's a noop now anyway).

https://bbs.archlinux.org/viewtopic.php?pid=1199834

What should I do?

Offline

#613 2012-12-02 21:18:27

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 320

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

RussianKid wrote:

With hindsight, this thread would have been a much better place to post my problem: LVM no volumes found, lvmwait doesn't work (I think it's a noop now anyway).

https://bbs.archlinux.org/viewtopic.php?pid=1199834

What should I do?

Is this your first attempt to boot encrypted LVM with linux-pf? If not, did it work with a previous version?

Have you updated the HOOKS (esp. block) in /etc/mkinitcpio.conf?

Boot with the default ARCH kernel and lsmod to show all related modules, then see if they actually exist in /usr/lib/modules/linux-3.6-pf; then add them into the MODULES array of /etc/mkinitcpio.conf. Re-run mkinitcpio -p linux-pf.

You shouldn't need different grub parameters, apart from the -pf part.

Offline

#614 2012-12-03 13:12:16

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 320

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

After updating to mkinitcpio-0.12.0-1 and replacing the pata, sata and scsi HOOKS with block, resuming from hibernation results to a black screen with a frozen underline cursor immediately after the resume hook is run. Obviously, no logs are recorded to help investigate. Any other victims out there? Any other ideas before I start boot debugging?

Offline

#615 2012-12-18 14:53:57

kemurphy
Member
Registered: 2012-12-18
Posts: 2

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

I'm getting kernel panics on hibernate with both hand-built kernels and the one from the pfkernel repo.  Any suggestions?

Offline

#616 2012-12-18 17:46:29

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 320

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

kemurphy wrote:

I'm getting kernel panics on hibernate with both hand-built kernels and the one from the pfkernel repo.  Any suggestions?

Run "echo 3 >| /proc/sys/vm/drop_caches" before hibernating, in case it panics because of excess data compared to swap[file].

Offline

#617 2012-12-20 15:40:02

kemurphy
Member
Registered: 2012-12-18
Posts: 2

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

That results in the same panic, strangely enough.  It's a null pointer dereference in drop_pagecache_sb; I probably should have mentioned that before.

Offline

#618 2012-12-20 16:21:56

graysky
Member
From: /run/user/1000
Registered: 2008-12-01
Posts: 8,517
Website

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Deleted.  Ignore smile

Last edited by graysky (2012-12-20 16:22:39)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#619 2012-12-21 17:48:08

jbernardo
Member
From: http://systemd-free.org/
Registered: 2012-07-03
Posts: 26

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Seems like pfkernel.db hasn't been updated in a couple of days, but the packages have. At least for x86_64 it is from the 20th (and the packages from the 21st) and for i686 it is from the 6th.

Offline

#620 2012-12-22 09:41:22

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 320

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

jbernardo wrote:

Seems like pfkernel.db hasn't been updated in a couple of days, but the packages have. At least for x86_64 it is from the 20th (and the packages from the 21st) and for i686 it is from the 6th.

There's always a delay in updates between the AUR and the repo, especially on minor kernel version bumps (3.6 to 3.7). Should be OK now.

Offline

#621 2012-12-25 18:47:45

gee
Member
Registered: 2006-11-29
Posts: 242

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Hi nous,

latest kernel does not include aufs (3.7.1).
The previous one I had 3.6.11 was fine.
Is there any reason?

Thanks!

Offline

#622 2012-12-25 19:25:28

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 320

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

gee wrote:

Hi nous,

latest kernel does not include aufs (3.7.1).
The previous one I had 3.6.11 was fine.
Is there any reason?

Thanks!

Aufs wasn't ported to 3.7 at the time the binaries were built. The check is automagic; you can try building linux-pf and see the relative message, just before the patches are applied.

Offline

#623 2012-12-26 00:56:38

RussianKid
Member
Registered: 2012-05-29
Posts: 10

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Is this your first attempt to boot encrypted LVM with linux-pf? If not, did it work with a previous version?

Have you updated the HOOKS (esp. block) in /etc/mkinitcpio.conf?

Boot with the default ARCH kernel and lsmod to show all related modules, then see if they actually exist in /usr/lib/modules/linux-3.6-pf; then add them into the MODULES array of /etc/mkinitcpio.conf. Re-run mkinitcpio -p linux-pf.

You shouldn't need different grub parameters, apart from the -pf part.

Apologies for the late reply, I must have somehow missed the notification. Although I can't remember what I did, I've been able to boot just fine, and have been using pf, however I have a different issue now: when I try to upgrade nvidia-pf, I get the 'Unable to determine target kernel version' error.

pacman -Q linux-pf linux-pf-headers; uname-r
linux-pf 3.7.1-2
linux-pf-headers 3.7.1-2
3.7-pf

When I asked in IRC, they told me there's a problem with the headers, but I wasn't able to resolve the issue in the end.

Offline

#624 2012-12-26 02:31:36

gee
Member
Registered: 2006-11-29
Posts: 242

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

nous wrote:
gee wrote:

Hi nous,

latest kernel does not include aufs (3.7.1).
The previous one I had 3.6.11 was fine.
Is there any reason?

Thanks!

Aufs wasn't ported to 3.7 at the time the binaries were built. The check is automagic; you can try building linux-pf and see the relative message, just before the patches are applied.

Oh I see that's cool but dangerous smile

Offline

#625 2012-12-26 09:44:45

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 320

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

RussianKid: 3.7 is missing /usr/src/linux-3.7-pf/include/linux/version.h, which the nvidia installer uses to determine the kernel version.

% cat /usr/lib/modules/3.6-pf/build/include/linux/version.h
 #define LINUX_VERSION_CODE 198144
 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
 % cat /usr/lib/modules/3.7-pf/build/include/linux/version.h
 cat: /usr/lib/modules/3.7-pf/build/include/linux/version.h: No such file or directory
 % cat /usr/lib/modules/3.7.0-1-ARCH/build/include/linux/version.h
 cat: /usr/lib/modules/3.7.0-1-ARCH/build/include/linux/version.h: No such file or directory

There are 3 ways to work around that, until NVidia fixes the installer:
  1. Copy version.h from linux-pf-headers-3.6 to /usr/src/linux-3.7-pf/include/linux/
  2. Compile linux-pf with a 3-digit version number, you are provided with that option during makepkg
  3. Use the precompiled nvidia module from my repo

gee: The kernel config provides the aufs options; if the patch exists it will compile it, otherwise will just skip it. Just cool smile

Offline

Board footer

Powered by FluxBB