Re: Dell XPS 8940 SATA and NVMe disk controller not recognized
On Sat, Apr 03, 2021 at 02:25:30PM -0500, Karl Dunn wrote: > I have new Dell XPS 8940 that came with Windows 10 Home installed. I have > created two partitions for FreeBSD, one on its NMVe 256GB SSD, and one on > its WD 1TB HD. > > For now, I have 12.2-RELEASE-p4 GENERIC on a USB memstick, so I can do > some limited testing. > > FreeBSD 12.2 does not recognize the SATA/RAID controller, which I assume > is resposible (in Win10) for accising both drives. > > The relevant pcoconf line for the controlleris: > > none7@pci0:0:23:0: class=0x010400 card=0x09c51028 chip=0x06d68086 rev=0x00 > hdr=0x00 > vendor = 'Intel Corporation' > class = mass storage > subclass = RAID See if the BIOS offers a choice of configuring the controller as SATA instead of RAID. That worked for me on an Inspiron 1180. (It also made W10 unbootable - apparently each OS occupies its own universe.) ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: USB disks dropping off-line
I've had what may be the same problem for years, with a USB3 disk, on both 10-stable and 12.0-release. I've never found a cause, though power gitches might be responsible. As a pragmatic fix I have the backup disk as a zpool and run a daemon that simply does a zpool clear if it finds the pool unhealthy during the backup. That lets the backup complete every time - the pool is set to wait on error, so having the daemon check once a minute works with minuscule overhead. On Fri, Jan 11, 2019 at 11:31:55PM -0800, Kevin Oberman wrote: > Que Twilight Zone theme. For your consideration: This started in December > when I was running 11.2-STABLE. Starting in December, when I try to backup > my laptop to a USB drive, it periodically dropped off-line (disconnected) > and immediately reconnected. This was originally using rsync. It seemed > fairly random and, eventually I got a successful backup. After I upgraded > to 12.0, it was much worse and I could no longer get a clean rsync. > > I assumed that the drive was failing and swapped it for an identical one, > re-partitioned, and used dd to copy each partition. The same thing > happened, but I noticed that it seemed to happen when the system was a bit > active. I then shutdown X and tried with nothing else running. It ran for a > few minutes until I did a sync from a different login while the dd was > running. Boom. Disk disconnected again. > > I finally got an almost complete backup of /usr. I had about 1-2 GB lest > when it happened again. I suspect that some background operation (periodic > sync?) triggered it again. > > Any suggestions? > > Here is my system info: Lenovo T520 now running FreeBSD 12.0-STABLE r342788 > and GENERIC config except SCHED_4BSD. System is completely stable except > for the USB disk dropping off-line. Disk is a 2TB WD My Passport. It is a > USB 3.0 drive,but plugged intoa 2.0 port. (The T520 has no 3.0 capability. > > Has anyone seen anything like this? Any ideas? I am REALLY nervous running > without a backup. > -- > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkober...@gmail.com > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > ___ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org" -- Forcing a woman to bear a child against her will is the moral equivalent of rape. Resist. Persist. We shall overwhelm. ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: What is negative group permissions? (Re: narawntapu security run output)
The r for other means that you have not accomplished your goal. It makes no sense to have group with less permission that other, so the script is warning of a misconfiguration. On Sun, Dec 23, 2012 at 10:51:24AM -0500, Mikhail T. wrote: On 23.12.2012 03:05, Charlie Root wrote: Checking negative group permissions: 8903027 -rw--w-r-- 1 miwww794277 Oct 23 07:47:45 2007 /home/mi/public_html/syb/order/download.log Hello! The above started to appear in the daily security run output after I upgraded to 9.1. I don't understand, what this check is doing or why the above file is reported -- what's abnormal (warning-worthy) about allowing the web-server to write to, but not read a file? I did it on purpose to keep all files associated with a project together, but without inadvertently serving some of them... ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: every 2nd echo-request malformed when ping -s 4067
0040 - 4000 looks like a network byte order issue, perhaps. I have a faint memory of issues of when tcpdump looks at packets, determining whether UDP checksums are shown, for example. Possibly this is some artefact of outboarding? ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: 8.0-RELEASE - -STABLE and size of /
On Sat, Jan 23, 2010 at 10:43:49PM +1030, Daniel O'Connor wrote: On Sat, 23 Jan 2010, Ruben de Groot wrote: To be a little more precise: it's not the kernel that is so big. It's all the (mostly not needed) modules and symbol files that fill up / Maybe they could be put somewhere else.. I have a stupid question: Why are modules built and installed for things that are already included in the kernel? That would seem (I haven't looked) to be a simple change that would both speed up builds and shrink /boot/kernel. -- Barney Wolff I never met a computer I didn't like. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: r197748 - base/stable/7/bin/sh/ 7.2-STABLE i386
I believe you are wrong about prior behavior. sudo is from a port and is in /usr/local/bin. Any shell is going to expand the list of args *before* giving control to the executable. So the system will churn for a while before sudo gets to ask for the password. On Thu, Oct 08, 2009 at 12:59:36AM -0400, jhell wrote: r197748 | jilles | 2009-10-04 13:16:11 -0400 (Sun, 04 Oct 2009) | 7 lines MFC r197371: Mention that NUL characters are not allowed in sh(1) input. I do not consider this a bug because POSIX permits it and argument strings and environment variables cannot contain '\0' anyway. PR: bin/25542 Recently I have been noticing strange happenings of what I believe to be coming from the latest revision of /bin/sh. Prior to this revision it had not happened to the following examples. I am taking this as it could just be a following behavior in sudo due to fixing the first behavior in sh(1) but I am not sure and looking for feedback. How to repeat: ( Let me know if this is only me. ) # sudo rm -rf /usr/ports/*/*/work After issuing the above command the process waits for the list of (work) directories to be collected and ends by bombing out with pam timeout error. This could probably be easier seen with higher IO load but it has struck me kind of odd since I have not seen it at all till now. Also once it gets started you can not ^C the process until it has run the full directory tree. Behavior before, you could issue the command and it would ask you for your password before it would issue any IO to the disk. Is the new behavior called for adjusting your command to sh -c rm -rf /usr/blah/bloo/bla* ? -- Barney Wolff I never met a computer I didn't like. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: Error when using 'portupgrade -ay' (and several others) [Second attempt]
I got around this by using -k. Dependencies are a maze of twisty little passages, all alike. I'll take my chances with the grue. On Sat, Aug 01, 2009 at 04:17:17PM +0200, Jens Rasmus Liland wrote: Hi, I'm getting really weird problems when trying to upgrade my ports. I've already discussed this with Dan Naumov on the stable mailing list, and he is out of ideas on what I am to do. I've tried to fix the problem using many different methods (i.e. csup stable-ports-supfile; Portmaster -a/-af, portupgrade -ay, nuking the entire ports tree and then doing fetch ports; extract, and similar stuff), but everyone seems to get the same error, and not come any further. The ports my system is trying to update is not in the ports tree anymore either, so it is really strange that it is trying to update it self. Here is some outputs I've already posted on the stable mailinglist: Running 'portupgrade -ay'. Got this output: --- Session started at: Fri, 10 Jul 2009 18:58:30 +0200 ** Port directory not found: x11-drivers/xf86-video-vga ** Port marked as IGNORE: x11-drivers/xf86-video-via: requires pciVideoPtr typedef ** Port directory not found: x11/xorg-protos ** Port directory not found: x11/xphelloworld ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: Error when using 'portupgrade -ay' (and several others) [Second attempt]
portupgrade -k x11-drivers/xorg-drivers x11/xorg Barney On Sat, Aug 01, 2009 at 07:50:45PM +0200, Jens Rasmus Liland wrote: So what command am I supposed to run? On Sat, Aug 1, 2009 at 4:50 PM, Barney Wolff bar...@databus.com wrote: I got around this by using -k. Dependencies are a maze of twisty little passages, all alike. I'll take my chances with the grue. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: em watchdog timeout on UP, 6-stable
On Fri, Sep 08, 2006 at 09:25:43PM +0400, Gleb Smirnoff wrote: Barney, On Tue, Sep 05, 2006 at 02:33:52PM -0400, Barney Wolff wrote: B Updated my Athlon-xp 6-stable system last night, got an em watchdog B timeout for the first time a few hours later, during a fairly B high-traffic period. System is UP but does have device apic in B the config. Any chance this is the recent race condition? B Workaround? ifconfig em0 down, ifconfig em0 up seemed to cure it, B at least for the moment. Not clear from your mail whether interface was working after the event occured. In the watchdog timer case it was not. Looking further, I had several cases where nfs-over-tcp failed under heavy load, but the interface did not report failure and continued to work. The system sending nfs writes logged nfs send error 35 and gzip died with resource temporarily unavailable. (I haven't looked at the code - EAGAIN?) In the watchdog timer case the cpu was very busy with portbuilding and the system was receiving nfs writes. But the nfs failures happened in both directions (I have two systems which back up each other, at different times). Before updating from a 6/14/06 6-stable to 9/04/06, such nfs failures were unknown unless I tried to run both backups simultaneously. Systems are on a cheap netgear gb switch, other system is current but a couple of months old. After the watchdog timer, the link was unidirectional - sending worked (packets were correctly received on the other system) but receiving did not work. Then, after another 9 minutes, it seemed to stop working in either direction, until manually down/up'd hours later. I can put logs on a webserver if that would be useful. -- Barney Wolff I never met a computer I didn't like. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
em watchdog timeout on UP, 6-stable
Updated my Athlon-xp 6-stable system last night, got an em watchdog timeout for the first time a few hours later, during a fairly high-traffic period. System is UP but does have device apic in the config. Any chance this is the recent race condition? Workaround? ifconfig em0 down, ifconfig em0 up seemed to cure it, at least for the moment. Thanks, Barney Wolff -- Barney Wolff I never met a computer I didn't like. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade-2.1.3.2,2 doesn't work with db42
On Sat, Jul 08, 2006 at 02:30:25PM +0200, Miroslav Lachman wrote: I am upgrading some machines today and those with db42 installed failed after portupgrade from portupgrade-2.1.3,1 to portupgrade-2.1.3.2,2. Every command from portupgrade package ends with: /libexec/ld-elf.so.1: /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd6/bdb.so: Undefined symbol db_version_4002 I have this problem on FreeBSD 4.11, 5.4 and 6.0. On these boxes I have more then 1 version of BDB: I had the same problem. Fixed it by deleting db41 and rebuilding db42, ruby-bdb and portupgrade. -- Barney Wolff I never met a computer I didn't like. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: apache+mod_ssl signal 4
On Fri, Apr 01, 2005 at 06:59:11PM -0800, Doug White wrote: pid 62364 (httpd), uid 0: exited on signal 4 (core dumped) Apr 1 11:48:45 www kernel: pid 62364 (httpd), uid 0: exited on signal 4 (core dumped) Signal 4 is SIGABRT, which is a software-initiated abort. Well, no, it's ILL, indicating perhaps code compiled for a different cpu model than it's being run on, or a trashed library. -- Barney Wolff http://www.databus.com/bwresume.pdf I never met a computer I didn't like. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: natd virtual hosting
On Mon, Mar 22, 2004 at 11:15:10AM -0800, Eli K. Breen wrote: NAT works with IP addresses. Why can't you just use Virtual Hosts in Apache? Do you really need to run both versions? Yes. Unfortunately. (Slash does not run on 2.x, many of the sites require 2.x) I am already running virtual hosts on apache, there are many more than two sites, I've just simplified it for the sake of clarity. I'd look into using a reverse proxy, or getting a second public IP addr. -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SSH strangeness on 4.9
On Sat, Jan 31, 2004 at 06:28:09PM -0600, Frank Knobbe wrote: Just to clarify, even typing exit to end the ssh session will close the window but leave the ssh instance in the process list. I can't even kill -9 that sucker. Are you starting any X app or anything else via a forwarded port? The ssh session won't go away until connections over the forwarded ports are all closed. -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CMedia CMI8738 on board; crackle sound
On Thu, Oct 23, 2003 at 05:57:01PM -0400, Eric Pogroski wrote: On Fri, 24 Oct 2003 00:35:17 +0400 Dmitry Dergachev [EMAIL PROTECTED] wrote: 1) #dmesg | grep pcm pcm0: CMedia CMI8738 port 0xe400-0xe4ff irq 10 at device 19.0 on pci0 2) Mother Board Chaintech CT-7VJD with on board sound Hi. I have the same chip on mine (Asus A7V333 w/ audio), and it gave me the same problems. I added these lines to their respective files, and the problems went away: /boot/loader.conf hw.pci.allow_unsupported_io_range=1 /etc/sysctl.conf hw.snd.pcm0.vchans=6 hw.snd.maxautovchans=6 kernel config has devicepcm Just to add to the confusion, I have the same A7V333 and have never had any trouble with sound, with nothing for it in loader.conf. -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 4.9-PRERELEASE PAE panics Highpoint Raid module (hpt374.ko)
On Fri, Aug 29, 2003 at 09:36:47AM -0400, Andrew Atrens wrote: I preload the module, and during boot I see a panic when it attempts to initialise. 100% reproducible. The panic seems to happen in pmap_kthread... (mumble) ... I got this from a ddb 'trace' command. As I recall, with PAE things must be compiled into the kernel, because modules don't see the necessary PAE switch during compilation. That said, I have no idea if the hpt driver has been updated for PAE. -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Security Advisory FreeBSD-SA-03:04.sendmail
On Mon, Mar 03, 2003 at 09:57:06AM -0800, Bruce A. Mah wrote: Every cvsup mirror updates on a periodic schedule. The commits to the src tree (which happened about 30 minutes ago) probably haven't made it to all the mirrors yet. (You can see the changes in cvsweb, probably the cvs-all mailing list archives as well.) As of 13:06 EST, the commits had made it to head but were NOT tagged with RELENG_4 or RELENG_5_0 from cvsup3. I gave up and downloaded the patch, which worked fine on both of the above. -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: 4.7-R-p3: j.root-servers.net
On Mon, Jan 27, 2003 at 10:57:24AM +1100, [EMAIL PROTECTED] wrote: Firstly there is no proof that it will actually increase the load on the roots. It may well decrease the load. The analysis has not been done. Secondly it is more robust. You are no longer dependent on having to be able to reach a root server when your nameserver starts. Thirdly the vast majority (90%) of the queries to the roots result in negative answers. These are cached for a much shorter period than the positive answers. Forth you don't need to have every one of your nameservers talking to the root servers. You can use one server to get the zone and use it to distribute the zone to your other servers. Well! When ISC officially endorses this technique, by distributing bind with it set up as the default, I'll be pleased to change my mind. Until then, not. -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: 4.7-R-p3: j.root-servers.net
Just for the record, I wrote ... is evil not the nonsense about OpenNIC. Please don't misattribute idiocy to me - my reputation is all I've got. Barney Wolff On Mon, Jan 27, 2003 at 02:58:54PM +1100, [EMAIL PROTECTED] wrote: On Sun, 26 Jan 2003, Barney Wolff wrote: And of course, using the alternate roots is evil. Why is that then? I'm slaving the OpenNIC ones here without any trouble. DNS just being an information service in the end I can't see why there has to be the only one of its type. In fact, how can it be a standard if there is only one implementation? :-) Did you ever here the term natual monopoly. The DNS root is a example of such. When you try to change it all you do is reproduce it with additional unnecessary baggage like have to find all the roots to register the new TLD in. -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: [v]asprintf leaks memory
On Wed, Sep 25, 2002 at 04:02:37PM -0700, David Schultz wrote: I don't really care one way or the other, but regardless of what the manpage says, reallocf()'s semantics should probably match the way it's already used. Maybe what I found was an isolated bug and reallocf() DTRT already. In that case, the patch I posted should probably be applied. Could you please explain exactly how the original code leaks memory? Maybe I'm being dense today but I just don't see it. If reallocf returns NULL the original buffer has been freed. -- Barney Wolff I'm available by contract or FT: http://www.databus.com/bwresume.pdf To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: setting up a CVSup repository
This can be done, as another poster has indicated. But it may be too much effort for what you want to accomplish. There are multiple ways to administer a collection of FreeBSD systems without having each one do its own cvsup: 1. As you asked, set up your own cvsup mirror. It seems to me that this is the way to go only if the systems that will be using it are not under your direct supervision. 2. Do cvsup of the cvs archive on one machine, then have others do their own remote CVS checkouts from the archive on that. This is simpler in some ways on the server, and really no harder on the clients. It allows you to build current and stable and cpu flavors, as you wish. 3. cvsup on one machine, build on that, and have all the others NFS mount /usr/src, /usr/obj and /usr/ports. This has the feature that you control which version is in use and saves a lot of time on all the client machines. It is clearly the way to go if all the machines are under your supervision and you're willing to build stuff that will run on all your cputypes - the optimizations available for each type are really minor within the x86 family so the loss of the last inch of performance is worth the generality, imho. I build separate kernels for each x86 flavor but a common world. I actually do #2 but only do the checkout on the local machine and build there. On Wed, Aug 14, 2002 at 09:19:35AM -0400, Matthias Trevarthan wrote: I'd like to set up a repository on ONE server for all the ports AND /usr/src. Then I'd like my other machines to download it via cvsup just like they would from some machine out on the net, but with the speed of 10/100... -- Barney Wolff I'm available by contract or FT: http://www.databus.com/bwresume.pdf To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: mergemaster mtree:No such file or directory
I agree vigorously with Randy's point. If people want to play games, they can edit mergemaster or, as with everything else, we should have it dot an optional /etc/mergemaster.conf file after setting its defaults. Would /usr/bin/make buildworld do funny things if PATH were odd? On Sun, Mar 24, 2002 at 03:48:45PM -0800, Randy Bush wrote: I think giving mergemaster(8) a PATH that includes all of the tools it needs to run is not a lot to ask. it would more normal to this over-attenuated hacker to give commands explicit paths -- Barney Wolff I never met a computer I didn't like. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: prism2 128 bit wep keys?
Are you quite sure the Linksys access point supports 128-bit keys? On mine, the box said yes but the documentation, what there was of it, seemed to say no. I didn't look very hard but remember being rather annoyed. On Mon, Nov 19, 2001 at 03:52:21PM -0800, Nick Sayer wrote: Peter Radcliffe wrote: [EMAIL PROTECTED] probably said: I just obtained a Linksys 802.11b access point. I previously was using an Apple Airport. 64 bit (40 bit, really) WEP keys work, but 128 bit (104 bit, really) keys don't with the wi driver using my Netgear MA401. I'm not quite sure whether to blame the access point or the FreeBSD driver. Has anyone seen 128 bit keys working on prism2 wi cards under FreeBSD? Not personally, I use lucent or cisco client cards, but one thing to note is that different company's text representations (passphrases) of keys do not agree. Whenever I have key problems the first thing I check is that the key is entered in hex at both ends. You're quite right. But in this case it is indeed hex both places (I get my WEP keys from hexdump /dev/random). To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message -- Barney Wolff Nonetheless, ease and peace had left this people still curiously tough. They were, if it came to it, difficult to daunt or to kill; and they were, perhaps, so unwearyingly fond of good things not least because they could, when put to it, do without them, and could survive rough handling by grief, foe, or weather in a way that astonished those who did not know them well and looked no further than their bellies and their well-fed faces. J.R.R.T. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: Who's HUPing my daemon?
Wouldn't running the daemon under nohup in /usr/local/etc/rc.d/xxx.sh accomplish the same thing? I know it's inelegant, but it should work, unless I'm missing something. Barney Wolff On Sun, Jun 03, 2001 at 06:55:09PM +0300, Valentin Nechayev wrote: Fri, Jun 01, 2001 at 12:10:35, gnb (Gregory Bond) wrote about Who's HUPing my daemon?: Proper daemonization consists of many steps, some of them are: 1) chdir(/), to prevent staying on file system which must be unmounted. (But let's consider changing sysctl kern.corefile to absolute path.) 2) Close all unneeded file handles, including 0,1,2, and reopen /dev/null or log files on them. 3) Setup own session with setsid(). This is exact what you need now. Of course, daemon() will do the same in one call of itself, but it is unportable. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: 4.3-STABLE panics while mounting CD-R
Is it an audio cd? I've experienced the instant panic when mistakenly trying to mount such as a cd9660 fs. Of course it shouldn't panic, but the workaround is not to do that. Barney Wolff On Sat, May 12, 2001 at 01:24:46AM +0800, Eugene Grosbein wrote: Hi! 4.3-STABLE built 26 April 2001 does panic immediatly after mount -t cd9660. This is 100% repeatable with one particular CD-R when I do mount /cdrw (it runs very stable while I do not start playing with this disk). To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: RE: Proposed makewhatis perl script fix
Er, could it possibly be that telnet has been hiding the error all along? It's really, really hard to see how ssh could *create* this sort of error. Barney Wolff On Sun, Feb 11, 2001 at 09:35:43AM +0100, Blaz Zupan wrote: pkg_add runs tar with the --fast-read option to extract the table of contents. When I remove the option pkg_add no longer reports broken pipes. When gunzip'ing piped to tar, and tar exits early due to the option, gunzip properly gets a 'gzip: stdout: Broken pipe' error. Maybe 'tar' was changed recently, maybe 'gunzip' was changed recently, I don't know. But it isn't a kernel problem. The kernel is doing exactly what it is supposed to be doing. A simple "cvs diff" between RELENG_4_2_0_RELEASE and RELENG_4 reveals, that gzip has not changed at all, while tar has only grown bzip2 support. As Kent suggests, ssh might be the problem. To verify, I have just logged in through telnet and done a "pkg_add gmake-3.79.1.tgz". And yes indeed, the broken pipe message disappears. So the OpenSSH 2.3.0 seems to be causing the problem. Blaz Zupan, Medinet d.o.o, Linhartova 21, 2000 Maribor, Slovenia E-mail: [EMAIL PROTECTED], Tel: +386-2-320-6320, Fax: +386-2-320-6325 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
Re: Mozilla build failure, 4-stable
Yes I understand the significance of /usr/obj, but not why, in detail, the port builds fail. In any case, if there are some specific directories that cause problems, perhaps bsd.port.mk should check for them and complain, rather than letting the build fail with baffling errors. Barney On Mon, Feb 12, 2001 at 07:19:56AM +0900, FUJISHIMA Satsuki wrote: At Sat, 10 Feb 2001 01:04:45 -0500, Barney Wolff wrote: Try anything BUT /usr/obj as WRKDIRPREFIX. /usr/obj/ports, for example. I found most or all ports fail to build if that specific directory is used. I have no idea why. man make and read .OBJDIR section. -- FUJISHIMA Satsuki To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
Re: could netscape hose my dialup modem traffic?
I have seen some weird paging behavior with netscape (4.76) on 4.2 (beta, then stable as of 11/29). Sometimes netscape and X get into a fight over memory, with both seeming to be largely non-resident although there is free memory. I can usually provoke this by opening an extra window in jsp (for example by clicking on the "vote" box on www.cnn.com). Quitting netscape makes the symptom go away, in that I can restart netscape without paging. This is on an smp P6/200 with 64 MB. I'm not running ppp. When you get into the syndrome, run top and see if you're doing a lot to swap with netscape largely non-resident. Barney Wolff On Thu, Nov 30, 2000 at 02:49:26PM -0800, Gary Kline wrote: This latest began only after I ungraded to 4.X (I'm currently at 4.1 and content). The problem is that occasionally my dialup thru-put drops to 5 or 10bps. Trying to get anything done via telecommuting is virtually impossible. One thing I thought it might be is the ``stray irq 7'' stderr messages... nope, don't think so. My latest clue was having 3 netscapes instantiated. Out of the blue, my response went from normal to rotten. To get things back to normal there was only one rational move: shutdown -r. I'm thinking that this might be a system problem rathen than one with ppp. netscape and DNS? (?) I've seen one similar posting like this on -questions, but saw no response. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message