All of lore.kernel.org
 help / color / mirror / Atom feed
From: "J.D. Yamokoski" <yamokosk@domain.hid>
To: rpm@xenomai.org
Cc: adeos-main@gna.org
Subject: Re: [Adeos-main] Problems booting after Adeos patch
Date: Mon, 02 Oct 2006 12:11:34 -0400	[thread overview]
Message-ID: <45213A36.3010003@domain.hid> (raw)
In-Reply-To: <1159537448.4964.8.camel@domain.hid>

Philippe Gerum wrote:
> On Fri, 2006-09-29 at 08:59 -0400, J.D. Yamokoski wrote:
>   
>> Philippe Gerum wrote:
>>     
>>> On Thu, 2006-09-28 at 22:27 +0200, Philippe Gerum wrote:
>>>
>>>       
>>>> Ok, thanks. Just for the purpose of finding some grip on this issue,
>>>> could you:
>>>> 1) apply the patch below; I suspect some unwanted IRQ migration issue,
>>>> but can't prove it right now.
>>>> 2) if this patch does not solve the boot problem with CONFIG_PCI_MSI
>>>> enabled, then does disabling CONFIG_SMP improve the situation?
>>>>
>>>> TIA,
>>>>
>>>>         
>>> Actually, this patch would be better for the purpose of testing.
>>>
>>> --- 2.6.17-ipipe/kernel/irq/migration.c.orig	2006-09-28 22:28:20.000000000 +0200
>>> +++ 2.6.17-ipipe/kernel/irq/migration.c	2006-09-28 22:30:13.000000000 +0200
>>> @@ -17,6 +17,10 @@
>>>  	cpumask_t tmp;
>>>  	irq_desc_t *desc = irq_descp(irq);
>>>  
>>> +#ifdef CONFIG_IPIPE
>>> +	return;
>>> +#endif /* CONFIG_IPIPE */
>>> +
>>>  	if (likely(!desc->move_irq))
>>>  		return;
>>>  
>>>       
>> Real quick, does it matter if I was using the Adeos I-pipe patch for 
>> kernel 2.6.15 when I ran into my problems? That patch looks like it is 
>> for 2.6.17 - But I can try either one.
>>     
>
> That should be ok for any version that implements the generic IRQ
> migration code, and 2.6.15 does.
>
>   
I am definitely not a kernel hacker, but I could not find a migration.c 
in 2.6.15. Maybe that functionality is done somewhere else. 
Nevertheless, I downloaded kernel version 2.6.17.13 and tried out your 
patch for migration.c on my machine. So I first patched a fresh copy of 
2.6.17.13 with adeos-ipipe-2.6.17-i386-1.4-00.patch. Then I applied your 
migration.c patch given above.

With CONFIG_PCI_MSI and SMP enabled I get slightly different behavior 
during boot (no error messages) but the same result. Towards the end of 
boot up I get "Begin: waiting for root file system ... ..." and hangs.

With SMP disabled, and the patches applied, it boots with no problems.

Hope this helps! Let me know if there is anything else to try.

J.D.


  reply	other threads:[~2006-10-02 16:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-27 21:36 [Adeos-main] Problems booting after Adeos patch J.D. Yamokoski
2006-09-27 23:30 ` Jan Kiszka
2006-09-28 14:06   ` J.D. Yamokoski
2006-09-28 14:23     ` Jan Kiszka
2006-09-28 14:44       ` Philippe Gerum
2006-09-28 17:08         ` J.D. Yamokoski
2006-09-28 20:27           ` Philippe Gerum
2006-09-28 20:31             ` Philippe Gerum
2006-09-29 12:59               ` J.D. Yamokoski
2006-09-29 13:44                 ` Philippe Gerum
2006-10-02 16:11                   ` J.D. Yamokoski [this message]
2006-10-14 21:54                     ` [Xenomai-core] Adeos + CONFIG_PCI_MSI issue Philippe Gerum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45213A36.3010003@domain.hid \
    --to=yamokosk@domain.hid \
    --cc=adeos-main@gna.org \
    --cc=rpm@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.