unknown: can't assign resources
Hello, I'm running FreeBSD 5.0-CURRENT since 2 days. When I boot FreeBSD I get this error: Feb 22 23:21:13 unix /boot/kernel/kernel: vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0 Feb 22 23:21:13 unix /boot/kernel/kernel: unknown: can't assign resources Feb 22 23:21:13 unix /boot/kernel/kernel: unknown: can't assign resources Feb 22 23:21:13 unix /boot/kernel/kernel: unknown: can't assign resources Feb 22 23:21:13 unix /boot/kernel/kernel: unknown: can't assign resources Feb 22 23:21:13 unix /boot/kernel/kernel: unknown: can't assign resources What is that and how can I fix this error? Guillaume [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Error making kernel
Hello, I upgraded to the lastest -CURRENT (CVSup/make buildworld/make installworld) yesterday and now I have a problem to compile my kernel. When I do a make I get this error: ===> fdesc ===> fxp ===> if_disc ===> if_ef ===> if_ppp ===> if_sl make: don't know how to make machine/lock.h. Stop *** Error code 2 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/src/sys/compile/BSD. My kernel config: machine i386 cpu I686_CPU ident BSD maxusers 32 #makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking options FFS #Berkeley Fast Filesystem options SOFTUPDATES #Enable FFS soft updates support options MFS #Memory Filesystem options MD_ROOT #MD is a potential root device options NFS #Network Filesystem options NFS_ROOT #NFS usable as root device, NFS required options MSDOSFS #MSDOS Filesystem options NTFS options CD9660 #ISO 9660 Filesystem options DEVFS #Device Filesystem options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options UCONSOLE #Allow users to grab the console options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options P1003_1B #Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options KBD_INSTALL_CDEV # install a CDEV entry in /dev device isa device eisa device pci # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering #options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc 1 # At keyboard controller device atkbd # at keyboard device psm # psm mouse device vga # VGA screen # splash screen/screen saver device splash # syscons is the default console driver, resembling an SCO console device sc 1 # Floating point support - do not disable. device npx # Power management support (see NOTES for more options) device apm # Add suspend/resume support for the i8254. device pmtimer # Audio support device pcm # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports # Parallel port device ppc device ppbus # Parallel port bus (required) device lpt # Printer device ppi # Parallel port interface device #device vpo # Requires scbus and da # PCI Ethernet NICs. device miibus # MII bus support device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') # Pseudo devices - the number indicates how many units to allocated. device random # Entropy device device loop # Network loopback device ether # Ethernet support device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device gif 2 # IPv6 and IPv4 tunneling #device faith 1 # IPv6-to-IPv4 relaying (translation) # The `bpf' device enables the Berkeley Packet Filter. device bpf # Berkeley packet filter options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_FORWARD options IPFIREWALL_VERBOSE_LIMIT=100 options IPDIVERT options MROUTING options IPFILTER options DUMMYNET options BRIDGE options QUOTA Guillaume [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
acd0 vs cd0 (ATAPICAM)
Hi, I'm running FreeBSD 5-CURRENT (Aug. 28 2003) on a P3 733MHz, 768MB ram with a LG DVD-RW/DVD-RAM burner. I would like to know why ATAPICAM is so slow with my system. DMA is enabled for my ATAPI burner. When I'm copying something using cd0, my system is very slow. (e.g. my mouse moves very very slowly) Here is the results of my tests: Using mkisofs with acd0: # mount_cd9660 /dev/acd0 /dvdrom # time mkisofs -dvd-video -o /divers/acd0.iso /dvdrom/ 0.24% done, estimate finish Fri Sep 5 22:33:31 2003 0.48% done, estimate finish Fri Sep 5 22:33:30 2003 ... 99.54% done, estimate finish Fri Sep 5 22:26:55 2003 99.78% done, estimate finish Fri Sep 5 22:26:55 2003 Total translation table size: 0 Total rockridge attributes bytes: 0 Total directory bytes: 4096 Path table size(bytes): 42 Max brk space used c2e4 2064560 extents written (4032 Mb) real14m2.575s user0m16.109s sys 2m43.673s Using mkisofs with cd0 (ATAPICAM): -- # mount_cd9660 /dev/cd0 /dvdrom # time mkisofs -dvd-video -o /divers/cd0.iso /dvdrom/ 0.24% done, estimate finish Fri Sep 5 23:01:41 2003 0.48% done, estimate finish Fri Sep 5 22:58:14 2003 ... 99.54% done, estimate finish Fri Sep 5 22:59:20 2003 99.78% done, estimate finish Fri Sep 5 22:59:21 2003 Total translation table size: 0 Total rockridge attributes bytes: 0 Total directory bytes: 4096 Path table size(bytes): 42 Max brk space used c2e4 2064560 extents written (4032 Mb) real25m9.761s user0m22.586s sys 3m13.866s Using dd with acd0 -- [EMAIL PROTECTED] time dd if=/dev/acd0 of=/divers/lepianiste.img bs=2k 2064816+0 records in 2064816+0 records out 4228743168 bytes transferred in 2646.410996 secs (1597916 bytes/sec) real44m6.434s user0m5.517s sys 6m27.386s Using dd with cd0 (ATAPICAM) My computer reboot after ~ 15 or 20 min. Output from dmesg: -- ... ad0: 29325MB [59582/16/63] at ata0-master UDMA66 ad1: 19595MB [39813/16/63] at ata0-slave UDMA66 acd0: DVDR at ata1-master UDMA33 cd0 at ata1 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: cd present [2064816 x 2048 byte records] Mounting root from ufs:/dev/ad0s2a ... Thanks Guillaume [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: acd0 vs cd0 (ATAPICAM)
Le Mar 16/09/2003 à 09:22, Thomas Quinot a écrit : > Le 2003-09-06, Guillaume écrivait : > > > I'm running FreeBSD 5-CURRENT (Aug. 28 2003) on a P3 733MHz, 768MB ram > > with a LG DVD-RW/DVD-RAM burner. I would like to know why ATAPICAM is so > > slow with my system. > > Maybe because ATAPI/CAM does not actually enable DMA. Can you try the > following patch? > I get an error when compiling kernel with this patch: cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I../../.. -I../../../contrib/dev/acpica -I../../../contrib/ipfilter -I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd -D_KERNEL -include opt_global.h -fno-common -finline-limit=15000 -fno-strict-aliasing -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror ../../../dev/ata/atapi-cam.c ../../../dev/ata/atapi-cam.c: In function `setup_dev': ../../../dev/ata/atapi-cam.c:232: error: `atadev' undeclared (first use in this function) ../../../dev/ata/atapi-cam.c:232: error: (Each undeclared identifier is reported only once ../../../dev/ata/atapi-cam.c:232: error: for each function it appears in.) *** Error code 1 Stop in /usr/src/sys/i386/compile/GUILLAUME. > Thomas. > > Index: atapi-cam.c > === > RCS file: /home/ncvs/src/sys/dev/ata/atapi-cam.c,v > retrieving revision 1.22 > diff -u -r1.22 atapi-cam.c > --- atapi-cam.c 11 Sep 2003 17:34:47 - 1.22 > +++ atapi-cam.c 16 Sep 2003 13:20:18 - > @@ -227,6 +227,11 @@ >2 * device_get_unit(atp->channel->dev) + >(atp->unit == ATA_MASTER) ? 0 : 1); > atp->softc = (void *)scp; > + if (atapi_dma && atp->channel->dma && > + (atp->param->config & ATA_DRQ_MASK) != ATA_DRQ_INTR) > + atp->setmode(atadev, ATA_DMA_MAX); > + else > + atp->setmode(atadev, ATA_PIO_MAX); > } > } > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: acd0 vs cd0 (ATAPICAM)
Le Mer 17/09/2003 à 07:40, Thomas Quinot a écrit : > Le 2003-09-17, Bryan Liesner écrivait : > > > The patch seems to work, my cd0 and cd1 lines in the dmesg now report > > 33.000 MB/s insetad of 3.300 MB/s. > > OK, good, so that's one half of the problem resolved. Now, can you test > whether the actual performances are improved or still slow? > The patch does nothing for me. Same results... and cd0 is still slow. Guillaume ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: acd0 vs cd0 (ATAPICAM)
Le Jeu 18/09/2003 à 15:32, Thomas Quinot a écrit : > Le 2003-09-18, Guillaume écrivait : > > > The patch does nothing for me. Same results... and cd0 is still slow. > > OK, then please try to apply the patch below in addition to the previous > one: > Thanks for the patch. cd0 is faster now and ATAPICAM works great. Are you going to commit the patch? Guillaume ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Fatal error 'Spinlock called when not threaded' when trying toupgrade kdelibs-3.1.4 port
Hi, It has been almost a month that my system fails to upgrade the kdelibs-3.1.4 port on my FreeBSD-current box. I have synchronized my OS with -current many times, but the problem seems to persist. Here is the error message: ../dcop/dcopidl/dcopidl ./ksycoca.h > ksycoca.kidl || ( rm -f ksycoca.kidl ; false ) Fatal error 'Spinlock called when not threaded.' at line 88 in file /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0) Abort trap (core dumped) If anyone knows what to do, please tell me. Thanks. Guillaume. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Cross dev tools for arm
Hello, I've been trying to build arm cross dev tools on an amd64 virtual machine with clang, and it doesn't seem to build. The virtual machine is built on base/head svn tree with revision r236355. Since I'm really new to the arm world, my mail might seem awkward and it might be completly normal that it doesn't build. here is a tail of what I'm getting (there are escaped string from clang) /usr/src # make xdev XDEV=arm XDEV_ARCH=arm ... ===> lib/libcompiler_rt (obj,depend,all,install) clang -O -pipe -fpic -fvisibility=hidden -DVISIBILITY_HIDDEN -std=gnu99 -Qunused-arguments -c /usr/src/lib/libcompiler_rt/__sync_fetch_and_add_4.c -o __sync_fetch_and_add_4.o In file included from /usr/src/lib/libcompiler_rt/__sync_fetch_and_add_4.c:6: [1m/usr/src/lib/libcompiler_rt/__sync_fetch_and_op_n.h:34:1: [0m[0;1;31merror: [0m[1mconflicting types for '__sync_fetch_and_add_4'[0m NAME(volatile TYPE *ptr, TYPE value) [0;1;32m^ [0m[1m/usr/src/lib/libcompiler_rt/__sync_fetch_and_add_4.c:2:15: [0m[0;1;30mnote: [0mexpanded from macro 'NAME'[0m #define NAME__sync_fetch_and_add_4 [0;1;32m^ [0m[1m/usr/src/lib/libcompiler_rt/__sync_fetch_and_op_n.h:34:1: [0m[0;1;30mnote: [0m '__sync_fetch_and_add_4' is a builtin with type 'int (volatile int *, int, ...)'[0m NAME(volatile TYPE *ptr, TYPE value) [0;1;32m^ [0m[1m/usr/src/lib/libcompiler_rt/__sync_fetch_and_add_4.c:2:15: [0m[0;1;30mnote: [0mexpanded from macro 'NAME'[0m #define NAME__sync_fetch_and_add_4 [0;1;32m^ [0mIn file included from /usr/src/lib/libcompiler_rt/__sync_fetch_and_add_4.c:6: [1m/usr/src/lib/libcompiler_rt/__sync_fetch_and_op_n.h:34:1: [0m[0;1;31merror: [0m[1mdefinition of builtin function '__sync_fetch_and_add_4'[0m NAME(volatile TYPE *ptr, TYPE value) [0;1;32m^ [0m[1m/usr/src/lib/libcompiler_rt/__sync_fetch_and_add_4.c:2:15: [0m[0;1;30mnote: [0mexpanded from macro 'NAME'[0m #define NAME__sync_fetch_and_add_4 [0;1;32m^ [0m2 errors generated. *** [__sync_fetch_and_add_4.o] Error code 1 Stop in /usr/src/lib/libcompiler_rt. *** [lib/libcompiler_rt__PL] Error code 1 Stop in /usr/src. *** [libraries] Error code 1 Stop in /usr/src. *** [_xi-libraries] Error code 1 Stop in /usr/src. *** [xdev] Error code 1 Stop in /usr/src. Script done on Thu May 31 17:06:06 2012 Thanks for any answer you guys could give me, or not :) ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"