Newbie-question: Ports and Packages
Hi, I'm a Gentoo Linux user and want to try out DragonFlyBSD, so I'm a *BSD rookie. I've installed DragonFlyBSD successfully, but I'm not able to install software with pkg_add. I've tried out to build the lsof-packages, following the Handbook (http://leaf.dragonflybsd.org/~justin/handbook/packages-using.html). I've downloaded the file lsof-4.76.1.1.tbz from ftp2.FreeBSD.org and then I've done a pkd_add lsof-4.76.1.1.tbz as root. SchlesisPC# pkg_add lsof pkg_add: unable to open +BUILD_INFO file. pkg_add: can't read build information from +BUILD_INFO: No such file or directory pkg_add: aborting. pkg_add: 1 package addition failed Before that, I did a cvsup, like described here: http://leaf.dragonflybsd.org/~justin/handbook/ports-using.html . Installtint software by Ports doesn't work, too: SchlesisPC# pwd /usr/ports/editors/nano SchlesisPC# make install ===> Vulnerability check disabled, database not found ===> Extracting for nano-1.2.5 => MD5 Checksum OK for nano-1.2.5.tar.gz. ===> nano-1.2.5 depends on file: /usr/local/sbin/pkg_info - not found ===>Verifying install for /usr/local/sbin/pkg_info in /usr/ports/sysutils/pkg_install ===> Building for pkg_install-20060113 ===> lib cc -O -pipe -mtune=pentiumpro -mtune=pentiumpro -Wno-uninitialized -Wunknown-pragmas -Wsystem-headers -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-format-extra-args -c file.c -o file.o file.c:22: error: syntax error before string constant *** Error code 1 Stop in /usr/ports/sysutils/pkg_install/work/pkg_install-20060113/lib. *** Error code 1 Stop in /usr/ports/sysutils/pkg_install/work/pkg_install-20060113. *** Error code 1 Stop in /usr/ports/sysutils/pkg_install. *** Error code 1 Stop in /usr/ports/editors/nano. I get the same error in file.c in every thing I've tested. How can I fix that Thanks, Thomas
Re: Newbie-question: Ports and Packages
Am Sonntag, 2. April 2006 19:29 schrieb Justin C. Sherrill: > I've installed DragonFlyBSD successfully, but I'm not able to install > software > with pkg_add. I've tried out to build the lsof-packages, following the > Handbook > (http://leaf.dragonflybsd.org/~justin/handbook/packages-using.html). The Handbook is out of date; we're using pkgsrc (pkgsrc.org) now. Early releases of DragonFly used FreeBSD ports, but it worked less and less well over time as FreeBSD and DragonFly diverged paths. Justin, thank you for your help, it would be very nice, if the documentation would be upgraded before the next one tapping into this trap ;-) Thomas
Re: Newbie-question: Ports and Packages
Am Montag, 3. April 2006 00:16 schrieb Simon 'corecode' Schubert: > On 02.04.2006, at 22:37, Thomas Schlesinger wrote: > > it would be very nice, if the documentation would be upgraded before > > the next > > one tapping into this trap ;-) > > I think that's barely possible. I could imagine people hitting this > issue almost every time, and writing up new stuff in such a small > period of time isn't possible. If I'm not making sense here, ignore > this. > > The central problem is that we are quite few people only working on > DragonFly, and even less working on docs (Justin is doing a great deal > now again, but yet). You could help out by rewriting these chapters to > fit pkgsrc (or at least help with writing them). > > cheers >simon Simon, I'm coming from Gentoo, so I'm a rookie on *BSD and pkgsrc. First, I must get familiar with the new stuff ;-) Thomas
Re: ACPI (Re: ICH7 ?)
Am Donnerstag, 6. April 2006 19:38 schrieb Sascha Wildner: > Our ACPI surely could need an update. Any takers? > > Sascha Hearing that, it can add a bug report: when I boot the DragonFly 1.4 CD on my Asus V6800 notebook with ACPI enabled, the keyboard doesn't work on the login prompt. When I boot without ACPI, it does work. Thomas
Re: installing DFly 1.5.2
Am Samstag, 8. April 2006 16:33 schrieb Justin C. Sherrill: > On Sat, April 8, 2006 11:33 am, Saverio Iacovelli wrote: > > Hello, I would to install DragonFly 1.5.2 on my > > laptop. > > > > 1 - There are iso images of DragonFly BSD 1.5.x? > > or > > 2 - Can I to install DragonFly by net? > > The latest build of Preview (the 1.5 version) is at: > > http://chlamydia.fs.ei.tum.de/pub/DragonFly/snapshots/i386/LATEST-Preview.i >so.bz2 > > If you are already familiar with BSD and you don't mind dealing with a few > bugs, this is fine. However, the most stable version is always the latest > RELEASE: > > http://chlamydia.fs.ei.tum.de/pub/DragonFly/snapshots/i386/LATEST-Release-1 >.4.iso.bz2 > > If you install the release version, be sure to check the errata: > > http://www.dragonflybsd.org/community/errata1_4.cgi > > It is possible to install DragonFly by network booting; I don't know if > this is what you want. The easiest way is to boot from a CD; the > installer has some docs here: > > http://wiki.bsdinstaller.com/wikka.php?wakka=BSDInstaller Saverio, the Latest-preview didn't work for me, I got an error in the installer after a while. Better download the "official" 1.4 release CD and update DF after installation. Thomas
Re: installing DFly 1.5.2
Am Samstag, 8. April 2006 17:19 schrieb Saverio Iacovelli: > > Saverio, > > > > the Latest-preview didn't work for me, I got an > > error in the installer after a > > while. Better download the "official" 1.4 release CD > > and update DF after > > installation. > > > > Thomas > > Can I download DFly 1.4.2's iso? > It's "LATEST-Release-1.4.iso.bz2" realeased in date > "28-Mar-2006 18:23" > I don't know about 1.4.2 ISO's, but this one worked for me: http://ftp.tu-clausthal.de/pub/DragonFly/iso-images/dfly-1.4.0_REL.iso.gz Thomas
WPA support
Hi, as I've seen in the Wiki, there's support for ipw2200. But after goggleing a while, I got the impression, that WPA encryption is not possible yet. Is this correct? Is there support for WPA planned? Thomas
Re: WPA support
Am Montag, 10. April 2006 15:42 schrieb Erik Wikström: > On 2006-04-10 12:16, Thomas Schlesinger wrote: > > Hi, > > > > as I've seen in the Wiki, there's support for ipw2200. But after > > goggleing a while, I got the impression, that WPA encryption is not > > possible yet. Is this correct? Is there support for WPA planned? > > Not yet, there is a patch by Adrian Nida for ath(4) and WAP support*. > Andrew Atrens said that he got it working for wi(4) too but I've not > heard anything about ipw(4). > > I seem to recal that there were plans for some major change in the > routing-code and until it's done no other major changes to the > networking would be committed, but I might be wrong. > > * http://leaf.dragonflybsd.org/mailarchive/submit/2006-02/msg00036.html > > Erik Wikström Erik, thanks for your reply. So I won't migrate my notebook to DFly now... Thomas
WLAN doesn't work
Hi, I can't get WLAN to work. I use an Asus V6800 notebook with ipw2200. I loaded the wlan module with: kldload if_iwi /var/log/messages tells me: Apr 12 19:51:20 SchlesisNB su: thomas to root on /dev/ttyp1 Apr 12 19:51:26 SchlesisNB kernel: cbb0: at device 1.0 on pci3 Apr 12 19:51:26 SchlesisNB kernel: cardbus18: on cbb0 Apr 12 19:51:26 SchlesisNB kernel: pccard18: <16-bit PCCard bus> on cbb0 Apr 12 19:51:26 SchlesisNB kernel: pcib3: routed slot 1 INTA to irq 255 Apr 12 19:51:26 SchlesisNB kernel: cbb: Unable to map IRQ... Apr 12 19:51:26 SchlesisNB kernel: device_probe_and_attach: cbb0 attach returned 12 Apr 12 19:51:26 SchlesisNB kernel: iwi0: mem 0xfbff9000-0xfbff9fff irq 5 at device 2.0 on pci3 Apr 12 19:51:26 SchlesisNB kernel: iwi0: MAC address: 00:12:f0:07:f5:c8 Apr 12 19:51:26 SchlesisNB kernel: iwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps Apr 12 19:51:26 SchlesisNB kernel: iwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps I set up the connection with (and I'm sure, I've used the correct WEP key) ifconfig iwi0 inet 192.168.2.101 netmask 255.255.255.0 ssid SchlesisFunknetz wepmode on wepkey 0x123456789A up ifconfig iwi0 tells me: iwi0: flags=8802 mtu 1500 inet6 fe80::212:f0ff:fe07:f5c8%iwi0 prefixlen 64 scopeid 0x7 ether 00:12:f0:07:f5:c8 media: IEEE 802.11 Wireless Ethernet autoselect status: no carrier ssid SchlesisFunknetz 1:SchlesisFunknetz channel -1 authmode OPEN powersavemode OFF powersavesleep 100 rtsthreshold 2312 protmode CTS txpower 100 wepmode MIXED weptxkey 1 wepkey 1:40-bit This is my dmesg output: Copyright (c) 2003, 2004, 2005, 2006 The DragonFly Project. Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. DragonFly 1.5.2-DEVELOPMENT #0: Tue Apr 11 03:08:02 CEST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC TSC clock: 1728944888 Hz, i8254 clock: 1193144 Hz CPU: Intel(R) Pentium(R) M processor 1.73GHz (1729.01-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6d8 Stepping = 8 Features=0xafe9fbff real memory = 2147090432 (2096768K bytes) avail memory = 2073825280 (2025220K bytes) Preloaded elf kernel "/kernel" at 0xc0711000. Preloaded elf module "/modules/acpi.ko" at 0xc0711210. Pentium Pro MTRR support enabled md0: Malloc disk pcibios: BIOS version 2.10 Using $PIR table, 12 entries at 0xc00f8660 npx0: on motherboard npx0: INT 16 interface Using XMM optimized bcopy/copyin/copyout acpi0: on motherboard acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: Power Button (fixed) Warning: ACPI is disabling APM's device. You can't run both acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 acpi_tz0: on acpi0 acpi_button0: on acpi0 acpi_lid0: on acpi0 acpi_button1: on acpi0 acpi_cmbat0: on acpi0 acpi_acad0: on acpi0 acpi_ec0: port 0x66,0x62 on acpi0 legacypci0 on motherboard pcib0: on legacypci0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 10 pcib2: at device 28.0 on pci0 pci2: on pcib2 uhci0: port 0xa480-0xa49f irq 11 at device 29.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xa800-0xa81f irq 7 at device 29.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xa880-0xa89f irq 5 at device 29.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xac00-0xac1f irq 10 at device 29.3 on pci0 usb3: on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered pci0: at 29.7 irq 11 pcib3: at device 30.0 on pci0 pci3: on pcib3 skc0: port 0xd800-0xd8ff mem 0xfbffc000-0xfbff irq 5 at device 0.0 on pci3 skc0: Yukon Gigabit Ethernet 10/100/1000Base-T Adapter sk0: on skc0 miibus0: on sk0 e1000phy0: on miibus0 e1000phy0: 1000baseTX-FDX, 100baseTX-FDX, 100baseTX, 10baseTX-FDX, 10baseTX, auto sk0: MAC address: 00:11:d8:89:ae:62 cbb0: at device 1.0 on pci3 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib3: routed slot 1 INTA to irq 255 cbb: Unable to map IRQ... device_probe_and_attach: cbb0 attach returned 12 fwohci0: mem 0xfbffa800-0xfbffafff irq 10
Re: WLAN doesn't work
Am Mittwoch, 12. April 2006 22:20 schrieb [EMAIL PROTECTED]: > On Wed, Apr 12, 2006 at 08:02:22PM +0200, Thomas Schlesinger wrote: > > I can't get WLAN to work. > > > > I use an Asus V6800 notebook with ipw2200. > > > > I loaded the wlan module with: > > > > kldload if_iwi > > Have you installed sysutils/iwi_firmware and loaded it correctly? > Otherwise the interface can't be configured as UP, as indicated by your > output beflow. > > Joerg Joerg, thanks for your reply. I didn't install the iwi_firmware. How can I it? I can't install it with pkg_add (I'm a litke bit confused about installing software, as I've encountered some days ago, that the handbook was outdated in case of software installation). Thomas
Re: WLAN doesn't work
Am Mittwoch, 12. April 2006 22:35 schrieb [EMAIL PROTECTED]: > On Wed, Apr 12, 2006 at 08:34:00PM +0200, Thomas Schlesinger wrote: > > thanks for your reply. I didn't install the iwi_firmware. How can I it? I > > can't install it with pkg_add (I'm a litke bit confused about installing > > software, as I've encountered some days ago, that the handbook was > > outdated in case of software installation). > > You have to get the firmware manually, either from > http://damien.bergamini.free.fr/iwifw/ or by building the package > manually. I'm not allowed to redistribute binary packages due to Intel's > broken license. > > Joerg Joerg, I've downloaded and extracted the file, but don't know what to do with the three files ipw2200-bss.fw, ipw2200-ibss.fw and ipw2200-sniffer.fw. Whis steps must I do next? Thomas
Re: WLAN doesn't work
Am Mittwoch, 12. April 2006 22:48 schrieb [EMAIL PROTECTED]: > iwicontrol iwi0 -d /usr/libdata/iwi_firmware Joerg, I've downloaded the 2.3 firmware, because iwicontrol complained about a missing iwi-boot.fw in version 3.0. The version 2.3 contains this files: ipw-2.3-boot.fw ipw-2.3-bss.fw ipw-2.3-bss_ucode.fw ipw-2.3-ibss.fw ipw-2.3-ibss_ucode.fw ipw-2.3-sniffer.fw ipw-2.3-sniffer_ucode.fw iwicontrol complained again about some missing files, so I've renamed them: iwi-boot.fw iwi-sniffer.fw iwi-ucode-sniffer.fw iwi-bss.fw iwi-ucode-bss.fw iwi-ibss.fw iwi-ucode-ibss.fw iwcontrol iwi0 -d /usr/libdata/iwi_firmware works now without complaining, but I can still get no connection to my WLAN router (A ping wasn't replied). Is there any possibility to check, if the WLAN adapter works now correctly (without having an additional WLAN device available)? Thomas
Re: WLAN doesn't work
Am Donnerstag, 13. April 2006 00:03 schrieb [EMAIL PROTECTED]: > On Wed, Apr 12, 2006 at 09:46:29PM +0200, Thomas Schlesinger wrote: > > iwcontrol iwi0 -d /usr/libdata/iwi_firmware works now without complaining > > You have now configured the interface (again) and it is up, but doesn't > get a link? > > Joerg Joerg, I've found out something strange meanwhile: I get only a connection, when I disable encryption *and* enable the transmission of the SSID. I'll investigate it further tomorrow, now it's heavy time to sleep ;-) Thank you for your help so far. Thomas
Re: WLAN doesn't work
Am Donnerstag, 13. April 2006 00:14 schrieb Thomas Schlesinger: > > I've found out something strange meanwhile: I get only a connection, when I > disable encryption *and* enable the transmission of the SSID. I'll > investigate it further tomorrow, now it's heavy time to sleep ;-) > > Thank you for your help so far. > > Thomas I've continued testing with the same result. I need to enable SSID Broadcast and disable WEP (I've tried both, 40/64 and 104/128 bit keys). Do I need to load an additional kernel module for wep, similar to ieee80211 in Linux? And a second question: does anybody here use an ipw2200 with a disabled SSID Broadcast successfully? Thomas
How to enable a bootsplash screen
Hi, I've followed http://leaf.dragonflybsd.org/mailarchive/submit/2003-10/msg4.html to enable a boot splash, but it didn't work. This is an excerpt of my /boot/defaults/loader.conf: [..] splash_bmp_load="YES" splash_pcx_load="NO" vesa_load="YES" bitmap_load="YES" bitmap_name="dfly.bmp" bitmap_type="splash_image_data" [..] module_path="/;/boot;/modules" [..] The bootsplash bitmap is in place, too: SchlesisPC# ls -al /boot/dfly.bmp -rw-r--r-- 1 root wheel 481078 Apr 10 18:54 /boot/dfly.bmp When I boot, I didn't get a bootsplash. I get, as expected, the selection menu for DFly's boot options (e. g. with acpi, without acpi, ...) and after selecting one, I get the usual boot messages on screen. The necessary modules are loaded at boot time: > kldstat Id Refs AddressSize Name 1 29 0xc010 5b56ac kernel 21 0xc06b6000 3068 splash_bmp.ko 31 0xc06ba000 55b8 vesa.ko [..] What do I miss? Thomas
Re: installing DFly over third partition
Am Donnerstag, 13. April 2006 19:01 schrieb Saverio Iacovelli: > Hello, I downloaded DragonFly 1.4.2. > I must to install DragonFly on my laptop, and the hard > disk's partioning is the following: > - First partition with Windows XP > - Second partition with Linux > - other > > I must to create a third partition for DragonFly, I > must to use fdisk. > How do I use fdisk? > > Regards, > Saverio > Severino, you can used fdisk as usual. Make a partition for DragonFly, then boot from the DragonFly CD. There's an option to use a part of a harddisk for the installation. DFLY makes his slices then in the selected partition. I use grub here as a boot manager, tri-booting Linux, GNU/Hurd and DFly without problems (that means, I didn't let the DFly installation set up its own boot manager). Thomas
Re: WLAN doesn't work
I've written a small how-to for setting up an ipw2200 adapter in the Wiki (http://wiki.dragonflybsd.org/index.php/Set_up_ipw2200). Feel free to optimize it ;-) Thomas
Re: 80211 patch1
Am Sonntag, 16. April 2006 13:00 schrieb Sepherosa Ziehau: > Hi all, > > I have managed to port fbsd6's net80211, based on patch sumbitted by > Andrew Atrens and Adrian Michael Nida > > Please try following patch: > http://leaf.dragonflybsd.org/~sephe/802_11.diff1 > > NOTE: > 1) This patch is against src/ *not* against src/sys/ > 2) Please don't forget "-p0" in the `patch' command > 3) Please compile kernel/modules with INVARANTS > 4) There is a noticable change in ifconfig(8): if you use WEP, > 'weptxkey' option *must* be supplied now > Sepherosa, how do I compile kernel/modules with INVARANTS? Thomas
Re: 80211 patch1
Am Sonntag, 16. April 2006 20:24 schrieb Simon 'corecode' Schubert: > On 16.04.2006, at 17:45, Thomas Schlesinger wrote: > > how do I compile kernel/modules with INVARANTS? > > cd /usr/src && echo options INVARIANTS >> > /sys/i386/conf/$YOUR_KERNEL_CONFIG && make quickkernel# or do > we need > buildkernel then? > > cheers >simon Simon, thanks. I've looked for INVARANTS, as Sepherosa wrote. Thomas
Re: 80211 patch1
Am Sonntag, 16. April 2006 13:00 schrieb Sepherosa Ziehau: > Hi all, > > I have managed to port fbsd6's net80211, based on patch sumbitted by > Andrew Atrens and Adrian Michael Nida > > Please try following patch: > http://leaf.dragonflybsd.org/~sephe/802_11.diff1 > Sepherosa, I want to give you a first feedback. I've tried your patch on my notebook with ipw2200 adapter. When I try to configure my adapter or try to bring it up with "ifconfig iwi0 up", I get a panic: panic: td_pri i/would-go negative! 0xd6796e00 -22 iwi_load_firmware is mentioned in the trace, so it may not work with the ipw2200 firmware, at least with version 2.3. Thomas
Re: 80211 patch1
Am Montag, 17. April 2006 03:37 schrieb Sepherosa Ziehau: > > My fault, missing a crit_enter(), please change > sys/dev/netif/iwi/if_iwi.c > iwi_load_firmware() > near these lines: > > CSR_WRITE_4(sc, IWI_CSR_CTL, tmp | IWI_CTL_ALLOW_STANDBY); > > /* wait at most one second for firmware initialization to complete */ > crit_enter(); <= add me > tsleep_interlock(IWI_FW_INITIALIZED(sc)); > lwkt_serialize_exit(ifp->if_serializer); > > > And give it a try again, thanks > > Best Regards, > sephe > Sepherosa, how do I build the wpa_supplicant? I've downloaded http://leaf.dragonflybsd.org/~sephe/wpa/wpa_supp/ and http://leaf.dragonflybsd.org/~sephe/wpa/wpa_supplicant/ under an common directory. Then, I've cd'd into wpa_supp and did a make. That's the ouput: SchlesisNB# make Warning: Object directory not changed from original /home/thomas/Downloads/WPA/wpa_supp cc -O -pipe -mtune=pentiumpro -I/home/thomas/Downloads/WPA/wpa_supp -I/home/thomas/Downloads/WPA/wpa_supp/../wpa_supplicant -DCONFIG_DRIVER_BSD -DCONFIG_DRIVER_NDIS -DCONFIG_CTRL_IFACE -g -DCONFIG_BACKEND_FILE -DIEEE8021X_EAPOL -DEAP_TLS -DEAP_PEAP -DEAP_MSCHAPv2 -DEAP_LEAP -DEAP_PSK -DEAP_TLV -DEAP_TLS_FUNCS -DEAP_TTLS -DEAP_MD5-c /home/thomas/Downloads/WPA/wpa_supp/../wpa_supplicant/config.c cc -O -pipe -mtune=pentiumpro -I/home/thomas/Downloads/WPA/wpa_supp -I/home/thomas/Downloads/WPA/wpa_supp/../wpa_supplicant -DCONFIG_DRIVER_BSD -DCONFIG_DRIVER_NDIS -DCONFIG_CTRL_IFACE -g -DCONFIG_BACKEND_FILE -DIEEE8021X_EAPOL -DEAP_TLS -DEAP_PEAP -DEAP_MSCHAPv2 -DEAP_LEAP -DEAP_PSK -DEAP_TLV -DEAP_TLS_FUNCS -DEAP_TTLS -DEAP_MD5-c /home/thomas/Downloads/WPA/wpa_supp/../wpa_supplicant/eloop.c cc -O -pipe -mtune=pentiumpro -I/home/thomas/Downloads/WPA/wpa_supp -I/home/thomas/Downloads/WPA/wpa_supp/../wpa_supplicant -DCONFIG_DRIVER_BSD -DCONFIG_DRIVER_NDIS -DCONFIG_CTRL_IFACE -g -DCONFIG_BACKEND_FILE -DIEEE8021X_EAPOL -DEAP_TLS -DEAP_PEAP -DEAP_MSCHAPv2 -DEAP_LEAP -DEAP_PSK -DEAP_TLV -DEAP_TLS_FUNCS -DEAP_TTLS -DEAP_MD5-c /home/thomas/Downloads/WPA/wpa_supp/../wpa_supplicant/common.c cc -O -pipe -mtune=pentiumpro -I/home/thomas/Downloads/WPA/wpa_supp -I/home/thomas/Downloads/WPA/wpa_supp/../wpa_supplicant -DCONFIG_DRIVER_BSD -DCONFIG_DRIVER_NDIS -DCONFIG_CTRL_IFACE -g -DCONFIG_BACKEND_FILE -DIEEE8021X_EAPOL -DEAP_TLS -DEAP_PEAP -DEAP_MSCHAPv2 -DEAP_LEAP -DEAP_PSK -DEAP_TLV -DEAP_TLS_FUNCS -DEAP_TTLS -DEAP_MD5-c /home/thomas/Downloads/WPA/wpa_supp/../wpa_supplicant/md5.c cc -O -pipe -mtune=pentiumpro -I/home/thomas/Downloads/WPA/wpa_supp -I/home/thomas/Downloads/WPA/wpa_supp/../wpa_supplicant -DCONFIG_DRIVER_BSD -DCONFIG_DRIVER_NDIS -DCONFIG_CTRL_IFACE -g -DCONFIG_BACKEND_FILE -DIEEE8021X_EAPOL -DEAP_TLS -DEAP_PEAP -DEAP_MSCHAPv2 -DEAP_LEAP -DEAP_PSK -DEAP_TLV -DEAP_TLS_FUNCS -DEAP_TTLS -DEAP_MD5-c /home/thomas/Downloads/WPA/wpa_supp/../wpa_supplicant/rc4.c cc -O -pipe -mtune=pentiumpro -I/home/thomas/Downloads/WPA/wpa_supp -I/home/thomas/Downloads/WPA/wpa_supp/../wpa_supplicant -DCONFIG_DRIVER_BSD -DCONFIG_DRIVER_NDIS -DCONFIG_CTRL_IFACE -g -DCONFIG_BACKEND_FILE -DIEEE8021X_EAPOL -DEAP_TLS -DEAP_PEAP -DEAP_MSCHAPv2 -DEAP_LEAP -DEAP_PSK -DEAP_TLV -DEAP_TLS_FUNCS -DEAP_TTLS -DEAP_MD5-c /home/thomas/Downloads/WPA/wpa_supp/../wpa_supplicant/sha1.c cc -O -pipe -mtune=pentiumpro -I/home/thomas/Downloads/WPA/wpa_supp -I/home/thomas/Downloads/WPA/wpa_supp/../wpa_supplicant -DCONFIG_DRIVER_BSD -DCONFIG_DRIVER_NDIS -DCONFIG_CTRL_IFACE -g -DCONFIG_BACKEND_FILE -DIEEE8021X_EAPOL -DEAP_TLS -DEAP_PEAP -DEAP_MSCHAPv2 -DEAP_LEAP -DEAP_PSK -DEAP_TLV -DEAP_TLS_FUNCS -DEAP_TTLS -DEAP_MD5-c /home/thomas/Downloads/WPA/wpa_supp/../wpa_supplicant/aes_wrap.c cc -O -pipe -mtune=pentiumpro -I/home/thomas/Downloads/WPA/wpa_supp -I/home/thomas/Downloads/WPA/wpa_supp/../wpa_supplicant -DCONFIG_DRIVER_BSD -DCONFIG_DRIVER_NDIS -DCONFIG_CTRL_IFACE -g -DCONFIG_BACKEND_FILE -DIEEE8021X_EAPOL -DEAP_TLS -DEAP_PEAP -DEAP_MSCHAPv2 -DEAP_LEAP -DEAP_PSK -DEAP_TLV -DEAP_TLS_FUNCS -DEAP_TTLS -DEAP_MD5-c /home/thomas/Downloads/WPA/wpa_supp/../wpa_supplicant/wpa_supplicant.c cc -O -pipe -mtune=pentiumpro -I/home/thomas/Downloads/WPA/wpa_supp -I/home/thomas/Downloads/WPA/wpa_supp/../wpa_supplicant -DCONFIG_DRIVER_BSD -DCONFIG_DRIVER_NDIS -DCONFIG_CTRL_IFACE -g -DCONFIG_BACKEND_FILE -DIEEE8021X_EAPOL -DEAP_TLS -DEAP_PEAP -DEAP_MSCHAPv2 -DEAP_LEAP -DEAP_PSK -DEAP_TLV -DEAP_TLS_FUNCS -DEAP_TTLS -DEAP_MD5-c /home/thomas/Downloads/WPA/wpa_supp/../wpa_supplicant/events.c cc -O -pipe -mtune=pentiumpro -I/home/thomas/Downloads/WPA/wpa_supp -I/home/thomas/Downloads/WPA/wpa_supp/../wpa_supplicant -DCONFIG_DRIVER_BSD -DCONFIG_DRIVER_NDIS -DCONFIG_CTRL_IFACE -g -DCONFIG_BACKEND_FILE -DIEEE8021X_EAPOL -DEAP_TLS -DEAP_PEAP -DEAP_MSCHAPv2 -DEAP_LEAP -DEAP_PSK -DEAP_TLV -DEAP_TLS_FUNCS -DEAP_TTLS -DEAP_MD5-c /home/thomas/Downloads/WPA/wpa_supp/../wpa_supplicant/wpa.c cc -O
Re: 80211 patch1
Am Montag, 17. April 2006 12:03 schrieb Thomas Schlesinger: > Sepherosa, > > how do I build the wpa_supplicant? > Sepherosa, thanks to Sascha Wildner I was able to build wpa_supplicant now (I did a make include at /usr/src). There's a minor issue left: A "make install" gives me this output: SchlesisNB# make install install -s -o root -g wheel -m 555 wpa_supplicant usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 file2 install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 ... fileN directory install -d [-v] [-g group] [-m mode] [-o owner] directory ... *** Error code 64 Stop in /home/thomas/Downloads/WPA/wpa_supp. Thomas
Re: 80211 patch1
Am Sonntag, 16. April 2006 13:00 schrieb Sepherosa Ziehau: > Hi all, > > I have managed to port fbsd6's net80211, based on patch sumbitted by > Andrew Atrens and Adrian Michael Nida > Sepherosa, I've got working WPA finally on my ipw220. Thank you *very* much for your work and your support! There's left only a 'cosmetic' issue: When I use no encryption (no WEP, no WPA), I use this successfully to establish a network connection: /etc/rc.conf: ifconfig_iwi0="inet 192.168.2.101 netmask 255.255.255.0 ssid SchlesisFunknetz wepmode off and /etc/wpa_supplicant.conf: iwicontrol iwi0 -d /usr/libdata/iwi_firmware I've modified this files to work with WPA, too, but it doesn't work: I set the IP-address in my /etc/rc.conf: ifconfig_iwi0="inet 192.168.2.101 netmask 255.255.255.0" The WPA thingy should be automagically enabled by a modified /etc/start_if.iwi0: ifconfig iwi0 up nohup wpa_supplicant -i iwi0 -c /etc/wpa_supplicant.conf > /var/log/wpa.log & route add default 192.168.2.1 On boot time, the notebooks seems to hang on /etc/start_if.iwi0, until I do a Ctrl-C. Do you have any idea, why the /etc/start_if.iwi0 script does not work on boot time? Thomas
Re: 80211 patch1
Am Montag, 17. April 2006 15:27 schrieb Sepherosa Ziehau: > > You seem to forget to load firmware before bring iwi(4) up. Did you > have something like "Please load firmware" in your dmesg or > /var/log/messages? > > > ifconfig iwi0 up > > nohup wpa_supplicant -i iwi0 -c /etc/wpa_supplicant.conf > > > /var/log/wpa.log & route add default 192.168.2.1 > Of, I've accidently snipped the first line of the file. That's the complete version: iwicontrol iwi0 -d /usr/libdata/iwi_firmware ifconfig iwi0 up nohup wpa_supplicant -i iwi0 -c /etc/wpa_supplicant.conf > /var/log/wpa.log & route add default 192.168.2.1 Thomas
Re: 80211 patch1
Am Montag, 17. April 2006 16:02 schrieb Sepherosa Ziehau: > On 4/17/06, Thomas Schlesinger <[EMAIL PROTECTED]> wrote: > > iwicontrol iwi0 -d /usr/libdata/iwi_firmware > > ifconfig iwi0 up > > nohup wpa_supplicant -i iwi0 -c /etc/wpa_supplicant.conf > > > /var/log/wpa.log & > > use wpa_supplicant -B to put it into background, nohup is not necessary > > > route add default 192.168.2.1 > > This is not correct, put a `defaultrouter="192.168.2.1"' in /etc/rc.conf > > Best Regards, > sephe > > -- > Live Free or Die Yeah, now my notebook is connecting automagically to my WPA-protected router on boot. That's the way it should be :-) Thanks again for your patch and your help! Thomas
Getting nuts with pkgsrc
Hi, after problems with binary packages (no ogg-support in KDE and crashing KDE) I've tried to build KDE from source *the last three days* and get in heavy trouble with packages (not-existing files were required). Today, I discovered the Wiki page about pkgsrc, deleted my existing pkgsrc installation and set it up new, according to the Wiki article. But I'm unable to build xorg. When I try to build /usr/pkgsrc/meta-pkgs/xorg, I get this error message: SchlesisNB# pwd /usr/pkgsrc/meta-pkgs/xorg SchlesisNB# bmake install clean ===> Checking for vulnerabilities in xorg-6.9.0nb3 ===> Extracting for xorg-6.9.0nb3 ===> Required installed package xorg-imake>=6.9.0: xorg-imake-6.9.0nb1 found ===> Required installed package xorg-libs>=6.9.0: xorg-libs-6.9.0nb2 found ===> Required package xorg-server>=6.9.0: NOT found ===> Verifying reinstall for ../../x11/xorg-server bmake: "../../x11/Xrender/../../x11/Xrender/buildlink3.mk" line 20: Could not find ../../x11/renderproto/buildlink3.mk bmake: Fatal errors encountered -- cannot continue bmake: stopped in /usr/pkgsrc/x11/xorg-server *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/meta-pkgs/xorg *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/meta-pkgs/xorg When I try to build /usr/pkgsrc/wip/xorg-server (after deleting the previous installed x-related packages), I get this error message: SchlesisNB# pwd /usr/pkgsrc/wip/xorg-server SchlesisNB# bmake install clean ===> Checking for vulnerabilities in xorg-server-0.99.2 ===> Creating toolchain wrappers for xorg-server-0.99.2 Syntax error: expecting "in" *** Error code 2 Stop. bmake: stopped in /usr/pkgsrc/wip/xorg-server *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/wip/xorg-server Does anybody have an advice for me to install xorg from source? Thomas
Re: Getting nuts with pkgsrc
Am Mittwoch, 19. April 2006 21:10 schrieb Thomas Schlesinger: > When I try to build /usr/pkgsrc/wip/xorg-server (after deleting the > previous installed x-related packages), I get this error message: > > SchlesisNB# pwd > /usr/pkgsrc/wip/xorg-server > SchlesisNB# bmake install clean > ===> Checking for vulnerabilities in xorg-server-0.99.2 > ===> Creating toolchain wrappers for xorg-server-0.99.2 > Syntax error: expecting "in" > *** Error code 2 > > Stop. > bmake: stopped in /usr/pkgsrc/wip/xorg-server > *** Error code 1 > > Stop. > bmake: stopped in /usr/pkgsrc/wip/xorg-server > Addenum: when I do a "bmake clean" before the "bmake install clean", I get thiss error message: SchlesisNB# bmake install clean ===> Checking for vulnerabilities in xorg-server-0.99.2 => Checksum SHA1 OK for xorg-server-0.99.2.tar.bz2. => Checksum RMD160 OK for xorg-server-0.99.2.tar.bz2. ===> Extracting for xorg-server-0.99.2 ===> Required installed package pkg-config>=0.19: pkg-config-0.20 found ===> Patching for xorg-server-0.99.2 ===> Overriding tools for xorg-server-0.99.2 pkg_info: missing package name(s) usage: pkg_info [-BbcDdFfhIikLmNnpqRrSsVv] [-e package] [-K pkg_dbdir] [-l prefix] pkg-name [...] pkg_info [-a | -u] [flags] pkg_info -Q variable pkg-name [pkg-name ...] bmake: "../../mk/wrapper/../../mk/buildlink3/../../mk/wrapper/../../mk/buildlink3/bsd.buildlink3.mk" line 327: warning: Couldn't read shell's output for "/usr/bin/true Computing BUILDLINK_PREFIX.bigreqsproto; /usr/pkg/sbin/pkg_info -K . -qp | /usr/bin/sed -e "s,^[^/]*,,;q"" pkg_info: missing package name(s) usage: pkg_info [-BbcDdFfhIikLmNnpqRrSsVv] [-e package] [-K pkg_dbdir] [-l prefix] pkg-name [...] pkg_info [-a | -u] [flags] pkg_info -Q variable pkg-name [pkg-name ...] bmake: "../../mk/wrapper/../../mk/buildlink3/../../mk/wrapper/../../mk/buildlink3/bsd.buildlink3.mk" line 327: warning: Couldn't read shell's output for "/usr/bin/true Computing BUILDLINK_PREFIX.compositeproto; /usr/pkg/sbin/pkg_info -K . -qp | /usr/bin/sed -e "s,^[^/]*,,;q"" pkg_info: missing package name(s) usage: pkg_info [-BbcDdFfhIikLmNnpqRrSsVv] [-e package] [-K pkg_dbdir] [-l prefix] pkg-name [...] pkg_info [-a | -u] [flags] pkg_info -Q variable pkg-name [pkg-name ...] bmake: "../../mk/wrapper/../../mk/buildlink3/../../mk/wrapper/../../mk/buildlink3/bsd.buildlink3.mk" line 327: warning: Couldn't read shell's output for "/usr/bin/true Computing BUILDLINK_PREFIX.damageproto; /usr/pkg/sbin/pkg_info -K . -qp | /usr/bin/sed -e "s,^[^/]*,,;q"" pkg_info: missing package name(s) usage: pkg_info [-BbcDdFfhIikLmNnpqRrSsVv] [-e package] [-K pkg_dbdir] [-l prefix] pkg-name [...] pkg_info [-a | -u] [flags] pkg_info -Q variable pkg-name [pkg-name ...] bmake: "../../mk/wrapper/../../mk/buildlink3/../../mk/wrapper/../../mk/buildlink3/bsd.buildlink3.mk" line 327: warning: Couldn't read shell's output for "/usr/bin/true Computing BUILDLINK_PREFIX.fixesproto; /usr/pkg/sbin/pkg_info -K . -qp | /usr/bin/sed -e "s,^[^/]*,,;q"" pkg_info: missing package name(s) usage: pkg_info [-BbcDdFfhIikLmNnpqRrSsVv] [-e package] [-K pkg_dbdir] [-l prefix] pkg-name [...] pkg_info [-a | -u] [flags] pkg_info -Q variable pkg-name [pkg-name ...] bmake: "../../mk/wrapper/../../mk/buildlink3/../../mk/wrapper/../../mk/buildlink3/bsd.buildlink3.mk" line 327: warning: Couldn't read shell's output for "/usr/bin/true Computing BUILDLINK_PREFIX.fontsproto; /usr/pkg/sbin/pkg_info -K . -qp | /usr/bin/sed -e "s,^[^/]*,,;q"" pkg_info: missing package name(s) usage: pkg_info [-BbcDdFfhIikLmNnpqRrSsVv] [-e package] [-K pkg_dbdir] [-l prefix] pkg-name [...] pkg_info [-a | -u] [flags] pkg_info -Q variable pkg-name [pkg-name ...] bmake: "../../mk/wrapper/../../mk/buildlink3/../../mk/wrapper/../../mk/buildlink3/bsd.buildlink3.mk" line 327: warning: Couldn't read shell's output for "/usr/bin/true Computing BUILDLINK_PREFIX.libdrm; /usr/pkg/sbin/pkg_info -K . -qp | /usr/bin/sed -e "s,^[^/]*,,;q"" pkg_info: missing package name(s) usage: pkg_info [-BbcDdFfhIikLmNnpqRrSsVv] [-e package] [-K pkg_dbdir] [-l prefix] pkg-name [...] pkg_info [-a | -u] [flags] pkg_info -Q variable pkg-name [pkg-name ...] bmake: "../../mk/wrapper/../../mk/buildlink3/../../mk/wrapper/../../mk/buildlink
Re: Getting nuts with pkgsrc
Am Mittwoch, 19. April 2006 21:58 schrieb [EMAIL PROTECTED]: > On Wed, Apr 19, 2006 at 09:10:08PM +0200, Thomas Schlesinger wrote: > > after problems with binary packages (no ogg-support in KDE and crashing > > KDE) > > Can you be more verbose? > > > I've tried to build KDE from source *the last three days* and get in > > heavy trouble with packages (not-existing files were required). Today, I > > discovered the Wiki page about pkgsrc, deleted my existing pkgsrc > > installation and set it up new, according to the Wiki article. > > The main tree is currently a bit in a flux due to updates for libpng and > preparations to support modular Xorg (aka 7.0). You might be better of > with the quarter branch. > > Joerg Would ftp://ftp.netbsd.org/pub/pkgsrc/2006Q1/pkgsrc-2006Q1.tar.bz2 be a feasible file? How can I do a bootstrap then (/usr/pkgsrc/bootstrap doesn't exist in this tar file)? Until now, I've encountered two problems with KDE's binary packages: 1. lack off ogg support Though I've had installed libogg and libvorbis, I was unable to play ogg files from KDE itself (sound notifications). Using programs to play ogg-files worked, though (kmplayer). 2. Kmixer couldn't be used Kmixer seems to find no mixing device, though sound works in general. 3. Korganizer crashed mostly when adding an appointment. I've encountered this problems on my both machines. Thomas
Re: Getting nuts with pkgsrc
Am Mittwoch, 19. April 2006 22:20 schrieb Jeremy C. Reed: > On Wed, 19 Apr 2006, Thomas Schlesinger wrote: > > ===> Required package xorg-server>=6.9.0: NOT found > > ===> Verifying reinstall for ../../x11/xorg-server > > bmake: "../../x11/Xrender/../../x11/Xrender/buildlink3.mk" line 20: Could > > not find ../../x11/renderproto/buildlink3.mk > > bmake: Fatal errors encountered -- cannot continue > > Make sure your pkgsrc is up-to-date. Is it possible you only updated part > of it? > > The above is related to my work yesterday, but it looks like you only > have a partial update. > > Are you using "cvs up -dP"? (Notice the "-d" in particular.) > > Jeremy C. Reed > > echo ':6DB6=88>?;@69876tA=AC8BB5tA6487><' | tr '4-F' 'wu rofIn.lkigemca' Jeremy, I've exactly followed this Wiki site: http://wiki.dragonflybsd.org/index.php/Pkgsrc, so I haven't done a "cvs up -dP". Is the information on the Wiki wrong? Thomas
Re: Getting nuts with pkgsrc
Am Mittwoch, 19. April 2006 22:19 schrieb Thomas Schlesinger: > Am Mittwoch, 19. April 2006 21:58 schrieb [EMAIL PROTECTED]: > > On Wed, Apr 19, 2006 at 09:10:08PM +0200, Thomas Schlesinger wrote: > > > after problems with binary packages (no ogg-support in KDE and crashing > > > KDE) > Would ftp://ftp.netbsd.org/pub/pkgsrc/2006Q1/pkgsrc-2006Q1.tar.bz2 be a > feasible file? How can I do a bootstrap then (/usr/pkgsrc/bootstrap doesn't > exist in this tar file)? > Oh, sorry, there *is* a bootstrap directory. It seems, I'm "overworked" from babysitting my KDE installation for all the time ;-( Thomas
Re: GNU make not installed
Am Freitag, 21. April 2006 19:11 schrieb Saverio Iacovelli: > I installed gmake-3.80nb5.tgz by > ftp://packages.stura.uni-rostock.de/pkgsrc-current/DragonFly/RELEASE/i386/A >ll/, but this package require gettext-lib-0.14.5.tgz. > I installed gettext-lib-0.14.5.tgz also, but appears > the message: > this package was built for the different version of > the system... > > I not solved the problem! > > Saverio > This means only, that you use another (newer?) version of DragonFly. It should be no problem. You'll encounter this message at a lot of (all?) packages. I think, you can just ignore it. Thomas
pkgsrc-problems
Hi Jörg, there are problems with some pkgsrc-packages: package mpeg4ip: checking whether the f77 linker (/usr/pkgsrc/multimedia/mpeg4ip/work/.wrapper/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... dragonfly ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking whether make sets $(MAKE)... (cached) yes checking for i386-pc-dragonfly-gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ANSI C... (cached) none needed checking dependency style of cc... (cached) gcc3 checking for inline... inline checking for an ANSI C-conforming const... yes checking for i386-pc-dragonfly-g++... (cached) c++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether c++ accepts -g... (cached) yes checking dependency style of c++... (cached) gcc3 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking for working alloca.h... no checking for alloca... yes configure: error: Unsupported target: Please add to configure.in configure: error: /bin/sh './configure' failed for lib/SDLAudio + exit 1 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/multimedia/mpeg4ip package kdeutis3: memsensor.cpp:294:31: warning: "__FreeBSD_version" is not defined memsensor.cpp:306:31: warning: "__FreeBSD_version" is not defined memsensor.cpp: In member function `virtual void MemSensor::update()': memsensor.cpp:307: error: `MaxSet' undeclared (first use this function) memsensor.cpp:309: warning: unused variable 'set' memsensor.cpp:334:31: warning: "__FreeBSD_version" is not defined gmake[3]: *** [memsensor.o] Error 1 gmake[3]: Leaving directory `/usr/pkgsrc/misc/kdeutils3/work/kdeutils-3.5.2/superkaramba/src' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/pkgsrc/misc/kdeutils3/work/kdeutils-3.5.2/superkaramba' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/pkgsrc/misc/kdeutils3/work/kdeutils-3.5.2' gmake: *** [all] Error 2 *** Error code 2 package k3b: if /bin/sh ../libtool --silent --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/usr/pkg/include -I/usr/pkg/qt3/include -I/usr/pkg/xorg/include -I/usr/pkg/include -I/usr/pkg/xorg/include -DQT_THREAD_SUPPORT -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/xorg/include -I/usr/pkg/include/krb5 -I/usr/pkg/include/freetype2 -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/xorg/include -I/usr/pkg/include/krb5 -I/usr/pkg/include/freetype2 -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fpermissive -MT k3bscsicommand.lo -MD -MP -MF ".deps/k3bscsicommand.Tpo" \ -c -o k3bscsicommand.lo `test -f 'k3bscsicommand.cpp' || echo './'`k3bscsicommand.cpp; \ then mv -f ".deps/k3bscsicommand.Tpo" ".deps/k3bscsicommand.Plo"; \ else rm -f ".deps/k3bscsicommand.Tpo"; exit 1; \ fi In file included from k3bscsicommand.cpp:187: k3bscsicommand_bsd.cpp: In member function `int K3bDevice::ScsiCommand::transport(K3bDevice::TransportDirection, void*, size_t)': k3bscsicommand_bsd.cpp:157: warning: right-hand operand of comma has no effect In file included from k3bscsicommand.cpp:187: k3bscsicommand_bsd.cpp: In member function `bool K3bDevice::ScsiCommand::eject(bool)': k3bscsicommand_bsd.cpp:196: error: 'class K3bDevice::ScsiCommand::Private' has no member named 'cmd' k3bscsicommand_bsd.cpp:201: error: 'class K3bDevice::ScsiCommand::Private' has no member named 'cmd' k3bscsicommand_bsd.cpp:204: error: 'class K3bDevice::ScsiCommand::Private' has no member named 'cmd' k3bscsicommand_bsd.cpp:207: error: 'class K3bDevice::ScsiCommand::Private' has no member named 'cmd' k3bscsicommand_bsd.cpp: In member function `bool K3bDevice::ScsiCommand::traylock(bool)': k3bscsicommand_bsd.cpp:215: error: 'class K3bDevice::ScsiCommand::Private' has no member named 'cmd' k3bscsicommand_bsd.cpp:217: error: 'class K3bDevice::ScsiCommand::Private' has no member named 'cmd' gmake[2]: *** [k3bscsicommand.lo] Error 1 gmake[2]: Leaving directory `/usr/pkgsrc/sysutils/k3b/work/k3b-0.12.14/libk3bdevice' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/pkgsrc/sysutils/k3b/work/k3b-0.12.14' gmake: *** [all] Error 2 *** Error code 2 Stop. bmake: stopped in /usr/pkgsrc/sysutils/k3b ===> ===> There was an error during the ``build'' phase. ===> Please investigate the following for more information: ===> * log of the build ===> * /usr/pkgsrc/sysutils/k3b/work/.work.log ===> *** Error code 1 Please have a look at these packages, if possible. Thanks, Thomas
Re: pkgsrc-problems
Am Samstag, 22. April 2006 15:58 schrieb Thomas Schlesinger: > Hi Jörg, > > there are problems with some pkgsrc-packages: > A follow-up: package /usr/pkgsrc/emulators/suse91_base: ===> Installing for suse_base-9.1nb9 ===> Creating installation directories for FILE in /usr/pkgsrc/emulators/suse91_base/work/*.sh; do /usr/bin/install -c -o root -g wheel -m 555 $FILE /usr/pkg/sbin/`basename $FILE .sh`; done /usr/bin/install -d -o root -g wheel -m 755 /usr/pkg/emul/linux/dev /usr/bin/install -c -o root -g wheel -m 444 /dev/MAKEDEV /usr/pkg/emul/linux/dev cd /usr/pkg/emul/linux/dev && /bin/sh ./MAKEDEV std audio audio - no such device name cd /usr/pkg/emul/linux/dev && /bin/ln -fs sound dsp /usr/pkg/sbin/rpm2pkg -d /usr/pkg -f /usr/pkgsrc/emulators/suse91_base/work/PLIST_DYNAMIC -p emul/linux -s 1 -i ./etc/bash.bashrc -i ./etc/bash_completion.d -i ./etc/cron.daily -i ./etc/csh.cshrc -i ./etc/csh.login -i ./etc/inittab -i ./etc/hushlogins -i ./etc/java -i ./etc/mailcap -i ./etc/mime.types -i ./etc/nsswitch.conf -i ./etc/pam.d -i ./etc/profile -i ./etc/profile.dos -i ./etc/rc.d.README -i ./etc/rpc -i ./etc/shells -i ./etc/ttytype /usr/pkgsrc/distfiles/suse91/i586/aaa_base-9.1-0.29.i586.rpm /usr/pkgsrc/distfiles/suse91/i586/bash-2.05b-305.1.i586.rpm /usr/pkgsrc/distfiles/suse91/i586/coreutils-5.2.1-23.8.i586.rpm /usr/pkgsrc/distfiles/suse91/i586/glibc-2.3.3-98.i586.rpm /usr/pkgsrc/distfiles/suse91/i586/libgcc-3.3.3-41.i586.rpm /usr/pkgsrc/distfiles/suse91/i586/libacl-2.2.21-54.4.i586.rpm /usr/pkgsrc/distfiles/suse91/i586/libattr-2.4.12-56.i586.rpm /usr/pkgsrc/distfiles/suse91/i586/libselinux-1.8-16.i586.rpm /usr/pkgsrc/distfiles/suse91/i586/libstdc++-3.3.3-41.i586.rpm /usr/pkgsrc/distfiles/suse91/i586/ncurses-5.4-61.3.i586.rpm /usr/pkgsrc/distfiles/suse91/i586/readline! -4.3-306.i586.rpm /usr/pkgsrc/distfiles/suse91/i586/zlib-1.2.1-70.12.i586.rpm echo "@dirrm emul/linux" >>/usr/pkgsrc/emulators/suse91_base/work/PLIST_DYNAMIC /usr/bin/install -c -o root -g wheel -m 444 /usr/pkgsrc/emulators/suse91_base/work/SuSE-release /usr/pkg/emul/linux/etc /usr/bin/install -d -o root -g wheel -m 755 /usr/pkg/emul/linux/proc /bin/ln -fs /usr/pkg/emul/linux/proc/mounts /usr/pkg/emul/linux/etc/mtab /usr/pkg/emul/linux/sbin/ldconfig -r /usr/pkg/emul/linux ELF binary type "0" not known. *** Signal 6
Re: pkgsrc-problems
Am Samstag, 22. April 2006 15:58 schrieb Thomas Schlesinger: Another follow-up: package kmymoney2: kmymoney2.o(.text+0xf966): In function `KMyMoneyPlugin::ImporterPlugin* KParts::ComponentFactory::createInstanceFromFactory(KLibFactory*, QObject*, char const*, QStringList const&)': : undefined reference to `KMyMoneyPlugin::ImporterPlugin::staticMetaObject()' kmymoney2.o(.text+0xf98f): In function `KMyMoneyPlugin::ImporterPlugin* KParts::ComponentFactory::createInstanceFromFactory(KLibFactory*, QObject*, char const*, QStringList const&)': : undefined reference to `typeinfo for KMyMoneyPlugin::ImporterPlugin' gmake[3]: *** [kmymoney2] Error 1 gmake[3]: Leaving directory `/usr/pkgsrc/finance/kmymoney2/work/kmymoney2-0.8/kmymoney2' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/pkgsrc/finance/kmymoney2/work/kmymoney2-0.8/kmymoney2' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/pkgsrc/finance/kmymoney2/work/kmymoney2-0.8' gmake: *** [all] Error 2 *** Error code 2 Stop. bmake: stopped in /usr/pkgsrc/finance/kmymoney2 Thomas
Bug reports for pkgsrc
Hi, is there an official bug tracker for faulty pkgsrc builds? Thomas
Re: 80211 patch3 (to be committed)
Am Montag, 1. Mai 2006 03:09 schrieb Sepherosa Ziehau: > Hi all, > > I have rearranged the previous 80211 patch: > http://leaf.dragonflybsd.org/~sephe/802_11.diff3 > NOTE: > 1) Apply this patch at /usr/src, don't forget -p0 in `patch'. It > should apply cleanly to HEAD or PREVIEW > 2) You will need to at least quickkernel if you have tried previous > patch. If you have not applied previous patch, you will have to > buildworld and buildkernel > 3) Please don't forget "option INVARIANTS" in you kernel config file > Sepherosa, a short reply: your latest patch works here on ipw2200. Thomas
Re: Puzzling error messages from 'make'
Am Mittwoch, 3. Mai 2006 21:49 schrieb walt: > I've been trying for two days to build firefox from pkgsrc, > but the build always halts with this error which I can't > decipher: > > ranlib libjsurl_s.a > /usr/pkgsrc/www/firefox/work/mozilla/config/nsinstall -R -m 644 > libjsurl_s.a ./../../dist/lib > make[4]: Leaving directory > `/usr/pkgsrc/www/firefox/work/mozilla/dom/src/jsurl' make[4]: write error Walt, I've had "write errors" while building packages via pkgsrc, too (on other packages, not firefox). I had enough space left on /usr, too. I don't know about the cause for this problem, but for me, it helped often (always?) to do a "bmake install clean" again without doing a "bmake clean" before. Thomas
Re: Puzzling error messages from 'make'
Am Donnerstag, 4. Mai 2006 17:38 schrieb Thomas Schlesinger: > Am Mittwoch, 3. Mai 2006 21:49 schrieb walt: > > I've been trying for two days to build firefox from pkgsrc, > > but the build always halts with this error which I can't > > decipher: > > > > ranlib libjsurl_s.a > > /usr/pkgsrc/www/firefox/work/mozilla/config/nsinstall -R -m 644 > > libjsurl_s.a ./../../dist/lib > > make[4]: Leaving directory > > `/usr/pkgsrc/www/firefox/work/mozilla/dom/src/jsurl' make[4]: write error > > > > Walt, > > I've had "write errors" while building packages via pkgsrc, too (on other > packages, not firefox). I had enough space left on /usr, too. > > I don't know about the cause for this problem, but for me, it helped often > (always?) to do a "bmake install clean" again without doing a "bmake clean" > before. > > Thomas Follow up: I've encountered the problem, for example, today with misc/koffice. Thomas
Re: 80211 patch3 (to be committed)
Am Montag, 1. Mai 2006 03:09 schrieb Sepherosa Ziehau: > Hi all, > > I have rearranged the previous 80211 patch: > http://leaf.dragonflybsd.org/~sephe/802_11.diff3 > NOTE: Sepherosa, sometimes, my notebook (Asus V6800, ipw2200) crashes, when I try to re-establish a disconnected WPA-session. I use this script for re-connecting: #!/bin/csh ifconfig iwi0 down kldunload if_iwi kldload if_iwi /etc/start_if.iwi0 ifconfig iwi0 inet 192.168.2.101 netmask 255.255.255.0 up route add default 192.168.2.1 /etc/start_if.iwi0 look like that (yes, I know, the route add is doubled): iwicontrol iwi0 -d /usr/libdata/iwi_firmware ifconfig iwi0 up wpa_supplicant -B -i iwi0 -c /etc/wpa_supplicant.conf > /var/log/wpa.log route add default 192.168.2.1 As I call this script usually out of a KDE terminal, I can't see the messages on Console, which accompany the freeze/crash. Thomas
KDE: volume setting doesn't work
Hi, after having discussed this issue on #dragonflybsd with moderate success, I ask for help from the broader audience of this list. My problem: KDE's volume setting app, KMix, doesn't seem to find a sound/mixer device, I don't get a throttle to control sound, I get only an empty listbox for the "Current mixer:". I can play sounds with Noatun and Kaboodle, though. When I use a not-arts-based sound app, like xmms (OSS Driver 1.2.10) or Amarok (xine), I can set the sound volume. I can set the sound volume with the cli app aumix, too. Under Linux (ALSA), I can use my sound chip with the intel_8x0/ac97/snd_hda drivers. This is my setup: I load the snd_ich driver in /boot/loader.conf: snd_ich_load="YES" I set this two sysctl options before starting KDE: sysctl hw.snd.maxautovchans=8 sysctl hw.snd.pcm0.vchans=8 My card is recognized (from dmesg): [..] pcm0: port 0x9c00-0x9c3f,0x9800-0x98ff mem 0xd400-0xd4ff,0xd800-0xd9ff irq 5 at device 30.2 on pci0 pcm0: [..] I've attached my dmesg output and my /var/log/messages to this email, please have a look at them, too. This ist the output of /dev/sndstat (cat): FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xd800, 0xd400 irq 5 bufsz 16384 (1p/1r/8v channels duplex) This are the device entries (ls -al /dev | grep "30,"): SchlesisNB# ls -al | grep "30," crw-rw-rw- 1 root wheel 30, 4 May 9 12:00 audio0.0 crw-rw-rw- 1 root wheel 30, 0x00010004 May 1 19:59 audio0.1 crw-rw-rw- 1 root wheel 30, 0x00020004 May 1 19:59 audio0.2 crw-rw-rw- 1 root wheel 30, 0x00030004 May 1 19:59 audio0.3 crw-rw-rw- 1 root wheel 30, 3 May 9 12:08 dsp0.0 crw-rw-rw- 1 root wheel 30, 0x00010003 May 1 19:59 dsp0.1 crw-rw-rw- 1 root wheel 30, 0x00020003 May 1 19:59 dsp0.2 crw-rw-rw- 1 root wheel 30, 0x00030003 May 1 19:59 dsp0.3 crw-rw-rw- 1 root wheel 30, 5 May 1 19:59 dspW0.0 crw-rw-rw- 1 root wheel 30, 0x00010005 May 1 19:59 dspW0.1 crw-rw-rw- 1 root wheel 30, 0x00020005 May 1 19:59 dspW0.2 crw-rw-rw- 1 root wheel 30, 0x00030005 May 1 19:59 dspW0.3 crw-rw-rw- 1 root wheel 30, 2 May 1 19:59 midi0 crw-rw-rw- 1 root wheel 30, 0 May 1 19:59 mixer0 crw-rw-rw- 1 root wheel 30, 8 May 1 19:59 music0 crw-rw-rw- 1 root wheel 30, 9 May 1 19:59 pss0 crw-rw-rw- 1 root wheel 30, 1 May 1 19:59 sequencer0 crw-rw-rw- 1 root wheel 30, 6 May 1 19:59 sndstat I've compiled KDE on my machine via pkgsrc. Please tell me, if I've done something wrong, or what I could try out to get kmix working. I'm especially interested in replies of KDE users and if they have a working or non-working kmix. Thanks, Thomas Copyright (c) 2003, 2004, 2005, 2006 The DragonFly Project. Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. DragonFly 1.5.3-DEVELOPMENT #7: Mon May 1 19:26:35 CEST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ASUS-V6800 TSC clock: 1728943742 Hz, i8254 clock: 1193143 Hz CPU: Intel(R) Pentium(R) M processor 1.73GHz (1729.01-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6d8 Stepping = 8 Features=0xafe9fbff real memory = 2147090432 (2096768K bytes) avail memory = 2075488256 (2026844K bytes) Preloaded elf kernel "/kernel" at 0xc061c000. Preloaded elf module "/modules/splash_bmp.ko" at 0xc061c210. Preloaded elf module "/modules/vesa.ko" at 0xc061c2bc. Preloaded splash_image_data "/boot/splash.bmp" at 0xc061c364. Preloaded elf module "/modules/snd_ich.ko" at 0xc061c3b4. Preloaded elf module "/modules/if_iwi.ko" at 0xc061c45c. Preloaded elf module "/modules/acpi.ko" at 0xc061c504. wlan: mac acl policy registered Pentium Pro MTRR support enabled md0: Malloc disk pcibios: BIOS version 2.10 Using $PIR table, 12 entries at 0xc00f8660 npx0: on motherboard npx0: INT 16 interface Using XMM optimized bcopy/copyin/copyout acpi0: on motherboard acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: Power Button (fixed) Warning: ACPI is disabling APM's device. You can't run both acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 acpi_tz0: on acpi0 acpi_button0: on acpi0 acpi_lid0: on acpi0 acpi_button1: on acpi0 acpi_cmbat0: on acpi0 acpi_acad0: on acpi0 acpi_ec0: port 0x66,0x62 on acpi0 legacypci0 on motherboard pcib0: on legacypci0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 10 pcib2: at device 28.0 on pci0 pci2: on pcib2 uhci
Shutdown
Hi, when I shutdown my notebook (ASUS V6800), I get a message to power it of on console, but it doesn't happen "automagically" as in Linux. I believe to remember, that I've read somewhere something about an sysctl switch which enables this function, but I can't find it again. I'm not sure, it was DFly related, it could also be FBSD related. Does anyone know how to make an ACPI-enabled notebook to power off on shutdown automatically? I've attache a "sysctl hw" output of my notebook to this email. Thomas hw.machine: i386 hw.model: Intel(R) Pentium(R) M processor 1.73GHz hw.ncpu: 1 hw.byteorder: 1234 hw.physmem: 2141147136 hw.usermem: 1925357568 hw.pagesize: 4096 hw.floatingpoint: 1 hw.machine_arch: i386 hw.cbb.start_memory: 2281701376 hw.cbb.start_16_io: 256 hw.cbb.start_32_io: 4096 hw.cbb.debug: 0 hw.cardbus.debug: 0 hw.cardbus.cis_debug: 0 hw.ata.mpipe_size: 4 hw.ata.ata_dma: 1 hw.ata.wc: 1 hw.ata.tags: 0 hw.ata.atapi_dma: 1 hw.firewire.try_bmr: 1 hw.firewire.hold_count: 3 hw.firewire.fwmem.eui64_hi: 0 hw.firewire.fwmem.eui64_lo: 0 hw.firewire.fwmem.speed: 2 hw.firewire.fwe.stream_ch: 1 hw.firewire.fwe.tx_speed: 2 hw.firewire.fwe.rx_queue_len: 128 hw.firewire.sbp.auto_login: 1 hw.firewire.sbp.max_speed: 2 hw.firewire.sbp.exclusive_login: 1 hw.firewire.sbp.login_delay: 1000 hw.firewire.sbp.scan_delay: 500 hw.firewire.sbp.tags: 0 hw.fxp_rnr: 0 hw.pccard.debug: 0 hw.pccard.cis_debug: 0 hw.usb.ugen.bufsize: 16384 hw.snd.targetirqrate: 32 hw.snd.report_soft_formats: 1 hw.snd.verbose: 1 hw.snd.maxautovchans: 8 hw.snd.pcm0.buffersize: 16384 hw.snd.pcm0.vchans: 8 hw.snd.pcm0.ac97rate: 44112 hw.instruction_sse: 1 hw.availpages: 522567 hw.i8254.freq: 1193182 hw.i8254.timestamp: 113106765350 hw.pci_disable_bios_route: 0 hw.acpi.supported_sleep_state: S1 S3 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S1 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 0 hw.acpi.verbose: 0 hw.acpi.disable_on_poweroff: 0 hw.acpi.reset_video: 1 hw.acpi.cpu.throttle_max: 8 hw.acpi.cpu.throttle_state: 8 hw.acpi.cpu.performance_speed: 8 hw.acpi.cpu.economy_speed: 4 hw.acpi.cpu.cx_supported: C1/1 C2/1 C3/90 C4/190 hw.acpi.cpu.cx_lowest: C1 hw.acpi.cpu.cx_usage: 100.00% 0.00% 0.00% 0.00% hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.tz0.temperature: 3362 hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: -1 hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 4002 hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.battery.life: 100 hw.acpi.battery.time: -1 hw.acpi.battery.state: 0 hw.acpi.battery.units: 1 hw.acpi.battery.info_expire: 5 hw.acpi.acline: 1 hw.iwi0.radio: 1 hw.iwi0.dwell: 100 hw.iwi0.bluetooth: 1 hw.iwi0.antenna: 0
KDE: battery monitor for DFly?
Hi, does anybody know a battery monitor app for KDE (3.5), working on DFly? And yes, I know gkrellm ;-) Thomas
Re: Shutdown
Am Dienstag, 9. Mai 2006 12:34 schrieb Sascha Wildner: > Thomas Schlesinger wrote: > > Hi, > > > > when I shutdown my notebook (ASUS V6800), I get a message to power it of > > on console, but it doesn't happen "automagically" as in Linux. I believe > > to remember, that I've read somewhere something about an sysctl switch > > which enables this function, but I can't find it again. I'm not sure, it > > was DFly related, it could also be FBSD related. > > How do you shutdown? 'shutdown -p now' should do the trick. > > Sascha Yes. indeed, that works. I didn't know about the -p option. RTFM ;-) Now I have to teach KDE to use this switch... Thanks, Thomas
Setting the processor speed
Hi, is there a tool available to set the processor speed (not the throttling) for Pentium-M CPUs? Thomas
Re: Shutdown
Am Dienstag, 9. Mai 2006 13:04 schrieb Thomas Schlesinger: > Am Dienstag, 9. Mai 2006 12:34 schrieb Sascha Wildner: > > How do you shutdown? 'shutdown -p now' should do the trick. > > > > Sascha > > Yes. indeed, that works. I didn't know about the -p option. RTFM ;-) > > Now I have to teach KDE to use this switch... > And the solution is: Add this line HaltCmd=/sbin/shutdown -p now (don't use " here!) to the section [Shutdown] of your /usr/pkg/share/kde/config/kdm/kdmrc file. Thomas
Re: Setting the processor speed
Am Dienstag, 9. Mai 2006 16:47 schrieb Johannes Hofmann: > [EMAIL PROTECTED] wrote: > > On Tue, May 09, 2006 at 01:07:56PM +0200, Thomas Schlesinger wrote: > >> Hi, > >> > >> is there a tool available to set the processor speed (not the > >> throttling) for Pentium-M CPUs? > > > > Noone ported EST support AFAIK. > > I have est working here, but the port is pretty crude and I don't > have time now to clean it up or update it to the newest version. > You can find what I got at > http://www.ecademix.com/JohannesHofmann/est_dfbsd.tar.gz > http://www.ecademix.com/JohannesHofmann/estctrl-0.7_dfbsd.tar.gz > > Johannes Johannes, thank you very much! A make for esctrl gives me this error: Warning: Object directory not changed from original /home/thomas/Downloads/est/estctrl-0.7 cc -O -pipe -mtune=pentiumpro -Wunknown-pragmas -Wsystem-headers -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c estctrl.c estctrl.c: In function `readtimes': estctrl.c:85: warning: unused variable `i' estctrl.c:86: warning: unused variable `error' cc -O -pipe -mtune=pentiumpro -Wunknown-pragmas -Wsystem-headers -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -o estctrl estctrl.o estctrl.o(.text+0x15): In function `readtimes': : undefined reference to `kinfo_get_sched_cputime' *** Error code 1 I've looked into the Makefile and saw a required includefile "bsd.prog.mk". Where can I get it? The file from pkgsrc/bootstrap/bmake/mk/bsd.prog.mk seems not to work. Thomas
Re: Setting the processor speed
Am Mittwoch, 10. Mai 2006 17:13 schrieb Thomas Schlesinger: > > Johannes, > > thank you very much! > > A make for esctrl gives me this error: > Warning: Object directory not changed from > original /home/thomas/Downloads/est/estctrl-0.7 > cc -O -pipe -mtune=pentiumpro -Wunknown-pragmas -Wsystem-headers -Wall -W > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type > -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c estctrl.c > estctrl.c: In function `readtimes': > estctrl.c:85: warning: unused variable `i' > estctrl.c:86: warning: unused variable `error' > cc -O -pipe -mtune=pentiumpro -Wunknown-pragmas -Wsystem-headers -Wall -W > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type > -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -o estctrl > estctrl.o > > estctrl.o(.text+0x15): In function `readtimes': > : undefined reference to `kinfo_get_sched_cputime' > > *** Error code 1 > > I've looked into the Makefile and saw a required includefile "bsd.prog.mk". > Where can I get it? The file from pkgsrc/bootstrap/bmake/mk/bsd.prog.mk > seems not to work. > Well, Sascha Wildner told me meanwhile, that kinfo_get_sched_cputime() was removed about a year ago. It was at least a try ;-) Thomas
Re: Setting the processor speed
Am Mittwoch, 10. Mai 2006 17:33 schrieb Thomas Schlesinger: > Well, Sascha Wildner told me meanwhile, that kinfo_get_sched_cputime() > was removed about a year ago. It was at least a try ;-) > > Thomas I've posted too early, sorry for that. Sascha Wildner was in progress of discussing this topic. He told me how to let esctrl compile successfully: by adding "LDADD= -lkinfo" and "DPADD= ${LIBKINFO}" to the Makefile. Unfortunately, an "esctrl -v" tells me "estctrl: Error reading supported CPU frequencies: Unknown error: 0". est.ko was loaded, though. Thomas
Re: Setting the processor speed
Am Mittwoch, 10. Mai 2006 18:57 schrieb Johannes Hofmann: > What does "sysctl hw.est_freqs" say? > Maybe your cpu is not recognized by the est module. I'm using a pretty > od version of est.c. Johannes, I think, you're right: SchlesisNB# sysctl hw.est_freqs hw.est_freqs: Uåì,]ôuø}üº- I have a 1,73 GHz Pentium-M with 533MHz FSB, it's at leas a "second generation" Pentium-M. Thomas
Re: KDE: battery monitor for DFly?
Am Dienstag, 9. Mai 2006 13:50 schrieb Marcin Jessa: > On Tue, 9 May 2006 12:40:42 +0200 > > Thomas Schlesinger <[EMAIL PROTECTED]> wrote: > > Hi, > > > > does anybody know a battery monitor app for KDE (3.5), working on > > DFly? > > Try the desktopbsd port for FreeBSD, maybe you can make it work. Yes, may be it would be easier to get a full-blown KDE desktop with DesktopBSD, but I wouldn't have the advantages, which DFly will hopefully provide me in future ;-) Thomas
Re: KDE: volume setting doesn't work
Am Mittwoch, 10. Mai 2006 21:27 schrieb walt: > Thomas Schlesinger wrote: > > Hi, > > > > My problem: KDE's volume setting app, KMix, doesn't seem to find a > > sound/mixer > > The kdemultimedia3 port needed a minor update. I put > my attempt here: > http://leaf.dragonflybsd.org/~wa1ter/kdemm3.tgz > Walt, with your modified kdemultimedia3 I have finally got a working kmix :-) Great! Thank you very much for solving this annoying thing! May be Joerg can put it into the pkgsrc-tree for all the KDE users (I wonder how many DFly-users are running KDE on their machines)? Thomas
Re: Shutdown
Am Donnerstag, 11. Mai 2006 21:38 schrieb Andreas Hauser: > saw wrote @ Tue, 09 May 2006 12:34:38 +0200: > > Thomas Schlesinger wrote: > > > Hi, > > > > > > when I shutdown my notebook (ASUS V6800), I get a message to power it > > > of on console, but it doesn't happen "automagically" as in Linux. I > > > believe to remember, that I've read somewhere something about an sysctl > > > switch which enables this function, but I can't find it again. I'm not > > > sure, it was DFly related, it could also be FBSD related. > > > > How do you shutdown? 'shutdown -p now' should do the trick. > > Or just use the power button. That's much too easy ;-)
Re: PkgSrc Help
Am Donnerstag, 18. Mai 2006 04:42 schrieb Douglas S. Keester: > PkgSrc Help > Von: > "Douglas S. Keester" <[EMAIL PROTECTED]> > An: > users@crater.dragonflybsd.org > Datum: > Heute 04:42:02 > > Since the WIki is currently down, will someone please post the PkgSrc HOWTO > to the list? > Sure. It's attached. BTW: I've got it by Google's cache feature. It's slow, but it works ;-) > Also are there any package repositories available besides > ftp://packages.stura.uni-rostock.de? I don't think so. Thomas Pkgsrc short version From DFWiki If you still have ports installed you might wanna move them out of the way. /usr/local /usr/X11R6 /var/db/pkg To make cvs work sanely, add this to your ~/.cvsrc files: cvs -z4 -q diff -u -p -N update -dP checkout -P In the default pkgsrc will have its makefiles under /usr/pksrc and install to /usr/pkg and its DB of installed packages in /var/db/pkg, pkgsrc-wip makefiles are under /usr/pkgsrc/wip. Fetch a snapshot of pkgsrc (ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc-current.tar.gz) and pkgsrc-wip (http://pkgsrc-wip.sourceforge.net/snapshots/) (wip = work in progress). Unpack them: cd /usr bsdtar xf .../pkgsrc.tar.gz cd pkgsrc cvs up bsdtar xf .../pkgsrc-wiptar.gz cd wip cvs up Bootstrap pkgsrc: cd /usr/pkgsrc/bootstrap ./bootstrap mkdir /usr/pkg/etc cp work/mk.conf.example /usr/pkg/etc/mk.conf Add /usr/pkg/bin and maybe /usr/pkg/sbin to your $PATH or symlink /usr/local /usr/pkg: cd /usr ln -sf pkg local Install pkgmanager: cd /usr/pkgsrc/wip/pkgmanager bmake install
Wiki: Device-specific Howto
Hi all, I've created a site for device-specific mini-Howto's in the (backup-)wiki: http://wiki.dragonflybsd.org.fortunaty.net/cgi/moin.cgi/HowToDevice . Feel free to enrich it with your knowledge ;-) Thomas
A mobile user's wishlist
Hi, I'm using DragonFlyBSD for a few weeks now on my notebook an miss some pieces of software: 1. CPU speed control for Pentium-M (Enhanced SpeedStep driver) FreeBSD has tools for that: sysutils/est and sysutils/estrcl 2. A module for better synaptics touchpad support My touchpad works, but from Linux I'm used to do vertical scrolling with the right border of my touchpad, like a mouse scroll-wheel. The source code is available here: http://web.telia.com/~u89404340/touchpad/ 3. A battery tool for KDE gkrellm is available, but as a KDE user I would like to see something, that fits better in the KDE desktop. The DesktopBSD guys have created a nice tool for that: http://www.freebsd.org/cgi/pds.cgi?ports/sysutils/desktopbsd-tools . There's also a tool in KDE's svn repository: http://websvn.kde.org/trunk/kdenonbeta/kbatterymonitor/ May be some devs have a little spare time and could port (some of) this tools to DragonFlyBSD. I (and other notebook users) would really appreciate that ;-) Thanks Thomas
Re: Next Preview, when?
Am Dienstag, 6. Juni 2006 17:57 schrieb Matthew Dillon: > > Pretty soon actually. It looks like the scheduler is stable again, > and it looks like YONETANI Tomokazu may have found the pppoe netgraph > issue. There have been a lot of bug fixes, especially to the > filesystem and buffer cache code. > > I am going to write a little userland utility to manipulate the new > cpu masking technology in the scheduler and possibly also expand the > feature set a little, then I'll roll a new preview. > > -Matt > Matthew Dillon > <[EMAIL PROTECTED]> Matt, your latest patches seems to have broken DragonFly's ability to run KDE. At least my machine freezes after booting with a kernel from today's code. Thomas
Re: A mobile user's wishlist
Am Dienstag, 6. Juni 2006 20:43 schrieb Freddie Cash: > KControl -> Power Control -> Laptop Battery doesn't work for you? This > starts the klaptop daemon that monitors the battery. I haven't tried it > on DFlyBSD, but it worked nicely for me in FreeBSD. It's part of the KDE > release, although I do not recall exactly which part includes it. Freddie, the klaptopdaemon works in Linux on my notebook, but sadly not in DragonFlyBSD. Thomas
Re: Next Preview, when?
Am Dienstag, 6. Juni 2006 20:54 schrieb Thomas Schlesinger: > > > Matt, > > your latest patches seems to have broken DragonFly's ability to run KDE. At > least my machine freezes after booting with a kernel from today's code. > > Thomas Reading Sascha's "mixer" posting, I should add, that KDE is freezing on startup while initializing devices, including sound and sound mixer. Thomas
Re: Next Preview, when?
Am Dienstag, 6. Juni 2006 21:38 schrieb Matthew Dillon: > :Reading Sascha's "mixer" posting, I should add, that KDE is freezing on > :startup while initializing devices, including sound and sound mixer. > : > :Thomas > > Could you try it now with the commit I just made to the mixer ? > > -Matt > Matthew Dillon > <[EMAIL PROTECTED]> Matt, your fix works for me, KDE is up and running again :-) Thanks, Thomas
Re: A mobile user's wishlist
Am Mittwoch, 7. Juni 2006 04:10 schrieb YONETANI Tomokazu: > On Tue, Jun 06, 2006 at 08:23:23PM +0200, Thomas Schlesinger wrote: > > I'm using DragonFlyBSD for a few weeks now on my notebook an miss some > > pieces of software: > > > > 1. CPU speed control for Pentium-M (Enhanced SpeedStep driver) > > Ok, I'm going to put the est driver ported by Johannes Hofmann > in to the tree (and the patch posted to submit@ last month). > The driver module build directory will probably be /sys/dev/cpufreq. > > > FreeBSD has tools for that: sysutils/est and sysutils/estrcl > > FreeBSD has a daemon named powerd and it's based on estctrl. > I'll try porting it to DragonFly. Yonetani, thanks in advance. Sometimes wishes come true ;-) Thomas
Weird ipw2200 problem
Hi, I'm using the if_iwi driver for several weeks now and have an annoying problem. First, I want to desribe my setup: I use an ADSL-router with built-in WLAN-capability (SMCWBR14-G), (local) IP-address 192.168.2.1, which acts as DNS-server, too. DHCP is disabled. WPA2-encryption is enabled. I have a desktop machine, that is attached to the router via LAN cables. IP-Address is 192.168.2.100, running Linux, GNU/Hurd and DragonFlyBSD 1.5.3-Development. My notebook is wireless attached via ipw220 WLAN chip, IP-Address is 192.168.2.101. Here's my problem: Often I'm unable to ping my router or a host in the internet. But at the same time, I'm able to ping my desktop machine. When I'm unable to ping my router, I'm often able to "restore" the connection to the router by pinging my desktop. After several pings to my desktop, I can often reach my router again. There's no hint in /var/log/messages. To check, if it's a problem with my notebook, I've installed Linux and tried for some days, if the problem occured here, too. It didn't. I've also tried to switch the WLAN channel, but didn't find a channel, where the problem doesn't occur. Any ideas?
Re: Weird ipw2200 problem
Am Samstag, 10. Juni 2006 17:37 schrieb Thomas Schlesinger: > Hi, > > I'm using the if_iwi driver for several weeks now and have an annoying > problem. Does somebody here use an ipw2200 under DragonFlyBSD without problems? If so, what's your setup? Thomas
DragonflyBSD on the desktop (was: Re: Replacing Sendmail with Postfix in the base system)
Am Mittwoch, 14. Juni 2006 15:49 schrieb [EMAIL PROTECTED]: > > I dispute that. DragonFly will be just as suited for desktops as Linux > > is. Simply because X works and desktop environments work on it. > > I really wish that. However, in the near coming days, noone will use > DragonFly on desktop simply because Linux and FreeBSD will have OpenGL > accelerated X for which you need 3rd party drivers. I briefly installed > KDE on FreeBSD without nvidia drivers. It was ok, but GUI was slow, > redrawing windows was slow(same on DragonFly), then I installed nvidia > drivers and now it's very smooth, ready for desktop use. Sadly, there > won't be nvidia drivers for DragonFly any time soon. Well, I use KDE on Dragonfly, with an ATI Mobility X600 on my notebook and a Nvidia card on my desktop. I wouldn't say, it feels slow compared to Linux, but that may be a subjective thing. But I agree, that OpenGL could become more important, when KDE4 will arrive next year with new eyecandy. For me, the lack of (building) desktop apps I want to use in pkgsrc are a greater problem. Thomas
Re: DragonflyBSD on the desktop (was: Re: Replacing Sendmail with Postfix in the base system)
Am Mittwoch, 14. Juni 2006 21:41 schrieb Matthew Dillon: > :Is there an official binary driver policy for DragonFly? I understand > :people want the fast GUI and stuff to work, but giving in to the crap > :that companies push on the open source community isn't acceptable in > :my opinion. Its just going to ultimately prolong the problem and > :diminish the efforts of people trying to get companies to open up > :their drivers. > : > :Personally, I would say its good if you don't support the likes of nvidia. > : > :-Kevin > > I am not particularly interested in supporting binary only drivers > considering past experience where the vendors have supplied them, but > then not bothered to keep them up to date or fix bugs or support > new versions of the OS. NVidia has been especially anti-social in > this regard. If we want anything that 'lasts', it has to be native. > > -Matt For NVidia, may be the driver code for Haiku OS (ex OpenBeOS) could be helpful: http://web.inter.nl.net/users/be-hold/BeOS/NVdriver/index.html Thomas
est module
Hi, today, I've seen with pleasure that there's now an est module in the kernel. Unfortunately, it seems not to support my Pentium-M 1.73GHz (Pentium M-740, 533MHz FSB): #kldload est Intel(R) Pentium(R) M processor 1.73GHz: Enhanced Speedstep not supported on this processor module_register_init: MOD_LOAD (est, df859b3f, 0) error 45 Please add support for my CPU type. This is, what cpuid tells me: SchlesisNB# cpuid eax ineax ebx ecx edx 0002 756e6547 6c65746e 49656e69 0001 06d8 0816 0180 afe9fbff 0002 02b3b001 00f0 2c04307d 8000 8008 8001 8002 20202020 20202020 65746e49 2952286c 8003 6e655020 6d756974 20295228 7270204d 8004 7365636f 20726f73 33372e31 007a4847 8005 8006 08006040 8007 8008 2020 Vendor ID: "GenuineIntel"; CPUID level 2 Intel-specific functions: Version 06d8: Type 0 - Original OEM Family 6 - Pentium Pro Model 13 - Stepping 8 Reserved 0 Brand index: 22 [not in table] Extended brand string: "Intel(R) Pentium(R) M processor 1.73GHz" CLFLUSH instruction cache line size: 8 Feature flags afe9fbff: FPUFloating Point Unit VMEVirtual 8086 Mode Enhancements DE Debugging Extensions PSEPage Size Extensions TSCTime Stamp Counter MSRModel Specific Registers PAEPhysical Address Extension MCEMachine Check Exception CX8COMPXCHG8B Instruction APIC On-chip Advanced Programmable Interrupt Controller present and enabled SEPFast System Call MTRR Memory Type Range Registers PGEPTE Global Flag MCAMachine Check Architecture CMOV Conditional Move and Compare Instructions FGPAT Page Attribute Table CLFSH CFLUSH instruction DS Debug store ACPI Thermal Monitor and Clock Ctrl MMXMMX instruction set FXSR Fast FP/MMX Streaming SIMD Extensions save/restore SSEStreaming SIMD Extensions instruction set SSE2 SSE2 extensions SS Self Snoop TM Thermal monitor 31 reserved TLB and cache info: b0: unknown TLB/cache descriptor b3: unknown TLB/cache descriptor 02: Instruction TLB: 4MB pages, 4-way set assoc, 2 entries f0: unknown TLB/cache descriptor 7d: unknown TLB/cache descriptor 30: unknown TLB/cache descriptor 04: Data TLB: 4MB pages, 4-way set assoc, 8 entries 2c: unknown TLB/cache descriptor Thanks, Thomas
Re: est module
Am Donnerstag, 22. Juni 2006 15:36 schrieb [EMAIL PROTECTED]: > On Thu, Jun 22, 2006 at 02:42:58PM +0200, Thomas Schlesinger wrote: > > Unfortunately, it seems not to support my Pentium-M 1.73GHz (Pentium > > M-740, 533MHz FSB): > > NetBSD has > /* Intel Pentium M processor 740 1.73 GHz */ > static const struct fq_info pentium_m_n740[] = { >{ 1733, 1356 }, >{ 1333, 1212 }, >{ 1067, 1100 }, >{ 800, 988 }, > }; > > static const struct fqlist pentium_m_dothan[] = { > ... > ENTRY("1.73", 0x06d8, pentium_m_n740, 4), > ... > }; > > Try to adopt it. > > Joerg Unfortunately, I've failed to adopt it. That's, what I did: I've added the above parameter block [..] /* * Data from * Intel Pentium M Processor Datasheet (Order Number 252612), Table 5 */ /* Intel Pentium M processor 740 1.73 GHz */ static freq_info pentium_m_n740[] = { { 1733, 1356 }, { 1333, 1212 }, { 1067, 1100 }, { 800, 988 }, }; [..] from line 71ff. Then, I added an entry in line 394ff: [..] static cpu_info ESTprocs[] = { CPUINFO(pentium_m_n740, 1733, 1356, 800, 988), [..] That wasn't enough. I've found a check on the processor name, beginning with "Intel(R) Pentium(R) M processor", in line 538ff. My processor was named with "Intel(R) Pentium(R) M processor 1.73GHz", so I've commented out this check: /* if (strncmp(hwmodel, "Intel(R) Pentium(R) M processor", 31) || (findcpu() != 0)) { printf("%s: Enhanced Speedstep not supported" " on this processor\n", hwmodel); break; } */ When I load the est-module with this disabled check, my notebook reboots. What would be the right way to adopt it? Thanks, Thomas
Re: est module
Am Donnerstag, 22. Juni 2006 17:29 schrieb YONETANI Tomokazu: > So my question is: Thomas(and anybody else), can you try my untested > patch and see if it works for you? (untested because I don't have > access to any Pentium-M machines now) > Yonetani, thanks for your patch. First, it didn't crash my notebook on loading ;-) But I get an error, too, when loading it: Enhanced SpeedStep (1308 mV) - unknown CPU or operating point. module_register_init: MOD_LOAD (est, dea64ecf, 0) error 45 On Linux, speedstep works, so my CPU is speedstep-enabled. Thomas
Re: est module
Am Donnerstag, 22. Juni 2006 18:24 schrieb [EMAIL PROTECTED]: > On Thu, Jun 22, 2006 at 06:00:36PM +0200, Thomas Schlesinger wrote: > > But I get an error, too, when loading it: > > Enhanced SpeedStep (1308 mV) - unknown CPU or operating point. > > module_register_init: MOD_LOAD (est, dea64ecf, 0) error 45 > > Can you try to disable BIOS control over the CPU frequency first? > It might have activated a not-yet known frequency. Also write down the > power and the measured CPU freq for later addition :-) > > Joerg Joerg, this are the options, I've found for CPU-related things: Menu Advanced/CPU Configuration: MAX CPUID Value Limit (was DISABLED): This should be enabled in order to boot legacy OSses unable to support CPUs with extended CPUID functions Intel(R) SpeedStep(tm) tech. (was AUTOMATIC): Maximum: CPU speed is set to maximum Minimum: CPU speed is set to minimum Automatic: CPU speed is controlled by Operating system Disabled: Default CPU speed Menu Power: CPU Power Saving (was ENABLED): System automatically adjusts CPU performance to reduce system power consumption With this settings, Speedstep did work in Linux. I've set the CPU Power Saving to DISABLED, but that didn't help, the same error occurs. I've also booted with CPU Power Saving DISABLED and without ACPI, same thing. I should mention, that I've this setting in my /boot/loader.conf: debug.acpi.disabled="sysresource", Otherwise, I don't have a keyboard when booting with ACPI enabled. Thomas
Re: est module
Am Donnerstag, 22. Juni 2006 19:21 schrieb Thomas Schlesinger: > > With this settings, Speedstep did work in Linux. > > I've set the CPU Power Saving to DISABLED, but that didn't help, the same > error occurs. I've also booted with CPU Power Saving DISABLED and without > ACPI, same thing. > > I should mention, that I've this setting in my /boot/loader.conf: > debug.acpi.disabled="sysresource", Otherwise, I don't have a keyboard when > booting with ACPI enabled. > > Thomas I've booted into a FreeBSD6 installation cd. I can load there the cpufreq module and then do a "power -a adaptive" without problems. Thomas
Re: est module
Am Donnerstag, 22. Juni 2006 20:28 schrieb Johannes Hofmann: > Johannes Hofmann <[EMAIL PROTECTED]> wrote: > > > > Hi, with this patch I only see the syctl for available freqs: > > > > [EMAIL PROTECTED]:~ >sysctl machdep.est > > machdep.est.frequency.available: 1800 1600 1400 1200 1000 800 600 > > [EMAIL PROTECTED]:~ > > > > > No idea why though... > > Ok, the SYSCTL_IN and SYSCTL_OUT suff was missing... Here is a > slightly modified version that works for me: > > http://www.ecademix.com/JohannesHofmann/netbsd-est.c > > Regards, > Johannes > > > Johannes I've discovered the sysctl-switch dev.cpu.0.freq_levels on FreeBSD . I gives me this values for my notebook: 1731/1514/1298/1081/865/649/432/216. That are other values than in the est.c file. So I've changed the 1.73GHz-array to this: /* Intel Pentium M processor 740 1.73 GHz, other frequencies */ static const struct fq_info pentium_m_n740[] = { { 1731, 1514 }, { 1298, 1081 }, { 865, 649 }, { 432, 216 }, }; But I get still the same error message. Thomas
Re: est module
Am Donnerstag, 22. Juni 2006 18:34 schrieb YONETANI Tomokazu: > > Hm, the voltage 1308 is not listed in pentium_m_n740[]. I added > code to also print the frequency in the above message. Can you > try again with new file and tell me the above result? Sure, if you give me the code ;-) Thomas
Re: est module
Am Donnerstag, 22. Juni 2006 18:34 schrieb YONETANI Tomokazu: > Hm, the voltage 1308 is not listed in pentium_m_n740[]. I added > code to also print the frequency in the above message. Can you > try again with new file and tell me the above result? Yonatani, I've downloaded the netbsd-est.c and built a new est.ko, but it doesn't show a difference: Enhanced SpeedStep (1308 mV) % MHz - unknown CPU or operating point. module_register_init: MOD_LOAD (est, df26eef9, 0) error 45 Thomas
Re: est module
Am Freitag, 23. Juni 2006 17:23 schrieb YONETANI Tomokazu: > On Fri, Jun 23, 2006 at 08:50:36AM +0200, Thomas Schlesinger wrote: > > Enhanced SpeedStep (1308 mV) % MHz - unknown CPU or operating point. > >^^ > > > module_register_init: MOD_LOAD (est, df26eef9, 0) error 45 > > Sorry, wrong printf format string. I changed the debug code a bit > (again on the same URL) so as now it displays a 64bit integer. > I'll try to interpolate the values from it. Yonetani, this is the output of your latetest version: Enhanced SpeedStep (1308 mV) - unknown CPU or operating point(cpu_id:1752x, msr:0x6120d2606000d26). module_register_init: MOD_LOAD (est, df467edc, 0) error 45 Thomas
Re: est module
Am Samstag, 24. Juni 2006 05:19 schrieb YONETANI Tomokazu: > On Fri, Jun 23, 2006 at 05:44:54PM +0200, Thomas Schlesinger wrote: > > this is the output of your latetest version: > > > > Enhanced SpeedStep (1308 mV) - unknown CPU or operating > > point(cpu_id:1752x, msr:0x6120d2606000d26). > > module_register_init: MOD_LOAD (est, df467edc, 0) error 45 > > Ok, I added an alternate entry for your CPU(updated the source code on my > web server). Although msr tells the highest and the lowest (freq, volt) > pairs, I used a guess for the second and the third pairs. It's very likely > that you may have to adjust them. Yonetani, it seems, you've had success ;-) The new version gave me this: Enhanced SpeedStep (1308 mV) 1733 MHz Enhanced SpeedStep frequencies available (MHz): 1729 1333 1067 798 How can I control the CPU frequency? I've tried the estctrl hack from Johannes Hofmann (http://leaf.dragonflybsd.org/mailarchive/users/2006-05/msg00069.html), but that didn't work with the netbsd-based est module: SchlesisNB# ./estctrl estctrl: Error reading supported CPU frequencies: No such file or directory Thanks, Thomas
Re: est module
Am Samstag, 24. Juni 2006 10:40 schrieb Johannes Hofmann: > Thomas Schlesinger <[EMAIL PROTECTED]> wrote: > > Am Samstag, 24. Juni 2006 05:19 schrieb YONETANI Tomokazu: > >> On Fri, Jun 23, 2006 at 05:44:54PM +0200, Thomas Schlesinger wrote: > >> > this is the output of your latetest version: > >> > > >> > Enhanced SpeedStep (1308 mV) - unknown CPU or operating > >> > point(cpu_id:1752x, msr:0x6120d2606000d26). > >> > module_register_init: MOD_LOAD (est, df467edc, 0) error 45 > >> > >> Ok, I added an alternate entry for your CPU(updated the source code on > >> my web server). Although msr tells the highest and the lowest (freq, > >> volt) pairs, I used a guess for the second and the third pairs. It's > >> very likely that you may have to adjust them. > > > > Yonetani, > > > > it seems, you've had success ;-) The new version gave me this: > > > > Enhanced SpeedStep (1308 mV) 1733 MHz > > Enhanced SpeedStep frequencies available (MHz): 1729 1333 1067 798 > > > > > > How can I control the CPU frequency? I've tried the estctrl hack from > > Johannes Hofmann > > (http://leaf.dragonflybsd.org/mailarchive/users/2006-05/msg00069.html), > > but that didn't work with the netbsd-based est module: > > > > SchlesisNB# ./estctrl > > estctrl: Error reading supported CPU frequencies: No such file or > > directory > > > > Thanks, > > Thomas > > Hi Thomas, > > the sysctl names have been changed to match those from NetBSD so that > we can use NetBSD estd. Use > > http://www.ecademix.com/JohannesHofmann/estd_pkgsrc-1.patch.gz > > And call patch -p0 < estd_pkgsrc-1.patch in /usr/pkgsrc, then > compile and install sysctl/estd. > > Alternatively you can manually change the CPU frequency with e.g: > > sysctl -w machdep.est.frequency.target=800 > > Johannes Johannes, thank you very much for your hint to the sysctl-switches and your patch. It's very good to be able to cool down my CPU on hot summer days and giving my notebook a longer run on train rides ;-) Thomas
Re: A mobile user's wishlist
Am Dienstag, 6. Juni 2006 20:54 schrieb Jeremy C. Reed: > On Tue, 6 Jun 2006, Thomas Schlesinger wrote: > > 3. A battery tool for KDE > > gkrellm is available, but as a KDE user I would like to see something, > > that fits better in the KDE desktop. The DesktopBSD guys have created a > > nice tool for that: > > http://www.freebsd.org/cgi/pds.cgi?ports/sysutils/desktopbsd-tools . > > I am attempting to package this for pkgsrc now ... > > Jeremy C. Reed > Jeremy, how is the progress of your attempt? Thomas
Re: A mobile user's wishlist
Am Dienstag, 6. Juni 2006 21:23 schrieb Rob Andrews: > On 06-Jun-2006 19:23.23 (BST), Thomas Schlesinger wrote: > > 2. A module for better synaptics touchpad support > > My touchpad works, but from Linux I'm used to do vertical scrolling with > > the right border of my touchpad, like a mouse scroll-wheel. The source > > code is available here: http://web.telia.com/~u89404340/touchpad/ > > I don't know about console, but isn't the xorg 'synaptics' module enough > to get that working? Rob, you don't need the synaptics driver to get your synaptics touchpad working, but you can't use some features then, like the vertical scrolling. I would like to use exactly this feature, it's as helpful as a scrollwheel at a mouse, I don't want to miss it. Thomas
Re: A mobile user's wishlist
Am Samstag, 8. Juli 2006 18:08 schrieb Rob Andrews: > Thomas Schlesinger wrote: > > > I don't know about console, but isn't the xorg 'synaptics' module > > > enough to get that working? > > > > you don't need the synaptics driver to get your synaptics touchpad > > working, but you can't use some features then, like the vertical > > scrolling. I would like to use exactly this feature, it's as helpful as > > a scrollwheel at a mouse, I don't want to miss it. > > Yes, the touchpad presents itself as a ps/2 style device, but when using > X it does add the button 4 & 5 emulation. > > I haven't tried the xorg synaptics driver in dragonfly yet - I should > imagine that it builds, but does it not work? Rob, there's no synaptics driver in xorg for pkgsrc. If you try to load it, you'll get this message in your Xorg.0.log: > (II) LoadModule: "synaptics" > (WW) Warning, couldn't open module synaptics > (II) UnloadModule: "synaptics" > (EE) Failed to load module "synaptics" (module does not exist, 0) If you look at /usr/pkg/xorg/lib/modules/input, you won't find a synaptics_drv.so. The driver, I'm speaking about, is this one: http://web.telia.com/~u89404340/touchpad/ FreeBSD hat a port for it in x11-servers/synaptics. I'm not sure, if there are some prerequisites for the kernel necessary, so I posted it on users@ instead of the pkgsrc list. Thomas
A question to all ATI-users
Hi, often, I have problems with a "deranged" screen display on xorg (see http://www.mynetcologne.de/~nc-schlesth/Bildschirmphoto.png). I use the xorg-server 6.9.0nb11 with the "ati" driver on an ATI mobility X600 graphics chip with 1400x1050 dots. I would like to hear, if other ATI-users have the same problem, and if the problem occurs on other BSD flavors, too. Thanks, Thomas
Re: A question to all ATI-users
Am Mittwoch, 12. Juli 2006 17:50 schrieb Joerg Sonnenberger: > On Wed, Jul 12, 2006 at 05:23:34PM +0200, Thomas Schlesinger wrote: > > often, I have problems with a "deranged" screen display on xorg (see > > http://www.mynetcologne.de/~nc-schlesth/Bildschirmphoto.png). I use the > > xorg-server 6.9.0nb11 with the "ati" driver on an ATI mobility X600 > > graphics chip with 1400x1050 dots. > > Hm. Never seen it with ATI, but I did see this on a different notebook > with a broken monitor cable. You might want to try playing with the > RAMDAC parameter. Does it work under a different OS? > Joerg, the only different OS I tried out on this machine was Linux, but with the fglrx-driver. This driver worked flawless, so it's not a hardware problem. I wonder, if it might be OS-related (mtrr- or PCIe-stuff), that's, why I ask for other's experience here. Thomas
Re: how updating packages
Am Samstag, 15. Juli 2006 21:39 schrieb Saverio Iacovelli: > I see the PkgSrc packages for DragonFly, and > somethings packages that I think important didn't > update. > How can I update these packages? > I need tutorials and informations. > Try this: http://leaf.dragonflybsd.org/~justin/handbook/pkgsrc.html http://wiki.dragonflybsd.org/index.cgi/HowToPkgsrc?highlight=%28HowTo%29 Thomas
Re: NVIDIA FreeBSD Kernel Feature Requests, interesting info for dfly?
Am Montag, 17. Juli 2006 01:00 schrieb walt: > Hi James, > > I'm speaking as someone who's been asking dumb/newbie > questions in these groups for several years now. > > I've never once been treated rudely or with 'attitude' > so I hope you won't judge hastily from any one thread. > >The regulars in these forums have been more than kind > and patient with my off-topic nonsense over a long period > of time. In fact, I tend to post my dumb questions here > because I know I won't be yelled at :o) > > Please stick around and I'm sure you will see what I > mean. James, I as a fairly new (DragonFly-)BSD desktop user second that. The community was friendly and the developers even fullfilled my device driver wishes, The problem is IMHO the lack developers. Thomas
Re: Just why exactly doesnt cdparanoia work?
Am Montag, 17. Juli 2006 16:14 schrieb Simon 'corecode' Schubert: > Petr Janda wrote: > > Aaah, that works. Whats the difference between acd0a and cd0a btw? > > one is the atapi cdrom device, the other the atapicam device. > > cheers > simon Is there a practical difference in usage? I ask, because in Linux it could made a difference, if one uses the ATAPI driver or the SCSI-(Emulation-)driver (for me: better DVD-read-support). Thomas
Re: DF_CoreGraphics
Am Montag, 17. Juli 2006 04:06 schrieb Nigel Weeks: > I've been wandering through ATI's drivers with Boomerang decompiler > (boomerang.sourceforge.net), specifically atioglxx.dll and referencing > their SDK sources at > http://www.ati.com/developer/sdk/RadeonSDK/Html/Info/Extensions/glATI.h > > and an awful lot of the hexcodes passed to the card line up, and almost > make sense. > If one were to tinker in the kernel source, and perhaps produce a small > accelerated graphics layer, would one extend SysCons to accept incoming > graphic mode requests, or modify SysCons to request a window of it's own. > Nigel, I'm just a DFly desktop user with an ATI graphics chip (PCIe X600 mobility), so I can't answer your questions. I just want to say that I would really appreciate, if you could improve the hardware accelleration (OpenGL at best in the long term). Thomas
Re: Problem with inlining
Am Montag, 14. August 2006 16:29 schrieb walt: > I'm trying to compile the latest pkgsrc xine-lib, and I'm getting an > error message I've never seen before: > > h263.c: In function `mpeg4_decode_partition_a': > h263.c:69: sorry, unimplemented: inlining failed in call to > 'mpeg4_decode_dc': function body not available > > The same package compiles okay on NetBSD, so there is something different > about DragonFly. But what? > > Can anyone else reproduce this error? > Walt, I've got the same error, I've posted it to [EMAIL PROTECTED] on Sunday. Thomas
Re: start fluxbox on DFly
Am Freitag, 18. August 2006 11:48 schrieb Saverio Iacovelli: > I installed most packages of xorg, startx command > fails with following output: > > > > (EE) Failed to load module "fbdev" (module does not > exist, 0) > xterm: not found > xterm: not found > exec: xterm: not found > > ... > ... > Saverio, please post your /etc/X11/xorg.conf and your /var/log/Xorg.0.log . It seems, Xorg wants to use the framebuffer device. Thomas
Re: start fluxbox on DFly
Am Samstag, 19. August 2006 12:19 schrieb Saverio Iacovelli: > I don't understand, the /etc/X11/xorg.conf file did > not present. > > #cd /etc/X11 > #ls > Saverio, you must create an xorg,conf file by yourself. You can do by hand or with the tool /usr/pkg/xorg/bin/xorgconfig. BTW: It seems, you have a VIA K8M800 graphics chip in your machine. Thomas
Re: start fluxbox on DFly
Am Sonntag, 20. August 2006 15:27 schrieb Gergo Szakal: > Saverio Iacovelli wrote: > > I don't know configure xorg.conf. > > Does it exist a specific documentation for xorg.conf > > configuration? > > I don't found the documentation that I need in www.x.org. > > Ain't there one under /usr/pkg/share/examples ? > Regarding editor: use mined instead of vi, or install nano from pkgsrc. Saverio, I've attached my /etc/X11/xorg.conf, but it needs to be modified by you. You must replace the Driver entry in the section "Device" from "radeon" to "via" and you must set your resolution section "Screen" (replace all "1400x1050" by your resolution). May be you must reduce the DefaultDepth, from 24 (bit) to a lower value, too. Thomas Section "Files" FontPath"/usr/pkg/xorg/lib/X11/fonts/misc" FontPath"/usr/pkg/xorg/lib/X11/fonts/cyrillic" FontPath"/usr/pkg/xorg/lib/X11/fonts/100dpi/:unscaled" FontPath"/usr/pkg/xorg/lib/X11/fonts/75dpi/:unscaled" FontPath"/usr/pkg/xorg/lib/X11/fonts/Type1" FontPath"/usr/pkg/xorg/lib/X11/fonts/100dpi" FontPath"/usr/pkg/xorg/lib/X11/fonts/75dpi" FontPath"/usr/pkg/xorg/lib/X11/fonts/TTF" # path to defoma fonts FontPath"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" EndSection Section "Module" Load"i2c" Load"bitmap" Load"ddc" Load"dri" Load"extmod" Load"freetype" Load"glx" Load"int10" Load"type1" Load"vbe" Load"dbe" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "de" Option "XkbVariant""nodeadkeys" EndSection Section "Device" Identifier "ATI Technologies, Inc. M24 1P [Radeon Mobility X600]" Driver "radeon" # BusID "PCI:1:0:0" Option "no_accel" "no" Option "no_dri" "no" Option "mtrr" "off" Option "VideoOverlay" "on" Option "CenterMode" "off" EndSection Section "Monitor" Identifier "Standardbildschirm" Option "DPMS" EndSection Section "Screen" Identifier "Default Screen" Device "ATI Technologies, Inc. M24 1P [Radeon Mobility X600]" Monitor "Standardbildschirm" DefaultDepth24 SubSection "Display" Depth 1 Modes "1400x1050" EndSubSection SubSection "Display" Depth 4 Modes "1400x1050" EndSubSection SubSection "Display" Depth 8 Modes "1400x1050" EndSubSection SubSection "Display" Depth 15 Modes "1400x1050" EndSubSection SubSection "Display" Depth 16 Modes "1400x1050" EndSubSection SubSection "Display" Depth 24 Modes "1400x1050" EndSubSection EndSection Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" InputDevice "Generic Keyboard" EndSection Section "DRI" Mode0666 EndSection
Re: Multiple sounds
Am Montag, 21. August 2006 06:40 schrieb Petr Janda: > You were correct. > Is there any way to get this done automatically? Without manually > changing all multimedia programs that make sound? > Petr, you can enable "multichannel sound" by a script at boottime. I have enabled the driver loading in /boot/loader.conf (for me, it's snd_ich) with snd_ich_load="YES" And I have created a file /usr/pkg/etc/rc.d/setsound with this content: sysctl hw.snd.pcm0.vchans=4 sysctl hw.snd.maxautovchans=4 After booting, I have now automagically four-channel sound support enabled. If four channels are too less, you can increase them. Thomas
Re: How to get Flash to work in Firefox/Konqueror
Am Montag, 21. August 2006 18:16 schrieb Petr Janda: > Hi, > Im just wondering if theres a reasonably easy way to get Flash working > in Firefox on DragonFly, or Konqueror for that matter. > > Cheers, > Petr Have a look here: http://wiki.dragonflybsd.org/index.cgi/HowtoFirefoxandFlashplayer?highlight=%28HowTo%29 Thomas
Re: How to get Flash to work in Firefox/Konqueror
Am Dienstag, 22. August 2006 05:09 schrieb Petr Janda: > Hi Tom, > The instructions seem not to work for me. I copied the 2 files from the > flash player installation directory into firefox(linux) installation > directory. I went to that website where it told me that it cant find > flash player plugin, it search for it but didnt find it. > > Any ideas? > > Petr > Petr, please copy the file libflashplayer.so into ./firefox/plugins instead of ./firefox and then restart Firefox and try it again. Thomas
Re: How to get Flash to work in Firefox/Konqueror
Am Dienstag, 22. August 2006 08:59 schrieb Nigel Weeks: > How come linux binaries are required? Are these plugins binary-only > releases? > > It's a shame Firefox doesn't adopt one of the OS flash players, and roll it > into their code for platforms that don't have native plugins... > Which other feasible flash players besides Adobe's are available? Gnash seems to be not production-ready. I think, using some Linux apps via emulation is the price of using a "niche desktop OS". I would really like to see OpenGL hardware acceleration for DFly (and other OSS systems), because I think, the "free" Desktops will use it in future extensively (see XGL, AIGLX, Xorg 7.1 as a foretaste) and it could prevent the wider use of DFly on desktops in future. But OSS drivers for graphic cards seems to be hopeless, at least in the near future :-( Thomas
Re: How much of microkernel?
Matthew Dillon wrote: > > > > Well, DragonFly is definitely not a microkernel. We forked off of > > FreeBSD, after all, and that is a fairly monolithic kernel. I like > > the microkernel concept but putting core elements of an operating > > system into their own protection boxes result in fairly significant > > performance issues. > > Matt, is this still true? Did you read about more recent microkernels, like the L4 family (http://os.inf.tu-dresden.de/L4/)? Thomas
Re: start fluxbox on DFly
Am Samstag, 26. August 2006 22:09 schrieb Saverio Iacovelli: > Fluxbox doen not start! > I created /etc/X11/xorg.conf file with xorgconfig. > I posted information about my graphic and audio cards, > that I obtained with my Windows XP box: Saverio, your /var/log/Xorg.0.log file would be helpful, Thomas
Re: start fluxbox on DFly
Am Samstag, 26. August 2006 23:53 schrieb Saverio Iacovelli: > The /var/log/xorg.0.log file tells: > > (II) VIA: driver for VIA chipsets: CLE266, > KM400/KN400, K8M800, PM800/PM880/CN400 > (II) Primary Device is: PCI 01:00:0 > (--) Assigning device section with no busID to primary > device > (--) Chipset K8M800 found > (!!) VIA Technologies does not support or endorse this > driver in any way. <--- > (!!) For support please contact the driver maintainer > or your X vendor. <--- > > > (EE) VIA(0): Given depth (1) is not supported by this > driver Yes, that's it! You've set a DefaultDepth of 1 (=1 bit color depth), but that's not supported by the via driver. Try out 8, 16 or 24. I would start the trial with 24. Thomas
Re: start fluxbox on DFly
Am Sonntag, 27. August 2006 11:37 schrieb Saverio Iacovelli: > I configured mouse device and GUI checking Xorg.0.log > file. > Thank you very much for suggestions, xorg.conf is OK! > Xterm starts, but I would: > > 1) starting Fluxbox instead xterm Create a file .xinitrc (with the leading dot!) in your home directory und put this one line in the file and save it; fluxbox Now do a startx, and Fluxbox is starting :-) > 2) the screen section of my xorg.conf is: > > Section "Screen" > Identifier "Screen 1" > Device "video0" > Monitor "monitor0" > DefaultDepth 16 > > Subsection "Display" > Depth 8 > Modes "640x400" > ViewPort0 0 > EndSubsection > Subsection "Display" > Depth 16 > Modes "1024x768" > ViewPort0 0 > EndSubsection > Subsection "Display" > Depth 24 > Modes "640x480" > ViewPort0 0 > EndSubsection > EndSection > > Can I set 1280x1024 modes for depth 24? Just try it out! Add this to the Subsection "Display" (before the EndSection) and restart the X server: Subsection "Display" Depth 24 Modes "1280x1024" ViewPort0 0 EndSubsection If 1280x1024 doesn't work with 24 bit color depth ("Depth"), try to reduce it to 16 bit. If you intend to use only one fix resolution at all, you can delete the unneccessary resolutions. Thomas
Re: question about packages installation
Am Sonntag, 27. August 2006 16:48 schrieb Saverio Iacovelli: > So, I edit: > > #setenv PKG_PATH > ftp://packages.stura.uni-rostock.de/pkgsrc-current/DragonFly/1.6.0-RELEASE/ >i386/All > > > pkg_add command works, but the problem is that not all > packages are present in > ftp://packages.stura.uni-rostock.de/pkgsrc-current/DragonFly/1.6.0-RELEASE/ >i386/All directory. > In fact, firefox-1.5.0.6.tgz is not present in above > directory. May be there's no binary package for Firefox, because it doesn't build from source? You could try to build it from source: cd /usr/pkgsrc/www/firefox bmake install clean Thomas Thomas
Re: KDE problems
Am Dienstag, 29. August 2006 17:25 schrieb Gergo Szakal: > Petr Janda wrote: > > 3) Kopete cant connect to msn. ICQ, Jabber work. > > Perhaps recent changes in the protocol (which broke almost all clients) > cause this. ICQ works here with Kopete 0.11.3/kdenetwork-3.5.4, no problems so far. Thomas
Re: KDE problems
Am Dienstag, 29. August 2006 09:16 schrieb Petr Janda: > Hi, > I just installed kdebase3 and I have problems. > > 1) Clicking Contol Center in the KDE menu doesnt open control center, > but running kcontrolcenter from the shell does open it. I havent tested > if its actually usable if ran from the command line, because keep > reading > 2) Menu editor doesnt work at all! Right click on the KDE menu button, > try opening the menu editor, nothing happens. Running kmenuedit from > command line opens the menu editor, but if I modify anything and click > save, it saves it into ~/.config/menus but it doesnt actually appear in > the menu. Close kmenuedit, start it up again, and all the entries I just > added were gone/didnt appear in the menu editor. > > It seems that KDE is ignoring ~/.config/menus > > Any help much appreciated. > > Petr Petr, KDE 3.5.4 works for me without the problems, you've described. Just a shot in the dark: Create a file /root/.xinitrc with this content: startkde Start the X server via startx and walk through the KDE setup assistant and end KDE after that. Then try again to login via kdm and see, if your problems are gone. If that doesn't help, create a new user account, and see, if your problems are occuring with this new account, too. If the problems disappear, it seems to be something wrong into your ~/.kde directory. Thomas
Re: KDE problems
Am Dienstag, 29. August 2006 19:01 schrieb Petr Janda: > Unfortunately, this didnt help. I created a new user, but control center > and menu editor still dont work. I even deleted whole /usr/pkg and > started from scratch a few days ago. Its getting quite frustrating. Is > there anyway to find out whats actually happening when I click on those > 2 icons? > Another shot in the dark: could it depend on the version of DFly you use (especially, if KDE was compiled on a newer version than that, it runs on)? I'm running KDE 3,5,4 on 1.7.0-DEVELOPMENT. It if *really* gots on your nerves, you could try to build it from source (bmake install) and see, if it makes a difference (qt3, arts, kdelibs, kdebase). May be somebody could help you on the IRC channel #kde, if it turns out, it's not a DFly-specific problem. There are KDE developer present, too. Thomas