devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] Various fixups from first bug reports
       [not found]   ` <1311313414.2940.8.camel@box>
@ 2011-07-22  6:57     ` Uwe Kleine-König
  2011-07-22  7:40       ` hermann
  2011-07-22 11:04       ` Rusty Russell
  0 siblings, 2 replies; 10+ messages in thread
From: Uwe Kleine-König @ 2011-07-22  6:57 UTC (permalink / raw)
  To: hermann
  Cc: linux-rt-users, Thomas Gleixner, Grant Likely, devicetree-discuss,
	Rusty Russell, lguest

Hello,

(These two issues occured on 3.0-rc7-rt0, I think they apply to
mainline, too.)

On Fri, Jul 22, 2011 at 07:43:34AM +0200, hermann wrote:
> 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
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?

> second was with CONFIG_LGUEST_GUEST enabled, module build stage 2 failed
> with Documentation/lguest not found
Hmm, there is Documentation/virtual/lguest. Didn't find where
Documentation/lguest is used from a quick look. Rusty?

Best regards
Uwe

-- 
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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] Various fixups from first bug reports
  2011-07-22  6:57     ` [PATCH] Various fixups from first bug reports Uwe Kleine-König
@ 2011-07-22  7:40       ` hermann
  2011-07-22 11:04       ` Rusty Russell
  1 sibling, 0 replies; 10+ messages in thread
From: hermann @ 2011-07-22  7:40 UTC (permalink / raw)
  To: Uwe Kleine-König
  Cc: linux-rt-users, Thomas Gleixner, Grant Likely, devicetree-discuss,
	Rusty Russell, lguest

Am Freitag, den 22.07.2011, 08:57 +0200 schrieb Uwe Kleine-König:
> > second was with CONFIG_LGUEST_GUEST enabled, module build stage 2
> failed
> > with Documentation/lguest not found
> Hmm, there is Documentation/virtual/lguest. Didn't find where
> Documentation/lguest is 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 and
CONFIG_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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] Various fixups from first bug reports
  2011-07-22  6:57     ` [PATCH] Various fixups from first bug reports Uwe Kleine-König
  2011-07-22  7:40       ` hermann
@ 2011-07-22 11:04       ` Rusty Russell
       [not found]         ` <87y5zqzick.fsf-8n+1lVoiYb80n/F98K4Iww@public.gmane.org>
       [not found]         ` <20110722192051.GH16561@pengutronix.de>
  1 sibling, 2 replies; 10+ messages in thread
From: Rusty Russell @ 2011-07-22 11:04 UTC (permalink / raw)
  To: Uwe Kleine-König, hermann
  Cc: linux-rt-users, Thomas Gleixner, Grant Likely, devicetree-discuss,
	lguest

On Fri, 22 Jul 2011 08:57:11 +0200, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> wrote:
> Hello,
> 
> (These two issues occured on 3.0-rc7-rt0, I think they apply to
> mainline, too.)
> 
> On Fri, Jul 22, 2011 at 07:43:34AM +0200, hermann wrote:
> > 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
> 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?
> 
> > second was with CONFIG_LGUEST_GUEST enabled, module build stage 2 failed
> > with Documentation/lguest not found
> Hmm, there is Documentation/virtual/lguest. Didn't find where
> Documentation/lguest is 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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] Various fixups from first bug reports
       [not found]         ` <87y5zqzick.fsf-8n+1lVoiYb80n/F98K4Iww@public.gmane.org>
@ 2011-07-22 19:20           ` Uwe Kleine-König
  0 siblings, 0 replies; 10+ messages in thread
From: Uwe Kleine-König @ 2011-07-22 19:20 UTC (permalink / raw)
  To: Rusty Russell, linux-rt-users-u79uwXL29TY76Z2rM5mHXA,
	Thomas Gleixner, Grant Likely,
	devicetree-discuss-uLR06cmDAlaKREJ1Ck/qmQ
  Cc: hermann

Hello,

On Fri, Jul 22, 2011 at 08:34:59PM +0930, Rusty Russell wrote:
> On Fri, 22 Jul 2011 08:57:11 +0200, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> wrote:
> > > second was with CONFIG_LGUEST_GUEST enabled, module build stage 2 failed
> > > with Documentation/lguest not found
> > Hmm, there is Documentation/virtual/lguest. Didn't find where
> > Documentation/lguest is 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

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] Various fixups from first bug reports
       [not found]         ` <20110722192051.GH16561@pengutronix.de>
@ 2011-07-23  3:17           ` hermann
  2011-07-23  9:57             ` Robin Gareus
  0 siblings, 1 reply; 10+ messages in thread
From: hermann @ 2011-07-23  3:17 UTC (permalink / raw)
  To: Uwe Kleine-König
  Cc: Rusty Russell, linux-rt-users, Thomas Gleixner, Grant Likely,
	devicetree-discuss, lguest

[-- Attachment #1: Type: text/plain, Size: 841 bytes --]

Am Freitag, den 22.07.2011, 21:20 +0200 schrieb Uwe Kleine-König:
> 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

[-- Attachment #2: .config.bz2 --]
[-- Type: application/x-bzip, Size: 28228 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] Various fixups from first bug reports
  2011-07-23  3:17           ` hermann
@ 2011-07-23  9:57             ` Robin Gareus
       [not found]               ` <4E2A9B18.6030000-+VlDMftONaMdnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Robin Gareus @ 2011-07-23  9:57 UTC (permalink / raw)
  To: hermann
  Cc: Uwe Kleine-König, Rusty Russell, linux-rt-users,
	Thomas Gleixner, Grant Likely, devicetree-discuss, lguest

On 07/23/2011 05:17 AM, hermann wrote:
> Am Freitag, den 22.07.2011, 21:20 +0200 schrieb Uwe Kleine-König:
>> 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
> 
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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] Various fixups from first bug reports
       [not found]               ` <4E2A9B18.6030000-+VlDMftONaMdnm+yROfE0A@public.gmane.org>
@ 2011-07-23 14:19                 ` hermann
  2011-07-23 14:33                   ` Robin Gareus
  2011-07-23 18:53                   ` Uwe Kleine-König
  0 siblings, 2 replies; 10+ messages in thread
From: hermann @ 2011-07-23 14:19 UTC (permalink / raw)
  To: Robin Gareus
  Cc: lguest-uLR06cmDAlY/bJ5BZ2RsiQ,
	linux-rt-users-u79uwXL29TY76Z2rM5mHXA,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ, Grant Likely,
	Uwe Kleine-König, Thomas Gleixner

Am Samstag, den 23.07.2011, 11:57 +0200 schrieb Robin Gareus:
> 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 

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] Various fixups from first bug reports
  2011-07-23 14:19                 ` hermann
@ 2011-07-23 14:33                   ` Robin Gareus
  2011-07-23 15:21                     ` hermann
  2011-07-23 18:53                   ` Uwe Kleine-König
  1 sibling, 1 reply; 10+ messages in thread
From: Robin Gareus @ 2011-07-23 14:33 UTC (permalink / raw)
  To: hermann
  Cc: Uwe Kleine-König, Rusty Russell, linux-rt-users,
	Thomas Gleixner, Grant Likely, devicetree-discuss, lguest

On 07/23/2011 04:19 PM, hermann wrote:
> Am Samstag, den 23.07.2011, 11:57 +0200 schrieb Robin Gareus:
>> 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 
> 
> Hi Robin
> 
> Yes, using make-kpkg. I changed line 61 from 
> [..]
> but it didn't help, the result is still the same.
> /usr/bin/make    ARCH=i386 \
> 			     -C Documentation/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),..


> Schluss.
ende, aus :)

robin

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] Various fixups from first bug reports
  2011-07-23 14:33                   ` Robin Gareus
@ 2011-07-23 15:21                     ` hermann
  0 siblings, 0 replies; 10+ messages in thread
From: hermann @ 2011-07-23 15:21 UTC (permalink / raw)
  To: Robin Gareus
  Cc: Uwe Kleine-König, Rusty Russell, linux-rt-users,
	Thomas Gleixner, Grant Likely, devicetree-discuss, lguest

Am Samstag, den 23.07.2011, 16:33 +0200 schrieb Robin Gareus:
> On 07/23/2011 04:19 PM, hermann wrote:
> > Am Samstag, den 23.07.2011, 11:57 +0200 schrieb Robin Gareus:
> >> 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 
> > 
> > Hi Robin
> > 
> > Yes, using make-kpkg. I changed line 61 from 
> > [..]
> > but it didn't help, the result is still the same.
> > /usr/bin/make    ARCH=i386 \
> > 			     -C Documentation/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),..
> 
> 
> > 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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] Various fixups from first bug reports
  2011-07-23 14:19                 ` hermann
  2011-07-23 14:33                   ` Robin Gareus
@ 2011-07-23 18:53                   ` Uwe Kleine-König
  1 sibling, 0 replies; 10+ messages in thread
From: Uwe Kleine-König @ 2011-07-23 18:53 UTC (permalink / raw)
  To: hermann
  Cc: Robin Gareus, Rusty Russell, linux-rt-users, Thomas Gleixner,
	Grant Likely, devicetree-discuss, lguest

Hello,

On Sat, Jul 23, 2011 at 04:19:13PM +0200, hermann wrote:
> 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

-- 
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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-07-23 18:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <alpine.LFD.2.02.1107211932440.2702@ionos>
     [not found] ` <1311278277-8222-1-git-send-email-u.kleine-koenig@pengutronix.de>
     [not found]   ` <1311313414.2940.8.camel@box>
2011-07-22  6:57     ` [PATCH] Various fixups from first bug reports Uwe Kleine-König
2011-07-22  7:40       ` hermann
2011-07-22 11:04       ` Rusty Russell
     [not found]         ` <87y5zqzick.fsf-8n+1lVoiYb80n/F98K4Iww@public.gmane.org>
2011-07-22 19:20           ` Uwe Kleine-König
     [not found]         ` <20110722192051.GH16561@pengutronix.de>
2011-07-23  3:17           ` hermann
2011-07-23  9:57             ` Robin Gareus
     [not found]               ` <4E2A9B18.6030000-+VlDMftONaMdnm+yROfE0A@public.gmane.org>
2011-07-23 14:19                 ` hermann
2011-07-23 14:33                   ` Robin Gareus
2011-07-23 15:21                     ` hermann
2011-07-23 18:53                   ` Uwe Kleine-König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).