| Autor | Nachricht | 
  
    |  | 
        
					| Titel: 2.6.17-kanotix-1: install-kernel-source-vanilla.sh  Verfasst am: 20.06.2006, 21:14 Uhr |  | 
  
    | 
        
          | 
 
 Anmeldung: 11. Aug 2005
 Beiträge: 7
 Wohnort: NRW
 
 |  | 
        
          | Hallo, 
 nach einem heutigen Kernel-Update auf 2.6.17-kanotix-1 habe ich
 (damit truecrypt 4.2 wieder neu installiert werden kann),
 
 install-kernel-source-vanilla.sh
 
 ausgeführt, bekomme aber folgende Meldung:
 
 ...... --21:38:28-- ftp://ftp.uk.kernel.org/pub/linux/kerne ... -1.tar.bz2
 => `linux-2.6.17-kanotix-1.tar.bz2'
 ==> CWD nicht erforderlich.
 ==> PASV ... fertig. ==> RETR linux-2.6.17-kanotix-1.tar.bz2 ...
 Die Datei »linux-2.6.17-kanotix-1.tar.bz2« gibt es nicht.
 
 Was kann man da machen?
 
 Schon im voraus vielen Dank für eure Hilfe!
 
 tuxman
 |  
          |  |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
    |  | 
        
					| Titel: 2.6.17-kanotix-1: install-kernel-source-vanilla.sh  Verfasst am: 20.06.2006, 22:42 Uhr |  | 
  
    | 
        
          | 
 
 Anmeldung: 13. Feb 2004
 Beiträge: 373
 
 
 |  | 
        
          | Allgemein sollte man erst ein update-scripts-kanotix.sh machen. Allerdings ist install-kernel-source-vanilla.sh scheinbar noch nicht aktualisiert. Nimm solange http://kanotix.com/files/fix/kanotix-source.sh - macht das gleiche aber nur für diesen Kernel... 
 
 danone
 |  
          |  |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
    |  | 
        
					| Titel: 2.6.17-kanotix-1: install-kernel-source-vanilla.sh  Verfasst am: 21.06.2006, 06:36 Uhr |  | 
  
    | 
        
          | 
  
 Anmeldung: 23. Sep 2004
 Beiträge: 618
 
 
 |  | 
        
          | Das entspr. Script um die Sourcen zu holen ist im Kernel-Zip! |  
          | _________________
 Ich bin nicht die Signatur, ich Putz' hier nur
   Nach Diktat spazieren gegangen
   
   |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
    |  | 
        
					| Titel:  Verfasst am: 21.06.2006, 11:55 Uhr |  | 
  
    | 
        
          | 
 
 Anmeldung: 11. Aug 2005
 Beiträge: 7
 Wohnort: NRW
 
 |  | 
        
          | Die Sourcen habe ich mit kanotix-source.sh
 installiert bekommen, insoweit DANKE für die Hinweise,
 trotzdem klappt es leider noch nicht mit Truecrypt:
 
 Checking build requirements...
 Preparing kernel build system in /usr/src/linux-2.6.17-kanotix-1... Done.
 Building kernel module... /home/se/truecrypt-4.2/Linux/Kernel/Dm-target.c: In fu                             nction 'truecrypt_ctr':
 /home/se/truecrypt-4.2/Linux/Kernel/Dm-target.c:164: error: 'SECTOR_FORMAT' unde                             clared (first use in this function)
 /home/se/truecrypt-4.2/Linux/Kernel/Dm-target.c:164: error: (Each undeclared ide                             ntifier is reported only once
 /home/se/truecrypt-4.2/Linux/Kernel/Dm-target.c:164: error: for each function it                              appears in.)
 /home/se/truecrypt-4.2/Linux/Kernel/Dm-target.c: In function 'truecrypt_endio':
 /home/se/truecrypt-4.2/Linux/Kernel/Dm-target.c:378: error: expected ')' before                              'SECTOR_FORMAT'
 /home/se/truecrypt-4.2/Linux/Kernel/Dm-target.c: In function 'truecrypt_map':
 /home/se/truecrypt-4.2/Linux/Kernel/Dm-target.c:423: error: expected ')' before                              'SECTOR_FORMAT'
 /home/se/truecrypt-4.2/Linux/Kernel/Dm-target.c:550: error: expected ')' before                              'SECTOR_FORMAT'
 /home/se/truecrypt-4.2/Linux/Kernel/Dm-target.c: In function 'truecrypt_status':
 /home/se/truecrypt-4.2/Linux/Kernel/Dm-target.c:572: error: expected ')' before                              'SECTOR_FORMAT'
 make[2]: *** [/home/se/truecrypt-4.2/Linux/Kernel/Dm-target.o] Fehler 1
 make[1]: *** [_module_/home/se/truecrypt-4.2/Linux/Kernel] Fehler 2
 make: *** [truecrypt] Fehler 2
 Error: Failed to build kernel module
 
 Hat jemand einen Tipp für einen DAU?
 
 MfG
 tuxman
 |  
          |  |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
    |  | 
        
					| Titel:  Verfasst am: 21.06.2006, 14:27 Uhr |  | 
  
    | 
        
          | 
 
 Anmeldung: 09. Jan 2006
 Beiträge: 1720
 
 
 |  | 
        
          | schau mal nach was für einen GCC du benutzt, und die Abhängikeiten für das zu kompilierende Modul. 
 Welchen GCC braucht das Modul?
 
 Der Fehler
 
 /home/se/truecrypt-4.2/Linux/Kernel/Dm-target.c:164: error: 'SECTOR_FORMAT' unde clared (first use in this function)
 deutet auf einen Fehler in diesem Modul(Funktion) vor Zeile 164 hin.
 
 
 Kann auch in der Header-Datei liegen
 |  
          |  |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
    |  | 
        
					| Titel: 2.6.17-kanotix-1: install-kernel-source-vanilla.sh [Gelöst]  Verfasst am: 21.06.2006, 20:30 Uhr |  | 
  
    | 
        
          | 
 
 Anmeldung: 11. Aug 2005
 Beiträge: 7
 Wohnort: NRW
 
 |  | 
        
          | Hallo, 
 bin nun im Linux-Forum von Truecrypt.org fündig geworden.
 Truecrypt 4.2 funktioniert nicht mehr ohne weiteres mit dem Kernel 2.6.17,
 weil dort „SECTOR_FORMAT“ entfernt wurde:
 
 from "http://kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.17-rc1":
 
 commit 4ee218cd67b385759993a6c840ea45f0ee0a8b30
 Author: Andrew Morton <akpm@osdl.org>
 Date: Mon Mar 27 01:17:48 2006 -0800
 
 [PATCH] dm: remove SECTOR_FORMAT
 
 We don't know what type sector_t has. Sometimes it's unsigned long, sometimes
 it's unsigned long long. For example on ppc64 it's unsigned long with
 CONFIG_LBD=n and on x86_64 it's unsigned long long with CONFIG_LBD=n.
 
 The way to handle all of this is to always use unsigned long long and to
 always typecast the sector_t when printing it.
 
 Acked-by: Alasdair G Kergon <agk@redhat.com>
 Signed-off-by: Andrew Morton <akpm@osdl.org>
 Signed-off-by: Linus Torvalds <torvalds@osdl.org>
 
 
 Hier dazu eine auch bei mir funktionierende Lösung aus dem o.g. Forum:
 
 a solution for the bug is to add this rows
 
 #define SECTOR_FORMAT "%lu"
 #define SECTOR_FORMAT "%llu"
 
 to this file /usr/src/linux/drivers/md/dm.h
 
 Anschließend lief das build.sh fehlerfrei durch.
 
 MfG
 tuxman
 
 EDIT: Farbe geändert
 |  
          | 
 Zuletzt bearbeitet von tuxman am 21.06.2006, 23:26 Uhr, insgesamt ein Mal bearbeitet
 |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
    |  | 
        
					| Titel: 2.6.17-kanotix-1: install-kernel-source-vanilla.sh  Verfasst am: 21.06.2006, 21:51 Uhr |  | 
  
    | 
        
          | 
 
 Anmeldung: 05. Dez 2005
 Beiträge: 190
 
 
 |  | 
        
          | Was für schöne Farben  hast Du Deiner Schrift gegeben, das kann ja kein Schw....n lesen.   
 Gruß, billy
 |  
          |  |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
    |  | 
        
					| Titel:  Verfasst am: 09.07.2006, 14:16 Uhr |  | 
  
    | 
        
          | 
  
 Anmeldung: 05. Apr 2005
 Beiträge: 499
 Wohnort: Bielefeld <:-P
 
 |  | 
        
          | @tuxman 
 eher so (getestet bei x86-32Bit)
 In /usr/src/linux/drivers/md/dm.h einzufügen:
 Code: 
/* Truecrypt 4.2 fix (only tested on x86-32Bit) */
Habe hier einen orig. Kano 2.6.17 (ohne CONFIG_LBD) und einen eigenen (mit CONFIG_LBD), wenn das 'falsche' Format gewählt wurde zeigt 'truecrypt -l' nichts sonderlich sinnvolles an... Funktion ist aber erforderlich für's Skript Truecrypt Mounting per KDE-Kontextmenüs...#ifndef CONFIG_LBD /* Large Block Device defined*/
 #define SECTOR_FORMAT "%lu" /* No 32Bit uint */
 #else
 #define SECTOR_FORMAT "%llu" /* Yes 64Bit uint */
 #endif
 
 Update: es gibt eine neuere Version (Truecrypt4.2a vom 3. Juli) dort braucht dm.h nicht mehr angepasst zu werden.
 
 mfg. Hack-o-Master
 |  
          | _________________
 sidux2007-02 64Bit, Kernel 2.6.23rc..(Crypto-root), X.org 7.3, KDE 3.5.7
 http://bernd-das-brot.de.be | Gästebuch ,  certified B.O.F.H.
 |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
  
    |  |