Re: flashdist-20061112 with openbsd 4.1 - SOLVED
Thank you. This helped me to figure out that installboot was clobbering the MBR on the vnd images because of the type in the disklabel. After reviewing arch/i386/stand/installboot/installboot.c I realized that installboot assumes any vnd device is the same as a floppy and just starts writing the boot blocks at the first block. This assumption makes sense for using installboot to create, say, OpenBSD boot floppies. For any disklabel that has a type other than vnd or floppy, installboot lseek()s past the MBR before it writes. So, just adding echo type: ESDI $T is sufficient to make installboot behave properly with vnd images destined for non-floppy media. Thomas B??rnert [EMAIL PROTECTED] wrote: Hi List, the problem is solved with the following patch for the flashdisk.sh ---snip--- --- flashdist.shMon Nov 13 04:15:50 2006 +++ flashdist-new.shWed Aug 1 13:37:49 2007 @@ -473,6 +473,24 @@ # Here we setup an 'a' partition that takes up the whole flash media # and a 'b' partition of minimal size which can be used with mount_mfs +echo type: SCSI $T +echo disk: vnd device $T +echo label: fictitious $T +echo flags: $T +echo bytes/sector: ${bytessec} $T +echo sectors/track: ${sectorstrack} $T +echo tracks/cylinder: ${trackscylinder} $T +echo sectors/cylinder: ${sectorscylinder} $T +echo cylinders: ${cylinders} $T +echo total sectors: ${totalsize} $T +echo rpm: 3600 $T +echo interleave: 1 $T +echo trackskew: 0 $T +echo cylinderskew: 0 $T +echo headswitch: 0 $T +echo track-to-track seek: 0$T +echo drivedata: 0 $ +echo $T echo a: $asize$sectorstrack 4.2BSD 1024819216 $T echo b: 1 $offset swap $T echo c: $totalsize0 unused 0 0 $T ---snip--- Thomas Hi List, i've probleme with flashdist and OpenBSD 4.1. 4.0 works fine but on 4.1 i've problems with the partiontables. here my setup procedure - # dd if=/dev/zero of=flashimg bs=512 count=250368 250368+0 records in 250368+0 records out 128188416 bytes transferred in 2.593 secs (49432122 bytes/sec) # vnconfig -c svnd0 flashimg # sh flashdist.sh svnd0 flashsmall.txt bsd / flashdist.sh 20061112 [EMAIL PROTECTED] Using disk device: svnd0 Using distfile: flashsmall.txt Copying kernel from: bsd You did not specify -d and you did not specify a manual geometry. Please enter Cylinders/Heads/SectorsPerTrack. Cylinders: 978 Tracks Per Cylinder(Heads): 8 Sectors Per Track: 32 Please pay attention to any error messages that you may receive from the commands this script is using. If you end up having problems, they could explain why. WARNING: This will erase ALL DATA on the svnd0 disk device! Press enter key to continue or Control-C to abort... Updating MBR and partition table... fdisk: sysctl(machdep.bios.diskinfo): Device not configured Note, you may ignore sysctl(machdep.bios.diskinfo) errors if present. Setting up disklabel... # Inside MBR partition 3: type A6 start 32 size 250336 The install script is using the following parameters: Total size of media: 250368 sectors (128188416 bytes) Bytes/Sector: 512 Sectors/Track: 32 Sectors/Cylinder: 256 Tracks/Cylinder (heads): 8 Cylinders: 978 Press enter key to continue or Control-C to abort... Checking distribution list... Installing disklabel... # Inside MBR partition 3: type A6 start 32 size 250336 Creating new filesystem... /dev/rsvnd0a: 250080 sectors in 977 cylinders of 8 tracks, 32 sectors 122.1MB in 4 cyl groups (285 c/g, 35.62MB/g, 9088 i/g) Mounting destination to /tmp/flashdist.iXZgI9414... Checking free space on svnd0... Copying OpenBSD distribution to media... Copying bsd kernel, boot blocks, /etc/resolv.conf... Installing boot blocks... Running MAKEDEV...done Setting up directories and links... Changing any instance of /bin/csh in /tmp/flashdist.iXZgI9414/etc/master.passwd to /bin/ksh Generating new RSA host key... done Generating new RSA1 host key... done Generating new DSA host key... done Please assign a root password... Password: Verify: Passwords don't match or password was empty. Try again. Password: Verify: Copying configuration files to /etc... ttys fstab rc syslog.conf boot.conf nshrc Please enter the hostname or IP address of the central log host which will receive udp syslog packets from this installation. (Press enter for none, and syslog will log to ramdisk) Loghost: Installation finished. Unmounting filesystem...done! -- # fdisk svnd0 fdisk: sysctl(machdep.bios.diskinfo): Device not configured Disk: svnd0 geometry: 978/8/32 [250368 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: id
Theo's new compiler and etiquette both in cyberspace and the 'real world' (was: Re: OT: Re: version info )
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Thus Theo de Raadt [EMAIL PROTECTED] spake Thu, 01 Nov 2007 05:43:06 -0600: Where's the diffs Timo? Are you going to continue preaching bullshit, and then not showing diffs? (Please see the bottom of the email for my reply. As it used to be.) Thus Coleman Kane [EMAIL PROTECTED] spake on Wed, 31 Oct 2007 22:03:05 -0400: Timo Schoeler wrote: Thus Theo de Raadt [EMAIL PROTECTED] spake on Wed, 31 Oct 2007 16:04:31 -0600: Perfect. You were the last person I suspected to post an answer like this. However: Arguments? Or just polemics and poo? Tough Shit, Timo. Thus Kjell Wooding [EMAIL PROTECTED] spake on Wed, 31 Oct 2007 10:29:51 -0600: @ragge: please don't top-post and full-quote ;) //mirabilos STOP. there is NOTHING BLOODY WRONG with top-posting. It's like arguing big-endian, little-endian. (and it's his own bloody mailing list) -kj I tend to disagree, mainly because of following (IMHO most important reasons mentioned on that site): *snip* http://www.caliburn.nl/topposting.html Best regards, Timo (- Big Endian. Like Nature :) *snip sig* Um, I tend to prefer bottom posting myself for many of the reasons outlined. However, I've never had problems parsing or navigating the emails of those who do top-post. But it's annoying and wastes time. I tend to agree with Theo and others here, more time is wasted by dealing with discussions on top vs. bottom posting by numerous email formatting Nazis. I agree with you and others that a useless thread popped up, BUT: I don't agree with Theo as I don't go down onto his crappy discussion level. (I now save much time by now writing what I wanted to.) Generally, I expect plain-text email on a list and as few flame-wars about off-topic points, the merits of which are not a science and more personal preference. True. But this does NOT legitimate offenses. Period. I mean, we're all volunteers here, and we really care more to focus on the project at hand. True. But does that mean to scream at each other like overly civilized people? -- Coleman Best regards, Timo Hi list, hi Theo, IMO it's worse than annoying when language like the one you really like to use is used on a (public) mailing list where grown up people try to do some work -- regardless of being _paid_ for doing this work or doing it _voluntarily_. It's just a question of being _nice_ and paying attention to something like an _etiquette_ people around the world usually do. It's just a matter of fact that _you_ are well known for being 'difficult', having an 'abrasive personality', etc. [0] Also well known (and documented) is your use of language on (not only OpenBSD's) mailing lists. Everybody on the net can use her/his favorite search engine and will get gazillions of hits. Or go to slashdot. Your 'use' of language is almost legendary (but not in a sense that it's positive). There are some things I'd like to point out (mainly to show _why_ this _bothers_ me, and why _you_ should pay attention, too): i) Theo, you are the (main) representative of the OpenBSD project. As such, you have _a mission_. Neither I nor anybody else on the planet thinks it would be an advantage for you or the OpenBSD project to kiss about six billion butts on this planet; but this does NOT mean that you should do quite the opposite of it and scream at everybody except your best 20 developer buddies. Theo, you are well-known thoughout the internet, as well as your use of language which is more coprolalia [1] than communicating. Noteworthy is the fact that, mostly in contrast to the GNU/Linux community, BSD folks are well-known as _mature_ people who know how to behave. It's not only about the work a developer does, but also _how_ he does it -- this includes communications with the rest of the world. This behaviour of yours leads directly to problems with ii) OpenBSD (and the OpenBSD project), and its deployability (also, but not exclusively, at customers). In the past I tried to support the OpenBSD project (this includes _yourself_, just to remind you) as much as I could; I wrote articles in _the_ german Unix magazine [2],[3] covering OpenBSD; I bought the OpenBSD install media, T-Shirts, and other gimmicks; I spread the word, and installed OpenBSD (sometimes even to replace another BSD) instead of GNU/Linux or other OSes at customers' sites; I encouraged customers to support the project by buying the OpenBSD install media or donating money. I could continue this list. BUT: How to explain to a customer why I use an OS and support a project, even try to encourage _others_ to do so, when, at the same time, the main representative of this project -- you, Theo -- bitches around like this. For more than a
Re: OpenBSD aio(2) support
(Just to get this into the archives.) aio is a POSIX extension which OpenBSD currently do not have. Daniel Bosk wrote: Hi misc@, Just wondering, is there still no support for the aio(2) programming interface in OpenBSD? (Running 4.1 and I cannot find it) In January 2003 it was being worked on, but what is the status now? http://marc.info/?l=openbsd-miscm=104213994204389w=2 -- Daniel
Re: Need help with wordpress install.
On 11/4/07, nuffnough [EMAIL PROTECTED] wrote: On 04/11/2007, James [EMAIL PROTECTED] wrote: Just thought of something else, too. are you using an install of apache from ports, or the default version in OpenBSD? Because the default version is chrooted, so you may need to install a bunch of stuff in the chroot environment, or turn off the chroot and lose its security features. Thanks for the reply. I'm just using the default apache in obsd 4.2. I've tried it switching chroot() off in rc.conf, but it seems to make no difference. :( Makes all the difference in the world, me bucko. It's good to have it covered. I installed wordpress on OpenBSD entirely following the steps here: http://codex.wordpress.org/Installing_WordPress What step are you on? I am up to this step: Run the WordPress installation script by accessing wp-admin/install.php in your favorite web browser. It is when I put that url into a browser that I get shown that error. Clearly, then, you're misconfigured somewhere before this :) I seem to recall that reading httpd-errors is often a good place to start with wordpress, along with messages. But your solution is really as simple as combing through the instructions and verifying that you've followed everything. THanks for the help. Nuffi
Re: Open hardware.
+1 On Nov 4, 2007 7:22 AM, Mark Thomas [EMAIL PROTECTED] wrote: On Nov 3, 2007 2:47 PM, Adrian Fisher [EMAIL PROTECTED] wrote: Would you be more inclined to buy a machine based on open source hardware rather than proprietary products such as Asus, Intel and AMD? Of course! -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Re: carp ip loadbalancing bug ?
On Fri, Nov 02, 2007 at 09:53:46AM +0100, [EMAIL PROTECTED] wrote: hi yes the em0 ist member of the /22 network and the carpdev opion ist an old setting from the start of this cluster where i setup no ip on the interface. should i try this ip balancing whitout this option ? No, it's redundant to use carpdev in this case, but it doesn't matter. Do you see the traffic incoming on both machines? Maybe the link2 mode works better for you... Quoting from carp(4): Please note that activating stealth mode on a carp interface that has al- ready been running might not work instantly. As a workaround the VHID can be changed to a previously unused one, or just wait until the MAC table entry in the switch times out. Some Layer-3 switches do port learning based on ARP packets. Therefore the stealth mode cannot hide the virtual MAC address from these kind of devices. In such cases, carp can be told to use a multicast MAC address by additionally enabling the link2 flag.
Re: Theo's new compiler and etiquette both in cyberspace and the 'real world' (was: Re: OT: Re: version info )
EU bank transfer - Receipt Sender: Jens Ropers Recipient: OpenBSD Oostveld Kouter 13 9920 Lovendegem Belgium IBAN: BE93737017743767 BIC-/SWIFT-Code:KREDBEBB Amount: 10.00 EUR Comment:Jens Ropers I cannot afford anything right now but I just had to send this as a response to Timo Schoelers BS mail. Your EU bank transfer order has been dispatched on 04.11.2007 at 11:50 h. PS: Anybody else care to join me and chip in on this occasion? See http://www.openbsd.org/donations.html
Re: Theo's new compiler and etiquette both in cyberspace and the 'real world' (was: Re: OT: Re: version info )
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Thus ropers [EMAIL PROTECTED] spake Sun, 4 Nov 2007 11:36:24 +0100: I know I shouldn't feed the trolls, but Sorry, Could Not Resist: Timo-- There are two ways to read your email: 1. You are trying to make a point about how to best lead the OpenBSD project. 2. You're being a jerk who's venting some kind of irrational pent up anger, and you're trying to publicly smear and humuliate Theo. In case it's (1): I don't know if you noticed, but OpenBSD is under the BSD license. Theo and most OpenBSD developers espouse a no-nonsense, tell-the-truth-consequences-be-darned, code-is-better-than-emails, shut-up-and-hack, it's-about-the-fucking-code-stupid approach. If you really believe that your way works better, go ahead and fork. Make your TimoBSD, where you are absolutely free to set the tone in any way you want. If you really believe that your way works better, then prove your point. Put your words into action and see if you attract more and better developers and if you can produce better code with TimoBSD. OpenBSD is widely considered the most secure OS bar none, has only had 2 remote exploits in over 10 years, yadda, yadda, yadda. The NetBSD bellends argued similarly to what's in your email, and OpenBSD, after starting as a NetBSD fork, is now twice as popular as NetBSD, without even ever trying to win any kind of popularity contests. ( http://tinyurl.com/28zowl ) I dare say, Theo has been proved correct. But again, if you want to revisit the old and lame style-vs-substance debate, go right ahead. Code is better than emails. Try to make TimoBSD have better code than OpenBSD with your style over substance approach. I dare you and I double-dare you. See how far you get. Which part of my email did you actually read _and_ understand? The subject? In case it's (2): I have recently learned that it can on occasion be quite helpful to seek assistance from qualified mental health professionals. I would kindly suggest you do the same. Too little, too late, pal. You have to _learn_ polemics before trying to use it. Sincerely, --ropers Best regards, Timo iD8DBQFHLayjUY3eBSqOgOMRCnoPAJ0YNmy88nHnz2bxdDB9nUFdU0ckRQCdFbPj qcVnuYYDkxdrOvPZp7HxN8k= =NUjT -END PGP SIGNATURE-
Re: Theo's new compiler and etiquette both in cyberspace and the 'real world' (was: Re: OT: Re: version info )
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Thus Graham Gower [EMAIL PROTECTED] spake Sun, 4 Nov 2007 20:29:06 +1030: On 04/11/2007, Timo Schoeler [EMAIL PROTECTED] wrote: snip Hi Timo, Could you please stop spamming the mailing lists I subscribe to. Your list? Or have something to hide? :) I'm only interested in the technical discussions. No, you are not, that's why you responded. Just hitting the 'delete' button of you MUA or pressing the appropriate keystrokes would have deleted the message you are complaining about loudly; responding eats many more CPU cycles. Thanks, Graham You're welcome, Timo :) iD8DBQFHLa1lUY3eBSqOgOMRCkZPAJwMeltAz2s9V74Nh87jSadNiCguOQCgii7c aWGdpFuydLNmQtAqcMmfMuE= =ZQcy -END PGP SIGNATURE-
Re: Theo's new compiler and etiquette both in cyberspace and the 'real world' (was: Re: OT: Re: version info )
On 11/4/07, ropers [EMAIL PROTECTED] wrote: I know I shouldn't feed the trolls, but Sorry, Could Not Resist: Not feeding a troll is better than posting childish replies like the one you posted. regards VK
Re: Custom Kernel for 4.2 upgrade
I have no idea what I did to have /dev/null changed. I also had this problem with /dev/null once. In my case I used mysql as root on the command line and had MYSQL_HISTFILE=/dev/null in .profile. That replaced /dev/null with the MySQL history file. If you also use MySQL, then more info is here: http://marc.info/?l=openbsd-miscm=117506805619129w=2 (and in the following post). Tas.
The program 'foobar' received an X Window System error.
Hi I have a problem with my X. -- snip -- [~] firefox The program 'firefox-bin' received an X Window System error. This probably reflects a bug in the program. The error was '82'. (Details: serial 428 error_code 82 request_code 45 minor_code 0) -- snip -- The same with gqview or gajim. But other software like gvim ok. Windowmanager is Fluxbox, the same problem with OpenBox and pekwm. With wmii Firefox are running. WindowManager Problem? What can I do? MFG manuel
OT: Re: Theo's new compiler and etiquette both in cyberspace and the 'real world'
Timo Schoeler wrote: Thus Theo de Raadt [EMAIL PROTECTED] spake Thu, 01 Nov 2007 05:43:06 -0600: Where's the diffs Timo? Are you going to continue preaching bullshit, and then not showing diffs? (Please see the bottom of the email for my reply. As it used to be.) [massive fullquote] Hi list, hi Theo, [OT rant] Who are you to complain about top-posting and then running in a fullquote? Who are you to waste precious developer time by writing such a nonsensical mail to multiple(!) mailing lists? Who are you wanting to teach manners to a grown up? Your goal might be noble, but in this context you're nothing but a troll, since the moment you appeared on this list. Fuck! (sic) Grow up and ignore the stuff you don't like or simply walk away. That was the last brownie from me, no more food for you. simon [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]
Re: carp ip loadbalancing bug ?
-Urspr|ngliche Nachricht- Von: Marco Pfatschbacher [EMAIL PROTECTED] Gesendet: 04.11.07 11:49:03 An: [EMAIL PROTECTED] CC: misc@openbsd.org Betreff: Re: carp ip loadbalancing bug ? On Fri, Nov 02, 2007 at 09:53:46AM +0100, [EMAIL PROTECTED] wrote: hi yes the em0 ist member of the /22 network and the carpdev opion ist an old setting from the start of this cluster where i setup no ip on the interface. should i try this ip balancing whitout this option ? No, it's redundant to use carpdev in this case, but it doesn't matter. Do you see the traffic incoming on both machines? Maybe the link2 mode works better for you... hi ah ok i will try this , and yes there ist traffic on both machines but not from all clients ( 50% can reach there default gw and rest don4t ) but we check our switches ( HP 2824 ) and my networker says that we have old revision of firmware inside. we will update this at monday and that we test it again. is the link2 option an replacement for link1 ? holger Quoting from carp(4): Please note that activating stealth mode on a carp interface that has al- ready been running might not work instantly. As a workaround the VHID can be changed to a previously unused one, or just wait until the MAC table entry in the switch times out. Some Layer-3 switches do port learning based on ARP packets. Therefore the stealth mode cannot hide the virtual MAC address from these kind of devices. In such cases, carp can be told to use a multicast MAC address by additionally enabling the link2 flag.
Re: Theo's new compiler and etiquette both in cyberspace and the 'real world' (was: Re: OT: Re: version info )
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Thus vivek khurana [EMAIL PROTECTED] spake Sun, 4 Nov 2007 11:40:35 +: On 11/4/07, ropers [EMAIL PROTECTED] wrote: I know I shouldn't feed the trolls, but Sorry, Could Not Resist: Not feeding a troll is better than posting childish replies like the one you posted. regards VK What is a troll, btw? Someone who's raising a discussion to keep something alive or enhance things? Best regards, Timo iD8DBQFHLb3rUY3eBSqOgOMRCgr4AKCI71WibABmEynLYmI5Cr1ukxeu5gCdE/uM gbefugBE2pQ7aQMVKpfJUQg= =Ep1E -END PGP SIGNATURE-
Re: OT: Re: Theo's new compiler and etiquette both in cyberspace and the 'real world'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Thus Simon 'corecode' Schubert [EMAIL PROTECTED] spake Sun, 04 Nov 2007 13:15:27 +0100: Timo Schoeler wrote: Thus Theo de Raadt [EMAIL PROTECTED] spake Thu, 01 Nov 2007 05:43:06 -0600: Where's the diffs Timo? Are you going to continue preaching bullshit, and then not showing diffs? (Please see the bottom of the email for my reply. As it used to be.) [massive fullquote] Hi list, hi Theo, [OT rant] Who are you to complain about top-posting and then running in a fullquote? A member of this fucking email lists. :) Who are you to waste precious developer time by writing such a nonsensical mail to multiple(!) mailing lists? Dito. Who are you wanting to teach manners to a grown up? Ouch. Who is the grown up? Theo? No, he continually uses the language of a three-year-old child stuck in the anal phase. You? No. Grown ups are able to _discuss_. You are not. Your goal might be noble, See. but in this context you're nothing but a troll, since the moment you appeared on this list. Fuck! (sic) Ah. That hurts s much. Grow up and ignore the stuff you don't like or simply walk away. What part of my email did *you* read _and_ understand? Obviously _not_ the part that I _like_ OpenBSD, but I _dislike_ how it's being destroyed? :) That was the last brownie from me, no more food for you. I don't take food from you either, so don't mind. simon Have a nice day! Timo iD8DBQFHLb11UY3eBSqOgOMRCmiwAJ0fRAsQjz5kcPBYShgSpwlfPtDBoACfQ3a7 tjCaqEDTHALSAi72YwGdbWg= =tOjm -END PGP SIGNATURE-
Re: Need help with wordpress install.
Hi nuffnough wrote: It is when I put that url into a browser that I get shown that error. Which error? Did you move the mysql.sock to /var/www/var/run/mysql? http://www.unixadmintalk.com/f67/re-mysql-issues-290522/ Marc
Re: Theo's new compiler and etiquette both in cyberspace and the 'real world' (was: Re: OT: Re: version info )
On 04/11/2007, ropers [EMAIL PROTECTED] wrote: I know I shouldn't feed the trolls, but Sorry, Could Not Resist: (...) If you really believe that your way works better, go ahead and fork. Make your TimoBSD, where you are absolutely free to set the tone in any way you want. If you really believe that your way works better, then prove your point. Put your words into action and see if you attract more and better developers and if you can produce better code with TimoBSD. OpenBSD is widely considered the most secure OS bar none, has only had 2 remote exploits in over 10 years, yadda, yadda, yadda. The NetBSD bellends argued similarly to what's in your email, and OpenBSD, after starting as a NetBSD fork, is now twice as popular as NetBSD, without even ever trying to win any kind of popularity contests. ( http://tinyurl.com/28zowl ) I dare say, Theo has been proved correct. But again, if you want to revisit the old and lame style-vs-substance debate, go right ahead. Code is better than emails. Try to make TimoBSD have better code than OpenBSD with your style over substance approach. I dare you and I double-dare you. See how far you get. Second thought, you don't even have to fork. Your TimoBSD already exists. It's called NetBSD. You can go right ahead and join them. They rule by committee, they are known to have been nice (i.e. politically correct but inhumane and bonkers**), and I'm sure with your masterful efforts you will lead them to world domination. --ropers **For crissakes, they even substituted their really cool logo with a bland flag, for fear of offending their valued anti-swearing, evolution-denying reborn US-American Christian audience.
Problem with xl interfaces
hi all! I've been using OpenBSD during the last 2-3 years mainly running it as a firewall. I've an old machine (486 + 48MB RAM) and yesterday decided to make some improvements: upgrade it from 4.0 to 4.2 (new installation) and replace the two NICs, switching from NE2000 clones (RTL8029) to 3C905B. The problem is that i'm getting ton of this messages which bring down the two interfaces: xl0: reset didn't complete xl1: reset didn't complete xl0: command never completed! xl1: command never completed! I found that man xl already has some information about 'command never completed' but in this case the driver does not continue to function normally. Is this problem a combination of old hardware with the xl interfaces ? or are this interfaces crap too ? switching to a newer machine (pentium 166) may help ? or should I buy another brand (which) ? Thanks in advance for any help!. Jorge PS: on 2006-01-06 I reported a keyboard problem with OpenBSD 3.8, the problem is still present with 4.2: http://marc.info/?l=openbsd-miscm=113658848307726w=2 OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel 486DX (486-class) real mem = 49905664 (47MB) avail mem = 39297024 (37MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 07/25/94, BIOS32 rev. 0 @ 0xf7810 apm0 at bios0: Power Management spec V1.0 apm0: AC on, battery is unknown apm0: flags 30100 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.0 @ 0xf/0x1 pcibios0: pcibios_get_intr_routing - function not supported pcibios0: PCI IRQ Routing information unavailable. pcibios0: PCI bus #0 is the last bus WARNING: can't reserve area for I/O APIC. WARNING: can't reserve area for Local APIC. bios0: ROM list: 0xc/0x8000 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (bios) xl0 at pci0 dev 13 function 0 3Com 3c905B 100Base-TX rev 0x30: irq 11, address 00:01:02:6e:c5:08 exphy0 at xl0 phy 24: 3Com internal media interface xl1 at pci0 dev 14 function 0 3Com 3c905B 100Base-TX rev 0x30: irq 9, address 00:01:02:87:fc:88 exphy1 at xl1 phy 24: 3Com internal media interface vga1 at pci0 dev 15 function 0 ATI Mach64 GP rev 0x5c wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pchb0 at pci0 dev 16 function 0 UMC UM8881F Host rev 0x01 pcib0 at pci0 dev 18 function 0 UMC UM8886 rev 0x01 isa0 at pcib0 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 wdc0 at isa0 port 0x1f0/8 irq 14 wd0 at wdc0 channel 0 drive 0: WDC AC310200R wd0: 16-sector PIO, LBA, 9787MB, 20044080 sectors wd0(wdc0:0:0): using BIOS timings pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: using exception 16 biomask f5fd netmask fffd ttymask pctr: no performance counters in CPU dkcsum: wd0 matches BIOS drive 0x80 root on wd0a swap on wd0b dump on wd0b
wpi 3945 firmware error
Hello, I use OpenBSD 4.2 on a FSC Amilo Pro V3205 notebook with an Intel 3945ABG wireless adapter and the following firmware package: http://damien.bergamini.free.fr/packages/openbsd/wpi-firmware-2.14.4.tgz My wireless network uses 11a and 128bit-WEP. I can successfully set the nwid, nwkey and IP with ifconfig and start the interface, but when I try to scan (ifconfig -M wpi0), the wireless light will blink once and immediately I see a wpi0: fatal firmware error (or similar) message on the terminal. I tried with an older firmware version as well, but I was unable to set the wep key with it and got firmware errors as well. The killswitch is off, too, otherwise I get a thermal sensor message. Unfortunately I forgot to save dmesg, but I didn't see any additional output save the firmware error. It is a bit difficult, because OpenBSD can't mount jfs and I have to use my USB hdd with an ext2 partition for file transfers to linux. kind regards and thanks in advance for your help Johannes
Re: wpi 3945 firmware error
On Sun, Nov 04, 2007 at 02:52:52PM +0100, Johannes Krampf wrote: My wireless network uses 11a and 128bit-WEP. I can successfully set the nwid, nwkey and IP with ifconfig and start the interface, but when I try to scan (ifconfig -M wpi0), the wireless light will blink once and immediately I see a wpi0: fatal firmware error (or similar) message on the terminal. From a recent CVS commit: CVSROOT:/cvs Module name:src Changes by: [EMAIL PROTECTED] 2007/11/03 07:10:29 Modified files: sys/dev/pci: if_wpi.c if_iwn.c Log message: fix ENETRESET handling in {wpi,iwn}_ioctl() so that the firmware won't panic when resetting the device - requested by many fix ifconfig -M (the interface still has to be down though ie it won't work while the interface is up). fix AMPDU window for 4965AGN (has no effect since 802.11n is not supported yet). So you should try with -current (no snapshot is available with that code yet, wait a few days if you want to use a snapshot) AND make sure your interface is down when running the scan. Pierre Riteau
Thanks for the work on acpi!
I saw a lot of acpi related commits over the last few days. acpibat, acpiac and temperature sensors and now detected and work as expected on my Thinkpad T60 in -CURRENT! spaceman% dmesg | grep acpi acpi0 at mainbus0: rev 2 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT SSDT SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4) acpitimer at acpi0 not configured acpimadt0 at acpi0 addr 0xfee0: PC-AT compat acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (AGP_) acpiprt2 at acpi0: bus 2 (EXP0) acpiprt3 at acpi0: bus 3 (EXP1) acpiprt4 at acpi0: bus 4 (EXP2) acpiprt5 at acpi0: bus 12 (EXP3) acpiprt6 at acpi0: bus 21 (PCI1) acpiec0 at acpi0: EC__ acpicpu at acpi0 not configured acpicpu at acpi0 not configured acpitz0 at acpi0: critical temperature 127 degC acpitz1 at acpi0: critical temperature 99 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model 42T4504 serial 41653 type LION oem SANYO acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpidock at acpi0 not configured spaceman% sysctl hw hw.machine=amd64 hw.model=Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz hw.ncpu=2 hw.byteorder=1234 hw.physmem=1072099328 hw.usermem=1072091136 hw.pagesize=4096 hw.disknames=cd0,sd0,sd1 hw.diskcount=3 hw.sensors.cpu0.temp0=60.00 degC hw.sensors.cpu1.temp0=60.00 degC hw.sensors.acpitz0.temp0=60.05 degC (zone temperature) hw.sensors.acpitz1.temp0=63.05 degC (zone temperature) hw.sensors.acpibat0.volt0=10.80 VDC (voltage) hw.sensors.acpibat0.volt1=11.67 VDC (current voltage) hw.sensors.acpibat0.watthour0=56.09 Wh (last full capacity) hw.sensors.acpibat0.watthour1=2.80 Wh (warning capacity) hw.sensors.acpibat0.watthour2=0.20 Wh (low capacity) hw.sensors.acpibat0.watthour3=44.66 Wh (remaining capacity), OK hw.sensors.acpibat0.raw0=1 (battery discharging), OK hw.sensors.acpibat0.raw1=22 (rate) hw.sensors.acpiac0.indicator0=Off (power supply) hw.sensors.aps0.temp0=36.00 degC hw.sensors.aps0.temp1=36.00 degC hw.sensors.aps0.indicator0=On (Keyboard Active) hw.sensors.aps0.indicator1=Off (Mouse Active) hw.sensors.aps0.indicator2=On (Lid Open) hw.sensors.aps0.raw0=507 (X_ACCEL) hw.sensors.aps0.raw1=538 (Y_ACCEL) hw.sensors.aps0.raw2=507 (X_VAR) hw.sensors.aps0.raw3=538 (Y_VAR) hw.cpuspeed=1994 hw.setperf=100 hw.vendor=LENOVO hw.product=2007QPG hw.version=ThinkPad T60 hw.serialno=L32Z1K9 hw.uuid=f7d7ad81-4941-11cb-a0bc-86862e763339 Thanks for your hard work! Best regards, Jona -- I am chaos. I am the substance from which your artists and scientists build rhythms. I am the spirit with which your children and clowns laugh in happy anarchy. I am chaos. I am alive, and tell you that you are free. Eris, Goddess Of Chaos, Discord Confusion
Re: carp ip loadbalancing bug ?
On Sun, Nov 04, 2007 at 01:17:19PM +0100, [EMAIL PROTECTED] wrote: but we check our switches ( HP 2824 ) and my networker says that we have old revision of firmware inside. we will update this at monday and that we test it again. I don't think that's necessary. It's not a bug in the switch. is the link2 option an replacement for link1 ? no, you need link0,link1,link2 Just like it's written in the manual... holger Quoting from carp(4): Please note that activating stealth mode on a carp interface that has al- ready been running might not work instantly. As a workaround the VHID can be changed to a previously unused one, or just wait until the MAC table entry in the switch times out. Some Layer-3 switches do port learning based on ARP packets. Therefore the stealth mode cannot hide the virtual MAC address from these kind of devices. In such cases, carp can be told to use a multicast MAC address by additionally enabling the link2 flag. ^^ There's work in progress to make the configuration easier. However, sometimes I wonder why we bother to write manuals that no one reads.
OBSD on MacBook
Hi everyone! Anyone has a success story on installing OBSD on MacBook or MB Pro? Regards Koh Choon Lin
Re: Custom Kernel for 4.2 upgrade
Well I do use mysql 5.0.24a. But I can't find any reference to HISTFILE in .profile or /etc/my.cnf. But I'll keep this in mind if it happens next time. If it happens again, don't forget to look what's in the file with cat /dev/null before you repair /dev/null. The content will probably tell you where it comes from. I didn't thought of that at the time when I had the problem. Tas.
Re: OBSD on MacBook
http://linkpot.net/litigates/ http://www.google.com/search?q=openbsd+macbookie=utf-8oe=utf-8aq=trls=org.mozilla:en-US:officialclient=firefox-a ;) On 11/4/07, Koh Choon Lin [EMAIL PROTECTED] wrote: Hi everyone! Anyone has a success story on installing OBSD on MacBook or MB Pro? Regards Koh Choon Lin
Re: OBSD on MacBook
On Nov 4, 2007, at 9:46 AM, Koh Choon Lin wrote: Hi everyone! Anyone has a success story on installing OBSD on MacBook or MB Pro? Here are the archives: http://marc.info/?l=openbsd-misc Here are the keywords: macbook dmesg Here are the results: http://marc.info/?l=openbsd-miscs=macbook+dmesg Yet another method: http://www.google.com/custom?q=openbsd+macbook It's fun when you try! --- Jason Dixon DixonGroup Consulting http://www.dixongroup.net
Re: Theo's new compiler and etiquette both in cyberspace and the 'real world' (was: Re: OT: Re: version info )
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Thus ropers [EMAIL PROTECTED] spake Sun, 4 Nov 2007 14:22:43 +0100: On 04/11/2007, ropers [EMAIL PROTECTED] wrote: I know I shouldn't feed the trolls, but Sorry, Could Not Resist: (...) If you really believe that your way works better, go ahead and fork. Make your TimoBSD, where you are absolutely free to set the tone in any way you want. If you really believe that your way works better, then prove your point. Put your words into action and see if you attract more and better developers and if you can produce better code with TimoBSD. OpenBSD is widely considered the most secure OS bar none, has only had 2 remote exploits in over 10 years, yadda, yadda, yadda. The NetBSD bellends argued similarly to what's in your email, and OpenBSD, after starting as a NetBSD fork, is now twice as popular as NetBSD, without even ever trying to win any kind of popularity contests. ( http://tinyurl.com/28zowl ) I dare say, Theo has been proved correct. But again, if you want to revisit the old and lame style-vs-substance debate, go right ahead. Code is better than emails. Try to make TimoBSD have better code than OpenBSD with your style over substance approach. I dare you and I double-dare you. See how far you get. Second thought, you don't even have to fork. Your TimoBSD already exists. It's called NetBSD. You developer are _that_ bad in logic? YMMD, thanks. You can go right ahead and join them. Where's your facts? I pointed out how OpenBSD could receive more donations. They rule by committee, You missed the recent developments WRT Wasabi. You obviously miss the point that without NetBSD OpenBSD would just _not exist_. (There's it again, this 'logic' thingie.) they are known to have been nice (i.e. politically correct but inhumane and bonkers**), and I'm sure with your masterful efforts you will lead them to world domination. Talk to your psychiatrist, maybe (s)he really can fix your problem, just to paraphrase you. --ropers **For crissakes, they even substituted their really cool logo with a bland flag, for fear of offending their valued anti-swearing, evolution-denying reborn US-American Christian audience. Is that _my_ problem? Best wishes, Timo iD8DBQFHLeFbUY3eBSqOgOMRCqi/AJ9XE44WQLru5oq3OSas0lsmGkPHJwCdESmX 095eKaY0EVYzb64rhVSoRCM= =Sq0s -END PGP SIGNATURE-
Re: When will OpenBSD support UTF8?
Hi, all. With Jung's patch(http://sigsegv.s25.xrea.com/distfiles/citrus/OpenBSD/), i can use Chinese Simp locale(zh_CN.GB18030) successfully, and can use scim(+pinyin) type Chinese now. Big thanks to Jung and Kevin Lo. And i also wrote a simple documentation(in Chinese) here: http://www.openbsdonly.org/thread-234-1-1.html -- Michael Bibby(Huangbin Zhang) RedHat + OpenBSD
Re: OT: Re: Theo's new compiler and etiquette both in cyberspace and the 'real world'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Thus William Pitcock [EMAIL PROTECTED] spake Sun, 04 Nov 2007 09:17:53 -0600: On Sun, 2007-11-04 at 13:39 +0100, Timo Schoeler wrote: What part of my email did *you* read _and_ understand? Obviously _not_ the part that I _like_ OpenBSD, but I _dislike_ how it's being destroyed? :) Then fork OpenBSD. No reason. Sitting here and whining about how it is being destroyed just makes you look like a jerk. First, I'm not whining. I pointed something out. That's a big difference even a developer should know. (I do.) Second, it does not really affect _me_ if OpenBSD passes by. But it will affect others. Being Cassandra always was a job nobody wanted to have. BSD puts the power in the your hands to fix things when you don't like how they are going. This is done by forking. Then why don't you fork instead of answering to this email? If everything was a perfect world, then there would only be one version of BSD which solved everybody's problems, one distribution of Linux which solved everybody's problems, etcetera, but it isn't. (No. There were no computers.) If you're not willing to fork, or provide objective criticism What part of my email did you actually read _and_ understand? (I like this sentence!) of something other than Theo is an asshole I _did_ _not_ _write_ this. (I mean come on, we've heard about this for like 15+ years), Obviously, there must be a reason for this, no? then that makes you an asshole too. Logic. While Theo might not have the best etiquette, at least he gives a damn, and really when it comes to it, that's all that matters, because BSD and free software in general are about _computing_, not manners and etiquette. What a tiny world you live in. Who uses computers? Think of Henry Ford. Best wishes, Timo iD8DBQFHLecDUY3eBSqOgOMRCu7WAKCtwy0qC/TmhZqzIbMKZEPy0+uqAgCffh+C Yg7jMg1F+EvUiK4xPprWiSI= =qMJx -END PGP SIGNATURE-
Re: Theo's new compiler and etiquette both in cyberspace and the 'real world'
Timo Schoeler wrote: theo was particularly rude to me and uses coarse language despite my being a useful member of the community timo, you're definitely not the first nor shall you be the last person that theo calls a bunch of names, whether the names are fitting or not. when you consider that he has run this project for as long as he has, taking the the funding problems into special consideration, you gotta cut him some slack. he has called me a number of names but i don't sweat it because (1) they were sweeping and inaccurate and (2) it's theo, he's got a real short fuse AFAICT. namecalling occurs on many mailing lists and much goes unnoticed, albeit more subtly delivered than in this case. as childish as you feel the namecalling is, it is even more childish to take names you are called to heart. also consider that it is excessively rare for posters on this list to be actively censored, a true delight IMO, a rarity amongst lists laden with oversensitive and insecure ;) computer folks. whether this is done to accommodate theo or because people here actually believe in some sort of freedom of speech i am not sure, i enjoy it regardless. most of what theo says is spot-on but when he gets worked up there is bound to be some collateral damage. AFAICT your case is one of these and you shouldn't sweat it if theo calls you a raging slashdot dumbfuck who never submits diffs, etc, etc. frankly, i would rather have the situation as-is with theo because being a supporter of a group run by someone who walks on eggshells around oversensitive folks in order to get on their good side and receive myriad small donations from them is patently lame IMO. hell, i fully expect that, given the opportunity, theo will call me plenty more names in the time to come but i don't really give a shit =) cheers, jake
Re: OBSD on MacBook
On Sun, Nov 04, 2007 at 10:46:28PM +0800, Koh Choon Lin wrote: Hi everyone! Anyone has a success story on installing OBSD on MacBook or MB Pro? I have two MacBook Pros (one for work and my personal laptop). Both are dual booting OpenBSD (one i386 and one amd64). X only works with the VESA driver at 1024x768 (yuck). Sound works great (thanks to deanna@). Suspend doesn't work. Wireless doesn't work. But... it's *fast*. -ME
Re: OT: Re: Theo's new compiler and etiquette both in cyberspace and the 'real world'
On Sun, 2007-11-04 at 13:39 +0100, Timo Schoeler wrote: What part of my email did *you* read _and_ understand? Obviously _not_ the part that I _like_ OpenBSD, but I _dislike_ how it's being destroyed? :) Then fork OpenBSD. Sitting here and whining about how it is being destroyed just makes you look like a jerk. BSD puts the power in the your hands to fix things when you don't like how they are going. This is done by forking. If everything was a perfect world, then there would only be one version of BSD which solved everybody's problems, one distribution of Linux which solved everybody's problems, etcetera, but it isn't. If you're not willing to fork, or provide objective criticism of something other than Theo is an asshole (I mean come on, we've heard about this for like 15+ years), then that makes you an asshole too. While Theo might not have the best etiquette, at least he gives a damn, and really when it comes to it, that's all that matters, because BSD and free software in general are about _computing_, not manners and etiquette. [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]
Government funding available
Press Release 11/3/2007 The American Grants and Loans Book is now available. This publication contains valuable information with more than 1500 financial programs, subsidies, scholarships, grants and loans offered by the United States federal government. It also includes over 700 financing programs put forth by various Foundations and Associations across the United States. Businesses, students, individuals, municipalities, government departments, institutions, foundations and associations will find a wealth of information that will help them with their new ventures or existing projects. What you get: -Description of Grant available -Url to government website -Full mailing address -Phone and fax number The Canadian Subsidy Directory is also available for Canada. CD version: $69.95 Printed version: $149.95 To order please call: 819-322-7533 If you do not wish to receive communication from us in the future please write agl in the subject line to: [EMAIL PROTECTED] ***ADVERTISEMENT*** Canada Books 833 Boise de la Riviere Prevost, Qc Canada
Re: OT: Re: Theo's new compiler and etiquette both in cyberspace and the 'real world'
On Sun, 2007-11-04 at 13:39 +0100, Timo Schoeler wrote: What part of my email did *you* read None. My understanding is that it is demented gibberish.
PLEASE STOP NOW! (Re: OT: Re: Theo's new compiler and etiquette both in cyberspace and the 'real world')
I do not want to start moderating the mail that goes to the pcc-list. Please spend the time finding and fixing bugs in pcc instead. If anyone of you have personal issues with each other, DO NOT DISCUSS IT HERE. And, as Kjell Wooding wrote, I can top-post to the mailing list as much as I want :-) -- Ragge Tony Abernethy skrev: On Sun, 2007-11-04 at 13:39 +0100, Timo Schoeler wrote: What part of my email did *you* read None. My understanding is that it is demented gibberish.
Re: OBSD on MacBook
On 11/4/07, Koh Choon Lin [EMAIL PROTECTED] wrote: Hi everyone! Anyone has a success story on installing OBSD on MacBook or MB Pro? This is on my todo list. I have a macbook which is significantly different than a macbook pro. Upon install you need to have ACPI enabled, so you'll need to make a custom kernel (using config -ef) and an external USB keyboard because the internal one doesn't work with the drivers that are enabled in the install kernel for some reason, and none of the keyboards I've tried so far have worked. Or something. I haven't figured it all out yet, I've been too busy. If you get it working for the macbook, post about it. -Nick
Re: HP ProLiant DL320 v. Sun Fire V125
Hello Kai, Thank you very much for the reply. It's helpful. Wednesday, October 31, 2007, 8:57:53 AM, you wrote: KM We run quite fine here with 4.2-current from today on a DL320G5, after: KM enabling write cache in the HP Bios ! It looks like that BIOS write cache settings don't change anything (atactl does it). KM enabling amd64 bsd.mp Your CPU is Xeon, mine is Pentium D. Don't think amd64 will work for me. KM enabling acpi How exactly do you do it? Mine acpi-related lines are #option ACPIVERBOSE #option ACPI_ENABLE acpi0 at mainbus? acpitimer* at acpi? #acpihpet* at acpi? #acpiac*at acpi? #acpibat* at acpi? #acpibtn* at acpi? acpicpu*at acpi? #acpidock* at acpi? acpiec* at acpi? acpiprt*at acpi? acpitz* at acpi? Do I need to uncomment options or they are active by default anyway? Is there any documents about it? KM enabling write cache for wd0 in the system with: KM # atactl wd0 writecacheenable Where do you put these command? For now I just ran it manually (and tested the result). I think it makes sense to activate the write cache before checking (and possibly recovering) RAIDframe devices, but rc.secure and rc.local are being called after that. Is it a good idea to put these atactl commands to /etc/rc right before #Configure ccd devices line? KM Before we had horrible 2MByte write speed, now we have 67MByte. I'm getting an about 16 times speed increase on copying a 1.2 gig file. Is there any performance tests for the OpenBSD, BTW? KM The bge interfaces also seem to run fine. Have you tried to boot with a network cable unplugged and than plug it? My bge* (on two computers so far) detects a media of 10 megabit in that case (ifconfig down/up makes it to detect the right media - 100 or 1000 megabit). em* devices don't have that (minor?) bug. KM Compaq iLO rev 0x03 at pci6 dev 4 function 0 not configured KM Compaq iLO rev 0x03 at pci6 dev 4 function 2 not configured KM uhci4 at pci6 dev 4 function 4 Hewlett-Packard USB rev 0x00: apic 8 int 23 (irq 11) KM Hewlett-Packard IPMI rev 0x00 at pci6 dev 4 function 6 not configured KM usb1 at uhci4: USB revision 1.0 KM uhub1 at usb1 Hewlett-Packard UHCI root hub rev 1.00/1.00 addr 1 Did you do something special about uhci*? Mine is giving errors on two computers already. Sometimes it even crashes to ddb: uhci4 at pci7 dev 4 function 4 Hewlett-Packard USB rev 0x00: irq 11 uhci4: cannot stop Hewlett-Packard IPMI rev 0x00 at pci7 dev 4 function 6 not configured Stopped at uvm_pglistalloc_simple+0xc5:addl$0x1000,0xffec(%ebp) uvm_pglistalloc_simple(1,100,3fe64000,d08c7af0,d07ac860) at uvm_pglistalloc_simple+0xc5 uvm_pglistalloc(1000,100,3fe64000,1000,0,d08c7af0,1,0) at uvm_pglistalloc+0x35c _bus_dmamem_alloc_range(d075d900,1000,10,0,d18f6b4c) at _bus_dmamem_alloc_range+0x52 _bus_dmamem_alloc(d075d900,1000,10,0,d18f6b4c,1,d18f6b54,1) at _bus_dmamem_alloc+0x30 usb_block_allocmem(d075d900,1000,10,d08c7bd0) at usb_block_allocmem+0xa1 usb_allocmem(d191f000,1000,10,d08c7bd0) at usb_allocmem+0x39 uhci_alloc_sqh(d191f000,1000,1000,d191f274,d18f7234) at uhci_alloc_sqh+0x4a uhci_init(d191f000,4,d078ebe0,80072000) at uhci_init+0x130 uhci_pci_attach_deferred(d191f000,8007f800,c,0,20) at uhci_pci_attach_deferred+0x24 config_process_deferred_children(d18f7180,0,0,d18f7200,20) at config_process_deferred_children+0x59 ddb c usb1 at uhci4: USB revision 1.0 uhub1 at usb1: Hewlett-Packard UHCI root hub, rev 1.00/1.00, addr 1 Also, does iLO 2 Remote Console (a Java one) work for you? -- Best regards, Borismailto:[EMAIL PROTECTED]
acpi new driver
hello, in the past I wrote a very humble brightness driver (via acpi) for my vaio laptop. http://marc.info/?l=openbsd-miscm=117862756504674w=2 w/ these suggestion during this summer w/ a bit of spare time I've also added brightness support for the asus and fujitsu laptops (ported from freebsd w/ some minor modifications) now while the vaio driver has been tested on several recent vaio laptops models, the asus patch has been tested w/ only one model (A2H) so it may fail w/ other models. the fujitsu has not been tested at all. so if somebody is interested in trying it here it is the whole patch. vaio usage: sysctl -w hw.brightness=0..8 asus usage: sysctl -w hw.brightness=0..15 fujitsu usage sysctl -w hw.brightness=0..7 btw just remember to rebuild sysctl because sysctl.h header has been modified. if you do not do this you'll not see the brightness variable diff -ur sys.orig/arch/i386/conf/GENERIC sys/arch/i386/conf/GENERIC --- sys.orig/arch/i386/conf/GENERIC Mon Sep 3 09:10:33 2007 +++ sys/arch/i386/conf/GENERIC Mon Sep 3 09:37:27 2007 @@ -58,19 +58,19 @@ pci* at mainbus0 #optionACPIVERBOSE -#optionACPI_ENABLE +option ACPI_ENABLE -acpi0 at mainbus? disable -#acpitimer*at acpi? -#acpihpet* at acpi? -#acpiac* at acpi? -#acpibat* at acpi? -#acpibtn* at acpi? -#acpicpu* at acpi? -#acpidock* at acpi? -acpiec*at acpi?disable +acpi0 at mainbus? +acpitimer* at acpi? +acpihpet* at acpi? +acpiac*at acpi? +acpibat* at acpi? +acpibtn* at acpi? +acpicpu* at acpi? +acpidock* at acpi? +acpiec*at acpi? acpiprt* at acpi? -#acpitz* at acpi? +acpitz*at acpi? option PCIVERBOSE option EISAVERBOSE diff -ur sys.orig/dev/acpi/acpi.c sys/dev/acpi/acpi.c --- sys.orig/dev/acpi/acpi.cTue Apr 17 18:07:45 2007 +++ sys/dev/acpi/acpi.c Mon Sep 3 09:37:27 2007 @@ -1691,7 +1691,10 @@ aaa.aaa_name = acpibat; else if (!strcmp(dev, ACPI_DEV_LD) || !strcmp(dev, ACPI_DEV_PBD) || - !strcmp(dev, ACPI_DEV_SBD)) + !strcmp(dev, ACPI_DEV_SBD) || + !strcmp(dev, ACPI_DEV_SNC) || + !strcmp(dev, ACPI_DEV_ATK) || + !strcmp(dev, ACPI_DEV_FUJ)) aaa.aaa_name = acpibtn; if (aaa.aaa_name) diff -ur sys.orig/dev/acpi/acpibtn.c sys/dev/acpi/acpibtn.c --- sys.orig/dev/acpi/acpibtn.c Wed Dec 27 00:58:08 2006 +++ sys/dev/acpi/acpibtn.c Mon Sep 3 09:37:27 2007 @@ -20,6 +20,7 @@ #include sys/signalvar.h #include sys/systm.h #include sys/device.h +#include sys/sysctl.h #include sys/malloc.h #include machine/bus.h @@ -32,36 +33,168 @@ #include sys/sensors.h +void sony_brightness(int*); +void asus_brightness(int*); +void fujitsu_brightness(int*); + intacpibtn_match(struct device *, void *, void *); void acpibtn_attach(struct device *, struct device *, void *); intacpibtn_notify(struct aml_node *, int, void *); +intacpibtn_getsta(struct acpibtn_softc *); -struct acpibtn_softc { - struct device sc_dev; +struct acpibtn_softc sc_brt; - bus_space_tag_t sc_iot; - bus_space_handle_t sc_ioh; +struct cfattach acpibtn_ca = { + sizeof(struct acpibtn_softc), acpibtn_match, acpibtn_attach +}; - struct acpi_softc *sc_acpi; - struct aml_node *sc_devnode; +struct cfdriver acpibtn_cd = { + NULL, acpibtn, DV_DULL +}; - int sc_btn_type; -#defineACPIBTN_UNKNOWN -1 -#define ACPIBTN_LID0 -#define ACPIBTN_POWER 1 -#define ACPIBTN_SLEEP 2 +struct acpi_vaio_model { + char*name; + char*brt_get; + char*brt_set; }; -intacpibtn_getsta(struct acpibtn_softc *); +static struct acpi_vaio_model vaio_models = { + .name = xxx, + .brt_get= GBRT, + .brt_set= SBRT, +}; -struct cfattach acpibtn_ca = { - sizeof(struct acpibtn_softc), acpibtn_match, acpibtn_attach +static struct acpi_vaio_model fujitsu_models = { + .name = xxx, + .brt_get= GBLL, + .brt_set= SBLL, }; -struct cfdriver acpibtn_cd = { - NULL, acpibtn, DV_DULL +/* asus support (part of it) is havily based on the asus_acpi.c + written by Philip Paeps [EMAIL PROTECTED] */ +struct acpi_asus_model { + char*name; + char*brt_get; + char*brt_set; + char*brt_up; + char*brt_down; }; +static struct acpi_asus_model *p = NULL; + +static struct acpi_asus_model asus_models[] = { + { + .name = xxN, + .brt_get= GPLV, + .brt_set= SPLV, + }, + { + .name = A2x, + .brt_get= GPLV, + .brt_set= SPLV, + }, + {
Re: OpenBSD Sound
Theo de Raadt wrote: gonna setup a web page first, for your non-project? a wiki? and a mailing list? Not until they pick a catchy name and a mascot.
Fair Internet Sharing with OpenBSD
Hi there, I'm looking into making my internet connection more fair (mainly to me), as my student housemates use filesharing apps loads, and it drags the net connection to it's knees. Sometimes it can take up to 10 seconds to load google. We have an 6MB net connection. IP addresses are assigned dynamically by our superbly tacky BT Home Hub supplied by british telecom. Sometimes guests come over and plug thier laptops in, so it needs to be dynamic. If there are 5 of us, it would be ideal to have x/5 bandwidth each (where x is the available internet bandwidth), but if 1 person is not using the connection others should be able to share the unused portion. Is there a solution? Thanks -- Best Regards Edd --- http://students.dec.bournemouth.ac.uk/ebarrett
pcengines/alix answering machine
Hello. I'd like to replace my FritzBox (popular german dsl modem + nat...) with an ALIX/OpenBSD installation, since I dislike the current policy locking down the firmware and really like OpenBSD (thanks to all the developers, it's a great OS!). I don't need the telephone features at all, neither analog nor VOIP. But I do have one question: is it possible to operate an modem (miniPCI or USB; it might be off-list, but: can anybody recommend one?) as an answering machine? I found the mgetty+sendfax package, has anybody some experience? Especially with an ALIX board? Another more general question (as it might be already answerd some times, you might drop it silently): are there problems (and workarounds) with OpenBSD and ALIX boards? Thank you all! Manuel Please apologize my (poor) english.
Re: Fair Internet Sharing with OpenBSD
Edd Barrett wrote: If there are 5 of us, it would be ideal to have x/5 bandwidth each (where x is the available internet bandwidth), but if 1 person is not using the connection others should be able to share the unused portion. Is there a solution? AltQ, described in following, seems to be relevant. I'm looking into a similar setup, though for different reasons. PF: Packet Queueing and Prioritization http://openbsd.org/faq/pf/queueing.html ALTQ - allocation by percentage http://home.nuug.no/~peter/pf/en/altqbypct.html Firewalling IPv6 with OpenBSD's pf (packet filter) https://solarflux.org/pf/pf+IPv6.php I'm still in the planning stages, though. I'm currently using DNSmasq for DHCP, but would prefer to do something else and use only IPv6 in-house. The version of DNSmasq in the openbsd pkg archive has some problems, so I'm using a 'test' version of 2.41: http://www.thekelleys.org.uk/dnsmasq/ Regards, -Lars
bgpd causing black-holes with bgp-only setup
bgpd does not re-route correctly when I shut down a transit when I use a bgp-only design, causing black-holes for some prefixes. router-01 and router-02 are in the same AS and peer with the same transit provider. router-01 and router-02 have two ibgp peerings, primary and standby path. router-01 sets localpref 60 on all transit prefixes, router-02 sets local-pref 50. When I take down the transit on router-01 I see this on router-02: router-02# bgpctl show rib | head -n 10 flags: * = Valid, = Selected, I = via IBGP, A = Announced origin: i = IGP, e = EGP, ? = Incomplete flags destination gateway lpref med aspath origin I* 26.0.128.0/17 172.17.1.1 60 11100 65100 i * 26.0.128.0/17 192.168.100.5 50 10100 65100 i I* 26.0.144.0/22 172.17.1.1 60 11100 65100 i * 26.0.144.0/22 192.168.100.5 50 10100 65100 i I* 26.1.77.0/24172.17.1.1 60 11100 65100 i * 26.1.77.0/24192.168.100.5 50 10100 65100 i router-02# prefixes with local-pref 60 pointing at router-01. router-01 does not have it's transit peering up, and thus itself has no prefixes with local-pref 60. router-01# bgpctl show rib | head -n 10 flags: * = Valid, = Selected, I = via IBGP, A = Announced origin: i = IGP, e = EGP, ? = Incomplete flags destination gateway lpref med aspath origin I* 26.0.128.0/17 172.17.1.6 50 21100 65100 i I* 26.0.144.0/22 172.17.1.6 50 21100 65100 i I* 26.1.77.0/24172.17.1.6 50 21100 65100 i I* 26.2.172.0/22 172.17.1.6 50 21100 65100 i I* 26.3.241.0/24 172.17.1.6 50 21100 65100 i I* 26.6.126.0/24 172.17.1.6 50 21100 65100 i router-01# bgpctl show rib 26.0.128.0/17 all flags: * = Valid, = Selected, I = via IBGP, A = Announced origin: i = IGP, e = EGP, ? = Incomplete flags destination gateway lpref med aspath origin I* 26.0.128.0/17 172.17.1.6 50 21100 65100 i I* 26.0.144.0/22 172.17.1.6 50 21100 65100 i router-01# I saw this before when I tested bgpd around a year ago. So it isn't a new bug. This is with 4.2-RELEASE, no patches. This info is from a lab I setup to replicate a live environment. /Tony router-01# cat /etc/bgpd.conf # $OpenBSD: bgpd.conf,v 1.8 2007/03/29 13:37:35 claudio Exp $ # sample bgpd configuration file # see bgpd.conf(5) #macros loopback=172.17.0.1 # global configuration AS 65200 router-id $loopback network $loopback/32 set {localpref 120, med 10} network 172.17.0.0/16 set {localpref 120, med 10} network connected set {localpref 120, med 10} network static set {localpref 120, med 10} group TRANSIT { remote-as 65100 announce all set nexthop self set med 10100 set localpref 60 neighbor 192.168.100.1 { descr TRANSIT } } group IBGP { remote-as 65200 route-reflector set nexthop self set med +1000 neighbor 172.17.1.2 { local-address 172.17.1.1 descr router-02 primary } neighbor 172.17.1.6 { local-address 172.17.1.5 descr router-02 standby set med +1 } } # filter deny from any deny to any allow quick to group IBGP allow quick from group IBGP allow quick to group TRANSIT prefix 172.17.0.0/16 allow quick from group TRANSIT router-01# ifconfig lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33208 groups: lo inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 ne3: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 52:54:00:12:02:01 description: transit media: Ethernet 10baseT full-duplex inet6 fe80::5054:ff:fe12:201%ne3 prefixlen 64 scopeid 0x1 inet 192.168.100.2 netmask 0xfffc broadcast 192.168.100.3 ne4: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 52:54:00:12:02:02 description: router-01 primary path media: Ethernet 10baseT full-duplex inet6 fe80::5054:ff:fe12:202%ne4 prefixlen 64 scopeid 0x2 inet 172.17.1.1 netmask 0xfffc broadcast 172.17.1.3 ne5: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 52:54:00:12:02:03 description: route-02 standby path media: Ethernet 10baseT full-duplex inet6 fe80::5054:ff:fe12:203%ne5 prefixlen 64 scopeid 0x3 inet 172.17.1.5 netmask 0xfffc broadcast 172.17.1.7 enc0: flags=0 mtu 1536 lo1: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33208 description: ROUTING LOOPBACK groups: lo inet 172.17.0.1 netmask 0x router-01# router-02# cat /etc/bgpd.conf # $OpenBSD: bgpd.conf,v 1.8 2007/03/29 13:37:35 claudio Exp $ # sample bgpd configuration
Re: OT: Re: Theo's new compiler and etiquette both in cyberspace and the 'real world'
On Nov 4, 2007, at 7:36 AM, Timo Schoeler wrote: Timo iD8DBQFHLecDUY3eBSqOgOMRCu7WAKCtwy0qC/TmhZqzIbMKZEPy0+uqAgCffh+C Yg7jMg1F+EvUiK4xPprWiSI= =qMJx -END PGP SIGNATURE- Stop fucking signing mails to a public list that is BEYOND fucking annoying and all by itself proves that you're a clueless fuckwit. STFU and GTFO.
Re: OBSD on MacBook
[EMAIL PROTECTED] said: On 11/4/07, Koh Choon Lin [EMAIL PROTECTED] wrote: Anyone has a success story on installing OBSD on MacBook or MB Pro? This is on my todo list. I have a macbook which is significantly different than a macbook pro. When you get to it, I might be interested in integrating this together with my already existant page which I am in the process of updating. It only covers 4.1 so far with a Macbook Pro Core Duo, so I'd like to get more information onto the page. http://www.aaronhsu.com/AaronHsu.com/OpenBSD%20-%20Macbook%20Pro.html -- ((name Aaron Hsu) (email/xmpp [EMAIL PROTECTED]) (site http://www.aaronhsu.com;)) [demime 1.01d removed an attachment of type application/pgp-signature]
Re: OBSD on MacBook
[EMAIL PROTECTED] said: X only works with the VESA driver at 1024x768 (yuck). I have a MB Pro that is dual booting and I get a much better resolution. I get 1400x1050 I believe. -- ((name Aaron Hsu) (email/xmpp [EMAIL PROTECTED]) (site http://www.aaronhsu.com;)) [demime 1.01d removed an attachment of type application/pgp-signature]
Re: OBSD on MacBook
On Sun, Nov 04, 2007 at 12:58:46PM -0600, Aaron W. Hsu wrote: | [EMAIL PROTECTED] said: | X only works with the VESA driver at 1024x768 (yuck). | | I have a MB Pro that is dual booting and I get a much better resolution. I get | 1400x1050 I believe. I'm very interested in knowing how you configured X to run at that resolution (I think you mean 1440x900, since this is the resolution of the built-in LCD for the 15 MBP). Could you post your xorg.conf ? Thanks, Paul 'WEiRD' de Weerd -- [++-]+++.+++[---].+++[+ +++-].++[-]+.--.[-] http://www.weirdnet.nl/
OpenBSD is unable to address cardbus (... no mapping...)
dear list-users, i currently changed my laptop modell due to age issues. i'm satisfied with it (bios0: Sony Corporation VGN-FS295XP, which is a vaio) as well as with openbsd (4.1-release as you might notice). one problem, though, that i'm confronted with now, is wireless lan. but this is not a question referring to this topic. the problem is, that openbsd neither is able to work with the builtin wlan hardware, nor with its cardbus device. while i was browsing the internet for a solution to at least one of the problems - which would be enough for me, since i own a pcmcia wlan adapter that works just fine with openbsd -, i found that the iwi0 (wlan adapter) problem was not about to be solved. indeed it seemed to me, that its crux is not even identified. (a general impression may be: http://archive.openbsd.nu/?ml=openbsd-techa=2006-08t=2298124) anyway, i myself couldn't. it looks like it's a vaio specific issue, since the iwi driver (+ firmware) works for others, who don't use this (laptop) modell. so i hoped to get at least my cardbus device running. the problem with cardbus (here: cbb0) _seems_ to me to be the following: The BIOS does not include the cardbus controllers in the PCI IRQ routing table (...). (http://www.gratisoft.us/ftp/pub/todd/OpenBSD/srx77/cardbus.diff). cbb0 at pci2 dev 3 function 0 TI PCI7420 CardBus rev 0x00pci_intr_map: no mapping for pin A appears to match this. it existed for another (elder) modell of the vaio product line and the given address provides a horrible hack. this hack though would suffice my needs and i guess it would be possible (for me) to reproduce this for my platform if i was to find the necessary addresses and parts of code where to fill in, of which the latter might be done by myself; the first if instructed. so the main question is, where to look/find. if other solutions should exist, i'd be happy with them though. finally, even though it's rather annoying than problematical, there is an issue with apm, which is unable to provide me with information about the battery state. output, independant of occasion, always is: [EMAIL PROTECTED]:~ apm Battery state: unknown, 0% remaining, 0 minutes life estimate A/C adapter state: connected Performance adjustment mode: manual (1863 MHz). and dmesg says (...) apm0: AC on, battery charge unknown (...). perhaps there is a solution too, of which someone knows. however, cardbus remains important point. enclosed you find the dmesg. thank you! dominic. __ OpenBSD 4.1 (GENERIC) #1435: Sat Mar 10 19:07:45 MST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) M processor 1.86GHz (GenuineIntel 686-class) 1.87 GHz 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 real mem = 535261184 (522716K) avail mem = 480694272 (469428K) using 4278 buffers containing 26886144 bytes (26256K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+ BIOS, date 03/11/05, BIOS32 rev. 0 @ 0xfd6b0, SMBIOS rev. 2.34 @ 0xdc010 (17 entries) bios0: Sony Corporation VGN-FS295XP apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xfd6b0/0x950 pcibios0: PCI BIOS has 16 Interrupt Routing table entries pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801FBM LPC rev 0x00) pcibios0: PCI bus #7 is the last bus bios0: ROM list: 0xc/0xee00! 0xdc000/0x4000! 0xe/0x4000! acpi at mainbus0 not configured cpu0 at mainbus0 cpu0: unknown Enhanced SpeedStep CPU, msr 0x06120e2906000e29 cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 1867 MHz (1356 mV): speeds: 1867, 800 MHz pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82915GM/PM/GMS Host rev 0x03 ppb0 at pci0 dev 1 function 0 Intel 82915PM/GM PCIE rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 NVIDIA GeForce Go 6200 rev 0xa1 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) azalia0 at pci0 dev 27 function 0 Intel 82801FB HD Audio rev 0x03: irq 11 azalia0: host: High Definition Audio rev. 1.0 azalia0: codec: Realtek ALC260 (rev. 3.0), HDA version 1.0 azalia0: codec: 0x04x/0x14f1 (rev. 0.0), HDA version 0.9 azalia0: codec[1]: No support for modem function groups azalia0: codec[1]: No audio function groups audio0 at azalia0 uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x03: irq 5 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
Re: pcengines/alix answering machine
On 04/11/2007, manuel [EMAIL PROTECTED] wrote: Hello. I'd like to replace my FritzBox (popular german dsl modem + nat...) with an ALIX/OpenBSD installation, since I dislike the current policy locking down the firmware and really like OpenBSD (thanks to all the developers, it's a great OS!). You probably already know that these FritzBox DSL modem/router/VoIP boxes are really embedded Linux PCs, which, in principle at least, are somewhat hackable. (Your mailheader tells me that you're probably German, so in case you don't know it, here's a German site about FritzBox hacking: http://www.wehavemorefun.de/fritzbox/Main_Page ) Now I haven't tried this and I personally don't have a FritzBox, but I wonder whether it might be possible to install OpenBSD on the actual FritzBox? Probably not right now, because AFAIK the FritzBoxes use the AR7 CPU ( http://tinyurl.com/37lwuc ) which is probably not compatible with anything OpenBSD currently runs on. However, if the FritzBox hardware isn't too blob-infested/undocumented, then that might be an interesting project. (Again, I'm a non-coder talking out my arse here, but anyway.) In case OpenBSD did perchance run on this hardware: then there was a thread recently ( http://marc.info/?t=11920474717r=1w=2 ) about installing OpenBSD on a Windows box, and in that thread some people contributed useful info regarding booting OpenBSD from Linux bootloaders. If this AR7 based hardware unexpectedly turns out to be compatible with one of these http://www.openbsd.org/faq/faq1.html#Platforms (ARMish perhaps?) then that may be a nice upgrade path. I don't need the telephone features at all, neither analog nor VOIP. But I do have one question: is it possible to operate an modem (miniPCI or USB; it might be off-list, but: can anybody recommend one?) as an answering machine? I found the mgetty+sendfax package, has anybody some experience? I understand that you're now NOT referring to a PPPoE DSL modem ( http://google.ie/search?q=pppoe+openbsd ), but rather to a conventional POTS 56k modem. With these, I would always advise against internal or USB-based solutions. If your board has a usable RS-232, then I'd always recommend getting a proper external modem. It saves you hassle. I personally haven't yet played with Asterisk ( http://en.wikipedia.org/wiki/Asterisk_%28PBX%29 ), but I'm semi-confident that what you want can be done with it. It is in ports, and a package is available at least for i386 ( http://www.openbsd.org/4.2_packages/i386/asterisk-1.2.22.tgz-long.html ) and maybe for others archs; I haven't checked. Especially with an ALIX board? I presume this is what you mean: http://pcengines.ch/alix.htm I've no experience, but it seems to be a i386 based board, and it lists OpenBSD as a compatible OS, so that's nice. Another more general question (as it might be already answerd some times, you might drop it silently): are there problems (and workarounds) with OpenBSD and ALIX boards? http://google.ie/search?q=openbsd+alix Thank you all! Manuel Please apologize my (poor) english. It's grand mate, you're easily understood. :) cheerio, --ropers
Re: OBSD on MacBook
On Sun, Nov 04, 2007 at 12:58:46PM -0600, Aaron W. Hsu wrote: | [EMAIL PROTECTED] said: | X only works with the VESA driver at 1024x768 (yuck). | | I have a MB Pro that is dual booting and I get a much better resolution. I get | 1400x1050 I believe. I'm very interested in knowing how you configured X to run at that resolution (I think you mean 1440x900, since this is the resolution of the built-in LCD for the 15 MBP). Could you post your xorg.conf ? I am using, actually, the default xorg.conf that comes with the system. I am using an ACPI enabled GENERIC.mp kernel. And, I mean, literally, 1440x1050. I am running on a 17 Macbook Pro, and the BIOS seems to have an entry for that. Unfortunately, as you know, this is not the native resolution. Everything on my screen is actually stretched out widely. :-) -- ((name Aaron Hsu) (email/xmpp [EMAIL PROTECTED]) (site http://www.aaronhsu.com;)) [demime 1.01d removed an attachment of type application/pgp-signature]
Re: pcengines/alix answering machine
On 2007/11/04 21:10, ropers wrote: FritzBox? Probably not right now, because AFAIK the FritzBoxes use the AR7 CPU ( http://tinyurl.com/37lwuc ) which is probably not compatible with anything OpenBSD currently runs on TI AR7 is a 32-bit MIPS arch (they do have an ARM-based chip too, OMAP, used in a few Nokia devices, e.g. 9300/9500 and web tablet). TI are not renowned for their open documentation (their 802.11 chips work quite well though...) I personally haven't yet played with Asterisk ( http://en.wikipedia.org/wiki/Asterisk_%28PBX%29 ), but I'm semi-confident that what you want can be done with it. Not on OpenBSD, you can do this with certain PCI modems on other OS but it needs zaptel drivers (big nasty chunk of kernel code). I found the mgetty+sendfax package, has anybody some experience? No experience, but it seems to be worth trying.
Re: The program 'foobar' received an X Window System error.
On Sun, Nov 04, 2007 at 01:10:09PM +0100, Manuel Wildauer wrote: Hi I have a problem with my X. -- snip -- [~] firefox The program 'firefox-bin' received an X Window System error. This probably reflects a bug in the program. The error was '82'. (Details: serial 428 error_code 82 request_code 45 minor_code 0) -- snip -- The same with gqview or gajim. But other software like gvim ok. Windowmanager is Fluxbox, the same problem with OpenBox and pekwm. With wmii Firefox are running. Aren't you running it over vnc? This happened to me with Links over vnc. WindowManager Problem? What can I do? Probably bugreport to Firefox. CL MFG manuel
Re: pcengines/alix answering machine
Hi, On Sun, Nov 04, 2007 at 07:24:44PM +0100, manuel wrote: *snip* But I do have one question: is it possible to operate an modem (miniPCI or USB; it might be off-list, but: can anybody recommend one?) as an answering machine? Probably not, PCI and recent USB modems tend to involve binary blobs. However, I have an external modem (from TeleWell, a Finnish brand of modems and other telecom devices) that has RS232, USB (which is just an USB-RS232 bridge) and mic/headset connectors - finding an external one with those would probably allow you to connect a sound card and end up with a blob free answering machine. At least on Windows the modems show up as sound cards, so I'd guess *nix software should be able to speak to a sound card hooked up to the modem, too. Just beware of software modems, ones with a serial port (and maybe a USB-serial dongle) are the best bet. Used 56k modems should be available cheaply, anyway... -- Jussi Peltola
Re: PLEASE STOP NOW! (Re: OT: Re: Theo's new compiler and etiquette both in cyberspace and the 'real world')
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anders Magnusson wrote: I do not want to start moderating the mail that goes to the pcc-list. Please spend the time finding and fixing bugs in pcc instead. If anyone of you have personal issues with each other, DO NOT DISCUSS IT HERE. And, as Kjell Wooding wrote, I can top-post to the mailing list as much as I want :-) -- Ragge I took this off the PCC list (by request). I figured I would share an article as I think that it pertains (and might help convince some that others here aren't degenerate or offensive lunatics): http://afp.google.com/article/ALeqM5i0uWMHXnLI6Ob4YfsDQU8BC8Vtvg http://www.infoniac.com/science/swearing-workplace-boosts-productivity.html - -- Coleman Kane Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHLjpGcMSxQcXat5cRAuXcAJoCVMAdZLVU+eL+mlLZeXiZv3EvjQCfbpax W66InowanQPlmjLFJ44WF0U= =/nxt -END PGP SIGNATURE-
Re: The program 'foobar' received an X Window System error.
Oh, i found the error. It was a font problem in X. Thanks, Manuel
Re: When will OpenBSD support UTF8?
it's not my patch , it's a Takehiko NOZAKI's patch ;-) http://sigsegv.s25.xrea.com/distfiles/citrus/OpenBSD/ he is a NetBSD's Citrus Developer. thanks - Jung
Re: bgpd causing black-holes with bgp-only setup
On 11/4/07, Tony Sarendal [EMAIL PROTECTED] wrote: bgpd does not re-route correctly when I shut down a transit when I use a bgp-only design, causing black-holes for some prefixes. router-01 and router-02 are in the same AS and peer with the same transit provider. router-01 and router-02 have two ibgp peerings, primary and standby path. router-01 sets localpref 60 on all transit prefixes, router-02 sets local-pref 50. When I take down the transit on router-01 I see this on router-02: router-02# bgpctl show rib | head -n 10 flags: * = Valid, = Selected, I = via IBGP, A = Announced origin: i = IGP, e = EGP, ? = Incomplete flags destination gateway lpref med aspath origin I* 26.0.128.0/17 172.17.1.1 60 11100 65100 i * 26.0.128.0/17 192.168.100.5 50 10100 65100 i I* 26.0.144.0/22 172.17.1.1 60 11100 65100 i * 26.0.144.0/22192.168.100.5 50 10100 65100 i I* 26.1.77.0/24172.17.1.1 60 11100 65100 i * 26.1.77.0/24192.168.100.5 50 10100 65100 i router-02# prefixes with local-pref 60 pointing at router-01. router-01 does not have it's transit peering up, and thus itself has no prefixes with local-pref 60. router-01# bgpctl show rib | head -n 10 flags: * = Valid, = Selected, I = via IBGP, A = Announced origin: i = IGP, e = EGP, ? = Incomplete flags destination gateway lpref med aspath origin I* 26.0.128.0/17 172.17.1.6 50 21100 65100 i I* 26.0.144.0/22 172.17.1.6 50 21100 65100 i I* 26.1.77.0/24 172.17.1.6 50 21100 65100 i I* 26.2.172.0/22 172.17.1.6 50 21100 65100 i I* 26.3.241.0/24 172.17.1.6 50 21100 65100 i I* 26.6.126.0/24 172.17.1.6 50 21100 65100 i router-01# bgpctl show rib 26.0.128.0/17 all flags: * = Valid, = Selected, I = via IBGP, A = Announced origin: i = IGP, e = EGP, ? = Incomplete flags destination gateway lpref med aspath origin I* 26.0.128.0/17 172.17.1.6 50 21100 65100 i I* 26.0.144.0/22 172.17.1.6 50 21100 65100 i router-01# I saw this before when I tested bgpd around a year ago. So it isn't a new bug. This is with 4.2-RELEASE, no patches. This info is from a lab I setup to replicate a live environment. /Tony router-01# cat /etc/bgpd.conf # $OpenBSD: bgpd.conf,v 1.8 2007/03/29 13:37:35 claudio Exp $ # sample bgpd configuration file # see bgpd.conf(5) #macros loopback=172.17.0.1 # global configuration AS 65200 router-id $loopback network $loopback/32 set {localpref 120, med 10} network 172.17.0.0/16 set {localpref 120, med 10} network connected set {localpref 120, med 10} network static set {localpref 120, med 10} group TRANSIT { remote-as 65100 announce all set nexthop self set med 10100 set localpref 60 neighbor 192.168.100.1 { descr TRANSIT } } group IBGP { remote-as 65200 route-reflector set nexthop self set med +1000 neighbor 172.17.1.2 { local-address 172.17.1.1 descr router-02 primary } neighbor 172.17.1.6 { local-address 172.17.1.5 descr router-02 standby set med +1 } } # filter deny from any deny to any allow quick to group IBGP allow quick from group IBGP allow quick to group TRANSIT prefix 172.17.0.0/16 allow quick from group TRANSIT router-01# ifconfig lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33208 groups: lo inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 ne3: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 52:54:00:12:02:01 description: transit media: Ethernet 10baseT full-duplex inet6 fe80::5054:ff:fe12:201%ne3 prefixlen 64 scopeid 0x1 inet 192.168.100.2 netmask 0xfffc broadcast 192.168.100.3 ne4: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 52:54:00:12:02:02 description: router-01 primary path media: Ethernet 10baseT full-duplex inet6 fe80::5054:ff:fe12:202%ne4 prefixlen 64 scopeid 0x2 inet 172.17.1.1 netmask 0xfffc broadcast 172.17.1.3 ne5: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 52:54:00:12:02:03 description: route-02 standby path media: Ethernet 10baseT full-duplex inet6 fe80::5054:ff:fe12:203%ne5 prefixlen 64 scopeid 0x3 inet 172.17.1.5 netmask 0xfffc broadcast 172.17.1.7 enc0: flags=0 mtu 1536 lo1: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33208 description: ROUTING LOOPBACK groups: lo
Re: bgpd causing black-holes with bgp-only setup
On 11/4/07, Tony Sarendal [EMAIL PROTECTED] wrote: On 11/4/07, Tony Sarendal [EMAIL PROTECTED] wrote: bgpd does not re-route correctly when I shut down a transit when I use a bgp-only design, causing black-holes for some prefixes. router-01 and router-02 are in the same AS and peer with the same transit provider. router-01 and router-02 have two ibgp peerings, primary and standby path. router-01 sets localpref 60 on all transit prefixes, router-02 sets local-pref 50. When I take down the transit on router-01 I see this on router-02: router-02# bgpctl show rib | head -n 10 flags: * = Valid, = Selected, I = via IBGP, A = Announced origin: i = IGP, e = EGP, ? = Incomplete flags destination gateway lpref med aspath origin I* 26.0.128.0/17 172.17.1.1 60 11100 65100 i * 26.0.128.0/17 192.168.100.5 50 10100 65100 i I* 26.0.144.0/22 172.17.1.1 60 11100 65100 i * 26.0.144.0/22192.168.100.5 50 10100 65100 i I* 26.1.77.0/24172.17.1.1 60 11100 65100 i * 26.1.77.0/24192.168.100.5 50 10100 65100 i router-02# prefixes with local-pref 60 pointing at router-01. router-01 does not have it's transit peering up, and thus itself has no prefixes with local-pref 60. router-01# bgpctl show rib | head -n 10 flags: * = Valid, = Selected, I = via IBGP, A = Announced origin: i = IGP, e = EGP, ? = Incomplete flags destination gateway lpref med aspath origin I* 26.0.128.0/17 172.17.1.6 50 21100 65100 i I* 26.0.144.0/22 172.17.1.6 50 21100 65100 i I* 26.1.77.0/24 172.17.1.6 50 21100 65100 i I* 26.2.172.0/22 172.17.1.6 50 21100 65100 i I* 26.3.241.0/24 172.17.1.6 50 21100 65100 i I* 26.6.126.0/24 172.17.1.6 50 21100 65100 i router-01# bgpctl show rib 26.0.128.0/17 all flags: * = Valid, = Selected, I = via IBGP, A = Announced origin: i = IGP, e = EGP, ? = Incomplete flags destination gateway lpref med aspath origin I* 26.0.128.0/17 172.17.1.6 50 21100 65100 i I* 26.0.144.0/22 172.17.1.6 50 21100 65100 i router-01# I saw this before when I tested bgpd around a year ago. So it isn't a new bug. This is with 4.2-RELEASE, no patches. This info is from a lab I setup to replicate a live environment. /Tony router-01# cat /etc/bgpd.conf # $OpenBSD: bgpd.conf,v 1.8 2007/03/29 13:37:35 claudio Exp $ # sample bgpd configuration file # see bgpd.conf(5) #macros loopback=172.17.0.1 # global configuration AS 65200 router-id $loopback network $loopback/32 set {localpref 120, med 10} network 172.17.0.0/16 set {localpref 120, med 10} network connected set {localpref 120, med 10} network static set {localpref 120, med 10} group TRANSIT { remote-as 65100 announce all set nexthop self set med 10100 set localpref 60 neighbor 192.168.100.1 { descr TRANSIT } } group IBGP { remote-as 65200 route-reflector set nexthop self set med +1000 neighbor 172.17.1.2 { local-address 172.17.1.1 descr router-02 primary } neighbor 172.17.1.6 { local-address 172.17.1.5 descr router-02 standby set med +1 } } # filter deny from any deny to any allow quick to group IBGP allow quick from group IBGP allow quick to group TRANSIT prefix 172.17.0.0/16 allow quick from group TRANSIT router-01# ifconfig lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33208 groups: lo inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 ne3: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 52:54:00:12:02:01 description: transit media: Ethernet 10baseT full-duplex inet6 fe80::5054:ff:fe12:201%ne3 prefixlen 64 scopeid 0x1 inet 192.168.100.2 netmask 0xfffc broadcast 192.168.100.3 ne4: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 52:54:00:12:02:02 description: router-01 primary path media: Ethernet 10baseT full-duplex inet6 fe80::5054:ff:fe12:202%ne4 prefixlen 64 scopeid 0x2 inet 172.17.1.1 netmask 0xfffc broadcast 172.17.1.3 ne5: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 52:54:00:12:02:03 description: route-02 standby path media: Ethernet 10baseT full-duplex inet6 fe80::5054:ff:fe12:203%ne5 prefixlen 64 scopeid 0x3
Re: Fair Internet Sharing with OpenBSD
Edd, Check out ALTQ like Lars said, perticularly HFSC. Something like this should work well: altq on $ExtIf bandwidth 744Kb hfsc queue { ack, edd, frank, fred, jack, mike, bulk } queue ack bandwidth 10% priority 7 qlimit 50 hfsc (realtime 50%) queue edd bandwidth 15% priority 5 qlimit 50 hfsc (realtime 5% ) queue frank bandwidth 15% priority 5 qlimit 50 hfsc (realtime 5% ) queue fred bandwidth 15% priority 5 qlimit 50 hfsc (realtime 5% ) queue jack bandwidth 15% priority 5 qlimit 50 hfsc (realtime 5% ) queue mike bandwidth 15% priority 5 qlimit 50 hfsc (realtime 5% ) queue bulk bandwidth 5% priority 1 qlimit 50 hfsc (realtime 5% default) And use the ack with the queue name on the rules like, queue (edd, ack) This might help you out with the directive definitions. http://calomel.org/pf_config.html -- Calomel @ http://calomel.org Open Source Research and Reference On Sun, Nov 04, 2007 at 08:29:02PM +0200, Lars Nood??n wrote: Edd Barrett wrote: If there are 5 of us, it would be ideal to have x/5 bandwidth each (where x is the available internet bandwidth), but if 1 person is not using the connection others should be able to share the unused portion. Is there a solution? AltQ, described in following, seems to be relevant. I'm looking into a similar setup, though for different reasons. PF: Packet Queueing and Prioritization http://openbsd.org/faq/pf/queueing.html ALTQ - allocation by percentage http://home.nuug.no/~peter/pf/en/altqbypct.html Firewalling IPv6 with OpenBSD's pf (packet filter) https://solarflux.org/pf/pf+IPv6.php I'm still in the planning stages, though. I'm currently using DNSmasq for DHCP, but would prefer to do something else and use only IPv6 in-house. The version of DNSmasq in the openbsd pkg archive has some problems, so I'm using a 'test' version of 2.41: http://www.thekelleys.org.uk/dnsmasq/ Regards, -Lars
Problem with xl interfaces
hi all! I've been using OpenBSD during the last 2-3 years mainly running it as a firewall. I've an old machine (486 + 48MB RAM) and yesterday decided to make some improvements: upgrade it from 4.0 to 4.2 (new installation) and replace the two NICs, switching from NE2000 clones (RTL8029) to 3C905B. The problem is that i'm getting ton of this messages which bring down the two interfaces: xl0: reset didn't complete xl1: reset didn't complete xl0: command never completed! xl1: command never completed! I found that man xl already has some information about 'command never completed' but in this case the driver does not continue to function normally. Is this problem a combination of old hardware with the xl interfaces ? or are this interfaces crap too ? switching to a newer machine (pentium 166) may help ? or should I buy different NICs ? Thanks in advance for any help!. Jorge PS: by the way, I'm still having with 4.2 a keyboard issue reported on 2006-01-06: http://marc.info/?l=openbsd-miscm=113658848307726w=2 OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel 486DX (486-class) real mem = 49905664 (47MB) avail mem = 39297024 (37MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 07/25/94, BIOS32 rev. 0 @ 0xf7810 apm0 at bios0: Power Management spec V1.0 apm0: AC on, battery is unknown apm0: flags 30100 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.0 @ 0xf/0x1 pcibios0: pcibios_get_intr_routing - function not supported pcibios0: PCI IRQ Routing information unavailable. pcibios0: PCI bus #0 is the last bus WARNING: can't reserve area for I/O APIC. WARNING: can't reserve area for Local APIC. bios0: ROM list: 0xc/0x8000 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (bios) xl0 at pci0 dev 13 function 0 3Com 3c905B 100Base-TX rev 0x30: irq 11, address 00:01:02:6e:c5:08 exphy0 at xl0 phy 24: 3Com internal media interface xl1 at pci0 dev 14 function 0 3Com 3c905B 100Base-TX rev 0x30: irq 9, address 00:01:02:87:fc:88 exphy1 at xl1 phy 24: 3Com internal media interface vga1 at pci0 dev 15 function 0 ATI Mach64 GP rev 0x5c wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pchb0 at pci0 dev 16 function 0 UMC UM8881F Host rev 0x01 pcib0 at pci0 dev 18 function 0 UMC UM8886 rev 0x01 isa0 at pcib0 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 wdc0 at isa0 port 0x1f0/8 irq 14 wd0 at wdc0 channel 0 drive 0: WDC AC310200R wd0: 16-sector PIO, LBA, 9787MB, 20044080 sectors wd0(wdc0:0:0): using BIOS timings pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: using exception 16 biomask f5fd netmask fffd ttymask pctr: no performance counters in CPU dkcsum: wd0 matches BIOS drive 0x80 root on wd0a swap on wd0b dump on wd0b
Re: bgpd causing black-holes with bgp-only setup
On 11/4/07, Tony Sarendal [EMAIL PROTECTED] wrote: On 11/4/07, Tony Sarendal [EMAIL PROTECTED] wrote: On 11/4/07, Tony Sarendal [EMAIL PROTECTED] wrote: bgpd does not re-route correctly when I shut down a transit when I use a bgp-only design, causing black-holes for some prefixes. router-01 and router-02 are in the same AS and peer with the same transit provider. router-01 and router-02 have two ibgp peerings, primary and standby path. router-01 sets localpref 60 on all transit prefixes, router-02 sets local-pref 50. When I take down the transit on router-01 I see this on router-02: router-02# bgpctl show rib | head -n 10 flags: * = Valid, = Selected, I = via IBGP, A = Announced origin: i = IGP, e = EGP, ? = Incomplete flags destination gateway lpref med aspath origin I* 26.0.128.0/17 172.17.1.1 60 11100 65100 i * 26.0.128.0/17 192.168.100.5 50 10100 65100 i I* 26.0.144.0/22 172.17.1.1 60 11100 65100 i * 26.0.144.0/22192.168.100.5 50 10100 65100 i I* 26.1.77.0/24172.17.1.1 60 11100 65100 i * 26.1.77.0/24192.168.100.5 50 10100 65100 i router-02# prefixes with local-pref 60 pointing at router-01. router-01 does not have it's transit peering up, and thus itself has no prefixes with local-pref 60. router-01# bgpctl show rib | head -n 10 flags: * = Valid, = Selected, I = via IBGP, A = Announced origin: i = IGP, e = EGP, ? = Incomplete flags destination gateway lpref med aspath origin I* 26.0.128.0/17 172.17.1.6 50 21100 65100 i I* 26.0.144.0/22 172.17.1.6 50 21100 65100 i I* 26.1.77.0/24 172.17.1.6 50 21100 65100 i I* 26.2.172.0/22 172.17.1.6 50 21100 65100 i I* 26.3.241.0/24 172.17.1.6 50 21100 65100 i I* 26.6.126.0/24 172.17.1.6 50 21100 65100 i router-01# bgpctl show rib 26.0.128.0/17 all flags: * = Valid, = Selected, I = via IBGP, A = Announced origin: i = IGP, e = EGP, ? = Incomplete flags destination gateway lpref med aspath origin I* 26.0.128.0/17 172.17.1.6 50 21100 65100 i I* 26.0.144.0/22 172.17.1.6 50 21100 65100 i router-01# I saw this before when I tested bgpd around a year ago. So it isn't a new bug. This is with 4.2-RELEASE, no patches. This info is from a lab I setup to replicate a live environment. /Tony router-01# cat /etc/bgpd.conf # $OpenBSD: bgpd.conf,v 1.8 2007/03/29 13:37:35 claudio Exp $ # sample bgpd configuration file # see bgpd.conf(5) #macros loopback=172.17.0.1 # global configuration AS 65200 router-id $loopback network $loopback/32 set {localpref 120, med 10} network 172.17.0.0/16 set {localpref 120, med 10} network connected set {localpref 120, med 10} network static set {localpref 120, med 10} group TRANSIT { remote-as 65100 announce all set nexthop self set med 10100 set localpref 60 neighbor 192.168.100.1 { descr TRANSIT } } group IBGP { remote-as 65200 route-reflector set nexthop self set med +1000 neighbor 172.17.1.2 { local-address 172.17.1.1 descr router-02 primary } neighbor 172.17.1.6 { local-address 172.17.1.5 descr router-02 standby set med +1 } } # filter deny from any deny to any allow quick to group IBGP allow quick from group IBGP allow quick to group TRANSIT prefix 172.17.0.0/16 allow quick from group TRANSIT router-01# ifconfig lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33208 groups: lo inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 ne3: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 52:54:00:12:02:01 description: transit media: Ethernet 10baseT full-duplex inet6 fe80::5054:ff:fe12:201%ne3 prefixlen 64 scopeid 0x1 inet 192.168.100.2 netmask 0xfffc broadcast 192.168.100.3 ne4: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 52:54:00:12:02:02 description: router-01 primary path media: Ethernet 10baseT full-duplex inet6 fe80::5054:ff:fe12:202%ne4 prefixlen 64 scopeid 0x2 inet 172.17.1.1 netmask 0xfffc broadcast 172.17.1.3 ne5: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500
Re: bgpd causing black-holes with bgp-only setup
On Sun, Nov 04, 2007 at 11:30:20PM +, Tony Sarendal wrote: On 11/4/07, Tony Sarendal [EMAIL PROTECTED] wrote: Thanks for all the info. I will have a look at this as well. Currently I think it is possible that route-reflector is not bug free in cases where you have route-reflector rings or other very complex setups. I only tested the easy setups till now. Why you get routing loops and black-holes in your 3 AS setups is not clear (at least for me) but I guess it may be an issue with a failed update. I have the feeling that when we get a update with a routing loop in it we should actually issue a withdraw for the prefix carried in it so the following code in rde.c is looking suspicious: /* aspath needs to be loop free nota bene this is not a hard error */ if (peer-conf.ebgp !aspath_loopfree(asp-aspath, conf-as)) { error = 0; goto done; } I'm mostly offline in the next days so maybe you beat me in finding a fix for this. -- :wq Claudio
OpenBSD isakmpd and pf vs Cisco PIX or ASA
We have been using OpenBSD my entire IT career, 5 1/2 years, I like the way its easy to roll out, configure and the cost the most. I would like an honest opinion of the group. We have customers that maintain their own firewalls and VPNs and it appears to us that that those sites seem to transmit data quicker than the sites that we maintain with OpenBSD firewalls and VPNs, assuming identical bandwidth. We have an OpenBSD VPN/firewall at our main site, so realistically, all of our data does transpose OpenBSD before it ultimately hits our network. My question is should I consider a non OpenBSD solutions, ie Cisco devs or should I attempt to tweak my existing boxes? Regards, Chris
Re: OpenBSD isakmpd and pf vs Cisco PIX or ASA
Have you try openbsd 4.2 ? PF have been really improved in this release. On Nov 5, 2007 1:09 AM, Chris Bullock [EMAIL PROTECTED] wrote: We have been using OpenBSD my entire IT career, 5 1/2 years, I like the way its easy to roll out, configure and the cost the most. I would like an honest opinion of the group. We have customers that maintain their own firewalls and VPNs and it appears to us that that those sites seem to transmit data quicker than the sites that we maintain with OpenBSD firewalls and VPNs, assuming identical bandwidth. We have an OpenBSD VPN/firewall at our main site, so realistically, all of our data does transpose OpenBSD before it ultimately hits our network. My question is should I consider a non OpenBSD solutions, ie Cisco devs or should I attempt to tweak my existing boxes? Regards, Chris -- Julien Cabillot Technicien Unix SDV Plurimedia
Re: bgpd causing black-holes with bgp-only setup
On 11/5/07, Claudio Jeker [EMAIL PROTECTED] wrote: On Sun, Nov 04, 2007 at 11:30:20PM +, Tony Sarendal wrote: On 11/4/07, Tony Sarendal [EMAIL PROTECTED] wrote: Thanks for all the info. I will have a look at this as well. Currently I think it is possible that route-reflector is not bug free in cases where you have route-reflector rings or other very complex setups. I only tested the easy setups till now. Why you get routing loops and black-holes in your 3 AS setups is not clear (at least for me) but I guess it may be an issue with a failed update. I have the feeling that when we get a update with a routing loop in it we should actually issue a withdraw for the prefix carried in it so the following code in rde.c is looking suspicious: /* aspath needs to be loop free nota bene this is not a hard error */ if (peer-conf.ebgp !aspath_loopfree(asp-aspath, conf-as)) { error = 0; goto done; } I'm mostly offline in the next days so maybe you beat me in finding a fix for this. -- RFC4271: Changing the attribute(s) of a route is accomplished by advertising a replacement route. The replacement route carries new (changed) attributes and has the same address prefix as the original route. That is the reason. When in my tests AS65200 looses direct connectivity with AS65100 it sees AS65300 as a viable path. It sends a WITHDRAW of the AS65100 prefix to AS65300 via the primary peering. On the standby peering no WITHDRAW is sent, instead AS65200 sends an UPDATE with it's new path. Since this update has AS65300 in the AS-PATH AS65300 will discard the update and just missed the fact that AS65200 doesn't have connectivity to AS65100. Handling an incoming UPDATE with a loop as a WITHDRAW, be it as-path, cluster-list or originator-id, sounds pretty good to me right now. I'll sleep on it and see how it feels tomorrow. As I said, I don't see anything here that violates RFC's, but I have never seen this before either. I will try to get the time to check out how IOS and IOS XR handle this. No point in re-inventing the wheel if they happen to have a round one. /Tony
Re: Need help with wordpress install.
On Sun, 4 Nov 2007, James wrote: On 11/4/07, nuffnough [EMAIL PROTECTED] wrote: On 04/11/2007, James [EMAIL PROTECTED] wrote: Just thought of something else, too. are you using an install of apache from ports, or the default version in OpenBSD? Because the default version is chrooted, so you may need to install a bunch of stuff in the chroot environment, or turn off the chroot and lose its security features. Thanks for the reply. I'm just using the default apache in obsd 4.2. I've tried it switching chroot() off in rc.conf, but it seems to make no difference. :( Makes all the difference in the world, me bucko. It's good to have it covered. Indeed. First, turn off chroot and make sure PHP is runnig! THEN you can setup the chroot, .. make sure PHP still runs, and *then* work with your wordpress install. Lee
Help: panic before 4.2 kernel loads?
Ok, so I finally got around to upgrading my systems. The upgrade process went fine on my first one, rebooted fine twice, but now it's panicking on boot. OpenBSD/i386 BOOT 3.01 boot booting hd0a:/bsd: 5665588+872060 [52+291168+272312]=0x6c5c70 entry point at 0x200120 Nothing more shows up in my serial console but the dump and trace are up on my monitor if anyone needs me to transcribe it. It starts out with: trap: 4(0): protection fault cn_tab=0x4a6a0 System boots fine if I interrupt the boot process and do a boot hda0:/bsd. Dmesg: OpenBSD/i386 BOOT 3.01 boot boot hd0a:/bsd booting hd0a:/bsd: 5665588+872060 [52+291168+272312]=0x6c5c70 entry point at 0x200120* [ using 563904 bytes of bsd ELF symbol table ] Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2007 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Athlon(tm) XP 1800+ (AuthenticAMD 686-class, 256KB L2 cache) 1.54 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,F XSR,SSE real mem = 267939840 (255MB) avail mem = 251437056 (239MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 04/22/05, BIOS32 rev. 0 @ 0xfdae0, SMBIOS rev. 2.3 @ 0xf0650 (25 entries) bios0: vendor American Megatrends Inc. version 07.00T date 04/02/01 bios0: ECS M848A pcibios0 at bios0: rev 2.1 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf77d0/160 (8 entries) pcibios0: PCI Interrupt Router at 000:02:0 (SiS 85C503 System rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0xc000 0xcc000/0x2200 acpi at mainbus0 not configured cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 SiS 746 PCI rev 0x10 ppb0 at pci0 dev 1 function 0 SiS 86C202 VGA rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon VE QY rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 2 function 0 SiS 85C503 System rev 0x25 pciide0 at pci0 dev 2 function 5 SiS 5513 EIDE rev 0x00: 746: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: Maxtor 2F040J0 wd0: 16-sector PIO, LBA, 39205MB, 80293248 sectors atapiscsi0 at pciide0 channel 0 drive 1 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: OPTORITE, CD-RW CW4002, 100E SCSI0 5/cdrom remov able wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6 cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 disabled (no drives) ohci0 at pci0 dev 3 function 0 SiS 5597/5598 USB rev 0x0f: irq 3, version 1.0, legacy support ohci1 at pci0 dev 3 function 1 SiS 5597/5598 USB rev 0x0f: irq 5, version 1.0, legacy support ehci0 at pci0 dev 3 function 2 SiS 7002 USB rev 0x00: irq 10 usb0 at ehci0: USB revision 2.0 uhub0 at usb0: SiS EHCI root hub, rev 2.00/1.00, addr 1 sis0 at pci0 dev 4 function 0 SiS 900 10/100BaseTX rev 0x91: irq 7, address 00:16:ec:54:69:65 ukphy0 at sis0 phy 1: Generic IEEE 802.3u media interface, rev. 10: OUI 0x004063, model 0x0032 wi0 at pci0 dev 9 function 0 Intersil PRISM2.5 rev 0x01: irq 11 wi0: PRISM2.5 ISL3874A(Mini-PCI) (0x8013), Firmware 1.0.7 (primary), 1.3.6 (station), address 00:05:5d:fa:1a:75 ami0 at pci0 dev 11 function 0 Symbios Logic MegaRAID rev 0x01: irq 11 ami0: LSI 523, 64b/lhc, FW 712T, BIOS vG116, 64MB RAM ami0: 1 channels, 0 FC loops, 3 logical drives scsibus1 at ami0: 40 targets sd0 at scsibus1 targ 0 lun 0: AMI, Host drive #00, SCSI2 0/direct fixed sd0: 102400MB, 13054 cyl, 255 head, 63 sec, 512 bytes/sec, 209715200 sec total sd1 at scsibus1 targ 1 lun 0: AMI, Host drive #01, SCSI2 0/direct fixed sd1: 40960MB, 5221 cyl, 255 head, 63 sec, 512 bytes/sec, 83886080 sec total sd2 at scsibus1 targ 2 lun 0: AMI, Host drive #02, SCSI2 0/direct fixed sd2: 9263MB, 1180 cyl, 255 head, 63 sec, 512 bytes/sec, 18970624 sec total scsibus2 at ami0: 16 targets isa0 at pcib0 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 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 it0 at isa0 port 0x290/8: IT87 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom0: console fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec usb1 at ohci0: USB revision 1.0 uhub1 at usb1: SiS OHCI root hub, rev 1.00/1.00, addr 1 usb2 at ohci1: USB revision 1.0 uhub2 at usb2: SiS OHCI root hub, rev 1.00/1.00, addr 1 biomask ff6d netmask ffed ttymask ffef pctr: user-level cycle counter enabled mtrr: Pentium Pro MTRR support uhub3 at uhub1 port 1: Texas Instruments TUSB2046 hub, rev 1.10/1.25, addr 2 uhub4 at
Re: Help: panic before 4.2 kernel loads?
boot booting hd0a:/bsd: 5665588+872060 [52+291168+272312]=0x6c5c70 entry point at 0x200120 booting hd0a:/bsd: 5665588+872060 [52+291168+272312]=0x6c5c70 entry point at 0x200120* Here's where I get slammed as the n00b I am. It looks to me like they're looking at two different but related memory locations. Look at the entry points 0x200120 vs 0x200120* Someone who understands what's going on better can comment on what this means, but I'm almost willing to be there's a file somewhere you need to recompile so it's looking at the correct location. James On 11/4/07, Greg Thomas [EMAIL PROTECTED] wrote: Ok, so I finally got around to upgrading my systems. The upgrade process went fine on my first one, rebooted fine twice, but now it's panicking on boot. OpenBSD/i386 BOOT 3.01 boot booting hd0a:/bsd: 5665588+872060 [52+291168+272312]=0x6c5c70 entry point at 0x200120 Nothing more shows up in my serial console but the dump and trace are up on my monitor if anyone needs me to transcribe it. It starts out with: trap: 4(0): protection fault cn_tab=0x4a6a0 System boots fine if I interrupt the boot process and do a boot hda0:/bsd. Dmesg: OpenBSD/i386 BOOT 3.01 boot boot hd0a:/bsd booting hd0a:/bsd: 5665588+872060 [52+291168+272312]=0x6c5c70 entry point at 0x200120* [ using 563904 bytes of bsd ELF symbol table ] Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2007 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Athlon(tm) XP 1800+ (AuthenticAMD 686-class, 256KB L2 cache) 1.54 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,F XSR,SSE real mem = 267939840 (255MB) avail mem = 251437056 (239MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 04/22/05, BIOS32 rev. 0 @ 0xfdae0, SMBIOS rev. 2.3 @ 0xf0650 (25 entries) bios0: vendor American Megatrends Inc. version 07.00T date 04/02/01 bios0: ECS M848A pcibios0 at bios0: rev 2.1 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf77d0/160 (8 entries) pcibios0: PCI Interrupt Router at 000:02:0 (SiS 85C503 System rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0xc000 0xcc000/0x2200 acpi at mainbus0 not configured cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 SiS 746 PCI rev 0x10 ppb0 at pci0 dev 1 function 0 SiS 86C202 VGA rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon VE QY rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 2 function 0 SiS 85C503 System rev 0x25 pciide0 at pci0 dev 2 function 5 SiS 5513 EIDE rev 0x00: 746: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: Maxtor 2F040J0 wd0: 16-sector PIO, LBA, 39205MB, 80293248 sectors atapiscsi0 at pciide0 channel 0 drive 1 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: OPTORITE, CD-RW CW4002, 100E SCSI0 5/cdrom remov able wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6 cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 disabled (no drives) ohci0 at pci0 dev 3 function 0 SiS 5597/5598 USB rev 0x0f: irq 3, version 1.0, legacy support ohci1 at pci0 dev 3 function 1 SiS 5597/5598 USB rev 0x0f: irq 5, version 1.0, legacy support ehci0 at pci0 dev 3 function 2 SiS 7002 USB rev 0x00: irq 10 usb0 at ehci0: USB revision 2.0 uhub0 at usb0: SiS EHCI root hub, rev 2.00/1.00, addr 1 sis0 at pci0 dev 4 function 0 SiS 900 10/100BaseTX rev 0x91: irq 7, address 00:16:ec:54:69:65 ukphy0 at sis0 phy 1: Generic IEEE 802.3u media interface, rev. 10: OUI 0x004063, model 0x0032 wi0 at pci0 dev 9 function 0 Intersil PRISM2.5 rev 0x01: irq 11 wi0: PRISM2.5 ISL3874A(Mini-PCI) (0x8013), Firmware 1.0.7 (primary), 1.3.6 (station), address 00:05:5d:fa:1a:75 ami0 at pci0 dev 11 function 0 Symbios Logic MegaRAID rev 0x01: irq 11 ami0: LSI 523, 64b/lhc, FW 712T, BIOS vG116, 64MB RAM ami0: 1 channels, 0 FC loops, 3 logical drives scsibus1 at ami0: 40 targets sd0 at scsibus1 targ 0 lun 0: AMI, Host drive #00, SCSI2 0/direct fixed sd0: 102400MB, 13054 cyl, 255 head, 63 sec, 512 bytes/sec, 209715200 sec total sd1 at scsibus1 targ 1 lun 0: AMI, Host drive #01, SCSI2 0/direct fixed sd1: 40960MB, 5221 cyl, 255 head, 63 sec, 512 bytes/sec, 83886080 sec total sd2 at scsibus1 targ 2 lun 0: AMI, Host drive #02, SCSI2 0/direct fixed sd2: 9263MB, 1180 cyl, 255 head, 63 sec, 512 bytes/sec, 18970624 sec total scsibus2 at ami0: 16 targets isa0 at pcib0 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
What happened to my virtual consoles?
I just installed OpenBSD 4.2. When I run X, I no-longer have access to the virtual consoles. When I try to switch to a virtual console (by pressing CONTROL-ALT-F2, for example), the screen goes black for a few seconds and then my X session reappears. Moreover, when I attempt to shutdown the system, X stays running and I never the see the The operating system has halted message. Is there a way to fix this problem? I invoke X by including the following line in my .profile file startx And my .xinit file only contains the following three lines xset s off xmodmap -e 'add Mod4 = Super_L' exec fluxbox My dmesg is as follows: OpenBSD 4.2 (GENERIC.MP) #252: Tue Aug 28 10:53:04 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (GenuineIntel 686-class) 2 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR real mem = 2137419776 (2038MB) avail mem = 2059087872 (1963MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 04/30/07, BIOS32 rev. 0 @ 0xfd6b0, SMBIOS rev. 2.4 @ 0xe0010 (68 entries) bios0: vendor LENOVO version 79ETD3WW (2.13 ) date 04/30/2007 bios0: LENOVO 1953CTO pcibios0 at bios0: rev 2.1 @ 0xfd640/0x9c0 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #22 is the last bus bios0: ROM list: 0xc/0xea00! 0xdc000/0x4000! 0xe/0x1! acpi at mainbus0 not configured mainbus0: Intel MP Specification (Version 1.4) cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 166 MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (GenuineIntel 686-class) 2 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR mainbus0: bus 0 is type PCI mainbus0: bus 2 is type PCI mainbus0: bus 3 is type PCI mainbus0: bus 21 is type PCI mainbus0: bus 22 is type ISA ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130c2906000c29 cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 2000 MHz (1356 mV): speeds: 2000, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82945GM MCH rev 0x03 vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03: aperture at 0xd000, size 0x1000 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 2 int 11 (irq 11) azalia0: host: High Definition Audio rev. 1.0 azalia0: codec: Analog Devices AD1981HD (rev. 2.0), HDA version 1.0 azalia0: codec: Conexant/0x2bfa (rev. 0.0), HDA version 0.9 azalia0: codec[1]: No support for modem function groups azalia0: codec[1]: No audio function groups audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02 pci1 at ppb0 bus 2 em0 at pci1 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00: apic 2 int 11 (irq 11), address 00:15:58:82:8c:2d ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02 pci2 at ppb1 bus 3 wpi0 at pci2 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: apic 2 int 11 (irq 11), MoW1, address 00:1b:77:1c:31:eb ppb2 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02 pci3 at ppb2 bus 4 ppb3 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02 pci4 at ppb3 bus 12 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 2 int 11 (irq 11) uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 2 int 11 (irq 11) uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 2 int 11 (irq 11) uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 2 int 11 (irq 11) ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 2 int 11 (irq 11) usb0 at ehci0: USB revision 2.0 uhub0 at usb0: Intel EHCI root hub, rev 2.00/1.00, addr 1 ppb4 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2 pci5 at ppb4 bus 21 cbb0 at pci5 dev 0 function 0 TI PCI1510 CardBus rev 0x00: apic 2 int 11 (irq 11) cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 22 device 0 cacheline 0x8, lattimer 0xb0 pcmcia0 at cardslot0 ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x02: PM disabled pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVDRAM GSA-4083N, 1.08 SCSI0 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
Re: Help: panic before 4.2 kernel loads?
On 11/4/07, James [EMAIL PROTECTED] wrote: boot booting hd0a:/bsd: 5665588+872060 [52+291168+272312]=0x6c5c70 entry point at 0x200120 booting hd0a:/bsd: 5665588+872060 [52+291168+272312]=0x6c5c70 entry point at 0x200120* Here's where I get slammed as the n00b I am. It looks to me like they're looking at two different but related memory locations. Look at the entry points 0x200120 vs 0x200120* Someone who understands what's going on better can comment on what this means, but I'm almost willing to be there's a file somewhere you need to recompile so it's looking at the correct location. Yep, so far the only thing I've thought to do is re-install the bootblocks which I already did. I just can't figure out why there's a difference between letting it boot automatically or interrupting the boot process to do the boot hda0:/bsd. Thanks for looking. Greg On 11/4/07, Greg Thomas [EMAIL PROTECTED] wrote: Ok, so I finally got around to upgrading my systems. The upgrade process went fine on my first one, rebooted fine twice, but now it's panicking on boot. OpenBSD/i386 BOOT 3.01 boot booting hd0a:/bsd: 5665588+872060 [52+291168+272312]=0x6c5c70 entry point at 0x200120 Nothing more shows up in my serial console but the dump and trace are up on my monitor if anyone needs me to transcribe it. It starts out with: trap: 4(0): protection fault cn_tab=0x4a6a0 System boots fine if I interrupt the boot process and do a boot hda0:/bsd. Dmesg: OpenBSD/i386 BOOT 3.01 boot boot hd0a:/bsd booting hd0a:/bsd: 5665588+872060 [52+291168+272312]=0x6c5c70 entry point at 0x200120* [ using 563904 bytes of bsd ELF symbol table ] Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2007 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Athlon(tm) XP 1800+ (AuthenticAMD 686-class, 256KB L2 cache) 1.54 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,F XSR,SSE real mem = 267939840 (255MB) avail mem = 251437056 (239MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 04/22/05, BIOS32 rev. 0 @ 0xfdae0, SMBIOS rev. 2.3 @ 0xf0650 (25 entries) bios0: vendor American Megatrends Inc. version 07.00T date 04/02/01 bios0: ECS M848A pcibios0 at bios0: rev 2.1 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf77d0/160 (8 entries) pcibios0: PCI Interrupt Router at 000:02:0 (SiS 85C503 System rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0xc000 0xcc000/0x2200 acpi at mainbus0 not configured cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 SiS 746 PCI rev 0x10 ppb0 at pci0 dev 1 function 0 SiS 86C202 VGA rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon VE QY rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 2 function 0 SiS 85C503 System rev 0x25 pciide0 at pci0 dev 2 function 5 SiS 5513 EIDE rev 0x00: 746: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: Maxtor 2F040J0 wd0: 16-sector PIO, LBA, 39205MB, 80293248 sectors atapiscsi0 at pciide0 channel 0 drive 1 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: OPTORITE, CD-RW CW4002, 100E SCSI0 5/cdrom remov able wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6 cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 disabled (no drives) ohci0 at pci0 dev 3 function 0 SiS 5597/5598 USB rev 0x0f: irq 3, version 1.0, legacy support ohci1 at pci0 dev 3 function 1 SiS 5597/5598 USB rev 0x0f: irq 5, version 1.0, legacy support ehci0 at pci0 dev 3 function 2 SiS 7002 USB rev 0x00: irq 10 usb0 at ehci0: USB revision 2.0 uhub0 at usb0: SiS EHCI root hub, rev 2.00/1.00, addr 1 sis0 at pci0 dev 4 function 0 SiS 900 10/100BaseTX rev 0x91: irq 7, address 00:16:ec:54:69:65 ukphy0 at sis0 phy 1: Generic IEEE 802.3u media interface, rev. 10: OUI 0x004063, model 0x0032 wi0 at pci0 dev 9 function 0 Intersil PRISM2.5 rev 0x01: irq 11 wi0: PRISM2.5 ISL3874A(Mini-PCI) (0x8013), Firmware 1.0.7 (primary), 1.3.6 (station), address 00:05:5d:fa:1a:75 ami0 at pci0 dev 11 function 0 Symbios Logic MegaRAID rev 0x01: irq 11 ami0: LSI 523, 64b/lhc, FW 712T, BIOS vG116, 64MB RAM ami0: 1 channels, 0 FC loops, 3 logical drives scsibus1 at ami0: 40 targets sd0 at scsibus1 targ 0 lun 0: AMI, Host drive #00, SCSI2 0/direct fixed sd0: 102400MB, 13054 cyl, 255 head, 63 sec, 512 bytes/sec, 209715200 sec total sd1 at scsibus1 targ 1 lun 0: AMI, Host drive #01, SCSI2 0/direct fixed sd1: 40960MB,
Re: Problem with xl interfaces
Limaunion wrote: hi all! I've been using OpenBSD during the last 2-3 years mainly running it as a firewall. I've an old machine (486 + 48MB RAM) and yesterday decided to make some improvements: upgrade it from 4.0 to 4.2 (new installation) and replace the two NICs, switching from NE2000 clones (RTL8029) to 3C905B. The problem is that i'm getting ton of this messages which bring down the two interfaces: xl0: reset didn't complete xl1: reset didn't complete xl0: command never completed! xl1: command never completed! I found that man xl already has some information about 'command never completed' but in this case the driver does not continue to function normally. Is this problem a combination of old hardware with the xl interfaces ? or are this interfaces crap too ? switching to a newer machine (pentium 166) may help ? or should I buy another brand (which) ? xl(4) devices are pretty far down the list as far as performance and quality. However, I haven't seen those messages in quite some time, and never saw them as fatal failures as you are. HOWEVER, that being said, I haven't seen a 486 with a good PCI bus in a while, either. Most of the real 486 systems with PCI busses probably worked for something in some way on some OS, but not for me. (I have a few AMD5x86-oriented boards that appear to have a very functional PCI bus, but those were in the Pentium days. Actually, on closer examination, you may have one of those boards.) SO, I'm going to guess it is a combination of a cranky driver in a slightly non-standard PCI bus. For a quick fix, let's look back to your RT8029 cards. While the RT8029 is probably about the worst performing NIC to ever go on a PCI bus, it will handle most home-grade uses just fine. I suspect the PCI bus on the things will give them better performance than any ISA card, and I've moved a lot of data through ISA cards in the past. So, were you having a problem with the RT8029s, or just trying to put in a better card? Odds are, if you need the performance of a 100Mbps card, you may be needing a new computer (in which case, your P166 is probably great). If you didn't NEED the performance, put the 8029-based cards back in. Hm. Looking at your dmesg, I see pci0 at mainbus0 bus 0: configuration mode 1 (bios) which I don't recall having seen before...might be worth checking to see if the BIOS has a PNP Aware OS mode for the BIOS. (heh, just spot checked a couple machines, they both have this line, but both say (no bios). So much for my memory, which should lead one to doubt my interpretation, but still might be an interesting test. Once I get some space on a shelf, might have to plug one of my similar looking boards in, see what it does. :) Thanks in advance for any help!. Jorge PS: on 2006-01-06 I reported a keyboard problem with OpenBSD 3.8, the problem is still present with 4.2: http://marc.info/?l=openbsd-miscm=113658848307726w=2 Dang, I think I remember that. Had me scratching back then, too. Not doing any better now... This might be a stinker of a MoBo. We just don't have too many keyboard problems reported... Nick. OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel 486DX (486-class) real mem = 49905664 (47MB) avail mem = 39297024 (37MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 07/25/94, BIOS32 rev. 0 @ 0xf7810 apm0 at bios0: Power Management spec V1.0 apm0: AC on, battery is unknown apm0: flags 30100 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.0 @ 0xf/0x1 pcibios0: pcibios_get_intr_routing - function not supported pcibios0: PCI IRQ Routing information unavailable. pcibios0: PCI bus #0 is the last bus WARNING: can't reserve area for I/O APIC. WARNING: can't reserve area for Local APIC. bios0: ROM list: 0xc/0x8000 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (bios) xl0 at pci0 dev 13 function 0 3Com 3c905B 100Base-TX rev 0x30: irq 11, address 00:01:02:6e:c5:08 exphy0 at xl0 phy 24: 3Com internal media interface xl1 at pci0 dev 14 function 0 3Com 3c905B 100Base-TX rev 0x30: irq 9, address 00:01:02:87:fc:88 exphy1 at xl1 phy 24: 3Com internal media interface vga1 at pci0 dev 15 function 0 ATI Mach64 GP rev 0x5c wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pchb0 at pci0 dev 16 function 0 UMC UM8881F Host rev 0x01 pcib0 at pci0 dev 18 function 0 UMC UM8886 rev 0x01 isa0 at pcib0 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 wdc0 at isa0 port 0x1f0/8 irq 14 wd0 at wdc0 channel 0 drive 0: WDC AC310200R wd0: 16-sector PIO, LBA, 9787MB, 20044080 sectors wd0(wdc0:0:0): using BIOS timings pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: using exception 16
Re: Help: panic before 4.2 kernel loads?
Greg Thomas wrote: On 11/4/07, James [EMAIL PROTECTED] wrote: boot booting hd0a:/bsd: 5665588+872060 [52+291168+272312]=0x6c5c70 entry point at 0x200120 booting hd0a:/bsd: 5665588+872060 [52+291168+272312]=0x6c5c70 entry point at 0x200120* Here's where I get slammed as the n00b I am. It looks to me like they're looking at two different but related memory locations. Look at the entry points 0x200120 vs 0x200120* Someone who understands what's going on better can comment on what this means, but I'm almost willing to be there's a file somewhere you need to recompile so it's looking at the correct location. Yep, so far the only thing I've thought to do is re-install the bootblocks which I already did. I just can't figure out why there's a difference between letting it boot automatically or interrupting the boot process to do the boot hda0:/bsd. yeah, that is quite a puzzler. Along with why the contents of the panic come out on the CRT when you apparently have a serial console... I'm really grasping at straws here...but what's in your /etc/boot.conf? (and are you SURE?) What happens if you just delete(/rename/hide) it? what happens if you just boot instead of boot hd0a:/bsd? ALSO...does anything different happen between a cold power-off/power-on and a reboot? Nick.
Re: hotplugd for CD's?
On 11/2/07, Edd Barrett [EMAIL PROTECTED] wrote: Hi, As it stands hotplugd does not respond to the insertion of CD's (obviously, as the cd device is not attached as such), I too think it would be neat if hotplugd could notice cd insertion. On another note, it would also be useful to allow users to mount directories not owned by them. As it stands if you want to allow a user to mount a cdrom drive, they each need thier own mount directory. Right, so just mount them somewhere under your home directory. I dont hink this is a problem in most cases. --- Lars Hansson
Re: Help: panic before 4.2 kernel loads?
On 11/4/07, Nick Holland [EMAIL PROTECTED] wrote: Greg Thomas wrote: On 11/4/07, James [EMAIL PROTECTED] wrote: boot booting hd0a:/bsd: 5665588+872060 [52+291168+272312]=0x6c5c70 entry point at 0x200120 booting hd0a:/bsd: 5665588+872060 [52+291168+272312]=0x6c5c70 entry point at 0x200120* Here's where I get slammed as the n00b I am. It looks to me like they're looking at two different but related memory locations. Look at the entry points 0x200120 vs 0x200120* Someone who understands what's going on better can comment on what this means, but I'm almost willing to be there's a file somewhere you need to recompile so it's looking at the correct location. Yep, so far the only thing I've thought to do is re-install the bootblocks which I already did. I just can't figure out why there's a difference between letting it boot automatically or interrupting the boot process to do the boot hda0:/bsd. yeah, that is quite a puzzler. Along with why the contents of the panic come out on the CRT when you apparently have a serial console... I'm really grasping at straws here...but what's in your /etc/boot.conf? (and are you SURE?) What happens if you just delete(/rename/hide) it? I originally had set tty com0 in it but renamed it to boot.conf.bak since I didn't have my serial cable handy. what happens if you just boot instead of boot hd0a:/bsd? Well, this thing is very flaky. It panicked using both boot and boot hd0a:/bsd now. ALSO...does anything different happen between a cold power-off/power-on and a reboot? Same behavior. This isn't the first time that I've had strange boot problems with cheap PCs. I had a Pentium 133 at one time that I discussed with you where OpenBSD wouldn't boot unless boot was in boot.conf, nor could I interrupt the boot process with F8 and the like in Windows. My workaround on that box was to put a simple boot in boot.conf. So... ...I did the same on this box and it boots with no problems. I'll have to keep an alternative boot method, CD, whatever, in case I need stop the boot process. Greg -- Ticketmaster and Ticketweb suck, but everyone knows that: http://ticketmastersucks.org http://lodesertprotosites.org Dethink to survive - Mclusky
Re: OpenBSD isakmpd and pf vs Cisco PIX or ASA
On Mon, Nov 05, 2007 at 01:29:05AM +0100, Cabillot Julien wrote: Have you try openbsd 4.2 ? PF have been really improved in this release. On Nov 5, 2007 1:09 AM, Chris Bullock [EMAIL PROTECTED] wrote: We have been using OpenBSD my entire IT career, 5 1/2 years, I like the way its easy to roll out, configure and the cost the most. I would like an honest opinion of the group. We have customers that maintain their own firewalls and VPNs and it appears to us that that those sites seem to transmit data quicker than the sites that we maintain with OpenBSD firewalls and VPNs, assuming identical bandwidth. We have an OpenBSD VPN/firewall at our main site, so realistically, all of our data does transpose OpenBSD before it ultimately hits our network. My question is should I consider a non OpenBSD solutions, ie Cisco devs or should I attempt to tweak my existing boxes? Regards, Chris Besides trying 4.2 (you should definitely do that), two other things might be considered: 1. VPN is computationally heavy -- is your hardware fast enough? 2. Try playing with queueing in PF to handle some types of traffic faster than others. AFAIK, it is normal to find this kind of configuration in commercial, black-box solutions, disguised as buzzy slogans like Built-in QoS Super-Routing :-) Just my two cents. Martin
Re: What happened to my virtual consoles?
On Sun, Nov 04, 2007 at 09:35:06PM -0500, Matthew Szudzik wrote: I just installed OpenBSD 4.2. When I run X, I no-longer have access to the virtual consoles. When I try to switch to a virtual console (by pressing CONTROL-ALT-F2, for example), the screen goes black for a few seconds and then my X session reappears. Moreover, when I attempt to shutdown the system, X stays running and I never the see the The operating system has halted message. I have the problem too. In 3.9 it worked, in 4.0 it doesn't anymore. Although I can still do ctrl-alt-backspace in X and it shuts them down. Also, often, when I don't start X soon after the computer boots but later, the screen fills with psychedelic colours and the machine freezes. CL Is there a way to fix this problem? I invoke X by including the following line in my .profile file startx And my .xinit file only contains the following three lines xset s off xmodmap -e 'add Mod4 = Super_L' exec fluxbox My dmesg is as follows: OpenBSD 4.2 (GENERIC.MP) #252: Tue Aug 28 10:53:04 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (GenuineIntel 686-class) 2 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR real mem = 2137419776 (2038MB) avail mem = 2059087872 (1963MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 04/30/07, BIOS32 rev. 0 @ 0xfd6b0, SMBIOS rev. 2.4 @ 0xe0010 (68 entries) bios0: vendor LENOVO version 79ETD3WW (2.13 ) date 04/30/2007 bios0: LENOVO 1953CTO pcibios0 at bios0: rev 2.1 @ 0xfd640/0x9c0 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #22 is the last bus bios0: ROM list: 0xc/0xea00! 0xdc000/0x4000! 0xe/0x1! acpi at mainbus0 not configured mainbus0: Intel MP Specification (Version 1.4) cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 166 MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (GenuineIntel 686-class) 2 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR mainbus0: bus 0 is type PCI mainbus0: bus 2 is type PCI mainbus0: bus 3 is type PCI mainbus0: bus 21 is type PCI mainbus0: bus 22 is type ISA ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130c2906000c29 cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 2000 MHz (1356 mV): speeds: 2000, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82945GM MCH rev 0x03 vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03: aperture at 0xd000, size 0x1000 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 2 int 11 (irq 11) azalia0: host: High Definition Audio rev. 1.0 azalia0: codec: Analog Devices AD1981HD (rev. 2.0), HDA version 1.0 azalia0: codec: Conexant/0x2bfa (rev. 0.0), HDA version 0.9 azalia0: codec[1]: No support for modem function groups azalia0: codec[1]: No audio function groups audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02 pci1 at ppb0 bus 2 em0 at pci1 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00: apic 2 int 11 (irq 11), address 00:15:58:82:8c:2d ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02 pci2 at ppb1 bus 3 wpi0 at pci2 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: apic 2 int 11 (irq 11), MoW1, address 00:1b:77:1c:31:eb ppb2 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02 pci3 at ppb2 bus 4 ppb3 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02 pci4 at ppb3 bus 12 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 2 int 11 (irq 11) uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 2 int 11 (irq 11) uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 2 int 11 (irq 11) uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 2 int 11 (irq 11) ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 2 int 11 (irq 11) usb0 at ehci0: USB revision 2.0 uhub0 at usb0: Intel EHCI root hub, rev 2.00/1.00, addr 1 ppb4 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2 pci5 at ppb4 bus 21 cbb0 at pci5 dev 0 function 0 TI PCI1510 CardBus rev 0x00: apic 2 int 11 (irq 11) cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 22 device 0 cacheline 0x8, lattimer 0xb0 pcmcia0 at
Re: 4.2 Trouble with HP Notebook
On Nov 2, 2007 1:22 PM, Rafal Brodewicz [EMAIL PROTECTED] wrote: Frans Haarman pisze: The model is HP Compaq 6710b And indeed, enableing acpi crashes things! I have 6510b model and enabling acpi crashes system. The main problem in disabled acpi is that cpu fan doesn't respond to cpu temperature changes so it's very easy to overheat cpu. dmesg is in my previous post HP notebook fan issue. Probably acpi related thing. Try install amd64 version which works fine. i386 stops at MTRR for me too. This did work! Its running fine now. Thanks, Gr. FH
Re: Problem with xl interfaces
Hi Limaunion, Is this problem a combination of old hardware with the xl interfaces ? or are this interfaces crap too ? switching to a newer machine (pentium 166) may help ? or should I buy different NICs ? For myself, I decided to ditch the xl NICs and go with sk (D-Link DGE-530T, older Linksys EG1032) and vge (ZyXEL GN670-T, I believe). Two recent onboard re chips work fine aswell, but they wouldn't deal with carp. See: http://www.openbsd.org/i386.html under Gigabit Ethernet Adapters. HTH... Nico P.S. (Although personally, I'd ditch the 486 aswell)
Re: Questions to 4.0-4.1 upgrade
On 11/2/07, Josh Grosse [EMAIL PROTECTED] wrote: On Fri, 2 Nov 2007 14:00:32 +0100, Karel Kulhavy wrote I want to upgrade from 4.0 to 4.2 and I see I am supposed to perform 4.0-4.1 first. That's correct. :) Hmmm, on my second upgrade today I did a 4.0 to 4.2 upgrade, i.e. threw the 4.2 CD in a 4.0 machine, upgraded, and then followed the directions for 4.0 to 4.1 and 4.1 to 4.2. Am I putting myself at risk? ...I installed a lot of packages on my system and have no idea what is their complete list. How do I figure that out and how do I discern between packages that were already pre-installed by default and the ones I installed explicitly? Then, how do I upgrade a package XXX? A complete list can be had from pkg_info. Upgrades of all packages can be done simply and easily by setting PKG_PATH appropriately, then issuing: # pkg_add -iu I love pkg_add -ui -F update -F updatedepends. Up until this upgrade I'd manually removed and added packages. Greg -- Ticketmaster and Ticketweb suck, but everyone knows that: http://ticketmastersucks.org http://lodesertprotosites.org Dethink to survive - Mclusky
earlier DVD reading problem solved
I had posted about some DVD burner problems awhile back, see http://www.mail-archive.com/misc@openbsd.org/msg44484.html They are solved now. The problem was the TSSTCorp SH-S182D was running really old firmware. I upgraded the firmware to SB04 and it is working fine, and reading the discs that it burns. In the process I also put it into an external enclosure with USB 2.0 connection so that I could hook it up to my roomates laptop and upgrade the firmware. In the process of working on this, I discovered that Ubuntu i386 leaves my VGE ethernet card in a state such that the ciphy PHYS layer driver does not load when I boot back into OpenBSD 4.2 amd64. I also learned alot about SCSI debugging and DVD formats, upgraded to -current, and gained an even deeper appreciation of the level of documentation in OpenBSD. More about the VGE issue later... Thanx, just wanted the fix to be in the archives... -- Sincerely, Craig Brozefsky [EMAIL PROTECTED] what a klon - neko http://www.red-bean.com/~craig Less matter, more form! - Bruno Schulz ignazz, I am truly korrupted by yore sinful tzourceware. -jb