Re: Rebuilding a degraded RAID5 softraid array
From: Karel Gardas-- Sent: 2017.06.14 - 19:25 > On Wed, Jun 14, 2017 at 5:23 PM, LÉVAI Dániel wrote: >> sd8 at scsibus4 targ 2 lun 0: SCSI2 0/direct fixed >> sd8: 155872MB, 512 bytes/sector, 319227056 sectors > > Here is sd8 as crypto. > >> So the system disks (RAID1) are there, sd7l is decrypted as sd8 (so > > sd7l decrypted as sd8, well then > >> that's also okay), and I'm missing the array of sd2,sd3,sd4,sd5. (no >> worries about sd6 and sd11, that's an external drive, I've removed that >> from the equation for now). >> >> Every documentation I read tells me to rebuild the array like so: >> # bioctl -R /dev/ >> >> So I guess I could run eg. `bioctl -R /dev/sd5a sd8`, if I had sd8 as a > > but you can't do that as sd8 is already allocated and running as > crypto volume. In fact I think softraid logging is fine and your RAID5 > is for whatever reason being assigned as sd7 but fails on missing > chunk. The problem may arrise from the StoreJet USB device you have > attached. If you unplug this then perhaps your RAID1 will become sd6 > and your RAID5 will become sd7 and you may see it and make attempt to > rebuilt it. Thanks Karel for pointing this out, you are in fact right, and nothing is wrong with the logging, I just forgot that I'm decrypting that device 'automatically' in rc.local. And the kernel log was from before this, hence the similar device names. I still think that nonetheless I should've gotten a degraded array that I can work with (eg. rebuild). As a matter of fact I removed everything from the machine, and left just the four drives of the array, then booted into bsd.rd from a thumb drive. Strangest thing is, if I boot with the 'bad' (=failing) drive as part of the array, softraid brings the volume online (albeit degraded) and I can even decrypt/mount the volume and use it (only one drive being bad in the array of RAID5). If I remove/replace said failing drive, I'm not getting a degraded volume, just the error about the missing chunk and that it refuses to bring it online. Either I completely misunderstood the whole idea about softraid and the RAID5 setup (I mean, removing a device - failed or not - shouldn't hinder the assembly of the array, right?), or I'm missing something really obvious 8-/ Daniel
Re: upgrade 5.4 - 5.5 -- openldap bdb database
On sze, máj 07, 2014 at 13:06:07 -0700, Philip Guenther wrote: On Fri, May 2, 2014 at 1:27 AM, LEVAI Daniel l...@ecentrum.hu wrote: I've recently upgraded one of my systems to 55 from 54 (btw, for me, the most painful upgrade since ~3.9; I don't know what happened but everything was against me), and one of the obstacles was the openldap upgrade. I was using openldap-2.4 with bdb on 5.4 also, so I thought it would be a clean cut. After trying to start slapd, it barked about the bdb's consistency: __db.001: unable to find environment txn_checkpoint interface requires an environment configured for the transaction subsystem ... etc ... (the precise error message would require the restore of the old db files, but what's important is there) Ah yes. The __db.0* 'environment' files are just the backing-store for the shared memory images. As a result, their internal layouts are dependent on the sizes of many system types, as well as on bdb's compile time debugging flags. As a result, they can be removed without loss of data whenever the database isn't open in any process. Ah, wow, thanks Philip. I didn't know much about bdb... I would have never dared to delete those files, given that one of them is more than 320MiB (I mean, look at that size; there has to be *something* important there :D ). But you are of course absolutely right, and simply deleting th __db files and starting slapd would have sufficed during the upgrade process. If closed cleanly, then it can be opened again without having to perform recovery, though many application just always perform recovery on the first open, to make sure. (So performing transaction checkpoints regularly and just before closing is good.) So: when upgrading, you should be removing the __db.* files for openldap. Right, simple as that. If only I had even a little knowledge about BDB beforehand... :) (That's *not* the case with the actual database file formats (btree, hash, queue, recno): those use fixed-size types internally. On the gripping hand, the actual data that the application is storing in the databases' keys and values *may* be dependent on the system types!) So, is this a good start (I've tried to reproduce Philip's technical insight by copying his relevant sentences): --- upgrade55.html 2014-05-08 15:13:33.541722106 +0200 +++ upgrade55.html.new 2014-05-08 15:21:12.922729991 +0200 @@ -843,6 +843,19 @@ This is in addition to the database sche usual for Icinga-web/NDOUtils users (see the pkg-readme for more information). +p +libopenldap-bdb:/b +The __db.* 'environment' files are the backing-store for the shared memory +images. As a result, their internal layouts are dependent on the size of many +system types, and the __db.* file format on 32-bit architectures will not be +compatible. +p +After upgradeing bdb (along with OpenLDAP), the __db.* files must +be removed from the openldap-data directory, to be able to start slapd. This is +a safe procedure, and can be done without loss of data, bbut only if the +database is not open in any process./b +p +This is not necessary on 64-bit architectures (amd64, sparc64, etc). /ul p -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: upgrade 5.4 - 5.5 -- openldap bdb database
On sze, máj 07, 2014 at 02:21:38 +, Stuart Henderson wrote: What arch is this Daniel? I've done multiple 5.4-5.5 upgrades with OpenLDAP/bdb without need for additional steps, but they were all on amd64. [...] Oh, this was i386. Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
upgrade 5.4 - 5.5 -- openldap bdb database
Hi! I've recently upgraded one of my systems to 55 from 54 (btw, for me, the most painful upgrade since ~3.9; I don't know what happened but everything was against me), and one of the obstacles was the openldap upgrade. I was using openldap-2.4 with bdb on 5.4 also, so I thought it would be a clean cut. After trying to start slapd, it barked about the bdb's consistency: __db.001: unable to find environment txn_checkpoint interface requires an environment configured for the transaction subsystem ... etc ... (the precise error message would require the restore of the old db files, but what's important is there) db4_verify of course told me the same, and db4_recover, or slapcat and the likes were futile. So I just shrugged and went about to restore my backups, but even the one week old backup did seem to be corrupt :-/ Long story short, I had to install a 5.4 OpenBSD, pkg_add openldap-server, copy over the openldap-data directory, slapcat to an ldif file then slapadd on the server to a clean and fresh openldap data directory. The logic is the same as for the rrdtool upgrade, but that is at least mentioned in the upgrade faq ;-P So if it seems this is a real upgrade issue for someone else also, and not a PEBKAC, then I think it would be fair to mention this on upgrade55.html. I could cook up a diff, if it turns out I was not hallucinating. Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
nitpick on faq/upgrade55.html
Hi! --- upgrade55.html.orig 2014-05-01 22:56:35.504448593 +0200 +++ upgrade55.html 2014-05-01 22:56:40.794448187 +0200 @@ -651,7 +651,7 @@ NSD strips the chroot prefix as needed. liRemove any old cron jobs that run nsdc patch as this is no longer needed. If you wish to write slaved zones to the readable data files, you may want -to change this for a 'nsdc-control write' job./li +to change this for a 'nsd-control write' job./li liCheck nsd_flags in /etc/rc.conf.local; NSD is now started by nsd-control(8), so nsd(8) flags are no longer available./li Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
mdocml.bsd.lv site down
Hi! Anyone knows about the mdocml site's status? Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: sftp -R as ssh_config option
On v, márc 09, 2014 at 09:17:18 +1100, Darren Tucker wrote: On Sun, Mar 9, 2014 at 7:51 AM, LEVAI Daniel l...@ecentrum.hu wrote: For the life of me I can not find the correspondig ssh option in ssh_config(5) for sftp's -R switch. Is that even configurable with -o ? Nope, sorry. -R is specific to sftp and sftp doesn't read ssh_config. As far as sftp is concerned, the underlying ssh is just an 8-bit clean bidirectional pipe. Okay, thanks! Daniel
sftp -R as ssh_config option
Hi! For the life of me I can not find the correspondig ssh option in ssh_config(5) for sftp's -R switch. Is that even configurable with -o ? Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: calendar(1) - last day of a month
On k, márc 04, 2014 at 23:06:24 -0800, Philip Guenther wrote: On Sat, Mar 1, 2014 at 8:14 AM, LEVAI Daniel l...@ecentrum.hu wrote: Maybe there are some (old :P ) folks who still use calendar(1). Here is a question about it: How can I specify the last day of every month? With the full effects that would bring, including triggering on a Friday when Monday is the last day of the month? AFAICT, you can't. The closest single-entry approximation is to trigger on the 1st and depend on the fact that it triggers the day before too. If your real requirement is that it trigger the day before the last day of the month, then the AFAICT, the answer is by listing each month separately. Thanks Philip! It didn't even occur to me how that nice Friday-Monday feature would be handled in this case. Nevertheless, depending on the fact that the event would be displayed also on the day before the first day of the month is a very nifty idea (I totally forgot about this :/ ). This way a simple * Event would suffice this need. Thanks! Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: nfsend, nfdump and flow-tools - file formats and statistics
On p, febr 28, 2014 at 21:34:07 -0300, Giancarlo Razzolini wrote: Em 28-02-2014 17:16, LEVAI Daniel escreveu: [...] 1) Using nfdump seems pretty straightforward, but no matter how I try to shape my output, I always get '1970-01-01 01:00:00.000' as Date first seen time. Also, Duration is always 0.000 ... Any ideas why? [...] First of all, what flowproto do you have set in your pflow interface. I had the same problem with the first time seem date, and I was using flowproto 10. There had been some recent (as in 5.5) commits that seems to correct this issue. I had to switch back to flowproto 5. Try that and see if it helps. Thank you Giancarlo, that was the culprit for the time issue! I was using pflowproto 10, indeed. Changing it to 5 immediately solved this problem! Thanks again :) Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
calendar(1) - last day of a month
Hi! Maybe there are some (old :P ) folks who still use calendar(1). Here is a question about it: How can I specify the last day of every month? So far I understood that: Feb .. is the first day of February. * .. is the first day of every month. */MonLast .. is the last monday of every month. But I wanted to specify the last day of every month (not the last specific day of a week). So Jan. 31, Feb. 28 (or 29 in leap years), Mar. 31 etc... Somewhere along the lines of `*/DayLast'. Is this possible? The closest I could get was: * * .. the day before the last day of a month. ^^^ but this one strangely won't display 2014 January and February. (??) Also, using `* *+1' won't add a day to that date, either. Thanks, Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: calendar(1) - last day of a month
On szo, márc 01, 2014 at 17:14:54 +0100, LEVAI Daniel wrote: [...] But I wanted to specify the last day of every month (not the last specific day of a week). So Jan. 31, Feb. 28 (or 29 in leap years), ^ sorry, this should read: (not the last one of a specific weekday in a month)
nfsend, nfdump and flow-tools - file formats and statistics
Hi! Under the spell of the recent undeadly article about pflow(4) and stuff, I started to fool around with nfsen and pflow a bit. The setup was really easy... I had the nfsen web interface up and running and displaying uninteresting graphs in no time. (I must say, the system is a 5.4-stable). But eventually, I wanted to see what kind of reports I can get from the collected data using the command line. So I started to read about nfdump and flow-tools' utilities. 1) Using nfdump seems pretty straightforward, but no matter how I try to shape my output, I always get '1970-01-01 01:00:00.000' as Date first seen time. Also, Duration is always 0.000 ... Any ideas why? 2) I tried to use the flow-tools utilities with the data captured by nfcapd (from nfsen), but eg. flow-print and flow-report says: flow-print: ftiheader_read(): Warning, bad magic number flow-print: ftiheader_read(): failed flow-print: ftio_init(): failed ... when I try to open the nfcapd.* files. Well, okay, but how can I use the captured data with flow-tools? Can I? Thanks in advance for some insight :) Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
ksh reopening stdin
Hi! I'm doing this: --- script.sh --- #!/bin/ksh for word in $(tr '\n' ' ');do # ^^ tr(1) reads from standard input ... some stuff ... done read FOO case ${FOO} in ... ... ... esac --- script.sh --- $ script.sh /foo/bar The problem with this of course, is that I want `read' to read from the user interactively, also from stdin, but stdin is piped to the script (and subsequently to tr(1)) before `read'. So now `read' just gets eof. I'm thinking about something along the lines of first closing the stdin that is piped to the script (somehow, I don't know), then reopening it (also, somehow). I know this sounds vague, but does the concept makes sense at all? I was playing around with something like this: for word in $(tr ..);do; ... ;done exec 3/dev/stdin exec - exec 03 read FOO Thanks for any pointers! Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: ksh reopening stdin
On k, febr 25, 2014 at 14:19:44 +0100, Jérémie Courrèges-Anglas wrote: LEVAI Daniel l...@ecentrum.hu writes: Hi! Hi Daniel, [...] Try using ''read /dev/tty'' for your interactive user input. Cheers, Jérémie! I can even use `exec 0/dev/tty' before any read! Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
pkg_add error, Dependencies.pm:387
Hi! Updated to Feb. 2 snapshots, and everytime I run pkg_add, I get this: Can't use an undefined value as a HASH reference at /usr/libdata/perl5/OpenBSD/Dependencies.pm line 387. Maybe this is the culprit: CVSROOT:/cvs Module name:src Changes by: es...@cvs.openbsd.org 2014/02/01 04:37:58 Modified files: usr.sbin/pkg_add/OpenBSD: Dependencies.pm Log message: let solve_depends work as soon as we have update_info Reverting Dependencies.pm to 1.151 fixes it for me. Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
iked: ikev2 eats CPU after ikectl reload
Hi! For me, on two different 5.3-stable machines a simple ikectl reload triggers a loop in the 'iked: ikev2' process. Aborting 'iked: ikev2' a few times, it usually gets the signal in event_queue_remove() in event_del(). To reproduce, basically I just start iked (no matter with that parameters), invoke `ikectl reload`, then after ~2 seconds ikev2 starts spinning. It doesn't even need an iked.conf, it is just an empty file. In more detail: I started /sbin/iked -dvv, executed ikectl reload, waited until config_getcompile: compilation done showed up in iked's terminal, then saw iked's processor use rise up in top(1), then pkill -ABRT -f ikev2. Now I saved these coredumps under different names: iked.core-[0-9]+ , then executed gdb in a loop from a shell and got the bt from every (currently six) coredump [1]. I also recompiled libevent with -DUSE_DEBUG (then recompiled sbin/iked), and saved iked -dvv's (and libevent's) output on the terminal [2]. Anyone got any idea what could be going on? [1]: = iked.core-1 = Core was generated by `iked'. Program terminated with signal 6, Aborted. #0 event_queue_insert (base=0x7feddc00, ev=0x7d10a48c, queue=8) at /usr/src/lib/libevent/event.c:1000 1000switch (queue) { #0 event_queue_insert (base=0x7feddc00, ev=0x7d10a48c, queue=8) at /usr/src/lib/libevent/event.c:1000 #1 0x1c032a7d in event_base_loop (base=0x7feddc00, flags=0) at /usr/src/lib/libevent/event.c:952 #2 0x1c032b3a in event_loop (flags=0) at /usr/src/lib/libevent/event.c:478 #3 0x1c032b52 in event_dispatch () at /usr/src/lib/libevent/event.c:416 #4 0x1c028184 in proc_run (ps=0x7d10a4e0, p=0x3c03e47c, procs=0x3c03e520, nproc=3, init=0, arg=0x0) at /usr/src/sbin/iked/proc.c:276 #5 0x1c00a69c in ikev2 (ps=0x7d10a4e0, p=0x3c03e47c) at /usr/src/sbin/iked/ikev2.c:114 #6 0x1c02797a in proc_init (ps=0x7d10a4e0, p=0x3c03e47c, nproc=3) at /usr/src/sbin/iked/proc.c:61 #7 0x1c00955a in main (argc=2, argv=0xcfbc8ad8) at /usr/src/sbin/iked/iked.c:157 = iked.core-2 = Core was generated by `iked'. Program terminated with signal 6, Aborted. #0 event_base_loop (base=0x8b986000, flags=0) at min_heap.h:65 65 struct event* min_heap_top(min_heap_t* s) { return s-n ? *s-p : 0; } #0 event_base_loop (base=0x8b986000, flags=0) at min_heap.h:65 #1 0x1c032b3a in event_loop (flags=0) at /usr/src/lib/libevent/event.c:478 #2 0x1c032b52 in event_dispatch () at /usr/src/lib/libevent/event.c:416 #3 0x1c028184 in proc_run (ps=0x8b6074e0, p=0x3c03e47c, procs=0x3c03e520, nproc=3, init=0, arg=0x0) at /usr/src/sbin/iked/proc.c:276 #4 0x1c00a69c in ikev2 (ps=0x8b6074e0, p=0x3c03e47c) at /usr/src/sbin/iked/ikev2.c:114 #5 0x1c02797a in proc_init (ps=0x8b6074e0, p=0x3c03e47c, nproc=3) at /usr/src/sbin/iked/proc.c:61 #6 0x1c00955a in main (argc=2, argv=0xcfbecc8c) at /usr/src/sbin/iked/iked.c:157 = iked.core-3 = Core was generated by `iked'. Program terminated with signal 6, Aborted. #0 event_queue_insert (base=0x7f44fc00, ev=0x8a86848c, queue=8) at /usr/src/lib/libevent/event.c:1016 1016} #0 event_queue_insert (base=0x7f44fc00, ev=0x8a86848c, queue=8) at /usr/src/lib/libevent/event.c:1016 #1 0x1c032a7d in event_base_loop (base=0x7f44fc00, flags=0) at /usr/src/lib/libevent/event.c:952 #2 0x1c032b3a in event_loop (flags=0) at /usr/src/lib/libevent/event.c:478 #3 0x1c032b52 in event_dispatch () at /usr/src/lib/libevent/event.c:416 #4 0x1c028184 in proc_run (ps=0x8a8684e0, p=0x3c03e47c, procs=0x3c03e520, nproc=3, init=0, arg=0x0) at /usr/src/sbin/iked/proc.c:276 #5 0x1c00a69c in ikev2 (ps=0x8a8684e0, p=0x3c03e47c) at /usr/src/sbin/iked/ikev2.c:114 #6 0x1c02797a in proc_init (ps=0x8a8684e0, p=0x3c03e47c, nproc=3) at /usr/src/sbin/iked/proc.c:61 #7 0x1c00955a in main (argc=2, argv=0xcfbdef30) at /usr/src/sbin/iked/iked.c:157 = iked.core-4 = Core was generated by `iked'. Program terminated with signal 6, Aborted. #0 event_queue_remove (base=0x8abaf000, ev=0x88a7848c, queue=8) at /usr/src/lib/libevent/event.c:958 958 { #0 event_queue_remove (base=0x8abaf000, ev=0x88a7848c, queue=8) at /usr/src/lib/libevent/event.c:958 #1 0x1c0321ee in event_del (ev=0x88a7848c) at /usr/src/lib/libevent/event.c:836 #2 0x1c032a65 in event_base_loop (base=0x8abaf000, flags=0) at /usr/src/lib/libevent/event.c:948 #3 0x1c032b3a in event_loop (flags=0) at /usr/src/lib/libevent/event.c:478 #4 0x1c032b52 in event_dispatch () at /usr/src/lib/libevent/event.c:416 #5 0x1c028184 in proc_run (ps=0x88a784e0, p=0x3c03e47c, procs=0x3c03e520, nproc=3, init=0, arg=0x0) at /usr/src/sbin/iked/proc.c:276 #6 0x1c00a69c in ikev2 (ps=0x88a784e0, p=0x3c03e47c) at /usr/src/sbin/iked/ikev2.c:114 #7 0x1c02797a in proc_init (ps=0x88a784e0, p=0x3c03e47c, nproc=3) at /usr/src/sbin/iked/proc.c:61 #8 0x1c00955a in main (argc=2, argv=0xcfbf3c1c) at /usr/src/sbin/iked/iked.c:157 = iked.core-5 = Core was
Re: iked's ikev2 segfaults during connection initiation from strongswan
On sze, szept 25, 2013 at 21:57:59 +0200, Reyk Floeter wrote: Hi, On 25.09.2013, at 15:23, LEVAI Daniel l...@ecentrum.hu wrote: [...] Thanks! Here is gdb's output: # gdb /sbin/iked iked.core GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-unknown-openbsd5.3... Core was generated by `iked'. Program terminated with signal 11, Segmentation fault. #0 0x1c01726b in ikev2_msg_send (env=0x86e6b000, msg=0xcfbeee10) at /usr/src/sbin/iked/ikev2_msg.c:296 296 m-msg_exchange = hdr-ike_exchange; this shouldn't fail, it sounds like memory corruption somewhere else. but can you also print *m and *hdr in gdb? Reyk Good call: # gdb /sbin/iked iked.core GNU gdb 6.3 [...] This GDB was configured as i386-unknown-openbsd5.3... Core was generated by `iked'. Program terminated with signal 11, Segmentation fault. #0 0x1c01726b in ikev2_msg_send (env=0x86e6b000, msg=0xcfbeee10) at /usr/src/sbin/iked/ikev2_msg.c:296 warning: Source file is more recent than executable. 296 m-msg_exchange = hdr-ike_exchange; (gdb) print *m $1 = {msg_data = 0x7eda8d60, msg_offset = 4, msg_local = {ss_len = 16 '\020', ss_family = 2 '\002', __ss_pad1 = \021\224N\203W, __ss_pad2 = 0, __ss_pad3 = '\0' repeats 239 times}, msg_locallen = 16, msg_peer = {ss_len = 16 '\020', ss_family = 2 '\002', __ss_pad1 = \022\231[Rj\202, __ss_pad2 = 0, __ss_pad3 = '\0' repeats 239 times}, msg_peerlen = 16, msg_sock = 0x0, msg_fd = 12, msg_response = 1, msg_natt = 0, msg_error = 0, msg_e = 0, msg_parent = 0x87268c00, msg_policy = 0x0, msg_sa = 0x89ed, msg_msgid = 1, msg_exchange = 0 '\0', msg_proposals = {tqh_first = 0x0, tqh_last = 0x87268e40}, msg_rekey = {spi = 0, spi_size = 0 '\0', spi_protoid = 0 '\0'}, msg_nonce = 0x0, msg_ke = 0x0, msg_auth = {id_type = 0 '\0', id_offset = 0 '\0', id_buf = 0x0}, msg_id = {id_type = 0 '\0', id_offset = 0 '\0', id_buf = 0x0}, msg_cert = {id_type = 0 '\0', id_offset = 0 '\0', id_buf = 0x0}, msg_prop = 0x0, msg_attrlength = 0, msg_timer = {tmr_ev = {ev_next = {tqe_next = 0x0, tqe_prev = 0x0}, ev_active_next = {tqe_next = 0x0, tqe_prev = 0x0}, ev_signal_next = {tqe_next = 0x0, tqe_prev = 0x0}, min_heap_idx = 0, ev_base = 0x0, ev_fd = 0, ev_events = 0, ev_ncalls = 0, ev_pncalls = 0x0, ev_timeout = {tv_sec = 0, tv_usec = 0}, ev_pri = 0, ev_callback = 0, ev_arg = 0x0, ev_res = 0, ev_flags = 0}, tmr_env = 0x0, tmr_cb = 0, tmr_cbarg = 0x0}, msg_entry = {tqe_next = 0x0, tqe_prev = 0x0}, msg_tries = 0} (gdb) print *hdr Cannot access memory at address 0x818dc000 I must say, that I'm running with: /etc/malloc.conf@ - S ... if that alters the equation. Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: iked's ikev2 segfaults during connection initiation from strongswan
On cs, szept 26, 2013 at 12:16:46 +, Stuart Henderson wrote: On 2013-09-26, LEVAI Daniel l...@ecentrum.hu wrote: I must say, that I'm running with: /etc/malloc.conf@ - S ... if that alters the equation. Is there a change in behaviour if you remove that? Fair enough ;) Without malloc.conf - 'S' it doesn't crash. Meanwhile Mike has sent me some diffs, and it seems he found the culprit in ikev2_msg.c. Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
iked's ikev2 segfaults during connection initiation from strongswan
Hi! I'm trying to setup StrongSwan (oh, the pain...) to iked(8) IPsec. When trying to bring up the connection from the Linux end (ipsec up connection), the iked(8) at the OpenBSD (5.3-stable) endpoint segfaults. I'm trying to use certs and public keys for authentication for this host-to-host ESP tunnel connection. For the life of me I can not get a coredump from the ikev2 program, but attaching gdb to its PID won't give me a bt either because it can't seem to load the symbol table. I've recompiled iked from sources with CFLAGS=-g and without stripping, but still, no luck. The network looks like this: [ Linux StrongSwan ] -- [ NAT gw remote_ip ]O--Internetz--O[ firefly_ip ] | | `== IPsec IKEv2 ==' Here is the output of iked -dvv from the start until the sig11. I'm sorry about the anonimization, if it confuses the reader I'll gladly elaborate. # /sbin/iked -dvv firefly_ip = firefly_ip remote_ip = remote_ip /etc/iked.conf: loaded 1 configuration rules ca_reload: loaded ca file ecentrum_cacert.pem ca_reload: /O=eCentrum/OU=eCentrum Root CA/emailAddress=leva [at] ecentrum.hu/L=Szekesfehervar/ST=Fejer/C=HU/CN=... ca_reload: loaded 1 ca certificate ca_reload: loaded cert file ipsec_firefly_cert.pem ca_validate_cert: /C=HU/ST=Fejer/O=eCentrum/OU=IPsec IKEv2/CN=firefly_host/subjectAltName=firefly_ip ok config_getpolicy: received policy ikev2 test-ikev2 passive esp inet from firefly_ip to remote_ip local firefly_ip peer remote_ip ikesa enc aes-256,aes-192,aes-128,3des prf hmac-sha2-256,hmac-sha1,hmac-md5 auth hmac-sha2-256,hmac-sha1,hmac-md5 group modp2048-256,modp2048,modp1536,modp1024 childsa enc aes-256,aes-192,aes-128 auth hmac-sha2-256,hmac-sha1 lifetime 10800 bytes 536870912 rsa config_getpfkey: received pfkey fd 4 config_getcompile: compilation done config_getsocket: received socket fd 11 config_getsocket: received socket fd 12 ikev2_dispatch_cert: updated local CERTREQ signatures length 20 config_getsocket: received socket fd 14 config_getsocket: received socket fd 20 ikev2_recv: INFORMATIONAL from initiator remote_ip:4761 to firefly_ip:4500 policy 'test-ikev2' id 2, 76 bytes ikev2_recv: ispi 0x0943538bae4b0ba0 rspi 0xea2c1a40848ed222 ikev2_recv: IKE_SA_INIT from initiator remote_ip:443 to firefly_ip:500 policy 'test-ikev2' id 0, 660 bytes ikev2_recv: ispi 0x12412ae4e06726b8 rspi 0x ikev2_policy2id: srcid FQDN/firefly_host length 23 ikev2_pld_parse: header ispi 0x12412ae4e06726b8 rspi 0x nextpayload SA version 0x20 exchange IKE_SA_INIT flags 0x08 msgid 0 length 660 response 0 ikev2_pld_payloads: payload SA nextpayload KE critical 0x00 length 276 ikev2_pld_sa: more 2 reserved 0 length 44 proposal #1 protoid IKE spisize 0 xforms 4 spi 0 ikev2_pld_xform: more 3 reserved 0 length 12 type ENCR id AES_CBC ikev2_pld_attr: attribute type KEY_LENGTH length 128 total 4 ikev2_pld_xform: more 3 reserved 0 length 8 type INTEGR id HMAC_SHA1_96 ikev2_pld_xform: more 3 reserved 0 length 8 type PRF id HMAC_SHA1 ikev2_pld_xform: more 0 reserved 0 length 8 type DH id MODP_2048 ikev2_pld_payloads: payload KE nextpayload NONCE critical 0x00 length 264 ikev2_pld_ke: dh group MODP_2048 reserved 0 ikev2_pld_payloads: payload NONCE nextpayload NOTIFY critical 0x00 length 36 ikev2_pld_payloads: payload NOTIFY nextpayload NOTIFY critical 0x00 length 28 ikev2_pld_notify: protoid NONE spisize 0 type NAT_DETECTION_SOURCE_IP ikev2_nat_detection: peer source 0x12412ae4e06726b8 0x remote_ip:443 ikev2_pld_notify: NAT_DETECTION_SOURCE_IP detected NAT, enabling UDP encapsulation ikev2_pld_payloads: payload NOTIFY nextpayload NONE critical 0x00 length 28 ikev2_pld_notify: protoid NONE spisize 0 type NAT_DETECTION_DESTINATION_IP ikev2_nat_detection: peer destination 0x12412ae4e06726b8 0x firefly_ip:500 sa_state: INIT - SA_INIT ikev2_sa_negotiate: score 16 sa_stateok: SA_INIT flags 0x00, require 0x00 sa_stateflags: 0x00 - 0x08 sa (required 0x00 ) ikev2_sa_keys: SKEYSEED with 20 bytes ikev2_sa_keys: S with 80 bytes ikev2_prfplus: T1 with 20 bytes ikev2_prfplus: T2 with 20 bytes ikev2_prfplus: T3 with 20 bytes ikev2_prfplus: T4 with 20 bytes ikev2_prfplus: T5 with 20 bytes ikev2_prfplus: T6 with 20 bytes ikev2_prfplus: T7 with 20 bytes ikev2_prfplus: Tn with 140 bytes ikev2_sa_keys: SK_d with 20 bytes ikev2_sa_keys: SK_ai with 20 bytes ikev2_sa_keys: SK_ar with 20 bytes ikev2_sa_keys: SK_ei with 16 bytes ikev2_sa_keys: SK_er with 16 bytes ikev2_sa_keys: SK_pi with 20 bytes ikev2_sa_keys: SK_pr with 20 bytes ikev2_add_proposals: length 44 ikev2_next_payload: length 48 nextpayload KE ikev2_next_payload: length 264 nextpayload NONCE ikev2_next_payload: length 36 nextpayload NOTIFY ikev2_nat_detection: local source 0x12412ae4e06726b8 0xe5db467165bf35cb firefly_ip:500 ikev2_next_payload: length 28 nextpayload NOTIFY ikev2_nat_detection: local
Re: iked's ikev2 segfaults during connection initiation from strongswan
On sze, szept 25, 2013 at 14:57:13 +0200, Mike Belopuhov wrote: On 25 September 2013 14:41, LEVAI Daniel l...@ecentrum.hu wrote: Hi! I'm trying to setup StrongSwan (oh, the pain...) to iked(8) IPsec. When trying to bring up the connection from the Linux end (ipsec up connection), the iked(8) at the OpenBSD (5.3-stable) endpoint segfaults. I'm trying to use certs and public keys for authentication for this host-to-host ESP tunnel connection. For the life of me I can not get a coredump from the ikev2 program, but attaching gdb to its PID won't give me a bt either because it can't seem to load the symbol table. I've recompiled iked from sources with CFLAGS=-g and without stripping, but still, no luck. use CFLAGS=-g -DDEBUG to disable chroot and generate a core dump. Thanks! Here is gdb's output: # gdb /sbin/iked iked.core GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-unknown-openbsd5.3... Core was generated by `iked'. Program terminated with signal 11, Segmentation fault. #0 0x1c01726b in ikev2_msg_send (env=0x86e6b000, msg=0xcfbeee10) at /usr/src/sbin/iked/ikev2_msg.c:296 296 m-msg_exchange = hdr-ike_exchange; (gdb) list 291 292 if ((m = ikev2_msg_copy(env, msg)) == NULL) { 293 log_debug(%s: failed to copy a message, __func__); 294 return (-1); 295 } 296 m-msg_exchange = hdr-ike_exchange; 297 298 if (hdr-ike_flags IKEV2_FLAG_RESPONSE) { 299 TAILQ_INSERT_TAIL(sa-sa_responses, m, msg_entry); 300 timer_initialize(env, m-msg_timer, (gdb) bt #0 0x1c01726b in ikev2_msg_send (env=0x86e6b000, msg=0xcfbeee10) at /usr/src/sbin/iked/ikev2_msg.c:296 #1 0x1c01836b in ikev2_msg_send_encrypt (env=0x86e6b000, sa=0x89ed, ep=0xcfbef134, exchange=35 '#', firstpayload=36 '$', response=1) at /usr/src/sbin/iked/ikev2_msg.c:625 #2 0x1c0106c2 in ikev2_resp_ike_auth (env=0x86e6b000, sa=0x89ed) at /usr/src/sbin/iked/ikev2.c:1993 #3 0x1c00bdef in ikev2_ike_auth (env=0x86e6b000, sa=0x89ed, msg=0x0) at /usr/src/sbin/iked/ikev2.c:566 #4 0x1c00ab98 in ikev2_dispatch_cert (fd=32, p=0x3c03e558, imsg=0xcfbef644) at /usr/src/sbin/iked/ikev2.c:234 #5 0x1c0282b9 in proc_dispatch (fd=32, event=2, arg=0x3c03e558) at /usr/src/sbin/iked/proc.c:324 #6 0x1c032885 in event_base_loop (base=0x7cfd0c00, flags=0) at /usr/src/lib/libevent/event.c:402 #7 0x1c032b2a in event_loop (flags=0) at /usr/src/lib/libevent/event.c:478 #8 0x1c032b42 in event_dispatch () at /usr/src/lib/libevent/event.c:416 #9 0x1c028180 in proc_run (ps=0x86e6b4e0, p=0x3c03e47c, procs=0x3c03e520, nproc=3, init=0, arg=0x0) at /usr/src/sbin/iked/proc.c:276 #10 0x1c00a69c in ikev2 (ps=0x86e6b4e0, p=0x3c03e47c) at /usr/src/sbin/iked/ikev2.c:114 #11 0x1c027976 in proc_init (ps=0x86e6b4e0, p=0x3c03e47c, nproc=3) at /usr/src/sbin/iked/proc.c:61 #12 0x1c00955a in main (argc=2, argv=0xcfbefc18) at /usr/src/sbin/iked/iked.c:157 (gdb) bt full #0 0x1c01726b in ikev2_msg_send (env=0x86e6b000, msg=0xcfbeee10) at /usr/src/sbin/iked/ikev2_msg.c:296 sa = (struct iked_sa *) 0x89ed buf = (struct ibuf *) 0x7eda8500 natt = 0 isnatt = 1 hdr = (struct ike_header *) 0x818dc000 m = (struct iked_message *) 0x87268c00 __func__ = ikev2_msg_send #1 0x1c01836b in ikev2_msg_send_encrypt (env=0x86e6b000, sa=0x89ed, ep=0xcfbef134, exchange=35 '#', firstpayload=36 '$', response=1) at /usr/src/sbin/iked/ikev2_msg.c:625 resp = {msg_data = 0x7eda8500, msg_offset = 4, msg_local = {ss_len = 16 '\020', ss_family = 2 '\002', __ss_pad1 = \021\224N\203WÃ, __ss_pad2 = 0, __ss_pad3 = '\0' repeats 239 times}, msg_locallen = 16, msg_peer = {ss_len = 16 '\020', ss_family = 2 '\002', __ss_pad1 = \022\231[Rj\202, __ss_pad2 = 0, __ss_pad3 = '\0' repeats 239 times}, msg_peerlen = 16, msg_sock = 0x0, msg_fd = 12, msg_response = 1, msg_natt = 0, msg_error = 0, msg_e = 0, msg_parent = 0xcfbeee10, msg_policy = 0x0, msg_sa = 0x89ed, msg_msgid = 1, msg_exchange = 0 '\0', msg_proposals = {tqh_first = 0x0, tqh_last = 0xcfbef050}, msg_rekey = {spi = 0, spi_size = 0 '\0', spi_protoid = 0 '\0'}, msg_nonce = 0x0, msg_ke = 0x0, msg_auth = {id_type = 0 '\0', id_offset = 0 '\0', id_buf = 0x0}, msg_id = {id_type = 0 '\0', id_offset = 0 '\0', id_buf = 0x0}, msg_cert = {id_type = 0 '\0', id_offset = 0 '\0', id_buf = 0x0}, msg_prop = 0x0, msg_attrlength = 0, msg_timer = {tmr_ev = {ev_next = {tqe_next = 0x0, tqe_prev = 0x0}, ev_active_next = {tqe_next = 0x0, tqe_prev = 0x0}, ev_signal_next = {tqe_next = 0x0, tqe_prev
Re: bug in ksh tab complete
On h, jún 03, 2013 at 11:05:11 -0400, Ted Unangst wrote: [...] Didn't send the diff; I think because of the general lack of interest in ksh patches in the past. I don't think that's always true, sometimes the interested people aren't interested that day, or in that patch. But as a project, we strongly encourage people to continue using ksh instead of resorting to bash, so keeping ksh working and usable is important. In general, I think no feedback is closer to good feedback than bad feedback. Undertood, attitude adjusted :) Daniel
Re: bug in ksh tab complete
On v, jún 02, 2013 at 20:02:17 -0400, Ted Unangst wrote: (1) I'm in src/usr.sbin/pkg_add. I type vi pod/tab. ksh prints some completions for me: athens:~/src/usr.sbin/pkg_add vi pod/ CVS/ OpenBSD::PackingElement.pod ... (2) I type Opentab. ksh completes a little more for me: athens:~/src/usr.sbin/pkg_add vi pod/OpenBSD:: [...] If ksh is going to treat : as magic, then it needs to escape it when autocompleting. (step 2 above) I've fixed it with this: --- edit.c.orig 2012-10-31 19:21:31.742319303 +0100 +++ edit.c 2012-10-31 19:21:44.031181937 +0100 @@ -809,7 +809,7 @@ int rval = 0; for (add = 0, wlen = len; wlen - add 0; add++) { - if (strchr(\#$'()*;=?[\\]`{|}, s[add]) || + if (strchr(\#$'()*:;=?[\\]`{|}, s[add]) || strchr(ifs, s[add])) { if (putbuf_func(s, add) != 0) { rval = -1; Didn't send the diff; I think because of the general lack of interest in ksh patches in the past. Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: ftp-proxy(8) and ftpd(8) on the same host
On cs, márc 28, 2013 at 08:11:07 +0100, Camiel Dobbelaar wrote: It does not work on the same server. You might try rules with user _ftp in pf.conf. On cs, márc 28, 2013 at 10:14:15 +, Alexey E. Suslikov wrote: Camiel Dobbelaar cd at sentia.nl writes: It does not work on the same server. There was an attempt to handle such a things http://article.gmane.org/gmane.os.openbsd.tech/23343/ Thanks guys, I went with the username based pf rule, it was a good call, I didn't remember this pf parameter, but it fit well with this setup. I only have to keep the username list up-to-date, which is not much of a burden, really. Thanks again, Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
ftp-proxy(8) and ftpd(8) on the same host
Hi! On 5.2-stable, I'm trying to setup the stock ftpd(8) on a machine where the incoming traffic is not allowed arbitrarily above net.inet.ip.porthifirst, and the clients wish to use passive mode data connections. I thought I could use ftp-proxy(8) to append a pass in rule to the ftp-proxy anchor every time the client issues a PASV command, allowing the passive inbound data connection from the client to the server. I'm running ftp-proxy(8) and ftpd(8) like this: /usr/sbin/ftp-proxy -D 7 -b server_ip -p custom_ftp_port -R 127.0.0.1 -P 21 /usr/libexec/ftpd -D -A -ll -4 -n -W -u 027 -d [-P] # I've tried with and without -P ... and I have this pass in rule in pf.conf for the proxy: pass in on $ext_if inet proto tcp from any to $server_ip port custom_ftp_port Although ftpd(8) listens on *.21, pf(4) won't allow connections to port 21, only custom_ftp_port, which is what I wanted. The clients can connect and log-in alright, but issuing a directory listing and trying to connect using passive mode fails. So it happens, that the client's ftp client retries continually to build up the data connection, so I can follow it in the logs and `pfctl -a ftp-proxy/* -sr`. The rules are changing in the anchor, so ftp-proxy updates it, and this is what I see many times again and again in /var/log/ftpd: ftpd[21372]: command: PASV ftpd[21372]: --- 227 Entering Passive Mode (127,0,0,1,245,74) ftpd[21372]: command: LIST ftpd[21372]: --- 425 Can't build data connection: illegal port number ftpd[21372]: command: PASV ftpd[21372]: --- 227 Entering Passive Mode (127,0,0,1,216,51) ftpd[21372]: command: LIST ftpd[21372]: --- 425 Can't build data connection: illegal port number ftpd[21372]: command: PASV ftpd[21372]: --- 227 Entering Passive Mode (127,0,0,1,232,17) ftpd[21372]: command: LIST ftpd[21372]: --- 425 Can't build data connection: illegal port number ftpd[21372]: command: PASV ftpd[21372]: --- 227 Entering Passive Mode (127,0,0,1,217,88) ftpd[21372]: command: LIST ftpd[21372]: --- 425 Can't build data connection: illegal port number ftpd[21372]: command: PASV ftpd[21372]: --- 227 Entering Passive Mode (127,0,0,1,226,231) ftpd[21372]: command: LIST ftpd[21372]: --- 425 Can't build data connection: illegal port number AFAIK the passive ports that the client negotiates with ftp-proxy differ from the ones that ftp-proxy uses with the ftp server, so there can not be collisions. But evidently I'm missing something here, or I've just stared at the ip addresses and port numbers too long. Any insight would be very much appreciated, thanks, Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: CVS: cvs.openbsd.org: src - kms
On h, márc 18, 2013 at 06:36:52 -0600, Jonathan Gray wrote: [...] Log message: Significantly increase the wordlist for ddb hangman, and update our device independent DRM code and the Intel DRM code to be mostly in sync with Linux 3.8.3. Among other things this brings support for kernel modesetting and enables use of the rings on gen6+ Intel hardware. Based on some earlier work from matthieu@ with some hints from FreeBSD and with lots of help from kettenis@ (including a beautiful accelerated wscons framebuffer console!) Thanks to M:Tier and the OpenBSD Foundation for sponsoring this work. Wow guys, hats off, thanks for the work and thanks for the sponsors for making this available for us. Daniel
Re: tmux segfault in 5.2 with join-pane
On v, nov 18, 2012 at 08:53:26 -0200, Rafael Ferreira Neves wrote: Hi, This problem seems to be solved with the nicm@ commit: http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/tmux/names.c.diff?r1=1.16;r2=1.17;f=h. I hope it helps. [...] Ah, thanks, I've missed that. I just wonder if it is worth giving an OPENBSD_5_2 tag, giving that it is a fairly commonly used feature. Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: tmux segfault in 5.2 with join-pane
On v, nov 18, 2012 at 10:41:43 -0200, Rafael Ferreira Neves wrote: You should contact Nicholas Marriott about this. If possible, verify if that commit (full message and files involved in http://marc.info/?l=openbsd-cvsm=134554327203377w=2) actually solves you problem. Yes it does; I thought that thanking for the pointer to the patch implied this :) You could checkout the OPENBSD_5_2 tree, apply that commit changes, and verify if the problem persists. If you get rid of the problem, your message with an attached patch against OPENBSD_5_2 should save him some time and effort. I've already stated that I've recompiled the 5.2 tmux source (not sure what do mean under apply that commit changes, but of course, it was not _BASE), so it must have been with an OPENBSD_5_2 tree. Furthermore, the diff in question applies to 5.2. In the case problem persists, you'll have to find on the another commits. What I can say is that in -current that crash doesn't occur. Yes I know that, that's why I reported this against 5.2. Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
tmux segfault in 5.2 with join-pane
Hi! I've just noticed this crash with tmux(1): Just start tmux(1), open a second window, enter command mode, type 'join-pane -s 1' from window no. 0 - crash. I've recompiled and installed tmux and libevent with symbols and without stripping, and I could get this backtrace from the coredump (hope it's useful): GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-unknown-openbsd5.2... Core was generated by `tmux'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/libutil.so.11.3...done. Loaded symbols for /usr/lib/libutil.so.11.3 Reading symbols from /usr/lib/libcurses.so.12.1...done. Loaded symbols for /usr/lib/libcurses.so.12.1 Reading symbols from /usr/lib/libevent.so.3.0...done. Loaded symbols for /usr/lib/libevent.so.3.0 Reading symbols from /usr/lib/libc.so.65.0...done. Loaded symbols for /usr/lib/libc.so.65.0 Reading symbols from /usr/libexec/ld.so...done. Loaded symbols for /usr/libexec/ld.so #0 0x1c01d676 in window_name_callback (fd=-1, events=1, data=0x86a53000) at /usr/src/usr.bin/tmux/names.c:60 60 if (w-active-screen != w-active-base) (gdb) bt full #0 0x1c01d676 in window_name_callback (fd=-1, events=1, data=0x86a53000) at /usr/src/usr.bin/tmux/names.c:60 name = Variable name is not available. (gdb) frame #0 0x1c01d676 in window_name_callback (fd=-1, events=1, data=0x86a53000) at /usr/src/usr.bin/tmux/names.c:60 60 if (w-active-screen != w-active-base) (gdb) list 55 event_del(w-name_timer); 56 return; 57 } 58 queue_window_name(w); 59 60 if (w-active-screen != w-active-base) 61 name = NULL; 62 else 63 name = get_proc_name(w-active-fd, w-active-tty); 64 if (name == NULL) (gdb) bt #0 0x1c01d676 in window_name_callback (fd=-1, events=1, data=0x86a53000) at /usr/src/usr.bin/tmux/names.c:60 #1 0x0c7d30a2 in event_base_loop (base=0x804bd000, flags=1) at /usr/src/lib/libevent/event.c:402 #2 0x0c7d3359 in event_loop (flags=1) at /usr/src/lib/libevent/event.c:478 #3 0x1c026274 in server_loop () at /usr/src/usr.bin/tmux/server.c:211 #4 0x1c0267ec in server_start (lockfd=4, lockfile=0x80f14aa0 S) at /usr/src/usr.bin/tmux/server.c:202 #5 0x1c004640 in client_connect (path=0x3c0223c0 /tmp/tmux-1000/default, start_server=1) at /usr/src/usr.bin/tmux/client.c:124 #6 0x1c004731 in client_main (argc=0, argv=0xcfbdb700, flags=1) at /usr/src/usr.bin/tmux/client.c:220 #7 0x1c02cb7e in main (argc=0, argv=0xcfbdb6fc) at /usr/src/usr.bin/tmux/tmux.c:396 (gdb) Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
figuring out the current xkb layout
Hi! Alexander's mail made me remember that I was wondering about this for a while. I'm setting up my keyboard layout with `setxkbmap -layout 'us,hu'` so I can comfortably switch between layouts with alt+shift. But I can't seem to figure out what is the current layout. setxkbmap -query only shows 'us,hu', and no amount of -v would display the current, which could be shown in certain places like tmux's or my wm's status bar. Is there a way to do this before I punch in some characters to test it? Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: figuring out the current xkb layout
On k, okt 30, 2012 at 12:09:05 +0100, Jérémie Courrèges-Anglas wrote: [...] I don't have a direct answer to your question, but I use setxkbmap ... -option 'grp:shift_toggle,grp_led:scroll'; this allows me to switch between layouts pressing both shift keys, the scroll lock tells me which layout I'm using. Hack taken from kbd(4). Neat trick, thanks! :) Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: figuring out the current xkb layout
On k, okt 30, 2012 at 16:07:03 +0400, Alexander Polakov wrote: * LEVAI Daniel l...@ecentrum.hu [121030 15:30]: Hi! Alexander's mail made me remember that I was wondering about this for a while. I'm setting up my keyboard layout with `setxkbmap -layout 'us,hu'` so I can comfortably switch between layouts with alt+shift. But I can't seem to figure out what is the current layout. setxkbmap -query only shows 'us,hu', and no amount of -v would display the current, which could be shown in certain places like tmux's or my wm's status bar. Is there a way to do this before I punch in some characters to test it? I have written a small utility to do just that: http://plhk.ru/static/skb/skb-0.4.tar.gz Cool, thanks! Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: boot panic with qemu, -current guest on a Linux host
Chris Cappuccio, 2012-08-31 21:44:32: somehow, your computer thinks C3_CPUID_HAS_RNG is valid, which would mean you are \ running the via_nano_setup routine, which means your cpu model is VIA Nano \ processor, which is all just wrong. wtf? OpenBSD 5.2-current (GENERIC.MP) #6: Mon Aug 27 20:40:45 MDT 2012 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: AMD Phenom(tm) II X4 B50 Processor (AuthenticAMD 686-class, 512KB L2 cac he) 3.11 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF LUSH,MMX,FXSR,SSE,SSE2,NXE,MMXX,FFXSR,3DNOW2,3DNOW,SSE3,CX16,POPCNT,LAHF,CMPLEG, SVM,AMCR8,ABM,SSE4A,MASSE,3DNOWP real mem = 536395776 (511MB) avail mem = 516698112 (492MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 06/23/99, BIOS32 rev. 0 @ 0xff046, SMBIOS rev. 2.4 @ 0xfd900 (11 entries) bios0: vendor Bochs version Bochs date 01/01/2007 bios0: Bochs Bochs acpi0 at bios0: rev 0 acpi0: sleep states S3 S4 S5 acpi0: tables DSDT FACP SSDT APIC HPET acpi0: wakeup devices acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat acpihpet0 at acpi0: 1 Hz acpiprt0 at acpi0: bus 0 (PCI0) mpbios0 at bios0: Intel MP Specification 1.4 cpu0 at mainbus0: apid 0 (boot processor) kernel: protection fault trap, code=0 Stopped at viac3_rnd+0x9f: rdmsr viac3_rnd(d0b025a0,d09e3268,d08f384b,3,4) at viac3_rnd+0x9f amd64_errata(d0b025a0,d0b025a0,d0f8,d078eb77,d0b025a0) at amd64_errata+0xb9 cpu_init(d0b025a0,0,2000,0,d0bbbc04) at cpu_init+0x19 cpu_attach(d164bfc0,d155e400,d0bbbc4c,d03ee29b,d078de30) at cpu_attach+0x297 config_attach(d164bfc0,d09d45c0,d0bbbc4c,d078cb20,800,0,0,d08f3129,0,1,d09f21c0 ,100f42,78bfbff) at config_attach+0x1bb mpbios_cpu(f51a5a9c,d16737c0,2,1,2) at mpbios_cpu+0x85 mpbios_scan(d16737c0,d16737c0,d0bbbd60,d03ee29b,0) at mpbios_scan+0x2dc config_attach(d164bf80,d09d45a0,d0bbbd60,d0789d30,b) at config_attach+0x1bb biosattach(d164bfc0,d164bf80,d0bbbe58,d03ee29b,0) at biosattach+0x517 config_attach(d164bfc0,d09d4560,d0bbbe58,d05afb60,3000) at config_attach+0x 1bb ddb{0} The host has an AMD Phenom(tm) II X4 B50 Processor. The guest OpenBSD tries to boot a -current bsd.mp. This works with other cpu types specified (like kvm32, or qemu32...), I just wanted to try out if the guest would be faster with the 'phenom' or 'host' cpu type. Since it works with -stable (5.1), I'm attaching the -stable dmesg, maybe it tells something to someone :) Is there a commit, around which I should look, and try out reverting some things that might pinpoint the change since -stable that triggers this problem? OpenBSD 5.1 (GENERIC.MP) #188: Sun Feb 12 09:55:11 MST 2012 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: AMD Phenom(tm) II X4 B50 Processor (AuthenticAMD 686-class, 512KB L2 cache) 3.11 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,NXE,MMXX,FFXSR,3DNOW2,3DNOW,SSE3,CX16,POPCNT,LAHF,SVM,ABM,SSE4A real mem = 536399872 (511MB) avail mem = 517509120 (493MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 06/23/99, BIOS32 rev. 0 @ 0xff046, SMBIOS rev. 2.4 @ 0xfd8c0 (11 entries) bios0: vendor Bochs version Bochs date 01/01/2011 bios0: Bochs Bochs acpi0 at bios0: rev 0 acpi0: sleep states S3 S4 S5 acpi0: tables DSDT FACP SSDT APIC HPET SSDT acpi0: wakeup devices acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat acpihpet0 at acpi0: 1 Hz acpiprt0 at acpi0: bus 0 (PCI0) mpbios0 at bios0: Intel MP Specification 1.4 cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 1009MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Phenom(tm) II X4 B50 Processor (AuthenticAMD 686-class, 512KB L2 cache) 3.14 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,NXE,MMXX,FFXSR,3DNOW2,3DNOW,SSE3,CX16,POPCNT,LAHF,SVM,ABM,SSE4A mpbios0: bus 0 is type PCI mpbios0: bus 1 is type ISA ioapic0 at mainbus0: apid 0 pa 0xfec0, version 11, 24 pins bios0: ROM list: 0xc/0x8c00 0xc9000/0xa00 0xca000/0x2400 0xee800/0x1800! vmt0 at mainbus0 vmware: open failed, eax=564d5868, ecx=001e, edx=5658 vmt0: failed to open backdoor RPC channel (TCLO protocol) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82441FX rev 0x02 pcib0 at pci0 dev 1 function 0 Intel 82371SB ISA rev 0x00 pciide0 at pci0 dev 1 function 1 Intel 82371SB IDE rev 0x00: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: QEMU HARDDISK wd0: 16-sector PIO, LBA48, 15360MB, 31457280 sectors wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: QEMU,
Re: boot panic with qemu, -current guest on a Linux host
On szo, szept 15, 2012 at 22:49:42 +0200, LEVAI Daniel wrote: [...] OpenBSD 5.2-current (GENERIC.MP) #6: Mon Aug 27 20:40:45 MDT 2012 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: AMD Phenom(tm) II X4 B50 Processor (AuthenticAMD 686-class, 512KB L2 cac he) 3.11 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF LUSH,MMX,FXSR,SSE,SSE2,NXE,MMXX,FFXSR,3DNOW2,3DNOW,SSE3,CX16,POPCNT,LAHF,CMPLEG, SVM,AMCR8,ABM,SSE4A,MASSE,3DNOWP real mem = 536395776 (511MB) avail mem = 516698112 (492MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 06/23/99, BIOS32 rev. 0 @ 0xff046, SMBIOS rev. 2.4 @ 0xfd900 (11 entries) bios0: vendor Bochs version Bochs date 01/01/2007 bios0: Bochs Bochs acpi0 at bios0: rev 0 acpi0: sleep states S3 S4 S5 acpi0: tables DSDT FACP SSDT APIC HPET acpi0: wakeup devices acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat acpihpet0 at acpi0: 1 Hz acpiprt0 at acpi0: bus 0 (PCI0) mpbios0 at bios0: Intel MP Specification 1.4 cpu0 at mainbus0: apid 0 (boot processor) kernel: protection fault trap, code=0 Stopped at viac3_rnd+0x9f: rdmsr viac3_rnd(d0b025a0,d09e3268,d08f384b,3,4) at viac3_rnd+0x9f amd64_errata(d0b025a0,d0b025a0,d0f8,d078eb77,d0b025a0) at amd64_errata+0xb9 cpu_init(d0b025a0,0,2000,0,d0bbbc04) at cpu_init+0x19 cpu_attach(d164bfc0,d155e400,d0bbbc4c,d03ee29b,d078de30) at cpu_attach+0x297 config_attach(d164bfc0,d09d45c0,d0bbbc4c,d078cb20,800,0,0,d08f3129,0,1,d09f21c0 ,100f42,78bfbff) at config_attach+0x1bb mpbios_cpu(f51a5a9c,d16737c0,2,1,2) at mpbios_cpu+0x85 mpbios_scan(d16737c0,d16737c0,d0bbbd60,d03ee29b,0) at mpbios_scan+0x2dc config_attach(d164bf80,d09d45a0,d0bbbd60,d0789d30,b) at config_attach+0x1bb biosattach(d164bfc0,d164bf80,d0bbbe58,d03ee29b,0) at biosattach+0x517 config_attach(d164bfc0,d09d4560,d0bbbe58,d05afb60,3000) at config_attach+0x 1bb ddb{0} The host has an AMD Phenom(tm) II X4 B50 Processor. [...] Well, who knew; even a broken watch is right two times a day :) I've started to rummage through the openbsd-cvs mails, and searched for a similar commit, and after 'viac3_rnd' didn't yield much result, the next search, 'amd64_errata' was fruitful. There were two commits back in March by jsg@, namely to sys/arch/i386/i386/amd64errata.c(r1.3) and sys/arch/i386/include/specialreg.h(r1.41) about some workaround for AMD. Reverting these two little patches solved this issue on the i386 guest: --- src/sys/arch/i386/include/specialreg.h 2011/11/03 00:53:44 1.40 +++ src/sys/arch/i386/include/specialreg.h 2012/03/27 06:59:46 1.41 @@ -1,4 +1,4 @@ -/* $OpenBSD: specialreg.h,v 1.40 2011/11/02 23:53:44 jsg Exp $ */ +/* $OpenBSD: specialreg.h,v 1.41 2012/03/27 05:59:46 jsg Exp $ */ /* $NetBSD: specialreg.h,v 1.7 1994/10/27 04:16:26 cgd Exp $ */ /*- @@ -305,6 +305,9 @@ #define MSR_GSBASE 0xc101 /* 64bit offset for gs: */ #define MSR_KERNELGSBASE 0xc102/* storage for swapgs ins */ #define MSR_INT_PEN_MSG0xc0010055 /* Interrupt pending message */ + +#define MSR_DE_CFG 0xc0011029 /* Decode Configuration */ +#defineDE_CFG_721 0x0001 /* errata 721 */ #define IPM_C1E_CMP_HLT0x1000 #define IPM_SMI_CMP_HLT0x0800 --- src/sys/arch/i386/i386/amd64errata.c2008/06/26 06:42:10 1.2 +++ src/sys/arch/i386/i386/amd64errata.c2012/03/27 06:59:46 1.3 @@ -1,4 +1,4 @@ -/* $OpenBSD: amd64errata.c,v 1.2 2008/06/26 05:42:10 ray Exp $ */ +/* $OpenBSD: amd64errata.c,v 1.3 2012/03/27 05:59:46 jsg Exp $ */ /* $NetBSD: errata.c,v 1.6 2007/02/05 21:05:45 ad Exp $*/ /*- @@ -64,6 +64,8 @@ typedef struct errata { typedef enum cpurev { BH_E4, CH_CG, CH_D0, DH_CG, DH_D0, DH_E3, DH_E6, JH_E1, JH_E6, SH_B0, SH_B3, SH_C0, SH_CG, SH_D0, SH_E4, SH_E5, + DR_BA, DR_B2, DR_B3, RB_C2, RB_C3, BL_C2, BL_C3, DA_C2, + DA_C3, HY_D0, HY_D1, HY_D1_G34R1, PH_E0, LN_B0, OINK } cpurev_t; @@ -78,6 +80,11 @@ static const u_int cpurevs[] = { SH_CG, 0xf4a, SH_CG, 0xf5a, SH_CG, 0xf7a, SH_D0, 0x0010f40, SH_D0, 0x0010f50, SH_D0, 0x0010f70, SH_E4, 0x0020f51, SH_E4, 0x0020f71, SH_E5, 0x0020f42, + DR_BA, 0x0100f2a, DR_B2, 0x0100f22, DR_B3, 0x0100f23, + RB_C2, 0x0100f42, RB_C3, 0x0100f43, BL_C2, 0x0100f52, + BL_C3, 0x0100f53, DA_C2, 0x0100f62, DA_C3, 0x0100f63, + HY_D0, 0x0100f80, HY_D1, 0x0100f81, HY_D1_G34R1, 0x0100f91, + PH_E0, 0x0100fa0, LN_B0, 0x0300f10, OINK }; @@ -117,6 +124,11 @@ static const uint8_t amd64_errata_set8[] = { SH_D0, SH_D0, SH_D0, SH_E4, SH_E4, SH_E5, OINK }; +static const uint8_t
Re: boot panic with qemu, -current guest on a Linux host
On p, aug 31, 2012 at 14:44:32 -0700, Chris Cappuccio wrote: somehow, your computer thinks C3_CPUID_HAS_RNG is valid, which would mean you are running the via_nano_setup routine, which means your cpu model is VIA Nano processor, which is all just wrong. wtf? Yes, this is definitely not a VIA cpu. Passing phenom or host to qemu's -cpu option produces the same result (as below). Also, it doesn't matter if I use bsd or bsd.mp. LEVAI Daniel [l...@ecentrum.hu] wrote: [...] OpenBSD 5.2-current (GENERIC.MP) #6: Mon Aug 27 20:40:45 MDT 2012 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: AMD Phenom(tm) II X4 B50 Processor (AuthenticAMD 686-class, 512KB L2 cac he) 3.11 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF LUSH,MMX,FXSR,SSE,SSE2,NXE,MMXX,FFXSR,3DNOW2,3DNOW,SSE3,CX16,POPCNT,LAHF,CMPLEG, SVM,AMCR8,ABM,SSE4A,MASSE,3DNOWP [...] viac3_rnd(d0b025a0,d09e3268,d08f384b,3,4) at viac3_rnd+0x9f amd64_errata(d0b025a0,d0b025a0,d0f8,d078eb77,d0b025a0) at amd64_errata+0xb9 cpu_init(d0b025a0,0,2000,0,d0bbbc04) at cpu_init+0x19 cpu_attach(d164bfc0,d155e400,d0bbbc4c,d03ee29b,d078de30) at cpu_attach+0x297 config_attach(d164bfc0,d09d45c0,d0bbbc4c,d078cb20,800,0,0,d08f3129,0,1,d09f21c0 ,100f42,78bfbff) at config_attach+0x1bb mpbios_cpu(f51a5a9c,d16737c0,2,1,2) at mpbios_cpu+0x85 mpbios_scan(d16737c0,d16737c0,d0bbbd60,d03ee29b,0) at mpbios_scan+0x2dc config_attach(d164bf80,d09d45a0,d0bbbd60,d0789d30,b) at config_attach+0x1bb biosattach(d164bfc0,d164bf80,d0bbbe58,d03ee29b,0) at biosattach+0x517 config_attach(d164bfc0,d09d4560,d0bbbe58,d05afb60,3000) at config_attach+0x 1bb ddb{0} The host has an AMD Phenom(tm) II X4 B50 Processor. [...] Well, running trace in ddb gives me a few more lines, but I doubt it counts: ... biosattach(d164bfc0,d164bf80,d0bbbe58,d03ee29b,0) at biosattach+0x517 config_attach(d164bfc0,d09d4560,d0bbbe58,d05afb60,3000) at config_attach+0x 1bb mainbus_attach(0,d164bfc0,0,d09d2020,0) at mainbus_attach+0x4e config_attach(0,d09d2020,0,0,d0a462c0) at config_attach+0x1bb config_rootfound(d08f25ac,0,0,d03dea51,0) at config_rootfound+0x46 cpu_configure(d0b025a0,1,1000,cff3f000,1) at cpu_configure+0x29 main(d02004cd,d02004d5,0,0,0) at main+0x3fb Should I mess around more in ddb? Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: Ports security updates in 5.1 or 5.2
On cs, aug 30, 2012 at 10:21:35 +0200, Sébastien Marie wrote: On Wed, Aug 29, 2012 at 09:34:22PM +0200, Patrick Lamaiziere wrote: Le Wed, 29 Aug 2012 09:59:46 +0200, Sebastien Marie semarie-open...@latrappe.fr a écrit : Hello, I currently follow STABLE branch for openbsd (and so, for ports too), which is OPENBSD_5_1. But, I saw that the last security updates for ports go to OPENBSD_5_2 and not to OPENBSD_5_1. Any examples ? The probleme may not be present in 5.1. [...] I find freshbsd.org a little misleading, in that it won't list some patches that were in reality tagged with OPENBSD_5_1 in CVS, even so the OPENBSD_5_1 branch was selected as a search criteria on the site; eg.: the php-5.3.13 patch for 5.1. Just watch the ports-changes@ list and/or apply you're favourite filter solution for the mails containing Tag: OPENBSD. Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
boot panic with qemu, -current guest on a Linux host
Hi! I'm just curious if this is something that could get fixed (or maybe danced around): @linux $ qemu-kvm -enable-kvm -cpu host -smp 2 -m 512 \ -hda openbsd-current.img \ -net nic,model=e1000,macaddr=52:54:00:12:34:56 \ -net tap,ifname=tap0,script=no,downscript=no -curses iPXE v1.0.0-591-g7aee315 iPXE (http://ipxe.org) 00:03.0 C900 PCI2.10 PnP PMM+1FFC82A0+1FF882A0 C900 Booting from Hard Disk... Using drive 0, partition 3. Loading... probing: pc0 com0 apm pci mem[637K 510M a20=on] disk: hd0+ OpenBSD/i386 BOOT 3.18 boot booting hd0a:/bsd: 8354720+1102340 [52+376992+363706]=0x9b9ca8 entry point at 0x200120 [ using 741124 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-2012 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 5.2-current (GENERIC.MP) #6: Mon Aug 27 20:40:45 MDT 2012 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: AMD Phenom(tm) II X4 B50 Processor (AuthenticAMD 686-class, 512KB L2 cac he) 3.11 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF LUSH,MMX,FXSR,SSE,SSE2,NXE,MMXX,FFXSR,3DNOW2,3DNOW,SSE3,CX16,POPCNT,LAHF,CMPLEG, SVM,AMCR8,ABM,SSE4A,MASSE,3DNOWP real mem = 536395776 (511MB) avail mem = 516698112 (492MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 06/23/99, BIOS32 rev. 0 @ 0xff046, SMBIOS rev. 2.4 @ 0xfd900 (11 entries) bios0: vendor Bochs version Bochs date 01/01/2007 bios0: Bochs Bochs acpi0 at bios0: rev 0 acpi0: sleep states S3 S4 S5 acpi0: tables DSDT FACP SSDT APIC HPET acpi0: wakeup devices acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat acpihpet0 at acpi0: 1 Hz acpiprt0 at acpi0: bus 0 (PCI0) mpbios0 at bios0: Intel MP Specification 1.4 cpu0 at mainbus0: apid 0 (boot processor) kernel: protection fault trap, code=0 Stopped at viac3_rnd+0x9f: rdmsr viac3_rnd(d0b025a0,d09e3268,d08f384b,3,4) at viac3_rnd+0x9f amd64_errata(d0b025a0,d0b025a0,d0f8,d078eb77,d0b025a0) at amd64_errata+0xb9 cpu_init(d0b025a0,0,2000,0,d0bbbc04) at cpu_init+0x19 cpu_attach(d164bfc0,d155e400,d0bbbc4c,d03ee29b,d078de30) at cpu_attach+0x297 config_attach(d164bfc0,d09d45c0,d0bbbc4c,d078cb20,800,0,0,d08f3129,0,1,d09f21c0 ,100f42,78bfbff) at config_attach+0x1bb mpbios_cpu(f51a5a9c,d16737c0,2,1,2) at mpbios_cpu+0x85 mpbios_scan(d16737c0,d16737c0,d0bbbd60,d03ee29b,0) at mpbios_scan+0x2dc config_attach(d164bf80,d09d45a0,d0bbbd60,d0789d30,b) at config_attach+0x1bb biosattach(d164bfc0,d164bf80,d0bbbe58,d03ee29b,0) at biosattach+0x517 config_attach(d164bfc0,d09d4560,d0bbbe58,d05afb60,3000) at config_attach+0x 1bb ddb{0} The host has an AMD Phenom(tm) II X4 B50 Processor. The guest OpenBSD tries to boot a -current bsd.mp. This works with other cpu types specified (like kvm32, or qemu32...), I just wanted to try out if the guest would be faster with the 'phenom' or 'host' cpu type. Has anyone experimented with this kind of or similar setup? Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: pf 'synproxy state' doesn't work with pppoe
On cs, aug 16, 2012 at 20:43:18 +0100, Kevin Chadwick wrote: pass all flags S/SA pass in on pppoe0 inet proto tcp from src to dst port = flags S/SA synproxy state Originally you posted pass in quick. Keep the quick in there, not for any reason other than I have a quick in my rules. Same with the NIC, I don't have any logical hopes for you. Switched the vge(4) with the em(4) NIC, but the situation is the same; PF's synproxy state won't work on a pppoe0 device. Kevin, may I ask you to describe me the network setup in which you've made synproxy with pppoe work? I'm curious about the NICs and how do they connect to the ISP and/or LAN/NAT etc. Thanks, Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
pf 'synproxy state' doesn't work with pppoe
Hi! I'm using 5.1-stable on two machines with pppoe connections. The pf synproxy state option doesn't work on pppoe interfaces, it just sends back a TCP reset when trying to connect to a port configured with synproxy state. Meanwhile it works on any other interface (eg. the internal LAN interface). This rule works: pass in quick on vge0 inet proto tcp from any to vge0 port synproxy state This rule doesn't work: pass in quick on pppoe0 inet proto tcp from any to pppoe0 port synproxy state I'm testing with simple `nc -l ` listens and `nc dst ` connections. When connecting to the pppoe interface this is happening: Aug 16 12:08:55.383308 client.5451 host.: S 1485898386:1485898386(0) win 16384 mss 1452,nop,nop,sackOK,nop,wscale 3,nop,nop,timestamp 1254725494 0 (DF) Aug 16 12:08:55.383384 host. client.5451: S 639112012:639112012(0) ack 1485898387 win 0 mss 1452 (DF) [tos 0x10] Aug 16 12:08:55.397346 client.5451 host.: . ack 1 win 16384 (DF) Aug 16 12:08:55.397368 host. client.5451: R 3655855284:3655855284(0) ack 752585916 win 0 (DF) [tos 0x10] When connecting to a real interface (in this case vge0) eg. on a LAN, synproxy state works. Now I don't know since when this isn't working because I'm only using pppoe since 5.1. Any help would be appreciated. Thanks, Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: pf 'synproxy state' doesn't work with pppoe
On cs, aug 16, 2012 at 12:19:06 +0200, LEVAI Daniel wrote: [...] Forgot the dmesg. If it matters. OpenBSD 5.1-stable (GENERIC) #0: Tue Aug 7 02:00:34 CEST 2012 root@.:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) 4 CPU 2.40GHz (GenuineIntel 686-class) 2.42 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,CNXT-ID real mem = 1073213440 (1023MB) avail mem = 1045561344 (997MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 11/05/02, BIOS32 rev. 0 @ 0xfdb60, SMBIOS rev. 2.3 @ 0xf0630 (32 entries) bios0: vendor American Megatrends Inc. version V1.2 11 date 11/05/2002 bios0: MICRO-STAR INC. MS-6704 acpi0 at bios0: rev 0 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT FACP APIC acpi0: wakeup devices USB1(S3) USB2(S3) USB3(S3) EHCI(S3) ICHB(S4) PS2M(S4) PS2K(S4) UAR1(S4) MC9_(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 133MHz ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (ICHB) acpicpu0 at acpi0 acpipwrres0 at acpi0: URP1 acpipwrres1 at acpi0: URP2 acpipwrres2 at acpi0: FDDP acpipwrres3 at acpi0: LPTP acpibtn0 at acpi0: PWRB bios0: ROM list: 0xc/0xd000 0xcd000/0x4800 0xd1800/0x1000 0xe/0x1000 pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82845G Host rev 0x02 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xe000, size 0x400 ppb0 at pci0 dev 1 function 0 Intel 82845G AGP rev 0x02 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon 9600 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: apic 2 int 16 drm0 at radeondrm0 ATI Radeon 9600 XT Sec rev 0x00 at pci1 dev 0 function 1 not configured uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x02: apic 2 int 16 uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x02: apic 2 int 19 uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x02: apic 2 int 18 ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x02: apic 2 int 23 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb1 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0x82 pci2 at ppb1 bus 2 pciide0 at pci2 dev 3 function 0 CMD Technology SiI3512 SATA rev 0x01: DMA pciide0: using apic 2 int 19 for native-PCI interrupt pciide0: port 0: device present, speed: 1.5Gb/s wd0 at pciide0 channel 0 drive 0: ST3250310AS wd0: 16-sector PIO, LBA48, 238475MB, 488397168 sectors wd0(pciide0:0:0): using BIOS timings, Ultra-DMA mode 5 pciide0: port 1: device present, speed: 1.5Gb/s wd1 at pciide0 channel 1 drive 0: SAMSUNG HD501LJ wd1: 16-sector PIO, LBA48, 476940MB, 976773168 sectors wd1(pciide0:1:0): using BIOS timings, Ultra-DMA mode 7 em0 at pci2 dev 4 function 0 Intel PRO/1000GT (82541GI) rev 0x05: apic 2 int 16, address xx:xx:xx:xx:xx:xx vge0 at pci2 dev 5 function 0 VIA VT612x rev 0x11: apic 2 int 17, address xx:xx:xx:xx:xx:xx ciphy0 at vge0 phy 1: CS8201 10/100/1000TX PHY, rev. 1 ichpcib0 at pci0 dev 31 function 0 Intel 82801DB LPC rev 0x02 ichiic0 at pci0 dev 31 function 3 Intel 82801DB SMBus rev 0x02: apic 2 int 17 iic0 at ichiic0 iic0: addr 0x2f 00=00 02=0f 03=00 04=00 06=0f 07=00 08=00 0a=06 0b=00 0c=00 0d=07 0e=85 0f=00 10=c4 11=10 12=00 13=60 words 00=00ff 01= 02=0fff 03=00ff 04=00ff 05= 06=0fff 07=00ff spdmem0 at iic0 addr 0x50: 1GB DDR SDRAM non-parity PC3200CL3.0 usb1 at uhci0: USB revision 1.0 uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1 isa0 at ichpcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo 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 spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 wbsio0 at isa0 port 0x2e/2: W83627HF rev 0x17 lm1 at wbsio0 port 0x290/8: W83627HF npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec mtrr: Pentium Pro MTRR support vscsi0 at root scsibus0 at vscsi0: 256 targets softraid0 at root scsibus1 at softraid0: 256 targets root on wd0a (69dbc259cb64de66.a) swap on wd0b dump on wd0b WARNING: / was not properly unmounted pppoe0: received unexpected PADO pppoe0: received unexpected PADO pppoe0: received unexpected PADO pppoe0: received unexpected PADO pppoe0: received unexpected PADO pppoe0: received unexpected PADO pppoe0: received unexpected PADO pppoe0: received unexpected PADO pppoe0: received unexpected PADO pppoe0: received
Re: pf 'synproxy state' doesn't work with pppoe
On cs, aug 16, 2012 at 12:20:56 +0100, Kevin Chadwick wrote: Any help would be appreciated. Works for me on 5.1 I don't think it's the rule but the combination of rules. Try reordering your ruleset. I've had a problem before but I forget or never found the specific reason. Okay, okay, I'm trying to get my head around this, but how do you explain that changing *only* the 'synproxy' word to 'keep' in the exact same rule makes it working again (not changing order, combination, nothing, but only changing synproxy state to the default keep state)? Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: pf 'synproxy state' doesn't work with pppoe
On cs, aug 16, 2012 at 14:26:05 +0200, LEVAI Daniel wrote: On cs, aug 16, 2012 at 12:20:56 +0100, Kevin Chadwick wrote: Any help would be appreciated. Works for me on 5.1 I don't think it's the rule but the combination of rules. Try reordering your ruleset. I've had a problem before but I forget or never found the specific reason. Okay, okay, I'm trying to get my head around this, but how do you explain that changing *only* the 'synproxy' word to 'keep' in the exact same rule makes it working again (not changing order, combination, nothing, but only changing synproxy state to the default keep state)? There is definitely something wrong with pppoe + synproxy state: # pfctl -sr pass all flags S/SA pass in on pppoe0 inet proto tcp from src to dst port = flags S/SA synproxy state This is the only rule. Otherwise it's just 'pass all'. If I remove this rule too *or* change synproxy to keep, the connection is working. I can reproduce this on two different machines, with different ISPs and different NICs facing the ISPs using pppoe. Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: pf 'synproxy state' doesn't work with pppoe
On cs, aug 16, 2012 at 17:18:08 +0200, Christopher Zimmermann wrote: On Thu, 16 Aug 2012 14:37:50 +0200 LEVAI Daniel l...@ecentrum.hu wrote: On cs, aug 16, 2012 at 14:26:05 +0200, LEVAI Daniel wrote: On cs, aug 16, 2012 at 12:20:56 +0100, Kevin Chadwick wrote: Any help would be appreciated. Works for me on 5.1 I don't think it's the rule but the combination of rules. Try reordering your ruleset. I've had a problem before but I forget or never found the specific reason. Okay, okay, I'm trying to get my head around this, but how do you explain that changing *only* the 'synproxy' word to 'keep' in the exact same rule makes it working again (not changing order, combination, nothing, but only changing synproxy state to the default keep state)? There is definitely something wrong with pppoe + synproxy state: # pfctl -sr pass all flags S/SA pass in on pppoe0 inet proto tcp from src to dst port = flags S/SA synproxy state This is the only rule. Otherwise it's just 'pass all'. If I remove this rule too *or* change synproxy to keep, the connection is working. I can reproduce this on two different machines, with different ISPs and different NICs facing the ISPs using pppoe. Do you filter on loopback? The handshake between proxy and server process is done via loopback. You need to pass this traffic, too. With, or without 'set skip on lo0' the symptoms are the same. Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: pf 'synproxy state' doesn't work with pppoe
On cs, aug 16, 2012 at 15:10:51 +0100, Kevin Chadwick wrote: # pfctl -sr pass all flags S/SA pass in on pppoe0 inet proto tcp from src to dst port = flags S/SA synproxy state This is the only rule. Otherwise it's just 'pass all'. If I remove this rule too *or* change synproxy to keep, the connection is working. I remember being puzzled by that myself. I thought I had got it working but I'm struggling to be sure now whether I got it working or switched synproxy off on that machine, sorry. I can reproduce this on two different machines, with different ISPs and different NICs facing the ISPs using pppoe. Is it possible or have you tried the NIC that it works on in pppoe mode. I could try it, but the two machines have two different types of NICs (re and em) using pppoe. It would be a really weird bug in both re and em if these drivers were to act up with pppoe and not with eg. vge (which is the other card in one of the machines with which I'll try this variation tomorrow). Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: roundcubemail port
On cs, aug 09, 2012 at 14:42:24 +0400, Wesley wrote: Hi, I just seen a new version on Roundcube : 0.8 here : http://roundcube.net/ And on the OpenBSD CVSWeb : http://www.openbsd.org/cgi-bin/cvsweb/ports/mail/roundcubemail/ So roundcubemail version : 0.7.2 Is it possible to update it to 0.8 ? Thank you very much for all the perfect job you done. Regards, Stuart just posted an update for this on ports@. Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: tmux, multiple prefix keys
On h, aug 06, 2012 at 08:38:47 +0100, Nicholas Marriott wrote: Probably you are looking a man page that doesn't match what you are running, this was removed in favour of just having separate prefix/prefix2 options a while ago. Exactly, thanks. Sorry for the noise. Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
tmux, multiple prefix keys
Hi! I'm trying to digest tmux's man page's statement, that it is possible to configure more than one prefix key, and each one will work individually. Now when I execute 'set-option -g prefix ^b,^a', I get Bad key: ^b,^a, what is somehow understandable. But I can't seem to figure out a variation of escaping/quoting and/or separating the prefix keys to make tmux accept them. Is this some future feature which accidentally made it to the man page? Thanks, Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: pf 'synproxy state' broke for me with 5.0 - 5.1 upgrade
On k, júl 24, 2012 at 12:32:19 +0200, hvom .org wrote: Hi try : pass in on $ext_if proto tcp to $ext_ip port imap synproxy state What do you mean? This basically evaluates to the same rule. Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
pf 'synproxy state' broke for me with 5.0 - 5.1 upgrade
Hi! I've upgraded two 5.0 boxes to 5.1, and noticed that my long standing pf rules with 'synproxy state' stopped working. This is an example: block all [...] antispoof quick for $ext_if [...] pass in on $ext_if inet proto tcp from any to $ext_ip port imap \ synproxy state \ (source-track rule, max-src-nodes 150, max-src-states 50, \ max-src-conn-rate 50/1, overload abuse_imap) \ queue imap [...] With this rule I only get a TCP reset [1] in response to a connection to the imap port. I can safely fix this by replacing 'synproxy' with 'keep', but I've remained curious about why doesn't the old rule working (not just with imap, but with all the other services too, eg.: ssh, http, smtp, etc...). If someone could enlighten me about this issue, I'd be grateful (I didn't find anything regarding this on upgrade51.html). I can provide the full pf ruleset if needed, but I must massage it first... [1] Jul 24 09:17:35.429490 client.2245 ext_ip.143: S 2258140835:2258140835(0) win 65535 mss 1452,nop,nop,sackOK (DF) Jul 24 09:17:35.429566 ext_ip.143 client.2245: S 1742119500:1742119500(0) ack 2258140836 win 0 mss 1452 (DF) [tos 0x10] Jul 24 09:17:35.450975 client.2245 ext_ip.143: . ack 1 win 65535 (DF) Jul 24 09:17:35.450997 ext_ip.143 client.2245: R 2552847796:2552847796(0) ack 1543259791 win 0 (DF) [tos 0x10] Thanks, Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: SIL 3512 sata card dma errors
On v, júl 08, 2012 at 21:37:47 +0200, Robert wrote: Hi, I had similar problems with a SiI3512A card some time ago, and ended up using just the internal ports. Since I had some time today, I installed i386/mp-current on a spare computer and tested with two SATA disks. Writing 300GB of zeros (dd) in parallel to both disks showed no error. So I assume they stability of the 3512 depends on other factors (mainboard, IRQs, moon phase...). My errors were triggered when I was copying from disk1 to disk2, both connected to the SIL card. (in this case this was a 2 port card), not when copying something in parallel to both disks from a separate location. I think this makes the difference. [...] 2) jmb0 at pci1 dev 0 function 0 JMicron JMB363 IDE/SATA rev 0x03 Worked nicely. According to systat it provided around 30MB/sec write speed, whereas the SiI3512A only had around 20MB/sec. This is good to know, I'm sure I'll prefer this kind of device in the future. Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: SIL 3512 sata card dma errors
On p, jún 29, 2012 at 09:30:45 +0200, LEVAI Daniel wrote: Hi! I'm using a SIL 3512A (BIOS ver. 4.3.79) SATA raid card with two disks connected to it. [...] wd1(pciide0:1:0): timeout type: ata c_bcount: 16384 c_skip: 0 pciide0:1:0: bus_master DMA error: missing interrupt, status=0x21 pciide0 channel 1: reset failed for drive 0 wd1d: device timeout writing fsbn 124405184 of 124405184-124405215 (wd1 bn 14642 6976; cn 145264 tn 13 sn 45), retrying pciide0:1:0: not ready, st=0xd1BSY,DRDY,DSC,ERR, err=0x00 pciide0 channel 1: reset failed for drive 0 wd1d: device timeout writing fsbn 124405184 of 124405184-124405215 (wd1 bn 14642 6976; cn 145264 tn 13 sn 45), retrying Also there are new error messages after the BIOS update: wd1d: aborted command writing fsbn 48938080 of 48938080-48938111 (wd1 bn 258653472; cn 256600 tn 10 sn 42), retrying wd1: soft error (corrected) wd1d: aborted command writing fsbn 48961216 of 48961216-48961247 (wd1 bn 258676608; cn 256623 tn 9 sn 57), retrying wd1: soft error (corrected) wd1d: aborted command writing fsbn 48976960 of 48976960-48976991 (wd1 bn 258692352; cn 256639 tn 3 sn 51), retrying wd1: soft error (corrected) wd1(pciide0:1:0): timeout type: ata c_bcount: 16384 c_skip: 0 pciide0:1:0: bus-master DMA error: missing interrupt, status=0x21 Hi! Just for the record. The owner of the shop was nice enough to get me a replacement card, despite the fact that I was running it on a not supported operating system :) The funny thing is, with the new card the error messages wouldn't appear right away. For example I could unpack the big archive I was testing the card with without errors, but the above error messages would appear after some minutes. So what I did and what seems to be the solution is, I've disabled both IDE channels on the mainboard. Now I've got only the SATA card's two hard disks. And I have the possibility (in the mainboard's BIOS) to change the IRQ priority regarding the PCI slots; I've set the highest priority to the SATA card, and I've distributed the rest to the other devices (two NICs). Now it has been running with stress-tests for one and a half day and it seems to be stable. Oh, and this is with 5.1-stable; I tried with -current but it kneeled down too. Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: SIL 3512 sata card dma errors
On p, jún 29, 2012 at 09:30:45 +0200, LEVAI Daniel wrote: Hi! I'm using a SIL 3512A (BIOS ver. 4.3.79) SATA raid card with two disks connected to it. When I'm starting an I/O intensive archive unpacking from wd0 to wd1, I get DMA errors on the console. If I unpack from wd0 - wd0, then it seems fine. I've replaced/switched cables and replaced wd1 too. I can not get a dmesg at the moment, sorry, but I'll post it later when I get to the machine. It is an old Pentium 4 2.4 GHz and runs 5.1-base. [...] Hi! Here is the promised dmesg. I've updated the cards BIOS since, but still no luck. Thanks for any input. Also there are new error messages after the BIOS update: wd1d: aborted command writing fsbn 48938080 of 48938080-48938111 (wd1 bn 258653472; cn 256600 tn 10 sn 42), retrying wd1: soft error (corrected) wd1d: aborted command writing fsbn 48961216 of 48961216-48961247 (wd1 bn 258676608; cn 256623 tn 9 sn 57), retrying wd1: soft error (corrected) wd1d: aborted command writing fsbn 48976960 of 48976960-48976991 (wd1 bn 258692352; cn 256639 tn 3 sn 51), retrying wd1: soft error (corrected) wd1(pciide0:1:0): timeout type: ata c_bcount: 16384 c_skip: 0 pciide0:1:0: bus-master DMA error: missing interrupt, status=0x21 wd1d: device timeout writing fsbn 48990240 of 48990240-48990271 (wd1 bn 258705632; cn 256652 tn 6 sn 38), retrying wd1: soft error (corrected) wd1d: aborted command writing fsbn 49046400 of 49046400-49046431 (wd1 bn 258761792; cn 256708 tn 2 sn 2), retrying wd1: soft error (corrected) wd1d: aborted command writing fsbn 49058976 of 49058976-49059007 (wd1 bn 258774368; cn 256720 tn 9 sn 41), retrying wd1: soft error (corrected) wd1d: aborted command writing fsbn 49093760 of 49093760-49093791 (wd1 bn 258809152; cn 256755 tn 1 sn 49), retrying wd1: soft error (corrected) wd1d: aborted command writing fsbn 49096640 of 49096640-49096671 (wd1 bn 258812032; cn 256757 tn 15 sn 31), retrying wd1: soft error (corrected) wd1d: aborted command writing fsbn 49110784 of 49110784-49110815 (wd1 bn 258826176; cn 256772 tn 0 sn 0), retrying wd1: soft error (corrected) wd1d: aborted command writing fsbn 49121504 of 49121504-49121535 (wd1 bn 258836896; cn 256782 tn 10 sn 10), retrying wd1: soft error (corrected) wd1d: aborted command writing fsbn 49359616 of 49359616-49359647 (wd1 bn 259075008; cn 257018 tn 13 sn 45), retrying wd1: soft error (corrected) wd1d: aborted command writing fsbn 49377728 of 49377728-49377759 (wd1 bn 259093120; cn 257036 tn 13 sn 13), retrying wd1: soft error (corrected) Daniel dmesg: OpenBSD 5.1 (GENERIC) #160: Sun Feb 12 09:46:33 MST 2012 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) 4 CPU 2.40GHz (GenuineIntel 686-class) 2.42 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,CNXT-ID real mem = 2146955264 (2047MB) avail mem = 2101735424 (2004MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 11/05/02, BIOS32 rev. 0 @ 0xfdb60, SMBIOS rev. 2.3 @ 0xf0630 (32 entries) bios0: vendor American Megatrends Inc. version V1.2 11 date 11/05/2002 bios0: MICRO-STAR INC. MS-6704 acpi0 at bios0: rev 0 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT FACP APIC acpi0: wakeup devices USB1(S3) USB2(S3) USB3(S3) EHCI(S3) ICHB(S4) PS2M(S4) PS2K(S4) UAR1(S4) MC9_(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 133MHz ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (ICHB) acpicpu0 at acpi0 acpipwrres0 at acpi0: URP1 acpipwrres1 at acpi0: URP2 acpipwrres2 at acpi0: FDDP acpipwrres3 at acpi0: LPTP acpibtn0 at acpi0: PWRB bios0: ROM list: 0xc/0xd000 0xcd000/0x4800 0xd1800/0x1000 0xe/0x1000 pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82845G Host rev 0x02 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xe000, size 0x400 ppb0 at pci0 dev 1 function 0 Intel 82845G AGP rev 0x02 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon 9600 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: apic 2 int 16 drm0 at radeondrm0 ATI Radeon 9600 XT Sec rev 0x00 at pci1 dev 0 function 1 not configured uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x02: apic 2 int 16 uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x02: apic 2 int 19 uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x02: apic 2 int 18 ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x02: apic 2 int 23 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb1 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0x82 pci2 at ppb1 bus 2 vge0 at pci2 dev 1 function 0 VIA VT612x rev
SIL 3512 sata card dma errors
Hi! I'm using a SIL 3512A (BIOS ver. 4.3.79) SATA raid card with two disks connected to it. When I'm starting an I/O intensive archive unpacking from wd0 to wd1, I get DMA errors on the console. If I unpack from wd0 - wd0, then it seems fine. I've replaced/switched cables and replaced wd1 too. I can not get a dmesg at the moment, sorry, but I'll post it later when I get to the machine. It is an old Pentium 4 2.4 GHz and runs 5.1-base. I've tried to remove every other PCI cards and left just the SIL, but I could still reproduce this error. Here is a transcript of the error messages: wd1(pciide0:1:0): timeout type: ata c_bcount: 16384 c_skip: 0 pciide0:1:0: bus_master DMA error: missing interrupt, status=0x21 pciide0 channel 1: reset failed for drive 0 wd1d: device timeout writing fsbn 124405184 of 124405184-124405215 (wd1 bn 14642 6976; cn 145264 tn 13 sn 45), retrying pciide0:1:0: not ready, st=0xd1BSY,DRDY,DSC,ERR, err=0x00 pciide0 channel 1: reset failed for drive 0 wd1d: device timeout writing fsbn 124405184 of 124405184-124405215 (wd1 bn 14642 6976; cn 145264 tn 13 sn 45), retrying Anyone has a clue what should I do? I assume the problem is with wd1, is this correct? I could not replace wd0, but if it could be the problem then I reinstall the system to another disk. I'll also try to update the SIL card's BIOS. Should I try -current with this problem? Thanks, Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: SIL-3512 supported?
On v, jún 17, 2012 at 12:21:56 +0200, Fabian wrote: Well, it was needed in my case, but it might not be needed in your case. As I understand, this chipset is used in a couple of no-name cards. Thanks for the info, fortunately the card is working out of the box. Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
SIL-3512 supported?
Hi! Although sili(4) doesn't state it exactly, I'm curious if the SIL-3512 [1] chip is supported? This is a 2 channel SATA PCI card. I don't need its fancy RAID functions, I just want to plug some SATA hard drives to an old computer which only has IDE interfaces. Thanks, Daniel [1] - http://www.siliconimage.com/products/product.aspx?pid=29 -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: SIL-3512 supported?
On szo, jún 16, 2012 at 19:10:09 +1000, Jonathan Gray wrote: It should work fine, this is the same controller as in the Thecus N1200 for example. It isn't sili(4) but rather pciide(4), see http://www.openbsd.org/cgi-bin/man.cgi?query=pciidesektion=4 Thanks Jonathan, I'll get one then. I overlooked the pciide(4) page. Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: SIL-3512 supported?
On szo, jún 16, 2012 at 13:40:14 +0200, Fabian wrote: Hello, I am using one of these add-in cards (PCI, 2 channel SATA) for the exact same purpose you mentioned. I had some problems in the beginning, but after I upgraded the firmware to the latest non-RAID version, it is working fine here. Can you tell me what steps are involved in doing that? Do you need a proprietary software for it, or is it doable from its configuration ui? Thanks, Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: [l...@ecentrum.hu: Re: ls(1) multibyte support]
On Thu, Mar 22, 2012 at 12:24:28 +0100, Stefan Sperling wrote: On Thu, Mar 22, 2012 at 11:18:43AM +0100, Peter Hessler wrote: from what I can tell, the problems blocking this diff from going in have been fixed, and it looks good to me. [...] For now, if you really require multi-byte filenames in ls output you can install colorls and alias it to 'ls' in your shell. Thank You for the answer and the suggestion. I'm going to use colorls; it is even a bit less hassle to install colorls than to sync, patch, install src/bin/ls on every -current update. Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: ls(1) multibyte support
On Tue, Jan 04, 2011 at 09:14:51PM +0300, Alexander Polakov wrote: Hi, I wonder if there any plans on adding multibyte support for ls(1)? Or maybe there's a reason why it's not a great idea (which I am not aware of)? Anyway, here's a patch I have. It's based on DragonFlyBSD's ls. Any locale stuff added to applications that are used on the ramdisk (bsd.rd) must be inside #ifndef SMALL. The ls binary is linked statically so we need to prevent it from wasting space by pulling citrus stuff onto the ramdisk. More importantly, there is an alleged bug in our wcwidth() implementation. I haven't had time to investigate, but it has been pointed out on separate occasions, by Jordi Beltran Creix and by nicm@. Test program (from Jordi): Hi! Any plans of committing this? [1] I've been using these diffs for quite some time now, and it is really convenient and great to see the utf-8 filenames properly in ls' output. [1]: http://marc.info/?l=openbsd-techm=129416906310823w=2 Dani -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: usb serial device (Atmel), only as ugen
On Tue, Jan 31, 2012 at 13:41:24 +1100, Jonathan Gray wrote: [...] Can you try the following? It would be interesting to know why it doesn't match the class test. Of course, I'd be happy to. Sorry for the delay. /bsd: class 0x2 subclass 0x2 protocol 0x0 /bsd: umodem0 at uhub1 /bsd: port 1 configuration 1 interface 0 Atmel E85 USB Serial rev 2.00/1.00 addr 2 /bsd: umodem0: data interface 1, has no CM over data, has no break /bsd: umodem0: status change notification available /bsd: ucom0 at umodem0 Thanks, Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: usb serial device (Atmel), only as ugen
On Tue, Jan 31, 2012 at 00:20:25 +0200, Mihai Popescu wrote: Could you post the section from dmesg for this device, after the patch, please ? Thank you. Plugin/out: /bsd: umodem0 at uhub1 /bsd: port 1 configuration 1 interface 0 Atmel E85 USB Serial rev 2.00/1.00 addr 2 /bsd: umodem0: data interface 1, has no CM over data, has no break /bsd: umodem0: status change notification available /bsd: ucom0 at umodem0 -- /bsd: ucom0 detached /bsd: umodem0 detached Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: usb serial device (Atmel), only as ugen
On v, jan 29, 2012 at 20:40:35 +1100, Jonathan Gray wrote: On Sun, Jan 29, 2012 at 08:27:16AM +0100, LEVAI Daniel wrote: Hi! I'm trying to use an USB serial device with qemu on a OpenBSD host and a winxp guest. I presume the first step would be to recognize this device under OpenBSD as some kind of ucom(4). Currently this is printed in dmesg when I plug in the stuff: ugen1 at uhub1 port 2 Atmel E85 USB Serial rev 2.00/1.00 addr 2 Eventually I would like to use cu(1) or minicom thru a /dev/cuaU? device. The vendor_id:product_id is 03eb:6119. Is it possible to somehow use/probe the existing usb serial drivers to see if it attaches/works with one of them? It is apparently CDC compliant, so try this: Thank you very much! It is working perfectly. It will be the icing on the cake if I can setup qemu to somehow utilize this device... but that will another issue. Now I can access and configure my car's bio-ethanol fuel converter with OpenBSD (and I'm not forced to use its win* GUI). Thanks again, Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
usb serial device (Atmel), only as ugen
Hi! I'm trying to use an USB serial device with qemu on a OpenBSD host and a winxp guest. I presume the first step would be to recognize this device under OpenBSD as some kind of ucom(4). Currently this is printed in dmesg when I plug in the stuff: ugen1 at uhub1 port 2 Atmel E85 USB Serial rev 2.00/1.00 addr 2 Eventually I would like to use cu(1) or minicom thru a /dev/cuaU? device. The vendor_id:product_id is 03eb:6119. Is it possible to somehow use/probe the existing usb serial drivers to see if it attaches/works with one of them? Thanks, Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
weird ksh '~' substitution - ksh bug?
Hi! I can't get my around this: $ pwd /home/daniell $ cd ~/stuff/ ksh: cd: /home/daniell/~/stuff - No such file or directory $ cd ~/stuff/ $ pwd /home/daniell/stuff It seems ~ is substituted in the first case, but it is not replaced, and it remained in the list. What is even more weird: $ echo ~/stuff ~/stuff ^^^ here it is not even substituted. $ echo ~/stuff /home/daniell/stuff ^^^ whereas here it is. I suspect this is not a feature? Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: weird ksh '~' substitution - ksh bug?
On Fri, Dec 16, 2011 at 10:55:08 +0100, Otto Moerbeek wrote: On Fri, Dec 16, 2011 at 09:47:54AM +0100, LEVAI Daniel wrote: [...] I think that explains your testcases. On Fri, Dec 16, 2011 at 11:05:50 +0100, Dieter Schvn wrote: 2011/12/16 LEVAI Daniel l...@ecentrum.hu: I suspect this is not a feature? looks like it is a feature: [...] Thanks for both of You. I systematically beleive that there is nothing more to read in ksh's man page. And I am always wrong... Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: Xorg EmulateWheel stopped working
On Sun, Nov 13, 2011 at 11:28:24 +0100, Matthieu Herrb wrote: On Sat, Nov 12, 2011 at 01:39:37PM +0100, LEVAI Daniel wrote: Hi! It seems that the wheel emulation stopped working for me, after removing /usr/X11R6 and updating to a fresh -current. It didn't stop working. You configuration is now beeing ignored due to the input device auto-configuration changes that was mentionned in current.html back in june. It's missing from the upgrade FAQ: [...] You can also convert you InputDevice section to an InputClass section to setup the wheel emulation. See xorg.conf(4) for details. Thanks! Really useful stuff that InputClass section. Managed to configure the wheel emulation with that. However, I must mention that the MatchDevicePath won't match /dev/wsmouse, although in the Xorg.log the autodetected device name for the mouse driver is /dev/wsmouse. Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: Keyboard no longer works after upgrading xenocara to -current (amd64, hp g42 laptop)
On Tue, Oct 25, 2011 at 18:59:48 +1100, Brett wrote: [...] installed from 8th Oct snapshot CD. Upon booting into XFCE, the keyboard would not respond (inbuilt laptop keyboard or external usb [...] There is a workaround for this [1]: # mv /usr/X11R6/share/X11/xkb /usr/X11R6/share/X11/xkb_orig # cd /usr/xenocara/data/xkeyboard-config make build make install This assumes you have the xenocara sources in /usr/xenocara. HTH, Daniel [1] http://marc.info/?l=openbsd-cvsm=131914643624601w=2 -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: query bug reports?
On Thu, Oct 13, 2011 at 09:01:51 +0200, Toni Mueller wrote: Hi, today I wanted to research open bug reports for OpenBSD, using this link in lieu of anything linked from the homepage: http://marc.info/?l=openbsd-miscm=131109305204483w=2 Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
cssh xterm - tcsetattr: Inappropriate ioctl for device
Hi! I'm using cssh with xterm and when I connect to multiple hosts at once, occasionaly I get this error in one or two xterm windows (not always, and not always in the same): tcsetattr: Inappropriate ioctl for device The login goes fine, but the terminal acts weird in that window: - it echoes every command I enter after executing it - control characters don't work - when I complete a command/filename with TAB it echoes the TAB and doesn't complete the command/filename, but if I press enter it seems that in the buffer there was the correct (completed) command/filename - can't use eg. vim in it etc... I can not reproduce this always, as it happens once or twice out of, say, 10 logins (but the target machine's type/OS/shell etc. doesn't matter). I've tried cssh with another terminal (Eterm), with which it didn't produce this erratic behaviour, but Eterm crashed a lot so I stopped using it. Has anyone else experienced this (the xterm error, not the Eterm crash :)? Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: 'ő' character doesn't get displayed in ls(1) output with UTF-8 locale
On Fri, Aug 12, 2011 at 21:48:48 +0400, Alexander Polakov wrote: 2011/8/12, LEVAI Daniel l...@ecentrum.hu: Hi! I'm using -current, and running X with LC_CTYPE=hu_HU.UTF-8. I noticed that ls(1) won't display this one character (there are maybe more, I only noticed this one): 'E ' (nor its capitalized version: 'E '). ls doesn't support multibyte characters yet, try this: http://kerneltrap.org/mailarchive/openbsd-tech/2011/1/4/6887598 This works perfectly, thank You! Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
'ő' character doesn't get displayed in ls(1) output with UTF-8 locale
Hi! I'm using -current, and running X with LC_CTYPE=hu_HU.UTF-8. I noticed that ls(1) won't display this one character (there are maybe more, I only noticed this one): 'E' (nor its capitalized version: 'E'). $ touch C6E $ ls -1 C6 $ ls -1 |hexdump -C c3 b6 c5 91 0a|.| 0005 $ echo $LC_CTYPE hu_HU.UTF-8 I can delete that file with `rm C6*`, and for example mc(1) can display that two character filename fine. Another thing I noticed is this: $ ls -1 |iconv -f utf-8 -t latin2 C6C5 I don't know if this is relevant :\ Thanks, Daniel $ dmesg OpenBSD 5.0 (GENERIC.MP) #44: Mon Aug 8 15:02:49 MDT 2011 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM real mem = 2145775616 (2046MB) avail mem = 2100596736 (2003MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/27/09, BIOS32 rev. 0 @ 0xfd6b0, SMBIOS rev. 2.4 @ 0xe0010 (68 entries) bios0: vendor LENOVO version 79ETE5WW (2.25 ) date 08/27/2009 bios0: LENOVO 2007FRG acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET 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) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 166MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpimcfg0 at acpi0 addr 0xf000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz 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) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpipwrres0 at acpi0: PUBS acpitz0 at acpi0: critical temperature is 127 degC acpitz1 at acpi0: critical temperature is 99 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model 93P5030 serial 2444 type LION oem SONY acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) bios0: ROM list: 0xc/0xfe00 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 0xe/0x1! cpu0: Enhanced SpeedStep 1829 MHz: speeds: 1833, 1333, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03 ppb0 at pci0 dev 1 function 0 Intel 82945GM PCIE rev 0x03: apic 1 int 16 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility X1400 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: apic 1 int 16 drm0 at radeondrm0 azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: msi azalia0: codecs: Analog Devices AD1981HD, 0x/0x, using Analog Devices AD1981HD audio0 at azalia0 ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int 20 pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00: msi, address 00:16:41:aa:d2:70 ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 1 int 21 pci3 at ppb2 bus 3 wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: msi, MoW2, address 00:18:de:65:2d:37 ppb3 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 1 int 22 pci4 at ppb3 bus 4 ppb4 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02: apic 1 int 23 pci5 at ppb4 bus 12 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 1 int 16 uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 1 int 17 uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 1 int 18 uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 1 int 19 ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 1 int 19 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb5 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2 pci6 at ppb5 bus 21 cbb0 at pci6 dev 0 function 0 TI PCI1510 CardBus rev 0x00: apic 1 int 16 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:
Re: 'ő' character doesn't get displayed in ls(1) output with UTF-8 locale
On p, aug 12, 2011 at 16:22:17 +0200, LEVAI Daniel wrote: Hi! I'm using -current, and running X with LC_CTYPE=hu_HU.UTF-8. I noticed that ls(1) won't display this one character (there are maybe more, I only noticed this one): 'E' (nor its capitalized version: 'E'). Wow, it got messed up. I'll reproduce it, and will upload screenshots. Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: Mouse0: No Device specified, looking for one.. (it's specified)
On Sun, Jul 31, 2011 at 18:37:03 +0200, Christopher Zimmermann wrote: [...] See also xorg.conf(5); this may be what you need. Option AllowEmptyInput boolean If enabled, don't add the standard keyboard and mouse drivers, if there are no input devices in the config file. Enabled by default if AutoAddDevices and AutoEnableDevices is enabled, otherwise disabled. If AllowEmptyInput is on, devices using the kbd, mouse or vmmouse driver are ignored. Thanks! Adding this option to ServerFlags solved the problem. Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: Mouse0: No Device specified, looking for one.. (it's specified)
Hali! FWIW, on my thinkpad t60 I can not configure the EmulateWheel option for the trackpoint because of this. The configure option for the input devices in xorg.conf are simply getting ignored. Daniel Section InputDevice Identifier TrackPoint Driver mouse Option Device/dev/wsmouse Option Emulate3Buttons false Option EmulateWheel true Option EmulateWheelButton2 Option XAxisMapping 6 7 Option YAxisMapping 4 5 EndSection OpenBSD 5.0-beta (GENERIC.MP) #28: Tue Jul 26 20:15:10 MDT 2011 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM real mem = 2145775616 (2046MB) avail mem = 2100592640 (2003MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/27/09, BIOS32 rev. 0 @ 0xfd6b0, SMBIOS rev. 2.4 @ 0xe0010 (68 entries) bios0: vendor LENOVO version 79ETE5WW (2.25 ) date 08/27/2009 bios0: LENOVO 2007FRG acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET 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) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 166MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpimcfg0 at acpi0 addr 0xf000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz 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) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpipwrres0 at acpi0: PUBS acpitz0 at acpi0: critical temperature is 127 degC acpitz1 at acpi0: critical temperature is 99 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model 93P5030 serial 2444 type LION oem SONY acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) bios0: ROM list: 0xc/0xfe00 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 0xe/0x1! cpu0: Enhanced SpeedStep 1829 MHz: speeds: 1833, 1333, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03 ppb0 at pci0 dev 1 function 0 Intel 82945GM PCIE rev 0x03: apic 1 int 16 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility X1400 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: apic 1 int 16 drm0 at radeondrm0 azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: msi azalia0: codecs: Analog Devices AD1981HD, 0x/0x, using Analog Devices AD1981HD audio0 at azalia0 ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int 20 pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00: msi, address 00:16:41:aa:d2:70 ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 1 int 21 pci3 at ppb2 bus 3 wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: msi, MoW2, address 00:18:de:65:2d:37 ppb3 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 1 int 22 pci4 at ppb3 bus 4 ppb4 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02: apic 1 int 23 pci5 at ppb4 bus 12 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 1 int 16 uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 1 int 17 uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 1 int 18 uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 1 int 19 ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 1 int 19 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb5 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2 pci6 at ppb5 bus 21 cbb0 at pci6 dev 0 function 0 TI PCI1510 CardBus rev 0x00: apic 1 int 16 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
Re: sftp bug?
On Tue, Jun 14, 2011 at 22:34:46 -0500, Corey wrote: On 06/14/2011 04:52 AM, LEVAI Daniel wrote: Hi! Uploading a directory recursively fails if it doesn't exist on the remote site: sftp put -r nonexistent\ directory/ Uploading nonexistent directory/ to /tmp/nonexistent directory Couldn't canonicalise: No such file or directory sftp mkdir nonexistent\ directory/ sftp put -r nonexistent\ directory/ ^^^ success It should create the directory first, and then copy the content, no? This is on -current: $ ssh -V OpenSSH_5.8, OpenSSL 1.0.0a 1 Jun 2010 Daniel Did you try doing it with a directory without a space in it? Not that the space shouldn't work, but it might narrow down the problem (as might grepping the source for that error message). Yep, it breaks when using a name without space, but it seems that this is only reproducible with an ssh server running on Linux: $ ssh -V OpenSSH_5.8p1, OpenSSL 0.9.8r 8 Feb 2011 So the client is on OpenBSD (also 5.8), and the server is the Linux version. This is the environment where the bug happens. Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: sftp bug?
On Wed, Jun 15, 2011 at 08:49:57 +0200, Alexander Hall wrote: On 06/15/11 05:34, Corey wrote: On 06/14/2011 04:52 AM, LEVAI Daniel wrote: Hi! Uploading a directory recursively fails if it doesn't exist on the remote site: sftp put -r nonexistent\ directory/ Uploading nonexistent directory/ to /tmp/nonexistent directory Couldn't canonicalise: No such file or directory sftp mkdir nonexistent\ directory/ sftp put -r nonexistent\ directory/ ^^^ success It should create the directory first, and then copy the content, no? This is on -current: $ ssh -V OpenSSH_5.8, OpenSSL 1.0.0a 1 Jun 2010 Daniel Did you try doing it with a directory without a space in it? Not that the space shouldn't work, but it might narrow down the problem (as might grepping the source for that error message). Also, I'd try without the trailing slash. It doesn't matter if there is a trailing slash either. Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
sftp bug?
Hi! Uploading a directory recursively fails if it doesn't exist on the remote site: sftp put -r nonexistent\ directory/ Uploading nonexistent directory/ to /tmp/nonexistent directory Couldn't canonicalise: No such file or directory sftp mkdir nonexistent\ directory/ sftp put -r nonexistent\ directory/ ^^^ success It should create the directory first, and then copy the content, no? This is on -current: $ ssh -V OpenSSH_5.8, OpenSSL 1.0.0a 1 Jun 2010 Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: IBM xServer 336/346 - OpenBSD 4.9
On sze, jzn 01, 2011 at 15:28:36 -0300, Marcos Laufer wrote: Daniel, What i did to make my x336 servers work with OpenBSD 4.9 was to replace pci.c from the source with pci.c 1.72 . Is this somehow wrong? Should i apply this patch instead? That I don't know. I just simply wanted to make sure that my upgrade path is clear next time, when I'll try to upgrade to the following release. This way I can use this hardware longer with OpenBSD-stable. Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: How do I exclude a directory using tar in OpenBSD?
On Tue, May 31, 2011 at 11:42:24 +0300, Michael Sioutis wrote: Hello! I can't find it in the man page, and it seems it is not supported (?) I am trying to backup some folders and want to exclude some and nth will work. I've tried: --exclude=/folder/ --exclude=/folder/ --exclude /folder --exclude folder I will get an error: --exclude... directory doesn't exist. Excluding will work in Linux. That is a GNU extension. You can work this around with find(1) and the tar(1)'s '-I' option. Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
IBM xServer 336/346 - OpenBSD 4.9
Hi! (Just for the record) Regarding PR#6523, OpenBSD 4.9 works with pci.c 1.88 (from OPENBSD_4_9), patched with kettenis@'s pci.c patch 1.72 [1]. I was afraid it won't apply, or there will be incompatibilities with other parts, but so far so good. (It's unfortuane it broke other systems :( ) Anyway, thanks! [1]: http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/pci.c.diff?r1=1.71;r2=1.72 Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
can not turn num lock on/off on keyboard
Hi! I can not toggle the numlock led on my keyboard with: $ xset led named Num Lock or $ xset led 1..32 In fact, I can only switch the scroll lock led, when trying all of them: for i in $(jot -s' ' 32);do xset led $i; sleep 0.2; xset -led $i;done Is this intentional, or is it some limitation in my hardware? Oh, and this is and usb keyboard, attached to the laptop, btw. $ setxkbmap -print xkb_keymap { xkb_keycodes { include xfree86+aliases(qwerty) }; xkb_types { include complete }; xkb_compat{ include complete }; xkb_symbols { include pc/pc(pc105)+pc/us}; xkb_geometry { include pc(pc105) }; }; $ setxkbmap -query rules: xorg model: pc105 layout: us $ dmesg OpenBSD 4.9-current (GENERIC.MP) #112: Sat May 14 09:59:17 MDT 2011 t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM real mem = 2145775616 (2046MB) avail mem = 2100494336 (2003MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/27/09, BIOS32 rev. 0 @ 0xfd6b0, SMBIOS rev. 2.4 @ 0xe0010 (68 entries) bios0: vendor LENOVO version 79ETE5WW (2.25 ) date 08/27/2009 bios0: LENOVO 2007FRG acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET 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) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 166MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpimcfg0 at acpi0 addr 0xf000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz 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) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpipwrres0 at acpi0: PUBS 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 93P5030 serial 2444 type LION oem SONY acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) bios0: ROM list: 0xc/0xfe00 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 0xe/0x1! cpu0: Enhanced SpeedStep 1829 MHz: speeds: 1833, 1333, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03 ppb0 at pci0 dev 1 function 0 Intel 82945GM PCIE rev 0x03: apic 1 int 16 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility X1400 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: apic 1 int 16 drm0 at radeondrm0 azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 1 int 17 azalia0: codecs: Analog Devices AD1981HD, 0x/0x, using Analog Devices AD1981HD audio0 at azalia0 ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int 20 pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00: apic 1 int 16, address 00:16:41:aa:d2:70 ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 1 int 21 pci3 at ppb2 bus 3 wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: apic 1 int 17, MoW2, address 00:18:de:65:2d:37 ppb3 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 1 int 22 pci4 at ppb3 bus 4 ppb4 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02: apic 1 int 23 pci5 at ppb4 bus 12 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 1 int 16 uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 1 int 17 uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 1 int 18 uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 1 int 19 ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 1 int 19 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb5 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2 pci6 at ppb5 bus 21 cbb0 at pci6 dev 0 function 0 TI PCI1510 CardBus rev 0x00: apic 1 int 16
Re: [Bulk] html5 video and browsers
On Tue, May 10, 2011 at 15:06:14 +0200, LEVAI Daniel wrote: On Tue, May 10, 2011 at 11:33:44 +, Kevin Chadwick wrote: On Tue, 10 May 2011 12:04:50 +0200 LEVAI Daniel wrote: Hi! I'm trying out youtube with html5 videos, and I have few question to the fellow video watchers. In mozilla-firefox I can't even enable html5 in youtube :/ If it's mozilla-firefox 3.6 then you can play html5 video but only in ogg format. Youtube is using webM now which was introduced in firefox 4. I'm using 4.0rc2 from packages. But I see now that in the tree, there is a newer version. I'll wait for a package update. So it seems I got stuck with an rc package version from when it was still in the testing phase. For some reason I couldn't update it (mozilla-firefox-4.0rc2 vs. mozilla-firefox-4.0.1p2), so I had to pkg_delete it, and then pkg_add the new one. Indeed it is working alright, but the fullscreen mode is worse than with xxxterm in my case. Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
html5 video and browsers
Hi! I'm trying out youtube with html5 videos, and I have few question to the fellow video watchers. In mozilla-firefox I can't even enable html5 in youtube :/ In chrome the video plays, but without sound. In xxxterm everything works perfectly. Is it normal that the fullscreen playback is slow and laggy on a moderate hardware (i386, ThinkPad T60, Intel(R) CPU T2400 @ 1.83GHz)? What are your experiences? Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: [Bulk] html5 video and browsers
On Tue, May 10, 2011 at 11:33:44 +, Kevin Chadwick wrote: On Tue, 10 May 2011 12:04:50 +0200 LEVAI Daniel wrote: Hi! I'm trying out youtube with html5 videos, and I have few question to the fellow video watchers. In mozilla-firefox I can't even enable html5 in youtube :/ If it's mozilla-firefox 3.6 then you can play html5 video but only in ogg format. Youtube is using webM now which was introduced in firefox 4. I'm using 4.0rc2 from packages. But I see now that in the tree, there is a newer version. I'll wait for a package update. Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: malloc: memory leak instrumentation
On Thu, May 05, 2011 at 14:46:19 +0200, Otto Moerbeek wrote: Hi, for those of you developing software and not reading tech@, you might find http://marc.info/?l=openbsd-techm=130459895903668w=2 interesting. Wow, I'm truly amazed. Thank you for your hard work! Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: x336 IBM servers reboots
On k, jan 18, 2011 at 12:06:19 -0300, Marcos Laufer wrote: Hello list, I'd like to inform that this problem: http://www.pubbs.net/200910/openbsd/42943-46-reboots-x336-ibm-servers.html keeps happening also with OpenBSD 4.7 and 4.8 . The last version i can install or upgrade on this is 4.5. Didn't try -current yet. I have several of this IBM x336 servers waiting to be running OpenBSD http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=6523 -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: IBM TrackPoint scrolling
On sze, dec 15, 2010 at 17:49:18 +0200, Patrikas Kugrinas wrote: Hello, Anybody has lucky experiences with IBM TrackPoint ? I have IBM ThinkPad G40, trying to run X server on -current. TrackPoint and it's buttons work as expected except scrolling. Do I need additional X configuration ? Scrolling with USB plugged mouse works fine out of the box. And it seems it doesn't have to do anything with my BIOS settings (some search results on Google suggested so). Do you need: Option EmulateWheel yes in xorg.conf? Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
ext2fs 2GiB file size limit
Hi! I'm having this issue with an ext2fs filesystem on an external USB drive. I've created the partition/disklabel/filesystem with OpenBSD tools, and after mounting, and dd'ing /dev/zero onto the fs, it bails out at 2GiB: $ dd if=/dev/zero of=/mnt/hotplug/sd3i_FUJITSU/Downloads/testfile bs=4096 dd: /mnt/hotplug/sd3i_FUJITSU/Downloads/testfile: File too large 524288+0 records in 524287+0 records out 2147479552 bytes transferred in 399.042 secs (5381579 bytes/sec) I don't remember having a 2GiB filesize limit anywhere near, but the old extfs. What am I missing here? Thanks, Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: ext2fs 2GiB file size limit
On Wed, Dec 08, 2010 at 09:35:34 +0100, Guillaume Duali wrote: On Wed, 8 Dec 2010 09:23:49 +0100, LEVAI Daniel l...@ecentrum.hu wrote: I'm having this issue with an ext2fs filesystem on an external USB drive. I've created the partition/disklabel/filesystem with OpenBSD tools, and after mounting, and dd'ing /dev/zero onto the fs, it bails out at 2GiB: $ dd if=/dev/zero of=/mnt/hotplug/sd3i_FUJITSU/Downloads/testfile bs=4096 dd: /mnt/hotplug/sd3i_FUJITSU/Downloads/testfile: File too large 524288+0 records in 524287+0 records out 2147479552 bytes transferred in 399.042 secs (5381579 bytes/sec) [...] So, check if your partition is really in ext2 and the size of this partition. And what is the physical size of your external drive ? :) $ mount /dev/sd3i on /mnt/hotplug/sd3i_FUJITSU type ext2fs (local, nodev, noexec, nosuid) $ df -h /dev/sd3i 73.3G 26.4G 46.9G36%/mnt/hotplug/sd3i_FUJITSU $ fdisk sd3 Disk: sd3 geometry: 9729/255/63 [156301488 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: id C H S - C H S [ start:size ] --- 0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused *3: A6 0 1 1 - 9728 254 63 [ 63: 156296322 ] OpenBSD $ disklabel sd3 # /dev/rsd3c: type: SCSI disk: SCSI disk label: FUJITSU MHV2080B duid: b122005bf43a432c flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 9729 total sectors: 156301488 boundstart: 63 boundend: 156296385 drivedata: 0 16 partitions: #size offset fstype [fsize bsize cpg] c:1563014880 unused i:156296321 63 ext2fs dmesg sd3 part: umass1 at uhub0 port 1 configuration 1 interface 0 Initio MHV2080BH rev 2.00/3.01 addr 5 umass1: using SCSI over Bulk-Only scsibus5 at umass1: 2 targets, initiator 0 sd3 at scsibus5 targ 1 lun 0: Initio, MHV2080BH, 3.01 SCSI0 0/direct fixed sd3: 76319MB, 512 bytes/sec, 156301488 sec total dmesg: OpenBSD 4.8-current (GENERIC.MP) #545: Mon Dec 6 16:24:15 MST 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM real mem = 2145808384 (2046MB) avail mem = 2100625408 (2003MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/27/09, BIOS32 rev. 0 @ 0xfd6b0, SMBIOS rev. 2.4 @ 0xe0010 (68 entries) bios0: vendor LENOVO version 79ETE5WW (2.25 ) date 08/27/2009 bios0: LENOVO 2007FRG acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET 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) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 166MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpihpet0 at acpi0: 14318179 Hz 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) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpipwrres0 at acpi0: PUBS 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 92P1127 serial 23233 type LION oem SANYO acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) bios0: ROM list: 0xc/0xfe00 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 0xe/0x1! cpu0: Enhanced SpeedStep 1829 MHz: speeds: 1833, 1333, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03 ppb0 at pci0 dev 1 function 0 Intel 82945GM PCIE rev 0x03: apic 1 int 16 (irq 11) pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility X1400 rev 0x00 wsdisplay0 at vga1 mux 1: console
Re: ext2fs 2GiB file size limit
On Wed, Dec 08, 2010 at 10:42:09 +0100, Guillaume Duali wrote: [...] Hi, you could try it : http://www.openbsd.org/cgi-bin/man.cgi?query=newfs_ext2fssektion=8apropos=0manpath=OpenBSD+Currentarch=i386 So, you think recreating the filesystem would solve the problem? I'm sorry, but I'm not used to the reboot if it's not working scheme. Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: ext2fs 2GiB file size limit
On Wed, Dec 08, 2010 at 12:47:06 +0100, Peter J. Philipp wrote: On Wed, Dec 08, 2010 at 09:23:49AM +0100, LEVAI Daniel wrote: I don't remember having a 2GiB filesize limit anywhere near, but the old extfs. What am I missing here? snip useful research I checked the newfs_ext2fs manpage and it says the following: -- -O filesystem-format Select the filesystem-format. 0`GOOD_OLD_REV'; this option is primarily used to build root file systems that can be understood by old or dumb firmwares for bootstrap. (default) 1`DYNAMIC_REV'; various extended (and sometimes incompatible) features are enabled (though not all features are supported on OpenBSD). Currently only the following features are supported: ...some cut... LARGEFILEEnable files larger than 2G bytes. -- so perhaps you need to turn on this LARGEFILE feature at newfs time somehow... Indeed. It seems my ignorance and impudent style didn't get me anywhere (again). Thanks to You and Guillaume for the pointers and the info! Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: mod_auth_pgsql trouble
On Tue, Nov 30, 2010 at 12:56:32 +0100, Michael wrote: Hello, I am having trouble authenticating httpd users against a PostgreSQL database. Maybe someone here is using that module and can help me? [...] Check the pgsql logs for the actual query when trying to authenticate (adjust postgresql.conf for more verbose logging if necessary). Execute the same query in the psql shell, and see what it returns; check if it's what you wanted. The httpd.conf part seems ok to me, I'm using the same options, but with encrytion and without the logging. Also it may be easier to debug and to see through the situation if you omit the currently irrelevant parts from you config, like the pgsql logging. Also you may want to check if the pgsql table/db's permissions allow the access for the connecting pgsql role. Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: virtualhost and httpd -U output
On Thu, Nov 18, 2010 at 16:17:03 +0200, lilit-aibolit wrote: I check httpd.conf and can't find another NameVirtualHost *:80 directive, and another files with that directive. but I have commented #DocumentRoot /var/www/htdocs and #ServerName xxx.com.ua directives and nothing change in httpd-U output command. FWIW, you need exactly one NameVirtualHosts directive with either an ip address, hostname, or wildcard. Depending on what you want, you can either configure an ip-based virtual host, or a name-based virtual host setup. Each one is explained here: http://httpd.apache.org/docs/1.3/vhosts/ip-based.html http://httpd.apache.org/docs/1.3/vhosts/name-based.html Here is an ip-based example: NameVirtualHost 10.0.0.1:80 VirtualHost 10.0.0.1:80 ServerName www.example.com ServerAlias example.com ServerAdmin webmas...@example.com DocumentRoot /htdocs/www.example.com/ /VirtualHost VirtualHost 10.0.0.1:80 ServerName www.another-example.com ServerAlias another-example.com ServerAdmin webmas...@another-example.com DocumentRoot /htdocs/www.another-example.com/ /VirtualHost Then if you type in the www.example.com in the browser, you'll reach /htdocs/www.example.com and if you type www.another-example.com in the browser you'll reach /htdocs/www.another-example.com. HTH, Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: Lenovo ThinkPad T60 won't resume
On Mon, Nov 01, 2010 at 08:33:41 -0700, Philip Guenther wrote: [...] Did files change when you did your cvs update (maybe the mirror you update from is slow)? In particular, sys/dev/acpi/{acpi.c,acpivar.h,dsdt.c} should have been updated and should now have $OpenBSD: lines with my name in them. Yes, that is the case. Next, assuming that that's the case, had you ever done a make depend in that kernel compile directory? Hmm, there have been changes not too long ago that required running 'config' again, so if you've carried this kernel compile directory around a while then you should delete it and start with a config again. I've started with a clean GENERIC.MP dir. If that's all correct, then you're going to need to do some digging of your own to help track this down. What was the update time/date of the last kernel that you are sure could resume? Can you confirm that by updating to that date with cvs update -D2010/10/XX and building the result? (You should toast the compile directory in each case when doing this sort of thing.) If that confirms a success, then do a binary search from that date to the present. If not, back up further and try again... I mean, come on, worked before, stopped working, still doesn't work gives us nothing to go on for what broke your box. That last commit was what broke resume on _my_ thinkpad... It never worked before. The most I could get out of resume is a non-resumed display, back in august when testing [1]. I could type in 'reboot' blindly but that's all. [1]: http://marc.info/?l=openbsd-techm=128106745707385w=2 Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: Lenovo ThinkPad T60 won't resume
On Tue, Nov 02, 2010 at 05:41:29 -0800, Bryan Linton wrote: [...] There was a brief window in in late July/early August about a week long where it would successfully suspend and resume, but the screen would never turn back on. Anytime before or after that and it would suspend fine, but when it resumes it's totally unresponsive to anything except a 4 second press of the power button. [...] Exactly my symptoms. Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: Lenovo ThinkPad T60 won't resume
On Sun, Oct 31, 2010 at 23:07:40 +, percy piper wrote: It has an ATI Radeon Mobility X1400 btw. I have the same issue with resume. Did either of you have working resume ever before? The farthest I could got with resume was a not resumed video display. I could type in reboot and not have to turn off the machine, but that's all. Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: Lenovo ThinkPad T60 won't resume
On Sun, Oct 31, 2010 at 15:06:29 -0700, Philip Guenther wrote: On Sunday, October 31, 2010, LEVAI Daniel l...@ecentrum.hu wrote: My Lenovo ThinkPad won't resume after suspend. When suspending, the little moon led lights up, and when resuming it blinks, but that's all. ... Problem commit has been backed out. Update sys/ and rebuild. I'm sorry to say, but with the new kernel, I still can't get this machine to resume. The dmesg haven't changed at all (except of course the first version line), and the pcidump -v output is the same too. I've uploaded the new acpidump to, I don't know if it has changed: http://leva.ecentrum.hu/acpidump/t60_2.tar.gz Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Lenovo ThinkPad T60 won't resume
Hi! My Lenovo ThinkPad won't resume after suspend. When suspending, the little moon led lights up, and when resuming it blinks, but that's all. Typing reboot and stuff blindly doesn't work, so I guess not just the video device stays off. It has an ATI Radeon Mobility X1400 btw. = acpidump -v http://leva.ecentrum.hu/acpidump/t60.tar.gz = pcidump -v Domain /dev/pci0: 0:0:0: Intel 82945GM Host 0x: Vendor ID: 8086 Product ID: 27a0 0x0004: Command: 0106 Status ID: 2090 0x0008: Class: 06 Subclass: 00 Interface: 00 Revision: 03 0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00 0x0010: BAR empty () 0x0014: BAR empty () 0x0018: BAR empty () 0x001c: BAR empty () 0x0020: BAR empty () 0x0024: BAR empty () 0x0028: Cardbus CIS: 0x002c: Subsystem Vendor ID: 17aa Product ID: 2015 0x0030: Expansion ROM Base Address: 0x0038: 0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00 0x00e0: Capability 0x09: Vendor Specific 0:1:0: Intel 82945GM PCIE 0x: Vendor ID: 8086 Product ID: 27a1 0x0004: Command: 0107 Status ID: 0010 0x0008: Class: 06 Subclass: 04 Interface: 00 Revision: 03 0x000c: BIST: 00 Header Type: 01 Latency Timer: 00 Cache Line Size: 10 0x0010: 0x0014: 0x0018: Primary Bus: 0 Secondary Bus: 1 Subordinate Bus: 1 Secondary Latency Timer: 00 0x001c: I/O Base: 20 I/O Limit: 20 Secondary Status: 2000 0x0020: Memory Base: ee10 Memory Limit: ee10 0x0024: Prefetch Memory Base: d801 Prefetch Memory Limit: dff1 0x0028: Prefetch Memory Base Upper 32 Bits: 0x002c: Prefetch Memory Limit Upper 32 Bits: 0x0030: I/O Base Upper 16 Bits: I/O Limit Upper 16 Bits: 0x0038: Expansion ROM Base Address: 0x003c: Interrupt Pin: 01 Line: 0b Bridge Control: 001c 0x0088: Capability 0x0d: PCI-PCI 0x0080: Capability 0x01: Power Management 0x0090: Capability 0x05: Message Signaled Interrupts (MSI) 0x00a0: Capability 0x10: PCI Express Link Speed: 2.5 / 2.5 Gb/s Link Width: x16 / x16 0:27:0: Intel 82801GB HD Audio 0x: Vendor ID: 8086 Product ID: 27d8 0x0004: Command: 0106 Status ID: 0010 0x0008: Class: 04 Subclass: 03 Interface: 00 Revision: 02 0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 10 0x0010: BAR mem 64bit addr: 0xee40/0x4000 0x0018: BAR empty () 0x001c: BAR empty () 0x0020: BAR empty () 0x0024: BAR empty () 0x0028: Cardbus CIS: 0x002c: Subsystem Vendor ID: 17aa Product ID: 2010 0x0030: Expansion ROM Base Address: 0x0038: 0x003c: Interrupt Pin: 02 Line: 0b Min Gnt: 00 Max Lat: 00 0x0050: Capability 0x01: Power Management 0x0060: Capability 0x05: Message Signaled Interrupts (MSI) 0x0070: Capability 0x10: PCI Express 0:28:0: Intel 82801GB PCIE 0x: Vendor ID: 8086 Product ID: 27d0 0x0004: Command: 0107 Status ID: 0010 0x0008: Class: 06 Subclass: 04 Interface: 00 Revision: 02 0x000c: BIST: 00 Header Type: 81 Latency Timer: 00 Cache Line Size: 10 0x0010: 0x0014: 0x0018: Primary Bus: 0 Secondary Bus: 2 Subordinate Bus: 2 Secondary Latency Timer: 00 0x001c: I/O Base: 30 I/O Limit: 30 Secondary Status: 2000 0x0020: Memory Base: ee00 Memory Limit: ee00 0x0024: Prefetch Memory Base: fff1 Prefetch Memory Limit: 0001 0x0028: Prefetch Memory Base Upper 32 Bits: 0x002c: Prefetch Memory Limit Upper 32 Bits: 0x0030: I/O Base Upper 16 Bits: I/O Limit Upper 16 Bits: 0x0038: Expansion ROM Base Address: 0x003c: Interrupt Pin: 01 Line: 0b Bridge Control: 0004 0x0040: Capability 0x10: PCI Express Link Speed: 2.5 / 2.5 Gb/s Link Width: x1 / x1 0x0080: Capability 0x05: Message Signaled Interrupts (MSI) 0x0090: Capability 0x0d: PCI-PCI 0x00a0: Capability 0x01: Power Management 0:28:1: Intel 82801GB PCIE 0x: Vendor ID: 8086 Product ID: 27d2 0x0004: Command: 0107 Status ID: 0010 0x0008: Class: 06 Subclass: 04 Interface: 00 Revision: 02 0x000c: BIST: 00 Header Type: 81 Latency Timer: 00 Cache Line Size: 10 0x0010: 0x0014: 0x0018: Primary Bus: 0 Secondary Bus: 3 Subordinate Bus: 3 Secondary Latency Timer: 00 0x001c: I/O Base: 40 I/O Limit: 50 Secondary Status: 2000 0x0020: Memory Base: ec00 Memory Limit: edf0
Re: -current is not really -current
On Thu, Oct 28, 2010 at 00:59:40 -0400, bsdmas...@hushmail.com wrote: [...] Please contact me about this matter, I will reply directly to you with my desired username for my @openbsd.org email address, please don't just go creating it all for me without contacting me first to get my opinion because sometimes email addresses can be ugly and I don't like that. You're welcome. :D I laughed so hard. This is really a good start of my day :) This *has* to be made up by some of you guys :D Is this a practical joke on someone? Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
ports building machine?
Hi! I'm just curious, and hope you guys don't mind that I ask. Will this be the -stable ports building machine?: List: openbsd-cvs Subject:CVS: cvs.openbsd.org: www CVSROOT: /cvs Module name: www Changes by: step...@cvs.openbsd.org 2010/09/02 08:18:47 Modified files: . : donations.html Log message: Dalco AG Switzerland has donated a nice ports building machine. Thank you very much! Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F