Debian auf einem RAQ3

Du kommst mit der Installation nicht voran oder willst noch was nachfragen? Schau auch in den "Tipps und Tricks"-Bereich.
wageck
Beiträge: 22
Registriert: 10.08.2006 13:06:55
Kontaktdaten:

Beitrag von wageck » 11.08.2006 21:33:03

das mit dem no paste hatte nicht funktioniert aber ich werds das nächste mal nochmal versuchen und wegen dem gcc hoff ich das mir jemand helfen kann oder kann ich irgend wie den gcc downgraden ?

Spasswolf
Beiträge: 3472
Registriert: 30.11.2005 10:32:22
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Wald

Beitrag von Spasswolf » 11.08.2006 21:42:08

Du kannst auch mehere gcc Versionen parallel installiert haben, den Kernel kannst du dann mit dem gewünschten gcc z. B. so kompilieren:

Code: Alles auswählen

CC=gcc-2.95 make-kpkg ...

wageck
Beiträge: 22
Registriert: 10.08.2006 13:06:55
Kontaktdaten:

Beitrag von wageck » 12.08.2006 14:54:08

ok danke wisst ihr welchen gcc ich mit apt-get installieren muss damit es funktioiniert ?

wageck
Beiträge: 22
Registriert: 10.08.2006 13:06:55
Kontaktdaten:

Beitrag von wageck » 15.08.2006 14:08:10

wist uhr zumindest wie ich rausfinde welches gcc ich brauche ?

wageck
Beiträge: 22
Registriert: 10.08.2006 13:06:55
Kontaktdaten:

Beitrag von wageck » 21.08.2006 09:01:26

weis nieand wie ich raus finde welchen gcc ich bauche ?

Benutzeravatar
garibaldi
Beiträge: 2443
Registriert: 17.09.2004 02:31:12
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Berlin

Beitrag von garibaldi » 21.08.2006 09:13:59

wageck hat geschrieben:weis nieand wie ich raus finde welchen gcc ich bauche ?
Schon in den README und INSTALL dokumenten geschaut, die sich im Verzeichnis befinden, aus dem ./configure aufgerufen wird?

Auch ein Versuch:

Code: Alles auswählen

 grep gcc configure | less
, da steht ja vielleicht drin, welche Version erforderlich ist.

Naja, und totgegoogelt hast du dich wahrscheinlich schon.
Was einer im Reiche der Wahrheit erwirbt, hat er allen erworben... -- Schiller

gms
Beiträge: 7798
Registriert: 26.11.2004 20:08:38
Lizenz eigener Beiträge: MIT Lizenz

Beitrag von gms » 21.08.2006 11:10:17

wenn man zu der Fehlermeldung

Code: Alles auswählen

ruler.c:50: error: syntax error before '*' token
die entsprechende Codezeile betrachtet,

Code: Alles auswählen

static ide_busproc_t *busprocs[MAX_COBT_DRIVES];
dürfte es sich dabei nicht um ein Compiler(versions)problem handeln. "ide_busproc_t" wurde hier einfach nicht deklariert.
Nachdem das auch die einzige Referenz auf "ide_busproc_t" ist, dürfte es genügen, wenn du folgende Zeile in drivers/cobalt/ruler.c einfügst:

Code: Alles auswählen

typedef int (ide_busproc_t)(ide_drive_t *, int);
und zwar nach den "#include"-Zeilen und vor der Zeile 50 (würde die Zeile 42 vorschlagen)

Gruß
gms

wageck
Beiträge: 22
Registriert: 10.08.2006 13:06:55
Kontaktdaten:

Beitrag von wageck » 22.08.2006 12:29:29

danke fpr den tip ich bin jetzt schon weiter hänge jetzt aber bei folgendem

11) Install the kernel
First, chroot into /mnt. Then dpkg -i the kernel .deb that you want. Make sure that you have a /boot/vmlinux.bz2 file or link, as that's what the rom will look for at boot time. If you plan on doing this step & upgrading to a newer kernel, you may have to load the ethernet drivers as a module. If you system comes up & eth0 is not configured, then add "eepro100" to /etc/modules to get it to load the ethernet module at bootup.

also hab ich chroot /mnt gemacht und dann

Code: Alles auswählen

cd /usr/src/linux
dpkg -i ../kernel-image-2.4.30-bf7-c7-iii_custom.1.0_i386.deb
gemacht doch dann bekomme ich diesen fehler

Code: Alles auswählen

debian:/usr/src/linux# dpkg -i ../kernel-image-2.4.30-bf7-c7-iii_custom.1.0_i386.deb
(Reading database ... 2938 files and directories currently installed.)
Preparing to replace kernel-image-2.4.30-bf7-c7-iii custom.1.0 (using .../kernel-image-2.4.30-bf7-c7-iii_custom.1.0_i386.deb) ...

You are attempting to install an initrd kernel image (version 2.4.30-bf7-c7-iii)
This will not work unless you have configured your boot loader to use initrd. (An initrd image is a kernel image that expects to use an INITial Ram Disk to mount a minimal root file system into RAM and use that for booting).

   As a reminder, in order to configure LILO, you need to add an 'initrd=/initrd.img' to the image=/vmlinuz  stanza of your /etc/lilo.conf

I repeat, You need to configure your boot loader -- please read your bootloader documentation for details on how to add initrd images.

If you have already done so, and you wish to get rid of this message, please put
  "do_initrd = Yes" in /etc/kernel-img.conf. Note that this is optional, but if you do not, you will continue to see this message whenever you install a kernel image using initrd.
Do you want to stop now? [Y/n]n
You are attempting to install a kernel image (version 2.4.30-bf7-c7-iii)
However, the directory /lib/modules/2.4.30-bf7-c7-iii still exists.  If this directory belongs to a previous kernel-image-2.4.30-bf7-c7-iii package, and if you have deselected some modules, or installed standalone modules packages, this could be bad. However, if this directory exists because you are also installing some stand alone modules right now, and they got unpacked before I did, then this is pretty benign.  Unfortunately, I can not tell the difference.

If /lib/modules/2.4.30-bf7-c7-iii belongs to a old install of kernel-image-2.4.30-bf7-c7-iii, then this is your last chance to abort the installation of this kernel image (nothing has been changed yet).

If this directory is because of stand alone modules being installed right now, or if it does belong to an older kernel-image-2.4.30-bf7-c7-iii package but you know what you are doing, and if you feel that this image should be installed despite this anomaly, Please answer n to the question.

Otherwise, I suggest you move /lib/modules/2.4.30-bf7-c7-iii out of the way, perhaps to /lib/modules/2.4.30-bf7-c7-iii.old or something, and then try re-installing this image.
Do you want to stop now? [Y/n]n
Unpacking replacement kernel-image-2.4.30-bf7-c7-iii ...
Setting up kernel-image-2.4.30-bf7-c7-iii (custom.1.0) ...
/usr/sbin/mkinitrd: neither /dev/fd or /proc/self/fd exists!
Try mounting the proc filesystem: mount -tproc none /proc
Failed to create initrd image.
dpkg: error processing kernel-image-2.4.30-bf7-c7-iii (--install):
 subprocess post-installation script returned error exit status 9
Errors were encountered while processing:
 kernel-image-2.4.30-bf7-c7-iii
und jetzt hab ich null plan was ich machen muss damit es weitergehen kann

wageck
Beiträge: 22
Registriert: 10.08.2006 13:06:55
Kontaktdaten:

Beitrag von wageck » 25.08.2006 21:28:47

niemand ne idee ?

gms
Beiträge: 7798
Registriert: 26.11.2004 20:08:38
Lizenz eigener Beiträge: MIT Lizenz

Beitrag von gms » 25.08.2006 22:15:44

naja, es stellt sich einmal die Frage, ob du überhaupt einen Kernel mit initrd haben möchtest, im How-To habe ich davon eigentlich nichts gelesen.
Wenn du trotzdem umbedingt eine initrd erzeugen willst, dann steht ja in der obigen Fehlermeldung ein Lösungsvorschlag:
/usr/sbin/mkinitrd: neither /dev/fd or /proc/self/fd exists!
Try mounting the proc filesystem: mount -tproc none /proc
Du bist also eigentlich nicht auf unsere Ideen angewiesen :roll:

Gruß
gms

Antworten