crock Posted June 1, 2004 Report Share Posted June 1, 2004 RPM build errors: user buildmeister does not exist - using root user buildmeister does not exist - using root user buildmeister does not exist - using root user buildmeister does not exist - using root user buildmeister does not exist - using root Bad exit status from /var/tmp/rpm-tmp.46893 (%build) I'm not real sure what any of that means, those are the output errors I get when I try to execute: rpm --rebuild /home/crock/NVIDIA_nforce-1.0-0274.src.rpm any ideas? Quote Link to comment Share on other sites More sharing options...
Ixthusdan Posted June 1, 2004 Report Share Posted June 1, 2004 Yes. Use the correct command! :D rpmbuild --rebuild xxx.xxx.src.rpm Quote Link to comment Share on other sites More sharing options...
tyme Posted June 1, 2004 Report Share Posted June 1, 2004 both work. crock: look above the errors there and see if there is another error before it. ignore the errors regarding user buildmeister not existing and concentrate on the Bad exit status error...there should be a more descriptive error towards the end of the building (prior to that prinout of errors). Quote Link to comment Share on other sites More sharing options...
crock Posted June 1, 2004 Author Report Share Posted June 1, 2004 Tried that, and I still got the same output errors. I'm running this within a console as SU. Quote Link to comment Share on other sites More sharing options...
chris:b Posted June 1, 2004 Report Share Posted June 1, 2004 (edited) # urpmi rpm-build You need to install the rpm-build package to be able to build rpm's (this sentence sounds like complete nonsense, I hope you'll understand it though :D ) Edited June 1, 2004 by anna Quote Link to comment Share on other sites More sharing options...
crock Posted June 2, 2004 Author Report Share Posted June 2, 2004 I've already got the rpm-build package installed. I did that along with kernel headers / sources. Here's the whole she-bang. Installing NVIDIA_nforce-1.0-0274.src.rpm warning: user buildmeister does not exist - using root warning: user buildmeister does not exist - using root warning: user buildmeister does not exist - using root warning: user buildmeister does not exist - using root warning: user buildmeister does not exist - using root Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.33121 + umask 022 + cd /usr/src/RPM/BUILD + echo '---- Copying Sources ----' ---- Copying Sources ---- + cd /usr/src/RPM/BUILD + rm -rf nforce + /usr/bin/gzip -dc /usr/src/RPM/SOURCES/nvnet.tgz + tar -xvvf - drwxr-xr-x buildmeister/adm 0 2004-04-16 16:10:49 nforce/ drwxr-xr-x buildmeister/adm 0 2004-04-16 16:10:49 nforce/nvnet/ -rw-r--r-- buildmeister/adm 23833 2004-04-16 16:17:45 nforce/nvnet/adapter.h -rw-r--r-- buildmeister/adm 6867 2004-04-16 16:17:45 nforce/nvnet/basetype.h -rw-r--r-- buildmeister/adm 6219 2004-04-16 16:17:45 nforce/nvnet/drvinfo.h -rw-r--r-- buildmeister/adm 12003 2004-04-16 16:17:45 nforce/nvnet/nvenet.h -rw-r--r-- buildmeister/adm 5129 2004-04-16 16:17:45 nforce/nvnet/os.h -rw-r--r-- buildmeister/adm 6945 2004-04-16 16:17:45 nforce/nvnet/phy.h -rw-r--r-- buildmeister/adm 102460 2004-04-16 16:17:45 nforce/nvnet/nvenet.c -rw-r--r-- buildmeister/adm 38352 2004-04-16 16:17:45 nforce/nvnet/nvenetlib.o -rw-r--r-- buildmeister/adm 3717 2004-04-16 16:17:45 nforce/nvnet/Makefile + STATUS=0 + '[' 0 -ne 0 ']' + cd nforce + cd /usr/src/RPM/BUILD + /usr/bin/gzip -dc /usr/src/RPM/SOURCES/nvaudio.tgz + tar -xvvf - drwxr-xr-x buildmeister/adm 0 2004-04-16 16:17:46 nforce/ drwxr-xr-x buildmeister/adm 0 2004-04-16 16:17:46 nforce/nvaudio/ -rw-r--r-- buildmeister/adm 3202 2004-04-16 16:17:46 nforce/nvaudio/Makefile -rw-r--r-- buildmeister/adm 64845 2004-04-16 16:17:46 nforce/nvaudio/nvcrush.c -rw-r--r-- buildmeister/adm 84378 2004-04-16 16:17:46 nforce/nvaudio/nvhw.c -rw-r--r-- buildmeister/adm 41741 2004-04-16 16:17:46 nforce/nvaudio/nvmain.c -rw-r--r-- buildmeister/adm 9910 2004-04-16 16:17:46 nforce/nvaudio/nvrec.c -rw-r--r-- buildmeister/adm 20056 2004-04-16 16:17:46 nforce/nvaudio/nvspdif.c -rw-r--r-- buildmeister/adm 18339 2004-04-16 16:17:46 nforce/nvaudio/nvwavout.c -rw-r--r-- buildmeister/adm 2651 2004-04-16 16:17:46 nforce/nvaudio/chaninfo.h -rw-r--r-- buildmeister/adm 10215 2004-04-16 16:17:46 nforce/nvaudio/nvhw.h -rw-r--r-- buildmeister/adm 2797 2004-04-16 16:17:46 nforce/nvaudio/nvioctl.h -rw-r--r-- buildmeister/adm 1392 2004-04-16 16:17:46 nforce/nvaudio/nvrec.h -rw-r--r-- buildmeister/adm 1618 2004-04-16 16:17:46 nforce/nvaudio/nvspdif.h -rw-r--r-- buildmeister/adm 1499 2004-04-16 16:17:46 nforce/nvaudio/nvwavout.h + STATUS=0 + '[' 0 -ne 0 ']' + cd nforce + cd /usr/src/RPM/BUILD + /usr/bin/gzip -dc /usr/src/RPM/SOURCES/nvmaster.tgz + tar -xvvf - drwxr-xr-x buildmeister/adm 0 2004-04-16 16:17:45 nforce/ -rw-r--r-- buildmeister/adm 1259 2004-04-16 16:17:45 nforce/Makefile -rw-r--r-- buildmeister/adm 5404 2004-04-16 16:17:45 nforce/NVLicense.txt -rw-r--r-- buildmeister/adm 18007 2004-04-16 16:17:45 nforce/GNULicense.txt -rw-r--r-- buildmeister/adm 28128 2004-04-16 16:17:45 nforce/ReleaseNotes.html + STATUS=0 + '[' 0 -ne 0 ']' + cd nforce + cd /usr/src/RPM/BUILD + /usr/bin/gzip -dc /usr/src/RPM/SOURCES/nvgart.tgz + tar -xvvf - drwxr-xr-x buildmeister/adm 0 2004-04-16 16:17:46 nforce/ drwxr-xr-x buildmeister/adm 0 2004-04-16 16:17:46 nforce/nvgart/ -rw-r--r-- buildmeister/adm 854 2004-04-16 16:17:46 nforce/nvgart/Makefile -rw-r--r-- buildmeister/adm 2093 2004-04-16 16:17:46 nforce/nvgart/README -rw-r--r-- buildmeister/adm 21192 2004-04-16 16:17:46 nforce/nvgart/linux-2.4.20-agpgart.diff -rw-r--r-- buildmeister/adm 1211 2004-04-16 16:17:46 nforce/nvgart/linux-2.4.21-102-agpgart.diff -rw-r--r-- buildmeister/adm 13557 2004-04-16 16:17:46 nforce/nvgart/linux-2.4.21-4.EL-agpgart.diff -rw-r--r-- buildmeister/adm 22493 2004-04-16 16:17:46 nforce/nvgart/linux-2.4.21-agpgart.diff -rw-r--r-- buildmeister/adm 13775 2004-04-16 16:17:46 nforce/nvgart/linux-2.4.22-agpgart.diff + STATUS=0 + '[' 0 -ne 0 ']' + cd nforce + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.33121 + umask 022 + cd /usr/src/RPM/BUILD + cd nforce + echo '---- Building Drivers ----' ---- Building Drivers ---- + make make -C nvnet make[1]: Entering directory `/usr/src/RPM/BUILD/nforce/nvnet' cc -c -Wall -DLINUX -DMODULE -DEXPORT_SYMTAB -D__KERNEL__ -O2 -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DCONFIG_PM -falign-functions=4 -I/lib/modules/2.6.3-7mdk/build/include nvenet.c In file included from /lib/modules/2.6.3-7mdk/build/include/linux/irq.h:20, from /lib/modules/2.6.3-7mdk/build/include/asm/hardirq.h:6, from /lib/modules/2.6.3-7mdk/build/include/linux/interrupt.h:11, from nvenet.h:30, from nvenet.c:22: /lib/modules/2.6.3-7mdk/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory In file included from /lib/modules/2.6.3-7mdk/build/include/asm/hardirq.h:6, from /lib/modules/2.6.3-7mdk/build/include/linux/interrupt.h:11, from nvenet.h:30, from nvenet.c:22: /lib/modules/2.6.3-7mdk/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function) In file included from /lib/modules/2.6.3-7mdk/build/include/linux/irq.h:72, from /lib/modules/2.6.3-7mdk/build/include/asm/hardirq.h:6, from /lib/modules/2.6.3-7mdk/build/include/linux/interrupt.h:11, from nvenet.h:30, from nvenet.c:22: /lib/modules/2.6.3-7mdk/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function) /lib/modules/2.6.3-7mdk/build/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function) nvenet.c: In function `nvenet_open': nvenet.c:692: warning: passing arg 2 of `request_irq' from incompatible pointer type nvenet.c: In function `nvenet_remove': nvenet.c:1214: error: structure has no member named `driver_data' nvenet.c: In function `nvenet_reboot_handler': nvenet.c:2360: warning: implicit declaration of function `pci_for_each_dev' nvenet.c:2361: error: parse error before '{' token nvenet.c: At top level: nvenet.c:2367: error: parse error before '}' token nvenet.c: In function `nvenet_proc_full_info_open': nvenet.c:2605: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.3-7mdk/build/include/linux/module.h:502) nvenet.c: In function `nvenet_proc_hardware_info_open': nvenet.c:2645: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.3-7mdk/build/include/linux/module.h:502) nvenet.c: In function `nvenet_proc_command_line_open': nvenet.c:2686: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.3-7mdk/build/include/linux/module.h:502) nvenet.c: In function `nvenet_proc_configuration_open': nvenet.c:2727: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.3-7mdk/build/include/linux/module.h:502) nvenet.c: In function `nvenet_proc_rx_stats_open': nvenet.c:2762: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.3-7mdk/build/include/linux/module.h:502) nvenet.c: In function `nvenet_proc_tx_stats_open': nvenet.c:2804: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.3-7mdk/build/include/linux/module.h:502) nvenet.c: In function `nvenet_proc_release': nvenet.c:2821: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.3-7mdk/build/include/linux/module.h:514) make[1]: *** [nvnet.o] Error 1 make[1]: Leaving directory `/usr/src/RPM/BUILD/nforce/nvnet' make: *** [nvnet_make] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.33121 (%build) Quote Link to comment Share on other sites More sharing options...
tyme Posted June 2, 2004 Report Share Posted June 2, 2004 do you have the kernel-source installed? urpmi kernel-source Quote Link to comment Share on other sites More sharing options...
crock Posted June 2, 2004 Author Report Share Posted June 2, 2004 Yep, shows everything is installed correctly. Thats why I'm so bamboozled. lol Quote Link to comment Share on other sites More sharing options...
NeoXP Posted June 2, 2004 Report Share Posted June 2, 2004 Little question, why would you try to install the nForce-drivers? As to my knowledge the nForce-drivers don't support kernel 2.6 Quote Link to comment Share on other sites More sharing options...
Gowator Posted June 2, 2004 Report Share Posted June 2, 2004 Little question, why would you try to install the nForce-drivers? As to my knowledge the nForce-drivers don't support kernel 2.6 Yep the forcedeth drivers do the job in 2.6... but which kernel are you using (exactly) the problem is usually that mandrake sources are not the sources used for the mandrake kernels. If you try and just compile the drivers (as opposed to RPM's) what happens ?? I had lots of problems with the 2.4 enterprise kernels from mandrake and couldnt compile the nfoce against it. If you cant compile against it then you cant build a source RPM against it! usually lets say you use kernel-2.6.23-13-100mdk and there is a corresponding kernel-source-2.6.23-13-100mdk you think the former is built from the latter. The less common ones seem to have larger differences. Unfortunately this is often not the case. Neither do MDK document there kernels. Often the .config file in the source RPM will be nothing like the actual one used. However they can't hide the one in /boot. often if you copy the /boot/.config-xxxx to /usr/src/xxxx you get close but you still dont know what patches they added! In the end I found if it doesnt work straight away then you need the real kernel source (kernel.org) not the undocumented mandrake ones. Quote Link to comment Share on other sites More sharing options...
crock Posted June 2, 2004 Author Report Share Posted June 2, 2004 I'm using kernel 2.6.3-7mdk The sources I'm using are installed from the MDK 10 OE cds. Quote Link to comment Share on other sites More sharing options...
Gowator Posted June 2, 2004 Report Share Posted June 2, 2004 (edited) I doubt they are complete. I try the 2.6.3-4mdk kernel BUT I dont think you need the drivers.. just one sec .... ok back in 32 bit ..... [root@pc-00065 sl]# lsmod |sort af_packet 23336 2 agpgart 33996 0 bluetooth 52548 13 rfcomm,l2cap,hci_usb cdrom 40640 2 sr_mod,ide-cd ehci-hcd 26916 0 exportfs 7744 1 nfsd ext3 122600 3 forcedeth 16448 0 gameport 5696 1 snd-intel8x0 hci_usb 15040 5 hid 57728 0 ide-cd 43876 0 ide-floppy 20864 0 ide-tape 39184 0 ieee1394 294448 1 ohci1394 imm 13928 0 ipv6 264608 32 jbd 66168 1 ext3 l2cap 26944 5 rfcomm lp 13608 2 md5 4896 1 Module Size Used by nfsd 183200 8 nvidia 2070056 20 ohci1394 37636 0 ohci-hcd 20740 0 parport 43688 4 lp,ppa,parport_pc,imm parport_pc 36064 1 ppa 13512 0 ppp_async 13536 0 ppp_generic 33168 1 ppp_async raw 8800 1 rfcomm 41272 8 rtc 14056 0 scsi_mod 122384 4 sg,sr_mod,ppa,imm sg 41020 0 slhc 8128 1 ppp_generic snd 57636 14 snd-seq-oss,snd-seq-midi-event,snd-seq,snd-pcm-oss,snd-mixer-oss,snd-intel8x0,snd-ac97-codec,snd-pcm,snd-timer,snd-mpu401-uart,snd-rawmidi,snd-seq-device snd-ac97-codec 64740 1 snd-intel8x0 snd-intel8x0 36040 1 snd-mixer-oss 20608 1 snd-pcm-oss snd-mpu401-uart 8800 1 snd-intel8x0 snd-page-alloc 13508 2 snd-intel8x0,snd-pcm snd-pcm 103488 2 snd-pcm-oss,snd-intel8x0 snd-pcm-oss 55716 0 snd-rawmidi 25984 1 snd-mpu401-uart snd-seq 58768 4 snd-seq-oss,snd-seq-midi-event snd-seq-device 9256 3 snd-seq-oss,snd-seq,snd-rawmidi snd-seq-midi-event 8768 1 snd-seq-oss snd-seq-oss 36480 0 snd-timer 27748 2 snd-seq,snd-pcm soundcore 10976 1 snd sr_mod 18724 0 usbcore 108860 6 hid,hci_usb,ehci-hcd,ohci-hcd xfs 607708 1 see nvidia is graphics [root@pc-00065 sl]# uname -r 2.6.3-4mdkenterprise Edited June 2, 2004 by Gowator Quote Link to comment Share on other sites More sharing options...
crock Posted June 3, 2004 Author Report Share Posted June 3, 2004 Until I installed the nVidia drivers for my nForce2 chipset, MDK 10 OE/CE would lockup like crazy. I installed them, but they were built for my former 9.2 installation. I'm trying to rebuild the source rpm to accomodate my newer MDK install, rather than use my 9.2 built rpm. I still get some lockups, which is why im trying to rebuild. Quote Link to comment Share on other sites More sharing options...
crock Posted June 3, 2004 Author Report Share Posted June 3, 2004 Oh and FYI: When I try to run a make and compile drivers, I get a similar result. Does this mean I have incorrect kernel sources installed? make -C nvnet make[1]: Entering directory `/home/crock/nforce/nvnet' cc -c -Wall -DLINUX -DMODULE -DEXPORT_SYMTAB -D__KERNEL__ -O2 -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DCONFIG_PM -falign-functions=4 -I/lib/modules/2.6.3-7mdk/build/include nvenet.c In file included from /lib/modules/2.6.3-7mdk/build/include/linux/irq.h:20, from /lib/modules/2.6.3-7mdk/build/include/asm/hardirq.h:6, from /lib/modules/2.6.3-7mdk/build/include/linux/interrupt.h:11, from nvenet.h:30, from nvenet.c:22: /lib/modules/2.6.3-7mdk/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory In file included from /lib/modules/2.6.3-7mdk/build/include/asm/hardirq.h:6, from /lib/modules/2.6.3-7mdk/build/include/linux/interrupt.h:11, from nvenet.h:30, from nvenet.c:22: /lib/modules/2.6.3-7mdk/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function) In file included from /lib/modules/2.6.3-7mdk/build/include/linux/irq.h:72, from /lib/modules/2.6.3-7mdk/build/include/asm/hardirq.h:6, from /lib/modules/2.6.3-7mdk/build/include/linux/interrupt.h:11, from nvenet.h:30, from nvenet.c:22: /lib/modules/2.6.3-7mdk/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function) /lib/modules/2.6.3-7mdk/build/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function) nvenet.c: In function `nvenet_open': nvenet.c:692: warning: passing arg 2 of `request_irq' from incompatible pointer type nvenet.c: In function `nvenet_remove': nvenet.c:1214: error: structure has no member named `driver_data' nvenet.c: In function `nvenet_reboot_handler': nvenet.c:2360: warning: implicit declaration of function `pci_for_each_dev' nvenet.c:2361: error: parse error before '{' token nvenet.c: At top level: nvenet.c:2367: error: parse error before '}' token nvenet.c: In function `nvenet_proc_full_info_open': nvenet.c:2605: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.3-7mdk/build/include/linux/module.h:502) nvenet.c: In function `nvenet_proc_hardware_info_open': nvenet.c:2645: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.3-7mdk/build/include/linux/module.h:502) nvenet.c: In function `nvenet_proc_command_line_open': nvenet.c:2686: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.3-7mdk/build/include/linux/module.h:502) nvenet.c: In function `nvenet_proc_configuration_open': nvenet.c:2727: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.3-7mdk/build/include/linux/module.h:502) nvenet.c: In function `nvenet_proc_rx_stats_open': nvenet.c:2762: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.3-7mdk/build/include/linux/module.h:502) nvenet.c: In function `nvenet_proc_tx_stats_open': nvenet.c:2804: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.3-7mdk/build/include/linux/module.h:502) nvenet.c: In function `nvenet_proc_release': nvenet.c:2821: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.3-7mdk/build/include/linux/module.h:514) make[1]: *** [nvnet.o] Error 1 make[1]: Leaving directory `/home/crock/nforce/nvnet' make: *** [nvnet_make] Error 2 Quote Link to comment Share on other sites More sharing options...
NeoXP Posted June 3, 2004 Report Share Posted June 3, 2004 Well, again, as far as I know there is no point in installing the official nForce-drivers because they don't support the 2.6 kernel. As for the randomly lockups, I had the same probs, I followed this thread to solve this problem. Also I read that you have to make sure that you have the latest bios-version. Good Luck. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.