Toon posts:

[RH7.3]problemen met kernel modules

Pagina: 1
Acties:

Verwijderd

Topicstarter
Het zit zo:

ik ben bezig met een openMosix cluster te bouwe van een amd k6/2-300 k6/2-450 een athlon 600 en een p2-266

alle pc's op de k6/2 450 (mijn pc) worden gestart met openMosixLOAF floppy. Deze heeft geen DFSA ondersteuning en moet ik die dus uitschakelen op mijn pc die Redhat draait.

ik heb dus de source RPM van openMosix gedownload en geinstalleerd.

daarna de vanila kernel uitgepakt en staat nu in

/usr/src/redhat/SOURCES/linux-2.4.20

daarna de openmosix kernelpatch uitgepakt en de kernel gepatcht

nog geen problemen

daarna 'make menuconfig' uitgevoerd en het configuratiebestand 'kernel-2.4.20-i386.config' geladen, het Mosix File System uitgeschakeld en het processortype ingesteld op '(K6/K6-II/K6-III) Processor family'.

daarna heb ik de config gesaved en 'make dep bzImage modules modules_install' uitgevoerd. Maar bij de Modules geeft ie de volgende fout aan:

code:
1
2
3
4
5
6
7
8
thprefix include -DKBUILD_BASENAME=cpqfcTSworker  -c -o cpqfcTSworker.o cpqfcTSworker.c
cpqfcTSworker.c: In function `cpqfcTSWorkerThread':
cpqfcTSworker.c:197: structure has no member named `users'
make[2]: *** [cpqfcTSworker.o] Fout 1
make[2]: Weggaan uit map `/usr/src/redhat/SOURCES/linux-2.4.20/drivers/scsi'
make[1]: *** [_modsubdir_scsi] Fout 2
make[1]: Weggaan uit map `/usr/src/redhat/SOURCES/linux-2.4.20/drivers'
make: *** [_mod_drivers] Fout 2



en daarna kapt ie ermee...:X kan iemand me uitleggen wat die foutmelding betekend en nog liever de oplossing ervoor.

  • Wilke
  • Registratie: December 2000
  • Laatst online: 22:03
Je hebt natuurlijk wel de patch voor de juiste kernel versie gebruikt, niet?

hier te downloaden.

Ik vermoed dat je gewoon een verkeerde versie van Mosix te pakken hebt; kreeg je ook nog meldingen bij het patchen van de kernel (en dan bedoel ik natuurlijk andere meldingen dan 'merged OK' o.i.d. ;) ) ?

Verwijderd

Topicstarter
Wilke schreef op 26 March 2003 @ 15:06:
Je hebt natuurlijk wel de patch voor de juiste kernel versie gebruikt, niet?

hier te downloaden.

Ik vermoed dat je gewoon een verkeerde versie van Mosix te pakken hebt; kreeg je ook nog meldingen bij het patchen van de kernel (en dan bedoel ik natuurlijk andere meldingen dan 'merged OK' o.i.d. ;) ) ?
De patch zat bij de RPM 'openmosix-kernel-2.4.20-openmosix1.src.rpm' dus ik heb zo'n vermoeden dat ie wel ok is. ;)

Wat betreft die meldingen bij het patchen moet ik ff opnieuw bekijke heb ik niet op gelet, dus ga ik dat ens opnieuw doen...

[ Voor 4% gewijzigd door Verwijderd op 26-03-2003 15:24 ]


Verwijderd

Topicstarter
hij gaf geen foutmeldingen bij het patchen:

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
patching file arch/i386/config.in
patching file arch/i386/defconfig
patching file arch/i386/kernel/entry.S
patching file arch/i386/kernel/i387.c
patching file arch/i386/kernel/ioport.c
patching file arch/i386/kernel/Makefile
patching file arch/i386/kernel/offset.c
patching file arch/i386/kernel/process.c
patching file arch/i386/kernel/ptrace.c
patching file arch/i386/kernel/signal.c
patching file arch/i386/kernel/sys_i386.c
patching file arch/i386/kernel/traps.c
patching file arch/i386/kernel/vm86.c
patching file arch/i386/lib/usercopy.c
patching file arch/i386/mm/fault.c
patching file arch/ia64/kernel/entry.S
patching file Documentation/Configure.help
patching file Documentation/DFSA
patching file Documentation/filesystems/00-INDEX
patching file Documentation/filesystems/mfs.txt
patching file Documentation/sysctl/vm.txt
patching file Documentation/vm/overcommit-accounting
patching file drivers/char/console.c
patching file drivers/char/defkeymap.c
patching file drivers/char/drm/i810_dma.c
patching file drivers/char/mem.c
patching file drivers/char/pc_keyb.c
patching file drivers/char/serial.c
patching file drivers/char/sysrq.c
patching file drivers/char/tty_io.c
patching file drivers/char/vt.c
patching file drivers/scsi/cpqfcTSworker.c
patching file drivers/sgi/char/graphics.c
patching file drivers/sgi/char/shmiq.c
patching file drivers/usb/storage/usb.c
patching file fs/binfmt_aout.c
patching file fs/binfmt_elf.c
patching file fs/buffer.c
patching file fs/dcache.c
patching file fs/dnotify.c
patching file fs/exec.c
patching file fs/fcntl.c
patching file fs/file.c
patching file fs/file_table.c
patching file fs/inode.c
patching file fs/ioctl.c
patching file fs/lockd/svc.c
patching file fs/Makefile
patching file fs/mfs/ccontact.c
patching file fs/mfs/client.c
patching file fs/mfs/complete.c
patching file fs/mfs/convert.c
patching file fs/mfs/count.c
patching file fs/mfs/file.c
patching file fs/mfs/Makefile
patching file fs/mfs/scontact.c
patching file fs/mfs/server.c
patching file fs/mfs/socket.c
patching file fs/namei.c
patching file fs/namespace.c
patching file fs/nfsd/auth.c
patching file fs/nfsd/export.c
patching file fs/nfsd/vfs.c
patching file fs/open.c
patching file fs/pipe.c
patching file fs/proc/array.c
patching file fs/proc/base.c
patching file fs/proc/generic.c
patching file fs/proc/inode.c
patching file fs/proc/proc_misc.c
patching file fs/proc/root.c
patching file fs/readdir.c
patching file fs/read_write.c
patching file fs/stat.c
patching file fs/super.c
patching file fs/umsdos/ioctl.c
patching file hpc/badops.c
patching file hpc/balance.c
patching file hpc/comm.c
patching file hpc/config.c
patching file hpc/copy_unconf
patching file hpc/decay.c
patching file hpc/deputy.c
patching file hpc/dfsa.c
patching file hpc/div.c
patching file hpc/export.c
patching file hpc/freemem.c
patching file hpc/hpcadmin.c
patching file hpc/hpcproc.c
patching file hpc/info.c
patching file hpc/init.c
patching file hpc/kernel.c
patching file hpc/load.c
patching file hpc/Makefile
patching file hpc/mig.c
patching file hpc/mkdefcalls.c
patching file hpc/prequest.c
patching file hpc/remote.c
patching file hpc/rinode.c
patching file hpc/service.c
patching file hpc/syscalls.c
patching file hpc/ucache.c
patching file include/asm-generic/smplock.h
patching file include/asm-i386/a.out.h
patching file include/asm-i386/checksum.h
patching file include/asm-i386/cpufeature.h
patching file include/asm-i386/elf.h
patching file include/asm-i386/fcntl.h
patching file include/asm-i386/i387.h
patching file include/asm-i386/processor.h
patching file include/asm-i386/rwsem.h
patching file include/asm-i386/semaphore.h
patching file include/asm-i386/siginfo.h
patching file include/asm-i386/smplock.h
patching file include/asm-i386/spinlock.h
patching file include/asm-i386/stat.h
patching file include/asm-i386/uaccess.h
patching file include/hpc/balance.h
patching file include/hpc/comm.h
patching file include/hpc/debug.h
patching file include/hpc/defs.h
patching file include/hpc/dfsa.h
patching file include/hpc/dscosts.h
patching file include/hpc/hpcctl.h
patching file include/hpc/hpctask.h
patching file include/hpc/hpcversion.h
patching file include/hpc/mfscosts.h
patching file include/hpc/protocol.h
patching file include/hpc/request.h
patching file include/hpc/routines.h
patching file include/linux/binfmts.h
patching file include/linux/capability.h
patching file include/linux/completion.h
patching file include/linux/dcache.h
patching file include/linux/dfsa_interface.h
patching file include/linux/elf.h
patching file include/linux/errno.h
patching file include/linux/file.h
patching file include/linux/fs.h
patching file include/linux/fs_struct.h
patching file include/linux/hpcctl.h
patching file include/linux/hpc.h
patching file include/linux/iobuf.h
patching file include/linux/keyboard.h
patching file include/linux/linkage.h
patching file include/linux/mfs_fs_i.h
patching file include/linux/mfs.h
patching file include/linux/mfs_socket.h
patching file include/linux/mman.h
patching file include/linux/mm.h
patching file include/linux/mount.h
patching file include/linux/net.h
patching file include/linux/personality.h
patching file include/linux/pipe_fs_i.h
patching file include/linux/proc_fs.h
patching file include/linux/remote_fs_i.h
patching file include/linux/sched.h
patching file include/linux/smp_lock.h
patching file include/linux/spinlock.h
patching file include/linux/wait.h
patching file include/net/sock.h
patching file init/main.c
patching file ipc/shm.c
patching file kernel/acct.c
patching file kernel/capability.c
patching file kernel/exec_domain.c
patching file kernel/exit.c
patching file kernel/fork.c
patching file kernel/module.c
patching file kernel/panic.c
patching file kernel/ptrace.c
patching file kernel/sched.c
patching file kernel/signal.c
patching file kernel/sys.c
patching file kernel/sysctl.c
patching file kernel/timer.c
patching file kernel/user.c
patching file lib/rwsem.c
patching file lib/rwsem-spinlock.c
patching file Makefile
patching file mm/filemap.c
patching file mm/memory.c
patching file mm/mlock.c
patching file mm/mmap.c
patching file mm/mprotect.c
patching file mm/mremap.c
patching file mm/oom_kill.c
patching file mm/page_alloc.c
patching file mm/shmem.c
patching file mm/vmscan.c
patching file net/802/cl2llc.c
patching file net/core/scm.c
patching file net/core/skbuff.c
patching file net/core/sock.c
patching file net/ipv4/af_inet.c
patching file net/ipv4/tcp_input.c
patching file net/sunrpc/sched.c
patching file net/sunrpc/svc.c
patching file openMosix_MAINTAINERS
[root@marix1 linux-2.4.20]#


Wat nu? :?

Verwijderd

patching file drivers/scsi/cpqfcTSworker.c
ik bedenk ook maar wat,
misschien proberen zonder scsi te compileren. zelf rommel ik nl. ook maar altijd wat aan met die kernel compiles. wat ook een oplossing kan zijn is overstappen naar RH8 of RH9.

  • Wilke
  • Registratie: December 2000
  • Laatst online: 22:03
[nohtml]
Verwijderd schreef op 26 March 2003 @ 15:58:
misschien proberen zonder scsi te compileren.
Tja...kan alleen als je geen SCSI harddisks hebt natuurlijk....

Wel, in dat geval: wat stond er eerst om en nabij cpqfcTSworker.c:197 , en wat staat er nadat de Mosix kernel dit heeft zitten verbouwen? Gewoon eens kijken...misschien is een structuur net iets van naam veranderd o.i.d. - wat trouwens alleen kan als je een patch hebt voor een andere versie. Welke file heb je precies gebruikt om te patchen?
wat ook een oplossing kan zijn is overstappen naar RH8 of RH9.
Het lijkt me niet dat dat gaat helpen om een kernel te compilen.

Verwijderd

Topicstarter
ik heb de openMosix v1.6.8 gebruikt voor te patchen die hoort bij de 2.4.20 kernel

en SCSI heb ik iid niet nodig. Ik probeer ens te compile zonde SCSI ondersteuning.

[ Voor 35% gewijzigd door Verwijderd op 26-03-2003 16:25 ]


  • AlterEgo
  • Registratie: Juli 2001
  • Niet online
Het is mij nog niet vaak gelukt om een openmosix-gepatchte kernel te bakken zonder eerst te beginnen met 1) het backuppen van mijn bestaande kernel-config en 2) de configuratie/compilatie van de kernel vooraf laten gaan door een "make mrproper" .

Zo weet je zeker dat er geen "restjes" oude kernel meer over zijn. Het gekke is: omdat jij alles schoon installeert, zou je helemaal geen "restjes" verwachten.
Maar baat het niet, dan schaadt het ook niet :)

Verwijderd

Topicstarter
Het is me gelukt! Na 2,5 uur compile (is dat normaal voor een k6/2-450 :? ) was de kernel zonder SCSI ondersteuning gebakke en werkt eindelijk! _/-\o_

  • deadinspace
  • Registratie: Juni 2001
  • Laatst online: 02-05 18:38

deadinspace

The what goes where now?

Verwijderd schreef op 26 maart 2003 @ 20:49:
Na 2,5 uur compile (is dat normaal voor een k6/2-450 :? )
Nee, dat is niet normaal, tenzij je onwijs veel opties/drivers aan hebt staan in je config. Mijn pII doet er iets van een half uur over, met mijn kernelconfig.

  • imdos
  • Registratie: Maart 2000
  • Laatst online: 08-05 14:35

imdos

I use FreeNAS and Ubuntu

de k6 staat wel bekend vanwege het feit dat het geen rekenmonster was ... voornamelijk integer danwel floating point was ie niet zo goed in!

maar 2,5 uur is wel veel! Toevallig nog een koetje of seti gedraaid tijdens compilen??

pvoutput. Waarom makkelijk doen, als het ook moeilijk kan! Every solution has a new problem

Pagina: 1