All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Klaas Gadeyne <klaas.gadeyne@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] ksrc/driver refactoring
Date: Wed, 16 Aug 2006 16:46:03 +0200	[thread overview]
Message-ID: <44E32FAB.5030505@domain.hid> (raw)
In-Reply-To: <44E32B64.90108@domain.hid>

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

Jan Kiszka wrote:
> Klaas Gadeyne wrote:
>>> I just wanted to drop a note that I did some refactoring on the
>>> drivers directory (16550A->serial) and the config menus. If anything is
>>> broken, shoot me.
>> I don't think this is related, but 2 students of mine got stuck on a linker
>> error this morning trying to compile xenomai-trunk on a i386 target
>> (2.4.33 kernel with the adeos-ipipe-2.4.32-i386-1.2-06.patch (applied
>> with a few minor hunks), gcc 3.3.6 from Debian).
>>
>> ld -m elf_i386 -T /usr/src/linux-2.4.33/arch/i386/vmlinux.lds -e stext
>> arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/
>> main.o init/version.o init/do_mounts.o \
>>                --start-group \
>>                arch/i386/kernel/kernel.o arch/i386/mm/mm.o
>> kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
>>                 drivers/acpi/acpi.o drivers/char/char.o
>> drivers/block/block.o drivers/misc/misc.o drivers/net/net.o
>> drivers/char             /agp/agp.o drivers/ide/idedriver.o
>> drivers/cdrom/driver.o drivers/pci/driver.o drivers/pcmcia/pcmcia.o
>> drivers/net/pcmcia/pcmcia_             net.o drivers/video/video.o
>> drivers/media/media.o kernel/xenomai/nucleus/xeno_nucleus.o
>> kernel/xenomai/skins/native/xeno_native.o
>> kernel/xenomai/skins/posix/xeno_posix.o
>> kernel/xenomai/skins/rtdm/xeno_rtdm.o
>> drivers/xenomai/16550A/xeno_16550A.o drivers/xenom
>> ai/testing/xeno_timerbench.o arch/i386/xenomai/built-in.o \
>>                net/network.o \
>>                /usr/src/linux-2.4.33/arch/i386/lib/lib.a
>> /usr/src/linux-2.4.33/lib/lib.a
>> /usr/src/linux-2.4.33/arch/i386/lib/lib             .a \
>>                --end-group \
>>                -o vmlinux
>> drivers/char/char.o: In function `handle_scancode':
>> (.text+0x1b25a): undefined reference to `pckbd_sysrq_xlate'
>> make: *** [vmlinux] Error 1
>>
>> The "quick-fix" solution was to disable the magic_sysrq_key option
>> from the kernel.  I first thought the problem was due to a missing
>> dependency in the the kernel and not at all xenomai-related (and since
>> the quick hack worked, they didn't search any further), but now that
>> I've read your mail I started to doubt if it might be related.
>>
>> Let me know if it might be related and if you want further info.
> 
> Could you post your .config (bzipped or privately)? Maybe it's also
> related to the pending issues around the kd_mksound stuff. I assume you
> checked that the problem disappears over vanilla 2.4.33, thus is
> actually Xenomai or Adeos related...
> 

Further hint: 2.4 is sometimes very sensitive to reconfiguring without
appropriate cleaning. It may help to run "make clean" and then retry the
build.

So far I found no problems here with CONFIG_MAGIC_SYSRQ=y.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

  reply	other threads:[~2006-08-16 14:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-16 14:14 [Xenomai-core] ksrc/driver refactoring Klaas Gadeyne
2006-08-16 14:27 ` Jan Kiszka
2006-08-16 14:46   ` Jan Kiszka [this message]
2006-08-18 16:00 ` Philippe Gerum
2006-08-21  7:25   ` Klaas Gadeyne
  -- strict thread matches above, loose matches on Subject: below --
2006-08-14 17:20 Jan Kiszka

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=44E32FAB.5030505@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=klaas.gadeyne@domain.hid \
    --cc=xenomai@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.