| View previous topic :: View next topic |
| Author |
Message |
hirakendu Guru

Joined: 24 Jan 2007 Posts: 384 Location: san diego
|
Posted: Sat Dec 29, 2007 1:53 am Post subject: |
|
|
Hi. In the recently merged gspca branch, a couple of header files are missing (or I pulled from the repo too early ). (Just copied them from the gspcav1 source tar ball.) -
| Quote: | linux-2.6.24-rc6-zen0/drivers/media/video/gspca/Vimicro/ov7620.h
linux-2.6.24-rc6-zen0/drivers/media/video/gspca/Vimicro/mc501cb.h |
Meanwhile, less than half an hour from my first boot of a 2.6.24 kernel. Muhahaha ^ ^. (Also, as mentioned, madwifi-ng requires some fixing as yet.) _________________ Helium Sources || Gentoo Minimal Livecd |
|
| Back to top |
|
 |
ilikenwf Tux's lil' helper


Joined: 04 Oct 2007 Posts: 119
|
Posted: Sat Dec 29, 2007 2:03 am Post subject: |
|
|
Big Problem for Me:
| Code: | CC arch/x86/perfmon/perfmon_amd64.o
CC arch/x86/kernel/pci-nommu_64.o
arch/x86/perfmon/perfmon_amd64.c: In function ?pfm_amd64_acquire_nb?:
arch/x86/perfmon/perfmon_amd64.c:317: error: implicit declaration of function ?topology_physical_package_id?
make[2]: *** [arch/x86/perfmon/perfmon_amd64.o] Error 1
make[1]: *** [arch/x86/perfmon] Error 2
make[1]: *** Waiting for unfinished jobs....
CC arch/x86/kernel/alternative.o
CC arch/x86/kernel/hpet.o
CC arch/x86/kernel/tsc_64.o |
_________________ Make The Fonts Pretty In KDE
Archlinux User |
|
| Back to top |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5345 Location: Vienna, Austria; Germany; hello world :)
|
|
| Back to top |
|
 |
Gregoire Apprentice


Joined: 15 Apr 2006 Posts: 278
|
Posted: Sat Dec 29, 2007 10:37 am Post subject: |
|
|
| Same problem under core duo 2 and x86 apps. |
|
| Back to top |
|
 |
Waninkoko Guru


Joined: 13 May 2005 Posts: 549
|
Posted: Sat Dec 29, 2007 12:24 pm Post subject: |
|
|
Could you guys do a bisect to check in which commit this error appears?
PD: gpsca headers added. |
|
| Back to top |
|
 |
Gregoire Apprentice


Joined: 15 Apr 2006 Posts: 278
|
Posted: Sat Dec 29, 2007 12:49 pm Post subject: |
|
|
There is something strange :
| Code: |
git bisect start
git bisect bad
git bisect good v2.6.24-rc5-zen1
Bisecting: 564 revisions left to test after this
[f06281e45f37dfc3616a430760d823eb48cef2a8] compat_binfmt_elf
head -5 Makefile
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 24
EXTRAVERSION = -rc6
NAME = Arr Matey! A Hairy Bilge Rat!
|
This don't seems to be a zen-source anymore ? |
|
| Back to top |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5345 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Sat Dec 29, 2007 12:54 pm Post subject: |
|
|
the last working state with commit (?) for me is:
6ac44ddbc5eb4fd8d3251a8812bae6a76a5ac294
(last time I checked out & it worked)
| Quote: |
Merge branch 'aufs'
Author
Russell Harmon <eatnumber1@gmail.com>
Date
26.12.07 21:42
Parent
Merge branch 'tuxonice'
Parent
Add help message for AUFS_GET_DENTRY_PATCH.
Follows
v2.6.24-rc6-zen0 (Version bump.)
|
I will try to use bisect - but I have no experience with it and it will take some while (I'll be doing it along with work / parallel)
is the approach from http://michael-prokop.at/blog/2007/02/03/bisect-probleme-debuggen-mit-binarer-suche/
the right one ?
| Quote: | Source holen:
% git clone git://www2.kernel.org/pub/scm/linux/hotplug/udev.git
% cd udev
bisect initialisieren:
% git bisect start
% make clean ; make ; $TESTEN
Der aktuelle Source (master-Branch) macht den Stress? Dann als böse markieren:
% git bisect bad
Auf eine funktionierende Version stellen (siehe 'git log', $commit-id auswählen und als $branch_name markieren):
% git checkout -b $branch_name $commit-id
Klappt das mit $commit-id noch? Testen und als gut markieren:
% make clean ; make ; $TESTEN
% git bisect good |
_________________ Unofficial minimal livecd x86/amd64 w/reiser4+truecrypt (by Neo2)
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004  |
|
| Back to top |
|
 |
Waninkoko Guru


Joined: 13 May 2005 Posts: 549
|
Posted: Sat Dec 29, 2007 2:11 pm Post subject: |
|
|
Yep, that's correct  |
|
| Back to top |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5345 Location: Vienna, Austria; Germany; hello world :)
|
|
| Back to top |
|
 |
Waninkoko Guru


Joined: 13 May 2005 Posts: 549
|
Posted: Sat Dec 29, 2007 6:03 pm Post subject: |
|
|
| kernelOfTruth wrote: | already found the first culprit (before this step it hang) - continuing testing ... :
| Quote: | git bisect bad
Bisecting: 28 revisions left to test after this
[702e808d11a093fdeb226d567aff744ddfa5e09d] unify asm nops |
|
Nice... I'm going to check this commit. Thank you  |
|
| Back to top |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5345 Location: Vienna, Austria; Germany; hello world :)
|
|
| Back to top |
|
 |
kaosone Guru


Joined: 01 Feb 2004 Posts: 446
|
Posted: Sat Dec 29, 2007 6:46 pm Post subject: |
|
|
sorry for the noob question.. but..
i reverted the asm unified nop patch, using git revert, but the kernel won't compile anymore (maybe other patches relayed on this one)
now what i want to do is repull the patch that i reverted... how can i do that? i think a way it's just to do another git revert on my previous revert (lol) but i think there may be a cleaner way
i tried git reset and git checkout -f but it won't pull the patch :\ |
|
| Back to top |
|
 |
Waninkoko Guru


Joined: 13 May 2005 Posts: 549
|
Posted: Sat Dec 29, 2007 6:47 pm Post subject: |
|
|
| git reset HEAD^ && git checkout -f |
|
| Back to top |
|
 |
kaosone Guru


Joined: 01 Feb 2004 Posts: 446
|
Posted: Sat Dec 29, 2007 6:52 pm Post subject: |
|
|
thx. trying that now
btw with this last git (didn't update in a week) i can't get nvidia module to work
| Code: | $ lsmod | grep -i nvidia
nvidia 8897540 18
i2c_core 27672 2 nvidia,i2c_nforce2
..::[kaosone@ansia][Sat Dec 29][19:54:28][~]::..
$ glxinfo | grep -i direct
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
OpenGL renderer string: Mesa GLX Indirect
..::[kaosone@ansia][Sat Dec 29][19:54:35][~]::..
$ grep EE /var/log/Xorg.0.log
Current Operating System: Linux ansia 2.6.24-rc6-zen0ksn-g76f336c1-dirty #4 PREEMPT Sat Dec 29 18:46:13 CET 2007 x86_64
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
(EE) NVIDIA(0): log file that the GLX module has been loaded in your X
(EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If
(EE) NVIDIA(0): you continue to encounter problems, Please try
(EE) NVIDIA(0): reinstalling the NVIDIA driver.
(**) Mouse1-usb-0000:00:02.0-4/input0: WHEELRelativeAxisButtons: 4 5.
..::[kaosone@ansia][Sat Dec 29][19:54:37][~]::..
$ lsmod | grep -i nvidi
nvidia 8897540 18
i2c_core 27672 2 nvidia,i2c_nforce2
..::[kaosone@ansia][Sat Dec 29][19:54:40][~]::..
$ uname -a
Linux ansia 2.6.24-rc6-zen0ksn-g76f336c1-dirty #4 PREEMPT Sat Dec 29 18:46:13 CET 2007 x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux
..::[kaosone@ansia][Sat Dec 29][19:54:48][~]::..
$ emerge -pv nvidia-drivers
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] x11-drivers/nvidia-drivers-169.07 USE="gtk -acpi (-multilib)" 0 kB [1]
Total: 1 package (1 reinstall), Size of downloads: 0 kB
Portage tree and overlays:
[0] /usr/portage
[1] /usr/local/portage
..::[kaosone@ansia][Sat Dec 29][19:55:49][~]::..
$ |
Last edited by kaosone on Sat Dec 29, 2007 6:56 pm; edited 1 time in total |
|
| Back to top |
|
 |
Undetected n00b

Joined: 18 Jul 2003 Posts: 10 Location: KC
|
Posted: Sat Dec 29, 2007 6:53 pm Post subject: Realtime capabilities? |
|
|
Hey, just complied and installed, boot went fine on first try which is great. Everything seems to be working short of realtime. As I understand it, the Realtime Capabilities under security options is basically the same as the realtime-lsm module that can be emerged from portage. I was using this, in combination with Default Linux Capabilities security model to run the jack server in realtime under 2.6.23 Gentoo Sources. Now I'm running 2.6.24-rc6-Zen0 and have complied with Realtime Capabilities. I can see /sys/module/realtime/parameters/gid and echo 18 > /sys/module/realtime/parameters/gid, gid 18 being my audio group.
When I execute jack --realtime -d alsa though, I get...
| Quote: |
laika@laika ~ $ jackd --realtime -d alsa
jackd 0.103.0
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK compiled with System V SHM support.
cannot use real-time scheduling (FIFO at priority 10) [for thread -1210108224, from thread -1210108224] (1: Operation not permitted)
cannot create engine
|
Now I basically had the realtime-lsm module setup to do the same (modprobe realtime gid=18 ) and everything worked fine. I've double checked, my user is definitely still part of the audio group and GID for audio is 18. Is there a different procedure I need to follow for this setup or does anyone have any ideas what might be going wrong? Thanks. |
|
| Back to top |
|
 |
Waninkoko Guru


Joined: 13 May 2005 Posts: 549
|
Posted: Sat Dec 29, 2007 7:03 pm Post subject: |
|
|
| kaosone wrote: | thx. trying that now
btw with this last git (didn't update in a week) i can't get nvidia module to work
| Code: | $ lsmod | grep -i nvidia
nvidia 8897540 18
i2c_core 27672 2 nvidia,i2c_nforce2
..::[kaosone@ansia][Sat Dec 29][19:54:28][~]::..
$ glxinfo | grep -i direct
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
OpenGL renderer string: Mesa GLX Indirect
..::[kaosone@ansia][Sat Dec 29][19:54:35][~]::..
$ grep EE /var/log/Xorg.0.log
Current Operating System: Linux ansia 2.6.24-rc6-zen0ksn-g76f336c1-dirty #4 PREEMPT Sat Dec 29 18:46:13 CET 2007 x86_64
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
(EE) NVIDIA(0): log file that the GLX module has been loaded in your X
(EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If
(EE) NVIDIA(0): you continue to encounter problems, Please try
(EE) NVIDIA(0): reinstalling the NVIDIA driver.
(**) Mouse1-usb-0000:00:02.0-4/input0: WHEELRelativeAxisButtons: 4 5.
..::[kaosone@ansia][Sat Dec 29][19:54:37][~]::..
$ lsmod | grep -i nvidi
nvidia 8897540 18
i2c_core 27672 2 nvidia,i2c_nforce2
..::[kaosone@ansia][Sat Dec 29][19:54:40][~]::..
$ uname -a
Linux ansia 2.6.24-rc6-zen0ksn-g76f336c1-dirty #4 PREEMPT Sat Dec 29 18:46:13 CET 2007 x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux
..::[kaosone@ansia][Sat Dec 29][19:54:48][~]::..
$ emerge -pv nvidia-drivers
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] x11-drivers/nvidia-drivers-169.07 USE="gtk -acpi (-multilib)" 0 kB [1]
Total: 1 package (1 reinstall), Size of downloads: 0 kB
Portage tree and overlays:
[0] /usr/portage
[1] /usr/local/portage
..::[kaosone@ansia][Sat Dec 29][19:55:49][~]::..
$ |
|
Here works fine (169.07). |
|
| Back to top |
|
 |
Waninkoko Guru


Joined: 13 May 2005 Posts: 549
|
Posted: Sat Dec 29, 2007 7:03 pm Post subject: Re: Realtime capabilities? |
|
|
| Undetected wrote: | Hey, just complied and installed, boot went fine on first try which is great. Everything seems to be working short of realtime. As I understand it, the Realtime Capabilities under security options is basically the same as the realtime-lsm module that can be emerged from portage. I was using this, in combination with Default Linux Capabilities security model to run the jack server in realtime under 2.6.23 Gentoo Sources. Now I'm running 2.6.24-rc6-Zen0 and have complied with Realtime Capabilities. I can see /sys/module/realtime/parameters/gid and echo 18 > /sys/module/realtime/parameters/gid, gid 18 being my audio group.
When I execute jack --realtime -d alsa though, I get...
| Quote: |
laika@laika ~ $ jackd --realtime -d alsa
jackd 0.103.0
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK compiled with System V SHM support.
cannot use real-time scheduling (FIFO at priority 10) [for thread -1210108224, from thread -1210108224] (1: Operation not permitted)
cannot create engine
|
Now I basically had the realtime-lsm module setup to do the same (modprobe realtime gid=18 ) and everything worked fine. I've double checked, my user is definitely still part of the audio group and GID for audio is 18. Is there a different procedure I need to follow for this setup or does anyone have any ideas what might be going wrong? Thanks. |
I'm going to check the realtime-lsm patch. |
|
| Back to top |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5345 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Sat Dec 29, 2007 7:44 pm Post subject: |
|
|
| Quote: | git bisect good
bfba91b199b0e67497db81f05dd1105c269712cb is first bad commit
commit bfba91b199b0e67497db81f05dd1105c269712cb
Author: Roland McGrath <roland@redhat.com>
Date: Sun Dec 23 12:47:41 2007 +0100
x86 user_regset math_emu
This converts the ptrace/signal accessors for i387 math_emu
state to the user_regset interface style, and calls these
from the old interfaces.
It also cleans up math_emulate's ptrace check to be a
single-step check, which is what it really wants.
Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
:040000 040000 829c61799b4618522fabf435b2e1b7f4b338cebe 859f184810d1f504af20ba9919819fd41dbcd37c M arch |
please check & confirm  _________________ Unofficial minimal livecd x86/amd64 w/reiser4+truecrypt (by Neo2)
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004  |
|
| Back to top |
|
 |
Waninkoko Guru


Joined: 13 May 2005 Posts: 549
|
Posted: Sat Dec 29, 2007 7:49 pm Post subject: |
|
|
| Could you try to revert the commit and check if kernel compiles and works? |
|
| Back to top |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5345 Location: Vienna, Austria; Germany; hello world :)
|
|
| Back to top |
|
 |
Gregoire Apprentice


Joined: 15 Apr 2006 Posts: 278
|
Posted: Sat Dec 29, 2007 7:59 pm Post subject: |
|
|
| Waninkoko wrote: | | Could you try to revert the commit and check if kernel compiles and works? |
Should that be :
| Code: |
git revert bfba91b199b0e67497db81f05dd1105c269712cb
Auto-merged arch/x86/math-emu/fpu_entry.c
CONFLICT (content): Merge conflict in arch/x86/math-emu/fpu_entry.c
Automatic revert failed. After resolving the conflicts,
mark the corrected paths with 'git-add <paths>'
and commit the result.
|
? |
|
| Back to top |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5345 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Sat Dec 29, 2007 8:06 pm Post subject: |
|
|
| Quote: | patch -p1 -R --dry-run < ../sources/patches/0001-x86-user_regset-math_emu.patch
patching file arch/x86/math-emu/fpu_entry.c
Hunk #5 FAILED at 735.
1 out of 5 hunks FAILED -- saving rejects to file arch/x86/math-emu/fpu_entry.c.rej |
not quite that trivial as I thought
fpu_entry.c:
| Code: | #ifdef PECULIAR_486
S387->cwd &= ~0xe080;
/* An 80486 sets nearly all of the reserved bits to 1. */
S387->cwd |= 0xffff0040;
S387->swd = sstatus_word() | 0xffff0000;
S387->twd |= 0xffff0000;
S387->fcs &= ~0xf8000000;
S387->fos |= 0xffff0000;
#endif /* PECULIAR_486 */
ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, s387, 0,
offsetof(struct i387_soft_struct, st_space));
/* Copy all registers in stack order. */
if (!ret)
ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
space + offset, 0, other);
if (!ret)
ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
space, 0, offset);
RE_ENTRANT_CHECK_ON;
return ret;
} |
fpu_entry.c.rej
| Code: | ***************
*** 745,777 ****
S387->fcs &= ~0xf8000000;
S387->fos |= 0xffff0000;
#endif /* PECULIAR_486 */
- ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, s387, 0,
- offsetof(struct i387_soft_struct, st_space));
/* Copy all registers in stack order. */
- if (!ret)
- ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
- space + offset, 0, other);
- if (!ret)
- ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
- space, 0, offset);
-
RE_ENTRANT_CHECK_ON;
- return ret;
- }
-
- int save_i387_soft(void *s387, struct _fpstate __user *buf)
- {
- return fpregs_soft_get(current, NULL,
- 0, sizeof(struct user_i387_struct),
- NULL, buf) ? -1 : 1;
- }
-
- int restore_i387_soft(void *s387, struct _fpstate __user *buf)
- {
- return fpregs_soft_set(current, NULL,
- 0, sizeof(struct user_i387_struct),
- NULL, buf) ? -1 : 1;
}
--- 735,755 ----
S387->fcs &= ~0xf8000000;
S387->fos |= 0xffff0000;
#endif /* PECULIAR_486 */
+ if (__copy_to_user(d, &S387->cwd, 7 * 4))
+ return -1;
+ RE_ENTRANT_CHECK_ON;
+ d += 7 * 4;
+ RE_ENTRANT_CHECK_OFF;
/* Copy all registers in stack order. */
+ if (__copy_to_user(d, ((u_char *) & S387->st_space) + offset, other))
+ return -1;
+ if (offset)
+ if (__copy_to_user
+ (d + other, (u_char *) & S387->st_space, offset))
+ return -1;
RE_ENTRANT_CHECK_ON;
+ return 1;
} |
Help !
 _________________ Unofficial minimal livecd x86/amd64 w/reiser4+truecrypt (by Neo2)
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004  |
|
| Back to top |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5345 Location: Vienna, Austria; Germany; hello world :)
|
|
| Back to top |
|
 |
Waninkoko Guru


Joined: 13 May 2005 Posts: 549
|
Posted: Sat Dec 29, 2007 8:40 pm Post subject: |
|
|
| Gregoire wrote: | | Waninkoko wrote: | | Could you try to revert the commit and check if kernel compiles and works? |
Should that be :
| Code: |
git revert bfba91b199b0e67497db81f05dd1105c269712cb
Auto-merged arch/x86/math-emu/fpu_entry.c
CONFLICT (content): Merge conflict in arch/x86/math-emu/fpu_entry.c
Automatic revert failed. After resolving the conflicts,
mark the corrected paths with 'git-add <paths>'
and commit the result.
|
? |
http://zen.waninkoko.info/misc/bfba91b199b0e67497db81f05dd1105c269712cb_revert.patch
Try to revert this patch with "patch -p1 -R". |
|
| Back to top |
|
 |
Waninkoko Guru


Joined: 13 May 2005 Posts: 549
|
Posted: Sat Dec 29, 2007 8:45 pm Post subject: |
|
|
| I'm not sure this is the culprit. It's a file of the math-emulation but math-emulation is not available for x86_64 :S |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|