Re: sed vs gsed and \+ difference

2016-07-28 Thread David Vasek
On Thu, 28 Jul 2016, Jiri B wrote: Hi, I can't understand a difference between OpenBSD and GNU sed when handling '\+' (one or more). Example: $ echo 'tzdata-2016a-1.el7.noarch.rpm' | sed 's/\(tzdata\)\+.*/\1/' tzdata-2016a-1.el7.noarch.rpm $ echo 'tzdata-2016a-1.el7.noarch.rpm' | gsed

Re: Interesting error message from disk testing

2016-06-28 Thread David Vasek
On Tue, 28 Jun 2016, STeve Andre' wrote: I am testing some new 8TB disks. I've taken to doing dd if=/dev/zero of=/dev/rsd3c bs=64k and dd if=/dev/rsd3c of=/dev/null bs=64k as a first test. It's depressing how often I've found problems on big disks. Today, the read test produced an

Re: where is the image of openbsd arm ?

2016-06-24 Thread David Vasek
On Fri, 24 Jun 2016, Christian Weisgerber wrote: On 2016-06-24, "Jacob L. Leifman" wrote: Is it possible to add more wired NICs to the APU? Not really. You could add more ports with a mini-PCIe dual/quad NIC, but you would have to build your own case. As there are

Re: Is true that the BSD developers were inspired to make their code free software by the example of the GNU Project, and explicit appeals from GNU activists helped persuade them?

2016-02-16 Thread David Vasek
On Tue, 16 Feb 2016, Alexey Suslikov wrote: Jorge Luis gmail.com> writes: Is true that the BSD developers were inspired to make their code free software by the example of the GNU Project, and explicit appeals from GNU activists helped persuade them? If no, what is the true story of BSD

Re: Backup of OpenBSD to Linux box

2015-06-16 Thread David Vasek
On Mon, 15 Jun 2015, Nick Holland wrote: On 06/15/15 12:54, Liviu Daia wrote: The other downside, if you use the --link-dest option, is that there's always only one copy of each file. A few days ago there was a post on SO by somebody who used that system, and found out that his backup

ASF, AMT and PCIe cards (Re: WOL support for bge driver)

2015-05-18 Thread David Vasek
On Mon, 18 May 2015, Stefan Sperling wrote: OTOH, many laptops nowadays ship with Intel AMT and suffer the same issue or worse. Yet we still run on them. Current AMT versions have an attack surface that dwarfs ASF's. Perhaps this is a lost cause and we'll simply have to accept that a lot of

Re: disk change-out and packages

2015-03-04 Thread David Vasek
On Wed, 4 Mar 2015, Ed Ahlsen-Girard wrote: I decided to upgrade the internal drive, so I hooked up the new on on the CD's usual SATA channel and installed, having adjust the disklabel more to suit me (the auto partition of /usr left it really tight on space, and home was not big enough).

Re: vnconfig crypto alternative

2014-11-25 Thread David Vasek
On Tue, 25 Nov 2014, Jason Tubnor wrote: With crypto being deprecated (and possibly removed in future versions - depending on dev direction) from vnconfig, would the following be assumed one way of providing an encrypted container? To create 200MB encrypted container: sudo dd if=/dev/zero

Re: 5.6 on Axiomtek NA570: BIOS freeze on reboot

2014-10-27 Thread David Vasek
On Mon, 27 Oct 2014, Harald Dunkel wrote: Hi folks, I've got 2 NA570 (a network appliance from Axiomtek). Problem: OpenBSD 5.6 installs fine, but this seems to poison the installation target disk somehow. It doesn't boot. :-( I have to overwrite the MBR just to make the BIOS work again. Or I

Re: encrypted vnd Fwd: CVS: cvs.openbsd.org: src

2014-10-15 Thread David Vasek
On Mon, 18 Aug 2014, Jason Tubnor wrote: On 2 June 2014 10:23, Ted Unangst t...@tedunangst.com wrote: Part of the deprecation / migration process is identifying the weird ways people use vnd and finding solutions for them. But as we've seen, people never move forward without the occasional

piping password to vnconfig(8)

2014-10-13 Thread David Vasek
Hello, I see this question appeared a few times in the past, but without a complete answer. Is there a trick, preferrably a simple one, to make vnconfig(8) read the password from stdin? Thank you. Regards, David

Re: FFS1: already clean, but inconsistent

2014-08-10 Thread David Vasek
On Sat, 9 Aug 2014, Philip Guenther wrote: [...] Is there any explanation for the two additional links in the reference count? Should I be worried that I've lost two subdirectories somehow? Maybe? It could have been a bogus duplicated increment from some bug and everything is fine, or it

Re: openbsd and badusb

2014-08-09 Thread David Vasek
Hello, I have already met something of that kind. Not exactly, but very close. A USB flash drive that changes its vendor and model on the fly. Both strings and IDs changed. Light intensity of the blinking LED also changed at the same time. Just plug and unplug. I think that in a similar way

FFS1: already clean, but inconsistent

2014-08-09 Thread David Vasek
Hello, I encountered the following issue on my FFS1 data filesystem. It didn't suffer any unclean shutdown since at least last fsck(8) run (yes, it is already clean), nonetheless fsck(8) reports incorrect link count of one of the directories. It didn't complain before and the filesystem never

Re: Price of Unix

2014-06-10 Thread David Vasek
On Tue, 10 Jun 2014, Nick Holland wrote: UNIX System V, Release 2.0, Source Code (1) .. $43,000.00 Each Additional CPU .. $16,000.00 And so on.. :-) OpenBSD: Unix, now more than 99.8% off!! AND free additional CPUs! What a deal! Go buy a cd set now! It's an

Re: Weird disk problem

2014-06-10 Thread David Vasek
On Sun, 8 Jun 2014, Christian Weisgerber wrote: On 2014-06-05, David Vasek va...@fido.cz wrote: Did you try smartctl from smartmontools for a more detailed report? I assume there is a 1000-page SMART spec somewhere that would come in handy for interpreting the responses? I'm not an expert

Re: Weird disk problem

2014-06-05 Thread David Vasek
On Thu, 5 Jun 2014, Christian Weisgerber wrote: I have a 3TB disk here... sd1 at scsibus1 targ 1 lun 0: ATA, Hitachi HUA72303, MKAO SCSI3 0/direct fixed naa.5000cca225c5fbeb sd1: 2861588MB, 512 bytes/sector, 5860533168 sectors ... that's serving as a general media dump with a single FFS2

Re: encrypted vnd Fwd: CVS: cvs.openbsd.org: src

2014-06-01 Thread David Vasek
On Fri, 30 May 2014, Theo de Raadt wrote: Robert [info...@die-optimisten.net] wrote: On Fri, 30 May 2014 12:19:35 -0400 Ted Unangst t...@tedunangst.com wrote: WARNING: Encrypted vnd is insecure. Migrate your data to softraid before 5.7. Will 5.6 softraid support block sizes other than 512

another CPU frequency bug

2014-05-10 Thread David Vasek
Hello misc@ every time hw.setperf crosses the border between 50 and 49 in direction from higher to lower value, the MP kernel on this machine reports: CPU1: acpicpu setperf failed to alter frequency It only occurs with the MP kernels and the reported CPU is always CPU1. I see the

root.mail - a minor correction

2014-05-09 Thread David Vasek
Hello. Be consistent in what terms are used. Regards, David Index: etc/root/root.mail === RCS file: /cvs/src/etc/root/root.mail,v retrieving revision 1.101 diff -u -p -u -r1.101 root.mail --- etc/root/root.mail 26 Feb 2014

Re: Weird disklabel problem

2014-05-01 Thread David Vasek
On Wed, 30 Apr 2014, Martijn Rijkeboer wrote: Hello, I've got a weird disklabel related problem (or so it seems). When I partition my harddisk with fdisk and add an OpenBSD (A6) primary partition the system can still boot, but once I place a disklabel on the partition (disklabel -E sd0) I

4k-sectors: installboot(8) wipes the disklabel(5)

2014-04-22 Thread David Vasek
Hello, the new installboot(8) wipes the disk label on a 4k-byte/sector drive - a valid disk label becomes binary zeros after /usr/sbin/installboot -r /mnt sd4 To be more precise, the boot sector (the first 512 bytes) gets installed, but the disk label (the next 512 bytes) is overwritten with

4k-sectors: dump(8) fails

2014-04-22 Thread David Vasek
Hello, some more 4k-bytes/sector fun today. dump(8) doesn't like the 4k-byte/sectors source devices. There is an output below as an example and also related patch for the man page. With restore(8), i did't encounter any problems when restoring dumps of regular 512-byte/sectors filesystems to

4k-sectors: growfs(8) fails

2014-04-22 Thread David Vasek
growfs(8) also fails on a 4k-byte/sector disk. Simple patch for the man page added. Connected OpenBSD/i386 BOOT 3.21 boot boot kernel/i386/bsd.mp -a booting hd0a:kernel/i386/bsd.mp:

Re: Dell PE R210 won't boot from install54.iso CD

2014-04-22 Thread David Vasek
On Tue, 22 Apr 2014, Mike Grau wrote: Not necessarily but possibly related, FreeBSD also cannot currently boot or run on many Dell R-series systems. It's an ongoing issue over there. -Adam I see ... Yes, it will not boot a FreeBSD 10.0 either. Guess I'm out of luck for now. You are

Re: crypto vnd(4) question

2014-03-25 Thread David Vasek
On Mon, 24 Mar 2014, Chris Cappuccio wrote: Keep in mind, vnd emulates 512 byte sectors because that's the default disklabel that it uses (You probably mean a disktab, not a disklabel.) I am aware of it. As vnd(4) is a descendant of svnd(4), mixing different sector sizes should not be a

Re: crypto vnd(4) question

2014-03-24 Thread David Vasek
On Sun, 23 Mar 2014, Robert wrote: Hi, I have two external USB disks, 3TB and 4TB, in use like that. So far no problems, even after hard reboots (power outage). They are used for backups, and it's USB 2.0 - so I can't really say much about intense writing... Hi, thanks for your response.

crypto vnd(4) question

2014-03-23 Thread David Vasek
Hello, I would like to ask you. Does anybody have a real life experience with a few TB large encrypted vnd(4) image which hosts a filesystem which is intensively written to and read from? In such a setup where the host device is a 4k-byte sector drive and the vnd(4) emulates a 512-byte sector

Re: new to OpenBSD and have a few questions

2014-02-09 Thread David Vasek
On Sun, 9 Feb 2014, d...@genunix.com wrote: snippage :: David Vasek va...@fido.cz said :: You do not have any MBR partitions on your drive, you used whole raw drive sd0c. Actually, I didn't. The install process did. I didn't see any other options presented and from the install log : What

Re: new to OpenBSD and have a few questions

2014-02-09 Thread David Vasek
On Sun, 9 Feb 2014, d...@genunix.com wrote: Actually, I didn't. The install process did. I didn't see any other options presented and from the install log : What platform is it on actually? Do you need to care about MBR and fdisk(8) at all? question one is easy : # uname -r 5.4 # uname

Re: Help troubleshooting performance problem

2013-12-02 Thread David Vasek
On Mon, 2 Dec 2013, Erling Westenvik wrote: On Mon, Dec 02, 2013 at 03:39:17PM +0100, Jan Lambertz wrote: I m not sure if you already investigated this but s.m.a.r.t. has quite many diagnostic info. Even if the drive has not actually been marked as broken. This is somewhat vendor dependent. I

newfs_msdos(8) creates faulty filesystems

2013-10-20 Thread David Vasek
Hello, a filesystem created by newfs_msdos(8) is reported as faulty by fsck_msdos(8). And it is indeed. Repeatable. There must be something wrong. The media itself (a USB flash drive) doesn't have any issues. # newfs -t msdos /dev/rsd4i /dev/rsd4i: 31224352 sectors in 3903044 FAT32 clusters

Re: ntfs with big files

2013-10-18 Thread David Vasek
On Thu, 17 Oct 2013, David Vasek wrote: On Fri, 11 Oct 2013, Joel Sing wrote: On Thu, 10 Oct 2013, Manuel Giraud wrote: Hi, I have a ntfs partition with rather large (about 3GB) files on it. When I copy these files on a ffs partition they are corrupted. When I try to checksum them directly

Re: ntfs with big files

2013-10-17 Thread David Vasek
On Fri, 11 Oct 2013, Joel Sing wrote: On Thu, 10 Oct 2013, Manuel Giraud wrote: Hi, I have a ntfs partition with rather large (about 3GB) files on it. When I copy these files on a ffs partition they are corrupted. When I try to checksum them directly from the ntfs partition the checksum is

Re: 4k-sector drives

2013-08-03 Thread David Vasek
On Sat, 3 Aug 2013, Robert wrote: While some disks emulate their 4k sectors as 512b, some don't. E.g., I have a WD My Book 1140 3TB external USB disk, which reports 4k. Softraid doesn't work with it, I have to use vnd instead (for encryption). Some new WD My Book models alegedly allow you to

4k-sector: wrong sector size in disk label

2013-07-22 Thread David Vasek
Hello. From the experiment below it seems that the kernel modifies its knowledge of a sector size of a disk hardware according to what can be found in the disk label sector. It does so even if the value found does not make sense hardware-wise and in spite of a sector size the hardware device

Re: 4k-sector: wrong sector size in disk label

2013-07-22 Thread David Vasek
On Mon, 22 Jul 2013, Kenneth R Westerback wrote: On Mon, Jul 22, 2013 at 01:56:16PM +0200, David Vasek wrote: Hello. From the experiment below it seems that the kernel modifies its knowledge of a sector size of a disk hardware according to what can be found in the disk label sector. It does

4k-sector drives

2013-07-21 Thread David Vasek
Hello misc@, are disks with logical sector sizes other than 512-bytes supported? I can get basic functionality with a 4k-sector drive, still there are some flaws. Does it make sense to report these bugs now, or is it too early? Regards, David

Re: 4k-sector drives

2013-07-21 Thread David Vasek
On Sun, 21 Jul 2013, Theo de Raadt wrote: are disks with logical sector sizes other than 512-bytes supported? I can get basic functionality with a 4k-sector drive, still there are some flaws. Does it make sense to report these bugs now, or is it too early? Thanks for your very detailed

Re: 4k-sector drives

2013-07-21 Thread David Vasek
Hello again. disklabel(8) writes its label sector outside of A6 partition, possibly into other partitions and overwrites data there. Looks like 512-byte sectors are silently expected somewhere here, but I didn't check the code. In the example below the label sector has been written to offset

4k-sector NTFS can't be mounted

2013-07-21 Thread David Vasek
Hello, I guess this one is something expected. A 4k-sector NTFS filesystem can't be mounted as of 5.3/i386. OTOH, it works with Windows XP. Can't say if it is a bug since there is no public NTFS specifications. But Windows people are using such filesystems. Regards, David dmesg: --

Re: My OpenBSD 5.0 installation experience (long rant)

2012-03-07 Thread David Vasek
On Wed, 7 Mar 2012, Donald Allen wrote: While the FAQ is indeed clear, the installer's simplicity appears at that point a little deceptive, in that one (I know I was) is tempted to think that such a user-friendly installer would not harm one so easily... I disagree. I think the installer is

Re: My OpenBSD 5.0 installation experience (long rant)

2012-03-07 Thread David Vasek
On Wed, 7 Mar 2012, Amit Kulkarni wrote: On Wed, Mar 7, 2012 at 11:19 AM, David Vasek va...@fido.cz wrote: On Wed, 7 Mar 2012, Donald Allen wrote: While the FAQ is indeed clear, the installer's simplicity appears at that point a little deceptive, in that one (I know I was) is tempted

Re: Is fdisk partition a must for a non-system disk on i386

2012-02-18 Thread David Vasek
On Thu, 16 Feb 2012, Stuart Henderson wrote: On 2012-02-15, David Vasek va...@fido.cz wrote: In contrast, Marco, as the author of softraid(4), says the opposite about use of fdisk, even on the physical disks. And what he says is more recent than the example in the softraid(4) man page. http

Re: Is fdisk partition a must for a non-system disk on i386

2012-02-15 Thread David Vasek
On Tue, 7 Feb 2012, Nick Holland wrote: Just put the fdisk partition in place on every disk you want to use on an i386/amd64 and all other fdisk platforms. There are no good reasons not to, there are a lot of good reasons to do so. All the tools assume this is how the system is laid

Re: Is fdisk partition a must for a non-system disk on i386

2012-02-15 Thread David Vasek
On Wed, 15 Feb 2012, Nick Holland wrote: On 02/15/12 03:23, David Vasek wrote: On Tue, 7 Feb 2012, Nick Holland wrote: Just put the fdisk partition in place on every disk you want to use on an i386/amd64 and all other fdisk platforms. There are no good reasons not to, there are a lot

Re: How to add new non-continuous A6 partition after install

2012-01-23 Thread David Vasek
On Mon, 23 Jan 2012, Marc Espie wrote: On Mon, Jan 23, 2012 at 05:26:33AM +, lbvvbooo lbvvbooo wrote: For kinds of reasons, my disk is partitionized like this: 1st partition is for Windows system(Primary) 2nd is for OpenBSD(Primary) 3rd is Windows extended partition(Extended) 4th is

Re: ufs journal ?

2011-12-28 Thread David Vasek
On Tue, 27 Dec 2011, Otto Moerbeek wrote: There are several way to speedup fsck which are available now: - Use larger block and fragment sizes when doing a newfs, of course this requires rebuilding the file system - Recent versions of OpenBSd have some improvements with fsck that kick in when

Re: Upgrading AMD64 4.9-stable to 5.0

2011-12-19 Thread David Vasek
On Mon, 19 Dec 2011, Christiano F. Haesbaert wrote: On 19 December 2011 16:20, Richard Thornton thornton.rich...@gmail.com wrote: Do a simple clean 5.0 install. One would assume any browser package in the packages folder would install. None do for me on sparc, but with a clean 4.9 install all

Re: Copy root partition to another machine

2011-11-06 Thread David Vasek
On Sun, 6 Nov 2011, Benny Lofgren wrote: On 2011-11-06 18.00, Bambero wrote: Thanks, but without skip=1 dd will copy partition table and mbr too (first block 521b). So it may damage my partition table on second machine. I'm I wrong ? No, you will not copy the partition table with your

Re: kernel panic on openbsd i386 snapshot 20111103

2011-11-05 Thread David Vasek
On Sat, 5 Nov 2011, Norman Golisz wrote: On Sat Nov 5 2011 09:13, Forman, Jeffrey wrote: Am I barking up the wrong tree trying to deduce if I really do have a hardware problem? I am open to accepting diffs and compiling from source if other developers think there might be a bug to fix here.

Re: Laptop hard drive and emergency unload

2011-09-04 Thread David Vasek
On Sun, 4 Sep 2011, Benny Lofgren wrote: On 2011-09-04 07.39, David Vasek wrote: No, Marco, it is not true. There is a difference between unloading the heads in a controlled way and by an emergency retract. Doing emergency retract repeatedly is not good, really. That used to be true

Re: Laptop hard drive and emergency unload

2011-09-03 Thread David Vasek
No, Marco, it is not true. There is a difference between unloading the heads in a controlled way and by an emergency retract. Doing emergency retract repeatedly is not good, really. Regards, David On Sat, 3 Sep 2011, Marco Peereboom wrote: Removing power from a running drive won't do

Re: 'real mem' in dmesg much lower than expected?

2011-08-20 Thread David Vasek
On Sat, 20 Aug 2011, Dave Anderson wrote: Thanks to all who've replied. It seems kind of disgusting that a modern video card can grab 1/4 of the available physical address space on i386, but I suppose that pretty much everyone with such a card is running amd64 instead. If you want to feel

Re: installing OpenBSD 4.9 to external USB harddisk: Disk does not boot

2011-08-08 Thread David Vasek
On Mon, 8 Aug 2011, Michael Treibton wrote: is there a cleverer way of doing this? i just do not have the infrastructure here to attempt a serial capture, despite the well-documented instructions in the OBSD docs. i can get the output you want, although because the installer doesn't have scp

Re: installing OpenBSD 4.9 to external USB harddisk: Disk does not boot

2011-08-08 Thread David Vasek
On Mon, 8 Aug 2011, David Vasek wrote: On Sun, 7 Aug 2011, Ted Unangst wrote: On Mon, Aug 08, 2011, Michael Treibton wrote: is there a cleverer way of doing this? i just do not have the infrastructure here to attempt a serial capture, despite the well-documented instructions in the OBSD

Re: Load average question

2011-08-08 Thread David Vasek
On Mon, 8 Aug 2011, Rikky Taylor wrote: I am a little puzzled by how openbsd calculated load avaerage. I have a server running 4.9 i386 that should be doing very little indeed yet has a consistent load average of 0.6-0.9 Other similar servers have consisten load averages of 0.05-0.1 when i

Re: hibernation with APM

2011-08-07 Thread David Vasek
Peereboom wrote: run apmd at startup then type apm -z to initiate it. Works like a charm on most laptops of quality. On Sun, Aug 07, 2011 at 12:54:22AM +0200, David Vasek wrote: Hello all, does anybody please know if there is a way to initiate hibernation on APM equipped laptops that support

Re: installing OpenBSD 4.9 to external USB harddisk: Disk does not boot

2011-08-07 Thread David Vasek
On Sun, 7 Aug 2011, Michael Treibton wrote: If there's a means of providing more information to help with this, please say. I guess the devs would like to see the output from OpenBSD fdisk(8) and disklabel(8), rather than from Linux. You can obtain those by selecting the (S)hell in the

hibernation with APM

2011-08-06 Thread David Vasek
Hello all, does anybody please know if there is a way to initiate hibernation on APM equipped laptops that support it *from software*? Thanks for answers. Regards, David

Re: Building kernel outside /usr/src/sys -- from the FAQ

2011-07-29 Thread David Vasek
On Fri, 29 Jul 2011, Gilles Chehade wrote: On Fri, Jul 29, 2011 at 10:43:52AM +0200, David Vasek wrote: On Fri, 29 Jul 2011, Amarendra Godbole wrote: Hi, http://www.openbsd.org/faq/faq5.html#BldKernel has a section Variation on above process: Read-only source tree, which talks about

Re: PC for assembly learning purposes

2011-07-24 Thread David Vasek
On Sun, 24 Jul 2011, Tomas Vavrys wrote: This device will be used only for my learning purposes. I would like to jump on C and compilers later. Is it better to start with RISC or CISC? Should I buy rather x86? Buy the platfrom you want to learn. x86 architecture is full of its design issues

Re: PC for assembly learning purposes

2011-07-24 Thread David Vasek
wrote: David, If learning a sane and proper computer architecture is the perpose, what system do you recommend from the list of platform that OBSD supports? thanks and regards, bill David Vasek va...@fido.cz )s 2011~7$k24$i $U$H7:52 g9D!G On Sun, 24 Jul 2011, Tomas Vavrys wrote

Re: PC for assembly learning purposes

2011-07-24 Thread David Vasek
this architecture? 2011/7/24 David Vasek va...@fido.cz: Hi! I am not the right person to answer this and don't want to spread any nonsense. There are others here who are. What I can say is, any m68k CPU in its era was much much saner than any member of the x86 family. Today, I would rather

Re: Absurdly high temperature reading - system shutdown

2011-06-17 Thread David Vasek
On Thu, 16 Jun 2011, Michal Mazurek wrote: After moving my old laptop around I got home, booted it and got a very distressing message: messages.2.gz:Jun 14 22:40:09 hopek /bsd: acpitz2: Critical temperature 4938C (52112K), shutting down Shouldn't the sc_tmp, sc_crt and other variables be

Re: How do I exclude a directory using tar in OpenBSD?

2011-06-02 Thread David Vasek
On Thu, 2 Jun 2011, Nico Kadel-Garcia wrote: GNU tools have become the industry standard, for a stack of reasons. I've had similar issues with the cp command, and its lack of cp -a. I've had similar issues with pax(1) command missing from systems based on GNU industry standard, and their

Re: putty or ssh, screen $cmd

2011-05-28 Thread David Vasek
On Sat, 28 May 2011, gilbert.fernan...@orange.fr wrote: If you try screen on some machines, you will crash so badly that even DDB inside the kernel is frozen after displaying one or two lines of panic. At first, you wonder. Then you try tmux, and it no longer crashes. Never blame an

Re: Things to do with a Pentium 166MHz cpu - 32 MB of RAM - 1.5 GB disk

2011-05-18 Thread David Vasek
On Sun, 15 May 2011, Nick Holland wrote: What dissapoints me the most, is that there don't exist USB ports and they might not even be supported, the pc is from 1998. I could use rtorrent with screen to download stuff to an external hard drive.. But I will check on that when I find the time to

Re: Things to do with a Pentium 166MHz cpu - 32 MB of RAM - 1.5 GB disk

2011-05-18 Thread David Vasek
On Wed, 18 May 2011, David Coppa wrote: On Wed, May 18, 2011 at 12:16 PM, David Vasek va...@fido.cz wrote: On Sun, 15 May 2011, Nick Holland wrote: What dissapoints me the most, is that there don't exist USB ports and they might not even be supported, the pc is from 1998. I could use

Re: uaudio

2011-05-08 Thread David Vasek
On Sun, 8 May 2011, Jan Stary wrote: Is it OK for an uaudio(4) device to have 0 mixer controls? I can control the respective inputs/outputs with the device's (hardware) knobs, but having 0 (software) mixerctl variables still seems a bit strange. Is it possible that the device really has 0

Re: dmesg for notebooks useful?

2011-04-27 Thread David Vasek
On Thu, 28 Apr 2011, Jonathan Gray wrote: Yes, this would help. Though a bunch of things affecting recent laptops have gone in during the last few weeks so you should update to a newer snapshot if possible. Btw, is the dmesg enough as a general survey, or is the sendbug(1) output more

Re: vnconfig wd1 disklabel dissapearing

2011-04-19 Thread David Vasek
On Tue, 19 Apr 2011, Kevin Chadwick wrote: On Tue, 19 Apr 2011 10:18:20 + Kevin Chadwick wrote: /sbin/disklabel -E wd1 /sbin/vnconfig -ck svnd0 /dev/wd1a /sbin/disklabel -E svnd0 /sbin/newfs /dev/rsvnd0a /sbin/newfs /dev/rsvnd0d /sbin/disklabel -E wd0 /sbin/vnconfig -ck svnd1

Re: top man page, clarification of interactive command 1

2011-03-25 Thread David Vasek
On Thu, 24 Mar 2011, Jason McIntyre wrote: On Thu, Mar 24, 2011 at 06:02:15PM +, Glen Anderson wrote: I liked the idea of using an adjective when talking about the combined statistics however cumulative isn't really an accurate term and while ostensibly mean seems appropriate I'm unsure

Re: top man page, clarification of interactive command 1

2011-03-24 Thread David Vasek
On Thu, 24 Mar 2011, Glen Anderson wrote: A small change to the interactive commands section to make the description of the 1 command more accurate. $ diff -u top.1 top.1.new --- top.1 Thu Mar 24 12:39:45 2011 +++ top.1.new Thu Mar 24 13:10:45 2011 @@ -282,7 +282,7 @@ .Sq P interactive

Re: Bind Package

2011-03-01 Thread David Vasek
On Tue, 1 Mar 2011, Eric Kom wrote: On 3/1/2011 7:31 AM, David Vasek wrote: On Tue, 1 Mar 2011, Eric Kom wrote: hi please i'm a new on openbsd, someone can give me the name of bind dns package? base49.tgz bind is provided by base49 package or named package? Well no, I meant

Re: Computer stops responding (freezes up) during uncorrectable data error

2011-01-27 Thread David Vasek
On Thu, 27 Jan 2011, Gordon Ferris wrote: 2. What utilities will show which sectors are occupied by specific files? Ideally I could specify a range of sectors and a list of files using those sectors would be provided. It would also be nice to specify files and be shown which sectors they

Re: How many cores into the processor?

2010-12-18 Thread David Vasek
On Sat, 18 Dec 2010, Theo de Raadt wrote: #sysctl hw.ncpu #sysctl hw.ncpufound I got the same response, and it's the number of processors, but I don4t know anything about the cores. Any idea how to get that info? You look at dmesg, and then at your processor manual. We do not expose these

Re: Freeze with Western Digital Caviar Green HDD

2010-12-12 Thread David Vasek
On Fri, 10 Dec 2010, Nick Holland wrote: Me? I usually buy whatever is cheap and on sale. Some manufacturers have the advantage of providing good documentation for their drives, some others do not have any at all. Regards, David

Re: Lenovo

2010-12-02 Thread David Vasek
On Thu, 2 Dec 2010, Jean-Francois wrote: Hi All, Are Lenovo, say for example T410 or equivalent professional laptops ok with OpeNBSD in terms of compatibility ? Any things to take care about ? Yes. Nvidia. Avoid it. Regards, David

Re: Advice on learning C as first language

2010-11-25 Thread David Vasek
On Wed, 24 Nov 2010, James Hozier wrote: I have to learn ASM anyway (to learn about buffer overflows and other related topics in the family of memory-related security). Would there be any advantage to learning Assembly first or would that just be an unneccessary headache? Soon you will be

Re: laptop disk shows wierd contents when moved to external enclosure

2010-10-18 Thread David Vasek
On Sun, 17 Oct 2010, Jonathan Thornburg wrote: Summary --- My primary laptop (nitrogen) died, so I moved its disk to a backup laptop (oxygen). That laptop then died. :( I have now moved the former-nitrogen-disk to an external enclosure so that I can access my files via USB from still

Re: undeadly article

2010-08-16 Thread David Vasek
On Mon, 16 Aug 2010, Mihai Popescu B.S. wrote: Hello, I have read the undeadly.org article about how to play with airport security. I don't know who is the guy acting like this on an airport, but my brain triggered something I read in the past, about a well known guy from open source who was

Re: mount ffs as msdos, system hangs

2010-07-26 Thread David Vasek
On Mon, 26 Jul 2010, frantisek holop wrote: hmm, on Mon, Jul 26, 2010 at 12:12:32AM +0200, David Vasek said that It is not what happened. The -t msdos was forced by you. But you ah shit. you are right :] and it worked because ffs does not overwrite the beginning of the partition. i

Re: mount ffs as msdos, system hangs

2010-07-26 Thread David Vasek
On Mon, 26 Jul 2010, frantisek holop wrote: since my first email, i see what i did wrong... that was the point of writing to the mail list in the first place, to see if i was doing something silly. turns out i was. does that warrant abuse? of course it does, i am not new here. i also see,

Re: mount ffs as msdos, system hangs

2010-07-25 Thread David Vasek
On Sun, 25 Jul 2010, frantisek holop wrote: hmm, on Sun, Jul 25, 2010 at 02:29:25PM -0600, Theo de Raadt said that i think it doesnt matter what the user is, this shouldnt be happening. We make the source code available, and yet noone here has even sat down for 30 seconds and gone and

Re: power management of USB-connected disks

2010-07-20 Thread David Vasek
On Tue, 20 Jul 2010, David Gwynne wrote: On 20/07/2010, at 2:48 AM, Jan Stary wrote: I run a small server using an ALIX box and a CF card (wd0) plus two external disks (sd0, sd1) - see the dmesg at bottom. The CF card holds the system, while the two external disks are big storages that are

Re: whiteboard over the net

2010-03-30 Thread David Vasek
On Tue, 30 Mar 2010, Marco Peereboom wrote: Drawing shit with the mouse. Not typing stuff with the keybored. A drawing app of your choice + a VNC of your choice? I used such a setup several times with various OS's. Regards, David

Re: RouterBOARD RB600A support

2010-03-23 Thread David Vasek
On Mon, 8 Mar 2010, Mark Kettenis wrote: I recently finished the support for the MicroTik RouterBOARD RB600A by giving OpenBSD/socppc a miniroot image that one can simply write to Compact Flash and stick onto the board. Detailed instructions have been added to INSTALL.socppc. All essential

Re: RouterBOARD RB600A support

2010-03-23 Thread David Vasek
On Tue, 23 Mar 2010, Otto Moerbeek wrote: On Tue, Mar 23, 2010 at 09:36:59PM +0100, David Vasek wrote: On Mon, 8 Mar 2010, Mark Kettenis wrote: I recently finished the support for the MicroTik RouterBOARD RB600A by giving OpenBSD/socppc a miniroot image that one can simply write to Compact

Re: RouterBOARD RB600A support

2010-03-23 Thread David Vasek
On Tue, 23 Mar 2010, Theo de Raadt wrote: Hi all, there are bad news about RB600A. As everybody can read on MicroTik's website, RB600A has suddenly been discontinued: http://www.routerboard.com/pricelist.php?showProduct=55 They also removed the case for this board. Why did this happen? It

Re: RouterBOARD RB600A support

2010-03-23 Thread David Vasek
On Tue, 23 Mar 2010, P. Souza wrote: On 23/03/2010, David Vasek va...@fido.cz wrote: Hi all, there are bad news about RB600A. As everybody can read on MicroTik's website, RB600A has suddenly been discontinued: ... There's a [new-ish] RB800. It's probably due to that. Could be. It has

Re: errata46.html update

2010-03-13 Thread David Vasek
On Fri, 12 Mar 2010, Christopher Ahrens wrote: You aren't missing anything, these are 2 different webservers: OpenBSD.org [199.185.137.3, IP registered to Theos Software] Perhaps Theo swapped it with them for theos.com. Good joke! Regards, David

Re: How to create an installation image of OpenBSD for a USB stick?

2010-03-04 Thread David Vasek
On Thu, 4 Mar 2010, David Vasek wrote: On Thu, 4 Mar 2010, Ilya Ilembitov wrote: Hi, all. I have a pretty tricky challenge before me. My main (and only) machine is a Lenovo Thinkpad X200s. The problem is that it doesn't have an optical drive. Second problem is that I live in a dorn, so I

Re: How to create an installation image of OpenBSD for a USB stick?

2010-03-04 Thread David Vasek
On Thu, 4 Mar 2010, Ilya Ilembitov wrote: Hi, all. I have a pretty tricky challenge before me. My main (and only) machine is a Lenovo Thinkpad X200s. The problem is that it doesn't have an optical drive. Second problem is that I live in a dorn, so I only have access to wireless connection,

Re: Another question: device naming convention

2010-01-22 Thread David Vasek
On Fri, 22 Jan 2010, Otto Moerbeek wrote: On Thu, Jan 21, 2010 at 11:34:48PM -0800, Johan Beisser wrote: You could makefs on /dev/sd0c instead. Nothing really forces you to create other slices (or partitions) on the device. Bad advice. disklabel does not record some redundant information

Re: current on HP EliteBook 8530w

2010-01-22 Thread David Vasek
On Fri, 22 Jan 2010, Jan Stary wrote: This is a fresh -current on an HP EliteBook 8530w (Mobile Workstation). Thank you all who make be able to run this. /bsd panics when booting when ACPI is enabled; boots and works just fine once ACPI is disabled (via UKC). See full dmesgs below. It is

Re: writing to usb very slow

2010-01-19 Thread David Vasek
On Tue, 19 Jan 2010, T. Tofus von Blisstein wrote: Hello, this is an example. Attached is a 1GB (fat!) usb memory stick. It took 40 minutes to copy 285M. This one was Jan 19 21:18:04 hux /bsd: umass0: using SCSI over Bulk-Only Jan 19 21:18:04 hux /bsd: scsibus1 at umass0: 2 targets,

Re: writing to usb very slow

2010-01-19 Thread David Vasek
On Tue, 19 Jan 2010, T. Tofus von Blisstein wrote: Hello David, thanks. You're welcome. # mount /dev/sd1a /mnt # date cp -r TEST/ /mnt umount /mnt date Tue Jan 19 23:11:27 CET 2010 Tue Jan 19 23:29:12 CET 2010 So it's reduced a lot, but still it is much slower than... sorry guys, the

Re: Which laptops do the developers use?

2010-01-18 Thread David Vasek
On Mon, 18 Jan 2010, Pete Vickers wrote: My MacBookPro with a recent snapshot works pretty good: # sysctl hw.product hw.product=MacBookPro2,2 FYI, the current MacPook Pro model is NVidia all the way. The wireless adapter is a Broadcom BCM4322. Other current Apple machines are very similar

Re: Which laptops do the developers use?

2010-01-18 Thread David Vasek
On Mon, 18 Jan 2010, Pete Vickers wrote: # cat /var/run/dmesg.boot OpenBSD 4.6-current (GENERIC.MP) #391: Fri Jan 15 14:55:45 MST 2010 t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM)2 CPU T7600 @ 2.33GHz (GenuineIntel 686-class) 2.33 GHz cpu0:

  1   2   >