build freesbie iso
hi all: my box is 5.2R. I built a freesbie iso via 8 shell scripts on /usr/local/share/freesbie folder. then I put the iso as a bootable CD on bochs-2.2-pre2 emulator. it can bootable firstly , but next, bochs stoped on mountroot prompt. What is my missed thing in building steps ?! Thanks Jumbler ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Quicktime Plugin
is there a quicktimeplugin for mozilla or a program that'll view quicktime files ? -- Yours Sincerely Shinjii http://www.shinji.nq.nu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation from Floppies
Nick Wilson wrote: Hi I am trying to install 5.3 from floppies/network and I boot from the the three discs (boot, kern1 and kern2). At the end of this I get the FreeBSD 5 boot screen (about 8 options and the character drawing of a daemon). Taking the default option 1 just starts the boot from floppies process again - how do I get past this screen to start the network setup and install? Many thanks, Nick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hello, just curious, how much memory do you have? It is not possible to install 5.3 on a 16 MB machine. Thanks. Ramiro. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Quicktime Plugin
On Mon, 28 Mar 2005 17:46, Warren wrote: Warren [EMAIL PROTECTED] Plugger (/usr/ports/www/plugger) will open some quicktime files, though not the nwer ones (last time I tried anyway). Cheers, -- Ian GPG Key: http://home.swiftdsl.com.au/~imoore/no-spam.asc pgpwKma9MpgZl.pgp Description: PGP signature
Re: How to get send-pr/porttools working when on a cable (dsl)provider link
Danny Pansters a écrit : Hi all, Just migrated all my stuff to a new machine and having troubles sending any mail to the freebsd lists and inparticular with send-pr. I have a cable modem connected to my gateway which connects to a gbit switch through which the other pcs connect. The cable provider uses dhcp. I get my IP ok and my hostname (sent through dhclient also, otherwise logging on doesn't work) is [EMAIL PROTECTED] I have set up pf to do nat and filtering. It's not a firewall problem. I'm having problems getting sendmail (from my desktp -- a client behind the gateway) to be eligible to send mail to the freebsd servers, particularly send-pr. I already set my isp's smtp as smart relay in freensd.mc and did make, but now my FQDN hostname is not considered cosher (helo)... its desktop.homenet, a local name. How do I solve this? (also...contrast this inconvenience with every non-subscribed spammer being able to spam us if she has a colo set up properly...) You might want to use ssmtp. Since you're using your ISP's smtp server to send mail, there should be no problem if you don't have a FQDN hostname. -- Florent Thoumie [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: Anthony's drive issues.Re: ssh password delay
[EMAIL PROTECTED] wrote: Ted Mittelstaedt writes: And to test with just one disk on the controller, specifically the Seagate, but also with just the Quantum, to eliminate a possible bad interaction between the disks and to eliminate possible incompatible firmware in either of the disks to that of the Adaptec controller. Since you haven't done that we still don't know if possibly it would work fine with only one of the disks on the chain. A waste of time without first determining what the messages coming from FreeBSD actually meant. You were already told this. Do you always start swapping hardware in and out whenever you see an unfamiliar message on the console? If I was repairing a car, (which I do on occassion) then no. Why - because on an automobile there is sufficient test access points at the junctions of each subsystem in the vehicle to actually perform real problem analysis. For example you see a too lean condition, you can attach a vacuum guage to a convenient manifold port and see if manifold vacuum at idle is low, indicating a leak in a vacuum line. Or you can put an oscilloscope on the O2 sensor and see if it is tracking the mixture, or if it is just lifelessly hanging there doing nothing. But with computer PC hardware, it has been built for 20 years so that the repair techs do not have any access whatsoever into the logic circuits. Gone are the days of front panel switches and LED's indicating the logic state of the CPU bus. With the resultant 'toasters' the only kind of hardware troubleshooting possible is substitution - to replace the suspected faulty component or components with known good ones. It would have been an invalid conjecture because while your utility power might be bad, the power your getting from your UPS certainly isn't. I do assume you have this on a UPS, right? Yes ... but what makes you so sure it's not suddenly defective? That is simple to check - substitute the problem computer on the UPS with a known good one. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Anthony's drive issues.Re: ssh password delay
[EMAIL PROTECTED] wrote: Ted Mittelstaedt writes: But the ahc() driver -is- bug free. It's not bug free when it's running on modified hardware, but it's fine when it's running with unmodded hardware. It's also free of bugs if it's never called. And you are criticizing others for irrelevant comments? Tens of thousands (probably more) of other people run FreeBSD servers for years using aic7880 chipsets without seeing what your seeing. Even more run Windows without seeing what I'm seeing. Exactly. If you ran Windows on your system and it blew up, because of all those other people running Windows successfully on aic7880 systems without trouble, woudn't it be obvious to you that it was a hardware issue? This goes to show that if you have a large number of people having no problems running a software package with a particular hardware item - in this case all the users running FreeBSD on aic7880 controllers - that when someone comes along with that hardware item and has problems, that the finger points not to software, but to hardware. Someone must be running my machine, since it is mentioned on the 5.3 compatibility list. Perhaps they long ago replaced their SCSI disks with a cheaper and a much higher capacity IDE drive? Or more likely - they never lost their second Seagate drive like you did and never had HP send out a Quantum replacement? Clearly, there is something in your hardware that is different from all these other people and that FreeBSD doesn't work with. Probably. Sounds like an OS bug to me. How could it be an OS bug if nobody else is seeing it on normal aic7880 systems? Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation from Floppies
Nick Wilson wrote: Ramiro Aceves wrote: Nick Wilson wrote: Hi I am trying to install 5.3 from floppies/network and I boot from the the three discs (boot, kern1 and kern2). At the end of this I get the FreeBSD 5 boot screen (about 8 options and the character drawing of a daemon). Taking the default option 1 just starts the boot from floppies process again - how do I get past this screen to start the network setup and install? Many thanks, Nick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hello, just curious, how much memory do you have? It is not possible to install 5.3 on a 16 MB machine. Thanks. Ramiro. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] That explains it - thanks. Nick If you can add up to 24 MB it should work fine. You can see the problem report PR docs/77304 I submitted. You can see there good explanations of the reasons of the problem, by expert people. Good luck. Ramiro. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anthony's drive issues.Re: ssh password delay
Ted Mittelstaedt writes: Or more likely - they never lost their second Seagate drive like you did and never had HP send out a Quantum replacement? I never lost a drive on the machine. I added a second drive after purchasing it. How could it be an OS bug if nobody else is seeing it on normal aic7880 systems? I'm not sure what you mean by normal systems, but clearly there is something about this system that FreeBSD is not written to handle. -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Quicktime Plugin
On Mon, 28 Mar 2005 18:00:42 +0930 Ian Moore [EMAIL PROTECTED] wrote: On Mon, 28 Mar 2005 17:46, Warren wrote: Warren [EMAIL PROTECTED] Plugger (/usr/ports/www/plugger) will open some quicktime files, though not the nwer ones (last time I tried anyway). mplayer-plugin does a nice job though. -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.11 ++ FreeBSD 5.3 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: inetd vs standalone daemon
On Sun, Mar 27, 2005 at 09:51:54PM +0200, Gert Cuykens wrote: On Sun, Mar 27, 2005 at 07:46:09PM +0200, Gert Cuykens wrote: Can i delete inetd ? No. With inetd, you can also turn regular filters into network aware programs (sort of). And not every network service is always needed all the time. Having a deamon for each of those seldom used services hanging around is just wastful. i think its less wasteful cpu time to run separate daemons then to run 1 big daemon. Because the big daemon needs to find out which service it needs to start every time a fedex guy is knocking at the door while a separate daemon already knows what it needs to do before the fedex guy is standing at the door. inetd itself is not big. It doesn't contain all other daemons. Rather than that, it listens on the ports that are configured in /etc/inetd.conf and accepts connections. Then (and only then) would it fork() the configured program to handle the connection. inetd is not useful to every kind of application. Running a web server from inetd for every connection attempt would be silly. But running some obscure service, that is only needed every now and then, could be a good idea. Consider tftp as an example: this is mainly used to netboot diskless machines or to upload IOS updates to routers etc... On a typical network, tftp requests would probably arrive at a rate of 1 per day. Having tftpd hanging around as a daemon is not needed. -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: inetd vs standalone daemon
On Sun, Mar 27, 2005 at 02:23:39PM -0500, Marty Landman wrote: How much wasting is going on though? Can I get a good feel for resources consumed by looking at 'top'? top would only tell you how much memory a process consumes. But a process also uses other resources like vnodes (open file handles, open sockets etc...). It also uses up a slot in the process table, and hangs around on some wait queue too. -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: which shell irc client do you like ?
On Sun, 27 Mar 2005 22:11:27 +, Chuck Robey [EMAIL PROTECTED] wrote: Just curious if you folks have tried the mozilla application, available only from mozilla (not firefox) called chatzilla? I have tried nearly all of the other IRC clients, it's not a minimal one, but it's very very nice. I've tried it, and the last time I did it crashed repeatedly and brought firefox down with it. Plus I had to set it up on every machine I connected from and tell it which channels to join, whereas with irssi I can leave it running 24/7 and so never miss any messages or have to mess about rejoining a load of different channels/networks. Seeing as I'm typing in commands like /join and /msg anyway, I don't see much point in an IRC client with a GUI - where's the extra functionality? Paul -- Rogue Tory www.roguetory.org.uk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Quicktime Plugin
On Mon, 28 Mar 2005 19:42, dick hoogendijk wrote: On Mon, 28 Mar 2005 18:00:42 +0930 Ian Moore [EMAIL PROTECTED] wrote: On Mon, 28 Mar 2005 17:46, Warren wrote: Warren [EMAIL PROTECTED] Plugger (/usr/ports/www/plugger) will open some quicktime files, though not the nwer ones (last time I tried anyway). mplayer-plugin does a nice job though. Yes it does! Just installed it it plays trailers off apple's website, which plugger never did. Thanks, -- Ian GPG Key: http://home.swiftdsl.com.au/~imoore/no-spam.asc pgp5iLaO8z05C.pgp Description: PGP signature
Installing IMP from ports
Hi all, I'm just trying to find out if it is currently possible to install IMP (Webmail part of the Horde project) from ports at the moment. If not, does anyone know when the dependent packages will be fixed ? Quite a few of the Pear packages seem to have been marked as BROKEN at the moment :( If not from ports, what other ways of installing IMP / Horder are advised ? TIA, -- Wayne Pascoe(gpg --keyserver www.co.uk.pgp.net --recv-keys 79A7C870) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sk0 driver and NFS
Hello! I'm in trouble trying to mount an NFS export from my FreeBSD (updated to 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #5) client. My NIC corresponds to sk0 driver and mount says 'nfs server not responding'. Believe me NFS server is up and accesible from other clients and configuration is OK. I had VLANs and read the bug about discarded frames so I now use the interface untagged. I don't notice any other problems regarding network traffic, CVS works well. Any tip please? Thanks in advance. __ Renovamos el Correo Yahoo!: ¡250 MB GRATIS! Nuevos servicios, más seguridad http://correo.yahoo.es ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
aac/fxp system instability
Hi, I'm running two Intel (fxp) NICs in a Dell PowerEdge 2650 destined for use as a firewall/mail filter etc. I got these because the re bge drivers didn't support ALTQ, which we need. Problem is, when I run ifconfig on one of the fxp cards, the aac driver hangs and the system crashes. Complains something about a NMI_SECONDARY_ATU_ERROR, then increasingly long timeouts, while system hangs. I'm running FreeBSD 5.3-RELEASE-p5. Erm, oh dear... ;) -AL. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Multiple Sound Sources Problem
Hi, As http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html said for Utilizing Multiple Sound Sources, I have run two sysctl command below: # sysctl hw.snd.pcm0.vchans=4 # sysctl hw.snd.maxautovchans=4 It creates 4 virtual channels for me and multiple sources can play simultanously. But when I play music, the sound plays slower than when I have no vchannel. I test this with totem and xmms and both have the same error! How can i solve this? Thanx, Soheil, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: flash player plugin.
Hi, just do that: cp /usr/local/share/examples/linuxpluginwrapper/libmap.conf-FreeBSD5-stable /etc/libmap.conf it should work Le Sun, Mar 27, 2005 at 04:22:10PM +0300, Perttu Laine a écrit: From: Perttu Laine [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Date: Sun, 27 Mar 2005 16:22:10 +0300 Subject: flash player plugin. yet another question from me... I can't get flash player working on firefox anyway. (fbsd 5.4-beta1 and ff 1.0.2). I tired install ports www/flashplugin-firefox, www/flashpluginwrapper and www/linuxpluginwrapper. none of them succesfully. about:plugins in firefox won't show flash and flash sites doesn't work. so, question is - how to get it work? -- kpn @ IRCnet -- Vincent Bachelier [EMAIL PROTECTED] Language: Francais / English Societ(e/y) : Solintech - http://www.solintech.fr - Serveurs linux Citation (fortune): When we understand knowledge-based systems, it will be as before -- except our fingertips will have been singed. -- Epigrams in Programming, ACM SIGPLAN Sept. 1982 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade (vs. Portmanager) question
On Monday 28 March 2005 06:41, Jay O'Brien wrote: stheg olloydson wrote: Hello, They are recursive dependencies. Check each ports requirements. cvsup-without-gui depends on ezm3. ezm3 depends on gmake, gettext and libiconv. libiconv depends on libtool...and the foot bone's connected to the toe bone :). hth, stheg stheg, Thank you. Great learning experience. Especially 'make search'. That is very useful. But how does it work (/usr/ports/Makefile doesn't have a SEARCH statement) and is it documented somewhere, like in a MAN page? The handbook, ¶4.3, mentions 'make search' but doesn't explain how it works. make seach is documented in man ports ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How much HDD space does FreeBSD need?
On Thu, 2005-03-17 at 13:58 +, Soo-Hyun Choi wrote: Hi, I'm wondering how much HDD space does FreeBSD need in a normal installation. What I mean by the normal installation includes 'Full X-Development' packages with Gnome. Oh, It's 5.3-RELEASE. My HDD has 10G space for FreeBSD and I installed onto that space. The FreeBSD installation was of no problem. However, once I tried to upgrade Gnome 2.8 to 2.10, I've faced up a warning message at some point that I am running out of HDD space. (I just executed the recommend upgrade shell script from http://www.FreeBSD.org/gonme/) Is 10G HDD space is not good enough? Soo-Hyun read script output! Not enough space ... Please set the MC_TMPDIR variable to a location that has at least 200 MB of free space... 1. you_prompt$ setenv MC_TMPDIR /path/to/temp/folder/where/enough/space 2. run script again -- Kalashnikov Ilya [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
games/torcs sound does not work
Dear there, I have install the torcs-1.2.3 ( from prebuilt package ) but its sound is not working. I have also plib-1.8.4 installed on my FreeBSD-5.3-Stable. What is the problem ? Thanx. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SWAP sucker
is there a way to tell what is using all my SWAP ? out of 500meg of swap i have allocated something is using approx 95% and killing my system and bogging it down. Any help would be appreciated. -- Yours Sincerely Shinjii http://www.shinji.nq.nu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Azureus Program crash
For some reason Azureus is sucking up a lot of my computer and has a habbit of shutting itself down for no apparent reason. It wont run in GDB so i can see whats going on .. is there any other way i can debug it to find out why its shutting itself down. -- Yours Sincerely Shinjii http://www.shinji.nq.nu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Azureus Program crash
On Mon, 28 Mar 2005 22:59:29 +1000 Warren [EMAIL PROTECTED] wrote: For some reason Azureus is sucking up a lot of my computer and has a habbit of shutting itself down for no apparent reason. It wont run in GDB so i can see whats going on .. is there any other way i can debug it to find out why its shutting itself down. Azureus is a java application, you can't debug it with GDB. When java apps crash you can usually get a backtrace of the unhandled exception. Since Azureus uses SWT it might be a problem with the recent GTK+ update. I haven't used it in a while, but some months ago it was a pretty solid application. Cheers, -- Miguel Mendez [EMAIL PROTECTED] http://www.energyhq.es.eu.org PGP Key: 0xDC8514F1 pgp0MSgmhrI0f.pgp Description: PGP signature
Re: Samba problems
Alejandro Pulver [EMAIL PROTECTED] wrote: On Sun, 27 Mar 2005 11:02:44 +0200 Fabian Keil [EMAIL PROTECTED] wrote: Alejandro Pulver [EMAIL PROTECTED] wrote: On Sat, 26 Mar 2005 20:37:51 +0100 Fabian Keil [EMAIL PROTECTED] wrote: Alejandro Pulver [EMAIL PROTECTED] wrote: I am using FreeBSD 5.3 with Samba 3.0.7,1. I can read all files from a Windows 2000 Pro. But when I try to access a mount point that is an NTFS filesystem, I have no read permission (files and directories appear as zero length files) until I access them from the server machine (like doing an 'ls'). My configuration file is as follows: = BEGIN = # Samba config file created using SWAT # from 127.0.0.1 (127.0.0.1) # Date: 2004/12/11 19:24:02 # Global parameters [global] workgroup = VARNET server string = FreeBSD 5.3 security = SHARE log file = /var/log/samba/log.%m max log size = 50 dns proxy = No [mnt] comment = Mounted Filesystems path = /mnt guest ok = Yes [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [ale] comment = Ale's Home DIrectory path = /home/ale guest ok = Yes = END === Note: I have subdirectories under '/mnt' like 'w2k', 'wxp', 'cam', and'tmp'. What am I doing wrong? Who owns the subdirectories and who is your guest user? My guest user is 'nobody', but I also tried with 'ale' and 'root' (wich owns the mount point). Did you see in samba's log that the guest user was changed? How did you change it, with guest user or with force user? As your problem can be reproduced, increasing samba's debug level might help. Samba should log why read access was denied. If you access the samba share with mount_smbfs, do you see the same behavior? The directory '/mnt/w2k' is owned by 'root' and the group 'wheel', the permissions are rwxr-xr-x. I saw in SWAT that the connection from the other machine was mapped to the desired local user in all cases (I tried nobody, ale and root). I used guest account = user. Something strange is happening: I can access the sahre '/mnt' (and 'w2k') with 'smbclient' (using the 'guest' user), but if I do it with 'mount_smbfs //[EMAIL PROTECTED]/mnt /home/ale/tmp' then the problem appears, even with 'root' (I can not see/access entries until I list them with any user from '/mnt/w2k'). I think the problem is with Samba, not 'mount_smbfs'. This message appears (many times) in debug level 0: [2005/03/27 15:04:38, 1] smbd/service.c:make_connection_snum(648) mariana (192.168.1.1) connect to service mnt initially as user nobody (uid=65534, gid=65534) (pid 1217)[2005/03/27 15:04:44, 0] locking/posix.c:posix_fcntl_lock(657) posix_fcntl_lock: WARNING: lock request at offset 0, length 4096 returned[2005/03/27 15:04:44, 0] locking/posix.c:posix_fcntl_lock(658) an Invalid argument error. This can happen when using 64 bit lock offsets[2005/03/27 15:04:44, 0] locking/posix.c:posix_fcntl_lock(659) on 32 bit NFS mounted file systems. The other message I noticed (but I think it is not an error) in level 3 is: [2005/03/27 14:16:19, 2] auth/auth.c:check_ntlm_password(312) check_ntlm_password: Authentication for user [nobody] - [nobody] FAILED with error NT_STATUS_WRONG_PASSWORD[2005/03/27 14:16:19, 3] auth/auth.c:check_ntlm_password(219) check_ntlm_password: Checking password for unmapped user [EMAIL PROTECTED] with the new password interface[2005/03/27 14:16:19, 3] auth/auth.c:check_ntlm_password(222) check_ntlm_password: mapped user is: [EMAIL PROTECTED] The one that also called my attention was: [2005/03/27 14:16:30, 3] smbd/error.c:error_packet(105) error string = Is a directory [2005/03/27 14:16:30, 3] smbd/error.c:error_packet(129) error packet at smbd/nttrans.c(862) cmd=162 (SMBntcreateX) NT_STATUS_FILE_IS_A_DIRECTORY However I do not know about the internal working of Samba so perhaps I missed some important messages. I made different logs with different debug levels. They are in ftp://ftp.varnet.to (public FTP) in a directory called samba_logs. The local machine is called ale and the other mariana. The best log in level 3 is in the directory log.3_2. Today I tried your smb.conf and it worked as well as mine. I had a look at you logs, but didn't get more information out of them than you did. I get lock offset warnings as well, so they don't seem to be the problem. Perhaps you should ask on a samba list again. Fabian -- http://www.fabiankeil.de ___ freebsd-questions@freebsd.org mailing list
Re: Azureus Program crash
On Mon, 28 Mar 2005 15:04:42 +0200, Miguel Mendez [EMAIL PROTECTED] wrote: On Mon, 28 Mar 2005 22:59:29 +1000 Warren [EMAIL PROTECTED] wrote: For some reason Azureus is sucking up a lot of my computer and has a habbit of shutting itself down for no apparent reason. It wont run in GDB so i can see whats going on .. is there any other way i can debug it to find out why its shutting itself down. Azureus is a java application, you can't debug it with GDB. When java apps crash you can usually get a backtrace of the unhandled exception. Since Azureus uses SWT it might be a problem with the recent GTK+ update. I haven't used it in a while, but some months ago it was a pretty solid application. Warren, Looking at your SWAP sucker posting in the list, I'm wondering if Azureus is the culprit. Java applications are generally pretty memory intensive. Cheers, -- Miguel Mendez [EMAIL PROTECTED] http://www.energyhq.es.eu.org PGP Key: 0xDC8514F1 -- Best wishes, Alexander G. Chamandy Webmaster www.bsdfreak.org Your Source For BSD News! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade (vs. Portmanager) question
On Sun, 27 Mar 2005 23:49:11 -0800 Jay O'Brien [EMAIL PROTECTED] wrote: Michael C. Shultz wrote: It would be nice if the ports make options were better documented, but you can read through /usr/ports/Mk/bsd.port.mk and find information on the various options. here is an example: # all-depends-list # - Show all directories which are dependencies # for this port. then cd /usr/ports/lang/ezm3/ make all-depends-list result: /usr/ports/converters/libiconv /usr/ports/devel/gettext /usr/ports/devel/gmake /usr/ports/devel/libtool15 -Mike Mike, That's great info, thank you. It really helps put this into perspective. I did portmanager -sl and it identifies 7 candidates for deletion. It identifies cvsup-without-gui and also identifies ezm3 upon which it depends. Am I missing something here or shouldn't ezm3 not been identified as a leaf port? Good observation on your part and its a good question to ask. I'm not real familar with portmanager but it appears to identify the leaf ports in the same manner as sysutils/pkg_cutleaves and sysutils/pkg_rmleaves do. The utilities are only considering the run-dependencies as needed. Any port that is only required as a build-dependency is treated as a leaf port. They could be removed but it would have to be rebuilt if it were needed again. I usually keep these tools that are only needed for building since I run portupgrade nightly. Others that have limited hard disk space might elect to remove them and their associated source tarballs. Its left to the individual to decide whether or not to keep them. You're on the right track to understanding how the ports system works and using its tools. Just keep reading the man pages and observing how things function. Best regards, Randy -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hardware problems after installing 5.4 pre-release
You referred to kldstat. I'm not sure what I'm looking for with that or what switch I may need to use. I typed and received the following information: # kldstat Id Refs AddressSize Name 18 0x8010 7c36b8 kernel 21 0x808c4000 50c8 udbp.ko 32 0x808ca000 20ae0netgraph.ko 41 0x808eb000 5f98 ugen.ko 51 0x808f1000 3918 ums.ko I added the founding command and got the following results: # kldload snd_driver # kldstat Id Refs AddressSize Name 1 59 0x8010 7c36b8 kernel 21 0x808c4000 50c8 udbp.ko 32 0x808ca000 20ae0netgraph.ko 41 0x808eb000 5f98 ugen.ko 51 0x808f1000 3918 ums.ko 61 0xa7842000 78d snd_driver.ko 71 0xa7843000 1a7d snd_ad1816.ko 81 0xa7845000 1b9d snd_als4000.ko 91 0xa7847000 1fdd snd_cmi.ko 101 0xa7849000 221d snd_cs4281.ko 112 0xa784c000 3f3a snd_csa.ko 121 0xa785 8add snd_ds1.ko 131 0xa7859000 4375 snd_emu10k1.ko 141 0xa785e000 2c81 snd_es137x.ko 152 0xa7861000 240a snd_ess.ko 164 0xa7864000 1a85 snd_sbc.ko 171 0xa7866000 181d snd_fm801.ko 182 0xa7868000 6e8a snd_mss.ko 191 0xa786f000 227d snd_ich.ko 201 0xa7872000 3e5d snd_maestro.ko 211 0xa7876000 5b3d snd_maestro3.ko 221 0xa787c000 e41d snd_neomagic.ko 231 0xa788b000 184d snd_sb8.ko 241 0xa788d000 1bed snd_sb16.ko 251 0xa788f000 251d snd_solo.ko 261 0xa7892000 221d snd_t4dwave.ko 271 0xa7895000 169d snd_via82c686.ko 281 0xa7897000 225d snd_vibes.ko After doing that, I still do not have any sound. I notice that snd_via8233 is not in the resulting list of loaded drivers in kldstat. My assumption is that it didn't load through kldload since it's being loaded at the kernel level. With the command of: # cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: VIA VT8235 at io 0x1000 irq 10 (5p/1r/0v channels duplex default) It would seem that my sound driver is loading. The audio software seems to believe that there is a sound card to attach to. Could there be a problem with the sound driver I'm using. Would there be a reason why snd_via8233 works fine in 5.3 and not 5.4 pre-release? Also, could the usb mouse problem be part of the same problem, reasoning being that there may be a global hardware issue and that it may be conflicts in device handling vs. a configuration issue? Regardless, I'm happy and willing to try any thoughts. I, also, tried to manually choose snd_via8233 with this result: # kldload snd_via8233 kldload: can't load snd_via8233: File exists In the meantime, I'll try to trace down some helpful error messages from the usb mouse problem. On Thu, 24 Mar 2005 23:15:41 +0100, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On Thu, 24 Mar 2005 22:07:57 + Todd Shirk [EMAIL PROTECTED] wrote: (MYKERNEL is the GENERIC plus the lines needed for loading the sound system and the via8233 sound driver for my sound card) device sound device snd_via8233 (with mergemaster I chose i for each file, indicating to use tempory) I booted into the new environment and started KDE3.4. I noticed that I had no sound and no usb mouse functionality. I did the following: # cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: VIA VT8235 at io 0x1000 irq 10 (5p/1r/0v channels duplex default) did you check with kldstat which module for sounds was loaded ? and tried : kldload snd_driver ? see e.g. : http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade (vs. Portmanager) question
On Sunday 27 March 2005 11:49 pm, Jay O'Brien wrote: Michael C. Shultz wrote: It would be nice if the ports make options were better documented, but you can read through /usr/ports/Mk/bsd.port.mk and find information on the various options. here is an example: # all-depends-list # - Show all directories which are dependencies # for this port. then cd /usr/ports/lang/ezm3/ make all-depends-list result: /usr/ports/converters/libiconv /usr/ports/devel/gettext /usr/ports/devel/gmake /usr/ports/devel/libtool15 -Mike Mike, That's great info, thank you. It really helps put this into perspective. I did portmanager -sl and it identifies 7 candidates for deletion. It identifies cvsup-without-gui and also identifies ezm3 upon which it depends. Am I missing something here or shouldn't ezm3 not been identified as a leaf port? Jay ezm3 is a build dependency most likely, meaning once cvsup-without-gui is built it no longer needs ezm3, runs fine without it. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anthony's drive issues.Re: ssh password delay
Anthony Atkielski wrote: Ted Mittelstaedt writes: Or more likely - they never lost their second Seagate drive like you did and never had HP send out a Quantum replacement? I never lost a drive on the machine. I added a second drive after purchasing it. How could it be an OS bug if nobody else is seeing it on normal aic7880 systems? I'm not sure what you mean by normal systems, but clearly there is something about this system that FreeBSD is not written to handle. Yay! *claps* Isn't that what Ted has been telling you to an extent - that it's the HP/Compaq microcode in the drivers? Anthony - have you ever setup a new HP/Compaq server? Ever use the SmartStart CD's? In contrast, you CAN'T (hear me again) CAN'T install Windows (shrink wrap) on the above without them. It's becasue HP/C has propriatarty drivers. And why is that? I think Ted covered that well. -- Best regards, Chris The inside contact that you have developed at great expense is the first person to be let go in any reorganization. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ATAPI/CAM not working.
I have these optios in kernel: device atapicam device scbus device cd device pass device ata and I think these should be enough? still dmesg | grep cd shows only this: acd0: DVDR HL-DT-ST DVDRAM GSA-4120B/A102 at ata1-master UDMA33 no cd0. So I can't burn any cd's or dvd's. what could be wrong here? -- kpn @ IRCnet ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Azureus Program crash
On Mon, 2005-03-28 at 22:59 +1000, Warren wrote: For some reason Azureus is sucking up a lot of my computer and has a habbit of shutting itself down for no apparent reason. It wont run in GDB so i can see whats going on .. is there any other way i can debug it to find out why its shutting itself down. Take a look at my posting from Sat, 26 Mar 2005 09:41:15 +0100 java / azureus core dumps if cputype is set in make.conf Apart from that I had similar problems with the latest stable version of Azureus 2.2.0.2, where it would shut down without any good reason. According to the Azureus website there might be a problem with the caching. I tested the old stable version 2.1.0.4 (just copied the jar-file into /usr/local/share/java/classes and renamed it to azureus.jar) and it worked fine. Right now I am using the beta-build 2.2.0.3_B53 (latest B54, still need to test this myself) which seem to be quite stable and faster. Give it a try. Andreas -- GnuPG key : 0xD25FCC81 | http://cyb.websimplex.de/pubkey.asc Fingerprint: D182 6F22 7EEC DD4C 0F6E 564C 691B 0372 D25F CC81 signature.asc Description: This is a digitally signed message part
Re: Azureus Program crash
On Mon, 28 Mar 2005 23:35:20 +1000, Warren [EMAIL PROTECTED] wrote: Warren, Looking at your SWAP sucker posting in the list, I'm wondering if Azureus is the culprit. Java applications are generally pretty memory intensive. shinjii 16714 0.0 51.3 631724 264608 ?? SNL 10:57PM 9:12.06 [java] Azureus is indeed sucking 50% of my swap and this is running it as nice azureus ... i wouldnt mind lowering the mem usage down about 20% or so You may have to consider buying more RAM. -- Yours Sincerely Shinjii http://www.shinji.nq.nu -- Best wishes, Alexander G. Chamandy Webmaster www.bsdfreak.org Your Source For BSD News! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade (vs. Portmanager) question
On Monday 28 March 2005 05:50 am, Randy Pratt wrote: On Sun, 27 Mar 2005 23:49:11 -0800 Jay O'Brien [EMAIL PROTECTED] wrote: Michael C. Shultz wrote: It would be nice if the ports make options were better documented, but you can read through /usr/ports/Mk/bsd.port.mk and find information on the various options. here is an example: # all-depends-list # - Show all directories which are dependencies # for this port. then cd /usr/ports/lang/ezm3/ make all-depends-list result: /usr/ports/converters/libiconv /usr/ports/devel/gettext /usr/ports/devel/gmake /usr/ports/devel/libtool15 -Mike Mike, That's great info, thank you. It really helps put this into perspective. I did portmanager -sl and it identifies 7 candidates for deletion. It identifies cvsup-without-gui and also identifies ezm3 upon which it depends. Am I missing something here or shouldn't ezm3 not been identified as a leaf port? Good observation on your part and its a good question to ask. I'm not real familar with portmanager but it appears to identify the leaf ports in the same manner as sysutils/pkg_cutleaves and sysutils/pkg_rmleaves do. The utilities are only considering the run-dependencies as needed. The main difference between sysutils/pkg_cutleaves and portmanager -slid is portmanager catches all of the leafs in one pass, even after you've deleted a few. With pkg_cutleaves when you remove a leaf you have to look through all of them again to see if any new ones were exposed. Any port that is only required as a build-dependency is treated as a leaf port. They could be removed but it would have to be rebuilt if it were needed again. Correct. I usually keep these tools that are only needed for building since I run portupgrade nightly. Others that have limited hard disk space might elect to remove them and their associated source tarballs. Its left to the individual to decide whether or not to keep them. The idea behind identifying leaves is to see ports you may have installed and forgotten about because you never use them. Unless space is a problem I would recommend not removing ports that are build tools like ezm. -Mike You're on the right track to understanding how the ports system works and using its tools. Just keep reading the man pages and observing how things function. Best regards, Randy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help!
Bob is right. Aside from exciting features and performance enhancements, however, one major reason to upgrade is security. There's a lot of serious vulnerabilities in older releases, it's important to keep your system up to date to prevent them from being exploited. On Sun, 27 Mar 2005 18:48:00 -0500, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Use your 3.4 FreeBSD system or a win system to download the mini.iso file for 4.11 and then burn it to cd. Boot your box from the 4.11 mini newly created cd and accept the default slice sizes, select not to install the ports collection. The ports collection is over 3000 strong now and some are variations of same base port. You are being foolish to select all ports as that is unnecessary and a gross waist of disk space. After base install is complete then select the ports you want and install separately. You are way back level and there has been great changes in the system and the sysinstall process. Read and follow this Install guide for step by step instructions for 4.11 release as it's the same as 4.10. http://freebsd.packards-home.net/index.php Yes FreeBSD CAN be installed on the fourth of four SCSI disk drives on the second of two SCSI cards, but if you have other operating systems on those other disks you will have to manual update the MBR (master boot record) multi boot program on the HD the PC bios point to for selecting which operating system you want to boot from. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Charlie Sorsby Sent: Sunday, March 27, 2005 5:51 PM To: [EMAIL PROTECTED] Subject: Help! Every time I turn round, someone is telling me that I should update to a more recent version of freeBSD. Each time I try, I encounter nothing but trouble. Before I even begin: *CAN* freeBSD be installed on the fourth of four SCSI disk drives on the second of two SCSI cards? I know of no way to record the error messages other than with pencil and paper -- not a very efficient method in this computer age, especially when one is in the throes of frustration. I tried some time ago, updating to 4.5, the latest version for which I have a CDROM. When I encountered problems and queried this list, I received a message to the effect that the installer should quit working after X years. Perhaps that was tongue in cheek but it was singularly unhelpful. So, I continued to use 3.4 which, aside from the fact that I can't add anything new or update any ports or ... has stood me in good stead for years. Finally getting tired of using netscape 4.76 -- I've been unsuccessful at finding any modern browser that I can install under 3.4 -- and having it crashed by modern web sites, I decided to try again. I fetched the floppy images for 4.11 -- I have no interest in 5.x, 4.x is far enough removed from real BSD that I wouldn't go that route it I had a choice. Busy with other things, I finally got round to trying an ftp install today. Before I proceed, I suppose that I'd best tell you what my system comprises: M'board:Intel D845WN CPU:P4, 2.4GHz, 478, 512K, 400MHz FSB Memory: Crucial 512MB, 168-pin, DIMM 64Mx64, PC133 SDRAM Case: Antec Sonata with Antec TruePower supply. SCSI cards (presently, the Adaptec is in the PCI slot closer to the CPU): Adaptec 2940 Tekram DC-390U2W Ethernet; Intel PRO100S Disk drives (The first three are on the 2940, the fourth on the Tekram): IBM DORS-32160 WA0A, 2GB (from original system, with leftover freeBSD 2.1.5 stuff, no longer bootable.) Seagate ST34501N 0015, 4GB (with freeBSD 3.4) Seagate ST39216N 0010, 9GB (/home -- no OS) Seagate ST318517W 0105, 18GB (on which I tried to install 4.5 before and 4.11 today. CDROM drive:Plextor (don't recall specs.) Video card: Matrox Millennium G400, AGP4X, 32MB SGRAM Oh -- FWIW, I'm also running XFree86 4.1.0 although that should not be relevant to the installation problem but, like the feller says, for the sake of completeness... (I'll append -- at the end of this message -- dmesg from latest boot after unsuccessful installation to cover anything that I've forgotten. This system has simply evolved over the years.) I hope I won't forget any parts of this; I had to get back to 3.4 in order to be able to do this e-mail. I got through the fdisk and disklabel (re)configuration of the fourth disk onto which I planned to install freeBSD 4.11 (having selected Standard Install) Here's what I tried to set up as (Unix) partitions (remember this is on the 18GB drive): /128MB # Thought this should be more than enough swap 512MB /usr4196MB /var 512MB /usr/local
Re: Anthony's drive issues.Re: ssh password delay
Chris writes: Yay! *claps* Isn't that what Ted has been telling you to an extent - that it's the HP/Compaq microcode in the drivers? No. He and most other people have been trying to convince me that it's defective hardware, and not a deficiency of the operating system. But defective hardware is hardware that fails to do its job, and these drives have done their jobs under Windows NT for eight years. In this case, the OS is defective, because it's not doing its job. I know the job can be done because Windows NT does it. Anthony - have you ever setup a new HP/Compaq server? Ever use the SmartStart CD's? I don't remember if I ever did it myself. Compaq servers are such a nightmare that I tried to avoid dealing with them. In contrast, you CAN'T (hear me again) CAN'T install Windows (shrink wrap) on the above without them. It's becasue HP/C has propriatarty drivers. That may be, but I installed an off-the-shelf retail version of Windows NT on this system, and it ran without any problems at all. -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hyper threading.
--- Anthony Atkielski [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] writes: Polling is simply unecessary in most cases. You could get better performance using an em driver and setting max ints to whatever is optimal for your system. Polling adds latency and over head for no good reason. Polling often provides better performance, at the expense of higher overhead. If you understood what I said, then you wouldn't say what you said, because its just plain wrong. __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SWAP sucker
On Mon, 2005-03-28 at 21:56 +1000, Warren wrote: is there a way to tell what is using all my SWAP ? out of 500meg of swap i have allocated something is using approx 95% and killing my system and bogging it down. Any help would be appreciated. Try using ps(1). ps auxw will show you most of what you need to know about a process and the memory/cpu that it is consuming. Cheers, Jason ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hardware problems after installing 5.4 pre-release
To add information on the usb mouse problem when I plug my usb mouse in to the 2 usb 2.0 ports, I get the first error at the command line: uhub1: device problem (SET_ADDR_FAILED), disabling port 2 uhub1: device problem (SET_ADDR_FAILED), disabling port 1 Like the sound, the usb mouse was working fine with FreeBSD 5.3, but stop functioning after rebuild world to 5.4 pre-release. On Mon, 28 Mar 2005 13:50:36 +, Todd Shirk [EMAIL PROTECTED] wrote: You referred to kldstat. I'm not sure what I'm looking for with that or what switch I may need to use. I typed and received the following information: # kldstat Id Refs AddressSize Name 18 0x8010 7c36b8 kernel 21 0x808c4000 50c8 udbp.ko 32 0x808ca000 20ae0netgraph.ko 41 0x808eb000 5f98 ugen.ko 51 0x808f1000 3918 ums.ko I added the founding command and got the following results: # kldload snd_driver # kldstat Id Refs AddressSize Name 1 59 0x8010 7c36b8 kernel 21 0x808c4000 50c8 udbp.ko 32 0x808ca000 20ae0netgraph.ko 41 0x808eb000 5f98 ugen.ko 51 0x808f1000 3918 ums.ko 61 0xa7842000 78d snd_driver.ko 71 0xa7843000 1a7d snd_ad1816.ko 81 0xa7845000 1b9d snd_als4000.ko 91 0xa7847000 1fdd snd_cmi.ko 101 0xa7849000 221d snd_cs4281.ko 112 0xa784c000 3f3a snd_csa.ko 121 0xa785 8add snd_ds1.ko 131 0xa7859000 4375 snd_emu10k1.ko 141 0xa785e000 2c81 snd_es137x.ko 152 0xa7861000 240a snd_ess.ko 164 0xa7864000 1a85 snd_sbc.ko 171 0xa7866000 181d snd_fm801.ko 182 0xa7868000 6e8a snd_mss.ko 191 0xa786f000 227d snd_ich.ko 201 0xa7872000 3e5d snd_maestro.ko 211 0xa7876000 5b3d snd_maestro3.ko 221 0xa787c000 e41d snd_neomagic.ko 231 0xa788b000 184d snd_sb8.ko 241 0xa788d000 1bed snd_sb16.ko 251 0xa788f000 251d snd_solo.ko 261 0xa7892000 221d snd_t4dwave.ko 271 0xa7895000 169d snd_via82c686.ko 281 0xa7897000 225d snd_vibes.ko After doing that, I still do not have any sound. I notice that snd_via8233 is not in the resulting list of loaded drivers in kldstat. My assumption is that it didn't load through kldload since it's being loaded at the kernel level. With the command of: # cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: VIA VT8235 at io 0x1000 irq 10 (5p/1r/0v channels duplex default) It would seem that my sound driver is loading. The audio software seems to believe that there is a sound card to attach to. Could there be a problem with the sound driver I'm using. Would there be a reason why snd_via8233 works fine in 5.3 and not 5.4 pre-release? Also, could the usb mouse problem be part of the same problem, reasoning being that there may be a global hardware issue and that it may be conflicts in device handling vs. a configuration issue? Regardless, I'm happy and willing to try any thoughts. I, also, tried to manually choose snd_via8233 with this result: # kldload snd_via8233 kldload: can't load snd_via8233: File exists In the meantime, I'll try to trace down some helpful error messages from the usb mouse problem. On Thu, 24 Mar 2005 23:15:41 +0100, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On Thu, 24 Mar 2005 22:07:57 + Todd Shirk [EMAIL PROTECTED] wrote: (MYKERNEL is the GENERIC plus the lines needed for loading the sound system and the via8233 sound driver for my sound card) device sound device snd_via8233 (with mergemaster I chose i for each file, indicating to use tempory) I booted into the new environment and started KDE3.4. I noticed that I had no sound and no usb mouse functionality. I did the following: # cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: VIA VT8235 at io 0x1000 irq 10 (5p/1r/0v channels duplex default) did you check with kldstat which module for sounds was loaded ? and tried : kldload snd_driver ? see e.g. : http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hyper threading.
Boris Spirialitious writes: If you understood what I said, then you wouldn't say what you said, because its just plain wrong. I've written code that proves it right. Someone once told me that a 80286 couldn't handle ordinary terminal communications at speeds of 38400 bps. I proved that it could, but the comm program I wrote to do so used polling rather than interrupts to accomplish it. It was impossible to handle such high speeds with interrupt-driven I/O. -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: AWK in 4.X different from 5.X?
On Mon, 28 Mar 2005, Jonathan Chen wrote: On Sun, Mar 27, 2005 at 12:09:03PM -0500, Francisco Reyes wrote: Since this was from a shell script I did date | awk '{print #$1 $2 - $3 - $6}' How about: date +#%a %b - %d - %Y Where/how do I put that? I tried to put it inside the awk side, but didn't work. ___ 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 get send-pr/porttools working when on a cable (dsl)provider link
On Mon, 28 Mar 2005 10:49:47 +0200 Florent Thoumie [EMAIL PROTECTED] wrote: Danny Pansters a écrit : I already set my isp's smtp as smart relay in freensd.mc and did make, but now my FQDN hostname is not considered cosher (helo)... its desktop.homenet, a local name. How do I solve this? (also...contrast this inconvenience with every non-subscribed spammer being able to spam us if she has a colo set up properly...) You might want to use ssmtp. Since you're using your ISP's smtp server to send mail, there should be no problem if you don't have a FQDN hostname. A very simple and complicated HOWTO :) http://www.cultdeadsheep.org/~clement/FreeBSD/send-pr+ssmtp.txt clem pgprAqwoBRibW.pgp Description: PGP signature
Re: gbde - destroying master key without lockfile
Instead of destroy I use nuke. Thanks! -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]' Key retrieval: Send an E-Mail to [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
su command problem
To whom it may concern: I am running into an issue using rc.conf to run applications at startup. Specifically, nagios, and mysql. When the system boots, it goes to a command prompt at the stage of the boot process when those applications would be run and then stops. If I exit out of the prompt, booting continues normally. I believe I have traced the problem to the su command which is used in the rc. In attempting to run the mysql w/ mysql_enable=YES in the rc.conf, it su's to the mysql account and is supposed to run a command and exit. It su's to mysql OK, but never runs the command and exits. I have attempted this manually and received the same results. This system is running FreeBSD 5.3. I have another system which uses FreeBSD 5.2.1 and doesn't have this problem. I'm not sure if this is a security fix that has been implemented in 5.3 or if the issue lies elsewhere. I have been able to implement a workaround to make them work by changing their startup scripts to not use su, but would like to resolve the issue. I have check the problem reports on the FreeBSD website and don't see anything that appears to be related. I have also google'd this and found nothing. I also didn't find anything in the manual. Any help would be greatly appreciated. Thanks in advance. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ATAPI/CAM not working.
I have these optios in kernel: device atapicam device scbus device cd device pass device ata and I think these should be enough? still dmesg | grep cd shows only this: acd0: DVDR HL-DT-ST DVDRAM GSA-4120B/A102 at ata1-master UDMA33 no cd0. So I can't burn any cd's or dvd's. what could be wrong here? What does 'camcontrol devlist' show? And, of course, the obligatory silly questions: 1 Did you build your new kernel? 2 Did you install your new kernel? 3 Are you sure you installed your new kernel (ie uname -a show right info)? -- Ean Kingston E-Mail: ean_AT_hedron_DOT_org PGP KeyID: 1024D/CBC5D6BB URL: http://www.hedron.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hyper threading.
I guess that depends on how you define performance. The MAX_INTS setting in the em driver essentially does what polling does (in reducing interrupts) without the overhead. So there is really no way that polling could be better. With polling you have a lot of unnecessary overhead. Setting MAX_INTS properly has zero overhead for the O/S -Original Message- From: Anthony Atkielski [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Mon, 28 Mar 2005 06:03:00 +0200 Subject: Re: hyper threading. [EMAIL PROTECTED] writes: Polling is simply unecessary in most cases. You could get better performance using an em driver and setting max ints to whatever is optimal for your system. Polling adds latency and over head for no good reason. Polling often provides better performance, at the expense of higher overhead. -- Anthony ___ 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: hyper threading.
Things have changed a bit since then, so I doubt that proof has any relevance. All polling does , in the context of device polling, is make networking low-priority. You are adding latency to save CPU cycles. You could argue that higher latency is lower performance. Interrupt hold offs are a much better way to reduce interrupts without poisoning your system with extra overhead. -Original Message- From: Anthony Atkielski [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Mon, 28 Mar 2005 16:49:20 +0200 Subject: Re: hyper threading. Boris Spirialitious writes: If you understood what I said, then you wouldn't say what you said, because its just plain wrong. I've written code that proves it right. Someone once told me that a 80286 couldn't handle ordinary terminal communications at speeds of 38400 bps. I proved that it could, but the comm program I wrote to do so used polling rather than interrupts to accomplish it. It was impossible to handle such high speeds with interrupt-driven I/O. -- Anthony ___ 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]
gcc
If you have different versions of gcc installed, which version is used then when you run a portupgrade somepackage ? I know a package can give the needed version itself, but what if the port does not do so? Is the system's default run then or what? -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.11 ++ FreeBSD 5.3 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sFTP nologin
On Fri, 25 Mar 2005 19:53:12 -0500, Grant Peel [EMAIL PROTECTED] wrote: So, If I simply change the isers shell in /etc/passwd to the /usr/local/sbin.scponly shell it should work? If so, it doesn't! After installing the port (scponly) does one have to run the chroot scrippts and all that they talk about on the site? or should simply adding it to /etc/shells and changing the users shell do the trick? If you want 'chroot' functionality read the Makefile. The default build behavior is 'undefined' for chroot. Once you have scponly built to your needs, all you need is to add 'scponly' ('scponlyc') to /etc/shells and change your users shell accordingly. (see manpage for more info) -jw ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sendmail only listening on localhost
Hi all, I have a default sendmail instance on FreeBSD 5.3, the SMTP service only seems to be listening on localhost: netstat -al | grep smtp tcp4 0 0 localhost.smtp *.*LISTEN I can connect locally using telnet localhost 25 but I cannot connect using telnet 10.99.0.2 25. I have tried both editing the .mc file (and regenerating) to add: DAEMON_OPTIONS(`Port=smtp, Addr=10.99.0.2, Name=MTA') and editing the .cf file manually to add: O DaemonPortOptions=Port=smtp, Addr=10.99.0.2, Name=MTA Although of course, that line is there already after regenerating from .mc After restarting, I still cannot connect using 10.99.0.2 Can someone help? Thanks, Simon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: oo.org unkillable process
Hello Simon Sorry for the delay. I have no idea what is going wrong. I agree with you regarding your statement (killing processes). What the guys from OO says? Am Mon, Mar 21, 2005 at 10:46:12PM -0700 Simon Timms schrieb: I have this same problem (see open office freezes thread). I was wondering what was going on such that it is possible to create processes which cannot be killed. This seems to me like it should not be permitted by the operating system. If root decides a process needs to go then it should go, especially a user land process. Would it not be possible to find out what is going wrong with OO.org and use whatever it is that is going wrong in a process fork bomb? I'm not going to claim that I know anything about operating systems, but it seems to me that if I say die then the kernel should simply force closed any file handles, free the process memory and remove the process from the process list. On Mon, 21 Mar 2005 23:13:04 +0100, Martin Schweizer [EMAIL PROTECTED] wrote: I know oo needs a lot of time for compiling. That is the last idea I had. Did you ask the people from superoffice.org? I did a default installation twice on separate freebsd boxes without problems. Am Mon, Mar 21, 2005 at 11:05:23PM +0100 Freek Nossin schrieb: Do you mean reinstall? I could try, but as you might know, installing OpenOffice requires a lot of time, patience and workload of your system (not to mention hd-space). But if I did? Why would it be any different? That is, assuming I go again for a default install with no other options. -Original Message- From: Martin Schweizer [mailto:[EMAIL PROTECTED] Sent: maandag 21 maart 2005 22:13 To: Freek Nossin Cc: 'Martin Schweizer'; freebsd-questions@freebsd.org Subject: Re: oo.org unkillable process Did you a make deinstall? Am Mon, Mar 21, 2005 at 10:55:53AM +0100 Freek Nossin schrieb: Sorry I looked over your other questions. I did not have any previous version of OO, so deinstalling wasn't needed. I run version 5.3 with a GENERIC kernel. I used portinstall (portupgrade) for the installation. My X-version is the latest xorg. I have also got jdk14 installed. -Original Message- From: Martin Schweizer [mailto:[EMAIL PROTECTED] Sent: maandag 21 maart 2005 6:31 To: Freek Nossin Cc: 'Martin Schweizer'; freebsd-questions@freebsd.org Subject: Re: oo.org unkillable process What FreeBSD version do you have? Did you make deinstall and then make install? Am Sun, Mar 20, 2005 at 10:01:39PM +0100 Freek Nossin schrieb: I did. My version ports tree was just a week old. -Original Message- From: Martin Schweizer [mailto:[EMAIL PROTECTED] Sent: zondag 20 maart 2005 19:09 To: Freek Nossin Cc: freebsd-questions@freebsd.org Subject: Re: oo.org unkillable process Hello Freek I run OO since month without problems (also remote over ssh). X- Version? FreeBSD-Version? Did you make cvsuped fresh installation? Am Wed, Mar 16, 2005 at 10:04:36AM +0100 Freek Nossin schrieb: Hello, I recently installed OO.org via the ports. When I start one of its applications the program freezes and I can't kill the process, not even as root with #kill -9 PID I found some related messages in the freebsd-current mailling list, but I could not find a solution. http://lists.freebsd.org/mailman/htdig/freebsd-current/2004- November/042264. html http://lists.freebsd.org/mailman/htdig/freebsd-current/2004- November/042162. html http://lists.freebsd.org/mailman/htdig/freebsd-current/2004- November/04. html http://lists.freebsd.org/mailman/htdig/freebsd-current/2004- November/042204. html http://lists.freebsd.org/mailman/htdig/freebsd-current/2004- November/042488. html http://lists.freebsd.org/mailman/htdig/freebsd-current/2004- November/042156. html Does anybody have an idea? Freek ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] -- Regards Gruss Mit freundlichen Grüssen Martin Schweizer [EMAIL PROTECTED] PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key :
Re: Vinum Problem
On Sun, 2005-03-27 at 16:59, Ean Kingston wrote: On March 27, 2005 10:35 am, Robert Slade wrote: Hi, I have managed to setup a vinum volume using 2 striped disks, the volume is created and I can do newfs on it and mount it. However, when I set start_vinum=YES in rc.conf, vinum loads then I get panic, followed by hanging vnode. I'm using 5.3. Any pointers please. In 5.3, you need to use gvinum instead of vinum. To do this set start_vinum=NO in /etc/rc.conf and set geom_vinum_load=YES in /boot/loader.conf. gvinum will read your vinum configuration just fine so you only need to make the changes I suggested to get it to work. Althought this is documented, it is not what I would call 'well documented' yet. Ean, Thank you, that got me further, I appears to have created a new /dev/gvinum/test, which seems to the right size, but when I mount it as /test, I get not a directory when I try and ls it. The mount point needs to exist prior to mounting a filesystem so, try something like this (as root): mkdir /test mount /dev/gvinum/test /test mount | grep test That last one should produce the following output, /dev/gvinum/test on /test (ufs, local, soft-updates) which indicates that you have a mounted filesystem on /test. I have tried to find documentation on geom, but that seems to be related to mirroring. Ya, documentation is still being worked on. For basic stuff (like creating concatinated volumes) you can use the vinum documentation and replace 'vinum' with 'gvinum' when you try things. Using your 'test' filesystem is a very good idea. Some aspects of vinum still aren't fully implemented in gvinum. Remember, if you just created your /test volume. It should be empty. You did run 'newfs /dev/gvinum/test' after creating it and before mouting it, right? -- Ean Kingston E-Mail: ean_AT_hedron_DOT_org PGP KeyID: 1024D/CBC5D6BB URL: http://www.hedron.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gcc
On Monday 28 March 2005 17:00, Dick Hoogendijk wrote: If you have different versions of gcc installed, which version is used then when you run a portupgrade somepackage ? I know a package can give the needed version itself, but what if the port does not do so? Is the system's default run then or what? If a port needs a specific version it will have it as a build dependence and invoke the specific executable e.g. gcc32 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: su command problem
I am running into an issue using rc.conf to run applications at startup. Specifically, nagios, and mysql. When the system boots, it goes to a command prompt at the stage of the boot process when those applications would be run and then stops. If I exit out of the prompt, booting continues normally. I believe I have traced the problem to the su command which is used in the rc. In attempting to run the mysql w/ mysql_enable=YES in the rc.conf, it su's to the mysql account and is supposed to run a command and exit. It su's to mysql OK, but never runs the command and exits. I have attempted this manually and received the same results. hmmm. (going under the assumption that you installed from ports 4.1.x ?) There should be a startup script in /usr/local/etc/rc.d that launches mysql. Using the new style, it does check rc.conf to see if it should start, mode, etc. As far as the 'su' bit, the script itself doesn't do this. The mysql daemon has a 'user' switch that is used to start mysqld as a user other then root. Do you get the same behavior when you run the start-up script manually? -jw ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd-questions Digest, Vol 92, Issue 40
Christopher Kelley wrote: Jay, I have found the FreeBSD basics articles over at onlamp.com to be invaluable. Linky: http://www.onlamp.com/pub/ct/15 The two articles portupgrade and Ports Tricks (currently about 13 articles down) are valuable enough to me that I printed them out! I know it does sometimes seem that you need to know the answer before you know what to google for, but until someone invents a better way to search (e.g. somehow knowing the context of your search), it's worth trying a few different things in google. Christopher Christopher, Thanks. I thought I had caught all of Dru Lavigne's articles that applied, but I missed the Ports Tricks one. A good read. Jay ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade (vs. Portmanager) question
RW wrote: make seach is documented in man ports It sure is! THANK YOU! Jay ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade (vs. Portmanager) question
Randy, Mike: Thanks for the explanation. I hadn't considered a dependency that goes away after the dependent port is built. Now it makes perfect sense. Jay ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail only listening on localhost
On Mon, 28 Mar 2005 17:25:43 +0100, Simon Ironside [EMAIL PROTECTED] wrote: Hi all, I have a default sendmail instance on FreeBSD 5.3, the SMTP service only seems to be listening on localhost: netstat -al | grep smtp tcp4 0 0 localhost.smtp *.*LISTEN I can connect locally using telnet localhost 25 but I cannot connect using telnet 10.99.0.2 25. I believe the default settings in rc.conf for sendmail has gone through some changes in 5.x. The default behavior in 4.x was to allow inbound connections for sendmail, which has changed to local connections only in 5.x Adding the follow to rc.conf should fix the problem... sendmail_enable=YES# Run the sendmail inbound daemon (YES/NO). -jw ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: k3b port error.
You have to upgrade flac, before upgrading k3b. I had the same error. Be sure your ports tree is up to date, first. On Sunday 27 March 2005 07:31 am, Perttu Laine wrote: Running FreeBSD 5.4-BETA1 and k3b port make stops with output pasted below. Port is latest one. Any way to get it working? --- then mv -f .deps/k3bflacdecoder.Tpo .deps/k3bflacdecoder.Plo; \ else rm -f .deps/k3bflacdecoder.Tpo; exit 1; \ fi In file included from /usr/local/include/id3/utils.h:37, from /usr/local/include/id3/tag.h:34, from /usr/local/include/id3/misc_support.h:32, from k3bflacdecoder.cpp:34: /usr/local/include/id3/id3lib_strings.h:103: warning: unused parameter '__c' /usr/local/include/id3/id3lib_strings.h:106: warning: unused parameter '__c' k3bflacdecoder.cpp: In member function `virtual QString K3bFLACDecoder::technica lInfo(const QString) const': k3bflacdecoder.cpp:311: error: `get_field' has not been declared k3bflacdecoder.cpp:311: error: request for member of non-aggregate type before ' (' token /usr/local/include/id3/globals.h: At global scope: /usr/local/include/id3/globals.h:542: warning: 'ID3_v1_genre_description' define d but not used gmake[4]: *** [k3bflacdecoder.lo] Error 1 gmake[4]: Leaving directory `/usr/ports/sysutils/k3b/work/k3b-0.11.20/src/audiod ecoding/flac' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/sysutils/k3b/work/k3b-0.11.20/src/audiod ecoding' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/sysutils/k3b/work/k3b-0.11.20/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/sysutils/k3b/work/k3b-0.11.20' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/sysutils/k3b. -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: su command problem
To whom it may concern: I am running into an issue using rc.conf to run applications at startup. Specifically, nagios, and mysql. When the system boots, it goes to a command prompt at the stage of the boot process when those applications would be run and then stops. If I exit out of the prompt, booting continues normally. Maybe it really traces to the fact that you should not run any command from rc.conf. It is not treated as a script. Rather, rc.conf is merely a list of variable settings that the startup scripts for various programs read up when they need it. If you want to run something at startup, put them in /usr/local/etc/rc.d give them a name ending in .sh and make them executable. Those scripts will be run in roughly 'sort' order. I believe I have traced the problem to the su command which is used in the rc. In attempting to run the mysql w/ mysql_enable=YES in the rc.conf, it su's to the mysql account and is supposed to run a command and exit. It su's to mysql OK, but never runs the command and exits. I have attempted this manually and received the same results. You don't want to run mysql in rc.conf, just do the setting of mysql_enable=YES in there and put something like mysql-server.sh in /usr/local/etc/rc.d In fact, the normal mysql install from ports puts the script there. You may have to change its permissions to make it executable. jerry This system is running FreeBSD 5.3. I have another system which uses FreeBSD 5.2.1 and doesn't have this problem. I'm not sure if this is a security fix that has been implemented in 5.3 or if the issue lies elsewhere. I have been able to implement a workaround to make them work by changing their startup scripts to not use su, but would like to resolve the issue. I have check the problem reports on the FreeBSD website and don't see anything that appears to be related. I have also google'd this and found nothing. I also didn't find anything in the manual. Any help would be greatly appreciated. Thanks in advance. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ 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: sendmail only listening on localhost
From: Jeff Wirth [mailto:[EMAIL PROTECTED] Sent: Mon 28/03/2005 17:55 To: Simon Ironside Cc: freebsd-questions@freebsd.org Subject: Re: sendmail only listening on localhost Adding the follow to rc.conf should fix the problem... sendmail_enable=YES# Run the sendmail inbound daemon (YES/NO). Thankyou, that did the trick. Simon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Samba problems
On Mon, 28 Mar 2005 15:17:57 +0200 Fabian Keil [EMAIL PROTECTED] wrote: Alejandro Pulver [EMAIL PROTECTED] wrote: On Sun, 27 Mar 2005 11:02:44 +0200 Fabian Keil [EMAIL PROTECTED] wrote: Alejandro Pulver [EMAIL PROTECTED] wrote: On Sat, 26 Mar 2005 20:37:51 +0100 Fabian Keil [EMAIL PROTECTED] wrote: Alejandro Pulver [EMAIL PROTECTED] wrote: I am using FreeBSD 5.3 with Samba 3.0.7,1. I can read all files from a Windows 2000 Pro. But when I try to access a mount point that is an NTFS filesystem, I have no read permission (files and directories appear as zero length files) until I access them from the server machine (like doing an 'ls'). My configuration file is as follows: = BEGIN = # Samba config file created using SWAT # from 127.0.0.1 (127.0.0.1) # Date: 2004/12/11 19:24:02 # Global parameters [global] workgroup = VARNET server string = FreeBSD 5.3 security = SHARE log file = /var/log/samba/log.%m max log size = 50 dns proxy = No [mnt] comment = Mounted Filesystems path = /mnt guest ok = Yes [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [ale] comment = Ale's Home DIrectory path = /home/ale guest ok = Yes = END === Note: I have subdirectories under '/mnt' like 'w2k', 'wxp', 'cam', and'tmp'. What am I doing wrong? Who owns the subdirectories and who is your guest user? My guest user is 'nobody', but I also tried with 'ale' and 'root'(wich owns the mount point). Did you see in samba's log that the guest user was changed? How did you change it, with guest user or with force user? As your problem can be reproduced, increasing samba's debug level might help. Samba should log why read access was denied. If you access the samba share with mount_smbfs, do you see the same behavior? The directory '/mnt/w2k' is owned by 'root' and the group 'wheel', the permissions are rwxr-xr-x. I saw in SWAT that the connection from the other machine was mapped to the desired local user in all cases (I tried nobody, ale and root). I used guest account = user. Something strange is happening: I can access the sahre '/mnt' (and 'w2k') with 'smbclient' (using the 'guest' user), but if I do it with'mount_smbfs //[EMAIL PROTECTED]/mnt /home/ale/tmp' then the problem appears, even with 'root' (I can not see/access entries until I list them with any user from '/mnt/w2k'). I think the problem is with Samba, not 'mount_smbfs'. This message appears (many times) in debug level 0: [2005/03/27 15:04:38, 1] smbd/service.c:make_connection_snum(648) mariana (192.168.1.1) connect to service mnt initially as user nobody (uid=65534, gid=65534) (pid 1217)[2005/03/27 15:04:44, 0] locking/posix.c:posix_fcntl_lock(657) posix_fcntl_lock: WARNING: lock request at offset 0, length 4096 returned[2005/03/27 15:04:44, 0] locking/posix.c:posix_fcntl_lock(658) an Invalid argument error. This can happen when using 64 bit lock offsets[2005/03/27 15:04:44, 0] locking/posix.c:posix_fcntl_lock(659) on 32 bit NFS mounted file systems. The other message I noticed (but I think it is not an error) in level 3 is: [2005/03/27 14:16:19, 2] auth/auth.c:check_ntlm_password(312) check_ntlm_password: Authentication for user [nobody] - [nobody] FAILED with error NT_STATUS_WRONG_PASSWORD[2005/03/27 14:16:19, 3] auth/auth.c:check_ntlm_password(219) check_ntlm_password: Checking password for unmapped user [EMAIL PROTECTED] with the new password interface[2005/03/27 14:16:19, 3] auth/auth.c:check_ntlm_password(222) check_ntlm_password: mapped user is: [EMAIL PROTECTED] The one that also called my attention was: [2005/03/27 14:16:30, 3] smbd/error.c:error_packet(105) error string = Is a directory [2005/03/27 14:16:30, 3] smbd/error.c:error_packet(129) error packet at smbd/nttrans.c(862) cmd=162 (SMBntcreateX) NT_STATUS_FILE_IS_A_DIRECTORY However I do not know about the internal working of Samba so perhaps I missed some important messages. I made different logs with different debug levels. They are in ftp://ftp.varnet.to (public FTP) in a directory called samba_logs. The local machine is called ale and the other mariana. The best log in level 3 is in the directory log.3_2. Today I tried your smb.conf and it worked as well as mine. I had a look at you logs, but didn't get more information out of them than you did. I get lock offset warnings as well, so they don't seem to be the problem. Perhaps you should ask on a samba list again. Fabian
Very Slow FTP Uploads
Hi, Looking in to a solution why my FTP uploads are so slow on Free BSD 5.3 version. Downloads are very fast but uploads are excruciatingly slow. My BSD system is on autoselect option as my port on the network switch. I have also tried various options like setting the network switch and the BSD OS to 100 Fdx, still no better. I do have raid 5 drives, is there an option to improve FTP on OS by some miraculous BSD commands. Thanks!! VJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
-CURRENT buildkernel breaks on ndis
After updating source and building world (successfully), I tried to build a new kernel. (Current system is: FreeBSD 6.0-CURRENT #0: Sun Feb 13 12:12:07 EST 2005 ) This dies (reproducibly) with: @/contrib/altq -I@/../include -finline-limit=8000 -fno-common -g -I/usr/obj/usr/src/sys/JERUSALEM -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /usr/src/sys/modules/ndis/../../compat/ndis/kern_ndis.c /usr/src/sys/modules/ndis/../../compat/ndis/kern_ndis.c: In function `ndis_convert_res': /usr/src/sys/modules/ndis/../../compat/ndis/kern_ndis.c:919: error: `brl_rev' undeclared (first use in this function) /usr/src/sys/modules/ndis/../../compat/ndis/kern_ndis.c:919: error: (Each undeclared identifier is reported only once /usr/src/sys/modules/ndis/../../compat/ndis/kern_ndis.c:919: error: for each function it appears in.) /usr/src/sys/modules/ndis/../../compat/ndis/kern_ndis.c:966: error: request for member `stqh_first' in something not a structure or union /usr/src/sys/modules/ndis/../../compat/ndis/kern_ndis.c:1006: warning: label `bad' defined but not used *** Error code 1 (Kernel config is appended.) What have I messed up? Robert Huff # # JERUSALEM # # For more information read the handbook part System Administration - # Configuring the FreeBSD Kernel - The Configuration File. # The handbook is available in /usr/share/doc/handbook or online as # latest version from the FreeBSD World Wide Web server # URL:http://www.FreeBSD.ORG/ # # An exhaustive list of options and more detailed explanations of the # device lines is present in the ./LINT configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in LINT. # # $Id: GENERIC,v 1.125 1998/10/16 01:30:11 obrien Exp $ machine i386 #cpuI386_CPU #cpuI486_CPU #cpuI586_CPU cpu I686_CPU ident JERUSALEM maxusers0 options CPU_ENABLE_SSE #optionsMATH_EMULATE#Support for x87 emulation options SCHED_ULE options INET#InterNETworking options INET6 #IPv6 communications protocols options MAXDSIZ=(1024*1024*1024) options MAXSSIZ=(256*1024*1024) #optionsIPX #optionsNCP #NetWare Core protocol options FFS #Berkeley Fast Filesystem options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem #optionsNWFS#NetWare filesystem options SOFTUPDATES #Enable FFS soft updates support options UFS_ACL #Support for access control lists options UFS_DIRHASH #Improve performance on big directories options SCSI_DELAY=100 #Be pessimistic about Joe SCSI # note: value is in milliseconds #optionsSAFETY # Debugging for use in -current options KDB # Enable kernel debugger support. options DDB #Enable the kernel debugger makeoptions DEBUG=-g #optionsINVARIANTS #Enable calls of extra sanity checking #optionsINVARIANT_SUPPORT #Extra sanity checks of internal #structures, required by INVARIANTS #optionsWITNESS #Enable checks to detect deadlocks and cycles #optionsWITNESS_SKIPSPIN#Don't run witness on spinlocks for speed options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 #Compatible with FreeBSD4 options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options COMPAT_AOUT # see java/62837 #optionsCOMPAT_LINUX #optionsLINPROCFS options PROCFS options PSEUDOFS # For StarOffice #options P1003_1B #options _KPOSIX_PRIORITY_SCHEDULING #options _KPOSIX_VERSION=199309L #optionsMD5 # For Mars-nwe NetWare server #optionsIPX # for WINE #optionsUSER_LDT#allow user-level control of i386 ldt # # #config kernel root on da0 device isa device eisa device pci #device fdc0at isa? port IO_FD1 irq 6 drq 2c device fdc
Re: Very Slow FTP Uploads
On Mar 28, 2005, at 12:23 PM, Dixit, Viraj wrote: Looking in to a solution why my FTP uploads are so slow on Free BSD 5.3 version. Downloads are very fast but uploads are excruciatingly slow. My BSD system is on autoselect option as my port on the network switch. I have also tried various options like setting the network switch and the BSD OS to 100 Fdx, still no better. I do have raid 5 drives, is there an option to improve FTP on OS by some miraculous BSD commands. Thanks!! Path MTU problem? Try doing an ifconfig en0 mtu 1400, where you replace en0 with the name of your NIC, and see whether that helps -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
pcm device numbering
Hello, I have two sound cards: SiS 7012 (C-Media Electronics CMI9739 AC97 Codec) - 'snd_ich' Genius Sound Maker Value 5.1 (CMedia CMI8738) - 'snd_cmi' The first is integrated in the motherboard, and it is detected first and used as the default output device (pcm0). The second it detected after the first, so it is used as the second output device (pcm1). I want to use my second sound card as the default output device. I tried using the loader.conf variables *_after and *_before, but they always load them before booting the kernel, so the integrated card is detected first and assigned to the default output device (pcm0). So I have the drivers as modules, and load the driver for the second card when booting the kernel, and then from the command line I load the driver for the integrated card. Is there a (clean, if possible) way to do this (with 'device.hints', or rc scripts)? Here is the relevant output of 'pciconf -vl' (after loading the drivers in the desired order): [EMAIL PROTECTED]:2:7: class=0x040100 card=0x70121849 chip=0x70121039 rev=0xa0 hdr=0x00vendor = 'Silicon Integrated Systems (SiS)' device = 'SiS7012 PCI Audio Accelerator' class= multimedia subclass = audio [EMAIL PROTECTED]:9:0: class=0x040100 card=0x03f6 chip=0x03f6 rev=0x10 hdr=0x00vendor = 'C-Media Electronics Inc.' device = 'CMI8738/PCI C3DX PCI Audio Chip#20013;#22269;' class= multimedia subclass = audio I am posting this question again because I did not get a response. If I should ask this question somewhere else please inform me. Thanks and Best Regards, Ale ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hyper threading.
[EMAIL PROTECTED] writes: Things have changed a bit since then, so I doubt that proof has any relevance. The principles haven't changed at all. Servicing interrupts is an extremely high-overhead activity. There's a minimum amount of time it takes, no matter how short the interrupt routine. There comes a point when just the inherent cost of the context switch is responsible for most of the overall cost of the interrupt service, and with a large number of interrupts, the processor(s) can spend a great deal of time just switching contexts. Polling eliminates this overhead by simply checking for I/O to service when it is convenient for the OS. As long as polls occur frequently enough not to miss any pending I/O, it's faster than interrupt-driven I/O. The total number of instructions executed is often greater, because the OS tends to spin on its polling tasks, but the absolute time required to respond to a given I/O event can be much shorter. In my case, I divided all the work of the comm program into small bits that could be done in tiny chunks. Each time a chunk was completed, I polled the serial port. Since chunks never exceeded a certain size, I always managed to poll the port in less time than it took to receive a character, even at 38,400 bps. The system was busier than it would be with interrupts driving it, but it responded more quickly to incoming traffic, and there were no transfer timeouts, whereas with interrupts, the system was less busy, but it timed out very consistently at high communications rates. By using more processor but evening out the use of processor so that it was more consistently distributed, very high communication rates could be handled by the program. All of this remains permanently applicable today, and it is why some high-speed applications poll instead of waiting for interrupts. -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ATI Rage Mobility
On Mon, 28 Mar 2005 20:20:50 +0200, Edwin Mons [EMAIL PROTECTED] wrote: Hi. I'm trying to enable DRI on my IBM ThinkPad A20m, which has an ATI Rage Mobility P/M AGP 2x rev 100 GPU onboard. I succesfully installed the mach64 DRM module, which shows the following lines in my dmesg: drm0: Rage Mobility P/M AGP 2X port 0x2000-0x20ff mem 0xf420-0xf4200fff,0xf500-0xf5ff irq 11 at device 0.0 on pci1 info: [drm] AGP at 0xf800 64MB info: [drm] Initialized mach64 1.0.0 20020904 on minor 0 However, when I start X.org 6.8.2, it doesn't show anything about DRM in the logfiles (attached). glxinfo reports it doesn't use Direct Rendering as well. Attached is my xorg.conf, as well. My questions: 1) does anybody know if it is possible to have DRI on this configuration at all, and 2) how does one get it to work? Damn, forgot the attachments (common problem of mine, I'm afraid...) Cheers, Edwin Mons xorg.conf Description: Binary data ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ATI Rage Mobility
Hi. I'm trying to enable DRI on my IBM ThinkPad A20m, which has an ATI Rage Mobility P/M AGP 2x rev 100 GPU onboard. I succesfully installed the mach64 DRM module, which shows the following lines in my dmesg: drm0: Rage Mobility P/M AGP 2X port 0x2000-0x20ff mem 0xf420-0xf4200fff,0xf500-0xf5ff irq 11 at device 0.0 on pci1 info: [drm] AGP at 0xf800 64MB info: [drm] Initialized mach64 1.0.0 20020904 on minor 0 However, when I start X.org 6.8.2, it doesn't show anything about DRM in the logfiles (attached). glxinfo reports it doesn't use Direct Rendering as well. Attached is my xorg.conf, as well. My questions: 1) does anybody know if it is possible to have DRI on this configuration at all, and 2) how does one get it to work? Regards, Edwin Mons ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anthony's drive issues.Re: ssh password delay
On Mon, 2005-28-03 at 16:21 +0200, Anthony Atkielski wrote: But defective hardware is hardware that fails to do its job, and these drives have done their jobs under Windows NT for eight years. I'm not an NT fan myself, but from reading your past posts, it seems to do everything you need far better than freebsd. Why not just stick with NT/2k? Just curious. Chris signature.asc Description: This is a digitally signed message part
Re: Xorg mouse problems
I had similar issues with Xorg and moused on an Apex Outlook KVM. I sumply disabled moused.. and just use the device section6 of my Xorg.conf to enable the mouse. You could also try compiling the kernel with device hints and add hint.psm.0.flags=0x100 to your hint file T - Original Message - From: Alexander Chamandy [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Sunday, March 27, 2005 5:39 PM Subject: Xorg mouse problems Hi all, I've got a PS/2 Labtech optical mouse with and Xorg 6.8.2 running on FreeBSD 5.4PR with an AMD Athlon and a GeForce 2 MX and I'm having some strange problems with Xorg and moused. This all worked fine under NetBSD (1.6.x and 2.0) with the wsmouse driver, but strangely, now when I use Xorg and/or moused on FreeBSD the mouse skips on verticle or horizontal movement all the way across the screen. I've tried changing the resolution, disabling ACPI, using different protocols and nothing has resolved the problem. Has anyone experienced this before and if so, how have they resolved it? dmesg included: Copyright (c) 1992-2005 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. FreeBSD 5.4-PRERELEASE #0: Sun Mar 27 08:12:11 EST 2005 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/ambrosia Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) Processor (1343.06-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x644 Stepping = 4 Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR AMD Features=0xc044RSVD,AMIE,DSP,3DNow! real memory = 805224448 (767 MB) avail memory = 782417920 (746 MB) npx0: math processor on motherboard npx0: INT 16 interface cpu0 on motherboard pcib0: Host to PCI bridge pcibus 0 on motherboard pir0: PCI Interrupt Routing Table: 9 Entries on motherboard $PIR: BIOS IRQ 15 for 0.4.INTC is not valid for link 0x3 pci0: PCI bus on pcib0 $PIR: ROUTE_INTERRUPT failed. agp0: VIA 82C8363 (Apollo KT133x/KM133) host to PCI bridge mem 0xe400-0xe7ff at device 0.0 on pci0 pcib1: PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pci1: display, VGA at device 0.0 (no driver attached) isab0: PCI-ISA bridge at device 4.0 on pci0 isa0: ISA bus on isab0 atapci0: VIA 82C686B UDMA100 controller port 0xd800-0xd80f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 4.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 uhci0: VIA 83C572 USB controller port 0xd400-0xd41f irq 7 at device 4.2 on pci0 usb0: VIA 83C572 USB controller on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: VIA 83C572 USB controller port 0xd000-0xd01f irq 7 at device 4.3 on pci0 usb1: VIA 83C572 USB controller on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pci0: bridge, PCI-unknown at device 4.4 (no driver attached) pci0: multimedia, audio at device 4.5 (no driver attached) xl0: 3Com 3c905C-TX Fast Etherlink XL port 0xa400-0xa47f mem 0xd580-0xd580007f irq 7 at device 13.0 on pci0 miibus0: MII bus on xl0 xlphy0: 3c905C 10/100 internal PHY on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:04:76:e3:6d:42 atapci1: Promise PDC20265 UDMA100 controller port 0x8800-0x883f,0x9000-0x9003,0x9400-0x9407,0x9800-0x9803,0xa000-0xa007 mem 0xd500-0xd501 irq 10 at device 17.0 on pci0 ata2: channel #0 on atapci1 ata3: channel #1 on atapci1 orm0: ISA Option ROMs at iomem 0xd-0xd07ff,0xcc000-0xce7ff,0xc-0xcb7ff on isa0 pmtimer0 on isa0 atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 unknown: PNP0501 can't assign resources (port) unknown: PNP0501 can't assign resources (port) unknown: PNPb002 can't assign resources (irq) unknown: PNP0f13 can't assign resources (irq) unknown: PNP0303 can't assign resources (port) Timecounter TSC frequency 1343055484 Hz quality 800 Timecounters tick every 10.000 msec acd0: CDROM CRD-8320B/1.24 at ata0-master PIO4 ad4: 76319MB WDC WD800JB-00CRA1/17.07W17 [155061/16/63] at ata2-master UDMA100 Mounting root from ufs:/dev/ad4s1a -- Best wishes, Alexander G. Chamandy Webmaster www.bsdfreak.org Your Source For BSD News! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
how to manage qmail queue warnings?
I know that the queuelifetime control file sets the time before qmail gives up sending a message (usually 1 week), but how do I modify the warning that is usually set to notify the user four hours after sending that the message is being held back? -- -JC http://www.jc-news.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Questions using PartitionMagic for dual-boot with WinXP-Pro
Hi - I need help partitioning a laptop (using PartitionMagic) which already has WinXP-Pro on it, so it can dual-boot FreeBSD. I kind of wonder why you are asking on this (FreeBSD questions) list. I don't see any FreeBSD installation in the plan you outline. SUMMARY === I'm thinking of doing the following layout (things I'm unsure about are in brackets [...]): - boot (Z:) - FAT [or FAT32?]- 2MB [less/more?] - primary - install Easy Boot [or LILO?] here - winxp (C:) - NTFS - 20GB - primary (I will move/resize this existing partition, using PMagic) - winxp2 (X:) - FAT [or FAT32, NTFS?] - 15GB - logical [or primary?] - linux - ext2 - 24GB - primary - swap - ext2 [or FAT, FAT32?] - 1MB - logical [or primary?] but I'm unsure about a lot of these parameters and I'm afraid of making the computer unbootable! The above layout sums up my questions - same questions in more detail below: DETAILS === Specs: Compaq v3125us, Windows XP Professional (with Service Pack 2), 60GB hard disk, 512MB RAM, and NO floppy drive. (Also: Pioneer DVR-K14 Slimline (DVD+/-RW, CD-RW), Intel Extreme Graphics 2 video chipset, ACPI power management.) I have PartitionMagic 8.0. (Note: In the questions below, I use the word partition because that's what PartitionMagic uses. I understand that in FreeBSD this is called a slice.) Yes, FreeBSD recognizes the four primary divisions and calls them slices. Withing each slice, it can be divides in to up to 8 partitions. (1) PartitionMagic says that if an OS partition starts after the boot boundary, that OS won't be bootable. It says I have boot boundaries at 2GB, and at 1024 cylinders. Most modern BIOS and boot loaders no longer have that problem. An older BIOS still might, but it is basically an obsolete thing. Does this mean I should create a small partition BEFORE my WinXP partition, to put Boot Easy or LILO there? (Apparently PartitionMagic has a command to MOVE an existing partition - so it looks like I can just move the existing WinXP partition slightly to open up some space in front of it.) I have never tried moving anything to a higher address and squeezing anything in before it. Shrinking and putting in a major division above has worked well.I don't think you have to put in a slice for those MBR utilities. They use sector 0 and extra unused space. If I do need to create a boot partition: ...(a) How big should it be? ...(b) What file system should it be - FAT, FAT32, ext2 or ext3? ...(c) Should it be a primary partition, or logical (extended)? Anybody have a preference on using LILO versus Boot Easy? Will there be a screen during the regular FreeBSD install that lets me install Boot Easy or LILO? Where do you intend to put FreeBSD?It doesn't supply Lilo or Boot Easy. Those are either Linux or third party things, not related to FreeBSD. (2) Should the file system for my Linux partition be ext2 or ext3? (3) Do I need a Linux swap partition? If so: ...(a) How big should the Linux swap partition be? (I heard it should be twice the size of my RAM. I have 512MB, so should my Linux swap partition be 1024MB?) Again, why would you ask about Linux swap on a FreeBSD list? I know some people feel that FreeBSD people are more generally informed than Lusers and MS slavies, but really, you should direct your questions to those involved with those things. etc, etc, etc. Now, if you really mean you are interested in installing FreeBSD and just said Linux by mistake, first ignore lilo, boot easy and other stuff. Just leave the MS xp installed as it is. Squeeze the MS slice down to whatever size you want it. Make the slice you create in the open space some FAT thing just to keep Partition Magic happy. Don't make it an EXT partition though. Which FAT doesn't matter because FreeBSD install will overwrite it with its own thing during installation. During FreeBSD installation, choose the standard FreeBSD MBR. If you later really must have Grub, Gag or something, then you can change it anytime. You don't want to make a separate slice for FreeBSD swap. That goes in to one of the FreeBSD partitions (the b partition). The rule of thumb is to make it 2 1/2 times the amount of memory, but nowdays with very large memories, some people choke on making it 2 1/2 GB or whatever. Anyway you want it at least some bigger than your memory like 1 1/4. But, I still shoot for 2 1/2 times. You can mount and read your MS slices from FreeBSD, but you cannot write to an NTFS slice from FreeBSD (the last I knew anyway, maybe you can now). ...(b) Should the Linux swap partition be FAT, FAT32, ext2 or ext3? ...(c) Should the Linux swap partition be a primary partition - or logical (extended)? (4) It would be nice (but not required) to create a second logical partition at this time for WinXP (a second logical drive, say X:), so I could keep my WinXP user or
Re: AWK in 4.X different from 5.X?
On Mon, Mar 28, 2005 at 10:21:24AM -0500, Francisco Reyes wrote: On Mon, 28 Mar 2005, Jonathan Chen wrote: On Sun, Mar 27, 2005 at 12:09:03PM -0500, Francisco Reyes wrote: Since this was from a shell script I did date | awk '{print #$1 $2 - $3 - $6}' How about: date +#%a %b - %d - %Y Where/how do I put that? I tried to put it inside the awk side, but didn't work. Eh? The command I was trying to replicate was: date | awk '{print #$1 $2 - $3 - $6}' which is equivalent to : date +#%a %b - %d - %Y Doing this within awk is another story.. Sorry. -- Jonathan Chen [EMAIL PROTECTED] -- Jesus saves. Allah forgives. Cthulu thinks you'd make a nice sandwich. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gcc
RW [EMAIL PROTECTED] writes: On Monday 28 March 2005 17:00, Dick Hoogendijk wrote: If you have different versions of gcc installed, which version is used then when you run a portupgrade somepackage ? I know a package can give the needed version itself, but what if the port does not do so? Is the system's default run then or what? If a port needs a specific version it will have it as a build dependence and invoke the specific executable e.g. gcc32 And if it doesn't, then my quick look at bsd.gcc.mk makes me think it will use whatever gcc executable shows up first on the PATH. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: AWK in 4.X different from 5.X?
On Tue, 29 Mar 2005, Jonathan Chen wrote: which is equivalent to : date +#%a %b - %d - %Y Doing this within awk is another story.. Sorry. Got it. Originally I thought it was something to do from AWK. I tried the string you wrote from the command line and worked. I like your approach better. :-) Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Clean install of FreeBSD, many ports wont compile
Ended up being a time synching issue, in case anyone wanted to know. -Matt Chuck Robey wrote: Matt Juszczak wrote: I think everyone is misunderstanding my issue here. I setup 5 FreeBSD servers at once, we are converting our mail server, web server, DNS server, spam gateway, and transparent proxy machine over all at once to FreeBSD (well, in steps...but...). My experience with freebsd is considered intermediate. I installed all these boxes from the ISO. The FIRST thing I did after the install was complete was a: pkg_add -r cvsup-without-gui cvsup /etc/ports-supfile (I made the supfile) cvsup /etc/ports-supfile cd /usr/ports/shells/bash2 make install cd /usr/ports/editors/pico make install I did not type anything else in between in the initial install and those commands above. The pico and bash installs failed, and only happened on this one machine. The other machines work fine. Therefore, in my opinion, either something is wrong with the hardware of the box, or something was wrong with the ISO I downloaded, because I didn't type enough commands to be able to mess anything up. Thanks for your help in advance. Matt, I have a bad habit of misreading mails. I know I dod it, I try pretty hard, but I know i do it, and so I'll admit that right up front here, and tell you that the chances are pretty good that I did it here, although I re-read the first mail, and still don't see where I did that. It seemed to me that you were saying that you were doing a fist time install, but approachig it as if you were doing a kernel rebuild for the first time. I think (from your response) that you are probably telling me what's wrong, incorrectly. Like I said, I know I do that, and I want to admit it so that you do understand me. I know I probably deleted earlier mails that explained it better, because I don't see anywhere in your mail any comment about 5 systems ... is that it? -Matt Chuck Robey wrote: Matt Juszczak wrote: Still can't figure out how to get my FreeBSD machine to work properly. I've tried everything. Download the ISO on Wednesday, Mar 23rd, from ftp.freebsd.org. standard install, cvsup'd the ports, and tried to install /usr/ports/editors/pico, /usr/ports/shells/bash2, and a couple other ports. The output of the bad compile of pico and bash are below: http://paste.atopia.net/108 http://paste.atopia.net/109 http://paste.atopia.net/110 http://paste.atopia.net/111 I tried memtest, a hard drive test, etc. I don't understand how a clean install of freebsd 5.3 - RELEASE could be doing this. Looking at your listings, you aren't trying to do a clean install, you're trying to do a complete rebuild. If you don't have your system completely built ALREADY at this point, it's a bit like trying to buy a car by putting one together, armed with a nice screwdriver. Back up, tell us if you have a system installed. IF that's true, then stop complaining about trying to install a system, because you have that, instead begin researching (by using the FreeBSD handbook) how to recompile a kernel. If you aren't at least somewhat of a programmer, then you're going to need to get a friend who IS one to help you out ... maybe, learn how to use the FreeBSD IRC channel, it's fairly good. The way it goes is, first yo uget yourself a system installed, then you worry about getting a system recompiled. Along the way you will do a whole lot of learning. BUT stop complaining about not getting your system to work properly unless that really is your problem, cause all you're going to do is confuse and upset people who want to help you. For the record, I cvsup'd to cvsup2, and I've tried that server on another already installed 5.3-RELEASE and it worked fine. Please, any suggestions would be appreciated. I've never seen anything like this before. regards, Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] !DSPAM:4245e997402276760979586! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
error installing openssh-portable
hi all i get this installing the openssh-portable port on a 4.8-RELEASE machine === Building for openssh-portable-3.9.0.1,1 if test ! -z ; then /usr/bin/perl5 ./fixprogs ssh_prng_cmds ; fi (cd openbsd-compat make) cc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o sshconnect1.o sshconnect2.o -L. -Lopenbsd-compat/ -L/usr/lib -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -lssh -lopenbsd-compat -lcrypto -lutil -lz -lcrypt -lkrb5 -lcrypto -lcom_err -lasn1 -lroken /usr/lib/libkrb5.so: undefined reference to `des_is_weak_key' /usr/lib/libkrb5.so: undefined reference to `des_pcbc_encrypt' /usr/lib/libkrb5.so: undefined reference to `des_cfb64_encrypt' /usr/lib/libkrb5.so: undefined reference to `des_cbc_encrypt' /usr/lib/libkrb5.so: undefined reference to `des_set_odd_parity' /usr/lib/libkrb5.so: undefined reference to `des_read_pw_string' /usr/lib/libkrb5.so: undefined reference to `des_set_key' /usr/lib/libkrb5.so: undefined reference to `des_ede3_cbc_encrypt' /usr/lib/libkrb5.so: undefined reference to `des_cbc_cksum' *** Error code 1 Stop in /usr/ports/security/openssh-portable/work/openssh-3.9p1. *** Error code 1 Stop in /usr/ports/security/openssh-portable. any ideas on how to fix? cvsup'ing ports didn't work. thanks redmond -- Redmond Militante Software Engineer / Medill School of Journalism FreeBSD 5.2.1-RELEASE-p10 #0: Wed Sep 29 17:17:49 CDT 2004 i386 2:00PM up 1:32, 1 user, load averages: 0.35, 0.16, 0.09 pgpVWiz3neLYg.pgp Description: PGP signature
Re: Anthony's drive issues.Re: ssh password delay
Chris Warren writes: I'm not an NT fan myself, but from reading your past posts, it seems to do everything you need far better than freebsd. Why not just stick with NT/2k? Just curious. I wanted to diversify my experience. -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: definition of soft/hard interrupts.
Bahadir Balban [EMAIL PROTECTED] writes: In The design and implementation of 4.4BSD, the execution of I'm not sure this affects any of your particular questions, but that book is definitely outdated at this point... workqueues, some timer events and scheduling are referred to as software interrupts, as well as system calls. I thought only system calls would be in soft interrupt category as they are initiated with a software interrupt instruction. A software interrupt actually has its own process context that runs within the lower half of the kernel. Device interrupts are usually handled by packaging the event and passing it to a software interrupt context for handling. I don't think it has to be implemented with a CPU software interrupt instruction. By my definition, a hardware interrupt is one that is notified by the interrupt controller, and to my knowledge, timer events are hardware interrupts. Am I wrong? There's also a softclock and hardclock defined. It is as if, an interrupt handler for an interrupt reported on the controller, is termed as hard, but a low-priority workqueue initiated by a later timer event is called as a software interrupt here. The distinction here mainly being made by their priority. Would you confirm this? That's correct, but there are a couple of additional details that might make it more clear. Those software interrupts can be scheduled by other device interrupts as well -- the canonical example is a hard interrupt servicing a network interface card by setting up the received packet for the software interrupt to handle later, and then re-enabling the card for the next packet. In my opinion this isn't the way to put it and software interrupts should only mean interrupts initiated by interrupt instructions. I suspect the usage dates to before the invention of software interrupt opcodes. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Help!
I seem to have shot myself in the foot by trying to provide *enough* information about both my system and what I'd tried to do and what the results were. I've apparently buried the problem in detail. Can't win :{ A few prefatory remarks so that we're talking more or less the same language: I should also have mentioned but did not that I'm essentially totally ignorant about things microsoft -- explaining freeBSD things in microsoft terms will only confuse me. And that nothing microsoft remains on any of my disks. And that when I say partition I mean a Unix partition; if I want to refer to a slice, that's what I'll say. And now: Since I seem to have buried everyone in detail, please let me summarize the actual problem here with some background and then address a few of the issues you raise. I'll also leave the details at the end for anyone who wants to look. The problem is that: 1. I'm trying to install the newer version of freeBSD on a separate disk. 3.4 is on a different disk. /home is on another. And leftovers from 2.1.5 (mostly /usr and /usr/local is on still another. (Which is which is described below in the discription of my hardware.) 2. I had, back in December, tried to install 4.5 on the subject disk. That installation was from the Walnut Creek CDROM that I'd received when I still subscribed. 3. The 4.5 installation seemed to work but when trying to boot from it, I found that the partitions mounted on, e.g., /usr were those of the disk containing 3.4, not those on that (supposedly) containing 4.5. (I had provided other mount points for those partitions in the disklabel phase (e.g. /usr.34); /usr *should* have been a mount point on the disk to which I had attempted to install 4.5. After a couple of attempts with the same results, I put it on the back burner. 4. In looking through my notes from that abortive attempt, I find the error message: Unable to add /mnt/dev/da3s1b as a swap device: Invalid Argurment. 5. It did the same thing this time. I'm thinking that maybe that is key to the current problem. Is there a limit to the number of swap partitions one can use? I have one on each disk; this one would have been the fourth. Can that be the reason that it tried to fetch everything into some root partition? This is my first attempt at an ftp install so I'm unfamiliar with what it actually tries to do. Do I remember correctly that the swap partition is used for temporary storage during installation? 6. The last time it seemed to have thought that it had successfully installed; it just didn't work. This time it just tried to fetch everything into the root partition -- *some* root partition -- and ran out of space. That makes a certain amount of sense because last time, everything was available to it on CDROM; this time it was not. Aside (regarding failure to boot from CDROM drive): I discovered at that time that the system with the Intel m'board will *not* boot from the CDROM drive although its predecessor with the same hardware except a different m'board did reliably. I have found no BIOS setting that will allow the system to do so. One thought occurs to me but is not relevant to this discussion since I've simply created the boot floppies and boot into the installation from them. That thought is that, when the old m'board died, by the time I got the replacement, I'd forgotten the order that the two SCSI host adapters had been in the PCI slots and interchanged them. Perhaps the Adaptec (to which the CDROM drive) is connected, should be the second of the two so that it's the one set up last. Now to the points that Bob raised: Use your 3.4 FreeBSD system or a win system to download the mini.iso file for 4.11 and then burn it to cd. As mentioned in my original post but possibly not made clear enough, my system has a CDROM drive; not a CD-R or CD-RW drive. Boot your box from the 4.11 mini newly created cd and I also mentioned that this system will not boot from the CDROM although its predecessor did with the same drive. I haven't been able to discover why. accept the default slice sizes, I just used the entire disk as a freeBSD slice. Or tried to. As I recall there was a small piece at the end that was marked unused. select not to install the ports collection. The ports collection is over 3000 strong now and some are variations of same base port. You are being foolish to select all ports as that is unnecessary and a gross waist of disk space. After base install is complete then select the ports you want and install separately. OK, point taken. But the problem is that I never got that far other than answering the initial question about whether I wanted to install the ports. When it gets to the actual ports-installation phase, does it not install them in /usr/ports after the OS has been installed and configured? You are way back level and there has been great changes in the system and the sysinstall process. Read and follow
Bad Block on 4.5
Hello! First of all, I'm not subscribed to this list, so if you choose to respond, please CC this address. I have a 4.5 box with SCSI disks. It hung just now and on reboot it came up in single-user mode. fsck is bitching about block 2144 on the root filesystem and is unable to repair it. Is there any way to get around this? All data is backed up on tape. The man pages for fsck and fsdb did not reveal anything obvious (to me) and all of the articles that I was able to find on Google are for ext2fs. Thanks! Scott ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
MSI km4m-v motherboard and 5.3
Hello, Does anyone have one of these boards? I might have to purchase one and give it a go, but repeated google searches have not shown if this is a bsd compatible board. Are there any gochas i should be aware of? Thanks. Dave. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bad Block on 4.5
Scott Rothgaber [EMAIL PROTECTED] writes: I have a 4.5 box with SCSI disks. It hung just now and on reboot it came up in single-user mode. fsck is bitching about block 2144 on the root filesystem and is unable to repair it. Is there any way to get around this? All data is backed up on tape. The man pages for fsck and fsdb did not reveal anything obvious (to me) and all of the articles that I was able to find on Google are for ext2fs. If the drive has reallocation enabled already, you need to buy a new disk. If it doesn't, though, enabling it may be all you need to do. The What do I do when I have bad blocks on my hard drive? entry in the FreeBSD FAQ will explain this for you: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#AWRE -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hyper threading.
Do you know how MAX_INTS and Device Polling work? I can tell that you don't so why are you blabbering about how you kludged an ancient operating system to work-around poorly designed hardware? First of all, with original 8250 PC serial ports, polling wouldn't have worked because there was no buffering. So there were no chunks to deal with. Which is why someone probably told you it was impossible. If your MB had a later design, such as a 16550, then you could poll and gain some efficiency. HOWEVER, modern controllers have much buffering, and the ability to moderate interrrupts. With polling you have a minimum constant overhead, even with no traffic. Using interrupt moderation, you get the best of both worlds, because the contollers will only interrupt at a pre-set safe interval, and there is no additional overhead. And when there is no traffic there are no interrupts. So if you have good hardware, polling has negative effects on performance. It ads overhead for no additional benefit. -Original Message- From: Anthony Atkielski [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Mon, 28 Mar 2005 20:14:52 +0200 Subject: Re: hyper threading. [EMAIL PROTECTED] writes: Things have changed a bit since then, so I doubt that proof has any relevance. The principles haven't changed at all. Servicing interrupts is an extremely high-overhead activity. There's a minimum amount of time it takes, no matter how short the interrupt routine. There comes a point when just the inherent cost of the context switch is responsible for most of the overall cost of the interrupt service, and with a large number of interrupts, the processor(s) can spend a great deal of time just switching contexts. Polling eliminates this overhead by simply checking for I/O to service when it is convenient for the OS. As long as polls occur frequently enough not to miss any pending I/O, it's faster than interrupt-driven I/O. The total number of instructions executed is often greater, because the OS tends to spin on its polling tasks, but the absolute time required to respond to a given I/O event can be much shorter. In my case, I divided all the work of the comm program into small bits that could be done in tiny chunks. Each time a chunk was completed, I polled the serial port. Since chunks never exceeded a certain size, I always managed to poll the port in less time than it took to receive a character, even at 38,400 bps. The system was busier than it would be with interrupts driving it, but it responded more quickly to incoming traffic, and there were no transfer timeouts, whereas with interrupts, the system was less busy, but it timed out very consistently at high communications rates. By using more processor but evening out the use of processor so that it was more consistently distributed, very high communication rates could be handled by the program. All of this remains permanently applicable today, and it is why some high-speed applications poll instead of waiting for interrupts. -- Anthony ___ 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: su command problem
On Mon, 28 Mar 2005 11:03:23 -0800 (PST), John Public [EMAIL PROTECTED] wrote: Thanks for your quick reply. In answer to your query, NP yes, I installed mysql 4.1 from ports, and it works just fine if I start it using mysqld_safe. However, if I attempt to run it from /usr/local/etc/rc.d/mysql-server.sh, the same behavior occurs. My reasoning for thinking it is a problem w/ the su command is as follows: su -m mysql -c date first, I don't think the 'mysql' binary even has a '-c' option. If I'm following you here, you modify the default startup script (/usr/local/etc/rc.d/mysql-server.sh) to run `su -m mysql -c date`. Instead of the default (w/flags): /usr/local/bin/mysqld_safe --user=${mysql_user} --datadir=${mysql_dbdir} --bind-address=${bind_address} --pid-file=${pidfile} /dev/null why? When I got to digging around in the rc system while I was having the same problem w/ nagios, I discovered that it is using the su command. Hope this makes sense. Once again, thanks for your input and any further insight would be appreciated. I would take a look at the default mysql startup script and compare it to what you currently have in place. (/path/to/ports/database/mysql41-server/files/mysql-server.sh) -jw ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dual-boot WinXP: FreeBSD slice within 8GB? Space for EasyBoot?
Hello - I'm going to install FreeBSD to make a dual-boot laptop (keeping WinXP-Pro). It has 60GB on a single hard drive, currently one big NTFS partition (C:) - which I will shrink down to about 16GB with PartitionMagic, leaving a new generic FAT or FAT32 slice which FreeBSD will overwrite. I have 2 questions: (1) Does the FreeBSD slice have to start before 8GB to be bootable? (2) Is there free space before the WinXP slice already for EasyBoot? Thanks. - Stefan Further details below: (1) Does the FreeBSD slice have to start before 8GB to be bootable? === This is a new machine, so I assume I have BIOS LBA, which got rid of the dreaded 1024 cylinder limit. But the link below (very optimistic, but talking about hard drive with only 1.6GB, way less than 8GB) implies that even with BIOS LBA, my FreeBSD slice still needs to start before 8GB: http://geodsoft.com/howto/dualboot/With BIOS LBA, the hard disk size limitation is virtually removed (well, pushed up to 8 Gigabytes anyway). If you have an LBA BIOS, you can put FreeBSD or any OS anywhere you want and not hit the 1024 cylinder limit. I know people say that FreeBSD can boot from anywhere - but even if its slice starts way out around 20GB?? (2) Is there free space before the WinXP slice already for EasyBoot? http://www.freebsd.org/doc/en_US.ISO8859-1/articles/multi-os/x191.html Some operating systems (FreeBSD included) let you start their partitions right after the Master Boot Sector at Cylinder 0, Head 0, Sector 2 if you want. ... Then when you go to install your boot manager, if it is one that occupies a few extra sectors after the MBR, it will overwrite the front of the first partition's data. In the case of FreeBSD, this overwrites the disk label, and renders your FreeBSD partition unbootable. The easy way to avoid this problem (and leave yourself the flexibility to try different boot managers later) is just to always leave the first full track on your disk unallocated when you partition your disk. That is, leave the space from Cylinder 0, Head 0, Sector 2 through Cylinder 0, Head 0, Sector 63 unallocated, and start your first partition at Cylinder 0, Head 1, Sector 1. For what it is worth, when you create a DOS partition at the front of your disk, DOS leaves this space open by default (this is why some boot managers assume it is free). So creating a DOS partition up at the front of your disk avoids this problem altogether. I like to do this myself, creating 1 Meg DOS partition up front, because it also avoids my primary DOS drive letters shifting later when I repartition. As my laptop already has a DOS (WinXP-NTFS) slice at the beginning of the hard drive, can I just shrink this slice down to about 20GB, install FreeBSD on the slice after that, install EasyBoot, and assume that EasyBoot will be tucked into that sliver of free space before Cylinder 0, Head 1, Sector 1? Thanks, Stefan - Do you Yahoo!? Yahoo! Small Business - Try our new resources site! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: su command problem
I'm apologize for being unclear. Let me try again. I have not modified the mysql-server.sh script in any way. The 'su -m mysql -c date' line is merely an example of what I used to see if 'su' is having a problem. All that line does is run the 'date' command as the mysql user. I used this for testing between the 5.3 system and the 5.2.1 system to see if there was a difference. Indeed there was a difference. On the 5.2.1 system the command ran 'date' w/o any problem and then returned control to the root shell, but on the 5.3 system, it su'ed me to the mysql account, but did not execute the 'date' command and stayed w/ the mysql account. This is how I have come to the conclusion that it has something to do w/ the su command or security relating to it, rather than the scripts which are used to run mysql or nagios. I guess I'm trying to determine if this is a bug in the 'su' command or if there is a security setting somewhere in 5.3 which changes the behavior of 'su'. Thanks again for your attention. John --- Jeff Wirth [EMAIL PROTECTED] wrote: On Mon, 28 Mar 2005 11:03:23 -0800 (PST), John Public [EMAIL PROTECTED] wrote: Thanks for your quick reply. In answer to your query, NP yes, I installed mysql 4.1 from ports, and it works just fine if I start it using mysqld_safe. However, if I attempt to run it from /usr/local/etc/rc.d/mysql-server.sh, the same behavior occurs. My reasoning for thinking it is a problem w/ the su command is as follows: su -m mysql -c date first, I don't think the 'mysql' binary even has a '-c' option. If I'm following you here, you modify the default startup script (/usr/local/etc/rc.d/mysql-server.sh) to run `su -m mysql -c date`. Instead of the default (w/flags): /usr/local/bin/mysqld_safe --user=${mysql_user} --datadir=${mysql_dbdir} --bind-address=${bind_address} --pid-file=${pidfile} /dev/null why? When I got to digging around in the rc system while I was having the same problem w/ nagios, I discovered that it is using the su command. Hope this makes sense. Once again, thanks for your input and any further insight would be appreciated. I would take a look at the default mysql startup script and compare it to what you currently have in place. (/path/to/ports/database/mysql41-server/files/mysql-server.sh) -jw __ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: -CURRENT buildkernel breaks on ndis
On Mon, Mar 28, 2005 at 12:22:34PM -0500, Robert Huff wrote: After updating source and building world (successfully), I tried to build a new kernel. (Current system is: FreeBSD 6.0-CURRENT #0: Sun Feb 13 12:12:07 EST 2005 If you're going to run -current, then you must also read the -current and cvs mailing lists to monitor for breakage and fixage. Or at least wait a day or so and retry after encountering a compile problem since it will usually be fixed by then. Kris pgpZbevi4KcZ7.pgp Description: PGP signature
Re: hyper threading.
[EMAIL PROTECTED] writes: Do you know how MAX_INTS and Device Polling work? I know how device polling works. MAX_INTS is the sort of identifier that probably occurs in seven trillion lines of code in the world, so I have no idea what it means. I can tell that you don't so why are you blabbering about how you kludged an ancient operating system to work-around poorly designed hardware? I didn't say anything about an operating system. First of all, with original 8250 PC serial ports, polling wouldn't have worked because there was no buffering. No buffering was necessary. Even the oldest devices held the most recent character latched in the register, and that's what I picked up. It wasn't necessary to buffer the characters, as I picked them up as soon as they came in ... even at 38,400 bps. So there were no chunks to deal with. The chunks I had in mind had nothing to do with the incoming serial data. They were outstanding tasks divided into small blobs that could be handled between two polls of the serial port. Most of them involved things like writing data to the display, scrolling or clearing the display, and emptying and processing the keyboard buffer, not to mention transmitting outgoing data as required. Which is why someone probably told you it was impossible. They thought it was impossible because they had never thought of just polling the port. With interrupt-driven I/O, it _was_ impossible. But I just decided to stop using interrupts to eliminate that problem. If your MB had a later design, such as a 16550, then you could poll and gain some efficiency. I allowed for buffered input, as I recall, but the PCs I used it on didn't have that, and it would work without it. HOWEVER, modern controllers have much buffering, and the ability to moderate interrrupts. With polling you have a minimum constant overhead, even with no traffic. That's right, but it's a low overhead, compared to the overhead of interrupt service. Using interrupt moderation, you get the best of both worlds, because the contollers will only interrupt at a pre-set safe interval, and there is no additional overhead. And when there is no traffic there are no interrupts. I'm sure that's appropriate in some cases. In my case, it wasn't necessary. So if you have good hardware, polling has negative effects on performance. It ads overhead for no additional benefit. Polling improves performance in the circumstances I've described. The extra overhead is irrelevant as long as the system is less than 100% busy. -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Dual-boot WinXP: FreeBSD slice within 8GB? Space for EasyBoot?
-Original Message- From: Maude User [mailto:[EMAIL PROTECTED] Sent: Monday, March 28, 2005 3:40 PM To: freebsd-questions@freebsd.org Subject: Dual-boot WinXP: FreeBSD slice within 8GB? Space for EasyBoot? Hello - I'm going to install FreeBSD to make a dual-boot laptop (keeping WinXP-Pro). It has 60GB on a single hard drive, currently one big NTFS partition (C:) - which I will shrink down to about 16GB with PartitionMagic, leaving a new generic FAT or FAT32 slice which FreeBSD will overwrite. I have 2 questions: (1) Does the FreeBSD slice have to start before 8GB to be bootable? (2) Is there free space before the WinXP slice already for EasyBoot? Thanks. - Stefan Stefan, I just did the same sort of set up. The only difference was that I blew everything away and started from scratch. I used 3 partitions. The first for WinXP-Pro, The second for FreeBSD, and the third as a drive for swapping files between the two. I set up WinXP-Pro on my first partition using NTFS and alotted 15GB. The swap partition was the third partition, 12GB, and formatted as FAT32. FreeBSD was assigned the remainder of the 50GB harddrive and assigned into Partition 2. I installed WinXP first, then FreeBSD and allowed FreeBSD to install it's multi-boot manager and I haven't had any problems with booting either OS. HTH, Jon Bomgardner Further details below: (1) Does the FreeBSD slice have to start before 8GB to be bootable? === This is a new machine, so I assume I have BIOS LBA, which got rid of the dreaded 1024 cylinder limit. But the link below (very optimistic, but talking about hard drive with only 1.6GB, way less than 8GB) implies that even with BIOS LBA, my FreeBSD slice still needs to start before 8GB: http://geodsoft.com/howto/dualboot/With BIOS LBA, the hard disk size limitation is virtually removed (well, pushed up to 8 Gigabytes anyway). If you have an LBA BIOS, you can put FreeBSD or any OS anywhere you want and not hit the 1024 cylinder limit. I know people say that FreeBSD can boot from anywhere - but even if its slice starts way out around 20GB?? (2) Is there free space before the WinXP slice already for EasyBoot? http://www.freebsd.org/doc/en_US.ISO8859-1/articles/multi-os/x191.html Some operating systems (FreeBSD included) let you start their partitions right after the Master Boot Sector at Cylinder 0, Head 0, Sector 2 if you want. ... Then when you go to install your boot manager, if it is one that occupies a few extra sectors after the MBR, it will overwrite the front of the first partition's data. In the case of FreeBSD, this overwrites the disk label, and renders your FreeBSD partition unbootable. The easy way to avoid this problem (and leave yourself the flexibility to try different boot managers later) is just to always leave the first full track on your disk unallocated when you partition your disk. That is, leave the space from Cylinder 0, Head 0, Sector 2 through Cylinder 0, Head 0, Sector 63 unallocated, and start your first partition at Cylinder 0, Head 1, Sector 1. For what it is worth, when you create a DOS partition at the front of your disk, DOS leaves this space open by default (this is why some boot managers assume it is free). So creating a DOS partition up at the front of your disk avoids this problem altogether. I like to do this myself, creating 1 Meg DOS partition up front, because it also avoids my primary DOS drive letters shifting later when I repartition. As my laptop already has a DOS (WinXP-NTFS) slice at the beginning of the hard drive, can I just shrink this slice down to about 20GB, install FreeBSD on the slice after that, install EasyBoot, and assume that EasyBoot will be tucked into that sliver of free space before Cylinder 0, Head 1, Sector 1? Thanks, Stefan - Do you Yahoo!? Yahoo! Small Business - Try our new resources site! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] == This communication, together with any attachments hereto or links contained herein, is for the sole use of the intended recipient(s) and may contain information that is confidential or legally protected. If you are not the intended recipient, you are hereby notified that any review, disclosure, copying, dissemination, distribution or use of this communication is STRICTLY PROHIBITED. If you have received this communication in error, please notify the sender immediately by return e-mail message and delete the
Re: Dependency problem: atk-1.0.901
Bnonn [EMAIL PROTECTED] writes: Hi everyone, when attempting to install GTK2 or XFCE, I get a stop error stating that the package atk-1.0.901 does not exist. I've checked /usr/ports/accessibility/atk and have found that atk1.6.1 exists, and can be installed without problems, however apparently this is not the right version. You could just install gtk2 from the ports instead of from a package, and then it will use whatever atk you have installed. If you install from a package, then obviously you need the same version installed that the package was linked against. I'm running FreeBSD 5.4 and have tried updating via cvs etc, without any Do you mean you updated via cvsup? Or if you actually mean cvs, then where was the cvs repository, and how do you know it was up-to-date? Which collections do you update? luck. It seems strange to me that this dependency problem would exist, as surely a lot of people install GTK2, if not XFCE. Does anyone know of a way to get around this? I'd sort of like to have a gui for my machine :) Note that 5.4 hasn't been released yet, so if you are trying to match the packages against the system, you need to make sure that the packages area still matches your system's release level (uname -r), as it has gone from 5.4-PRERELEASE to 5.4-BETA1, so the 5.4-PRERELEASE directory path no longer exists on the FTP servers. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dual-boot WinXP: FreeBSD slice within 8GB? Space for EasyBoot?
Hello - I'm going to install FreeBSD to make a dual-boot laptop (keeping WinXP-Pro). It has 60GB on a single hard drive, currently one big NTFS partition (C:) - which I will shrink down to about 16GB with PartitionMagic, leaving a new generic FAT or FAT32 slice which FreeBSD will overwrite. I have 2 questions: (1) Does the FreeBSD slice have to start before 8GB to be bootable? Not as far as FreeBSD is concerned. Since your laptop is fairly recent - last 6 years or so. Then not as far as the BIOS is concerned either. Older than that might be a problem. (2) Is there free space before the WinXP slice already for EasyBoot? Since that is where your WinXP is and it is what did the original allocating, you will have to check it out from that point of view. FreeBSD has nothing to do with that if you shrink the MS slice and make the slice for FreeBSD come after the MS slice - which is the way you want it. I think your Partition Magic can tell you if there are any spare sectors in front of the MS slice (partition in their terms).By the way, make the Partition Magic boot floppies and work from them when shrinking the MS NTFS slice to make room for a FreeBSD slice. It won't work from one installed on the hard disk because you will be modifying the slice it is running from. I don't know if EasyBoot needs extra space or not - haven't used it. But you don't really need it to dual boot the machine between FreeBSD and WinXP-pro. The machine I am typing on at the moment is dual booted between FreeBSD and Win XP-pro and I just use the regular FreeBSD MBR. Its only annoyance is that since the MS slice is NTFS it identifies it as ?? in the boot menu. But it works just fine. If you just have to have a different MBR/booter to make the menu look pretty, then leave the first full track unallocated. I don't think it is worth the bother of trying to move the MS slice if it didn't already leave the room, just to get rid of the ?? in the boot menu.But, maybe you have more time in your life to mess with those details than I do in mine. jerry Thanks. - Stefan Further details below: (1) Does the FreeBSD slice have to start before 8GB to be bootable? === This is a new machine, so I assume I have BIOS LBA, which got rid of the dreaded 1024 cylinder limit. But the link below (very optimistic, but talking about hard drive with only 1.6GB, way less than 8GB) implies that even with BIOS LBA, my FreeBSD slice still needs to start before 8GB: http://geodsoft.com/howto/dualboot/With BIOS LBA, the hard disk size limitation is virtually removed (well, pushed up to 8 Gigabytes anyway). If you have an LBA BIOS, you can put FreeBSD or any OS anywhere you want and not hit the 1024 cylinder limit. I know people say that FreeBSD can boot from anywhere - but even if its slice starts way out around 20GB?? (2) Is there free space before the WinXP slice already for EasyBoot? http://www.freebsd.org/doc/en_US.ISO8859-1/articles/multi-os/x191.html Some operating systems (FreeBSD included) let you start their partitions right after the Master Boot Sector at Cylinder 0, Head 0, Sector 2 if you want. ... Then when you go to install your boot manager, if it is one that occupies a few extra sectors after the MBR, it will overwrite the front of the first partition's data. In the case of FreeBSD, this overwrites the disk label, and renders your FreeBSD partition unbootable. The easy way to avoid this problem (and leave yourself the flexibility to try different boot managers later) is just to always leave the first full track on your disk unallocated when you partition your disk. That is, leave the space from Cylinder 0, Head 0, Sector 2 through Cylinder 0, Head 0, Sector 63 unallocated, and start your first partition at Cylinder 0, Head 1, Sector 1. For what it is worth, when you create a DOS partition at the front of your disk, DOS leaves this space open by default (this is why some boot managers assume it is free). So creating a DOS partition up at the front of your disk avoids this problem altogether. I like to do this myself, creating 1 Meg DOS partition up front, because it also avoids my primary DOS drive letters shifting later when I repartition. As my laptop already has a DOS (WinXP-NTFS) slice at the beginning of the hard drive, can I just shrink this slice down to about 20GB, install FreeBSD on the slice after that, install EasyBoot, and assume that EasyBoot will be tucked into that sliver of free space before Cylinder 0, Head 1, Sector 1? Thanks, Stefan - Do you Yahoo!? Yahoo! Small Business - Try our new resources site! ___
Re: Hardware problems after installing 5.4 pre-release
Here's an update on the sound issue. I ported down and compiled mplayer. I popped in a DVD and typed on the command line: # mplayer dvd:// With that I got sound to play. I then recompile xine, but xine still has no sound. KDE is also soundless. Hopefully this helps. On Mon, 28 Mar 2005 14:43:46 +, Todd Shirk [EMAIL PROTECTED] wrote: To add information on the usb mouse problem when I plug my usb mouse in to the 2 usb 2.0 ports, I get the first error at the command line: uhub1: device problem (SET_ADDR_FAILED), disabling port 2 uhub1: device problem (SET_ADDR_FAILED), disabling port 1 Like the sound, the usb mouse was working fine with FreeBSD 5.3, but stop functioning after rebuild world to 5.4 pre-release. On Mon, 28 Mar 2005 13:50:36 +, Todd Shirk [EMAIL PROTECTED] wrote: You referred to kldstat. I'm not sure what I'm looking for with that or what switch I may need to use. I typed and received the following information: # kldstat Id Refs AddressSize Name 18 0x8010 7c36b8 kernel 21 0x808c4000 50c8 udbp.ko 32 0x808ca000 20ae0netgraph.ko 41 0x808eb000 5f98 ugen.ko 51 0x808f1000 3918 ums.ko I added the founding command and got the following results: # kldload snd_driver # kldstat Id Refs AddressSize Name 1 59 0x8010 7c36b8 kernel 21 0x808c4000 50c8 udbp.ko 32 0x808ca000 20ae0netgraph.ko 41 0x808eb000 5f98 ugen.ko 51 0x808f1000 3918 ums.ko 61 0xa7842000 78d snd_driver.ko 71 0xa7843000 1a7d snd_ad1816.ko 81 0xa7845000 1b9d snd_als4000.ko 91 0xa7847000 1fdd snd_cmi.ko 101 0xa7849000 221d snd_cs4281.ko 112 0xa784c000 3f3a snd_csa.ko 121 0xa785 8add snd_ds1.ko 131 0xa7859000 4375 snd_emu10k1.ko 141 0xa785e000 2c81 snd_es137x.ko 152 0xa7861000 240a snd_ess.ko 164 0xa7864000 1a85 snd_sbc.ko 171 0xa7866000 181d snd_fm801.ko 182 0xa7868000 6e8a snd_mss.ko 191 0xa786f000 227d snd_ich.ko 201 0xa7872000 3e5d snd_maestro.ko 211 0xa7876000 5b3d snd_maestro3.ko 221 0xa787c000 e41d snd_neomagic.ko 231 0xa788b000 184d snd_sb8.ko 241 0xa788d000 1bed snd_sb16.ko 251 0xa788f000 251d snd_solo.ko 261 0xa7892000 221d snd_t4dwave.ko 271 0xa7895000 169d snd_via82c686.ko 281 0xa7897000 225d snd_vibes.ko After doing that, I still do not have any sound. I notice that snd_via8233 is not in the resulting list of loaded drivers in kldstat. My assumption is that it didn't load through kldload since it's being loaded at the kernel level. With the command of: # cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: VIA VT8235 at io 0x1000 irq 10 (5p/1r/0v channels duplex default) It would seem that my sound driver is loading. The audio software seems to believe that there is a sound card to attach to. Could there be a problem with the sound driver I'm using. Would there be a reason why snd_via8233 works fine in 5.3 and not 5.4 pre-release? Also, could the usb mouse problem be part of the same problem, reasoning being that there may be a global hardware issue and that it may be conflicts in device handling vs. a configuration issue? Regardless, I'm happy and willing to try any thoughts. I, also, tried to manually choose snd_via8233 with this result: # kldload snd_via8233 kldload: can't load snd_via8233: File exists In the meantime, I'll try to trace down some helpful error messages from the usb mouse problem. On Thu, 24 Mar 2005 23:15:41 +0100, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On Thu, 24 Mar 2005 22:07:57 + Todd Shirk [EMAIL PROTECTED] wrote: (MYKERNEL is the GENERIC plus the lines needed for loading the sound system and the via8233 sound driver for my sound card) device sound device snd_via8233 (with mergemaster I chose i for each file, indicating to use tempory) I booted into the new environment and started KDE3.4. I noticed that I had no sound and no usb mouse functionality. I did the following: # cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: VIA VT8235 at io 0x1000 irq 10 (5p/1r/0v channels duplex default) did you check with kldstat which module for sounds was loaded ? and tried : kldload snd_driver ? see e.g. : http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html
Re: Dependency problem: atk-1.0.901
Hi Lowell, thanks for your comments...I'm not trying to install via a package. I'm going into /usr/ports/x11-wm/xfce4 (or gtk20) and typing make install clean. Afaik this is how to install a port, unless I'm missing something really obvious. This is when the error occurs. I haven't tried installing using packages (pkg_add?). When the make install runs, it recognizes atk 1.6.1 and has no problem with it, but then bails out later saying it can't find 1.0.91. Yes, I ran cvsup on all ports, and the system, from cvsup.freebsd.org (I think that's the correct address). Had no problems doing this. I'll check uname -r when I get home and see if there appears to be a problem there. Regards Bnonn Lowell Gilbert wrote: Bnonn [1][EMAIL PROTECTED] writes: Hi everyone, when attempting to install GTK2 or XFCE, I get a stop error stating that the package atk-1.0.901 does not exist. I've checked /usr/ports/accessibility/atk and have found that atk1.6.1 exists, and can be installed without problems, however apparently this is not the right version. You could just install gtk2 from the ports instead of from a package, and then it will use whatever atk you have installed. If you install from a package, then obviously you need the same version installed that the package was linked against. I'm running FreeBSD 5.4 and have tried updating via cvs etc, without any Do you mean you updated via cvsup? Or if you actually mean cvs, then where was the cvs repository, and how do you know it was up-to-date? Which collections do you update? luck. It seems strange to me that this dependency problem would exist, as surely a lot of people install GTK2, if not XFCE. Does anyone know of a way to get around this? I'd sort of like to have a gui for my machine :) Note that 5.4 hasn't been released yet, so if you are trying to match the packages against the system, you need to make sure that the packages area still matches your system's release level (uname -r), as it has gone from 5.4-PRERELEASE to 5.4-BETA1, so the 5.4-PRERELEASE directory path no longer exists on the FTP servers. References 1. mailto:[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: hyper threading.
And the circumstances that you have described have nothing to do with modern computing, so as I said, its irrelevant. -Original Message- From: Anthony Atkielski [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Tue, 29 Mar 2005 00:03:07 +0200 Subject: Re: hyper threading. [EMAIL PROTECTED] writes: Do you know how MAX_INTS and Device Polling work? I know how device polling works. MAX_INTS is the sort of identifier that probably occurs in seven trillion lines of code in the world, so I have no idea what it means. I can tell that you don't so why are you blabbering about how you kludged an ancient operating system to work-around poorly designed hardware? I didn't say anything about an operating system. First of all, with original 8250 PC serial ports, polling wouldn't have worked because there was no buffering. No buffering was necessary. Even the oldest devices held the most recent character latched in the register, and that's what I picked up. It wasn't necessary to buffer the characters, as I picked them up as soon as they came in ... even at 38,400 bps. So there were no chunks to deal with. The chunks I had in mind had nothing to do with the incoming serial data. They were outstanding tasks divided into small blobs that could be handled between two polls of the serial port. Most of them involved things like writing data to the display, scrolling or clearing the display, and emptying and processing the keyboard buffer, not to mention transmitting outgoing data as required. Which is why someone probably told you it was impossible. They thought it was impossible because they had never thought of just polling the port. With interrupt-driven I/O, it _was_ impossible. But I just decided to stop using interrupts to eliminate that problem. If your MB had a later design, such as a 16550, then you could poll and gain some efficiency. I allowed for buffered input, as I recall, but the PCs I used it on didn't have that, and it would work without it. HOWEVER, modern controllers have much buffering, and the ability to moderate interrrupts. With polling you have a minimum constant overhead, even with no traffic. That's right, but it's a low overhead, compared to the overhead of interrupt service. Using interrupt moderation, you get the best of both worlds, because the contollers will only interrupt at a pre-set safe interval, and there is no additional overhead. And when there is no traffic there are no interrupts. I'm sure that's appropriate in some cases. In my case, it wasn't necessary. So if you have good hardware, polling has negative effects on performance. It ads overhead for no additional benefit. Polling improves performance in the circumstances I've described. The extra overhead is irrelevant as long as the system is less than 100% busy. -- Anthony ___ 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]
xmodmap and juggling secondary pointer buttons
I'm confused. xmodmap does not seem to be able to rearrange secondary pointer device buttons in any way. I have two pointer devices (as implied above) that work fine, so long as I keep the secondary configured to use only the basic 3 buttons and wheel. Both devices have two additional buttons, but they (all) behave strangely unless I use the following line in .xsession: xmodmap -e pointer = 1 2 3 6 7 4 5 This changes the button reporting in xev for the core pointer device, but not the secondary pointer. Without that, the wheel acts as a forward/back history click in my browser, and the extra buttons act like the scroll up/down should. This makes the extra buttons behave as a history forward/back, and the wheel behave as it's expected to. I've tried changing the ZAxisMapping settings, but this doesn't seem to make a difference. I've also tried a number of different configs and ZAxisMapping settings, and I've narrowed it down to the CorePointer/SendCoreEvents options. My pointer buttons report as follows: $ xmodmap -pp There are 7 pointer buttons defined. PhysicalButton Button Code 1 1 2 2 3 3 4 6 5 7 6 4 7 5 This is accurate for the primary pointer, but not the secondary. If I configure the secondary to use ZAxisMapping of 4 5 the wheel works as expected and the extra buttons don't report at all. If I use 6 7, the extra buttons work like the wheel scrolling is expected, and the wheel scroll works like the extra buttons are expected (and do in the primary pointer. It's minor at this point, but I'm still curious; does anyone know why this happens, and if there's a workaround to get the secondary pointer buttons rearranged? TIA Lou -- Louis LeBlanc FreeBSD-at-keyslapper-DOT-net Fully Funded Hobbyist, KeySlapper Extrordinaire :) Please send off-list email to: leblanc at keyslapper d.t net Key fingerprint = C5E7 4762 F071 CE3B ED51 4FB8 AF85 A2FE 80C8 D9A2 Statistics means never having to say you're certain. pgpeTQBaozXPv.pgp Description: PGP signature
Upgrading from 5.3-RELEASE-p5 to p6
I just upgraded a test machine from 5.3-RELEASE-p5 to 5.3-RELEASE-p6. The make buildworld went fine. When I tried to make buildkernel it kept saying that: kernel build for GENERIC complete on xx.xx.xx time I tried using the old way of bulding a kernel and that went without issue. I'm bringing this up to see if it's a bug or if it's just something dorked up on my end. -- Thanks, Josh Paetzel ___ 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 get send-pr/porttools working when on a cable (dsl)provider link -- Thanks
On Monday 28 March 2005 17:25, you wrote: On Mon, 28 Mar 2005 10:49:47 +0200 Florent Thoumie [EMAIL PROTECTED] wrote: Danny Pansters a écrit : I already set my isp's smtp as smart relay in freensd.mc and did make, but now my FQDN hostname is not considered cosher (helo)... its desktop.homenet, a local name. How do I solve this? (also...contrast this inconvenience with every non-subscribed spammer being able to spam us if she has a colo set up properly...) You might want to use ssmtp. Since you're using your ISP's smtp server to send mail, there should be no problem if you don't have a FQDN hostname. A very simple and complicated HOWTO :) http://www.cultdeadsheep.org/~clement/FreeBSD/send-pr+ssmtp.txt clem This is an excellent solution, much better than what I did before. I was actually editing the sendmail .cf file to change my FQDN and address. Messy. I can simply use my regular email address @ricin.com (at a hosting provider) too now. Both send-pr and porttools need a slight modification to also take the preferred email adress from .ssmtprc. To have the right from and be also recognised as maintainer by porttools something like this will do: --- cmd_submit.orig Tue Mar 29 00:10:35 2005 +++ cmd_submit Tue Mar 29 00:36:17 2005 @@ -70,6 +70,11 @@ COMMITTER=no RUN_PORTLINT=yes +# Set EMAIL to what's in ~/.ssmtprc if it exists +if [ -f ${HOME}/.ssmtprc ]; then + EMAIL=`cat ${HOME}/.ssmtprc` +fi + # Parse command line arguments ARGS=`/usr/bin/getopt hm:d:s:p:cL $*` if [ $? != 0 ] Thanks a lot, sane solution with little effort, just the way I like it :) Dan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]