Re: Access Point Failures using hostapd and ath0 w/ WG311 WiFi Card
I actually resolved the issues described. I don't know if this was the true source of the disfunctional AP services, however, when I turned off routed all became sound again. I had also rebuilt world, and installed a newly compiled version of 6-stable, however, that still did not resolve the issues as of the previous email. I wanted to research what may have caused this issue, since I will likely see it again, especially if there is some misscommunication with routed and hostapd authentication. - Respectfully, Martes G Wigglesworth, CEO M.G. Wigglesworth,LLC [EMAIL PROTECTED] On Mon, 2008-03-31 at 07:34 +0200, Ashant Chalasani wrote: > On Sun, Mar 30, 2008 at 6:37 PM, Martes G Wigglesworth > <[EMAIL PROTECTED]> wrote: > > I am running 6-Stable on an old Pentium III 800MHz box for routing and > > wireless access point services. I am unable to maintain a concurrent > > conection with the wireless link. The system seems to run fine without > > authentication, however, when using hostapd I get the following error > > message on std output. I am not familiar with driver troubleshooting, > > or hostapd code, so if someone could point me in the correct direction, > > I would appreciate the assistance. > > I've seen this happen with 6.0-REL (Tinybsd 0.8 distribution) hostapd > networks as well on a customer's network. I wasn't responsible for > fixing the problem, but there was also a line of thought that the real > culprit was the Windows CE supplicant. > > With 6.0-REL, we've had problems with WEP with the Intel Pro Wireless > 3945ABG chipset on Window XP, but WPA and WPA-EAP worked fine. > > Also problematic with WEP was a hand-held Windows CE. > > We didn't get far with troubleshooting with the Tinybsd 0.8 distro, > but upgrading to 0.9 helped alleviate the problem (although we are > still testing the 0.9 system) > > Asahnt > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OpenOffice 2.3
> > > > > > > javaldx: Could not find a Java Runtime Environment! > > Do you have one? > yes i do. And i wonder why it showed up there in the first place. > > > I18N: Operating system doesn't support locale "en_US" > > There is no such locale "en_US", but e.g. en_US.UTF-8; can you check it? > There too, and again i wonder why it showed up. Unless something broke previously. > Exactly the same error messages (and some solutions) were reported in > November 2007 here: > > http://www.nabble.com/Re:-GLib-GObject-CRITICAL-td13904374.html > Yes, i found this, but it was of no assistance. > > Of course, if you have an up-to-date ports tree, you should probably > report this to [EMAIL PROTECTED] > i had an up-to-date ports tree at the time of installation. > > (BTW, there are pre-built packages for all OpenOffice versions: > > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-7-stable/editors/ > No, i have not. Some thing strange happened though. I tried OOO_FORCE_DESKTOP=gnome before and it returned the same error. I tried it after a few days of hustling and its worked fine. -- Mike Of course, you might discount this possibility, but remember that one in a million chances happen 99% of the time. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SCSI network
On Sun, 2008-03-30 at 22:34 -0500, Dan Nelson wrote: > In the last episode (Mar 29), Wojciech Puchar said: > > i have few Ultra160 SCSI controllers and two Ultra40, cables and few > > machines that needs fast interconnect. i could use one gigabit card on each > > machine+switch, but i already have it! > > > > can i make external SCSI bus through all machines and use it to transmit IP > > packets? > > > > they are all adaptec (ahc driver) controllers - manual says it can be > > target as well as initiator > > I've never seen a SCSI IP implementation, but I guess it's > theoretically possible. Since SCSI uses a shared bus, though, the best > you could get would be a half-duplex network. Gigabit NICs and a cheap > unmanaged switch will work much better :) > I'd agree with that 100%- do the bandwidth math (not to mention the ease of setup): gigabit each way compared to a max of 320mb (I could be wrong on the exact figures, but the gigabit is still faster). Setup a small private network between the machines in question and everything would be happy. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cyclic dependencies = pain in the butt
On Sun, 30 Mar 2008 22:24:19 -0400 Eduardo Cerejo <[EMAIL PROTECTED]> wrote: > After running pkgdb -F I'm getting endless cyclic dependencies, so > many of them that I completely gave up. The last one goes like this: > > ---> Checking the package registry database > Cyclic dependencies: gnome-desktop-2.22.0 -> nautilus-2.22.1 -> > eel-2.22.1 -> py25-gnome-2.22.0 -> tracker-0.6.2_2 -> > (gnome-desktop-2.22.0) Unlink which dependency? (? to help): > > What does this mean? Is there another way to fix this than to figure > this out? How am I suppose to know what depends on what? I thought > portupgrade would do that automatically. Try going to x11-toolkits/py-gnome2, and doing a make all-depends-list to see if it really does depend on tracker-0.6.2_2 It doesn't in my tree, but it may be that you have hit on a combination of options that produces the cycle. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SCSI network
In the last episode (Mar 29), Wojciech Puchar said: > i have few Ultra160 SCSI controllers and two Ultra40, cables and few > machines that needs fast interconnect. i could use one gigabit card on each > machine+switch, but i already have it! > > can i make external SCSI bus through all machines and use it to transmit IP > packets? > > they are all adaptec (ahc driver) controllers - manual says it can be > target as well as initiator I've never seen a SCSI IP implementation, but I guess it's theoretically possible. Since SCSI uses a shared bus, though, the best you could get would be a half-duplex network. Gigabit NICs and a cheap unmanaged switch will work much better :) -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Cyclic dependencies = pain in the butt
After running pkgdb -F I'm getting endless cyclic dependencies, so many of them that I completely gave up. The last one goes like this: ---> Checking the package registry database Cyclic dependencies: gnome-desktop-2.22.0 -> nautilus-2.22.1 -> eel-2.22.1 -> py25-gnome-2.22.0 -> tracker-0.6.2_2 -> (gnome-desktop-2.22.0) Unlink which dependency? (? to help): What does this mean? Is there another way to fix this than to figure this out? How am I suppose to know what depends on what? I thought portupgrade would do that automatically. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pkg_add goofiness in 7.0
I believe this is the same as the error message I saw originally (when I had not specified -v, so it wasn't buried among a pile of other stuff): xmlcatmgr: unbalanced arguments for `add' action # pkg_add -Kv linuxdoc* Requested space: 36624 bytes, free space: 774946816 bytes in /var/tmp/instmp.CfA0bH Package 'linuxdoc-1.1_1' depends on 'xmlcatmgr-2.2' with 'textproc/xmlcatmgr' origin. - already installed. Package 'linuxdoc-1.1_1' depends on 'iso8879-1986_2' with 'textproc/iso8879' origin. - already installed. extract: Package name is linuxdoc-1.1_1 extract: CWD to /usr/local extract: /usr/local/share/sgml/linuxdoc/README extract: /usr/local/share/sgml/linuxdoc/catalog extract: execute '/usr/local/bin/xmlcatmgr -sc /usr/local/share/sgml/catalog.ports add linuxdoc/catalog' xmlcatmgr: unbalanced arguments for `add' action pkg_add: command '/usr/local/bin/xmlcatmgr -sc /usr/local/share/sgml/catalog.ports add linuxdoc/catalog' failed extract: /usr/local/share/sgml/linuxdoc/freebsd-1.0.dtd extract: /usr/local/share/sgml/linuxdoc/freebsd-1.1.dtd extract: /usr/local/share/sgml/linuxdoc/linuxdoc.dec extract: /usr/local/share/sgml/linuxdoc/original.dtd extract: CWD to . Running mtree for linuxdoc-1.1_1.. mtree -U -f +MTREE_DIRS -d -e -p /usr/local >/dev/null Attempting to record package into /var/db/pkg/linuxdoc-1.1_1.. Trying to record dependency on package 'xmlcatmgr-2.2' with 'textproc/xmlcatmgr' origin. Trying to record dependency on package 'iso8879-1986_2' with 'textproc/iso8879' origin. Package linuxdoc-1.1_1 registered in /var/db/pkg/linuxdoc-1.1_1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pkg_add goofiness in 7.0
[EMAIL PROTECTED] wrote: What you showed does not indicate a failure. If you are saying that the package wasn't actually installed completely, then pkg_delete it and retry. I am not saying that the package was installed incompletely, incorrectly, or something else because I don't know which of those applies. *The package installation itself* threw an error message, with no instructions for recovery, and left the package database corrupted (incorrectly showing the package as installed). Fine, but there is nothing I can do to help you without knowing what the error was. pkg_delete was only partially successful, perhaps because it was unable to completely clean up the corruption. Now what? # pkg_delete -v linuxdoc-1.1_1 Trying to remove dependency on package 'xmlcatmgr-2.2' with 'textproc/xmlcatmgr' origin. Trying to remove dependency on package 'iso8879-1986_2' with 'textproc/iso8879' origin. Change working directory to /usr/local Delete file /usr/local/share/sgml/linuxdoc/README Execute '/usr/local/bin/xmlcatmgr -sc /usr/local/share/sgml/catalog.ports remove linuxdoc/catalog' xmlcatmgr: enabling compatibility mode; removing ALL matching entries xmlcatmgr: no matching entry for `linuxdoc/catalog' of any type pkg_delete: unexec command for '/usr/local/bin/xmlcatmgr -sc /usr/local/share/sgml/catalog.ports remove linuxdoc/catalog' failed Delete file /usr/local/share/sgml/linuxdoc/catalog Delete file /usr/local/share/sgml/linuxdoc/freebsd-1.0.dtd Delete file /usr/local/share/sgml/linuxdoc/freebsd-1.1.dtd Delete file /usr/local/share/sgml/linuxdoc/linuxdoc.dec Delete file /usr/local/share/sgml/linuxdoc/original.dtd Delete directory /usr/local/share/sgml/linuxdoc Change working directory to . pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) As I said, now try to repeat the original problem. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pkg_add goofiness in 7.0
> What you showed does not indicate a failure. If you are saying > that the package wasn't actually installed completely, then > pkg_delete it and retry. I am not saying that the package was installed incompletely, incorrectly, or something else because I don't know which of those applies. *The package installation itself* threw an error message, with no instructions for recovery, and left the package database corrupted (incorrectly showing the package as installed). pkg_delete was only partially successful, perhaps because it was unable to completely clean up the corruption. Now what? # pkg_delete -v linuxdoc-1.1_1 Trying to remove dependency on package 'xmlcatmgr-2.2' with 'textproc/xmlcatmgr' origin. Trying to remove dependency on package 'iso8879-1986_2' with 'textproc/iso8879' origin. Change working directory to /usr/local Delete file /usr/local/share/sgml/linuxdoc/README Execute '/usr/local/bin/xmlcatmgr -sc /usr/local/share/sgml/catalog.ports remove linuxdoc/catalog' xmlcatmgr: enabling compatibility mode; removing ALL matching entries xmlcatmgr: no matching entry for `linuxdoc/catalog' of any type pkg_delete: unexec command for '/usr/local/bin/xmlcatmgr -sc /usr/local/share/sgml/catalog.ports remove linuxdoc/catalog' failed Delete file /usr/local/share/sgml/linuxdoc/catalog Delete file /usr/local/share/sgml/linuxdoc/freebsd-1.0.dtd Delete file /usr/local/share/sgml/linuxdoc/freebsd-1.1.dtd Delete file /usr/local/share/sgml/linuxdoc/linuxdoc.dec Delete file /usr/local/share/sgml/linuxdoc/original.dtd Delete directory /usr/local/share/sgml/linuxdoc Change working directory to . pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd
On Sun, 30 Mar 2008 13:25:40 +0100 "computer tech" <[EMAIL PROTECTED]> wrote: > Hi there > > I run my own website and would like to link to FreeBSD. > > Normally I know most people just go ahead and link anyway, however I > always believe in asking as I know some people / companies don't like > linking to other websites so I would like to know if its ok to add > FreeBSD to my links page when I get this part up? > I don't think anyone objects to one site providing a link to another, that pretty much the point of the "world-wide web". What people object to is a site that links or embeds other peoples' content, passing it off as their own. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: disable periodic scripts
On Sun, 30 Mar 2008 15:18:12 -0400 Warner Lambert <[EMAIL PROTECTED]> wrote: > > Hi > > How can I disable those nightly/monthly/... periodic scripts? I don't > need them, these days professional monitoring software such as nagios > is used to monitor 200+ systems. I can't read 200 mails showing me > hundreds of lines of output even if nothings happening. Am I just > deleting all the /etc/periodic/* stuff or is there a switch like: > turn_off_ancient_system_administration="YES" ? > The periodic scripts do other things apart than monitoring, but if you're sure you wont need any of the system maintenance features, and wont install any packages that rely on local period scripts, you can disable them in /etc/crontab. Otherwise, you may want to look at /etc/defaults/periodic.conf for how to send the output to rotated log-files. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Non-Blocking write over NFS fails
Hi all. It's been some time since posted here but I hope someone can see if I'm doing something stupid or if I really have found a problem. On my FreeBSD 7 client (192.168.0.50) I mounted an NFS-share from a FreeBSD 7 server (192.168.0.5). When I try to write a large file from the client to the share in non-blocking mode, the write() call always returns EAGAIN. I whipped up a small little test program to illustrate the behavior: #include #include #include #include #include #include #include int main(int argc, char* argv[]) { int bufSz = 1172767; fprintf(stderr, "Creating file: %s\n", argv[1]); int fd = open(argv[1], O_CREAT|O_RDWR); if(fd < 0) perror(0); int ret = fcntl(fd, F_SETFL, O_NONBLOCK); if(ret < 0) { perror(0); } char* buf = (char*)malloc(bufSz); memset(buf, 0, bufSz); ret = -1; while(ret < 0) { ret = write(fd, buf, bufSz); fprintf(stderr, "write: %d\n", ret); if(ret < 0) perror(0); sleep(1); } free(buf); close(fd); return 0; } If the size is one byte less (1172766) the write succeeds so I guess I'm hitting some buffer limit. The mount in an NFSv3 mount and the error occurs both over UDP and TCP. When I do a tcpdump from the client, I see (NFS over TCP): 01:47:18.308353 IP 192.168.0.50.835170573 > 192.168.0.5.nfs: 112 lookup fh 1073,399698/4993024 "t.txt" 01:47:18.308548 IP 192.168.0.5.nfs > 192.168.0.50.835170573: reply ok 120 lookup ERROR: No such file or directory 01:47:18.308575 IP 192.168.0.50.835170574 > 192.168.0.5.nfs: 144 create fh 1073,399698/4993024 "t.txt" 01:47:18.308856 IP 192.168.0.5.nfs > 192.168.0.50.835170574: reply ok 272 create fh 1073,399698/4993038 01:47:18.409715 IP 192.168.0.50.859 > 192.168.0.5.nfsd: . ack 2113663444 win 16588 None of the data appears to be sent over the wire. The program loops indefinitely returning EAGAIN with the write() call. When I run the program with a smaller buffer size I get: 01:50:31.624967 IP 192.168.0.50.835170584 > 192.168.0.5.nfs: 112 lookup fh 1073,399698/4993024 "t.txt" 01:50:31.625116 IP 192.168.0.5.nfs > 192.168.0.50.835170584: reply ok 120 lookup ERROR: No such file or directory 01:50:31.625140 IP 192.168.0.50.835170585 > 192.168.0.5.nfs: 144 create fh 1073,399698/4993024 "t.txt" 01:50:31.625411 IP 192.168.0.5.nfs > 192.168.0.50.835170585: reply ok 272 create fh 1073,399698/4993039 01:50:31.626582 IP 192.168.0.50.835170586 > 192.168.0.5.nfs: 1448 write fh 1073,399698/4993039 32768 (32768) bytes @ 0 01:50:31.626592 IP 192.168.0.50.0 > 192.168.0.5.nfs: 1448 null 01:50:31.626598 IP 192.168.0.50.0 > 192.168.0.5.nfs: 1448 null 01:50:31.626605 IP 192.168.0.50.0 > 192.168.0.5.nfs: 1448 null 01:50:31.626612 IP 192.168.0.50.0 > 192.168.0.5.nfs: 1448 null 01:50:31.626625 IP 192.168.0.50.0 > 192.168.0.5.nfs: 1448 null 01:50:31.626633 IP 192.168.0.50.0 > 192.168.0.5.nfs: 1448 null 01:50:31.627062 IP 192.168.0.5.nfsd > 192.168.0.50.859: . ack 175520546 win 28946 [] 01:50:31.726744 IP 192.168.0.5.nfsd > 192.168.0.50.859: . ack 1172801 win 28946 01:50:31.727005 IP 192.168.0.5.nfs > 192.168.0.50.835170621: reply ok 164 write [|nfs] Since I'm not familiar with the NFS code does anyone know if this should work (or not)? If it is a problem, where should I go looking for the source of the problem? I'm assuming somewhere in src/sys/nfsclient. Thanks, Heath (Please CC me since I'm not on the list) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to replace libpthread correctly on 7.0?
On Sun, 30 Mar 2008, Luke Dean wrote: This weekend I upgraded a desktop system from 6.2 to 7-STABLE using source. I removed and rebuilt all my ports using the ports system, and so far I haven't noticed any problems with them. When I attempted to rebuild some software outside the ports system, I ran into problems. I like to use the Code::Blocks IDE. It's in the FreeBSD ports system, but it's lagging about three years behind what's current, so I've been tracking the current code from the project's subversion system. It was working on FreeBSD 6.2. When I attempted to rebuild Code::Blocks, the build failed with an error relating to libpthread.so.2. I didn't get rid of old libraries when I upgraded to 7, so I still had this old libpthread.so.2 that hadn't been rebuilt. I know. Bad. I searched the web a bit and discovered that libpthread had fallen out of favor in 7 and was being replaced by something else. Ok, fine, so I got rid of my old broken libpthread.so.2. I tried to rebuild Code::Blocks again, and found that it was still attempting to link to libpthread. I threw away all the code and configurations, fetched the latest code, ran "bootstrap", "configure", and "make" and it's STILL running g++ with the -pthread switch and complaining about a missing libpthread.so.2. It finally dies with an "undefined reference to [EMAIL PROTECTED]' So... Should I expect the new standard threading library ("libthr" I think?) to be a drop-in replacement for libpthread? If so, do you have any ideas where I need to look to convince this code to use it? For my personal projects, is the -pthread switch any good anymore, or is there a different switch I should be using now? Is libpthread even an option at all anymore? If so, how do I build it? I'm just not sure what direction I should start troubleshooting in now. Never mind. It was my stupid mistake. I thought that "make" was making all new executables and libraries, but in fact it was pulling in an old library that was linked to libpthread. Silly me. If this had been in the ports system I would've run "make deinstall" first and avoided this problem. I removed the old library, which forced "make" to rebuild it and all was fine. The Porter's Handbook answered my question about the -pthread switch, I think. I have to go through this every now and then just to remind myself why I like the ports system so much. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: disable periodic scripts
On Sun, 30 Mar 2008 at 22:26 +0100, [EMAIL PROTECTED] confabulated: Warner Lambert wrote: Hi How can I disable those nightly/monthly/... periodic scripts? I don't need them, these days professional monitoring software such as nagios is used to monitor 200+ systems. I can't read 200 mails showing me hundreds of lines of output even if nothings happening. Am I just deleting all the /etc/periodic/* stuff or is there a switch like: turn_off_ancient_system_administration="YES" ? Tnx. If you really want to disable cron, put cron_enable="NO" in /etc/rc.conf Or, the OP can just comment the periodic lines within: /etc/crontab That way other cron jobs will still run. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pkg_add goofiness in 7.0
[EMAIL PROTECTED] wrote: [trying to install linuxdoc-1.1_1.tbz] it gave me some sort of error about an unbalanced add operation. (I didn't try to copy down all the details, figuring instead to retry with a script(1) active so as to capture them.) Upon that retry, it now tells me that the package is already installed, even though the prior attempt failed. ... # ls -l linuxdoc* -r--r--r-- 1 root wheel 9156 Feb 24 08:18 linuxdoc-1.1_1.tbz # pkg_add -Kv linuxdoc* Requested space: 36624 bytes, free space: 774981632 bytes in /var/tmp/instmp.3DBbHN pkg_add: package 'linuxdoc-1.1_1' or its older version already installed pkg_add: 1 package addition(s) failed No idea, you'll have to recreate the failure and show us. Which failure are you referring to? The original one with the unbalanced add message, or the new one where it claims the package is already installed even though the previous installation reportedly failed? I can recreate the second one any number of times, but absent some specific suggestion it's not going to produce any more output than shown above. (I'm already specifying -v.) Short of wiping the drive and starting completely over, I have no idea how to go about reproducing the original failure without first fixing the newer one. What you showed does not indicate a failure. If you are saying that the package wasn't actually installed completely, then pkg_delete it and retry. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pkg_add goofiness in 7.0
> > [trying to install linuxdoc-1.1_1.tbz] it gave me some > > sort of error about an unbalanced add operation. (I didn't try > > to copy down all the details, figuring instead to retry with a > > script(1) active so as to capture them.) Upon that retry, it now > > tells me that the package is already installed, even though the > > prior attempt failed. > > ... > > # ls -l linuxdoc* > > -r--r--r-- 1 root wheel 9156 Feb 24 08:18 linuxdoc-1.1_1.tbz > > # pkg_add -Kv linuxdoc* > > Requested space: 36624 bytes, free space: 774981632 bytes in > > /var/tmp/instmp.3DBbHN > > pkg_add: package 'linuxdoc-1.1_1' or its older version already installed > > pkg_add: 1 package addition(s) failed > > No idea, you'll have to recreate the failure and show us. Which failure are you referring to? The original one with the unbalanced add message, or the new one where it claims the package is already installed even though the previous installation reportedly failed? I can recreate the second one any number of times, but absent some specific suggestion it's not going to produce any more output than shown above. (I'm already specifying -v.) Short of wiping the drive and starting completely over, I have no idea how to go about reproducing the original failure without first fixing the newer one. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to replace libpthread correctly on 7.0?
This weekend I upgraded a desktop system from 6.2 to 7-STABLE using source. I removed and rebuilt all my ports using the ports system, and so far I haven't noticed any problems with them. When I attempted to rebuild some software outside the ports system, I ran into problems. I like to use the Code::Blocks IDE. It's in the FreeBSD ports system, but it's lagging about three years behind what's current, so I've been tracking the current code from the project's subversion system. It was working on FreeBSD 6.2. When I attempted to rebuild Code::Blocks, the build failed with an error relating to libpthread.so.2. I didn't get rid of old libraries when I upgraded to 7, so I still had this old libpthread.so.2 that hadn't been rebuilt. I know. Bad. I searched the web a bit and discovered that libpthread had fallen out of favor in 7 and was being replaced by something else. Ok, fine, so I got rid of my old broken libpthread.so.2. I tried to rebuild Code::Blocks again, and found that it was still attempting to link to libpthread. I threw away all the code and configurations, fetched the latest code, ran "bootstrap", "configure", and "make" and it's STILL running g++ with the -pthread switch and complaining about a missing libpthread.so.2. It finally dies with an "undefined reference to [EMAIL PROTECTED]' So... Should I expect the new standard threading library ("libthr" I think?) to be a drop-in replacement for libpthread? If so, do you have any ideas where I need to look to convince this code to use it? For my personal projects, is the -pthread switch any good anymore, or is there a different switch I should be using now? Is libpthread even an option at all anymore? If so, how do I build it? I'm just not sure what direction I should start troubleshooting in now. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: disable periodic scripts
Warner Lambert wrote: Hi How can I disable those nightly/monthly/... periodic scripts? I don't need them, these days professional monitoring software such as nagios is used to monitor 200+ systems. I can't read 200 mails showing me hundreds of lines of output even if nothings happening. Am I just deleting all the /etc/periodic/* stuff or is there a switch like: turn_off_ancient_system_administration="YES" ? Tnx. If you really want to disable cron, put cron_enable="NO" in /etc/rc.conf -- Bruce ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SIP compatible phone program for unix
OpenBSD 4.3 is including PJSUA which is not ported for FreeBSD. http://www.pjsip.org/pjsua.htm I tried it and I really like it. If you compare various SIP clients you should see that PJSUA should be a first choice for security minded user which prefers simplicity and capability instead of GUI non-sense. fully agree. thank you very much! Cheers, Predrag ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SIP compatible phone program for unix
--- Wojciech Puchar <[EMAIL PROTECTED]> wrote: > anyone knows such - pure text mode prefered. I'm not sure for the console, but there's Ekiga which is an X11 app that supports SIP. - mdh No Cost - Get a month of Blockbuster Total Access now. Sweet deal for Yahoo! users and friends. http://tc.deals.yahoo.com/tc/blockbuster/text1.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
disable periodic scripts
Hi How can I disable those nightly/monthly/... periodic scripts? I don't need them, these days professional monitoring software such as nagios is used to monitor 200+ systems. I can't read 200 mails showing me hundreds of lines of output even if nothings happening. Am I just deleting all the /etc/periodic/* stuff or is there a switch like: turn_off_ancient_system_administration="YES" ? Tnx. _ Watch “Cause Effect,” a show about real people making a real difference. Learn more. http://im.live.com/Messenger/IM/MTV/?source=text_watchcause___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd
On Sun, Mar 30, 2008 at 01:25:40PM +0100, computer tech wrote: > Hi there > > I run my own website and would like to link to FreeBSD. People link to the FreeBSD website all the time, without getting specific permission, and nobody minds. In fact, in general, I think the fine folks at the FreeBSD project probably like it when people link to them, and encourage it. Since the FreeBSD project is an open source project, and not so much a "company" per se, you're probably not very likely to get a direct, "official" response by posting your request to this mailing list. > > Normally I know most people just go ahead and link anyway, however I always > believe in asking as I know some people / companies don't like linking to > other websites so I would like to know if its ok to add FreeBSD to my links > page when I get this part up? > > Secondly I am currently doing my systems page on my website and currently > doing network based systems and the operating system would be FreeBSD and a > few other distributions of linux, what I would like to know is would I be > allowed to host the image files of amd64 and i386 if not would I be allowed > to link to your download page so visitors can get these? Technically, FreeBSD is a BSD Unix and Linux distributions are not -- so FreeBSD is not a "distribution of Linux". They have different OS kernels, different typical core utilities, and different typical development processes. In fact, the term "Linux" in "Linux distribution" refers to the Linux kernel -- and since FreeBSD doesn't use the Linux kernel (it uses the FreeBSD kernel), it's wholly inaccurate to call it a "distribution of Linux". When you ask about hosting "image files", I assume you mean disk imates, i.e. the ISO files for creating installation CDs. That being the case, FreeBSD itself is largely distributed under the terms of the BSD license, with a couple of additional bits using other open source licenses (like gcc, which is distributed under the terms of the GPL). That means you can legally distribute it all you like. Additional software such as that found in the ports collection, on the other hand, is sometimes distributed under other licenses -- and you might want double-check exactly what you'll be distributing. As far as I'm aware, the basic install CD should be free of such encumbrances, however. On the other hand . . . you're probably better off just pointing a link at the download pages on freebsd.org instead. This ensures that people will have the most timely, up-to-date access to disk images possible. If you're really interested in providing download bandwidth, however, you may want to look into providing an official up-to-date mirror of FreeBSD downloads and the ports collection. I haven't looked into that myself, so whatever's involved in doing so is something you should investigate. I imagine it must be a little less involved than it would be for Debian GNU/Linux, however -- and I *have* looked into that in the past. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Ben Franklin: "As we enjoy great Advantages from the Inventions of others we should be glad of an Opportunity to serve others by any Invention of ours, and this we should do freely and generously." pgpmTvsDv3I7T.pgp Description: PGP signature
Re: howto autologin (yes, I know, risky...)
Steve Franks wrote: I know it's a shockingly bad idea from a security perspective, but I'm giving a system to a family member that's not going to be spending much time on the net, so I think it's an acceptable risk. It's an isolated desktop/user system, and I'd like it to boot straight to xfce, just like the OLPC I just got The key to this is the 'al' capability described in gettytab(5). Basically you set up a special terminal type in /etc/gettytab which includes auto-login as whatever user you require (ie. copy the 'Pc' entry and add an 'al=username' field). Then in /etc/ttys you tell the system to use that particular terminal type on either the console or a particular vty. init will detect when the login session ends and respawn it, exactly as it does the usual login process. So long as the console is in a location where only approved people can get to it, it's not even hugely insecure. You certainly should take pains to ensure that you cannot access the account remotely by eg. ftp(1) or ssh(1) though. Cheers, Matthew This has been a rehash of a post I originall made in 2004: http://groups.google.co.uk/group/mailing.freebsd.questions/msg/84e4bc1b8f27e428?dmode=source -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: SIP compatible phone program for unix
Wojciech Puchar wrote: anyone knows such - pure text mode prefered. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" OpenBSD 4.3 is including PJSUA which is not ported for FreeBSD. http://www.pjsip.org/pjsua.htm I tried it and I really like it. If you compare various SIP clients you should see that PJSUA should be a first choice for security minded user which prefers simplicity and capability instead of GUI non-sense. Cheers, Predrag ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Access Point Failures using hostapd and ath0 w/ WG311 WiFi Card
I am running 6-Stable on an old Pentium III 800MHz box for routing and wireless access point services. I am unable to maintain a concurrent conection with the wireless link. The system seems to run fine without authentication, however, when using hostapd I get the following error message on std output. I am not familiar with driver troubleshooting, or hostapd code, so if someone could point me in the correct direction, I would appreciate the assistance. -- Respectfully, Martes G Wigglesworth, CEO M.G. Wigglesworth,LLC [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Hal, policykit, dbus slowed down system after portupgrade
Hello, Currently running FBSD 7-stable, I had this on my rc.conf to enable dbus and hal: dbus_enable="YES" polkitd_enable="YES" hald_enable="YES" and after updating my ports using portupgrade my x started acting up, another words it just started running very slow, for example if I typed a commnad on a terminal window it takes about 20 seconds for me to see what I typed, moving windows from one side to the other makes them freeze for a while and if they move they maximize and minimize again, strange things. So I suspected that it had to do with these daemons so I disabled them and the system works ok. I wanted enabled though, what can I do to find the real culprid and try to fix it? One thing I can't see anymore is the polkit starting anymore nor when I run the top command, I see hal and dbus but not polkit. I've got policykit-0.7_4 and policykit-gnome-0.7_3 installed right now. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
error when patching cyrus-imapd-2.3.11 port
Greetings. I'm building a cyrus-imapd 2.3.11 server from ports on FreeBSD 7.0/i386. I'm also using these two University of Athens patches: http://email.uoa.gr/download/cyrus/cyrus-imapd-2.3.11/cyrus-imapd-2.3.11-autocreate-0.10-0.diff http://email.uoa.gr/download/cyrus/cyrus-imapd-2.3.11/cyrus-imapd-2.3.11-autosieve-0.6.0.diff The following steps produced the error output pasted below. Thanks in advance for any help in debugging and fixing this. cd /usr/ports/mail/cyrus-imapd23/ make patch cd work/cyrus-imapd-2.3.11/ patch -p1 < ~/cyrus-imapd-2.3.11-autocreate-0.10-0.diff patch -p1 < ~/cyrus-imapd-2.3.11-autosieve-0.6.0.diff cd ../.. make cc -L/usr/lib -R/usr/lib -L/usr/local/lib -R/usr/local/lib -rpath=/usr/lib:/usr/local/lib -o imapd ../master/service.o pushstats.o imapd.o proxy.o imap_proxy.o index.o version.o mutex_fake.o libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/local/lib -R/usr/local/lib -lsasl2 -lgssapi -lkrb5 -lasn1 -lroken -lcrypt -lcom_err -lfl -L/usr/local/lib -R/usr/local/lib -ldb41 -lssl -lcrypto -lmd ../com_err/et/libcom_err.a -lwrap libimap.a(autosieve.o)(.text+0x598): In function `autoadd_sieve': : undefined reference to `sieve_interp_alloc' libimap.a(autosieve.o)(.text+0x77f): In function `autoadd_sieve': : undefined reference to `sieve_register_redirect' *** Error code 1 Stop in /usr/ports/mail/cyrus-imapd23/work/cyrus-imapd-2.3.11/imap. I emailed the author of the patches, and he replied: "This is a bit of a known issue. The FreeBSD ports system changes the Makefiles for their own build system, and the autocreate patch has to change the makefiles since the sieve libraries are needed also in other places (because of the autocreate functionality). If you follow the normal patch procedure and you add the autocreate patch in the patches that are in the ports build system, then the autocreate patch will not be applied successfully since there will be conflicts in the makefiles again. (The rules apply also to autosieve if i remember correctly). Unfortunately i don't have a freeBSD system at hand to see the changed that are needed (which are not backward compatible with the vanilla cyrus distribution), and it is quite hard for us to produce different patches for different operating systems. (that's why we have all the uoa patches against the vanilla cyrus distribution)." I'm reluctant to build from the cyrus-imapd sources as I don't know enough about possible differences in file locations (and maybe code?) between the two distributions. Ports would be much better for me, provided I can correct the missing library reference. Again, thanks for any help in debugging this. dn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd
On Sunday 30 March 2008 14:25, computer tech wrote: > Secondly I am currently doing my systems page on my website and currently > doing network based systems and the operating system would be FreeBSD and a > few other distributions of linux This is the second time I've seen this misunderstanding (FreeBSD and other distributions of Linux) on this list in a matter of hours. FreeBSD is not a distribution of Linux: it's a separate operating system, descended from one of the branches of Unix - the OS, originally from Bell Labs, which has sired many others and inspired many more, including Linux. There is a lot more to Unix and Unix-like operating systems - even just the freely-available ones - than only Linux. Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Quick+easy port redirect
On Sunday 30 March 2008 13:31, Kemian Dang wrote: > The freebsd-tips suggest: > ports/net/netcat port is useful not only for redirecting input/output > to TCP or UDP connections, but also for proxying them with inetd(8). We need to update the tips, then: nc(1) doesn't have to be added from ports, it's been in the base system since 5.4. Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
howto autologin (yes, I know, risky...)
I know it's a shockingly bad idea from a security perspective, but I'm giving a system to a family member that's not going to be spending much time on the net, so I think it's an acceptable risk. It's an isolated desktop/user system, and I'd like it to boot straight to xfce, just like the OLPC I just got Thanks, Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
SIP compatible phone program for unix
anyone knows such - pure text mode prefered. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd
Hi there I run my own website and would like to link to FreeBSD. Normally I know most people just go ahead and link anyway, however I always believe in asking as I know some people / companies don't like linking to other websites so I would like to know if its ok to add FreeBSD to my links page when I get this part up? Secondly I am currently doing my systems page on my website and currently doing network based systems and the operating system would be FreeBSD and a few other distributions of linux, what I would like to know is would I be allowed to host the image files of amd64 and i386 if not would I be allowed to link to your download page so visitors can get these? I know these are pretty basic questions but I always prefer to ask. If you could let me know I would be most grateful Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pkg_add goofiness in 7.0
[EMAIL PROTECTED] wrote: The first time I tried to add linuxdoc-1.1_1.tbz to a new-from-CD 7.0 installation, it complained about a missing dependency that was on the other CD. OK, I switched CDs and installed that, then switched back and retried linuxdoc-1.1_1.tbz, and it gave me some sort of error about an unbalanced add operation. (I didn't try to copy down all the details, figuring instead to retry with a script(1) active so as to capture them.) Upon that retry, it now tells me that the package is already installed, even though the prior attempt failed. What is going on? # uname -a FreeBSD fbsd70.uucp 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 # ls -l linuxdoc* -r--r--r-- 1 root wheel 9156 Feb 24 08:18 linuxdoc-1.1_1.tbz # pkg_add -Kv linuxdoc* Requested space: 36624 bytes, free space: 774981632 bytes in /var/tmp/instmp.3DBbHN pkg_add: package 'linuxdoc-1.1_1' or its older version already installed pkg_add: 1 package addition(s) failed No idea, you'll have to recreate the failure and show us. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Quick+easy port redirect
The freebsd-tips suggest: ports/net/netcat port is useful not only for redirecting input/output to TCP or UDP connections, but also for proxying them with inetd(8). Best wishes, Kemian On 29/03/2008, Tuc at T-B-O-H.NET <[EMAIL PROTECTED]> wrote: > Hi, > > Is there a quick/easy (cookbook?) way to do port > redirects. Basically I want that anything that leaves > a specific interface to any ip on port 80 go to > 192.168.0.1 port 87. > > I'm using ipfw for some other things so it has to > work and play well with that. > > Thanks, Tuc > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Help Using NDIS & Broadcom 4321ag 802.11a/b/g/draft-n
I also use a HP laptop, This is the pciconf -lv output of my machine, vendor = 'Broadcom Corporation' device = 'BCM4310 broadcom wireless 1490 (dell)' class = network The strange thing is it said 1490 dell, so after the fail attempt on the HP driver, I turn to Dell 1490 driver, this time it works. Another thing is I can not use ifconfig scan to find the AP neither, but when I just ifconfig ndis0 ssid xxx, I find the state change to assocaite, and dhclient obtain the IP. My ap does not use a authentication method. Best wishes, Kemian On 30/03/2008, std <[EMAIL PROTECTED]> wrote: > Hi: > > I can't seem to find a definitive answer on the net to whether (and how) > FreeBSD supports Broadcom 4321ag 802.11a/b/g/draft-n Wi-Fi Adapters. > Apparently there's no native support (except through experimental drivers?) > so you have to use NDIS (which is like ndswrapper for other linux os's only > NDIS is built into the FreeBSD project). I've tried ndisgen bcml##.inf > bcml## for three different driver sets, blcmwl5.sys/inf, bcmwl564.sys/inf, > and bcmwl6.sys/inf. I've got the best results with the oldest drivers, > bcmwl5.sys/inf. kldstat shows ndis, if_ndis, and bcmwl5_sys loaded in the > kernel and the system recognizes an ndis0 adapter, but, ifconfig ndis0 up > scan just hangs forever. > > My system is a HP tx1320us tablet pc [2.0 GHz AMD Turion 64 X2 Dual-Core > Mobile Technology TL-60, 2048 MB DDR2 (2 Dimm), Broadcom 4321AG > 802.11a/b/g/draft-n Wi-Fi Adapter, fingerprint sensor, remote,.touch screen, > etc. - > > http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01161310&lc=en&cc=us&dlc=en&softwareitem=ob-58904-1&product=3548576&os=2093&rule=8034&lang=en > ] > running FreeBSD 7.0-RELEASE, installed from CDS and > ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages a couple weeks ago in a dual > boot config with windows vista home premium (a good reason for dual booting > fbsd :). > > The procedure I followed was to > > (1) identify the NIC; > > (2) download the windows drivers from the manufacturers website. > > I first tried the drivers built for windows vista because those are the > drivers built for the 4321 card in my system. > These drivers, bcmwl6, contained in hp's > ftp://ftp.hp.com/pub/softpaq/sp38501-39000/sp38764.exe were apparently > released March 12, 2008. After running ndisgen bcmwl6.inf bcmwl6.sys and > creating bcmwl6_sys.ko, when I kldload bcmwl6_sys.ko it loads ndis.ko and > if_ndis.ko, but dmesg shows about 20 "no match" for various device settings > (see below). > > The latest bcmwl6 drivers don't seem to work. It could be the inf has more > than a few extraneous quotation marks which throw off the utf-8 to ascii > conversion, but I tried several different methods and suspect it's NDIS > itself which lacks the necessary support. > > Is Bill Paul of Project Evil working on this (see > > http://lists.freebsd.org/pipermail/freebsd-hardware/2004-January/001005.html)? > > I downloaded the windows XP drivers for my broadcom 4321AG > 802.11a/b/g/draft-nftp: > from //ftp.hp.com/pub/softpaq/sp36501-37000/sp36684.exe. These were released > August 15, 2007. > cabextract -l sp36684.exe > Viewing cabinet: sp36684.exe > File size | Date Time | Name > ---+-+- > 14310 | 13.08.2007 14:46:28 | bcm43xx.cat > 14310 | 13.08.2007 14:46:28 | bcm43xx64.cat > 803496 | 13.08.2007 14:46:30 | bcmwl5.inf > 822272 | 13.08.2007 14:46:30 | bcmwl5.sys > 983552 | 13.08.2007 14:46:30 | bcmwl564.sys > 9028380 | 13.08.2007 14:46:32 | Setup.exe > 6584 | 14.08.2007 09:36:30 | sp36684.cva > > (3) generate linux kernel modules with ndisgen and load them > > ndisgen bcmwl6.inf bcmwl6.sys (without any additional files) > kldstat > Id Refs AddressSize Name > 1 17 0xc040 906518 kernel > 21 0xc0d07000 14324snd_hda.ko > 32 0xc0d1c000 4a5acsound.ko > 71 0xc0fb2000 6a32cacpi.ko > 81 0xc5c6a000 22000linux.ko > kldload bcmwl6_sys > kldstat > Id Refs AddressSize Name > 1 17 0xc040 906518 kernel > 21 0xc0d07000 14324snd_hda.ko > 32 0xc0d1c000 4a5acsound.ko > 71 0xc0fb2000 6a32cacpi.ko > 81 0xc5c6a000 22000linux.ko > 91 0xc69ae000 1a2000 bcmwl6_sys.ko > 101 0xc55dd000 c000 if_ndis.ko > 112 0xc6971000 16000ndis.ko > ifconfig | grep ndis0 -- no match > tail -f /var/log/dmesg > no match for NdisMRegisterInterruptEx > no match for NdisMIndicateStatusEx > no match for NdisFreeNetBufferList > no match for NdisAllocateMdl > no match for NdisFreeMdl > no match for NdisMDeregisterScatterGatherDma > no match for NdisMDeregisterInterruptEx >
Re: hplip setup problems
On Wednesday 26 March 2008 00:21:12 Isaac Mushinsky wrote: > I am close to assasinating my HP Photosmart C4280 in frustration. > > 1. This is an all-in-one device. (I did not try the scanner setup yet) > 2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded. > 3. Machine is FreeBSD 7-stable/amd64. > 4. hplip is 2.8.2 > > $ usbdevs > addr 1: UHCI root hub, Intel > addr 1: UHCI root hub, Intel > addr 1: UHCI root hub, Intel > addr 1: EHCI root hub, Intel > addr 2: Photosmart C4200 series, HP > addr 1: UHCI root hub, Intel > addr 1: UHCI root hub, Intel > addr 1: UHCI root hub, Intel > addr 1: EHCI root hub, Intel > > There is a ppd file for these series with the hplip distribution. > > hpssd, cups started in the order needed. hp-setup detects the printer, and > then says 'Unable to create queue'. CUPS web interface actually adds the > printer, but then cannot print test page to it. cups user runs hpssd (I > tried root too). > > /var/log/messages has: > Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable > get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk python: > io/hpmud/musb.c 1951: invalid serial id string ret=-5 > > Here is all relevant output: > http://omsk.mushinsky.net/hplip-trouble > > Any help is appreciated. Thanks. > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" Here is a patch that seems to work: --- /home/itz/hplip-2.8.2/io/hpmud/musb.c 2008-03-30 06:44:01.0 -0400 +++ work/hplip-2.8.2/io/hpmud/musb.c2008-01-22 19:27:15.0 -0500 @@ -121,12 +121,10 @@ { ret = usb_control_msg(dev, USB_ENDPOINT_IN, USB_REQ_GET_DESCRIPTOR, (USB_DT_STRING << 8) + index, 0x409, tbuf, sizeof(tbuf), LIBUSB_CONTROL_REQ_TIMEOUT); - if (ret <=0 ) + if (ret==0) { - /* This retry is necessary for lj1000 and lj1005. des 12/12/07 - Also HP Photosmart 42xx seems to suffer transient errors with serial id */ -BUG("get_string_descriptor error result %d, retrying in 2 secs...", ret); -sleep(2); + /* This retry is necessary for lj1000 and lj1005. des 12/12/07 */ + BUG("get_string_descriptor zero result, retrying..."); continue; } break; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
pkg_add goofiness in 7.0
The first time I tried to add linuxdoc-1.1_1.tbz to a new-from-CD 7.0 installation, it complained about a missing dependency that was on the other CD. OK, I switched CDs and installed that, then switched back and retried linuxdoc-1.1_1.tbz, and it gave me some sort of error about an unbalanced add operation. (I didn't try to copy down all the details, figuring instead to retry with a script(1) active so as to capture them.) Upon that retry, it now tells me that the package is already installed, even though the prior attempt failed. What is going on? # uname -a FreeBSD fbsd70.uucp 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 # ls -l linuxdoc* -r--r--r-- 1 root wheel 9156 Feb 24 08:18 linuxdoc-1.1_1.tbz # pkg_add -Kv linuxdoc* Requested space: 36624 bytes, free space: 774981632 bytes in /var/tmp/instmp.3DBbHN pkg_add: package 'linuxdoc-1.1_1' or its older version already installed pkg_add: 1 package addition(s) failed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"