What patch for RedHat 7.3 ???
The kernel is 2.4.18-3 I've tried various patch: packet-2.4.18-pre3.patch.bz2 packet-2.4.18.patch.bz2 packet-2.4.18-18.8.0.patch.bz2 but every patch failed to compile when i do " make bzImage " or " make modules " There is some patch that work with this kernel??? Thanks
On 2003.02.11 16:00 Marco Mennella wrote:
The kernel is 2.4.18-3
I've tried various patch:
packet-2.4.18-pre3.patch.bz2 packet-2.4.18.patch.bz2 packet-2.4.18-18.8.0.patch.bz2
but every patch failed to compile when i do " make bzImage " or " make modules "
There is some patch that work with this kernel???
Thanks
-- To unsubscribe, e-mail: packet-writing-unsubscribe@suse.com For additional commands, e-mail: packet-writing-help@suse.com
Marco, Thats not a lot to go on. What happened when you ran patch? What errors did you get in the compiles? Regards, Roy Bamford
Hello Roy, when i do make bzImage, i have next result both with first two patch tried: packet-2.4.18-pre3 and packet-2.4.18 make[2]: Entering directory `/usr/src/linux-2.4.18-3/drivers/block' make all_targets make[3]: Entering directory `/usr/src/linux-2.4.18-3/drivers/block' cc -D__KERNEL__ -I/usr/src/linux-2.4.18-3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=ll_rw_blk -DEXPORT_SYMTAB -c ll_rw_blk.c cc -D__KERNEL__ -I/usr/src/linux-2.4.18-3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=blkpg -DEXPORT_SYMTAB -c blkpg.c cc -D__KERNEL__ -I/usr/src/linux-2.4.18-3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=genhd -DEXPORT_SYMTAB -c genhd.c cc -D__KERNEL__ -I/usr/src/linux-2.4.18-3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=elevator -DEXPORT_SYMTAB -c elevator.c cc -D__KERNEL__ -I/usr/src/linux-2.4.18-3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=floppy -c -o floppy.o floppy.c cc -D__KERNEL__ -I/usr/src/linux-2.4.18-3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=pktcdvd -c -o pktcdvd.o pktcdvd.c In file included from pktcdvd.c:115: /usr/src/linux-2.4.18-3/include/linux/pktcdvd.h:27:2: warning: #warning Enabling write caching, use at your own risk pktcdvd.c: In function `kcdrwd': pktcdvd.c:1172: structure has no member named `nice' pktcdvd.c: In function `pkt_init_queue': pktcdvd.c:2134: warning: initialization makes integer from pointer without a cast pktcdvd.c:2134: warning: initialization from incompatible pointer type pktcdvd.c:2134: warning: initialization from incompatible pointer type make[3]: *** [pktcdvd.o] Error 1 make[3]: Leaving directory `/usr/src/linux-2.4.18-3/drivers/block' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/usr/src/linux-2.4.18-3/drivers/block' make[1]: *** [_subdir_block] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.18-3/drivers' make: *** [_dir_drivers] Error 2 Can you help me??? Roy Bamford wrote:
On 2003.02.11 16:00 Marco Mennella wrote:
The kernel is 2.4.18-3
I've tried various patch:
packet-2.4.18-pre3.patch.bz2 packet-2.4.18.patch.bz2 packet-2.4.18-18.8.0.patch.bz2
but every patch failed to compile when i do " make bzImage " or " make modules "
There is some patch that work with this kernel???
Thanks
-- To unsubscribe, e-mail: packet-writing-unsubscribe@suse.com For additional commands, e-mail: packet-writing-help@suse.com
Marco,
Thats not a lot to go on. What happened when you ran patch?
What errors did you get in the compiles?
Regards,
Roy Bamford
On 2003.02.11 23:11 Marco Mennella wrote:
Hello Roy,
when i do make bzImage, i have next result both with first two patch tried: packet-2.4.18-pre3 and packet-2.4.18
[snip]
In file included from pktcdvd.c:115: /usr/src/linux-2.4.18-3/include/linux/pktcdvd.h:27:2: warning: #warning Enabling write caching, use at your own risk pktcdvd.c: In function `kcdrwd': pktcdvd.c:1172: structure has no member named `nice' pktcdvd.c: In function `pkt_init_queue': pktcdvd.c:2134: warning: initialization makes integer from pointer without a cast pktcdvd.c:2134: warning: initialization from incompatible pointer type pktcdvd.c:2134: warning: initialization from incompatible pointer type make[3]: *** [pktcdvd.o] Error 1 make[3]: Leaving directory `/usr/src/linux-2.4.18-3/drivers/block' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/usr/src/linux-2.4.18-3/drivers/block' make[1]: *** [_subdir_block] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.18-3/drivers' make: *** [_dir_drivers] Error 2
Can you help me???
[snip] Marco, You are doing several things that are advised against. Go with the flow first, play around after you have got the advertised functionality working. /usr/src/linux-2.4.18-3 looks very like the path that the system expects to find pristine kernel headers in. You don't really want to patch this since other things you may want to build later may depend on it being clean. Copy the kernel source to your home directory and mess with it there as a normal user. You will still need to be root to install. Modify the Makefile "EXTRAVERSION =" to something other than blank. That way, when you do get a successful compile, the kernel install will not overwrite any of your old kernel, so if your new kernel is so broken it won't boot, you can still boot the old one. I have always built pktcdvd with write caching off, because cached writes to a bad sector on the CD are not recovered. I have built a patched RehHat kernel successfully (2.4.18-19), it just worked but I quickly moved to 2.4.20 because of some other bugfixes I wanted. That built OK with the packet writing patch too. Your kernel 2.4.18-3 is quite an old one. RedHat advertise 2.4.18-24 as being current. You may well have better luck with a newer kernel and patch. Regards, Roy Bamford
This is possibly related to the new scheduler incorporated in most distros' kernels nowdays. You have to give the small SuSe patch a try after obtaining it from Peter's site. It'll probably fix this problem. Dw. On Wed, 12 Feb 2003, Marco Mennella wrote:
Hello Roy,
when i do make bzImage, i have next result both with first two patch tried: packet-2.4.18-pre3 and packet-2.4.18
make[2]: Entering directory `/usr/src/linux-2.4.18-3/drivers/block' make all_targets make[3]: Entering directory `/usr/src/linux-2.4.18-3/drivers/block' cc -D__KERNEL__ -I/usr/src/linux-2.4.18-3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=ll_rw_blk -DEXPORT_SYMTAB -c ll_rw_blk.c cc -D__KERNEL__ -I/usr/src/linux-2.4.18-3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=blkpg -DEXPORT_SYMTAB -c blkpg.c cc -D__KERNEL__ -I/usr/src/linux-2.4.18-3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=genhd -DEXPORT_SYMTAB -c genhd.c cc -D__KERNEL__ -I/usr/src/linux-2.4.18-3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=elevator -DEXPORT_SYMTAB -c elevator.c cc -D__KERNEL__ -I/usr/src/linux-2.4.18-3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=floppy -c -o floppy.o floppy.c cc -D__KERNEL__ -I/usr/src/linux-2.4.18-3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=pktcdvd -c -o pktcdvd.o pktcdvd.c In file included from pktcdvd.c:115: /usr/src/linux-2.4.18-3/include/linux/pktcdvd.h:27:2: warning: #warning Enabling write caching, use at your own risk pktcdvd.c: In function `kcdrwd': pktcdvd.c:1172: structure has no member named `nice' pktcdvd.c: In function `pkt_init_queue': pktcdvd.c:2134: warning: initialization makes integer from pointer without a cast pktcdvd.c:2134: warning: initialization from incompatible pointer type pktcdvd.c:2134: warning: initialization from incompatible pointer type make[3]: *** [pktcdvd.o] Error 1 make[3]: Leaving directory `/usr/src/linux-2.4.18-3/drivers/block' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/usr/src/linux-2.4.18-3/drivers/block' make[1]: *** [_subdir_block] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.18-3/drivers' make: *** [_dir_drivers] Error 2
Can you help me???
Roy Bamford wrote:
On 2003.02.11 16:00 Marco Mennella wrote:
The kernel is 2.4.18-3
I've tried various patch:
packet-2.4.18-pre3.patch.bz2 packet-2.4.18.patch.bz2 packet-2.4.18-18.8.0.patch.bz2
but every patch failed to compile when i do " make bzImage " or " make modules "
There is some patch that work with this kernel???
Thanks
-- To unsubscribe, e-mail: packet-writing-unsubscribe@suse.com For additional commands, e-mail: packet-writing-help@suse.com
Marco,
Thats not a lot to go on. What happened when you ran patch?
What errors did you get in the compiles?
Regards,
Roy Bamford
-- To unsubscribe, e-mail: packet-writing-unsubscribe@suse.com For additional commands, e-mail: packet-writing-help@suse.com
participants (3)
-
Marco Mennella
-
Roy Bamford
-
Toth Attila