View previous topic :: View next topic |
Author |
Message |
koma Advocate
Joined: 06 Jun 2003 Posts: 2702 Location: Italy
|
|
Back to top |
|
|
X-Drum Advocate
Joined: 24 Aug 2003 Posts: 2517 Location: ('Modica','Trieste','Ferrara') Italy
|
Posted: Fri Jan 07, 2005 11:49 pm Post subject: |
|
|
-scarica il patch
-decomprimilo e copialo nella root del kernel interessato
-patch -p1 < PatchDaApplicare.patch
-make menuconfig o il tuo metodo preferito
-abilita il supermount nella cfg, ricompila e via
edit: se vuoi andare sul sicuro usa un --dry-run per capire se la patch si applica con successo _________________ "...There are two sort of lies, lies and benchmarks..." |
|
Back to top |
|
|
koma Advocate
Joined: 06 Jun 2003 Posts: 2702 Location: Italy
|
|
Back to top |
|
|
koma Advocate
Joined: 06 Jun 2003 Posts: 2702 Location: Italy
|
Posted: Fri Jan 07, 2005 11:57 pm Post subject: |
|
|
Code: | # patch -p1 --dry-run < supermount-2.0.4-2.6.3.pat
ch
patching file Documentation/filesystems/00-INDEX
patching file drivers/cdrom/cdrom.c
Hunk #1 succeeded at 281 (offset 6 lines).
Hunk #2 succeeded at 340 (offset 6 lines).
Hunk #3 FAILED at 784.
Hunk #4 succeeded at 1034 (offset 238 lines).
Hunk #5 succeeded at 1117 (offset 238 lines).
Hunk #6 FAILED at 1131.
Hunk #7 FAILED at 1208.
Hunk #8 succeeded at 1484 (offset 242 lines).
Hunk #9 succeeded at 2267 (offset 402 lines).
Hunk #10 succeeded at 3105 (offset 406 lines).
3 out of 10 hunks FAILED -- saving rejects to file drivers/cdrom/cdrom.c.rej
patching file drivers/cdrom/cdu31a.c
Hunk #1 succeeded at 3003 (offset -171 lines).
Hunk #2 succeeded at 3048 (offset -159 lines).
Hunk #3 succeeded at 3062 (offset -159 lines).
patching file drivers/cdrom/cm206.c
patching file drivers/cdrom/mcd.c
Hunk #1 succeeded at 219 (offset -2 lines).
Hunk #2 succeeded at 252 (offset -2 lines).
Hunk #3 succeeded at 266 (offset -2 lines).
patching file drivers/cdrom/mcdx.c
Hunk #1 succeeded at 224 (offset -6 lines).
Hunk #2 succeeded at 259 (offset -6 lines).
Hunk #3 succeeded at 274 (offset -6 lines).
patching file drivers/cdrom/sbpcd.c
Hunk #1 succeeded at 5366 (offset 1 line).
Hunk #2 succeeded at 5401 (offset 1 line).
Hunk #3 succeeded at 5416 (offset 1 line).
patching file drivers/ide/ide-cd.c
Hunk #1 succeeded at 3449 (offset 9 lines).
Hunk #2 succeeded at 3501 (offset 9 lines).
patching file drivers/ide/ide-floppy.c
Hunk #1 succeeded at 99 with fuzz 2 (offset 1 line).
Hunk #2 succeeded at 1892 (offset 13 lines).
Hunk #3 succeeded at 1939 (offset 13 lines).
Hunk #4 succeeded at 1972 (offset 14 lines).
Hunk #5 succeeded at 2040 (offset 14 lines).
patching file drivers/scsi/sd.c
Hunk #1 FAILED at 47.
Hunk #2 succeeded at 470 with fuzz 1 (offset 38 lines).
Hunk #3 succeeded at 501 (offset 38 lines).
Hunk #4 succeeded at 662 (offset 40 lines).
Hunk #5 succeeded at 750 (offset 96 lines).
Hunk #6 succeeded at 802 (offset 96 lines).
1 out of 6 hunks FAILED -- saving rejects to file drivers/scsi/sd.c.rej
patching file drivers/scsi/sr.c
Hunk #1 FAILED at 423.
Hunk #2 succeeded at 527 (offset 59 lines).
Hunk #3 succeeded at 543 (offset 59 lines).
1 out of 3 hunks FAILED -- saving rejects to file drivers/scsi/sr.c.rej
patching file fs/Kconfig
Hunk #1 succeeded at 974 (offset 65 lines).
patching file fs/Makefile
Hunk #1 FAILED at 91.
1 out of 1 hunk FAILED -- saving rejects to file fs/Makefile.rej
patching file fs/block_dev.c
Hunk #1 succeeded at 525 (offset 21 lines).
patching file fs/namespace.c
Hunk #1 succeeded at 1046 (offset 270 lines).
patching file fs/super.c
Hunk #1 succeeded at 86 (offset 7 lines).
Hunk #2 succeeded at 557 (offset 55 lines).
Hunk #3 succeeded at 763 (offset 151 lines).
Hunk #4 succeeded at 882 (offset 155 lines).
Hunk #5 succeeded at 940 with fuzz 2 (offset 158 lines).
patching file fs/ext2/super.c
Hunk #1 succeeded at 292 (offset -11 lines).
patching file fs/isofs/inode.c
Hunk #1 succeeded at 364 (offset -4 lines).
patching file fs/udf/super.c
Hunk #1 succeeded at 274 (offset -2 lines).
Hunk #2 succeeded at 299 (offset -2 lines).
Hunk #3 FAILED at 422.
1 out of 3 hunks FAILED -- saving rejects to file fs/udf/super.c.rej
patching file include/linux/cdrom.h
Hunk #1 succeeded at 992 with fuzz 2 (offset 57 lines).
patching file include/linux/fs.h
Hunk #1 FAILED at 89.
Hunk #2 succeeded at 128 (offset 15 lines).
Hunk #3 succeeded at 615 (offset 75 lines).
Hunk #4 succeeded at 818 (offset 92 lines).
Hunk #5 succeeded at 919 (offset 132 lines).
1 out of 5 hunks FAILED -- saving rejects to file include/linux/fs.h.rej
patching file include/linux/genhd.h
Hunk #1 succeeded at 126 (offset 20 lines).
patching file Documentation/filesystems/supermount.txt
patching file fs/supermount/Kconfig
patching file fs/supermount/Makefile
patching file fs/supermount/changelog
patching file fs/supermount/dentry.c
patching file fs/supermount/file.c
patching file fs/supermount/filemap.c
patching file fs/supermount/init.c
patching file fs/supermount/mediactl.c
patching file fs/supermount/namei.c
patching file fs/supermount/proc.c
patching file fs/supermount/subfs.c
patching file fs/supermount/super.c
patching file fs/supermount/supermount.h
patching file include/linux/supermount_media.h
| Penso non abbia patchato no? _________________ http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD |
|
Back to top |
|
|
randomaze Bodhisattva
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Sat Jan 08, 2005 12:16 am Post subject: |
|
|
La procedura é corretta, tuttavia:
koma wrote: | [code]# patch -p1 --dry-run < supermount-2.0.4-2.6.3.patch
Hunk #3 FAILED at 784.
Hunk #6 FAILED at 1131.
Hunk #7 FAILED at 1208.
3 out of 10 hunks FAILED -- saving rejects to file
Hunk #1 FAILED at 47.
1 out of 6 hunks FAILED -- saving rejects to file drivers/scsi/sd.c.rej
Hunk #1 FAILED at 423.
1 out of 3 hunks FAILED -- saving rejects to file drivers/scsi/sr.c.rej
Hunk #1 FAILED at 91.
1 out of 1 hunk FAILED -- saving rejects to file fs/Makefile.rej
Hunk #3 FAILED at 422.
1 out of 3 hunks FAILED -- saving rejects to file fs/udf/super.c.rej
Hunk #1 FAILED at 89.
1 out of 5 hunks FAILED -- saving rejects to file include/linux/fs.h.rej
|
Significa che alcune cose sono fallite. Neanche tantre, tra l'altro.
O ti apri i vari rej e cerchi, (a manina) si sistemare i sorgenti a tuo piacere, oppure aspetti che qualcuno fornisca una patch aggiornata.... _________________ Ciao da me! |
|
Back to top |
|
|
X-Drum Advocate
Joined: 24 Aug 2003 Posts: 2517 Location: ('Modica','Trieste','Ferrara') Italy
|
Posted: Sat Jan 08, 2005 12:23 am Post subject: |
|
|
fortunatamente NO dato che hai dato il --dry-run!!
ti faccio notare quanti hunks ci sono, questa non è la patch adeguata al tuo kernel....
supermount è terribilmente buggato ad ogni modo nn so dove reperire una patch per il tuo kernel (versione ?_?)
prova ad emergere un kernel già patchato per il supermount se ce ne sono
ancora, gli ultimi nitro mi pare non includano il supermount _________________ "...There are two sort of lies, lies and benchmarks..." |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31447 Location: here
|
Posted: Sat Jan 08, 2005 9:23 am Post subject: |
|
|
E usare submount? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
X-Drum Advocate
Joined: 24 Aug 2003 Posts: 2517 Location: ('Modica','Trieste','Ferrara') Italy
|
Posted: Sat Jan 08, 2005 11:39 am Post subject: |
|
|
fedeliallalinea wrote: | E usare submount? |
ha ragione fedeli, sicuramente darà risultati migliori del supermount
c'erano dei 3d in merito sul forum... _________________ "...There are two sort of lies, lies and benchmarks..." |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31447 Location: here
|
|
Back to top |
|
|
koma Advocate
Joined: 06 Jun 2003 Posts: 2702 Location: Italy
|
|
Back to top |
|
|
X-Drum Advocate
Joined: 24 Aug 2003 Posts: 2517 Location: ('Modica','Trieste','Ferrara') Italy
|
Posted: Sat Jan 08, 2005 4:37 pm Post subject: |
|
|
ma lol,cose' i tag saltano fuori come funghi?
ma quella dei tag nn doveva divenire una convenzione???
_________________ "...There are two sort of lies, lies and benchmarks..." |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31447 Location: here
|
Posted: Sat Jan 08, 2005 4:51 pm Post subject: |
|
|
koma wrote: | fatto nn metto il tag risolto al max metto [aggirato] |
Beh credo che comunque submount rimpiazzera' supermount, quindi non e' un vero e proprio aggiramento _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31447 Location: here
|
Posted: Sat Jan 08, 2005 4:52 pm Post subject: |
|
|
X-Drum wrote: | ma quella dei tag nn doveva divenire una convenzione???
|
Mi limito a controllari il tag [risolto] non riesco a controllare gli altri tag ultimamente perche' ci sono troppi post e troppa poca gente che li usa _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
X-Drum Advocate
Joined: 24 Aug 2003 Posts: 2517 Location: ('Modica','Trieste','Ferrara') Italy
|
Posted: Sat Jan 08, 2005 5:05 pm Post subject: |
|
|
ci mancherebbe anche che i moderatori si mettessero a controllare tutti i vari tag attribuiti ai 3ds....
ci vorrebbe un "po" di collaborazione da parte di chi posta.... _________________ "...There are two sort of lies, lies and benchmarks..." |
|
Back to top |
|
|
|