I was just giving hint.. I am a novice as far as AMD processors.
Venkatesh K ----- Original Message ----- From: "Kris Jordan" <[EMAIL PROTECTED]> To: "rhel-rebuild list" <[EMAIL PROTECTED]> Sent: Friday, November 07, 2003 10:52 AM Subject: Re: Building kernel SRPM > I tried a rpmbuild command like that in several different ways when trying > to get it to build kernel.rpm for i386, never seemed to work, I had to > edit the SPEC file to force it to build for i386. I also had to add -bb to > the command line. But I'll see if rebuilding for athlon works, which I > haven't trid yet. I didn't think athlon would work for a K6 III. Looking > at SPEC, it appears all I will need to run is "rpmbuild --target athlon > --rebuild kernel-XXX.src.rpm", doing that now. > > - Kris Jordan - > > > I was also facing similar problem while rebuilding AS2.1. I should have > > seen > > the kernel version number. > > > > BTW, this might help..I am not sure as I have not ventured to build AS3 > > yet. > > > > rpmbuild --target athlon --with up --without smp --without BOOT --without > > hugemem --without source > > > > Venkatesh K > > ----- Original Message ----- > > From: "Kris Jordan" <[EMAIL PROTECTED]> > > To: "rhel-rebuild list" <[EMAIL PROTECTED]> > > Sent: Friday, November 07, 2003 8:23 AM > > Subject: Re: Building kernel SRPM > > > > > >> I forgot to mention that I'm trying to build 3AS at the beginning of the > >> thread, I did mention the kernel was 2.4.21 though. > >> > >> I have successfully installed a rebuilt 3AS on a P3 1GHZ system, which > >> used i686 packages where possible, kernel, glibc, and openssl. This is > >> now > >> my current build host. > >> > >> The 2nd computer I'm trying to install to is a K6 III, which 3AS wants > >> to > >> install either i586 or i386 packages, but since the kernel won't build > >> as > >> either of those architectures, I got stuck during the install with a > >> "Unsupport system type error", something to that affect. On the log > >> screen, alt+f3, it showed that the kernel was missing. This machine > >> doesn't have to be RHEL3AS based, I could install Debian on this one, > >> but > >> we would like as many machines as possible to be the same distribution > >> (I'm more used to Red Hat and I have a set of scripts based around > >> apt4rpm > >> to make updating and installing RPMs easy). > >> > >> Thanks for the tips. > >> > >> - Kris Jordan - > >> > >> > I have sucessfuly built kernel-2.4.9-e.27.src.rpm from updates and > >> have > >> > been > >> > able to make few test installations. > >> > > >> > My build system was RHL 7.2 fully updated. > >> > > >> > Venkatesh K > >> > > >> > ----- Original Message ----- > >> > From: "Kris Jordan" <[EMAIL PROTECTED]> > >> > To: "rhel-rebuild list" <[EMAIL PROTECTED]> > >> > Sent: Friday, November 07, 2003 1:52 AM > >> > Subject: Re: Building kernel SRPM > >> > > >> > > >> >> i386 building of the kernel SRPM (option up), it won't build, some > > error > >> >> in fpu_entry.c, maybe that's why its disabled. Not sure what to do > >> now, > >> >> besides upgrading the machine so that it will use the i686 kernel. > >> >> > >> >> - Kris Jordan - > >> >> > >> >> > I'll do that if > >> >> > > >> >> > rpmbuild --target i386 --with up --with smp --without BOOT > >> --without > >> > debug > >> >> > <spec file> > >> >> > > >> >> > provided by Venkatesh. K > >> >> > > >> >> > does not work. Already tried two similar commands w/o luck, on my > > last > >> > try > >> >> > right now, it should finish real soon now. > >> >> > > >> >> > Thanks > >> >> > > >> >> > - Kris Jordan - > >> >> > > >> >> >>> I have a system that will take a i586 kernel, but since the > >> kernel > >> > SPEC > >> >> >>> file has a problem, it won't build me one. I don't know the > >> SPEC > >> > file > >> >> >>> format enough to fix it. > >> >> >> ... > >> >> >>> > >> >> >>> - Kris Jordan - > >> >> >>> > >> >> >> > >> >> >> > >> >> >> 1. Extract kernel-2.4.spec from kernel SRPM to > >> /usr/src/redhat/SPECS > >> >> >> > >> >> >> 2. Find this text: > >> >> >> > >> >> >> %ifarch i386 > >> >> >> %define buildsmp 0 > >> >> >> %define buildup 0 > >> >> >> %endif > >> >> >> > >> >> >> Edit it to > >> >> >> > >> >> >> %ifarch i386 > >> >> >> %define buildsmp 1 > >> >> >> %define buildup 1 > >> >> >> %endif > >> >> >> > >> >> >> 3. extract all other files from kernel SRPM to > >> >> /usr/src/redhat/SOURCES > >> >> >> > >> >> >> 4. cd to /usr/src/redhat/SPECS > >> >> >> 5. run > >> >> >> rpmbuild -ba kernel-2.4.spec > >> >> >> > >> >> >> -- > >> >> >> Regards, > >> >> >> Igor Poteryaev > >> >> >> > >> >> >> > >> >> >> rhel-rebuild mailing list > >> >> >> [EMAIL PROTECTED] > >> >> >> Hosted at the University of Innsbruck, Austria > >> >> >> > >> >> > > >> >> > rh > >> rhel-rebuild mailing list > >> [EMAIL PROTECTED] > >> Hosted at the University of Innsbruck, Austria > >> > > > > rhel-rebuild mailing list > > [EMAIL PROTECTED] > > Hosted at the University of Innsbruck, Austria > > > > rhel-rebuild mailing list > [EMAIL PROTECTED] > Hosted at the University of Innsbruck, Austria > rhel-rebuild mailing list [EMAIL PROTECTED] Hosted at the University of Innsbruck, Austria