producing SHA256 & release(8)?
Before proposing a diff, I need clarification. The release(8) manpage states: "xenocara uses DESTDIR and RELEASEDIR as described above. While they may be set to the values used to build the rest of the system, be aware that the existing contents of DESTDIR will be removed as part of the xenocara build (this is necessary for release checklist processing)." Building the system release collects the SHA256 values of each fileset in (traditionally) /usr/rel/SHA256. This can be seen in /usr/src/etc/Makefile as: cksum -a sha256 BUILDINFO INSTALL.`arch -ks` \ ${ALL_KERNELS} ${MDEXT} ${MISETS} | sort > SHA256 Building xenocara's release will overwrite the existing /usr/rel/SHA256 with the SHA256 values of its base installation filesets if the same value of $RELEASEDIR is used. This can be seen in /usr/xenocara/Makefile: cksum -a sha256 x*tgz > SHA256 While this is not a showstopper & can easily be worked around, it seems there is a mismatch between what the code does & what the manpage specifies. Is the intent now that building the system & xenocara releases be done in separate directories, or should redirection be changed to appending in the code? Thanks!
Re: Regarding the default /usr partitioning
On Sun, Jun 28, 2015 at 6:10 PM, Chris Bennett chrisbenn...@bennettconstruction.us wrote: Why only up to p? It is a historical limitation. Could this be easily changed... No, it would break a number of things. ...or would that be a major project? Yes. I would really like to newfs more partitions than are available. You could attach another disk.
Re: Regarding the default /usr partitioning
On Sun, Jun 28, 2015 at 5:15 PM, Carlos Fenollosa carlos.fenoll...@gmail.com wrote: I installed a new box using the default partitioning (2GB for /usr) and I found that itâs a bit insufficient since /usr/ports, /usr/xenocara and /usr/src hang from there on the same partition, and eat up most of those 2GB. Iâve searched online and some users also found the same problem The defaults, which are based on the size of the disk, are simply that -- arbitrary values chosen to take care of general usage. Since you mention /usr/src, /usr/xenocara, /usr/ports, you might be building the system, or you might simply want to install source for study. Your goals are unclear, so to advise as to what sizes you need are also unclear. If your goals is to build a substantial number of ports, /usr/ports/pobj may need to be tens of gigabytes in size. I could try to write a simple patch for it. At the beginning of the installer, you are given the choice of accepting the defaults as presented, or choose a custom layout which will allow the creation of partitions of any allowable size. No patch is needed or necessary. The tools provided have the flexibility you need/desire.
Re: Dual Booting OpenBSD vs Windows7
Read the FAQ. http://www.openbsd.org/faq/faq4.html#Multibooting On Sat, Jun 27, 2015 at 9:09 AM, Mohammad BadieZadegan mbzade...@gmail.com wrote: Hi, I want to dual booting OpenBSD with Windows7 and read many more pages about customizing windows *bcdedit* tools to booting dual OS like *http://cromwell-intl.com/linux/multiboot-windows-openbsd/ http://cromwell-intl.com/linux/multiboot-windows-openbsd/* *BUT*, all of these pages nothing changed and could not running dual OS. Is that any hints about dual booting OpenBSD vs Windows7?
Re: Alternative way to get sources, CVS slow
On Saturday, February 21, 2015, Henrique Lengler henriquel...@opmbx.org wrote: once I get the tarballs and unpack them, to update the code, I should run cvs checkout or updtate? Update. Reading the cvs manpage will help other questions as well.
Re: Alternative way to get sources, CVS slow
On Sat, Feb 21, 2015 at 6:14 PM, Henrique Lengler henriquel...@opmbx.org wrote: So I ran this command: cvs -d anon...@anoncvs.ca.openbsd.org:/cvs -q up -rOPENBSD_5_6 -Pd And it is stoped, for more than a hour. Downloading from the main server is a poor choice as this is the motivation for the entire mirror system. Choose a server which is close(st) to you geographically from the list found at the following: http://www.openbsd.org/anoncvs.html
Re: Alternative way to get sources, CVS slow
On Saturday, February 21, 2015, Henrique Lengler henriquel...@opmbx.org wrote: I'm trying to keep and maintain a copy of -stable source code in my system. The problem is that I can't work with CVS. It is too slow to download. Another alternative is to set up a server which has gone through the laborious initial download, but periodically does a CVS update set up via cron. Updates are relatively quick. Access the box either via NFS, copy the tree(s) via scp, or transfer via tar files. It's your choice.
/etc/mail/sendmail.cf not found when building release from 24 Aug amd64 snapshot
Beginning with the installation of the 24 August amd64 snapshot, I received the following error when building a release: 8--- ... install -C -o root -g bin -m 0444 /usr/src/usr.sbin/nginx/html/50x.html /usr/dest/var/www/htdocs/ cd ../usr.sbin/npppd exec make distribution install -C -o root -g wheel -m 0640 /usr/src/usr.sbin/npppd/npppd/npppd.conf /usr/dest/etc/npppd/npppd.conf install -C -o root -g wheel -m 0600 /usr/src/usr.sbin/npppd/npppd/npppd-users /usr/dest/etc/npppd/npppd-users cd mail exec make distribution install -c -o root -g wheel -m 644 Makefile /usr/dest/etc/mail/Makefile install -c -o root -g wheel -m 644 README /usr/dest/etc/mail/README install -c -o root -g wheel -m 644 access /usr/dest/etc/mail/access /usr/libexec/sendmail/makemap hash /usr/dest/etc/mail/access access makemap: /etc/mail/sendmail.cf: No such file or directory *** Error 66 in mail (Makefile:29 'distribution') *** Error 1 in . (Makefile:209 'distribution-etc-root-var') *** Error 1 in /usr/src/etc (Makefile:221 'distribution') $ 8--- /etc/mail/sendmail.cf does not exist, however find(1) does find /usr/dest/etc/mail/sendmail.cf. Copying this file back to /etc/mail appears to allow building the release to continue. Thanks. Jim
cvsweb link on site down?
I'm getting a 403 Forbidden error when trying to access http://www.openbsd.org/cgi-bin/cvsweb. Is this a known problem?
Re: current/macppc on a Powerbook6,1
Has the information in FAQ7.4 changed? That indicates that virtual terminals are only supported on amd64, i386, Alpha. Zaurus has limited support, but with a different keystroke patterns. On Mon, Mar 17, 2014 at 1:16 PM, Martin Pieuchot mpieuc...@nolizard.orgwrote: On 15/03/14(Sat) 14:07, Jan Stary wrote: This is an old 12 Powerbook G4 hw.model=7455 (Revision 0x303) with a freshly installed current/macppc. See full dmesg below. I can't switch consoles with ctrl+alt+Fx - is that expected? Or is there another way to do that on a Powerbook? It should work if you don't need to press Fn to generate a Fx keycode, otherwise it should be ctrl+alt+Fn+Fx. X doesn't work (NVIDIA GeForce4 440). I got the machine for peanuts so didn't bother checking http://marc.info/?l=openbsd-ppcm=136178209416987w=2 Trying `startx' without any configuration segfaults like this: This is strange; I have a similar machine here with a similar nvidia card, could you send me the output of eeprom -p for your machine? M.
Re: Is Soekris OpenBSD friendly?
Learning to search the archives is a very useful skill: http://marc.info/?l=openbsd-miscw=2r=1s=soekrisq=b On Fri, Nov 15, 2013 at 6:03 PM, SmithS smit...@hush.ai wrote: Greetings misc@. After coming across a link[1] to make an OpenBSD router using a Soekris device, I think I will make one. Does anyone else have this hardware and can verify all the components work? I think Intel NICs are good, but everything else? I have never heard of this brand before so I want to be safe before buying. The model number[2] is 6501-30 [1] http://www.bsdnow.tv/tutorials/openbsd-router [2] https://soekris.com/products/net6501/net6501-30-board-case.html greetz, SmithS
Re: RJ11 on Alix 2d13 with OpenBSD
On Tue, Nov 5, 2013 at 5:50 PM, Stuart Henderson s...@spacehopper.orgwrote: On 2013-11-05, Loïc BLOT loic.b...@unix-experience.fr wrote: I would test to plug RJ11 cable (from my ADSL line, behind the ADSL filter) to the RJ45 plug but it seems this doesn't work (no carrier). Is this possible ? No, and in some cases you may damage the nic.. I apologize for the tangential question. On Amazon, I've located cables with a RJ11 connector on one end, a RJ45 on the other. Is using this type of cable to connect an Alix directly to the phone line discouraged? Thanks for any enlightenment.
Re: python GraphViz in ports ?
On Tue, Mar 5, 2013 at 4:12 AM, ÐлÑÑ Ð¨Ð¸Ð¿Ð¸Ñин chipits...@gmail.com wrote: math/p5-GraphViz http://openports.se/math/p5-GraphViz is for Perl. math/graphviz neither contains subpackage nor flavor for Python. http://openports.se/graphics/py-dot how can I use information provided by you to install python bindings for graphviz, can you describe step by step ? http://www.openbsd.org/faq/faq15.html
Re: Any T410/T420 with suspend/resume fully working in 5.1 or current?
On Tue, Aug 7, 2012 at 9:06 PM, Ted Unangst t...@tedunangst.com wrote: While we're on the subject, the T430 and T430s (ivy bridge update) do not work at present, or at least my T430s didn't. ahci times out initializing, so there's no hard drive. The wireless didn't seem to be detected either, and of course the usb3 ports don't work, only the usb2 port. I'm curious, as I am currently looking at the T series to replace an aging T43. Is the hard drive SATA3 or solid state? Likewise, which wireless chipset is installed? Lenovo has options on both of these fronts. Thanks.
Re: Help neede for 'pkgin'
On Tue, Jul 10, 2012 at 3:00 AM, srimanta kundu srimanta_ku...@polarisnetworks.net wrote: Please tell how can get that command in my netBSD? 0. http://www.netbsd.org/mailinglists/ 1. http://netbsd.gw.com/cgi-bin/man-cgi?pkg_add++NetBSD-current
Re: authpf bug and solution
On Sat, Jul 7, 2012 at 9:33 AM, Bahador NazariFard bahador.nazarif...@gmail.com wrote: If you commited the fix how can I access fixed authpf. Im using OpenBSD 5.1. You will need to install -current.
Re: Lemote Fuloong
On Thu, Jul 5, 2012 at 5:12 AM, Code Blue codeb...@inbox.lv wrote: I was running fine on 5.1 but based on the comment from the previous poster I reinstalled the snapshot (5.2). I was then unable to install any packages from snapshots because of library errors. What is the value of PKG_PATH? Now that you have moved from 5.1-release to -current, you will also have to change the location where packages are downloaded in order to keep both OS packages synchronized. See FAQ 15.4.1.
Re: Learning C Programming
On Fri, Jun 22, 2012 at 1:49 PM, Chris Bennett ch...@bennettconstruction.us wrote: On Fri, Jun 22, 2012 at 10:33:31AM +0200, ropers wrote: There is an answers book? Yes there is an official answers book, but it is written by other authors. I believe that the KR book refers to it somewhere. http://www.amazon.com/The-Answer-Book-Solutions-Programming/dp/0131096532/ref=sr_1_1?ie=UTF8qid=1340400381sr=8-1keywords=the+c+answer+book
Re: Learning C Programming
On Thu, Jun 21, 2012 at 10:37 AM, cody chandler cody.a.chand...@gmail.comwrote: Is this the book? http://www.amazon.com/C-Programming-Language-2nd-Edition/dp/0131103628 Yes.
Re: Can someone describe these possible long term effects and provide an explicit description of these kernel parameters?
On Thu, Jun 14, 2012 at 11:54 AM, Tristin Davis tristin.co...@gmail.comwrote: Upgrading is simply not an option. It all comes down to having the engineering staff, money, and downtime available. Unfortunatly, we have none of the above right now. I realize we *need* to upgrade, but right now, tuning the kernel is the only option. I would be extremely greatful if anyone out there able to provide the requested information. :-) If you believe you can't upgrade, you may want to consider hiring someone to do the work. The OpenBSD project maintains information on more notable choices on their Website: http://www.openbsd.org/support.html Expecting custom work to be done for free really isn't realistic -- especially when your requests runs counter to the project's very publicly stated support policy. Per FAQ5.1: ...old releases are typically supported up to two releases back. It takes resources and time to support older versions, while we might like to provide ongoing support for old releases, we would rather focus on new features.
Re: DLINK DUB-E100
On Sun, Jan 8, 2012 at 2:16 AM, Alessandro Baggi alessandro.ba...@gmail.com wrote: I would buy an Ethernet card usb, and I've found the Dlink dub-e100. It is supported on OpenBSD 5.0? Someone has ever used it? See the axe(4) manpage. I have seen several work, but one didn't. I attributed this to low quality, or poor quality assurrance.
Re: Proper way to update system + ports?
On Mon, Dec 19, 2011 at 3:25 PM, James Hozier guitars...@yahoo.com wrote: --- On Mon, 12/19/11, Jeremie Courreges-Anglas jca+m...@wxcvbn.org wrote: So -current Ports are not compatible with -stable Ports, right? Or am I wrong in presuming this? Per FAQ 15.4.1: Do NOT check out a -current ports tree and expect it to work on a -release or -stable system.
Re: Proper way to update system + ports?
On Mon, Dec 19, 2011 at 4:19 PM, James Hozier guitars...@yahoo.com wrote: --- On Mon, 12/19/11, Jeremie Courreges-Anglas jca+m...@wxcvbn.org wrote: So -current Ports are not compatible with -stable Ports, right? Or am I wrong in presuming this? Per FAQ 15.4.1: Do NOT check out a -current ports tree and expect it to work on a -release or -stable system. How do I know if I have checked out the -current ports tree or the -stable ports tree? Study FAQ 5.3.3. If no tagname was explicitly provided in the CSV command used, then the head of the CVS tree (in this case -current) was downloaded.
Re: Proper way to update system + ports?
On Mon, Dec 19, 2011 at 5:17 PM, James Hozier guitars...@yahoo.com wrote: --- On Tue, 12/20/11, James Hartley jjhart...@gmail.com wrote: From: James Hartley jjhart...@gmail.com Subject: Re: Proper way to update system + ports? To: James Hozier guitars...@yahoo.com Cc: misc@openbsd.org Date: Tuesday, December 20, 2011, 12:36 AM On Mon, Dec 19, 2011 at 4:19 PM, James Hozier guitars...@yahoo.com wrote: --- On Mon, 12/19/11, Jeremie Courreges-Anglas jca+m...@wxcvbn.org wrote: So -current Ports are not compatible with -stable Ports, right? Or am I wrong in presuming this? Per FAQ 15.4.1: Do NOT check out a -current ports tree and expect it to work on a -release or -stable system. How do I know if I have checked out the -current ports tree or the -stable ports tree? Study FAQ 5.3.3. If no tagname was explicitly provided in the CSV command used, then the head of the CVS tree (in this case -current) was downloaded. So in my case, the command I used: # cvs -d$CVSROOT checkout -rOPENBSD_5_0 -P src ports included the -rOPENBSD_5_0 tag (-r) which indicates the -stable tree, right? And it applied to both src and ports so that I checked out the -stable version of both src and ports? Correct. However, you can't seem to fully account for the status of the downloaded tree. So as Ingo, I would treat whatever you currently have on your system as suspect. Personally, I would recommend getting the tree again as you could be in the weeds wasting a lot of time. Likewise, if you study the check-in history for Firefox: http://www.openbsd.org/cgi-bin/cvsweb/ports/www/mozilla-firefox/Makefile You will see that the OPENBSD_5_0 tag at revision 1.187. Firefox 6.0 wasn't checked into the ports tree until 1.188. This means that for Firefox 5 is the only version available to OpenBSD 5.0-release -stable. If you want a newer version, you will have to run -current. Also, would it be a bad idea to use both Ports and Packages? You don't seem to understand how the packages/ports system works. The output of compiling ports is packages -- the very same packages which can be found on the mirrors. So there is nothing to be gained by compiling ports for -release or -stable unless there have been security fixes or other changes checked into the ports tree. The above link show both OPENBSD_5_0 OPENBSD_5_0_BASE tags on revision 1.187 of the Makefile used to build the Firefox port so nothing has changed for 5.0-release or -stable since 5.0 was released. All changes to Firefox, versions 6.0, 7.0, 8.0, have taken place in -current only.
Re: C question
On Wed, Nov 9, 2011 at 6:39 PM, Doug Brewer brewer.d...@gmail.com wrote: If I want to clear out that structure, should I use memset(bar, 0, sizeof(bar)); or memset(bar, 0, sizeof(*bar)); The purpose of this list is not to focus on remedial programming support. You can help answer your own question by studying playing with the following along with studying the memset(3) manpage: #include stdio.h struct foo { int i; float f; }; int main() { struct foo *bar[10]; printf(sizeof(struct foo) = %d\n, sizeof(struct foo)); printf(sizeof(struct foo*) = %d\n, sizeof(struct foo*)); return 0; } The art of programming is learned by writing lots of little programs which answer questions like these.
Re: Firefox 6
On Tue, Sep 6, 2011 at 2:56 PM, STeve Andre' and...@msu.edu wrote: In 5 I routinely hit the 2G data limit. FF6 is better in this regard it seems, but freezes the system in fits of reallocing memory, freezing OpenBSD for seconds at a time. Ditto on both counts. FF6 doesn't run out of memory as often as FF5, but these moments where it can't do anything while realloc'ing are nearly as annoying.
Re: Time interval based pf rule
On Fri, Sep 2, 2011 at 4:21 AM, Stefan N stefanbsd...@yahoo.com wrote: Does OpenBSD PF engine have the feature to create time interval based rule? See how to dynamically add rules via anchors: http://www.openbsd.org/faq/pf/anchors.html ... scheduling scripts via crontab(5). Jim
Re: obtaining openbsd.pbr from windows 7
On Wed, Mar 9, 2011 at 4:01 AM, marc li...@drwx.org wrote: I think it would be nice to add a little note in the docs explaining what 'r' stands for and that you should add it in front of your device name to access it while being used. See Section 14.1 of the FAQ.
Re: obtaining openbsd.pbr from windows 7
On Mon, Mar 7, 2011 at 2:22 AM, marc li...@drwx.org wrote: * If I do it from the existing openbsd in my drive, /dev/sd0a, I get device busy. It is not clear from your narrative what is the device node for your hard drive. The FAQ boldly warns following the dd(1) command: Note: this is a really good time to remind you that blindly typing commands in you don't understand is a really bad idea. This line will not work directly on most computers. It is left to the reader to adapt it to their machine. There is no way that the FAQ can anticipate whether users will have IDE, SCSI, or SATA hard drives, so some investigation must occur on your part to determine whether the hard drive used is wd(4) or sd(4). One of the easiest ways to find the answer is to search through the output of dmesg(8). On my older Thinkpad, I get: $ dmesg | grep sd sd0 at scsibus2 targ 1 lun 0: Corsair, Flash Voyager, 1.00 ATAPI 0/direct removable sd0: 978MB, 512 bytes/sec, 2002944 sec total sd0 detached $ ...which gives details on a USB flash drive which had been attached at one time, and: $ dmesg | grep wd wd0 at pciide0 channel 0 drive 0: HTS541060G9AT00 wd0: 16-sector PIO, LBA, 57231MB, 117210240 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 $ ...which is my actual hard drive in my laptop. What you will find may be entirely different (including the appended number to the end of the device...), but the driver reported must be reflected in the dd(1) command used. If I wanted to create the PBR for my laptop, I would use the following: # dd if=/dev/rwd0a of=openbsd.pbr bs=512 count=1 If I were to blindly ( incorrectly) run the command stated in the FAQ, I would get the error Device not configured. You mention device busy. Did you run this command as root (which is the meaning of the # shell prompt...)? * If I boot with the cd rom neither msdos nor ntfs are available so I can't write the .pbr file to an accessible place from windows. * If I boot with the cd rom and write the .pbr file in the bsd filesystem, I can't read it from windows 7 (I couldn't find a program to mount bsd filesystems which works with windows 7). You haven't thought through the ramifications of the MBR active flag. The MBR contains entries for four possible primary partitions. Only one of them will be marked active. When the system is next booted, the BIOS will search through these four entries to determine which primary partition will be searched for an operating system. Boot managers are simply elaborate gimmicks to easily set the active flag. fdisk(8) can be used to change the active partition. In fact, you could use OpenBSD's fdisk(8) to change the MBR's active flag to next boot Windows, bcdedit (as I recall...) within Windows to change the active flag to next boot OpenBSD, but this is laborious. If you chose whole disk when prompted with the following question during installation: Use (W)hole disk or (E)dit the MBR? ...the active flag will have been set automatically for OpenBSD's partition. If (E)dit is chosen, you can set it manually to whatever partition you wish. Also, if you chose whole disk, I can only hope you backed up your Windows partition as it may not be there now. Studying the FAQ before attempting multibooting as a newcomer is required. Thinking is too. Does anybody have a solution to any of these problems or a 4th way? The biggest problem seen in your message is a failure to grasp the nuances of the boot process or the needed commands. You can overcome this, but it will require attention to detail tenacity. I had the impression that the command: C:\Windows\system32 bcdedit /set {0154a872-3d41-11de-bd67- a7060316bbb1} path \openbsd.pbr requires that the openbsd.pbr file is at located at the root of c:\. Am I wrong? This is correct. As I recall, Windows 7 has less restrictions on where the PBR is located, but for the purpose of the FAQ, putting the PBR in C:\ is fine. bcdedit simply needs to be instructed as to its location. Also recognize that the GUID used in the commands issues on your computer are system-dependent. Don't simply cut-and-paste from the FAQ. Doing so will result in a misconfigured boot manager. Good luck.
Re: ports not detecting packages in PKG_PATH
On Wed, Nov 10, 2010 at 1:48 AM, Ersin Akinci ersin.aki...@gmail.comwrote: Do the packages in current normally find themselves in the next release? Yes.
Re: 2-3 General Question
On Wed, Sep 22, 2010 at 3:24 PM, LOL elvis4...@gmail.com wrote: 2010/9/22 Fred Crowson fred.crow...@gmail.com PS: my boot.ini when I used to dual boot my X41 Laptop: [boot loader] timeout=5 default c:\openbsd40.pbr=OpenBSD - a real OS ;~) [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=Microsoft Windows XP Professional /fastdetect c:\openbsd40.pbr=OpenBSD - a real OS ;~) Hi, I saw this before but Vista and 7 doesn't use boot.ini anymore. I think I read that in the openBSD doc before. FAQ 4.9 covers the basics of multibooting with Windows' boot manager. boot.ini was dropped with Vista. Jim
Re: windows 7 multiboot
On Tue, Apr 27, 2010 at 1:44 AM, Marc Espie es...@nerim.net wrote: On Mon, Apr 26, 2010 at 02:34:44PM +0200, Marc Espie wrote: One pleasant surprise is... windows7. Apparently, it includes tools that allow it to shrink the NTFS partition on the fly (yes, I'm keeping a windows partition around). For those that may benefit from it, Vista had the same tool.
Re: can't load library 'libc.so.51.0' on -current
On Mon, Apr 19, 2010 at 9:40 AM, Bryan bra...@gmail.com wrote: On Mon, Apr 19, 2010 at 11:18, Markus Lude markus.l...@gmx.de wrote: On Mon, Apr 19, 2010 at 10:45:45AM -0500, Bryan wrote: I am running the latest snapshot from ftp.openbsd.org. B Install appears fine, and I've had no issues until I tried to pull the latest from CVS. r...@openbsd-v0 /usr # CVS -d$CVSROOT checkout -P xenocara [snip] cd /usr/src export CVSROOT=ftp://ftp3.usa.openbsd.org:/cvs cvs -d$CVSROOT up -Pd [snip] Did a full install of all sets... I can vouch for the same behavior. I installed the 17 April snapshot omitting game47.tgz. Attempted to download source via AnonCVS got the same error. ldd shows that cvs expects libc.so.53.1 (which is in /usr/lib...), but I didn't chase down who is expecting libc.so.51.0. Another snapshot was released late last night, but I haven't had the time yet to see if the same behavior persists.
Re: can't load library 'libc.so.51.0' on -current
On Mon, Apr 19, 2010 at 10:42 AM, Nicholas Marriott nicholas.marri...@gmail.com wrote: The problem is the libc your cvs binary is looking for, not the libraries you have. Either you installed the wrong base tarball or aren't running the cvs binary you expect. Try upgrading to the same snapshot again. In my case, I did a fresh install of the 17 April snapshot, so there isn't any contamination with older installed versions. Again, I haven't had the chance to track this down further.
Re: OpenBSD culture?
On Wed, Apr 14, 2010 at 5:43 PM, Zachary Uram net...@gmail.com wrote: Develop the most wonderful kernel and userspace in the world but if no one uses it what is the point? It appears you haven't read the project's goals: http://openbsd.org/goals.html Quote: Focus on being developer-oriented in all senses...
Re: OT - C compiler, assignement on double-declared variable with different types
On Sat, Apr 10, 2010 at 9:14 PM, Jesus Sanchez zexe...@gmail.com wrote: This is not really OpenBSD related but since it's a UNIX-like OS and here are really experienced people coding in C I thought this was a good place to ask. Actually, not. Your questions are general C programming questions. A number of sites exist which thrive on questions like this. Sometimes, they actually give the right answers. Back to a.c later than the 0x2211 assignement I printed the variable and showed 0x11 (at that point i realized the mistake). But I was just wondering where the h*ll went the 0x22 bits on the memory?? Truncated. I know the rigth thing is to declare the variable 'foo' on a header file and include it in all my code... No, this is incorrect. It is a poor idea to declare variables within header files. This bad practice will lead to linker errors due to duplicate definitions. One solution is to define all global variables in a single *.c file place extern statements to each of these global variables in a header file which can then be included as many times in as many places as you choose. Here, all global variables are defined only once which is required.
Re: recent hardware with older OpenBSD versions
On Sat, Mar 20, 2010 at 12:02 PM, T. Valent tmp...@4ss.de wrote: (For us there is no reason to update to newer versions of OpenBSD yet. Quoting Section 5.1 of the FAQ: ...old releases are typically supported up to two releases back. It takes resources and time to support older versions, while we might like to provide ongoing support for old releases, we would rather focus on new features. http://openbsd.org/faq/faq5.html#Flavors OpenBSD 4.3 is no longer officially supported.
Re: softdeps enabled = poor concurrent access?
On Tue, Feb 23, 2010 at 7:19 PM, Noah McNallie n...@n0ah.org wrote: if by -current snapshot you mean openbsd 4.6 then yes, that's what i'm using. By looking at the head of dmesg(8) output or by the following command: $ sysctl kern.version ...you will get information pertaining to the version installed. If all that is mentioned is OpenBSD 4.6, you are running -release. -stable or -current is mentioned explicitly if these versions are actually installed. Even if OpenBSD 4.6-current is displayed, this indicates a version which is several weeks old. Recent snapshots of -current all sport OpenBSD 4.7-beta. To understand the difference between -release, -stable, -current, study FAQ 5.1.
SHA256 mismatch on base46.tgz in 20 Jan i386 snapshot
A quick search in the misc@ archives PR database didn't reveal that anyone has mentioned this before. In installing the 20 January (#511) i386 snapshot, I received a SHA256 mismatch on base46.tgz. Otherwise, the snapshot installs as expected. FYI FWIW. Jim
Re: trac on OpenBSD current
On Thu, Jan 21, 2010 at 12:39 AM, Sebastiano Pomata sebastianopom...@tiscali.it wrote: I installed from a plain install46.iso, but then I thought I could have choosen which ports tree to choose, -stable or -current. No. FAQ 15.4.1 states that mixing the -current ports tree with a -release installation is not supported. Reading Section 15 is highly recommended. Where can I get more info about the upgrade process to -current? FAQ 5.3.2.
Re: building sbin/route on -current?
On Mon, Dec 7, 2009 at 1:27 PM, Christian Weisgerber na...@mips.inka.dewrote: ... You appear to be building with DESTDIR set. Don't do that. Thanks, both Christian Philip for pointing out the error of my ways. I appreciate both of you for taking the time for to point out where I strayed. Jim
Re: building sbin/route on -current?
On Sun, Dec 6, 2009 at 12:19 AM, Philip Guenther guent...@gmail.com wrote: And that describes using -nostdinc and -idirafter where? I had not altered any Makefile or added any options. The output provided was from Tuesday after having updated source via AnonCVS as discussed in Section 5.3.3 following Sections 5.3.4 for building installing the kernel, Section 5.3.5 for building userland I don't know where you got the idea that you can build the OpenBSD system without updating the system you're building on, but doing so is not commonly done and not tested by the developers. Section 5.3.2 gave me the impression that -current systems could be brought up to date simply by updating source followed by building. From what you are saying, this was incorrect. I should always do a binary upgrade to the latest snapshot first. I was not aware of this. Thanks for the clarification. So, you now have two options: 1) continue to try to figure out how to make such builds work, 2) just use the method that the developers use. Point made.
building sbin/route on -current?
I updated my local source tree Tuesday. Rebuilding the kernel went fine, but building userland failed at sbin/route with the following messages: === sbin/route cc -02 -pipe -nostdinc -idirafter /usr/dest/usr/include -c /usr/src/sbin/route/route.c cc -02 -pipe -nostdinc -idirafter /usr/dest/usr/include -c /usr/src/sbin/route/show.c cc -static -o route route.o show.o route.o(.text+0x2a06): In function 'rdomain': : undefined reference to 'setrdomain' collect2: ld returned 1 exit status *** Error 1 Stop in /usr/src/sbin/route (line 95 of /usr/share/mk/bsd.prog.mk). *** Error 1 Stop in /usr/src/sbin (line 48 of /usr/share/mk/bsd.subdir.mk). *** Error 1 Stop in /usr/src (line 48 of /usr/share/mk/bsd.subdir.mk). *** Error 1 Stop in /usr/src (line 73 of Makefile). Guessing that my tree may not be pristine, I deleted /usr/src downloaded again via AnonCVS last night. Subsequent rebuilding of the kernel today went fine, but building userland failed again in sbin/route. I'm not seeing anything in Following -current, but is there something else that I am missing? Thanks.
Re: building sbin/route on -current?
On Sat, Dec 5, 2009 at 3:08 PM, Philip Guenther guent...@gmail.com wrote: On Sat, Dec 5, 2009 at 11:55 AM, James Hartley jjhart...@gmail.com wrote: I updated my local source tree Tuesday. Rebuilding the kernel went fine, but building userland failed at sbin/route with the following messages: === sbin/route cc -02 -pipe -nostdinc -idirafter /usr/dest/usr/include -c /usr/src/sbin/route/route.c ... Whatever directions you've followed that suggest that you can compile a system without installing it are wrong, or at least insufficient. Thanks, Philip for responding. I have followed the recipe given in Section 5.3.4 - 5.3.5 of the FAQ religiously for months without incident. As an additional data point, I installed the 4 December i386 snapshot followed by downloading /usr/src via AnonCVS today, successfully rebuilt the kernel userland. Although this may point out that the problem is solved, it still leaves the question of why building started failing Tuesday. Thanks again for responding.
Re: Partitioning an external USB drive through OpenBSD -- disklabel
On Fri, Oct 30, 2009 at 3:00 AM, Amarendra Godbole wrote: I want the USB disk to be also used on Windows XP, so the MSDOS partition. The problem isn't with disklabel (8). The problem *will* be Windows XP not being able to recognize the DOS partition. For Windows XP to recognize a DOS partition, *it* should be used to create the DOS partition first followed by using disklabel(8) to create a FFS partition in the remaining space.
Re: automating 'fsck -y' after a power failure
On Sun, Oct 4, 2009 at 11:26 AM, bofh goodb...@gmail.com wrote: What does fsck mean? Filesystem check.
Re: gcc4.2.20070307p11 fails to build
On Thu, Jul 23, 2009 at 6:47 PM, Jamie Griffin jg+open...@panix.comjg%2bopen...@panix.com wrote: i installed openoffice3 using pkg_add. After trying to update the package using ports the build fails when it tries to install gcc4.2.2 as a dependency, and the error I'm getting is this: configure error: installation or configuration problem: C compiler cannot create executables. ***Error code 1 What's the output of df -h?
Re: fonts in NetBeans
On Tue, Jul 21, 2009 at 12:09 PM, Fred Crowson open...@crowsons.net wrote: The problem I've got is the output window of netbeans is displaying small squares instead of fonts suggesting that it cannot find one of the font libraries, and fontconfig seems to have been removed - can any one suggest how I can go about debugging this? This has been reported before: http://marc.info/?l=openbsd-miscw=2r=1s=square+netbeansq=b
Re: Multiboot OpenBSD with Vista
On Fri, May 15, 2009 at 1:38 AM, MANI mm.m...@gmail.com wrote: How can I make openbsd.pbr. http://openbsd.org/faq/faq4.html#Multibooting You should also read the following if you want to use Vista's boot manager: http://daemonforums.org/showthread.php?p=23676
Re: weird wscons behavior
On Mon, Oct 6, 2008 at 6:31 AM, Jesus Sanchez [EMAIL PROTECTED] wrote: I have not experience sending bugs with sendbug, so to make sure I'm not doing anything wrong, It should take so much time to appear on the query list?? Unless you have the sendmail(8) mail agent configured to send/receive mail external to the system, sendbug(1) will not be able to forward your problem report as expected. More information on configuration can be found in the afterboot(8) manpage. However, you can alternatively copy paste the template created by sendbug(8) to whatever mail agent is configured, use it.
Re: Weird pkg_info behavior?
On Tue, Sep 30, 2008 at 11:16 AM, Slim Joe [EMAIL PROTECTED] wrote: Is there a way to get package info for a file not already downloaded or installed without such heavy bandwidth (just the package info). Look at the -Q option on the pkg_info(1) manpage.
contact info for PC Weasel?
Does anyone have any information on contacting/ordering a PC Weasel? Their Website: http://www.realweasel.com/ ...is still up, but an inquiry sent to info@ last week is still unanswered. According to a Calgary operator, the number listed on the Website is no longer in service, searching through Google hasn't yielded anything relevant. Any information would be appreciated. Jim
Re: Can't install using pkg_add from FTP mirror and from Local Mirror
On Wed, Jul 9, 2008 at 7:45 PM, my mail [EMAIL PROTECTED] wrote: thanks for your reply, but i have download OpenBSD 4.3 from this address ftp://ftp.jaist.ac.jp/pub/OpenBSD/4.3/ and all packages i download from this ftp://ftp.jaist.ac.jp/pub/OpenBSD/4.3/packages/ You should study Section 15.4.1 of the FAQ: http://openbsd.org/faq/faq15.html#NoFun However if you still have questions, please provide the output of the following command: $ sysctl kern.version As others, I too suspect you have installed -current are trying to install -release packages.
Re: booting a different kernel
On Mon, Jun 23, 2008 at 7:07 AM, annne annnie [EMAIL PROTECTED] wrote: If I had windows installed first, then I installed openbsd, what would I type to boot into windows? Read FAQ 4.8 FAQ 14.6.
Re: Failing to install packages with $PKG_PATH
On Mon, Jun 23, 2008 at 2:56 PM, Daniel B. [EMAIL PROTECTED] wrote: I've updated to the today -current and I can't install packages as I usually do. # export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/i386 Note the FAQ 15.2.2 requires a final directory delimiter which the above assignment is missing. ie. PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/i386/ Likewise, you should check to see if there is a mirror closer to you geographically. This would relieve usage on the master site.
Re: nmeaattach(8) removed in -current, superseeded by ldattach(8)
On Mon, Jun 9, 2008 at 3:36 PM, Marc Balmer [EMAIL PROTECTED] wrote: If you are using a GPS device with nmeaattach(8), please switch to ldattach(8) now. Thanks Marc for passing on this information. Can you describe in short why this change was made?
Re: nmeaattach(8) removed in -current, superseeded by ldattach(8)
On Mon, Jun 9, 2008 at 3:53 PM, James Hartley [EMAIL PROTECTED] wrote: On Mon, Jun 9, 2008 at 3:36 PM, Marc Balmer [EMAIL PROTECTED] wrote: If you are using a GPS device with nmeaattach(8), please switch to ldattach(8) now. Thanks Marc for passing on this information. Can you describe in short why this change was made? For those interested, Marc has more information posted on undeadly.com. Thanks again, Marc!
Re: Ethernet on ASUS EEE PC?
On Thu, Apr 3, 2008 at 9:53 AM, Joel Sing [EMAIL PROTECTED] wrote: This problem has been tracked down and is fixed in r1.10 of if_lii.c. On Wednesday 02 April 2008, James Hartley wrote: On Tue, Apr 1, 2008 at 4:53 AM, James Hartley [EMAIL PROTECTED] wrote: The 31 March snapshot works; I'm now seeing multiple messages: lii0: mismatched status and packet Great job, Joel! Looking at the timestamps, it appears that your fix made it into the 3 Apr snapshot, I've had no problems grabbing the CVS tree using it. Since rebuilding the kernel (where I can confirm inclusion of your fix...), netstat(1) shows no errors in the traffic passed. Thanks for promptly fixing the TXD buffer!
Re: Ethernet on ASUS EEE PC?
On Sun, Mar 30, 2008 at 4:44 PM, Jonathan Gray [EMAIL PROTECTED] wrote: There have recently been some changes that make that driver work much better, try again with a newer snapshot in a few days. Thanks for pointing this out! The 31 March snapshot works; dmesg follows: OpenBSD 4.3-current (GENERIC) #731: Mon Mar 31 18:33:01 MDT 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Celeron(R) M processor 900MHz (GenuineIntel 686-class) 631 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF real mem = 2138140672 (2039MB) avail mem = 2059407360 (1964MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 01/04/08, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.5 @ 0xf06c0 (37 entries) bios0: vendor American Megatrends Inc. version 0703 date 01/04/2008 bios0: ASUSTeK Computer INC. 701 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 3.0 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf76b0/176 (9 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801FB LPC rev 0x00) pcibios0: PCI bus #5 is the last bus bios0: ROM list: 0xc/0xf800! 0xcf800/0x1000 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82915GM Host rev 0x04 vga1 at pci0 dev 2 function 0 Intel 82915GM Video rev 0x04 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) agp0 at vga1: aperture at 0xd000, size 0x1000 Intel 82915GM Video rev 0x04 at pci0 dev 2 function 1 not configured azalia0 at pci0 dev 27 function 0 Intel 82801FB HD Audio rev 0x04: irq 5 azalia0: codec[s]: Realtek/0x0662 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x04: irq 5 pci1 at ppb0 bus 4 ppb1 at pci0 dev 28 function 1 Intel 82801FB PCIE rev 0x04: irq 11 pci2 at ppb1 bus 3 lii0 at pci2 dev 0 function 0 Attansic Technology L2 rev 0xa0: irq 11, address 00:1e:8c:b5:31:b4 ukphy0 at lii0 phy 1: Generic IEEE 802.3u media interface, rev. 2: OUI 0x001374, model 0x0002 ppb2 at pci0 dev 28 function 2 Intel 82801FB PCIE rev 0x04: irq 10 pci3 at ppb2 bus 1 uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x04: irq 7 uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x04: irq 3 uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x04: irq 10 uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x04: irq 5 ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xd4 pci4 at ppb3 bus 5 ichpcib0 at pci0 dev 31 function 0 Intel 82801FBM LPC rev 0x04: PM disabled pciide0 at pci0 dev 31 function 2 Intel 82801FBM SATA rev 0x04: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 1 drive 0: SILICONMOTION SM223AC wd0: 1-sector PIO, LBA, 3815MB, 7815024 sectors wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4 ichiic0 at pci0 dev 31 function 3 Intel 82801FB SMBus rev 0x04: irq 3 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM usb0 at uhci0: USB revision 1.0 uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1 usb3 at uhci3: USB revision 1.0 uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1 isa0 at ichpcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 biomask e7fd netmask effd ttymask mtrr: Pentium Pro MTRR support umass0 at uhub2 port 1 configuration 1 interface 0 ENE UB6225 rev 2.00/1.00 addr 2 umass0: using SCSI over Bulk-Only scsibus0 at umass0: 2 targets sd0 at scsibus0 targ 1 lun 0: USB2.0, CardReader SD0, 0100 SCSI0 0/direct removable sd0: drive offline softraid0 at root root on wd0a swap on wd0b dump on wd0b
Re: Ethernet on ASUS EEE PC?
On Tue, Apr 1, 2008 at 4:53 AM, James Hartley [EMAIL PROTECTED] wrote: The 31 March snapshot works; I'm now seeing multiple messages: lii0: mismatched status and packet ...when checking out the CVS tree. If anyone can point out what information would be pertinent for including in a PR, I would gladly comply. Thanks.
Re: 4.2 still has X tree dependency?
On Sun, Mar 30, 2008 at 6:20 PM, Mikel Lindsaar [EMAIL PROTECTED] wrote: I am running 4.1 on several servers, one thing I found was the surprise on needing the X package to install some of the non x-windows ports due to dependencies within that tree. http://openbsd.org/faq/upgrade42.html#libexpat But I remember reading in a FAQ or release notes somewhere that this was a mistake and would be fixed in the next version of OpenBSD (ie, remove the dependency on the x-windows system for these libraries). http://openbsd.org/faq/upgrade43.html#libexpat
Ethernet on ASUS EEE PC?
As opposed to previous mention that the Ethernet interface is correctly identified on a 28 Jan -current snapshot: http://marc.info/?l=openbsd-miscm=120177549104133w=2 ...the behaviour I'm seeing from the 25 Mar snapshot is similar to the following: http://marc.info/?l=openbsd-miscm=120185685618399w=2 http://marc.info/?l=openbsd-miscm=119802047918588w=2 Perhap different hardware revisions are being employed by ASUS. I'm using a EEE PC 4G Surf. My dmesg follows. Any suggestions or requests are welcomed. Jim ==8 OpenBSD 4.3-current (GENERIC) #723: Mon Mar 24 18:23:49 MDT 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Celeron(R) M processor 900MHz (GenuineIntel 686-class) 631 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF real mem = 2138140672 (2039MB) avail mem = 2059415552 (1964MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 01/04/08, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.5 @ 0xf06c0 (37 entries) bios0: vendor American Megatrends Inc. version 0703 date 01/04/2008 bios0: ASUSTeK Computer INC. 701 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 3.0 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf76b0/176 (9 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801FB LPC rev 0x00) pcibios0: PCI bus #5 is the last bus bios0: ROM list: 0xc/0xf800! 0xcf800/0x1000 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82915GM Host rev 0x04 vga1 at pci0 dev 2 function 0 Intel 82915GM Video rev 0x04 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) agp0 at vga1: aperture at 0xd000, size 0x1000 Intel 82915GM Video rev 0x04 at pci0 dev 2 function 1 not configured azalia0 at pci0 dev 27 function 0 Intel 82801FB HD Audio rev 0x04: irq 5 azalia0: codec[s]: Realtek/0x0662 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x04: irq 5 pci1 at ppb0 bus 4 ppb1 at pci0 dev 28 function 1 Intel 82801FB PCIE rev 0x04: irq 11 pci2 at ppb1 bus 3 Attansic Technology L2 rev 0xa0 at pci2 dev 0 function 0 not configured ppb2 at pci0 dev 28 function 2 Intel 82801FB PCIE rev 0x04: irq 10 pci3 at ppb2 bus 1 uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x04: irq 7 uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x04: irq 3 uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x04: irq 10 uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x04: irq 5 ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xd4 pci4 at ppb3 bus 5 ichpcib0 at pci0 dev 31 function 0 Intel 82801FBM LPC rev 0x04: PM disabled pciide0 at pci0 dev 31 function 2 Intel 82801FBM SATA rev 0x04: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 1 drive 0: SILICONMOTION SM223AC wd0: 1-sector PIO, LBA, 3815MB, 7815024 sectors wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4 ichiic0 at pci0 dev 31 function 3 Intel 82801FB SMBus rev 0x04: irq 3 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM usb0 at uhci0: USB revision 1.0 uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1 usb3 at uhci3: USB revision 1.0 uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1 isa0 at ichpcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 biomask e7fd netmask e7fd ttymask mtrr: Pentium Pro MTRR support umass0 at uhub2 port 1 configuration 1 interface 0 ENE UB6225 rev 2.00/1.00 addr 2 umass0: using SCSI over Bulk-Only scsibus0 at umass0: 2 targets sd0 at scsibus0 targ 1 lun 0: USB2.0, CardReader SD0, 0100 SCSI0 0/direct removable sd0: drive offline softraid0 at root root on wd0a swap on wd0b dump on wd0b WARNING: / was not properly unmounted uhub4 at uhub0 port 2 Prolific Technology Inc. USB Embedded Hub rev 2.00/1.00 addr 2 umass1 at uhub4 port 1 configuration 1 interface 0 Prolific Technology Inc. USB Mass Storage Device rev 2.00/1.00 addr 3 umass1: using ATAPI over Bulk-Only scsibus1 at umass1: 2 targets sd1 at scsibus1 targ 1 lun 0: Corsair, Flash Voyager, 1.00 SCSI0 0/direct removable sd1: 978MB, 124 cyl, 255 head, 63 sec, 512 bytes/sec, 2002944 sec total sd1 detached scsibus1 detached umass1 detached uhub4 detached uhub4 at uhub0 port 2 Prolific Technology
Re: xenocara CVS out of memory
On Tue, Mar 25, 2008 at 2:55 AM, Jan Niemann [EMAIL PROTECTED] wrote: or maybe he is trying to checkout xenocara/font/misc-misc/18x18ja.bdf and running on amd64. that does not work for me either and shows the same error message (can not reallocate 5242880 bytes). on i386 everything should be fine. I experienced this problem last week, searching through the archives shows this had been chronicled some time back: http://marc.info/?l=openbsd-miscm=119470113431785w=2 CVSync servers running on AMD64 are problematic. Switching to a server not running on AMD64 is the solution. Consult: http://openbsd.org/cvsync.html ...or: http://news.netcraft.com/ ...to determine what platforms any particular server is using.
Re: OpenBSD support of EFI?
On Mon, Mar 24, 2008 at 11:03 AM, Michael Dexter [EMAIL PROTECTED] wrote: A system using GRUB may also need to have a root partition of under 512MB in size. A GRUB is a bug after all... Do you have more information regarding this comment? Thanks.
Re: zombies - solved
On Wed, Mar 12, 2008 at 2:18 AM, Lars Noodin [EMAIL PROTECTED] wrote: Or what are the major reasons 4.3 is going to still use 1.3x? Licensing.
multiple connections to GPS device?
Is it possible to watch the NMEA traffic originating from a USB GPS device *while* attached via nmeaattach(8)? Once nmeaattach(8) has attached to the device, any subsequent connection attempted via cu(1) fails with an all ports busy message. The manpage for cu(1) states that connections are locked for UUCP integrity reasons, so I'm guessing that nmeaattach(8) is doing something similar (Sorry, I haven't traced the code yet...). Is there some other manner in which I can tap into this connection? Thanks for any insight shared. Jim
Re: multiple connections to GPS device?
On Thu, Mar 6, 2008 at 11:19 PM, Chris Kuethe [EMAIL PROTECTED] wrote: On Thu, Mar 6, 2008 at 11:01 PM, James Hartley [EMAIL PROTECTED] wrote: Is there some other manner in which I can tap into this connection? ports/misc/gpsd This looks really cool! Am I correct to assume that I can run this daemon while still using nmeaattach(8)? Jim
Re: /usr/include/ headers in the kernel source
On Feb 6, 2008 12:36 PM, Pierre Riteau [EMAIL PROTECTED] wrote: You should upgrade to a snapshot before. This is in the FAQ... Pierre is right. See Section 5.3.
Re: WAP setup problems
On Feb 6, 2008 1:10 PM, Stefan Kell [EMAIL PROTECTED] wrote: some other questions: why a bridge and why not simple router with pf? PF can be used to filter on a bridge. See Section 6.9 of the FAQ for an example.
Re: Marry Christmas!
On 23 Dec 2007 15:54:56 -0800, Unix Fan [EMAIL PROTECTED] wrote: Typically one spells it Merry, not Marry. You never know. Perhaps he was really wanting to be married to Christmas or have someone here marry Christmas. Even though it isn't clear on who is intended to be marrying Christmas, it may just be important by itself that Christmas be married. :-)
Re: USB Disk problems
On 10/17/07, Steve Shockley [EMAIL PROTECTED] wrote: Edwards, David (JTS) wrote: I'm using 250G laptop disks powered from the USB cable. Maybe you're hitting the limit of the USB power output? Anecdotally, I have a laptop IDE drive enclosure with a USB interface, the supplied cable has *two* Series A USB connectors in order to provide sufficient power to the drive. On occasion, I have forgotten to plug one connector in, sometimes it works, but other times it is apparent by the sound that the drive is having problems spinning at a constant rate. Having two connections simply ensures sufficient power is available for more (common) situations. Jim
Re: SOLVED [was: firewall is very slow, something's wrong]
On 10/16/07, Florin Andrei [EMAIL PROTECTED] wrote: - flooding the firewall with small UDP packets, random source IPs, generated as fast as my workstation (AMD64 X2 6400, Intel Pro/1000 PCI Express card, Linux Fedora 7, running the kernel-level pktgen packet generator which is very fast) can crank them out. First, thanks for sharing your findings. Secondly, does anyone on the mailing list know of an OpenBSD equivalent to pktgen? Thanks. Jim
configuring ntpd to use GPS
After reading the manpages for ntpd(8), ntpd.conf(5), nmeaattach(8), I thought I had enough information to use a USB GPS device as a time source. In /etc/ntpd.conf, the only line left enabled is: sensor cuaU0 In /etc/rc.conf.local, the only lines are: nmeaattach cuaU0 ntpd_flags= Yet upon reboot, I see the following message displayed during initialization: nmeaattach: open: /dev/cuaU0: Device busy I can observe the NMEA sentence traffic through cu(1), so it is unclear what I have missed. Any insight would be appreciated. Thanks. Jim
Re: configuring ntpd to use GPS
On 10/4/07, Chris Kuethe [EMAIL PROTECTED] wrote: On 10/4/07, James Hartley [EMAIL PROTECTED] wrote: In /etc/ntpd.conf, the only line left enabled is: sensor cuaU0 nope sensor nmea0 Noted changed to the above. In /etc/rc.conf.local, the only lines are: nmeaattach cuaU0 ntpd_flags= that doesn't look right. from my rc.conf.local nmeaattach_flags=-s 4800 -t !dcd cua00 Okay, I now have in /etc/rc.conf.local: nmeaattach_flags=-s 4800 cuaU0 ntpd_flags= As I understand, this GPS device is not programmable, so I can't enable a PPS signal. Upon reboot, I see the following message displayed during initialization: starting initial daemons: nmeaattachnmeaattach: open: /dev/cuaU0: Device not configured that looks like something else has opened cuaU0 before nmeaattach got there. see what that is: fstat /dev/cuaU0 I'm seeing nothing: $ fstat /dev/cuaU0 USER CMD PID FD MOUNTINUM MODE R/WDV|SZ NAME $ I should mention this is using the 22 Sep Sparc64 snapshot on a Sun Ultra 10. Thanks. Jim
Re: sudo wheel group
On 9/17/07, Chris [EMAIL PROTECTED] wrote: Ok, I have these in /etc/sudoers for joeuser. joeuser is also in the wheel group. Why are you adding wheel group membership? Root access through sudo(8) does not require the user to be a member of wheel, but su(8) does. Jim
scp batch mode?
The manpage for scp(1) mentions the -B option for running scp in batch mode, but no further details. How can scp be run without prompting for a password? Thanks.
iwi configuration?
I've installed iwi-firmware-3.0.tgz per the iwi manpage, adjusted the group associated with the four installed files to match that of everything else in the directory: $ ls -al /etc/firmware/iwi* -rw-r--r-- 1 root bin 191142 Mar 26 2006 /etc/firmware/iwi-bss -rw-r--r-- 1 root bin 185660 Mar 26 2006 /etc/firmware/iwi-ibss -rw-r--r-- 1 root bin 12007 Mar 26 2006 /etc/firmware/iwi-license -rw-r--r-- 1 root bin 187836 Mar 26 2006 /etc/firmware/iwi-monitor $ The wireless device appears to be recognized correctly in dmesg: $ dmesg | grep iwi0 iwi0 at pci3 dev 2 function 0 Intel PRO/Wireless 2915ABG rev 0x05: irq 11, address 00:0e:35:e2:af:6f $ However, at boot I'm receiving these errors at the console: iwi0: fatal firmware error iwi0: device configuration failed I'm running the 24 June snapshot of -current: $ sysctl kern.version kern.version=OpenBSD 4.1-current (GENERIC) #309: Sun Jun 24 00:56:12 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC $ So, have I missed something to correctly configure this device? Thanks.
Re: following stable, extra file sets?
On 6/30/07, Aaron [EMAIL PROTECTED] wrote: What i found strange is now it seems as if i have gained the misc41 and game41 file sets as a result of following stable. Does this sound correct? The following link from the FAQ describes what the roles of each file set. Perhaps this will provide some perspective. http://openbsd.org/faq/faq4.html#FilesNeeded
Re: ThinkPad T41p suspend is fine from console, hangs from X
On 6/11/07, Jonathan Thornburg [EMAIL PROTECTED] wrote: My basic question is, has anyone gotten suspend-to-RAM to work while X is running on a T41p, and if so, how did you do it? You might look at tphdisk.
accessing the MBR in multibooted systems?
Section 4.8 of the FAQ discusses how to capture the PBR for multibooting with dd: # dd if=/dev/rwd0a of=openbsd.pbr bs=512 count=1 Two questions. * For stand-alone installations, is the PBR the same thing as the MBR? * More importantly, how can I use dd to access the MBR in a multibooted system of Vista OpenBSD? Thanks for any insight.
Re: tpb and tphdisk assistance
I guess I missed this in conversation; does tphdisk work with ACPI? Thanks. Jim
Re: Absolute OpenBSD out-of-print?
On 5/10/07, Matthew Szudzik [EMAIL PROTECTED] wrote: Does anybody know if there are plans for another printing? Or maybe even a second edition? According to Lucas' Website, he still intends on writing an _Absolute_ book for NetBSD. I may be wrong, but I don't suspect we will see second editions of the other two volumes. http://www.blackhelicopters.org/~mwlucas/#stuff
Re: Instaling openbsd Y windows
On 5/2/07, Nick Holland [EMAIL PROTECTED] wrote: Miler Alberto Garcia Villanueva wrote: hi for all, i have a Hard disk of 80 GB, I like to user 20 GB for OpenBSD and 60 GB for Windows XP, it is posible? becase I read in the FAQ openbsd that say: its necessary to installa the openbsd in the firts 7GB of the Harddisk For background information, you should read the following which explains why newer BIOS'es no longer limit boot partitions to the first 8GB. http://www.dewassoc.com/kbase/hard_drives/hard_drive_size_barriers.htm
Re: verifying ntp via GPS configuration?
On 4/11/07, Marc Balmer [EMAIL PROTECTED] wrote: When you use cu or tip directly on the serial line, do you see any NMEA 0183 sentences? Thanks to both you Marc Otto. Your comments have helped with a number of questions. I'm currently questioning the power supplied to the Garmin which I will get to tomorrow. For now, I've gone back to my T43 laptop where I have a USB Delorme GPS LT-20. I can now see the sensor as well as NMEA sentences through cu there. Three questions. I'm still not seeing anything appear in /var/log/daemon. How soon should log messages appear? From the archives, I remember a statement made that without a pulse per second (PPS) signal, a GPS unit would only be able to minimally coordinate the time through ntpd. This statement was also made in reference to a USB unit. Are PPS signals inherent to all GPS units but are lost through an USB interface? Is there something within the NMEA sentence traffic which should tell me that I have a PPS signal? Thanks again for your clarifications.
verifying ntp via GPS configuration?
I have questionable ntp foo, searching through the misc@ archives along with reading the FAQ has only gotten me so far. I have a Garmin 18 GPS: http://www.amazon.com/gp/product/B000196BW6/104-8542380-5084714 ...which is connected to the serial port of a Sun Ultra 10. I am unable to determine whether I'm stylin' or out in the weeds when it comes to configuring ntp via GPS: # nmeaattach cua00 # ntpd -ds [1] 30616 # ntp engine ready sensor nmea0 added ...which appears fine as does ps' output: USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND ... root 16741 0.0 0.0 32080 ?? Is11:50PM0:00.00 nmeaattach cua00 root 30616 0.0 0.2 536 1240 p0 I 11:50PM0:00.06 ntpd: [priv] (ntpd) _ntp 12162 0.0 0.2 536 1136 p0 I 11:50PM0:00.03 ntpd: ntp engine (ntpd) ... However, searching for the associated sensor didn't generate any warm fuzzies: # sysctl hw hw.machine=sparc64 hw.model=SUNW,UltraSPARC-IIi @ 440 MHz, version 0 FPU hw.ncpu=1 hw.byteorder=4321 hw.physmem=536870912 hw.usermem=536403968 hw.pagesize=8192 hw.disknames=wd0,cd0 hw.diskcount=2 hw.vendor=Sun hw.product=Ultra 5/10 UPA/PCI # ...and the only message emitted to stdout/stderr is: # no reply received in time, skipping initial time setting Looking at /var/log/daemon only shows: Apr 10 22:36:42 shockley ntpd[21535]: ntp engine ready Apr 10 22:36:43 shockley savecore: no core dump Can anyone help educate an ntp neophyte? Thanks.
Re: verifying ntp via GPS configuration?
On 4/11/07, Otto Moerbeek [EMAIL PROTECTED] wrote: Very likely you Sun uses different serial ports than cua00. Check your dmesg to see which driver is uses, then use the driver man page to determine the /dev node to use. I'm must be blind for I'm not seeing anything. dmesg below: console is keyboard/display Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2006 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 4.0 (GENERIC) #953: Sun Sep 17 00:56:22 MDT 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/sparc64/compile/GENERIC total memory = 536870912 avail memory = 479698944 using 3276 buffers containing 26836992 bytes of memory bootpath: /[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED],0/[EMAIL PROTECTED],0 mainbus0 (root): Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 440MHz) cpu0 at mainbus0: SUNW,UltraSPARC-IIi @ 440 MHz, version 0 FPU cpu0: physical 32K instruction (32 b/l), 16K data (32 b/l), 2048K external (64 b/l) psycho0 at mainbus0 addr 0xfffc4000: SUNW,sabre, impl 0, version 0, ign 7c0 psycho0: bus range 0-2, PCI bus 0 psycho0: dvma map c000-dfff, iotdb 26a8000-2728000 pci0 at psycho0 ppb0 at pci0 dev 1 function 1 Sun Simba PCI-PCI rev 0x13 pci1 at ppb0 bus 1 ebus0 at pci1 dev 1 function 0 Sun PCIO Ebus2 rev 0x01 auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003, 72c000-72c003, 72f000-72f003 power0 at ebus0 addr 724000-724003 ipl 37 SUNW,pll at ebus0 addr 504000-504002 not configured sab0 at ebus0 addr 40-40007f ipl 43: rev 3.2 sabtty0 at sab0 port 0 sabtty1 at sab0 port 1 comkbd0 at ebus0 addr 3083f8-3083ff ipl 41: layout 33 wskbd0 at comkbd0: console keyboard com0 at ebus0 addr 3062f8-3062ff ipl 42: mouse: ns16550a, 16 byte fifo lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 70-7f ipl 34: polled fdthree at ebus0 addr 3023f0-3023f7, 706000-70600f, 72-720003 ipl 39 not configured clock1 at ebus0 addr 0-1fff: mk48t59 flashprom at ebus0 addr 0-f not configured audioce0 at ebus0 addr 20-2000ff, 702000-70200f, 704000-70400f, 722000-722003 ipl 35 ipl 36: nva ddrs 0 audio0 at audioce0 hme0 at pci1 dev 1 function 1 Sun HME rev 0x01: ivec 0x7e1, address 08:00:20:c1:66:b7 nsphy0 at hme0 phy 1: DP83840 10/100 PHY, rev. 1 vgafb0 at pci1 dev 2 function 0 ATI Mach64 GP rev 0x5c wsdisplay0 at vgafb0: console (std, sun emulation), using wskbd0 pciide0 at pci1 dev 3 function 0 CMD Technology PCI0646 rev 0x03: DMA, channel 0 configured to nat ive-PCI, channel 1 configured to native-PCI pciide0: using ivec 0x7e0 for native-PCI interrupt wd0 at pciide0 channel 0 drive 0: ST3160023A wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: PLEXTOR, DVDR PX-716A, 1.08 SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 ppb1 at pci0 dev 1 function 0 Sun Simba PCI-PCI rev 0x13 pci2 at ppb1 bus 2 ohci0 at pci2 dev 1 function 0 NEC USB rev 0x43: ivec 0x7d0, version 1.0 usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: NEC OHCI root hub, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1 at pci2 dev 1 function 1 NEC USB rev 0x43: ivec 0x7d1, version 1.0 usb1 at ohci1: USB revision 1.0 uhub1 at usb1 uhub1: NEC OHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ehci0 at pci2 dev 1 function 2 NEC USB rev 0x04: ivec 0x7d2 usb2 at ehci0: USB revision 2.0 uhub2 at usb2 uhub2: NEC EHCI root hub, rev 2.00/1.00, addr 1 uhub2: 5 ports with 5 removable, self powered pcons at mainbus0 not configured No counter-timer -- using %tick at 440MHz as system clock. root on wd0a rootdev=0xc00 rrootdev=0x1a00 rawdev=0x1a02 syncing disks...
Re: verifying ntp via GPS configuration?
On 4/11/07, Otto Moerbeek [EMAIL PROTECTED] wrote: sab0 at ebus0 addr 40-40007f ipl 43: rev 3.2 sabtty0 at sab0 port 0 sabtty1 at sab0 port 1 man sab gives: /dev/ttyh[0-1] No separate callout device, it looks like. Thanks for getting back to me. Specifying /dev/ttyh0 (or /dev/ttyh1) gives the same results. I still don't see any sensor when issuing: # sysctl hw ...nor is anything showing up in /var/log/daemon except for the following message: Apr 11 19:16:43 shockley savecore: no core dump Do you have any other ideas? Thanks.
configuring APM on Thinkpad T43?
Upon booting, I have always seen APM connect errors, but assumed that this was because I had never configured it. After looking at the manpages for APM(4) APM(8) on OpenBSD 4.0, it looked like all I needed to do is enable apmd through /etc/rc.conf. I wasn't seeing any entry in dmesg before editing /etc/rc.conf, I'm still not seeing entries for apm0 afterwards. According to the laptop page: http://openbsd.org/i386-laptop.html Thinkpad T43's support APM, however I'm seeing some hits on DaemonNews stating T43's have problems with APM on FreeBSD. I'm not seeing anything in the BIOS settings which toggle support, so I'm guessing whatever interface is present is enabled. Does anyone have any experience on what I can do to configure APM? dmesg on OpenBSD 4.0 follows: OpenBSD 4.0 (GENERIC) #1107: Sat Sep 16 19:15:58 MDT 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) M processor 1.86GHz (GenuineIntel 686-class) 799 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE, SSE2,SS,TM,SBF,EST,TM2 cpu0: unknown Enhanced SpeedStep CPU, msr 0x06120e2906000612 cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 800 MHz (988 mV): speeds: 1867, 800 MHz real mem = 2137419776 (2087324K) avail mem = 1941614592 (1896108K) using 4256 buffers containing 106975232 bytes (104468K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(b5) BIOS, date 11/30/06, BIOS32 rev. 0 @ 0xfd740, SMBIOS rev. 2.33 @ 0xe0 010 (64 entries) bios0: IBM 18714BU pcibios0 at bios0: rev 2.1 @ 0xfd6d0/0x930 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/256 (14 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #5 is the last bus bios0: ROM list: 0xc/0xf600! 0xcf800/0x1600 0xd1000/0x1000 0xdc000/0x4000! 0xe/0x1 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82915GM/PM/GMS Host rev 0x03 vga1 at pci0 dev 2 function 0 Intel 82915GM/GMS Video rev 0x03: aperture at 0x9008, size 0x100 0 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) Intel 82915GM/GMS Video rev 0x03 at pci0 dev 2 function 1 not configured ppb0 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x03 pci1 at ppb0 bus 2 bge0 at pci1 dev 0 function 0 Broadcom BCM5751M rev 0x11, BCM5750 B1 (0x4101): irq 11, address 00: 11:25:46:8d:40 brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0 ppb1 at pci0 dev 28 function 2 Intel 82801FB PCIE rev 0x03 pci2 at ppb1 bus 3 uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x03: irq 11 usb0 at uhci0: USB revision 1.0 uhub0 at usb0uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x03: irq 11 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x03: irq 11 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x03: irq 11 usb3 at uhci3: USB revision 1.0 uhub3 at usb3 uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0 at pci0 dev 29 function 7 Intel 82801FB USB rev 0x03: irq 11 usb4 at ehci0: USB revision 2.0 uhub4 at usb4 uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered ppb2 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xd3 pci3 at ppb2 bus 4 cbb0 at pci3 dev 0 function 0 TI PCI1510 CardBus rev 0x00: irq 11 iwi0 at pci3 dev 2 function 0 Intel PRO/Wireless 2915ABG rev 0x05: irq 11, address 00:0e:35:e2:af: 6f cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 5 device 0 cacheline 0x8, lattimer 0xb0 pcmcia0 at cardslot0 auich0 at pci0 dev 30 function 2 Intel 82801FB AC97 rev 0x03: irq 11, ICH6 AC97 ac97: codec id 0x41445374 (Analog Devices AD1981B) ac97: codec features headphone, 20 bit DAC, No 3D Stereo audio0 at auich0 Intel 82801FB Modem rev 0x03 at pci0 dev 30 function 3 not configured ichpcib0 at pci0 dev 31 function 0 Intel 82801FBM LPC rev 0x03: PM disabled pciide0 at pci0 dev 31 function 2 Intel 82801FBM SATA rev 0x03: DMA, channel 0 wired to compatibil ity, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: HTS541060G9AT00audio0 at auich0 Intel 82801FB Modem rev 0x03 at pci0 dev 30 function 3 not configured ichpcib0 at pci0 dev 31 function 0 Intel 82801FBM LPC rev 0x03: PM disabled pciide0 at pci0 dev 31 function 2 Intel 82801FBM SATA rev 0x03: DMA, channel 0 wired to compatibil ity, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: HTS541060G9AT00 wd0: 16-sector PIO, LBA, 57231MB, 117210240 sectors
FAQ section numbering?
The numbering of the FAQ sections proceeds through 1 - 15 excluding 11. Is there a historical reason for skipping section 11? Jim
Re: X11 Issue - Integrated Intel Media Accelerator 900 Graphics (Intel 915GM)
I ran into this on a Thinkpad T43 with a GMA900 adapter. I simply used the xorg.conf created when installing 3.7 which simply specifies a generic VGA/VESA adapter. As I remember when researching this matter, the GMA900 driver is new and problematic. Given that I run 3.8 too, I don't know if the driver in 3.9 resolves this or not. Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of d 269330400 Sent: Sunday, April 09, 2006 2:01 PM To: misc@openbsd.org Subject: X11 Issue - Integrated Intel Media Accelerator 900 Graphics (Intel 915GM) I recently installed OpenBSD 3.8 (I haven't received my 3.9 CD in the mail yet), and am having problems getting X to work (among other things). It's a Dell Inspiron 1300 notebook w/ Integrated Intel Media Accelerator 900 Graphics (Intel 915GM). The full dmesg is below. So, quick question. I noticed the following bullet on the OpenBSD 3.9 release page. Could this be my problem? That is, is it referring to the same Intel 915 as my graphics? Clueless, I know - sorry. - Support the Intel i915 AGP I've tried following the instructions in /usr/X11R6/README, using the various X wizards (xorgcfg, xorgconfig, xf86config3), and /etc/sysctl.conf has machdep.allowaperture set to 2 because I answered yes to the X question during the install. I also tried copying over the XF86Config and XF86Config-4 files that were generated by a KNOPPIX live-CD that worked on the same box, but that didn't work either. Thanks. --d OpenBSD 3.8 (GENERIC) #138: Sat Sep 10 15:41:37 MDT 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Celeron(R) M processor 1.40GHz (GenuineIntel 686-class) 1.40 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH ,ACPI ,MMX,FXSR,SSE,SSE2,SS,TM,SBF real mem = 527880192 (515508K) avail mem = 474746880 (463620K) using 4278 buffers containing 26497024 bytes (25876K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(00) BIOS, date 01/24/06, BIOS32 rev. 0 @ 0xffe90 pcibios0 at bios0: rev 2.1 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfb790/176 (9 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371 ISA and IDE rev 0x00) pcibios0: PCI bus #3 is the last bus bios0: ROM list: 0xc/0xf800! 0xcf800/0x800 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 915GM/PM/GMS Host rev 0x03 vga1 at pci0 dev 2 function 0 Intel 915GM/GMS Video rev 0x03: aperture at 0xdff0, size 0x800 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) Intel 915GM/GMS Video rev 0x03 at pci0 dev 2 function 1 not configured Intel 82801FB HD Audio rev 0x03 at pci0 dev 27 function 0 not configured ppb0 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x03 pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 3 Intel 82801FB PCIE rev 0x03 pci2 at ppb1 bus 2 uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x03: irq 11 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x03: irq 10 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x03: irq 9 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x03: irq 7 usb3 at uhci3: USB revision 1.0 uhub3 at usb3 uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0 at pci0 dev 29 function 7 Intel 82801FB USB rev 0x03: irq 11 usb4 at ehci0: USB revision 2.0 uhub4 at usb4 uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered ppb2 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xd3 pci3 at ppb2 bus 3 bce0 at pci3 dev 0 function 0 Broadcom BCM4401B0 rev 0x02: irq 9, address 00:14:22:97:85:e0 bmtphy0 at bce0 phy 1: BCM4401 10/100baseTX PHY, rev. 0 vendor Broadcom, unknown product 0x4318 (class network subclass miscellaneous, rev 0x02) at pci3 dev 3 function 0 not configured pcib0 at pci0 dev 31 function 0 Intel 82801FBM LPC rev 0x03 pciide0 at pci0 dev 31 function 1 Intel 82801FB IDE rev 0x03: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: ST9808211A wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors atapiscsi0 at pciide0 channel 0 drive 1 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, CDRW/DVD GCC4244, B101 SCSI0 5/cdrom removable wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 ignored (disabled) isa0 at pcib0 isadma0
Re: mounting MS-DOS disk in a USB floppy drive?
On Sunday, October 09, 2005, Alexander Hall wrote: 8 $ sudo mount -t msdos /dev/rsd0c /mnt mount_msdos: /dev/rsd0c on /mnt: Block device required 8 Hmmm maybe try /dev/sd0c? This gives a different error: $ sudo mount -t msdos /dev/sd0c /mnt mount_msdos: /dev/sd0c on /mnt: inappropriate file type on format Any comments are welcomed. j
Re: mounting MS-DOS disk in a USB floppy drive?
On Sunday, October 09, 2005, Andreas Bihlmaier wrote: ... $ sudo mount -t msdos /dev/sd0c /mnt mount_msdos: /dev/sd0c on /mnt: inappropriate file type on format ... RTFM! MSDOS is ALWAYS ALWAYS 'i' in disklabel even if the whole drive is formated as FAT! Thus try with /dev/sd0i disklabel sd0 should have told you that. As stated in the original message, NOTHING is being reported by disklabel. $ disklabel sd0 #/dev/rsd0c type: SCSI disk: SCSI disk label: flags: bytes/sector: 512 sectors/track: 64 sectors/cylinder: 2048 cylinders: 0 totals sectors: 1 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0# microseconds track-to-track seek: 0 # microseconds drivedata: 0 16 partitions: # size offset fstype [fsize bsize cpg] c: 10 unused 0 0 # Cyl0 - 0* disklabel: cylinders/unit 0
mounting MS-DOS disk in a USB floppy drive?
I'm unable to mount a MS-DOS disk within a USB floppy drive on OpenBSD 3.7/i386. The following is both displayed and written to dmesg: 8 umass0 at uhub1 port2 configuration 1 interface 0 umass0: CITIZEN XIDE-USB, rev 1.10/0.00, addr 2 umass0: using UFI over CBI with CCI scsibus1 at umass0: 2 targets sd0 at scsibus1 targ 1 lun 0: , , SCSI0 0/direct fixed sd0: 0MB, 0 cyl, 64 head, 32 sec, 512 bytes/sec, 1 sec total 8 disklabel doesn't recognize the MS-DOS filesystem either: 8 $ disklabel sd0 #/dev/rsd0c type: SCSI disk: SCSI disk label: flags: bytes/sector: 512 sectors/track: 64 sectors/cylinder: 2048 cylinders: 0 totals sectors: 1 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0# microseconds track-to-track seek: 0 # microseconds drivedata: 0 16 partitions: # size offset fstype [fsize bsize cpg] c: 10 unused 0 0 # Cyl0 - 0* disklabel: cylinders/unit 0 8 ...and if fact, provides the same output whether the floppy disk has inserted into the USB drive or not. Having the floppy disk inserted into the drive prior to connecting to the USB port doesn't change this output either. Obviously attempting to mount (regardless of partition used) doesn't work: 8 $ sudo mount -t msdos /dev/rsd0c /mnt mount_msdos: /dev/rsd0c on /mnt: Block device required 8 Is this drive not supported or what am I not gleaning here? Thanks. Jim