Re: UPDATE5: ATA/ATAPI driver new version available.
Dear Soren, Following is small patch for your great ata driver which intended to disable annoying unwanted interrupt console message on notebooks (personally I have it every 1 minute of absent disk activity ;)? ) Sincerely, Maxim Sobolev *** ata-all.c.orig? Wed Mar 31 10:28:05 1999 --- ata-all.c?? Wed Mar 31 10:29:39 1999 *** *** 456,462 --- 456,464 ? default: ? case ATA_IDLE: ??? if (intcount++ 10) +?? #ifndef SURPRESS_UNWANTED ??? printf(ata%d: unwanted interrupt %d\n, unit, intcount); +?? #endif ? inb(scp-ioaddr + ATA_STATUS); ??? return; ? } ? To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Sysinstall is not friendly to foreign boot managers
Hi, It seems that sysinstall silently marking FreeBSD partition as active even if I have other partition active (WinNT in my case) and have working NT boot manager to boot FreeBSD. This behaviour observed not only in Fdisk editor but in Label Editor as well. Sincerely, Maxim Sobolev To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: AIC
On Tue, 30 Mar 1999 18:34:08 +0200, Leif Neland wrote: Is it doomed forever? Grrr, I think the whole reason it was removed was to avoid questions like this. ;-) The removed aic driver is not under active development, and there are no plans to revive it in the foreseeable future. See? :-) Ciao, Sheldon. To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: /var/db/pkg/.mkversion
On 30 March 1999, Satoshi Asami proclaimed: Some of you may have stumbled upon bsd.port.mk complaining about the lack of said file even after a make world. This was caused by my mistake of forgetting to update src/share/mk at the same time I committed the check to bsd.port.mk. I have since corrected it so if you cvsup again and make world again (actually just make install in src/share/mk), all will be well. As a workaround, echo 19990328 /var/db/pkg/.mkversion will work equally fine. Just a side note; this new file breaks pkg_info. I've appended a simple patch below; somebody ought to do something better for the version in the src tree. Whilst I'm here, a tip. If you use the zsh, here's command completion for the some of the pkg commands: compctl -g '/var/db/pkg/*(/:t)' pkg_delete pkg_info -- Dom Mitchell -- Palmer Harvey McLane -- Unix Systems Administrator Value of 2 may go down as well as up -- FORTRAN programmers manual diff -urP /usr/src/usr.sbin/pkg_install/info/perform.c pkg_install/info/perform.c --- /usr/src/usr.sbin/pkg_install/info/perform.cMon Jan 4 06:15:40 1999 +++ pkg_install/info/perform.c Wed Mar 31 09:43:41 1999 @@ -135,8 +135,10 @@ return 1; } if (chdir(log_dir) == FAIL) { - warnx(can't change directory to '%s'!, log_dir); - return 1; + if (strcmp(log_dir, /var/db/pkg/.mkversion) != 0) { + warnx(can't change directory to '%s'!, log_dir); + return 1; + } } installed = TRUE; } -- ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. ** To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: /var/db/pkg/.mkversion
* From: Dom Mitchell dom.mitch...@palmerharvey.co.uk * Just a side note; this new file breaks pkg_info. I've appended a simple * patch below; somebody ought to do something better for the version in * the src tree. Eek. I didn't know it tries to open all files without checking whether it's a directory or not * if (chdir(log_dir) == FAIL) { * -warnx(can't change directory to '%s'!, log_dir); * -return 1; * +if (strcmp(log_dir, /var/db/pkg/.mkversion) != 0) { * +warnx(can't change directory to '%s'!, log_dir); * +return 1; * +} This doesn't look right. I found where it's skipping . and .., either we add .mkversion there, skip all entries that start with an ., or check whether a given entry is a directory. I implemented the second option, I think I can ensure that there will be no packages that start with a .. Jordan, is this ok? === Index: perform.c === RCS file: /usr/cvs/src/usr.sbin/pkg_install/info/perform.c,v retrieving revision 1.26 diff -u -r1.26 perform.c --- perform.c 1998/12/16 13:59:31 1.26 +++ perform.c 1999/03/31 09:04:50 @@ -57,7 +57,7 @@ dirp = opendir(tmp); if (dirp) { for (dp = readdir(dirp); dp != NULL; dp = readdir(dirp)) - if (strcmp(dp-d_name, .) strcmp(dp-d_name, ..)) + if (dp-d_name[0] != '.') err_cnt += pkg_do(dp-d_name); (void)closedir(dirp); } === -W To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: /var/db/pkg/.mkversion
On Wed, Mar 31, 1999 at 09:56:07AM +0100, Dom Mitchell wrote: On 30 March 1999, Satoshi Asami proclaimed: Just a side note; this new file breaks pkg_info. I've appended a simple patch below; somebody ought to do something better for the version in the src tree. Yep, this definitely suggests that /var/db/pkg isn't the appropriate place for the make version file. I think /usr/share/mk would be better. After all, that's where the make files that it's saying what the date of are anyway. And potentially, things other than ports might want to refer to it as well. -- William R. Somsky wrsom...@halcyon.com Physicist, Baritone, Guitarist http://www.halcyon.com/wrsomsky To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: AIC
The aic driver will likely oneday be ported. However, no one has come forward to do it. It is a highly desirable driver to have (even if writing it would be a pain) because the only pccard scsi cards that are out there are aic-6[23]60 based. However, the sad fact is that the development is less than active on this driver. Warner To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
egcs knob and objective C
Is there a simple knob to turn to get the egcs compiler by default? I'm willing to help test egcs for the transition from gcc+2.7.x. I've looked through the Makefiles and the /usr/src/gnu directory, but I can't seem to locate a knob to turn for the egcs compiler (unless I need to mangle the .PATH variable). And, at the risk of being flamed, I noticed (after all these years) that we build some for Objective C stuff. Is this actually required within the base distribution? -- Steve To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: egcs knob and objective C
On Wed, 31 Mar 1999, Steve Kargl wrote: Is there a simple knob to turn to get the egcs compiler by default? I'm willing to help test egcs for the transition from gcc+2.7.x. I've looked through the Makefiles and the /usr/src/gnu directory, but I can't seem to locate a knob to turn for the egcs compiler (unless I need to mangle the .PATH variable). And, at the risk of being flamed, I noticed (after all these years) that we build some for Objective C stuff. Is this actually required within the base distribution? Also, I seem to recall that we already have another copy of libiberty (under gdb). Do we really need to have both of them? Andrzej Bialecki // ab...@webgiro.com WebGiro AB, Sweden (http://www.webgiro.com) // --- // -- FreeBSD: The Power to Serve. http://www.freebsd.org // --- Small Embedded FreeBSD: http://www.freebsd.org/~picobsd/ To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: AIC
On Wed, 31 Mar 1999, Warner Losh wrote: The aic driver will likely oneday be ported. However, no one has come forward to do it. It is a highly desirable driver to have (even if Umm, I'm still working on the aic driver. Slowly, but working on it. writing it would be a pain) because the only pccard scsi cards that are out there are aic-6[23]60 based. Not having a pcmcia slot or card, I am not sure about support for this. However, the sad fact is that the development is less than active on this driver. It is a fact, sad? Im not sure. except for the pccard stuff there is much better stuff than the 6x60 based hardware. Brian Beattie| The only problem with beat...@aracnet.com | winning the rat race ... www.aracnet.com/~beattie | in the end you're still a rat To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
boot up messages
I had a reason to go check when I last installed my kernel, so I did a dmesg to take a look at the boot message, and the greeting from the Regents isn't there anymore. It wasn't there in the var/log/messages either. I'm not interested in the time (uname gave me that), but rather where the boot message got off to. It still shows on the console during boot (I checked) but that's all. I use the new loader.conf mechanism to boot with, and I also notice that the dmesg now is too short to catch teh entire boot message (I load about 8 modules, and the first couple get truncated). How would I increase the amount of memory given to boot messages for dmesg? +--- Chuck Robey | Interests include any kind of voice or data chu...@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run picnic (FreeBSD-current) (301) 220-2114 | and jaunt (Solaris7). +--- To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: /var/db/pkg/.mkversion
Hi, Some of you may have stumbled upon bsd.port.mk complaining about the lack of said file even after a make world. This was caused by my mistake of forgetting to update src/share/mk at the same time I committed the check to bsd.port.mk. I have since corrected it so if you cvsup again and make world again (actually just make install in src/share/mk), all will be well. As a workaround, echo 19990328 /var/db/pkg/.mkversion will work equally fine. CVSup'd RELENG_2_2 this afternoon, did make install in /usr/src/share/mk. Still no good. -crl -- Chad R. Larson (CRL15) 602-953-1392 Brother, can you paradigm? c...@dcfinc.com c...@larsons.org c...@anasazi.com lars...@home.net DCF, Inc. - 14623 North 49th Place, Scottsdale, Arizona 85254-2207 To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: /var/db/pkg/.mkversion
* From: Chad R. Larson c...@freebie.dcfinc.com * CVSup'd RELENG_2_2 this afternoon, did make install in * /usr/src/share/mk. Still no good. Oh yes, RELENG_2_2. Sorry, fixed. -W To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Games
Just out of curiosity, why are there games included in the FreeBSD source tree? For a group of people that was so worried about including dhcp because it's extra code, don't you think it's time to make those games into ports only? I say this under the assumption that they're not required for FreeBSD to function. (Not like IE for windows ;) To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: support for larger memory
John Polstra wrote: In article 199903302319.paa43...@apollo.backplane.com, Matthew Dillon dil...@apollo.backplane.com wrote: Has anyone tried implementing the %ebx solution yet? Not as far as I know. I was hoping that somebody who cared about BSD/OS compatibility would pick up the description of the fix, test it, and submit diffs. No takers, so far. :-( I'll bite. I tried your fix this morning, and it's worked without a problem so far. I've just upgraded the world (had only built a kernel earlier), and haven't done any rigorous testing, but it looks good. I use the ATT ksh for BSD/OS as my standard shell, which should be a reasonable test, but haven't got access to BSD/OS itself, so don't have much to test beyond the ATT tools. Unless something goes wrong, I'll probably submit the diffs within the next day or so. Thomas Stephens t...@stephens.org To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: support for larger memory
Thomas Stephens wrote: I tried your fix this morning, and it's worked without a problem so far. I've just upgraded the world (had only built a kernel earlier), and haven't done any rigorous testing, but it looks good. I use the ATT ksh for BSD/OS as my standard shell, which should be a reasonable test, but haven't got access to BSD/OS itself, so don't have much to test beyond the ATT tools. Unless something goes wrong, I'll probably submit the diffs within the next day or so. Hey, thanks a million! If you'd like to send your diffs to me when they're ready, I'll be happy to review them and commit them for you. I have some BSD/OS binaries I can try here, too. John --- John Polstra j...@polstra.com John D. Polstra Co., Inc.Seattle, Washington USA Self-interest is the aphrodisiac of belief. -- James V. DeLong To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: support for larger memory
One presumes that the BSDI binaries fail without the diff? :-) julian On Wed, 31 Mar 1999, Thomas Stephens wrote: John Polstra wrote: In article 199903302319.paa43...@apollo.backplane.com, Matthew Dillon dil...@apollo.backplane.com wrote: Has anyone tried implementing the %ebx solution yet? Not as far as I know. I was hoping that somebody who cared about BSD/OS compatibility would pick up the description of the fix, test it, and submit diffs. No takers, so far. :-( I'll bite. I tried your fix this morning, and it's worked without a problem so far. I've just upgraded the world (had only built a kernel earlier), and haven't done any rigorous testing, but it looks good. I use the ATT ksh for BSD/OS as my standard shell, which should be a reasonable test, but haven't got access to BSD/OS itself, so don't have much to test beyond the ATT tools. Unless something goes wrong, I'll probably submit the diffs within the next day or so. Thomas Stephens t...@stephens.org To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: support for larger memory
Julian Elischer wrote: One presumes that the BSDI binaries fail without the diff? :-) Yes, that's been confirmed by lots of people, myself included. John --- John Polstra j...@polstra.com John D. Polstra Co., Inc.Seattle, Washington USA Self-interest is the aphrodisiac of belief. -- James V. DeLong To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: AIC
Brian Beattie wrote: writing it would be a pain) because the only pccard scsi cards that are out there are aic-6[23]60 based. Not having a pcmcia slot or card, I am not sure about support for this. Once aic6[23]60 is working, the PCMCIA stuff is easily done. However, the sad fact is that the development is less than active on this driver. It is a fact, sad? Im not sure. except for the pccard stuff there is much better stuff than the 6x60 based hardware. But there are *no* alternatives for notebooks, except parallel port SCSI. -- Daniel C. Sobral(8-DCS) d...@newsguy.com d...@freebsd.org Yes, I am an agent of Satan, but my duties are largely ceremonial. To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
[no subject]
auth c6825c35 subscribe freebsd-current fr...@wna-linknet.com To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: Games
Rod Taylor wrote: Just out of curiosity, why are there games included in the FreeBSD source tree? For a group of people that was so worried about including dhcp because it's extra code, don't you think it's time to make those games into ports only? I say this under the assumption that they're not required for FreeBSD to function. (Not like IE for windows ;) Well, first of all, .profile, .cshrc and signature scripts are broken in the absense of fortune. Aside from that, because that's the BSD heritage. It was once suggested taking them out if they could be made into ports. But, then, the first issue came up. :-) -- Daniel C. Sobral(8-DCS) d...@newsguy.com d...@freebsd.org Yes, I am an agent of Satan, but my duties are largely ceremonial. To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: mount of write protected fd's
On Tue, 30 Mar 1999, Mikhail Teterin wrote: Boris Staeblow once wrote: mount should detect that a fd is write-protected and mount it ro although no mount -r is given... Isn't it possible to detect the w/p status from the fd-controller? Actually, the existing behavior is rather horrible. If you forget to specify ro for a read-only floppy, mount will succeed, but the kernel will keep complaining. It will also NOT let you umount the damn thing (even with -f), until you take the floppy out and write-enable it. Which, sometimes, requires use of duct tape... -mi Mount -u -o ro also works. To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message Brian Feldman_ __ ___ ___ ___ ___ gr...@unixhelp.org_ __ ___ | _ ) __| \ FreeBSD: The Power to Serve! _ __ | _ \__ \ |) | http://www.freebsd.org _ |___/___/___/ To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: Games
In message 370308c1.9b908...@rcc.on.ca, Rod Taylor writes: Just out of curiosity, why are there games included in the FreeBSD source tree? because: 1. They've always been there. 2. Every now and then factor comes handy. 3. Fortune is cool. 4. Deleting games is something people without humour does. -- Poul-Henning Kamp FreeBSD coreteam member p...@freebsd.org Real hackers run -current on their laptop. FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: boot up messages
According to Chuck Robey: about 8 modules, and the first couple get truncated). How would I increase the amount of memory given to boot messages for dmesg? cf LINT: # Size of the kernel message buffer. Should be N * pagesize. options MSGBUF_SIZE=40960 And remember that in /var/run/dmesg.boot, you have all the boot messages (within MSGBUF_SIZE of course). -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- robe...@keltia.freenix.fr FreeBSD keltia.freenix.fr 4.0-CURRENT #70: Sat Feb 27 09:43:08 CET 1999 To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: /var/db/pkg/.mkversion
Now that make world do something in /var/db/pkg, shouldn't /var/db/pkg be added to the mtree list for 3.1-STABLE and current? Otherwise a make release will break and also a make world if you haven't installed any packages yet. I think this entire thing is a massive botch and needs to be removed as a bad idea ASAP. - Jordan To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: /var/db/pkg/.mkversion
Committing /var/db/pkg to mtree was fine, it probably should have been there to begin with. Sticking things into it outside of pkg_add, however, is evil. pkg_add owns this directory and every time we've tried to go behind its back, so to speak, we've been raped for it. The whole mess with XFree68 was a total nightmare and is what happens when changes like this are made without really thinking things out. No more kludges, please. I'm not changing sysinstall and make world shouldn't be writing into /var/db/pkg either. If you've found it necessasry to do this, then you've made a mistake just as you did with XFree86 and need to think about the problem again. - Jordan To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: /var/db/pkg/.mkversion
Sorry to bud in... but shouldn't /var/db/pkg be only used for package admin purpouses and only for that. Otherwise things get sloppy if one needs to have a .mkversion shouldn't it be in /etc and automatically generated upon bootup from the kernel version number or if the file is used to assetain how to build a port i.e. ELF or a.out their are other ways to accomplish this ...but eh I think the switch to ELF should be finalyzed soon becuase keeping the a.out ports in the current release could be confusing for newbies... namely if they havent installed the compat module it may get sticky... ( note I could be wrong here ). Michael --- Michael C. Vergallen A.k.A. Mad Mike, Sportstraat 28 http://www.double-barrel.be/mvergall/ B 9000 Gent ftp://ftp.double-barrel.be/pub/linux/ Belgium tel : 32-9-2227764 Fax : 32-9-2224976 On Wed, 31 Mar 1999, Jordan K. Hubbard wrote: Now that make world do something in /var/db/pkg, shouldn't /var/db/pkg be added to the mtree list for 3.1-STABLE and current? Otherwise a make release will break and also a make world if you haven't installed any packages yet. I think this entire thing is a massive botch and needs to be removed as a bad idea ASAP. - Jordan To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-stable in the body of the message To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message