3.0-rc7-rt0
Subsystems (2)
Quoted 5 lines
Dear RT Folks,
I'm pleased to announce the first drop of the 3.0-rc7 based RT patch.
Hi
Many thanks for all this work.
I try to build the 3.0-rc7-rt0 but fail with the following message:
CC [M] fs/ext3/balloc.o
In file included from include/linux/jbd.h:247:0,
from fs/ext3/balloc.c:18:
include/linux/jbd_common.h: In function ‘jbd_lock_bh_state’:include/linux/jbd_common.h:43:2: error: ‘struct buffer_head’ has no member named ‘b_state_lock’ include/linux/jbd_common.h: In function ‘jbd_trylock_bh_state’:include/linux/jbd_common.h:52:9: error: ‘struct buffer_head’ has no member named ‘b_state_lock’ include/linux/jbd_common.h: In function ‘jbd_is_locked_bh_state’:include/linux/jbd_common.h:61:27: error: ‘struct buffer_head’ has no member named ‘b_state_lock’ include/linux/jbd_common.h: In function ‘jbd_unlock_bh_state’:include/linux/jbd_common.h:70:2: error: ‘struct buffer_head’ has no member named ‘b_state_lock’ include/linux/jbd_common.h: In function ‘jbd_lock_bh_journal_head’:include/linux/jbd_common.h:79:2: error: ‘struct buffer_head’ has no member named ‘b_journal_head_lock’ include/linux/jbd_common.h: In function ‘jbd_unlock_bh_journal_head’:include/linux/jbd_common.h:88:2: error: ‘struct buffer_head’ has no member named ‘b_journal_head_lock’ make[3]: *** [fs/ext3/balloc.o] Fehler 1
make[2]: *** [fs/ext3] Fehler 2
make[1]: *** [fs] Fehler 2
make[1]: Leaving directory `/home/brummer/Projekte/Kernel/linux-3.0-rc7'
make: *** [debian/stamp/build/kernel] Fehler 2
my system is:
System: Host box Kernel 2.6.39-rc7 i686 (32 bit gcc 4.5.2)
Desktop Xfce 4.8.2 (Gtk 2.24.4) Distro Debian GNU/Linux wheezy/sid
Machine: System Hewlett-Packard product hp workstation version x2100/2600
Mobo Hewlett-Packard model HP WMTA System Board version A03 Bios Phoenix version JG.W1.04US date 07/26/2002
CPU: Single core Intel Pentium 4 CPU (-UP-) cache 512 KB flags (sse sse2) bmips 5183.59 clocked at 2591.796 MHz Graphics: Card: ATI Radeon R200 QH [Radeon 8500] bus-ID: 01:00.0 X.Org 1.10.1 drivers ati,radeon Resolution [email protected] GLX Renderer Mesa X11 GLX Version 2.1 Mesa 7.10.2 Direct Rendering Yes Audio: Card Creative Labs SB Live! EMU10k1 driver EMU10K1_Audigy port 5040 bus-ID: 02:0a.0 Sound: ALSA v: 1.0.24 Network: Card Intel 82801BA/BAM/CA/CAM Ethernet Controller driver e100 v: 3.5.24-k2-NAPI port 5000 bus-ID: 02:08.0 IF: eth0 state: up speed: 100 Mbps duplex: full mac: 00:30:6e:26:c4:6d
Drives: HDD Total Size: 58.1GB (57.4% used) 1: /dev/sda IC35L060AVV207 41.2GB
2: /dev/sdb IBM 16.9GB
Optical: /dev/sr0 model: TOSHIBA DVD-ROM SD-M1612 rev: 1004 dev-links: cdrom,dvd,scd0
Features: speed: 48x multisession: yes audio: yes dvd: yes rw: none state: running
Partition: ID:/ size: 38G used: 27G (76%) fs: ext3 dev: /dev/sda2 label: N/A uuid: 1c8cbe6a-e15f-4a86-9b2b-2c75628ed183
ID:/media/sdb1 size: 15G used: 4.6G (33%) fs: ext4 dev: /dev/sdb1 label: N/A uuid: b6d0dca6-d88a-4096-bd54-c20dc98db436
ID:swap-1 size: 0.74GB used: 0.00GB (0%) fs: swap dev: /dev/sda1 label: N/A uuid: N/A
Unmounted: ID: /dev/sdb5 size: 0.75G label: N/A uuid: 6b246475-8d0a-4414-9657-4586b3a57ea1
Sensors: Error: You do not have the sensors app installed.
Info: Processes 113 Uptime 13:07 Memory 449.0/2026.4MB Runlevel 5 Client Shellregards
hermann
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 4 lines · hermann
I try to build the 3.0-rc7-rt0 but fail with the following message:
CC [M]fs/ext3/balloc.o
In file included frominclude/linux/jbd.h:247:0,from fs/ext3/balloc.c:18:
Find below a patch on top of rt0 which fixes this build failure and some other stuff.
Thanks,
tglx
-----------
kernel/timer.c +32 -8
@@ -654,6 +654,36 @@ static struct tvec_base *lock_timer_base } } +#ifndef CONFIG_PREEMPT_RT_FULL +static inline struct tvec_base *switch_timer_base (struct timer_list *timer, +struct tvec_base *old, +struct tvec_base *new) +{ +/* See the comment in lock_timer_base() */ +timer_set_base (timer,NULL ); +spin_unlock (&old->lock); +spin_lock (&new->lock); +timer_set_base (timer, new); +return new; +} +#else +static inline struct tvec_base *switch_timer_base (struct timer_list *timer, +struct tvec_base *old, +struct tvec_base *new) +{ +/* +* We cannot do the above because we might be preempted and +* then the preempter would see NULL and loop forever. +*/ +if (spin_trylock (&new->lock)) { +timer_set_base (timer, new); +spin_unlock (&old->lock); +return new; + } +return old; +} +#endif +static inline int __mod_timer (struct timer_list *timer,unsigned long expires,bool pending_only,int pinned)
@@ -699,14 +729,8 @@ __mod_timer(struct timer_list *timer, un* handler yet has not finished. This also guarantees that * the timer is serialized wrt itself. */ -if (likely (base->running_timer != timer)) { -/* See the comment in lock_timer_base() */ -timer_set_base (timer,NULL ); -spin_unlock (&base->lock); - base = new_base; -spin_lock (&base->lock); -timer_set_base (timer, base); - } +if (likely (base->running_timer != timer)) + base =switch_timer_base (timer, base, new_base); } timer->expires = expires;
mm/page_alloc.c +2 -2
@@ -1943,8 +1943,8 @@ __alloc_pages_direct_compact(gfp_t gfp_mif (*did_some_progress !=COMPACT_SKIPPED ) {/* Page migration frees to the PCP lists but we want merging */ -drain_pages (get_cpu ()); -put_cpu (); +drain_pages (get_cpu_light ()); +put_cpu_light (); page = get_page_from_freelist(gfp_mask, nodemask, order, zonelist, high_zoneidx,
include/linux/buffer_head.h +3 -1
@@ -74,7 +74,9 @@ struct buffer_head {atomic_t b_count;/* users using this buffer_head */ #ifdef CONFIG_PREEMPT_RT_BASE spinlock_t b_uptodate_lock; -#if defined(CONFIG_JBD ) || defined(CONFIG_JBD2 ) +#if defined(CONFIG_JBD ) || defined(CONFIG_JBD_MODULE ) || \ + defined(CONFIG_JBD2 ) || defined(CONFIG_JBD2_MODULE ) +spinlock_t b_state_lock;spinlock_t b_state_lock;spinlock_t b_journal_head_lock;#endif
Quoted 8 lines · Thomas Gleixner
Quoted 4 lines · hermann
I try to build the 3.0-rc7-rt0 but fail with the following message:
CC [M]fs/ext3/balloc.o
In file included frominclude/linux/jbd.h:247:0,from fs/ext3/balloc.c:18:Find below a patch on top of rt0 which fixes this build failure and some other stuff.
Bah, that's when you trust other peoples patches. It needs the following fix as well:
include/linux/buffer_head.h +2 -1
@@ -109,7 +111,8 @@ static inline void buffer_head_init_lock {#ifdef CONFIG_PREEMPT_RT_BASE spin_lock_init (&bh->b_uptodate_lock); -#if defined(CONFIG_JBD ) || defined(CONFIG_JBD2 ) +#if defined(CONFIG_JBD ) || defined(CONFIG_JBD_MODULE ) || \ + defined(CONFIG_JBD2 ) || defined(CONFIG_JBD2_MODULE )spin_lock_init (&bh->b_state_lock);spin_lock_init (&bh->b_journal_head_lock);#endif
Am Donnerstag, den 21.07.2011, 19:43 +0200 schrieb Thomas Gleixner:
Quoted 9 lines · Thomas Gleixner
Quoted 8 lines · hermann
Quoted 4 lines
I try to build the 3.0-rc7-rt0 but fail with the following message:
CC [M]fs/ext3/balloc.o
In file included frominclude/linux/jbd.h:247:0,from fs/ext3/balloc.c:18:Find below a patch on top of rt0 which fixes this build failure and some other stuff.
Many Thanks for the quick response, when I try to apply the patch's on a fresh patched 3.0-rc7-rt0, I receive some Hunks :
patch -p1<../patch-3.0-rc7-rt0.1.patch
patching file kernel/timer.c
Hunk #1 succeeded at 654 with fuzz 1.
Hunk #2 FAILED at 729.
1 out of 2 hunks FAILED -- saving rejects to file kernel/timer.c.rej patching file mm/page_alloc.c
Hunk #1 FAILED at 1943.
1 out of 1 hunk FAILED -- saving rejects to file mm/page_alloc.c.rej patching file include/linux/buffer_head.h
Hunk #1 FAILED at 74.
1 out of 1 hunk FAILED -- saving rejects to file include/linux/buffer_head.h.rej
patching file include/linux/buffer_head.h
Hunk #1 FAILED at 109.
1 out of 1 hunk FAILED -- saving rejects to file include/linux/buffer_head.h.rej
So I apply them per hand, (well some offset here and there). Build is running now, will report back if all went well for me now.
kind regards
hermann
Re: [ANNOUNCE] 3.0-rt1
In reply to Thomas GleixnerHi
Build fail here with
CC arch/x86/kernel/early_printk.oarch/x86/kernel/early_printk.c:188:17: error: conflicting types for ‘early_vprintk’include/linux/printk.h:95:13: note: previous declaration of ‘early_vprintk’ was here
make[3]: *** [arch/x86/kernel/early_printk.o] Fehler 1 make[2]: *** [arch/x86/kernel] Fehler 2
make[1]: *** [arch/x86] Fehler 2
it build here when I declare early_vprintk in printk.h as asmlinkage void early_vprintk(const char *fmt, va_list args);
System: Host box Kernel 3.0.0-rc7-rt0 i686 (32 bit gcc 4.5.2)
Desktop Xfce 4.8.2 (Gtk 2.24.4) Distro Debian GNU/Linux
wheezy/sid
Machine: System Hewlett-Packard product hp workstation version
x2100/2600
Mobo Hewlett-Packard model HP WMTA System Board version A03
Bios Phoenix version JG.W1.04US date 07/26/2002
CPU: Single core Intel Pentium 4 CPU (-UP-) cache 512 KB flags
(sse sse2) bmips 5184.7 clocked at 2600.00 MHz
regards
hermann
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [ANNOUNCE] 3.0-rt1
Quoted 13 lines · hermann
Hi
Build fail here with
CC
arch/x86/kernel/early_printk.oarch/x86/kernel/early_printk.c:188:17: error: conflicting types for ‘early_vprintk’include/linux/printk.h:95:13: note: previous declaration of ‘early_vprintk’ was here
make[3]: *** [arch/x86/kernel/early_printk.o] Fehler 1 make[2]: *** [arch/x86/kernel] Fehler 2
make[1]: *** [arch/x86] Fehler 2
Quoted 2 lines
it build here when I declare
early_vprintkinprintk.has asmlinkage voidearly_vprintk(const char *fmt, va_list args);
Grr, right. That's a 32bit thingy. Fixed for -rt2.
Thanks,
tglx
Hi!
Actually, I think, the last line added in this patch is wrong...
+ spinlock_t b_state_lock;
leads to duplication of b_state_lock...
regards,
Andi
Quoted 109 lines · Thomas Gleixner
Quoted 5 lines · hermann
I try to build the 3.0-rc7-rt0 but fail with the following message:
CC [M]fs/ext3/balloc.o
In file included frominclude/linux/jbd.h:247:0,from fs/ext3/balloc.c:18:Find below a patch on top of rt0 which fixes this build failure and some other stuff.
Thanks,
tglx
-----------
Index:
linux-2.6/kernel/timer.c
===================================================================kernel/timer.c +32
-8@@ -654,6 +654,36 @@ static struct tvec_base *lock_timer_base } } +#ifndef CONFIG_PREEMPT_RT_FULL +static inline struct tvec_base *switch_timer_base (struct timer_list *timer, +struct tvec_base *old, +struct tvec_base *new) +{ +/* See the comment in lock_timer_base() */ +timer_set_base (timer,NULL ); +spin_unlock (&old->lock); +spin_lock (&new->lock); +timer_set_base (timer, new); +return new; +} +#else +static inline struct tvec_base *switch_timer_base (struct timer_list *timer, +struct tvec_base *old, +struct tvec_base *new) +{ +/* +* We cannot do the above because we might be preempted and +* then the preempter would see NULL and loop forever. +*/ +if (spin_trylock (&new->lock)) { +timer_set_base (timer, new); +spin_unlock (&old->lock); +return new; + } +return old; +} +#endif +static inline int __mod_timer (struct timer_list *timer,unsigned long expires,bool pending_only,int pinned)@@ -699,14 +729,8 @@ __mod_timer(struct timer_list *timer, un* handler yet has not finished. This also guarantees that * the timer is serialized wrt itself. */ -if (likely (base->running_timer != timer)) { -/* See the comment in lock_timer_base() */ -timer_set_base (timer,NULL ); -spin_unlock (&base->lock); - base = new_base; -spin_lock (&base->lock); -timer_set_base (timer, base); - } +if (likely (base->running_timer != timer)) + base =switch_timer_base (timer, base, new_base); } timer->expires = expires;Index:
linux-2.6/mm/page_alloc.c
===================================================================mm/page_alloc.c +2
-2@@ -1943,8 +1943,8 @@ __alloc_pages_direct_compact(gfp_t gfp_mif (*did_some_progress !=COMPACT_SKIPPED ) {/* Page migration frees to the PCP lists but we want merging */ -drain_pages (get_cpu ()); -put_cpu (); +drain_pages (get_cpu_light ()); +put_cpu_light (); page = get_page_from_freelist(gfp_mask, nodemask, order, zonelist, high_zoneidx,Index:
linux-2.6/include/linux/buffer_head.h
===================================================================include/linux/buffer_head.h +3
-2@@ -74,7 +74,9 @@ struct buffer_head {atomic_t b_count;/* users using this buffer_head */ #ifdef CONFIG_PREEMPT_RT_BASE spinlock_t b_uptodate_lock; -#if defined(CONFIG_JBD ) || defined(CONFIG_JBD2 ) +#if defined(CONFIG_JBD ) || defined(CONFIG_JBD_MODULE ) || \ + defined(CONFIG_JBD2 ) || defined(CONFIG_JBD2_MODULE ) +spinlock_t b_state_lock;spinlock_t b_state_lock;spinlock_t b_journal_head_lock;#endif --To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Am Donnerstag, den 21.07.2011, 20:28 +0200 schrieb andi:
Quoted 11 lines
Hi!
Actually, I think, the last line added in this patch is wrong...
include/linux/buffer_head.h +1
-0+spinlock_t b_state_lock;leads to duplication of
b_state_lock...regards,
Andi
Yea, I haven't apply this line here to avoid that.
regards
hermann
Quoted 112 lines · Thomas Gleixner
Quoted 109 lines · hermann
Quoted 6 lines
I try to build the 3.0-rc7-rt0 but fail with the following message:
CC [M]fs/ext3/balloc.o
In file included frominclude/linux/jbd.h:247:0,from fs/ext3/balloc.c:18:Find below a patch on top of rt0 which fixes this build failure and some other stuff.
Thanks,
tglx
-----------
Index:
linux-2.6/kernel/timer.c
===================================================================kernel/timer.c +32
-8@@ -654,6 +654,36 @@ static struct tvec_base *lock_timer_base } } +#ifndef CONFIG_PREEMPT_RT_FULL +static inline struct tvec_base *switch_timer_base (struct timer_list *timer, +struct tvec_base *old, +struct tvec_base *new) +{ +/* See the comment in lock_timer_base() */ +timer_set_base (timer,NULL ); +spin_unlock (&old->lock); +spin_lock (&new->lock); +timer_set_base (timer, new); +return new; +} +#else +static inline struct tvec_base *switch_timer_base (struct timer_list *timer, +struct tvec_base *old, +struct tvec_base *new) +{ +/* +* We cannot do the above because we might be preempted and +* then the preempter would see NULL and loop forever. +*/ +if (spin_trylock (&new->lock)) { +timer_set_base (timer, new); +spin_unlock (&old->lock); +return new; + } +return old; +} +#endif +static inline int __mod_timer (struct timer_list *timer,unsigned long expires,bool pending_only,int pinned)@@ -699,14 +729,8 @@ __mod_timer(struct timer_list *timer, un* handler yet has not finished. This also guarantees that * the timer is serialized wrt itself. */ -if (likely (base->running_timer != timer)) { -/* See the comment in lock_timer_base() */ -timer_set_base (timer,NULL ); -spin_unlock (&base->lock); - base = new_base; -spin_lock (&base->lock); -timer_set_base (timer, base); - } +if (likely (base->running_timer != timer)) + base =switch_timer_base (timer, base, new_base); } timer->expires = expires;Index:
linux-2.6/mm/page_alloc.c
===================================================================mm/page_alloc.c +2
-2@@ -1943,8 +1943,8 @@ __alloc_pages_direct_compact(gfp_t gfp_mif (*did_some_progress !=COMPACT_SKIPPED ) {/* Page migration frees to the PCP lists but we want merging */ -drain_pages (get_cpu ()); -put_cpu (); +drain_pages (get_cpu_light ()); +put_cpu_light (); page = get_page_from_freelist(gfp_mask, nodemask, order, zonelist, high_zoneidx,Index:
linux-2.6/include/linux/buffer_head.h
===================================================================include/linux/buffer_head.h +3
-2@@ -74,7 +74,9 @@ struct buffer_head {atomic_t b_count;/* users using this buffer_head */ #ifdef CONFIG_PREEMPT_RT_BASE spinlock_t b_uptodate_lock; -#if defined(CONFIG_JBD ) || defined(CONFIG_JBD2 ) +#if defined(CONFIG_JBD ) || defined(CONFIG_JBD_MODULE ) || \ + defined(CONFIG_JBD2 ) || defined(CONFIG_JBD2_MODULE ) +spinlock_t b_state_lock;spinlock_t b_state_lock;spinlock_t b_journal_head_lock;#endif --To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH 1/1 Various fixups from first bug reports
In reply to Thomas GleixnerFrom: Thomas Gleixner <[email protected]>
---
Hello,
this is the patch Thomas sent earlier in this thread with the two fixups folded in that occured in reply to Thomas' patch.
Best regards
Uwe
include/linux/buffer_head.h | 6 ++++-- kernel/timer.c | 40 ++++++++++++++++++++++++++++++++-------- mm/page_alloc.c | 4 ++-- 3 files changed, 38 insertions(+), 12 deletions(-)
include/linux/buffer_head.h +4 -2
@@ -74,7 +74,8 @@ struct buffer_head {atomic_t b_count;/* users using this buffer_head */ #ifdef CONFIG_PREEMPT_RT_BASE spinlock_t b_uptodate_lock; -#if defined(CONFIG_JBD ) || defined(CONFIG_JBD2 ) +#if defined(CONFIG_JBD ) || defined(CONFIG_JBD_MODULE ) || \ + defined(CONFIG_JBD2 ) || defined(CONFIG_JBD2_MODULE )spinlock_t b_state_lock;spinlock_t b_journal_head_lock;#endif
@@ -109,7 +110,8 @@ static inline void buffer_head_init_locks(struct buffer_head *bh) {#ifdef CONFIG_PREEMPT_RT_BASE spin_lock_init (&bh->b_uptodate_lock); -#if defined(CONFIG_JBD ) || defined(CONFIG_JBD2 ) +#if defined(CONFIG_JBD ) || defined(CONFIG_JBD_MODULE ) || \ + defined(CONFIG_JBD2 ) || defined(CONFIG_JBD2_MODULE )spin_lock_init (&bh->b_state_lock);spin_lock_init (&bh->b_journal_head_lock);#endif
kernel/timer.c +32 -8
@@ -654,6 +654,36 @@ static struct tvec_base *lock_timer_base(struct timer_list *timer, } } +#ifndef CONFIG_PREEMPT_RT_FULL +static inline struct tvec_base *switch_timer_base (struct timer_list *timer, +struct tvec_base *old, +struct tvec_base *new) +{ +/* See the comment in lock_timer_base() */ +timer_set_base (timer,NULL ); +spin_unlock (&old->lock); +spin_lock (&new->lock); +timer_set_base (timer, new); +return new; +} +#else +static inline struct tvec_base *switch_timer_base (struct timer_list *timer, +struct tvec_base *old, +struct tvec_base *new) +{ +/* +* We cannot do the above because we might be preempted and +* then the preempter would see NULL and loop forever. +*/ +if (spin_trylock (&new->lock)) { +timer_set_base (timer, new); +spin_unlock (&old->lock); +return new; + } +return old; +} +#endif +static inline int __mod_timer (struct timer_list *timer,unsigned long expires,bool pending_only,int pinned)
@@ -699,14 +729,8 @@ __mod_timer(struct timer_list *timer, unsigned long expires,* handler yet has not finished. This also guarantees that * the timer is serialized wrt itself. */ -if (likely (base->running_timer != timer)) { -/* See the comment in lock_timer_base() */ -timer_set_base (timer,NULL ); -spin_unlock (&base->lock); - base = new_base; -spin_lock (&base->lock); -timer_set_base (timer, base); - } +if (likely (base->running_timer != timer)) + base =switch_timer_base (timer, base, new_base); } timer->expires = expires;
mm/page_alloc.c +2 -2
@@ -1943,8 +1943,8 @@ __alloc_pages_direct_compact(gfp_t gfp_mask, unsigned int order,if (*did_some_progress !=COMPACT_SKIPPED ) {/* Page migration frees to the PCP lists but we want merging */ -drain_pages (get_cpu ()); -put_cpu (); +drain_pages (get_cpu_light ()); +put_cpu_light (); page = get_page_from_freelist(gfp_mask, nodemask, order, zonelist, high_zoneidx,
Signature · 1 line
1.7.5.4
Re: [PATCH] Various fixups from first bug reports
Am Donnerstag, den 21.07.2011, 21:57 +0200 schrieb Uwe Kleine-König:
Quoted 11 lines
From: Thomas Gleixner <[email protected]>
---
Hello,this is the patch Thomas sent earlier in this thread with the two fixups folded in that occured in reply to Thomas' patch.
Best regards
Uwe
Hi
well, I run into 2 ops, witch, I guess not related to the rt patch.
first one was with CONFIG_SENSORS_LTC4245, module build stage 2 failed with undefined reference to of_find_property
second was with CONFIG_LGUEST_GUEST enabled, module build stage 2 failed with Documentation/lguest not found
Anyhow, I'm now writing from
System: Host box Kernel 3.0.0-rc7-rt0 i686 (32 bit gcc 4.5.2)
Desktop Xfce 4.8.2 (Gtk 2.24.4) Distro Debian GNU/Linux
wheezy/sid
many thanks for that, great work,
regards
hermann
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] Various fixups from first bug reports
Hello,
(These two issues occured on 3.0-rc7-rt0, I think they apply to mainline, too.)
Quoted 4 lines · hermann
well, I run into 2 ops, witch, I guess not related to the rt patch.
first one was with
CONFIG_SENSORS_LTC4245, module build stage 2 failed with undefined reference toof_find_property
of_find_property isn't exported to modules. Maybe of_get_property should be used? Should of_find_property be static then? Alternatively export of_find_property, too. Grant?
Quoted 2 lines
second was with
CONFIG_LGUEST_GUESTenabled, module build stage 2 failed withDocumentation/lguestnot found
Hmm, there is Documentation/virtual/lguest. Didn't find where Documentation/lguest is used from a quick look. Rusty?
Best regards
Uwe
Signature · 6 lines
Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] Various fixups from first bug reports
Am Freitag, den 22.07.2011, 08:57 +0200 schrieb Uwe Kleine-König:
Quoted 8 lines
Quoted 1 line
second was with
CONFIG_LGUEST_GUESTenabled, module build stage 2failed
Quoted 1 line
with
Documentation/lguestnot foundHmm, there is
Documentation/virtual/lguest. Didn't find whereDocumentation/lguestis used from a quick look. Rusty?Best regards
Uwe
Sorry, I'm far from being a expert, all I can say is that disable CONFIG_LGUEST andCONFIG_LGUEST_GUEST also (auto)disable CONFIG_PARAVIRT_SPINLOCKS
and then it works, at least here.
regards
hermann
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] Various fixups from first bug reports
Quoted 17 lines · hermann <brummer- <at> web.de> writes:
Am Freitag, den 22.07.2011, 08:57 +0200 schrieb Uwe Kleine-König:
Quoted 8 lines
Quoted 1 line
second was with
CONFIG_LGUEST_GUESTenabled, module build stage 2failed
Quoted 1 line
with
Documentation/lguestnot foundHmm, there is
Documentation/virtual/lguest. Didn't find whereDocumentation/lguestis used from a quick look. Rusty?Best regards
UweSorry, I'm far from being a expert, all I can say is that disable
CONFIG_LGUESTandCONFIG_LGUEST_GUESTalso (auto)disableCONFIG_PARAVIRT_SPINLOCKS
and then it works, at least here.
Quoted 4 lines
regards
hermann--
CONFIG_LGUEST, etc., had to be disabled for me on 3.0-rc7 as well, I don't think this is an RT issue. I'm not sure about CONFIG_PARAVIRT_SPINLOCKS.
But, I am seeing this call trace, related to the b43-lpphy wireless driver loading. Everything appears to keep functioning.
[ 16.616613] ------------[ cut here ]------------ [ 16.616640] WARNING: at net/mac80211/rx.c:2856 ieee80211_rx+0x23/0x6db [mac80211]() [ 16.616642] Hardware name: Latitude E5500 [ 16.616644] Modules linked in: af_packet uinput binfmt_misc parport_pc ppdev
lp parport bridge stp bnep rfcomm vboxnetadp vboxnetflt vboxdrv ext3 jbd ipv6 cpufreq_powersave cpufreq_stats cpufreq_ondemand cpufreq_userspace cpufreq_conservative speedstep_lib fuse loop snd_aloop acpi_cpufreq freq_table mperf snd_hda_codec_hdmi snd_hda_codec_idt btusb snd_hda_intel snd_hda_codec bluetooth snd_pcm_oss snd_mixer_oss snd_pcm i915 drm_kms_helper drm snd_seq_dummy snd_seq_oss snd_seq_midi i2c_algo_bit snd_rawmidi snd_seq_midi_event snd_seq snd_timer arc4 joydev b43 video snd_seq_device dell_laptop battery processor ac button dell_wmi sparse_keymap pcspkr wmi dcdbas yenta_socket pcmcia_rsrc psmouse i2c_i801 i2c_core serio_raw evdev rng_core mac80211 snd intel_agp intel_gtt soundcore tpm_tis tpm tpm_bios snd_page_alloc cfg80211 rfkill agpgart ext4 mbcache jbd2 crc16 dm_mirror dm_region_hash dm_log dm_mod usbhid hid sg sr_mod cdrom sd_mod uhci_hcd ahci ehci_hcd libahci ssb sdhci_pci usbcore tg3 firewire_ohci libata sdhci pcmcia firewire_core mmc_core thermal pcmcia_core thermal_sys libphy crc_itu_t [last unloaded: scsi_wait_scan]
[ 16.616710] Pid: 2770, comm: irq/17-b43 Not tainted 3.0.0-rc7-rt0-1 #1 [ 16.616712] Call Trace: [ 16.616718] [<c102c807>] ? warn_slowpath_common+0x68/0x79 [ 16.616725] [<f876261a>] ? ieee80211_rx+0x23/0x6db [mac80211] [ 16.616728] [<c102c825>] ? warn_slowpath_null+0xd/0x10 [ 16.616735] [<f876261a>] ? ieee80211_rx+0x23/0x6db [mac80211] [ 16.616738] [<c1020e2a>] ? task_rq_lock+0x36/0x64 [ 16.616740] [<c1020d13>] ? set_cpus_allowed_rt+0x11/0xb2 [ 16.616743] [<c1027033>] ? migrate_disable+0xd8/0xf3 [ 16.616750] [<f89e2512>] ? b43_rx+0x40f/0x436 [b43] [ 16.616757] [<f89e6393>] ? b43_dma_rx+0x211/0x284 [b43] [ 16.616763] [<f89cfdb3>] ? b43_do_interrupt_thread+0x41c/0x4dd [b43] [ 16.616767] [<c1015841>] ? __io_apic_modify_irq+0x39/0x57 [ 16.616771] [<c10691aa>] ? unmask_irq+0x11/0x1a [ 16.616776] [<f89cfe89>] ? b43_interrupt_thread_handler+0x15/0x27 [b43] [ 16.616779] [<c10680dc>] ? irq_thread_fn+0x10/0x23 [ 16.616781] [<c106801a>] ? irq_thread+0xa0/0x152 [ 16.616783] [<c10680cc>] ? irq_thread+0x152/0x152 [ 16.616786] [<c1067f7a>] ? irq_finalize_oneshot+0x9d/0x9d [ 16.616788] [<c103fcb4>] ? kthread+0x63/0x68 [ 16.616791] [<c103fc51>] ? __init_kthread_worker+0x36/0x36 [ 16.616794] [<c1248936>] ? kernel_thread_helper+0x6/0xd [ 16.616795] ---[ end trace 0000000000000002 ]---
Thanks,
Trulan
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] Various fixups from first bug reports
In reply to Uwe Kleine-KönigQuoted 10 lines · Uwe Kleine-König
Hello,
(These two issues occured on 3.0-rc7-rt0, I think they apply to mainline, too.)
Quoted 4 lines · hermann
well, I run into 2 ops, witch, I guess not related to the rt patch.
first one was with
CONFIG_SENSORS_LTC4245, module build stage 2 failed with undefined reference toof_find_property
Quoted 8 lines
of_find_propertyisn't exported to modules. Maybeof_get_propertyshould be used? Shouldof_find_propertybe static then? Alternatively exportof_find_property, too. Grant?Quoted 2 lines
second was with
CONFIG_LGUEST_GUESTenabled, module build stage 2 failed withDocumentation/lguestnot foundHmm, there is
Documentation/virtual/lguest. Didn't find whereDocumentation/lguestis used from a quick look. Rusty?
No, it's not compiled from the kernel build, at least in mainline...
If it is in the -r tree, you need to s,Documentation/lguest,Documentation/virtual/lguest, as it has moved.
Cheers,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 87y5zqzick.fsf-8n+1lVoiYb80n/[email protected]
Re: [PATCH] Various fixups from first bug reports
Hello,
Quoted 10 lines · Rusty Russell
Quoted 4 lines · Uwe Kleine-König
Quoted 2 lines
second was with
CONFIG_LGUEST_GUESTenabled, module build stage 2 failed withDocumentation/lguestnot foundHmm, there is
Documentation/virtual/lguest. Didn't find whereDocumentation/lguestis used from a quick look. Rusty?No, it's not compiled from the kernel build, at least in mainline...
If it is in the -r tree, you need to s,Documentation/lguest,Documentation/virtual/lguest, as it has moved.
I don't understand that and didn't try to reproduce. hermann, maybe you can follow up with your failing .config and try to reproduce on v3.0 (without rt)?
Best regards
Uwe
Signature · 2 lines
Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ |
Re: [PATCH] Various fixups from first bug reports
In reply to Rusty RussellHello,
Quoted 10 lines · Rusty Russell
Quoted 4 lines · Uwe Kleine-König
Quoted 2 lines
second was with
CONFIG_LGUEST_GUESTenabled, module build stage 2 failed withDocumentation/lguestnot foundHmm, there is
Documentation/virtual/lguest. Didn't find whereDocumentation/lguestis used from a quick look. Rusty?No, it's not compiled from the kernel build, at least in mainline...
If it is in the -r tree, you need to s,Documentation/lguest,Documentation/virtual/lguest, as it has moved.
I don't understand that and didn't try to reproduce. hermann, maybe you can follow up with your failing .config and try to reproduce on v3.0 (without rt)?
Best regards
Uwe
Signature · 6 lines
Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] Various fixups from first bug reports
Am Freitag, den 22.07.2011, 21:20 +0200 schrieb Uwe Kleine-König:
Quoted 6 lines
I don't understand that and didn't try to reproduce. hermann, maybe you can follow up with your failing .config and try to reproduce on v3.0 (without rt)?
Best regards
Uwe
well, it also didn't build from the 3.0 mainline with that config. After modules build stage 2, it comes to :
. . . . .
IHEX firmware/yam/9600.bin
make[1]: Leaving directory `/home/brummer/Projekte/Kernel/linux-3.0'/usr/bin/make ARCH=i386 \
-C Documentation/lguest
make: *** Documentation/lguest: Datei oder Verzeichnis nicht gefunden. Schluss.
make: *** [debian/stamp/build/kernel] Fehler 2
[Datei oder Verzeichnis nicht gefunden == file or directory not found Schlusss == exit
Fehler 2 == error 2]
attached is the config.
regards
hermann
Re: [PATCH] Various fixups from first bug reports
Quoted 8 lines · hermann
Am Freitag, den 22.07.2011, 21:20 +0200 schrieb Uwe Kleine-König:
Quoted 6 lines
I don't understand that and didn't try to reproduce. hermann, maybe you can follow up with your failing .config and try to reproduce on v3.0 (without rt)?
Best regards
Uwe
Quoted 11 lines
well, it also didn't build from the 3.0 mainline with that config. After modules build stage 2, it comes to :
. . . . .
IHEXfirmware/yam/9600.bin
make[1]: Leaving directory `/home/brummer/Projekte/Kernel/linux-3.0'/usr/bin/makeARCH=i386 \
-CDocumentation/lguest
make: ***Documentation/lguest: Datei oder Verzeichnis nicht gefunden. Schluss.
make: *** [debian/stamp/build/kernel] Fehler 2
Hello Herman,
Are you using make-kpkg? You need to change the path to lguest in /usr/share/kernel-package/ruleset/targets/doc.mk and two or three other files there as Rusty outlined.
HTH,
robin
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [PATCH] Various fixups from first bug reports
Am Samstag, den 23.07.2011, 11:57 +0200 schrieb Robin Gareus:
Quoted 8 lines
Hello Herman,
Are you using make-kpkg? You need to change the path to lguest in
/usr/share/kernel-package/ruleset/targets/doc.mkand two or three other files there as Rusty outlined.HTH,
robin
Hi Robin
Yes, using make-kpkg. I changed line 61 from
rm -f $(DOCDIR)/Documentation/lguest/lguest
$(DOCDIR)/Documentation/lguest/lguest.lds
to
rm -f $(DOCDIR)/Documentation/virtual/lguest/lguest $(DOCDIR)/Documentation/virtual/lguest/lguest.lds
but it didn't help, the result is still the same./usr/bin/make ARCH=i386 \
-C Documentation/lguest
make: *** Documentation/lguest: Datei oder Verzeichnis nicht gefunden. Schluss.
Could you wrote a bit more precise what needs to do, please ?
regards
hermann
Re: [PATCH] Various fixups from first bug reports
Quoted 10 lines · hermann
Am Samstag, den 23.07.2011, 11:57 +0200 schrieb Robin Gareus:
Quoted 8 lines
Hello Herman,
Are you using make-kpkg? You need to change the path to lguest in
/usr/share/kernel-package/ruleset/targets/doc.mkand two or three other files there as Rusty outlined.HTH,
robin
Quoted 7 lines
Hi Robin
Yes, using make-kpkg. I changed line 61 from [..]
but it didn't help, the result is still the same./usr/bin/makeARCH=i386 \
-CDocumentation/lguest
That's the one in /usr/share/kernel-package/ruleset/targets/image.mk
I don't remember all locations, there were around a dozen, also including some $CONFIG_* checks. It was pretty straight forward and - alas - I did not keep a diff.
grep -rli lguest /usr/share/kernel-package/ should get you going.
If you're really stuck I can apt-get --reinstall and create a diff. Let me know. If it is Debian, be aware that there are also various other scripts in need of patching (e.g. /etc/init.d/udev supported_kernel() does not match the 3.X series, yet),..
Quoted 1 line
Schluss.
ende, aus :)
robin
Re: [PATCH] Various fixups from first bug reports
Am Samstag, den 23.07.2011, 16:33 +0200 schrieb Robin Gareus:
Quoted 33 lines · hermann
Quoted 10 lines
Am Samstag, den 23.07.2011, 11:57 +0200 schrieb Robin Gareus:
Quoted 8 lines
Hello Herman,
Are you using make-kpkg? You need to change the path to lguest in
/usr/share/kernel-package/ruleset/targets/doc.mkand two or three other files there as Rusty outlined.HTH,
robinQuoted 7 lines
Hi Robin
Yes, using make-kpkg. I changed line 61 from [..]
but it didn't help, the result is still the same./usr/bin/makeARCH=i386 \
-CDocumentation/lguestThat's the one in
/usr/share/kernel-package/ruleset/targets/image.mkI don't remember all locations, there were around a dozen, also including some $CONFIG_* checks. It was pretty straight forward and - alas - I did not keep a diff.
grep -rli lguest /usr/share/kernel-package/should get you going.If you're really stuck I can
apt-get --reinstalland create a diff. Let me know. If it is Debian, be aware that there are also various other scripts in need of patching (e.g./etc/init.d/udevsupported_kernel()does not match the 3.X series, yet),..
Quoted 4 lines
Quoted 1 line
Schluss.
ende, aus :)
robin
Thanks robin, get it working now. Have changed the locations in /usr/share/kernel-package/ruleset/targets/common.mk /usr/share/kernel-package/ruleset/targets/doc.mk /usr/share/kernel-package/ruleset/targets/image.mk
It would be cool if you could remember witch other scripts need to be patched to support the 3.X series.
I mean I run already the Kernel 3.0.0-rc7-rt0 i686 here on debian/sid without hazel, but be interested to set up all in a matching manner.
regards
hermann
Re: [PATCH] Various fixups from first bug reports
In reply to hermannHello,
Quoted 2 lines · hermann
Am Samstag, den 23.07.2011, 11:57 +0200 schrieb Robin Gareus:
Yes, using make-kpkg. I changed line 61 from
there is an alternative,
make deb-pkg
in the vanilla kernel. Depending on why you use make-kpkg it might be worth a try.
Best regards
Uwe
Signature · 6 lines
Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html