From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <44E32FAB.5030505@domain.hid> Date: Wed, 16 Aug 2006 16:46:03 +0200 From: Jan Kiszka MIME-Version: 1.0 Subject: Re: [Xenomai-core] ksrc/driver refactoring References: <44E32B64.90108@domain.hid> In-Reply-To: <44E32B64.90108@domain.hid> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigEC9B6D48F2B1EBCBB3D29FAD" Sender: jan.kiszka@domain.hid List-Id: "Xenomai life and development \(bug reports, patches, discussions\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Klaas Gadeyne Cc: xenomai@xenomai.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigEC9B6D48F2B1EBCBB3D29FAD Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable 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 l= inker >> 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. >=20 > 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... >=20 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=3Dy. Jan --------------enigEC9B6D48F2B1EBCBB3D29FAD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE4y+rniDOoMHTA+kRAnDxAJ9MnybksXjPHvNb32/z/9x8NTeAyACeMmu1 NrsSS6dOaWXusv3/qbzWDHo= =cphl -----END PGP SIGNATURE----- --------------enigEC9B6D48F2B1EBCBB3D29FAD--