linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RT + comedi (dual boot ubuntu 9.10/debian 7.0)
@ 2013-06-26 13:08 Braud Caroline
  2013-06-26 14:04 ` Uwe Kleine-König
  2013-10-09  7:47 ` Braud Caroline
  0 siblings, 2 replies; 4+ messages in thread
From: Braud Caroline @ 2013-06-26 13:08 UTC (permalink / raw)
  To: linux-rt-users

Hi evryone,

I was using ubuntu 9.10 (ubuntustudio-9.10-alternate-amd64.iso) with linux-rt package.
It was working well, I could run the Cyclictest with good RT jitters.
Also, I was using comedi and could manage a USBDUX board and a M&C board (PCI-DAS6036).

 I needed to update my distrib for some reasons, so I did some search and found that Ubuntu does not support anymore the package linux-rt ... so I couldn't keep RT with an update version of ubuntu ...
I installed a debian distrib in dual boot using a liveCD (debian livecd 7.0 AMD64, Gnome).
Everthing went well and I could drive my board (PCI-DAS6036) with comedi without any problems.

Here is the structure of my disk:
/dev/sda1 = /boot
/dev/sda2 = /  (Unbuntu 9.10)
/dev/sda6 = /  (debian 7.0)
/dev/sda7 = /home 

with a common swap, home and boot for both distributions

$ sudo fdisk -l
Disque /dev/sda : 80.0 Go, 80026361856 octets
255 têtes, 63 secteurs/piste, 9729 cylindres, total 156301488 secteurs
Unités = secteurs de 1 * 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets
Identifiant de disque : 0x000aa812

Périphérique Amorce  Début        Fin      Blocs     Id  Système
/dev/sda1   *          63      208844      104391   83  Linux
/dev/sda2          208845    61641404    30716280   83  Linux
/dev/sda3        61641466   156296384    47327459+   5  Étendue
/dev/sda5        61641468    70027334     4192933+  82  partition d'échange Linux / Solaris
/dev/sda6        70027398   131459894    30716248+  83  Linux
/dev/sda7       131459958   156296384    12418213+  83  Linux


I was quite happy with that and I decided to boot the rt of the debian distribution. It was not working (it was frozen at the login stage ...). So I installed the RT following this website: http://www.pengutronix.com/software/linux-rt/debian_en.html

Since I installed it I have now 3 problems (that may be linked):
1- Grub erased my previous grub so I cannot boot on Ubuntu anymore ... (not linked directly to rt-user problems, but comes from the installation of rt distrib)
2- Cyclictest tests do not work anymore
3- My board is not reconnized automatically by comedi anymore

1-  
On debian: EVERYTHING OK
$ ls -lah /
lrwxrwxrwx   1 root root   40 juin  25 17:13 initrd.img -> /boot/initrd.img-2.6.33.7.2-rt30-1-amd64
lrwxrwxrwx   1 root root   30 juin  25 10:13 initrd.img.old -> /boot/initrd.img-3.2.0-4-amd64
lrwxrwxrwx   1 root root   36 juin  25 17:13 vmlinuz -> boot/vmlinuz-2.6.33.7.2-rt30-1-amd64
lrwxrwxrwx   1 root root   26 juin  25 10:18 vmlinuz.old -> boot/vmlinuz-3.2.0-4-amd64

On Ubuntu (from debian): PROBLEM WITH THE IMAGE LINK
$ sudo mkdir /mnt/Ubuntu
$ sudo mount /dev/sda2 /mnt/Ubuntu/
$ sudo mount /dev/sda1 /mnt/Ubuntu/boot
$ ls -lah /mnt/Ubuntu/
lrwxrwxrwx   1 root root   27 janv. 10  2012 initrd.img -> boot/initrd.img-2.6.31-9-rt
lrwxrwxrwx   1 root root   24 janv. 10  2012 vmlinuz -> boot/vmlinuz-2.6.31-9-rt

I understand the problem ... but how to repair it ?

2-
It seems that I'm missing linux-headers from kernel 2.6 (see bellow):

~/rt-tests$ make all
cc -D VERSION_STRING=0.85 -c src/cyclictest/cyclictest.c -Wall -Wno-nonnull -O2 -DNUMA -D_GNU_SOURCE -Isrc/include
In file included from src/cyclictest/cyclictest.c:37:0:
src/cyclictest/rt_numa.h:23:68: fatal error: /usr/src/linux-headers-2.6.31-9-rt/include/config/numa.h: Aucun fichier ou dossier de ce type
compilation terminated.
make: *** [cyclictest.o] Erreur 1

$ ls /usr/src/linux-headers-2.6.31-9-rt
ls: impossible d'accéder à /usr/src/linux-headers-2.6.31-9-rt: Aucun fichier ou dossier de ce type

$ sudo apt-get install  linux-headers-2.6.33.7.2-rt30-1-amd64
Les paquets suivants contiennent des dépendances non satisfaites :
 linux-headers-2.6.33.7.2-rt30-1-amd64 : Dépend: gcc-4.3 mais il n'est pas installable
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».

How can I solve this problem ? Can I install headers for kernel 2.6 together with linux-headers-3.2.0-4-amd64 from the standart debian ?

3-
/dev/comedi0: No such file or directory

(http://www.comedi.org/doc/install.html)

$ sudo modprobe options comedi comedi_num_legacy_minors=4
libkmod: ERROR ../libkmod/libkmod.c:505 kmod_lookup_alias_from_builtin_file: could not open builtin file '/lib/modules/2.6.33.7.2-rt30-1-amd64/modules.builtin.bin'
FATAL: Module options not found.

$ ls /lib/modules/2.6.33.7.2-rt30-1-amd64/
kernel           modules.alias.bin    modules.dep      modules.devname  modules.symbols
modules.alias  modules.builtin.bin  modules.dep.bin  modules.softdep  modules.symbols.bin

Please, can you tell me what went wrong with the installation of the rt distrib ??
Thanks and sorry for this long message,

Caro
PC: Intel/1xQuadCore @ 2.5 GHz, 4 GB RAM, 3 TB space
 
--
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] 4+ messages in thread
[parent not found: <52554911.4020109@nnytech.net>]

end of thread, other threads:[~2013-10-14 11:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-26 13:08 RT + comedi (dual boot ubuntu 9.10/debian 7.0) Braud Caroline
2013-06-26 14:04 ` Uwe Kleine-König
2013-10-09  7:47 ` Braud Caroline
     [not found] <52554911.4020109@nnytech.net>
2013-10-14 11:11 ` Braud Caroline

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).