From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4A096821.9090609@domain.hid> Date: Tue, 12 May 2009 14:14:25 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <4A0949E7.2050309@domain.hid> In-Reply-To: <4A0949E7.2050309@domain.hid> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] gatekeeper/0 List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: henning.richter@domain.hid Cc: Xenomai help Gilles Chanteperdrix wrote: > henning.richter@domain.hid wrote: >> It really is the first bug. >> >> [ 2510.572237] BUG: unable to handle kernel paging request at b807a7fc >> [ 2510.576044] IP: [] profile_pc+0x46/0x50 >> [ 2510.576044] Oops: 0000 [#1] SMP >> [ 2510.576044] Modules linked in: nls_iso8859_1 nls_cp437 vfat fat e100 >> rt_eepro100 rtpacket rtnet af_packet i915 drm bridge stp bnep rfcomm sco >> l2cap bluetooth ppdev ipv6 iptable_filter ip_tables x_tables parport_pc lp >> parport sr_mod cdrom serio_raw evdev psmouse com20020_pci com20020 arcnet >> iTCO_wdt iTCO_vendor_support shpchp intel_agp pci_hotplug agpgart ext3 jbd >> mbcache sd_mod crc_t10dif sg usb_storage libusual ata_piix ata_generic >> libata mii uhci_hcd ehci_hcd scsi_mod dock usbcore fuse [last unloaded: >> e100] >> >> >> here the corresponding disassembly: >> >> c0107080 : >> c0107080: 55 push %ebp >> c0107081: 89 e5 mov %esp,%ebp >> c0107083: 83 ec 08 sub $0x8,%esp >> c0107086: 89 1c 24 mov %ebx,(%esp) >> c0107089: 89 74 24 04 mov %esi,0x4(%esp) > > Ok. So profile_pc reserves some room on the stack for mcount arguments... > >> c010708d: e8 da 24 01 00 call c011956c >> c0107092: f6 40 36 02 testb $0x2,0x36(%eax) >> c0107096: 8b 70 2c mov 0x2c(%eax),%esi >> c0107099: 89 c3 mov %eax,%ebx >> c010709b: 75 0d jne c01070aa >> c010709d: 8b 40 30 mov 0x30(%eax),%eax >> c01070a0: 25 fc 00 00 00 and $0xfc,%eax >> c01070a5: 83 f8 60 cmp $0x60,%eax >> c01070a8: 74 0e je c01070b8 >> c01070aa: 89 f0 mov %esi,%eax >> c01070ac: 8b 1c 24 mov (%esp),%ebx >> c01070af: 8b 74 24 04 mov 0x4(%esp),%esi > > And then tries to access the same room on the stack believing that the > frame pointer or pc is stored there. Game over. This is bullsh*t, I tried to give an answer too fast, so please try to disable the options I gave you. -- Gilles.