Re: time_t definition

2013-01-17 Thread Thomas D. Dean
On 01/17/13 06:24, Lowell Gilbert wrote: A lot of discussion about what I can do other than understand why gcc does not keep track of the basic typedef. Mayhe the question is beyond this list. Thanks for the replies. Tom Dean ___

Re: time_t definition

2013-01-16 Thread Thomas D. Dean
On 01/16/13 03:00, Patrick Lamaiziere wrote: Looks like gcc47 checks the printf format string (-Wformat) Disable this check or convert your time_t. Yes, I know gcc47 checks the format string. But, time_t is of type int32, from a typedef statement. #include stdio.h typedef int zzz; typedef

Re: time_t definition

2013-01-16 Thread Thomas D. Dean
On 01/16/13 10:41, Robert Bonomi wrote: *precisely* and the format string had %ld. this IS a type mismatch, if a 'long' is a 64-bit value. The original code was compiled on a 32-bit machine for a 32-bit target. I tried %d, %ld, and %lld with the same result. FALSE. Calculation is OK.

time_t definition

2013-01-15 Thread Thomas D. Dean
I am attempting to recompile some code from an older version. uname -a FreeBSD ZD7000 9.1-STABLE FreeBSD 9.1-STABLE #1: Sun Jan 13 23:44:33 PST 2013 root@ZD7000:/usr/obj/usr/src/sys/GENERIC i386 make gcc47 -O2 -pipe -I../../include -std=gnu99 -fstack-protector -Wsystem-headers

BWN WLAN wpa_supplicant ssid mismatch no carrier

2013-01-12 Thread Thomas D. Dean
FreeBSD 9.0 as of June 1, 2012. I have an older laptop with a PC Card Linksys WiFi adapter. I cannot connect to a close-by (2 ft) wireless router. cat rc.conf ... ifconfig_wlan0=WPA SYNCDHCP wlans_bwn0=wlan0 ... cat /etc/wpa_supplicant.conf network={ ssid=tddhome psk= } #

Re: BWN WLAN wpa_supplicant ssid mismatch no carrier

2013-01-12 Thread Thomas D. Dean
On 01/12/13 17:39, Waitman Gobble wrote: # kldload wlan_ccmp # kldload wlan_ccmp kldload: can't load wlan_ccmp: File exists Tom Dean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To

Re: BWN WLAN wpa_supplicant ssid mismatch no carrier

2013-01-12 Thread Thomas D. Dean
On 01/12/13 17:59, Thomas D. Dean wrote: cat /etc/rc.conf ... ifconfig_wlan0=SYNCDHCP WPA ssid tddhome mode 11b wlan0_bwn0=wlan0 ... I found another email that said the device did not support mode 11n. But, this does not seem to have changed anything. Tom Dean

Re: FreeBSD on the ASUS P8H67-M LGA1155 H67 motherboard

2012-06-02 Thread Thomas D. Dean
On 06/02/12 12:07, Peter Vereshagin wrote: I am using a MSI N210 w/ FreeBSD 9-Stable. Seems to work Ok. Tom Dean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail

Re: MK_CLANG_IS_CC mis-formed when compiling ports

2012-06-01 Thread Thomas D. Dean
On 06/01/12 00:00, Anton Shterenlikht wrote: On Thu, May 31, 2012 at 07:13:11PM -0700, Thomas D. Dean wrote: I built FrfeeBSD 9 with WITHOUT_CLANG=Yes When I try to build the net/bwn-firmware-kmod/ I get an error that MK_CLANG_IS_CC is mis-formed. If I define this in make.conf, I get

MK_CLANG_IS_CC mis-formed when compiling ports

2012-05-31 Thread Thomas D. Dean
I built FrfeeBSD 9 with WITHOUT_CLANG=Yes When I try to build the net/bwn-firmware-kmod/ I get an error that MK_CLANG_IS_CC is mis-formed. If I define this in make.conf, I get an error that the user may not set this. If I use 'make MK_CLANG_IS_CC=no' the port compiles. How do I fix this?

How Do I Remove Clang

2012-05-29 Thread Thomas D. Dean
uname -a FreeBSD P9X79.tddhome 9.0-STABLE FreeBSD 9.0-STABLE #2: Fri May 11 20:41:54 PDT 2012 tomdean@P9X79.tddhome:/usr/src/sys/GENERIC amd64 I want to remove clang from my system and stick with gcc. I do not want any code I produce to have a non-GPL license. Do I need to regress to

Re: How Do I Remove Clang

2012-05-29 Thread Thomas D. Dean
On 05/29/12 00:49, Matthew Seaman wrote: Set WITHOUT_CLANG=yes in /etc/src.conf and do a normal buildworld cycle plus 'make delete-old' See src.conf(5) for more details. This breaks normal make: cat /etc/src.conf WITHOUT_CLANG=Yes cat Makefile # Makefile for nanoBSD kld driver CC=gcc

Re: How Do I Remove Clang

2012-05-29 Thread Thomas D. Dean
On 05/29/12 00:27, Thomas D. Dean wrote: Oops, too fast. cat /etc/make.conf PERL_VERSION=5.12.4 MK_CLANG_IS_CC=no Tom Dean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe

nanoBSD Driver Build

2012-05-28 Thread Thomas D. Dean
I need to build a (for me) complicated driver for nanoBSD running on an Elan SC520, an i386 system. I have nanoBSD running, just need the driver. I mount a disk from an i386 system and can build userland applications OK. I installed usr/share/mk. To build the driver, I need the source tree.

nanoBSD Missing libgcc.a

2012-05-24 Thread Thomas D. Dean
I have nanoBSD uname -a FreeBSD embeddedx86.tddhome 9.0-STABLE FreeBSD 9.0-STABLE #1: Tue May 22 11:04:12 PDT 2012 root@P9X79.tddhome:/usr/obj/nanobsd.TS5700 /i386.i386/usr/src/sys/TS5700 i386 gcc 4.2.1 is installed, but, missing libgcc.a. libcompiler_rt.a is present. gcc

Re: nanoBSD Missing libgcc.a

2012-05-24 Thread Thomas D. Dean
On 05/23/12 23:09, Thomas D. Dean wrote: Sorry to reply to my own post. I had some old obj files in the directory. cleaning out the directories removed the problem. Tom Dean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org

Re: nanoBSD Missing libgcc.a

2012-05-24 Thread Thomas D. Dean
On 05/23/12 23:09, Thomas D. Dean wrote: I have nanoBSD Please ignore my post about cleaning directories. The problem still exists. I need to compile on the nanoBSD system - it is the only 32-bit system, now. How do I get either 1. gcc to use libcompiler_rt.a -or- 2. the nanoBSD build

Re: Dual Boot Windows 7 FreeBSd 8.3

2012-05-23 Thread Thomas D. Dean
On 05/23/12 14:49, Jerry McAllister wrote: Hi, I have a dual boot system, windows 7 (ad0) and FreeBSD 9-stable (ad1). I moved back to BIOS boot after (I think) windows upgrade stabbed ad0. I found the system with a blank screen in the AM. Using BIOS boot, The first windows screen had an

Nfscl

2012-05-22 Thread Thomas D. Dean
I built nanoBSD on uname -a FreeBSD P9X79.tddhome 9.0-STABLE FreeBSD 9.0-STABLE #2: Fri May 11 20:41:54 PDT 2012 tomdean@P9X79.tddhome:/usr/src/sys/GENERIC amd64 for a TS5700 with a ELAN SC520. The trick was to override some variables in the .cfg file. The image will boot and all seems

Using inb() and outb()

2012-05-22 Thread Thomas D. Dean
I have nanoBSD running a hardware control application. To do this, I need inb() and outb() functions. I an do this as root. However, it is better if none of the control system is run as root. How do I allow these functions to one specific user? Tom Dean

Re: Nfscl

2012-05-22 Thread Thomas D. Dean
On 05/22/12 10:46, Thomas D. Dean wrote: I rebuilt the kernel with the new NFS options and it works. Tom Dean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail

Re: Using inb() and outb()

2012-05-22 Thread Thomas D. Dean
On 05/22/12 14:08, Robert Bonomi wrote: That is what I thought. The entire operation will have to run as root. Nothing will be non-root. Don't like that, but, it is nanoBSD and hardware control Tom Dean ___ freebsd-questions@freebsd.org mailing

Make and sys.mk

2012-05-22 Thread Thomas D. Dean
I need to get away from sys.mk - no usr/share/mk. This is normally done with 'make -r' Is there a way to do it from within a Makefile? Tom Dean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions

Re: Using inb() and outb()

2012-05-22 Thread Thomas D. Dean
On 05/22/12 17:09, Eitan Adler wrote: On 22 May 2012 14:25, Thomas D. Deantomd...@speakeasy.org wrote: On 05/22/12 14:08, Robert Bonomi wrote: That is what I thought. The entire operation will have to run as root. Nothing will be non-root. Can you make a SUID helper which only does the

Re: Using inb() and outb()

2012-05-22 Thread Thomas D. Dean
On 05/22/12 19:53, Robert Bonomi wrote: I implemented a RPC system at SLAC - actually got RPC numbers from Sun! But, it is slow. Unless it is located far away (two miles at SLAC), it is much faster to do it with a driver, etc. Tom Dean ___

Re: NanoBSD Build Failure

2012-05-21 Thread Thomas D. Dean
On 05/20/12 23:23, Robert Bonomi wrote: Just realized that. I have a spare disk and the 8.2 i386 distribution dvd from my subscription. Install that for use with nanoBSD will make it much better. Thanks, Tom Dean ___ freebsd-questions@freebsd.org

NanoBSD Build Failure

2012-05-20 Thread Thomas D. Dean
I am attempting to rebuild nanoBSD on an AMD64 system, using the same config file I used a couple years ago on a 32-bit system. The target system is a TS5700 with an AMD Elan SC520, currently running nanoBSD from FreeBSD 6.2-PRERELEASE #0: Sun Oct 15 16:25:50 PDT 2006. From dmesg: CPU: AMD

Re: NanoBSD Build Failure

2012-05-20 Thread Thomas D. Dean
On 05/20/12 20:39, Polytropon wrote: On Sun, 20 May 2012 19:49:49 -0700, Thomas D. Dean wrote: I am attempting to rebuild nanoBSD on an AMD64 system, using the same config file I used a couple years ago on a 32-bit system. [...] /usr/home/tomdean/nanoBSD/MYKERNEL: unknown option I486_CPU

Re: TIOCGSERIAL?

2011-08-19 Thread Thomas D. Dean
On Fri, 2011-08-05 at 22:01 +0200, Paweł Michalicki wrote: I have a certain device which can be hooked to a PC via RS232 connection. Since my PC does not have a true COM port, I am using an USB-COM converter, which contains the FTDI chip. I wrote a program to handle the communications via the

Re: Installing a more recent version of xorg-server?

2011-08-03 Thread Thomas D. Dean
On Wed, 2011-08-03 at 11:46 -0700, Ismael Farfán wrote: This config works on my HP Envy with Intel GUI Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection

Re: Installing a more recent version of xorg-server?

2011-08-03 Thread Thomas D. Dean
On Wed, 2011-08-03 at 19:43 -0700, Ismael Farfán wrote: Look at the keyboard section of 'man Xorg' Does ctrl-alt-keypad-plus change the display? tomdean ___ freebsd-questions@freebsd.org mailing list

Re: password hash weaknesses in FreeBSD ?

2011-08-02 Thread Thomas D. Dean
On Tue, 2011-08-02 at 17:36 +0100, マンロークリストファ wrote: The crypt program to hash passwords uses md5 /DES/blowfish for password hashing as I have read in the handbook. DES and md5 are widely regarded to be broken (certainly DES). I would prefer password hashing to be done using salted SHA1 /

Re: Problems with the Asus P8h61 -m pro motherboard

2011-07-20 Thread Thomas D. Dean
On Wed, 2011-07-20 at 08:24 +0200, Matevž Markovič wrote: Asus P8h61 -m pro motherboard Did you try the re driver? The chipset is Realtek 8111e. This is supported by 8-stable, I think. Did you look at: http://lists.freebsd.org/pipermail/freebsd-stable/2011-June/062886.html tomdean

Install 8.2-Release AMD64 on Laptop with Raid0

2011-07-19 Thread Thomas D. Dean
I have not used RAID before. I have a laptop (new to me) with windows 7 and RAID0. I want to install 8.2-Release and retain the Raid0. I booted the 8.2-Release AMD64 DVD and exited to Fixit. pciconf -lv shows atapci0@pci0:0:31:2: class=0x010400 card=0x159b103c chip=0x282a8086 rev=0x05

Re: Install 8.2-Release AMD64 on Laptop with Raid0

2011-07-19 Thread Thomas D. Dean
On Tue, 2011-07-19 at 11:26 -0700, Chuck Swiger wrote: Hi-- On Jul 19, 2011, at 11:20 AM, Thomas D. Dean wrote: sysinstall shows 3 choices for disk drives. ad4(600G), ad6(600G), ar0(RAID0) I want to use RAID0 and use the entire disk, partitioned by 'A'. Which disk do I select

Re: Fwd: Install 8.2-Release AMD64 on Laptop with Raid0

2011-07-19 Thread Thomas D. Dean
On Tue, 2011-07-19 at 11:31 -0700, Chuck Swiger wrote: Umm, please don't inflict autoresponders upon people who answer your questions... I don't know where this came from... tomdean ___ freebsd-questions@freebsd.org mailing list

Re: Install 8.2-Release AMD64 on Laptop with Raid0

2011-07-19 Thread Thomas D. Dean
I booted the DVD to Fixit and used fdisk. The output is below. It looks like, if I want to use ataraid, I install to ad4 and leave ad6 alone. Correct? I think I will try ataraid and see what happens. To use gmirror, I do the same, correct? tomdean Fixit# fdisk ad4 *** Working on device

Re: Install 8.2-Release AMD64 on Laptop with Raid0

2011-07-19 Thread Thomas D. Dean
On Tue, 2011-07-19 at 11:52 -0700, Chuck Swiger wrote: I discovered how to get to BIOS on the laptop. esc very early in the power process brings up a menu. F10 gets in to BIOS. One item, OROM UI enable/disable was disabled. Enabling this flashes a menu for 2 sec on boot that allows ctrl-I to

Re: Install 8.2-Release AMD64 on Laptop with Raid0

2011-07-19 Thread Thomas D. Dean
On Tue, 2011-07-19 at 12:18 -0700, Chuck Swiger wrote: After some more reading and searching, I decided to not use ataraid. I went into BIOS and deleted the RAID volume. I am installing 8.2 on ad4 with a subsequent change to 8-stable. After getting to 8-stable, I will look into setting up a

FreeBSD 8.2 Xorg and Raedon HD 6850

2011-07-18 Thread Thomas D. Dean
I read the information on FreeBSD.org about the 6850 and I think I am confused. I have an HP Envy 3D 17 laptop with this video adapter. First, it appears there may be limited support for this card. The bottom line seems to be Try Radeon Driver then the Vesa Driver. On the Xorg site, there is a

Portupgrade Package Question

2011-07-09 Thread Thomas D. Dean
As root, I attempted to use portupgrade -PPRv m4 which attempted to access ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-release/All/m4-1.4.16,1.tbz but failed - File unavailable (e.g. file not found, no access) I changed etc/pkgtools.conf OS_PKGBRANCH=8-STABLE and

Re: Portupgrade Package Question

2011-07-09 Thread Thomas D. Dean
On Sat, 2011-07-09 at 14:15 -0400, Chris Brennan wrote: On 7/9/2011 1:14 PM, Thomas D. Dean wrote: As root, I attempted to use portupgrade -PPRv m4 which attempted to access ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-release/All/m4-1.4.16,1.tbz but failed - File

Re: Portupgrade Package Question

2011-07-09 Thread Thomas D. Dean
On Sat, 2011-07-09 at 20:47 +0200, Polytropon wrote: On Sat, 09 Jul 2011 11:33:00 -0700, Thomas D. Dean wrote: /usr/bin/fetch -v 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8-STABLE/All/m4-1.4.16,1.tbz' looking up ftp.FreeBSD.org connecting to ftp.FreeBSD.org:21 fetch: ftp

Re: Portupgrade Package Question

2011-07-09 Thread Thomas D. Dean
On Sat, 2011-07-09 at 12:05 -0700, Thomas D. Dean wrote: Sorry to answer my own post. The packages that are out-of-date on the system I was updating are in relationship to 8.2-release. A couple days ago, I cvsup'd the port tree with *default release-cvs tag=. ports-all Today, portsnap fetch

Re: Portupgrade Package Question

2011-07-09 Thread Thomas D. Dean
On Sat, 2011-07-09 at 21:45 +0200, Polytropon wrote: If I understood everything correctly, CVS (csup) and portsnap do both follow the one tree which gets frequently updated, and by the tag specified above you'll always get the current version of the tree. Getting older versions (e. g. the

Re: Portupgrade Package Question

2011-07-09 Thread Thomas D. Dean
On Sat, 2011-07-09 at 19:54 -0400, b. f. wrote: occasionally trip over problems that will require intervention. (Note that in the section of the csup file that you reproduced in an earlier message, 'release-cvs' should be 'release=cvs'.) The '-' was a typo on my part. The machine I used for

DHCP and DNS

2007-09-28 Thread Thomas D. Dean
I had a wired network with a FreeBSD gateway/firewall. The gateway died and I converted to a mixed network with a Belkin N1 wireless router. I have 2 windows machines and 3 FreeBSD 6.2-stable machines. fix etc/rc.conf and reboot. dhclient is running. I have leases and can access the web. All

Re: DHCP and DNS

2007-09-28 Thread Thomas D. Dean
How can I get FreeBSD to query the router for IP information for other machines? tomdean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: DHCP and DNS

2007-09-28 Thread Thomas D. Dean
The router provides DHCP services. The windows boxes can ping the FreeBDS boxes by name. tomdean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL

Re: DHCP and DNS

2007-09-28 Thread Thomas D. Dean
I have a Belkin N1 wireless router with a mix of wireless and wired machines. 2 wired FreeBSD machines, 1 wired Windows machine, 1 wireless FreeBSD machine, -current wpi driver in the works, and a wireless windows machine. The wired FreeBSD machines get leases with dhclient. Looking at the

Re: DHCP and DNS

2007-09-28 Thread Thomas D. Dean
You need to add the hostname dv6000 entry to hosts, or create your own zone files and run bind. As these are private IP's you need either to update hosts or run DNS. You may find it easier to give servers static private IP's that way you are assured your hosts entries or DNS entries are

Wireless Network Not Found

2007-08-28 Thread Thomas D. Dean
I have an HP dv6000 series notebook with a wireless network device which worked under windows. The notebook had windows when I obtained it. I installed FreeBSD 6.2 and upgraded to -stable. I cannot configure the wireless network or do anything with it. This may be between my ears or it may be

Re: FreeBSD 4.11 binary compatibility (libm.so.2, etc)

2007-08-28 Thread Thomas D. Dean
Have you tried linking libm.so to libm.so.2? tomdean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: FreeBSD 4.11 binary compatibility (libm.so.2, etc)

2007-08-28 Thread Thomas D. Dean
It provides a temporary solution in some cases, when you need to get going. It is not a long term solution. tomdean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail

Prolific USB-Serial

2007-08-27 Thread Thomas D. Dean
I have a Prolific USB-Serial Controller which works on some USB ports with tip, but, not others. This is on a HP dv6000 laptop running up-to-date 6.2-stable with a custom kernel. This included all the devices found by GENERIC plus ucom and uftpi. I need to add uplcom, but, for now, I kldload

How do I force ucom to attach?

2007-08-26 Thread Thomas D. Dean
# uname -a FreeBSD asus.tddhome 6.2-STABLE FreeBSD 6.2-STABLE #2: \ Fri Jun 22 10:14:36 PDT 2007 \ [EMAIL PROTECTED]:/usr/src/sys/i386/compile/GENERIC i386 I have a Prologix USB to GPIB adapter. I had it working, using /dev/cuaU0. Then, I rebooted the system. No other changes. I

Re: sandisk sd 256MB freebsd install

2004-09-02 Thread Thomas D. Dean
Look at PHK's nanoBSD. Under -current ( or 5.x???) src/tools/tools/nanobsd tomdean ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: sandisk sd 256MB freebsd install

2004-09-02 Thread Thomas D. Dean
I checked, nanobsd is only in -current. http://www.freebsd.org/cgi/cvsweb.cgi/src/tools/tools/nanobsd/ tomdean ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL

Re: Unable to boot after install, machine just reboots continuously

2004-09-02 Thread Thomas D. Dean
The install process is discussed in great detail in the handbook on the FreeBSD web site, if you can get to it. The FAQ has several items dealing with this issue. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using-sysinstall.html Did you choose a standard install? Is this machine