Re: Is fdisk, disklabel and newfs enough to reset an SSD
On Tue, May 14, 2013 at 7:50 AM, Clint Pachl pa...@ecentryx.com wrote: Would dd'ing to the drive all 1s then all 0s be effective? Yes, and a complete waste of time. 'atactl drive secerase' will do the job for you. hdparm in linux has a similar command. But dd-ing twice is just idiotic. If you must use dd, one time is enough. -- chs,
Re: who is using obsd
On Mon, May 13, 2013 at 11:12 PM, Pau vim.u...@gmail.com wrote: on his/her laptop as *only* OS and uses it daily for scientific work? please contact me off list. Thanks I'm not sure if there will be some official readings available (you can try BSDmag and similar resources), but it's completely possible and fine as long as there's SW you need in packages/ports or compilation works on your own. And you know, here are in use tradional Unix/Unix-like things so everything is possible. Yes, having it as desktop instead of Windows and/or Linux is working perfectly.
Re: who is using obsd
On 13/05/2013, at 22:12, Pau vim.u...@gmail.com wrote: on his/her laptop as *only* OS and uses it daily for scientific work? please contact me off list. Thanks Doing statistical consulting for the pharma industry using 99% OpenBSD. Basic toolkit is LaTeX+R, both edited with vim, and LibreOffice. Plus a lot of git, some JabRef when needed, and mutt for email. All running under dwm and using oh so little memory. Occasionally LibreOffice will act up for some reason, and I need to borrow a Windows machine, but that's rare and either MS or LibreOffice's fault, not OpenBSD's. And then there are my servers, firewalls and network services, but I doubt you'd be interested in that.
Re: who is using obsd
I'm not using for scientific work but for all daily, as servers but also as workstation, graphical station sometimes only for scientific work like calculations of astronomical trajectories...that's all. From: Zé Loff zel...@zeloff.org Sent: Tue May 14 08:38:43 CEST 2013 To: vim.u...@gmail.com vim.u...@gmail.com Subject: Re: who is using obsd On 13/05/2013, at 22:12, Pau vim.u...@gmail.com wrote: on his/her laptop as *only* OS and uses it daily for scientific work? please contact me off list. Thanks Doing statistical consulting for the pharma industry using 99% OpenBSD. Basic toolkit is LaTeX+R, both edited with vim, and LibreOffice. Plus a lot of git, some JabRef when needed, and mutt for email. All running under dwm and using oh so little memory. Occasionally LibreOffice will act up for some reason, and I need to borrow a Windows machine, but that's rare and either MS or LibreOffice's fault, not OpenBSD's. And then there are my servers, firewalls and network services, but I doubt you'd be interested in that. Cordialement Francois Pussault 3701 - 8 rue Marcel Pagnol 31100 Toulouse France +33 6 17 230 820 +33 5 34 365 269 fpussa...@contactoffice.fr
Re: xenocara build failure
On Mon, May 13, 2013 at 09:15:17PM -0700, Marco S Hyman wrote: This is probably something stupid I'm doing, but I can't see it right this second. Trying to build xenocara from sources pulled from anon...@anoncvs3.usa.openbsd.org:/cvs as of about 60 minutes before sending this email message gives me snip *** Error 1 in /usr/xenocara (Makefile:35 'build') Any hints as to what I'm doing wrong? Are you using make in parallel (-j) mode? If so, please try without -j Maurice
out-of-order TCP
Anyone have any ideas about how to improve TCP performance with huge numbers of out-of-order packets? 62653661 packets received 25373283 acks (for 43239433893 bytes) 2225419 duplicate acks 20139430 packets (21139432159 bytes) received in-sequence 989606 completely duplicate packets (299125194 bytes) 51753 old duplicate packets 362 packets with some duplicate data (144255 bytes duplicated) 15927761 out-of-order packets (19170915512 bytes) 28812 packets (28812 bytes) of data after window 28812 window probes 259673 window update packets 38231 packets received after close 21 discarded for bad checksums 26790492 packets hardware-checksummed
Migrate Root Partition to another disk
Hi, I have added a second hard drive in my virtual machine, as my root partition is full. My idea was to add a new disk to the system, then migrate the root partition to the new disk. What I did so far : - In recovery, add the second hard drive, fdisk to initialize it, then disklabel to add a new slice. -- OK - Mounted the new partition, copied everything from root to the new partition, then changed /etc/fstab to the new disk, as well as /mnt/etc/fstab. But after restart, my system can't boot :( Any hint about that ? I have been able to migrate other partition without any problems, but I guess I'm missing something for the root partition.
Re: Migrate Root Partition to another disk
On Tue, May 14, 2013 at 11:08:49AM +0200, Adrien wrote: Hi, I have added a second hard drive in my virtual machine, as my root partition is full. My idea was to add a new disk to the system, then migrate the root partition to the new disk. What I did so far : - In recovery, add the second hard drive, fdisk to initialize it, then disklabel to add a new slice. -- OK - Mounted the new partition, copied everything from root to the new partition, then changed /etc/fstab to the new disk, as well as /mnt/etc/fstab. But after restart, my system can't boot :( Any hint about that ? I have been able to migrate other partition without any problems, but I guess I'm missing something for the root partition. man installboot -Otto
Re: who is using obsd
Gesendet: Dienstag, 14. Mai 2013 um 08:31 Uhr Von: Tomas Bodzar tomas.bod...@gmail.com on his/her laptop as *only* OS and uses it daily for scientific work? please contact me off list. Thanks I'm not sure if there will be some official readings available (you can try BSDmag and similar resources), but it's completely possible and fine as long as there's SW you need in packages/ports or compilation works on your own. And you know, here are in use tradional Unix/Unix-like things so everything is possible. Yes, having it as desktop instead of Windows and/or Linux is working perfectly. Full ACK. My impression is that most people who pretend that OpenBSD is not suited as a desktop system are either ingnorant or just outright lazy: - Ignorant on the fine work the developers and countless porters did and/or - lazy to read the documentation (or if of non-english mothertongue: too lazy to ask for help) There is NO general-purpose desktop-related task that cannot be done with OpenBSD! Full stop. ('Bling-Bling' is NO general purpose requirement!) Unless s.o. has to use some proprietary software that is tighly linked to internals of an other OS there is no technical reason to use any other OS as a basis for a desktop system - only personal likes (I can't live without my 'bling-bling'-ads) and dislikes (I don't want to do my homework). I happily use OpenBSD on my laptop and on an iMac for all day-to-day work as I have to ashure my clients that their data is save on my systems. No other OS gives me that level of confidence. STEFAN
Re: Re : Tux cups
Tue 14.May'13 at 9:04:27 +0930, Brett Lymn On Mon, May 13, 2013 at 11:58:08AM +0100, James Griffin wrote: I just use the base vi(1) and then fmt(1) to format the text. Same for mail(1) if use the command to write in an external editor. Why not: set editor=EXINIT=':set wrapmargin=8' vi %s in the muttrc? No need for fmt. Thanks Brett, I tried to find a way of doing something like that for some time, but failed. So thanks for the tip! very useful. -- James Griffin: jmz at kontrol.kode5.net jmzgriffin at gmail.com A4B9 E875 A18C 6E11 F46D B788 BEE6 1251 1D31 DC38
Re: who is using obsd
On 14/05/2013 10:15, Stefan Wollny wrote: Gesendet: Dienstag, 14. Mai 2013 um 08:31 Uhr Von: Tomas Bodzar tomas.bod...@gmail.com on his/her laptop as *only* OS and uses it daily for scientific work? please contact me off list. Thanks I'm not sure if there will be some official readings available (you can try BSDmag and similar resources), but it's completely possible and fine as long as there's SW you need in packages/ports or compilation works on your own. And you know, here are in use tradional Unix/Unix-like things so everything is possible. Yes, having it as desktop instead of Windows and/or Linux is working perfectly. Full ACK. My impression is that most people who pretend that OpenBSD is not suited as a desktop system are either ingnorant or just outright lazy: - Ignorant on the fine work the developers and countless porters did and/or - lazy to read the documentation (or if of non-english mothertongue: too lazy to ask for help) There is NO general-purpose desktop-related task that cannot be done with OpenBSD! Full stop. ('Bling-Bling' is NO general purpose requirement!) Unless s.o. has to use some proprietary software that is tighly linked to internals of an other OS there is no technical reason to use any other OS as a basis for a desktop system except for resume from suspend not working and video driver issues (yes, those will work on some laptops, but did not on my Macbook Pro, so that is a technical reason for using another OS) - only personal likes (I can't live without my 'bling-bling'-ads) and dislikes (I don't want to do my homework). I happily use OpenBSD on my laptop and on an iMac for all day-to-day work as I have to ashure my clients that their data is save on my systems. No other OS gives me that level of confidence. STEFAN -- Mark Duller IT Services, University of Oxford Network Security Team - OxCERT
Re: who is using obsd
Hi All, usage of an OS for desktop purposes is quite a broad term. Few cases for obsd not suitable as desktop: - At home, the WAF (Wife Acceptance Factor) for obsd on desktop is negative due lack of skype, and flash player. - At work, need for virtual machines on laptop is a must, not very well met in obsd. So correct answer is: it depends! best regards, Dilyan 2013/5/14 Mark Duller mark.dul...@it.ox.ac.uk On 14/05/2013 10:15, Stefan Wollny wrote: Gesendet: Dienstag, 14. Mai 2013 um 08:31 Uhr Von: Tomas Bodzar tomas.bod...@gmail.com on his/her laptop as *only* OS and uses it daily for scientific work? please contact me off list. Thanks I'm not sure if there will be some official readings available (you can try BSDmag and similar resources), but it's completely possible and fine as long as there's SW you need in packages/ports or compilation works on your own. And you know, here are in use tradional Unix/Unix-like things so everything is possible. Yes, having it as desktop instead of Windows and/or Linux is working perfectly. Full ACK. My impression is that most people who pretend that OpenBSD is not suited as a desktop system are either ingnorant or just outright lazy: - Ignorant on the fine work the developers and countless porters did and/or - lazy to read the documentation (or if of non-english mothertongue: too lazy to ask for help) There is NO general-purpose desktop-related task that cannot be done with OpenBSD! Full stop. ('Bling-Bling' is NO general purpose requirement!) Unless s.o. has to use some proprietary software that is tighly linked to internals of an other OS there is no technical reason to use any other OS as a basis for a desktop system except for resume from suspend not working and video driver issues (yes, those will work on some laptops, but did not on my Macbook Pro, so that is a technical reason for using another OS) - only personal likes (I can't live without my 'bling-bling'-ads) and dislikes (I don't want to do my homework). I happily use OpenBSD on my laptop and on an iMac for all day-to-day work as I have to ashure my clients that their data is save on my systems. No other OS gives me that level of confidence. STEFAN -- Mark Duller IT Services, University of Oxford Network Security Team - OxCERT
Re: who is using obsd
On Tue, May 14, 2013 at 11:18:07AM +0100, Mark Duller wrote: Unless s.o. has to use some proprietary software that is tighly linked to internals of an other OS there is no technical reason to use any other OS as a basis for a desktop system except for resume from suspend not working and video driver issues (yes, those will work on some laptops, but did not on my Macbook Pro, so that is a technical reason for using another OS) It used to work great until recent changes related to framebuffer and KMS :( Now I don't suspend anymore but just shutdown to prevent fsck running all the time because my T500 hangs after resuming. jirib
Re: Migrate Root Partition to another disk
Thanks. I have mounted my new hard drive to /mnt. Then I ran : /usr/mdec/installboot -v /mnt/boot /usr/mdec/biosboot sd2 Telling me that /boot will be written at sector 64. But I'm still booting with my old hdd :( Tried to enter boot hd1k:/bsd at boot prompt but it's telling me that no such file or directory. Seems my drive is good as during the early bootstage I have hd0+ (my old hdd) and hd1+ (new hdd). Can this be due to the fact my filesystem is currently read-only, as I have no more space left on my root partition ? 2013/5/14 Otto Moerbeek o...@drijf.net On Tue, May 14, 2013 at 11:08:49AM +0200, Adrien wrote: Hi, I have added a second hard drive in my virtual machine, as my root partition is full. My idea was to add a new disk to the system, then migrate the root partition to the new disk. What I did so far : - In recovery, add the second hard drive, fdisk to initialize it, then disklabel to add a new slice. -- OK - Mounted the new partition, copied everything from root to the new partition, then changed /etc/fstab to the new disk, as well as /mnt/etc/fstab. But after restart, my system can't boot :( Any hint about that ? I have been able to migrate other partition without any problems, but I guess I'm missing something for the root partition. man installboot -Otto
Re: who is using obsd
My impression is that most people who pretend that OpenBSD is not suited as a desktop system are either ingnorant or just outright lazy: - Ignorant on the fine work the developers and countless porters did and/or - lazy to read the documentation (or if of non-english mothertongue: too lazy to ask for help) There is NO general-purpose desktop-related task that cannot be done with OpenBSD! Full stop. ('Bling-Bling' is NO general purpose requirement!) Unless s.o. has to use some proprietary software that is tighly linked to internals of an other OS there is no technical reason to use any other OS as a basis for a desktop system except for resume from suspend not working and video driver issues (yes, those will work on some laptops, but did not on my Macbook Pro, so that is a technical reason for using another OS) If 'suspend/resume' fits under your definition of desktop-related task then this is a valid point for you (though: wasn't this solved already???). If it is not working than this is certainly an annoying issue - but: If turned off will you get your job done? If yes, than it does not meet MY definition of desktop-related task. (I prefer a clean shutdown anyway as this fits my workspace best. YMMV, of course.) And 'video driver issues' on a MB Pro - we're talking 'nVidia' here, right? That is a sad issue of its own kind ... :-( STEFAN
Re: Migrate Root Partition to another disk
On Tue, May 14, 2013 at 01:06:27PM +0200, Adrien wrote: Thanks. I have mounted my new hard drive to /mnt. You don't mount hard drives, you mount partititons. Tell us exactly what you did and show command output of fdisk and disklabel. Without that info, we can only guess. -Otto Then I ran : /usr/mdec/installboot -v /mnt/boot /usr/mdec/biosboot sd2 Telling me that /boot will be written at sector 64. But I'm still booting with my old hdd :( Tried to enter boot hd1k:/bsd at boot prompt but it's telling me that no such file or directory. Seems my drive is good as during the early bootstage I have hd0+ (my old hdd) and hd1+ (new hdd). Can this be due to the fact my filesystem is currently read-only, as I have no more space left on my root partition ? 2013/5/14 Otto Moerbeek o...@drijf.net On Tue, May 14, 2013 at 11:08:49AM +0200, Adrien wrote: Hi, I have added a second hard drive in my virtual machine, as my root partition is full. My idea was to add a new disk to the system, then migrate the root partition to the new disk. What I did so far : - In recovery, add the second hard drive, fdisk to initialize it, then disklabel to add a new slice. -- OK - Mounted the new partition, copied everything from root to the new partition, then changed /etc/fstab to the new disk, as well as /mnt/etc/fstab. But after restart, my system can't boot :( Any hint about that ? I have been able to migrate other partition without any problems, but I guess I'm missing something for the root partition. man installboot -Otto
Re: who is using obsd
Few cases for obsd not suitable as desktop: - At home, the WAF (Wife Acceptance Factor) for obsd on desktop is negative due lack of skype, and flash player. WAF: Good point! Hard to tackle ... :-) Skype: Valid argument - I have to agree that nowadays this is a requirement for a general-purpose desktop system (let's not discuss 'confidentiality' for now...) Flash: 'Bling-bling' is possible even with OpenBSD. But you have to deliberatly open Pandora's box... - At work, need for virtual machines on laptop is a must, not very well met in obsd. I have no experience with virtual machines at all - looks like special-purpose to me. But I don't claim competency here. So correct answer is: it depends! Quite right, of course. If you only have a hammer everything looks like a nail Good if we are able to choose from the right tool to get the job done. Most of time my choise is OpenBSD! Cheers, STEFAN
Re: who is using obsd
Scott, I'll be sure not to give up my day job at DUKE Medical Center. We have over 20,000 employees in this medical institution and we know what works for desktops and we know what works for enterprise server environments. Be sure to keep your job. On 05/13/2013 06:59 PM, Scott McEachern wrote: On 05/13/13 17:28, Salim Shaw wrote: OpenBSD is a server/router/network service OS, it's not designed for desktops. OpenBSD is the pre-eminent platform for Firewalling, IPsec, IPv6. Trying to shove OpenBSD onto the desktop is the ultimate case of square peg/round hole. You're quite a comedian. However, don't give up your day job. -- Salim A. Shaw System Administrator OpenBSD CentOS / Free Software Advocate Need stability and security -- Try OpenBSD. BSD,ISC license all the way: Sell services, don't lease secrets
Re: who is using obsd
Skype: Valid argument - I have to agree that nowadays this is a requirement for a general-purpose desktop system (let's not discuss 'confidentiality' for now...) Sorry - I couldn't resist: The German IT-news site http://www.heise.de reported a few minutes ago that Microsoft reads along messages sent via Skype: http://www.heise.de/newsticker/meldung/Vorsicht-beim-Skypen-Microsoft-liest-mit-1857620.html (at this moment German only but I am shure this will be on http://www.h-online.com/ shortly). Some prejudices are actually predictions. Think twice before requesting Skype on your desktop: The biggest threat to confidentiality usually sits right in front of the screen ...
Re: Is fdisk, disklabel and newfs enough to reset an SSD
On May 13 21:04:00, pa...@ecentryx.com wrote: I would like to reinstall a fresh system on an SSD that contains an existing installation. From my limited knowledge of SSDs, I wonder if the drive controller may retain data from the old filesystem, unaware that there is a new filesystem put in place. The drive controller knows nothing about filesystems. It just passes bytes to and from a device. The OpenBSD installer will just use the disk portion that you allocate to it. It will not waste time inspectioing what was on the disk before. Will there be pieces of the disk that still contain untouched data blocks of files that existed on some previous filesystem? Yes, they might. Is this a concern? No. If so, how does one reset a used SSD for optimal operation with a fresh install? Just treat it as any other disk - which it is. On May 13 22:50:08, pa...@ecentryx.com wrote: Scott McEachern wrote: 2) Do you mean there could still be data residing on unused parts of the SSD? Yes, it can happen. Yes, this is what I'm referring to. I was hoping there was some way to instruct the drive controller that the entire drive space is free? It is, if you say so in the installer. Making sure there are no datablocks left over is another thing. The first question would be why would you concern yoursewlf with this.
Re: who is using obsd
On Tue, May 14, 2013 at 08:34:27AM -0400, Salim Shaw wrote: Scott, I'll be sure not to give up my day job at DUKE Medical Center. We have over 20,000 employees in this medical institution and we know what works for desktops and we know what works for enterprise server environments. Different use cases, different tools. What works for your environment might not be suited to others'. As a developer, I never seen decisions made in the development process with the rationale: OpenBSD is only suited/designed for acting as a firewal/router/server. I use OpenBSD daily on two workstations: a dual headed tower system and a laptop (which suspends and resumes fine btw). A significant amount of work goes into making an OpenBSD desktop work: X is part of the base system, and tonnes of packages are only suited for desktop work. OpenBSD is a general purpose unix-like/posix system. Use it for whatever suits you. -Otto
Re: Migrate Root Partition to another disk
OK, so : 1. Added new hdd within my virtual machine. 2. Started virtual machine, initialized the disk with fdisk : root@bsd:~# fdisk -i sd2 Do you wish to write new MBR and partition table? [n] y Writing MBR at offset 0. 3. Added new slice with Disklabel root@bsd:~# disklabel -E sd2 Label editor (enter '?' for help at any prompt) p OpenBSD area: 64-16771860; size: 16771796; free: 20 #size offset fstype [fsize bsize cpg] c: 167772160 unused k: 16771776 64 4.2BSD 2048 163841 d k a a p OpenBSD area: 64-16771860; size: 16771796; free: 20 #size offset fstype [fsize bsize cpg] a: 16771776 64 4.2BSD 2048 163841 c: 167772160 unused w q 4. Made new fs to the partition : root@bsd:/# newfs /dev/rsd2a /dev/rsd2a: 8189.3MB in 16771776 sectors of 512 bytes 41 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each super-block backups (for fsck -b #) at: 32, 414688, 829344, 1244000, 1658656, 2073312, 2487968, 2902624, 3317280, 3731936, 4146592, 4561248, 4975904, 5390560, 5805216, 6219872, 6634528, 7049184, 7463840, 7878496, 8293152, 8707808, 9122464, 9537120, 9951776, 10366432, 10781088, 11195744, 11610400, 12025056, 12439712, 12854368, 13269024, 13683680, 14098336, 14512992, 14927648, 15342304, 15756960, 16171616, 16586272, 5. Rebooted in rescue to mount the new partition and copy old root to the new partition : mount /dev/sd2a /mnt -- New partition mount /dev/sd0a /mnt2 -- Old root partition 6. Copied everything from old root to the new partition : (cd /mnt2; tar cf - .) | (cd /mnt; tar xpf -) 7. Then runned install boot with : /usr/mdec/installboot -v /mnt/boot /usr/mdec/biosboot sd2 8. My BSD is still booting on hd0 instead of hd1 :( 2013/5/14 Otto Moerbeek o...@drijf.net On Tue, May 14, 2013 at 01:06:27PM +0200, Adrien wrote: Thanks. I have mounted my new hard drive to /mnt. You don't mount hard drives, you mount partititons. Tell us exactly what you did and show command output of fdisk and disklabel. Without that info, we can only guess. -Otto Then I ran : /usr/mdec/installboot -v /mnt/boot /usr/mdec/biosboot sd2 Telling me that /boot will be written at sector 64. But I'm still booting with my old hdd :( Tried to enter boot hd1k:/bsd at boot prompt but it's telling me that no such file or directory. Seems my drive is good as during the early bootstage I have hd0+ (my old hdd) and hd1+ (new hdd). Can this be due to the fact my filesystem is currently read-only, as I have no more space left on my root partition ? 2013/5/14 Otto Moerbeek o...@drijf.net On Tue, May 14, 2013 at 11:08:49AM +0200, Adrien wrote: Hi, I have added a second hard drive in my virtual machine, as my root partition is full. My idea was to add a new disk to the system, then migrate the root partition to the new disk. What I did so far : - In recovery, add the second hard drive, fdisk to initialize it, then disklabel to add a new slice. -- OK - Mounted the new partition, copied everything from root to the new partition, then changed /etc/fstab to the new disk, as well as /mnt/etc/fstab. But after restart, my system can't boot :( Any hint about that ? I have been able to migrate other partition without any problems, but I guess I'm missing something for the root partition. man installboot -Otto
Re: Migrate Root Partition to another disk
On Tue, May 14, 2013 at 03:52:03PM +0200, Adrien wrote: OK, so : 1. Added new hdd within my virtual machine. 2. Started virtual machine, initialized the disk with fdisk : root@bsd:~# fdisk -i sd2 Do you wish to write new MBR and partition table? [n] y Writing MBR at offset 0. 3. Added new slice with Disklabel root@bsd:~# disklabel -E sd2 Label editor (enter '?' for help at any prompt) p OpenBSD area: 64-16771860; size: 16771796; free: 20 #size offset fstype [fsize bsize cpg] c: 167772160 unused k: 16771776 64 4.2BSD 2048 163841 d k a a p OpenBSD area: 64-16771860; size: 16771796; free: 20 #size offset fstype [fsize bsize cpg] a: 16771776 64 4.2BSD 2048 163841 c: 167772160 unused w q 4. Made new fs to the partition : root@bsd:/# newfs /dev/rsd2a /dev/rsd2a: 8189.3MB in 16771776 sectors of 512 bytes 41 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each super-block backups (for fsck -b #) at: 32, 414688, 829344, 1244000, 1658656, 2073312, 2487968, 2902624, 3317280, 3731936, 4146592, 4561248, 4975904, 5390560, 5805216, 6219872, 6634528, 7049184, 7463840, 7878496, 8293152, 8707808, 9122464, 9537120, 9951776, 10366432, 10781088, 11195744, 11610400, 12025056, 12439712, 12854368, 13269024, 13683680, 14098336, 14512992, 14927648, 15342304, 15756960, 16171616, 16586272, 5. Rebooted in rescue to mount the new partition and copy old root to the new partition : mount /dev/sd2a /mnt -- New partition mount /dev/sd0a /mnt2 -- Old root partition 6. Copied everything from old root to the new partition : (cd /mnt2; tar cf - .) | (cd /mnt; tar xpf -) 7. Then runned install boot with : /usr/mdec/installboot -v /mnt/boot /usr/mdec/biosboot sd2 8. My BSD is still booting on hd0 instead of hd1 :( Did you tell the bios to boot from the other disk? -Otto 2013/5/14 Otto Moerbeek o...@drijf.net On Tue, May 14, 2013 at 01:06:27PM +0200, Adrien wrote: Thanks. I have mounted my new hard drive to /mnt. You don't mount hard drives, you mount partititons. Tell us exactly what you did and show command output of fdisk and disklabel. Without that info, we can only guess. -Otto Then I ran : /usr/mdec/installboot -v /mnt/boot /usr/mdec/biosboot sd2 Telling me that /boot will be written at sector 64. But I'm still booting with my old hdd :( Tried to enter boot hd1k:/bsd at boot prompt but it's telling me that no such file or directory. Seems my drive is good as during the early bootstage I have hd0+ (my old hdd) and hd1+ (new hdd). Can this be due to the fact my filesystem is currently read-only, as I have no more space left on my root partition ? 2013/5/14 Otto Moerbeek o...@drijf.net On Tue, May 14, 2013 at 11:08:49AM +0200, Adrien wrote: Hi, I have added a second hard drive in my virtual machine, as my root partition is full. My idea was to add a new disk to the system, then migrate the root partition to the new disk. What I did so far : - In recovery, add the second hard drive, fdisk to initialize it, then disklabel to add a new slice. -- OK - Mounted the new partition, copied everything from root to the new partition, then changed /etc/fstab to the new disk, as well as /mnt/etc/fstab. But after restart, my system can't boot :( Any hint about that ? I have been able to migrate other partition without any problems, but I guess I'm missing something for the root partition. man installboot -Otto
Re: who is using obsd
I agree with your practicalities. We as IT professionals have to be careful when thrashing people. You never know who you're impacting and I personally would love to see OpenBSD take over the dominance of Cisco. I hate closed source with a vengeance, unfortunately we have to support it due to the powers of the almighty commercialized entity. I never indicated that you can't use OpenBSD as a desktop, but rather the design nature of the OS. It's certainly a personal choice, but large conglomerate institutions are HELL bent on closed source, especially at the desktop level. The Mac OS is the closet thing to Unix we have at the desktop, perhaps a few RedHat workstations, but that's not Unix. I hate Apple just as much as Microsoft, because of their evil closed source methodology. They rape people of the freedom of choice. It's very difficult to convince the worlds leading Cardiologists that your environment and it's trillions of medical records would be best computed on an OpenBSD workstation. It's however a lot easier to convince that your firewalls are best protected by OpenBSD, because some government entities have already proven it's security and stability. Salim... On 05/14/2013 09:28 AM, Otto Moerbeek wrote: On Tue, May 14, 2013 at 08:34:27AM -0400, Salim Shaw wrote: Scott, I'll be sure not to give up my day job at DUKE Medical Center. We have over 20,000 employees in this medical institution and we know what works for desktops and we know what works for enterprise server environments. Different use cases, different tools. What works for your environment might not be suited to others'. As a developer, I never seen decisions made in the development process with the rationale: OpenBSD is only suited/designed for acting as a firewal/router/server. I use OpenBSD daily on two workstations: a dual headed tower system and a laptop (which suspends and resumes fine btw). A significant amount of work goes into making an OpenBSD desktop work: X is part of the base system, and tonnes of packages are only suited for desktop work. OpenBSD is a general purpose unix-like/posix system. Use it for whatever suits you. -Otto -- Salim A. Shaw System Administrator OpenBSD CentOS / Free Software Advocate Need stability and security -- Try OpenBSD. BSD,ISC license all the way: Sell services, don't lease secrets
odd choices for pkg_add (-i)
I usually add a bunch of packages in a row, and when it wants me to interact, I don't understand why the packages act differently: pkg_add subversion mtr arping rsync Ambiguous: choose dependency for subversion-1.7.8: a 0: apr-util-1.4.1p0 1: apr-util-1.4.1p0-ldap Your choice: 0 Ambiguous: choose dependency for subversion-1.7.8: a 0: cyrus-sasl-2.1.26p0 1: cyrus-sasl-2.1.26p0-db4 2: cyrus-sasl-2.1.26p0-ldap 3: cyrus-sasl-2.1.26p0-mysql 4: cyrus-sasl-2.1.26p0-pgsql 5: cyrus-sasl-2.1.26p0-sqlite3 Your choice: 0 subversion-1.7.8:db-4.6.21v0: ok subversion-1.7.8:apr-1.4.6p1: ok subversion-1.7.8:libiconv-1.14p0: ok subversion-1.7.8:apr-util-1.4.1p0: ok subversion-1.7.8:pcre-8.31: ok subversion-1.7.8:libffi-3.0.9: ok subversion-1.7.8:bzip2-1.0.6: ok subversion-1.7.8:python-2.7.3p1: ok subversion-1.7.8:gettext-0.18.2p1: ok subversion-1.7.8:libelf-0.8.13p1: ok subversion-1.7.8:glib2-2.34.3: ok subversion-1.7.8:libproxy-0.4.10: ok subversion-1.7.8:neon-0.29.6p2: ok subversion-1.7.8:libmagic-5.11: ok subversion-1.7.8:cyrus-sasl-2.1.26p0: ok subversion-1.7.8: ok mtr-0.82: ok arping-2.13:libnet-1.1.2.1p0: ok arping-2.13: ok Ambiguous: choose package for rsync a 0: None 1: rsync-3.0.9p2 2: rsync-3.0.9p2-iconv Your choice: 1 rsync-3.0.9p2: ok Why does rsync think 0 (None) is a good default? The other deps for svn all think 0 is a choice where something actually gets installed, but 0 for rsync seems to be .. Dont. In my particular case it would be neat to just type 0,0,0 all the time, but that's really not the basic point, it is more why does it even give you a don't install at all as an option? pkg_add rsync really does mean I would like (an version of) rsync installed to me. -- May the most significant bit of your life be positive.
Re: who is using obsd
On 14/05/2013 12:09, Stefan Wollny wrote: My impression is that most people who pretend that OpenBSD is not suited as a desktop system are either ingnorant or just outright lazy: - Ignorant on the fine work the developers and countless porters did and/or - lazy to read the documentation (or if of non-english mothertongue: too lazy to ask for help) There is NO general-purpose desktop-related task that cannot be done with OpenBSD! Full stop. ('Bling-Bling' is NO general purpose requirement!) Unless s.o. has to use some proprietary software that is tighly linked to internals of an other OS there is no technical reason to use any other OS as a basis for a desktop system except for resume from suspend not working and video driver issues (yes, those will work on some laptops, but did not on my Macbook Pro, so that is a technical reason for using another OS) If 'suspend/resume' fits under your definition of desktop-related task then this is a valid point for you (though: wasn't this solved already???). If it is not working than this is certainly an annoying issue - but: If turned off will you get your job done? If yes, than it does not meet MY definition of desktop-related task. (I prefer a clean shutdown anyway as this fits my workspace best. YMMV, of course.) And 'video driver issues' on a MB Pro - we're talking 'nVidia' here, right? That is a sad issue of its own kind ... :-( The OP was talking about laptops... Ideally one would buy a laptop that works well with OpenBSD, but sometimes choice is limited due to workplace requirements etc. For a desktop computer I totally agree. I wouldn't even want to suspend or shutdown my desktop. The Macbook Pro in this case is an Intel. -- Mark Duller IT Services, University of Oxford Network Security Team - OxCERT
Re: Migrate Root Partition to another disk
I'm really ashamed about that, I told it the wrong diskMy bad All is working correctly now, a big thanks for your hints. Here the final steps I did, for anyone else who might be interested : - I forgot to edit my /etc/fstab before rebooting. So my system was mounted as read-only, and couldn't update /etc/fstab - Did mount -uw /dev/sd2a / - Edited fstab to reflect the new duid Thank you very much for your help 2013/5/14 Otto Moerbeek o...@drijf.net On Tue, May 14, 2013 at 03:52:03PM +0200, Adrien wrote: OK, so : 1. Added new hdd within my virtual machine. 2. Started virtual machine, initialized the disk with fdisk : root@bsd:~# fdisk -i sd2 Do you wish to write new MBR and partition table? [n] y Writing MBR at offset 0. 3. Added new slice with Disklabel root@bsd:~# disklabel -E sd2 Label editor (enter '?' for help at any prompt) p OpenBSD area: 64-16771860; size: 16771796; free: 20 #size offset fstype [fsize bsize cpg] c: 167772160 unused k: 16771776 64 4.2BSD 2048 163841 d k a a p OpenBSD area: 64-16771860; size: 16771796; free: 20 #size offset fstype [fsize bsize cpg] a: 16771776 64 4.2BSD 2048 163841 c: 167772160 unused w q 4. Made new fs to the partition : root@bsd:/# newfs /dev/rsd2a /dev/rsd2a: 8189.3MB in 16771776 sectors of 512 bytes 41 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each super-block backups (for fsck -b #) at: 32, 414688, 829344, 1244000, 1658656, 2073312, 2487968, 2902624, 3317280, 3731936, 4146592, 4561248, 4975904, 5390560, 5805216, 6219872, 6634528, 7049184, 7463840, 7878496, 8293152, 8707808, 9122464, 9537120, 9951776, 10366432, 10781088, 11195744, 11610400, 12025056, 12439712, 12854368, 13269024, 13683680, 14098336, 14512992, 14927648, 15342304, 15756960, 16171616, 16586272, 5. Rebooted in rescue to mount the new partition and copy old root to the new partition : mount /dev/sd2a /mnt -- New partition mount /dev/sd0a /mnt2 -- Old root partition 6. Copied everything from old root to the new partition : (cd /mnt2; tar cf - .) | (cd /mnt; tar xpf -) 7. Then runned install boot with : /usr/mdec/installboot -v /mnt/boot /usr/mdec/biosboot sd2 8. My BSD is still booting on hd0 instead of hd1 :( Did you tell the bios to boot from the other disk? -Otto 2013/5/14 Otto Moerbeek o...@drijf.net On Tue, May 14, 2013 at 01:06:27PM +0200, Adrien wrote: Thanks. I have mounted my new hard drive to /mnt. You don't mount hard drives, you mount partititons. Tell us exactly what you did and show command output of fdisk and disklabel. Without that info, we can only guess. -Otto Then I ran : /usr/mdec/installboot -v /mnt/boot /usr/mdec/biosboot sd2 Telling me that /boot will be written at sector 64. But I'm still booting with my old hdd :( Tried to enter boot hd1k:/bsd at boot prompt but it's telling me that no such file or directory. Seems my drive is good as during the early bootstage I have hd0+ (my old hdd) and hd1+ (new hdd). Can this be due to the fact my filesystem is currently read-only, as I have no more space left on my root partition ? 2013/5/14 Otto Moerbeek o...@drijf.net On Tue, May 14, 2013 at 11:08:49AM +0200, Adrien wrote: Hi, I have added a second hard drive in my virtual machine, as my root partition is full. My idea was to add a new disk to the system, then migrate the root partition to the new disk. What I did so far : - In recovery, add the second hard drive, fdisk to initialize it, then disklabel to add a new slice. -- OK - Mounted the new partition, copied everything from root to the new partition, then changed /etc/fstab to the new disk, as well as /mnt/etc/fstab. But after restart, my system can't boot :( Any hint about that ? I have been able to migrate other partition without any problems, but I guess I'm missing something for the root partition. man installboot -Otto
Re: who is using obsd
On Tue, May 14, 2013 at 4:41 PM, Mark Duller mark.dul...@it.ox.ac.uk wrote: The OP was talking about laptops... Ideally one would buy a laptop that works well with OpenBSD, but sometimes choice is limited due to workplace requirements etc. For a desktop computer I totally agree. I wouldn't even want to suspend or shutdown my desktop. The Macbook Pro in this case is an Intel. Then try again with -current and it should work, because we have kms for intel now. Ciao, David
Re: odd choices for pkg_add (-i)
On Tue, May 14, 2013 at 04:08:30PM +0200, Janne Johansson wrote: I usually add a bunch of packages in a row, and when it wants me to interact, I don't understand why the packages act differently: pkg_add subversion mtr arping rsync Ambiguous: choose dependency for subversion-1.7.8: a 0: apr-util-1.4.1p0 1: apr-util-1.4.1p0-ldap [...] Ambiguous: choose package for rsync a 0: None 1: rsync-3.0.9p2 2: rsync-3.0.9p2-iconv Your choice: 1 rsync-3.0.9p2: ok Why does rsync think 0 (None) is a good default? The other deps for svn all think 0 is a choice where something actually gets installed, but 0 for rsync seems to be .. Dont. All other packages are dependencies. rsync is something you ask for, so you can decide to let it NOT install anything. In my particular case it would be neat to just type 0,0,0 all the time, but that's really not the basic point, it is more why does it even give you a don't install at all as an option? pkg_add rsync really does mean I would like (an version of) rsync installed to me. The other stuff (dependencies) asks for a specific version by default. If you want the same thing for rsync, you should do pkg_add rsync-- (to ask for the empty flavor)
Re: who is using obsd
On Mon, May 13, 2013 at 5:36 PM, Alvaro Mantilla Gimenez alv...@alvaromantilla.com wrote: 2013/5/13 Chris Cappuccio ch...@nmedia.net Salim Shaw [salims...@vfemail.net] wrote: OpenBSD is a server/router/network service OS, it's not designed for desktops. OpenBSD is the pre-eminent platform for Firewalling, IPsec, IPv6. Trying to shove OpenBSD onto the desktop is the ultimate case of square peg/round hole. Salim, that's quite strange. OpenBSD has worked on my Sun 4/110 desktop since 1995. And more recently, I've been using it on i386 and later even amd64 machines, as a desktop environment! It could just be some kind of hallucination. You know, I had this one dream of being tied up and injected with sodium pentothal... +1 You can use OpenBSD in desktop environment, sure, common tasks as; sending emails, document processing, games, browse internet, etc. OpenBSD sometime lacks of resources for run natively flash plugins, java efficiently and support for read/write NTFS filesystem from Windows; but, if you not need it, OpenBSD do a good job. Regards. -- Francisco Valladolid H. -- http://blog.bsdguy.net - Jesus Christ follower.
Re: who is using obsd
2013/5/14 Tomas Bodzar tomas.bod...@gmail.com On Mon, May 13, 2013 at 11:12 PM, Pau vim.u...@gmail.com wrote: on his/her laptop as *only* OS and uses it daily for scientific work? please contact me off list. Thanks I'm not sure if there will be some official readings available (you can try BSDmag and similar resources), but it's completely possible and fine as long as there's SW you need in packages/ports or compilation works on your own. And you know, here are in use tradional Unix/Unix-like things so everything is possible. Yes, having it as desktop instead of Windows and/or Linux is working perfectly. I don´t have much the Unix Guru Enterprise level, but I managed to work with Perl/Tk, and make nice programs, with Mysql, here are the source code of a program called Facturacion, http://www.crice.org/?q=node/84 tested on OpenBSD 4.3 Greetings -- Atentamente Andrés Genovez Tobar / DTIT Tel: 842388 ext 177 Perfil profesional http://lnkd.in/gcdhJE
Re: who is using obsd
The OP stated he was asking about laptops, and went to the trouble of sending a second email specifying he was talking about scientific research. I know this is misc@, but can we try and stay on-topic? And even if sometimes we learn something from 'what-do-you-use-it-for' discussions, I believe we have all been saying pretty much the same for a while now: OpenBSD can be used for nearly everything. As if we didn't know it already... ;)
Re: who is using obsd
On Tue, May 14, 2013 at 08:34:27AM -0400, Salim Shaw wrote: Scott, I'll be sure not to give up my day job at DUKE Medical Center. We have over 20,000 employees in this medical institution and we know what works for desktops and we know what works for enterprise server environments. As an employee of the institution of similar caracter Georgia Regents University (formerly MCG+Augusta State) I am familiar with this attitude. Let me remind you the original question and my private answer were: On 05/13/2013 05:12 PM, Pau wrote: on his/her laptop as *only* OS and uses it daily for scientific work? please contact me off list. Thanks I (dynamical systems and applications) run OpenBSD as my only desktop operating system. You are probably curios what kid of software I use for my work. Beside typical desktop publishing applications used in mathematics TeX, Xfig and developer tools Make, ksh, sed, AWK, CVS, diff patch, Unison etc, I run lots of numerical simulations mostly C (gsl) and Python (numpy, scipy, matplotlib, ipython, cython). I do sometime use FreeMat to cope with simple MATLAB code that somebody sends me. My kids use math/geogebra on daily basis. I do not know about the DUKE Medical center but one of the biggest challenges that I have as a faculty and a researcher at the similar institution is to communicate to our management and IT people that computing in our working environment has multiple components: 1. Infrastructural (firewalls, networks, DNS, portal and similar) 2. Administrative (Payroll, student records, e-mails, Learning Management System and similar) 3. Clinical (Patient records, and many other things I am clueless about) 4. Instructional (depends on the field of study and the level of students) 5. Scientific computing Expecting that a single OS will be the best choice of all five roles is as naive as expecting a single IT guy to be expert on all the above. As a matter of fact probably close to 50% of our University computing infrastructure is provided as a cloud service hosted by outside vendors (Payroll, Desire2Learn, E-mail and many others). As a researcher OpenBSD as previously observed fits my needs best as the operating system on my laptop. However, as a man behind my university Cloud Computing Lab I will be laying if I tell you that I do not have servers/services running other OSs. I do run Linux on our main cluster and on a GPU machine in part due to the lack of drivers (NVidia GPU cards) in part due to the lack of proprietary compilers and software ( PGI compilers, MATLAB, Mathematica and many others). We even have a Blade running Solaris due to the fact that a colleague of mine uses some software for seismology developed in early nineteens which has been never ported on anything else. I tried very hard to avoid using Linux but neither BSD nor Solaris could do the job. On the another hand my Lab's infrastructure runs mostly OpenBSD (firewall, DNS) but for example we use DragonFly for our file server and I hope that no OpenBSD developer will take offense from me saying that Hammer is awesome. Some of affiliated faculty run OpenBSD on a desktop like me, some run Linux some run OS X and we have Windows users too. As an instructor and user of administrative computing OpenBSD fits my needs best. Due to the lack of the native scripting language ( disclaimer I am not familiar with PowerShell) I am the least productive in Windows environment for any instructional/administrative work. I am of firm belief that we could save a lot and better instructional services by adopting Thin Client/Virtual Server model where OpenBSD would be best suited in the role of Thin Client OS but I understand when I need to keep my mouth shut. As previously noted I am clueless about clinical computing but seems that every doctor I know has an iPad so if nothing else interoperability with these devices seems important. Long story short from my point of view what a researcher runs on his laptop is nobodies business as long as the person is productive. Disbelieving that somebody is the most productive with OpenBSD desktop is little ignorant. Best, Predrag P.S. There are several desktop applications mentioned as problematic on OpenBSD (Flash, Skype) I will add two more that I sometime have to use Acroread and MATLAB. With the exception of Flash OpenBSD has enough Linux emulation to run the other three but somebody needs to do lots of work. For example Skype runs great on OpenBSD but somebody needs to plugins for sndio for sound to work.
Re: Is fdisk, disklabel and newfs enough to reset an SSD
On Tue, May 14, 2013 at 15:01, Jan Stary wrote: If so, how does one reset a used SSD for optimal operation with a fresh install? Just treat it as any other disk - which it is. Almost, but not entirely. On May 13 22:50:08, pa...@ecentryx.com wrote: Scott McEachern wrote: 2) Do you mean there could still be data residing on unused parts of the SSD? Yes, it can happen. Yes, this is what I'm referring to. I was hoping there was some way to instruct the drive controller that the entire drive space is free? It is, if you say so in the installer. No. OpenBSD knows that space is free, the drive does not. Yes, the drive cares.
A warm welcome to a gentoo hardened administrator?
Hello Everyone, I am currently an avid gentoo user for various server related services (i.e., dns, web, exim, voip). And was looking towards transitioning to OpenBSD for the packet intensive services, namely: Router: OpenBGPD SIP Proxy: OpenSIPS Media Server: Asterisk/Free Switcfh And was hoping the community could give me an idea of how smooth and stable a transition one could expect. I am really trying to make my way back to Unix, and felt I owed it to OpenBSD. As mentioned earlier, we are mostly concerned with how OpenBSD can scale with the different VoIP solutions. PS I hope this is not considered noise. Dārayavahush
Re: xenocara build failure
On May 13, 2013, at 11:54 PM, Maurice Janssen maur...@z74.net wrote: *** Error 1 in /usr/xenocara (Makefile:35 'build') Any hints as to what I'm doing wrong? Are you using make in parallel (-j) mode? If so, please try without -j I'm doing a simple make build (after a make bootstrap make obj) Looking at the sources and the build output only leads to questions. 1) makefile issue? freetype fails to build but the makefile continues to the install phase where it finally fails trying to install the lib that didn't build. 2) t1load.c uses a structure element named keywords_encountered. The code that uses this element does not appear to be conditional. 3) No-where in the source can I find where anything with the name keywords_encountered is defined. There is a comment in Changelog.23: that says the field keywords_encountered was added to t1load.h back in 2006!!! Yet that field doesn't exist in my t1load.h and a cvs diff says my file is current. Confusion.
Re: xenocara build failure
On Tue, May 14, 2013 at 11:13:58AM -0700, Marco S Hyman wrote: On May 13, 2013, at 11:54 PM, Maurice Janssen maur...@z74.net wrote: *** Error 1 in /usr/xenocara (Makefile:35 'build') Any hints as to what I'm doing wrong? Are you using make in parallel (-j) mode? If so, please try without -j I'm doing a simple make build (after a make bootstrap make obj) Looking at the sources and the build output only leads to questions. 1) makefile issue? freetype fails to build but the makefile continues to the install phase where it finally fails trying to install the lib that didn't build. 2) t1load.c uses a structure element named keywords_encountered. The code that uses this element does not appear to be conditional. 3) No-where in the source can I find where anything with the name keywords_encountered is defined. There is a comment in Changelog.23: that says the field keywords_encountered was added to t1load.h back in 2006!!! Yet that field doesn't exist in my t1load.h and a cvs diff says my file is current. Confusion. What is the revision of the file? Any sticky tags/dates? rev should be 1.1.1.2 -Otto
Re: xenocara build failure
What is the revision of the file? Any sticky tags/dates? rev should be 1.1.1.2 You are on to something... cvs up -PAd should remove all tags, no? It didn't. When I moved t1load.h out of the way and re-updated I got a different version. Grumble... I think it's time to refresh all my sources from scratch now that I can't be sure that everything is up to date. Thanks, Marc
Asterisk Music on Hold
Does anyone know how to use CBC streaming music for music on hold for Asterisk. I tried the obvious in musiconhold.conf (after installing mpg123) [mp3stream] mode=custom format=SLIN directory=/usr/local/share/asterisk/moh-empty application=/usr/local/bin/mpg123 -q -r 8000 -f 8192 -s --mono http://playerservices.streamtheworld.com/pls/CBC_BAROQU_H.pls and my Asterisk system died (it was live and in use, whoops), put back the old default and restarted I wanted to give people the ability to use phone more than I wanted to analysis the problem. I did play with calling /usr/local/bin/mpg123 -r 8000 -f 8192 -s --mono http://playerservices.streamtheworld.com/pls/CBC_BAROQU_H.pls directly and it complained about the -@ option and lack of audio on the machine.
Re: Asterisk Music on Hold
On Tue, 2013-05-14 at 19:04 +, Peter Fraser wrote: Does anyone know how to use CBC streaming music for music on hold for Asterisk. I tried the obvious in musiconhold.conf (after installing mpg123) [mp3stream] mode=custom format=SLIN directory=/usr/local/share/asterisk/moh-empty application=/usr/local/bin/mpg123 -q -r 8000 -f 8192 -s --mono http://playerservices.streamtheworld.com/pls/CBC_BAROQU_H.pls I can't even get this URL or the URLs in the playlist to work properly in an actual music player (mpg123 and Banshee on Ubuntu). If I were you, I would first make sure the stream you are using is actually playable somewhere before fooling with Asterisk. -- Shawn K. Quinn skqu...@rushpost.com
Pause before power down
Hi misc, I have 1.5 - 2 min. pause after syncing disk before power down by `shutdown -hp now` or `halt -p`. How can I watch what system doing at this time? I think that problem caused by some ACPI error. dmesg log: OpenBSD 5.3 (GENERIC.MP) #62: Tue Mar 12 18:21:20 MDT 2013 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 4189995008 (3995MB) avail mem = 4055961600 (3868MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb170 (52 entries) bios0: vendor Intel Corp. version KPC2060H.86B.0023.2012.0710.2049 date 07/10/2012 bios0: Intel Corporation S1200KP acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC SSDT MCFG HPET EINJ ERST HEST BERT acpi0: wakeup devices PS2K(S3) PS2M(S3) UAR1(S3) P0P1(S4) P0P2(S4) P0P3(S4) P0P4(S4) GBE_(S4) BR20(S3) EUSB(S3) USBE(S3) PEX0(S4) BR21(S4) PEX1(S4) PEX2(S4) PEX3(S4) PEX4(S4) PEX5(S4) PEX6(S4) PEX7(S4) SLPB(S0) PWRB(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i3-2120T CPU @ 2.60GHz, 2594.49 MHz cpu0: FPU,VME,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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,DEADLINE,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC cpu0: 256KB 64b/line 8-way L2 cache cpu0: apic clock running at 99MHz cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Core(TM) i3-2120T CPU @ 2.60GHz, 2594.11 MHz cpu1: FPU,VME,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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,DEADLINE,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC cpu1: 256KB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 0 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0xf800, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (P0P1) acpiprt2 at acpi0: bus -1 (P0P2) acpiprt3 at acpi0: bus -1 (P0P3) acpiprt4 at acpi0: bus -1 (P0P4) acpiprt5 at acpi0: bus 1 (PEX0) acpiprt6 at acpi0: bus -1 (BR21) acpiprt7 at acpi0: bus 2 (PEX1) acpiprt8 at acpi0: bus -1 (PEX2) acpiprt9 at acpi0: bus -1 (PEX3) acpiprt10 at acpi0: bus -1 (PEX4) acpiprt11 at acpi0: bus -1 (PEX5) acpiprt12 at acpi0: bus -1 (PEX6) acpiprt13 at acpi0: bus -1 (PEX7) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpibtn0 at acpi0: SLPB acpibtn1 at acpi0: PWRB cpu0: Enhanced SpeedStep 2594 MHz: speeds: 2600, 2500, 2400, 2300, 2200, 2100, 2000, 1900, 1800, 1700, 1600 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel Core 2G Host rev 0x09 vga1 at pci0 dev 2 function 0 Intel HD Graphics 2000 rev 0x09 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xe000, size 0x1000 inteldrm0 at vga1: apic 0 int 16 drm0 at inteldrm0 Intel 6 Series MEI rev 0x04 at pci0 dev 22 function 0 not configured em0 at pci0 dev 25 function 0 Intel 82579LM rev 0x05: msi, address 4c:72:b9:24:dd:bc ehci0 at pci0 dev 26 function 0 Intel 6 Series USB rev 0x05: apic 0 int 16 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb0 at pci0 dev 28 function 0 Intel 6 Series PCIE rev 0xb5: msi pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 1 Intel 6 Series PCIE rev 0xb5: msi pci2 at ppb1 bus 2 em1 at pci2 dev 0 function 0 Intel PRO/1000 MT (82574L) rev 0x00: msi, address 4c:72:b9:24:dd:bd ehci1 at pci0 dev 29 function 0 Intel 6 Series USB rev 0x05: apic 0 int 23 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb2 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0xa5 pci3 at ppb2 bus 3 pcib0 at pci0 dev 31 function 0 Intel C206 LPC rev 0x05 ahci0 at pci0 dev 31 function 2 Intel 6 Series AHCI rev 0x05: msi, AHCI 1.3 scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0: ATA, OCZ-VERTEX3, 2.25 SCSI3 0/direct fixed naa.5e83a97e96c8a0eb sd0: 57241MB, 512 bytes/sector, 117231408 sectors, thin ichiic0 at pci0 dev 31 function 3 Intel 6 Series SMBus rev 0x05: apic 0 int 18 iic0 at ichiic0 sdtemp0 at iic0 addr 0x18: stts2002 spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM ECC PC3-10600 with thermal sensor isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 mtrr: Pentium Pro MTRR support uhub2 at uhub0 port 1 Intel Rate Matching Hub rev 2.00/0.00 addr 2 uhub3 at uhub1 port 1 Intel Rate Matching Hub rev 2.00/0.00 addr 2 vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root scsibus2 at softraid0: 256 targets root on sd0a (7597f180d6eaf89d.a) swap on sd0b dump on sd0b
rtsol with IPv6 forwarding turned on
Hello, I'm using a OpenBSD 5.3 (release) machine as my router connecting to Comcast. Comcast provides native IPv6 access, however it does so a little bit differently than what is probably best practice. I use wide-dhcpv6-20080615p2 from ports to get an address on my outside interface, as well as a prefix which gets assigned to my inside interface. However, the default route is announced via Route Advertisements. However since I would also like for my router to forward IPv6 packets, I'm not sure of how to make it work. Rtsol states that net.inet6.ip6.forwarding=0. I've tried running rtsol with forwarding set to 1, but it complains and does not grab a default route. The other option would be to manually set the v6 default route, but I'd prefer to not have to do that. Does anyone know of a workaround for this issue? Regards, Mattias
what cause this panic? replace NIC or HDD?
Hello, I can't figure out what causes this panic. Second time I see this. I think I have to replace the NIC or the disk. Can anyone point me in the right direction? Thanks, Sebastian OpenBSD 5.3-current (GENERIC) #149: Tue May 7 12:44:38 MDT 2013 t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) 4 CPU 2.66GHz (GenuineIntel 686-class) 2.68 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,PBE,CNXT-ID,PERF real mem = 1073213440 (1023MB) avail mem = 1044254720 (995MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 09/11/02, BIOS32 rev. 0 @ 0xfb3d0, SMBIOS rev. 2.3 @ 0xf0800 (32 entries) bios0: vendor Phoenix Technologies, LTD version 6.00 PG date 09/11/2002 bios0: MEDIONPC MS-6701 acpi0 at bios0: rev 0 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC acpi0: wakeup devices FUTS(S4) USB0(S5) USB1(S5) USB2(S5) USB3(S5) MAC0(S5) AMR0(S4) UAR1(S5) PS2M(S5) PS2K(S4) PCI0(S5) 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 14, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpiprt0 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0 acpitz0 at acpi0: critical temperature is 100 degC acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: FUTS bios0: ROM list: 0xc/0xf800 0xd/0x8000! pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 SiS 648 PCI rev 0x02 sisagp0 at pchb0 agp0 at sisagp0: aperture at 0xe000, size 0x800 ppb0 at pci0 dev 1 function 0 SiS 86C201 AGP rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 NVIDIA GeForce FX 5900 Ultra rev 0xa1 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 2 function 0 SiS 85C503 System rev 0x04 SiS 7007 FireWire rev 0x00 at pci0 dev 2 function 3 not configured pciide0 at pci0 dev 2 function 5 SiS 5513 EIDE rev 0x00: 648: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: ST52520A wd0: 16-sector PIO, LBA, 2446MB, 5009760 sectors wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 pciide0: channel 1 disabled (no drives) auich0 at pci0 dev 2 function 7 SiS 7012 AC97 rev 0xa0: apic 2 int 18, SiS7012 AC97 ac97: codec id 0x414c4720 (Avance Logic ALC650) ac97: codec features 20 bit DAC, 18 bit ADC, Realtek 3D audio0 at auich0 ohci0 at pci0 dev 3 function 0 SiS 5597/5598 USB rev 0x0f: apic 2 int 20, version 1.0, legacy support ohci1 at pci0 dev 3 function 1 SiS 5597/5598 USB rev 0x0f: apic 2 int 21, version 1.0, legacy support ohci2 at pci0 dev 3 function 2 SiS 5597/5598 USB rev 0x0f: apic 2 int 22, version 1.0, legacy support ehci0 at pci0 dev 3 function 3 SiS 7002 USB rev 0x00: apic 2 int 23 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 SiS EHCI root hub rev 2.00/1.00 addr 1 sis0 at pci0 dev 4 function 0 SiS 900 10/100BaseTX rev 0x91: apic 2 int 19, address 00:10:dc:7e:88:23 rlphy0 at sis0 phy 1: RTL8201L 10/100 PHY, rev. 1 em0 at pci0 dev 6 function 0 Intel PRO/1000GT (82541GI) rev 0x05: apic 2 int 17, address 90:e2:ba:30:ba:a0 pciide1 at pci0 dev 7 function 0 CMD Technology SiI3114 SATA rev 0x02: DMA pciide1: using apic 2 int 18 for native-PCI interrupt pciide1: port 2: device present, speed: 1.5Gb/s wd1 at pciide1 channel 2 drive 0: SAMSUNG HN-M101MBB wd1: 16-sector PIO, LBA48, 953869MB, 1953525168 sectors wd1(pciide1:2:0): using BIOS timings, Ultra-DMA mode 6 pciide1: port 3: device present, speed: 1.5Gb/s wd2 at pciide1 channel 3 drive 0: SAMSUNG HN-M101MBB wd2: 16-sector PIO, LBA48, 953869MB, 1953525168 sectors wd2(pciide1:3:0): using BIOS timings, Ultra-DMA mode 6 isa0 at pcib0 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 pms0 at pckbc0 (aux slot #0) pckbc0: using irq 12 for aux slot #0 wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 wbsio0 at isa0 port 0x2e/2: W83697HF rev 0x16 lm1 at wbsio0 port 0x290/8: W83697HF npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 usb1 at ohci0: USB revision 1.0 uhub1 at usb1 SiS OHCI root hub rev 1.00/1.00 addr 1 usb2 at ohci1: USB revision 1.0 uhub2 at usb2 SiS OHCI root hub rev 1.00/1.00 addr 1 usb3 at ohci2: USB revision 1.0 uhub3 at usb3 SiS OHCI root hub rev 1.00/1.00 addr 1 mtrr: Pentium Pro MTRR support vscsi0 at root scsibus0 at vscsi0: 256 targets softraid0 at root scsibus1 at softraid0: 256 targets sd0 at scsibus1 targ 1 lun 0: OPENBSD, SR RAID 1, 005 SCSI2 0/direct fixed sd0: 953869MB, 512 bytes/sector, 1953524576 sectors root on wd0a (58c4113a2922eb55.a) swap on
Re: xenocara build failure
On Tue, May 14, 2013 at 11:38, Marco S Hyman wrote: What is the revision of the file? Any sticky tags/dates? rev should be 1.1.1.2 You are on to something... cvs up -PAd should remove all tags, no? It didn't. When I moved t1load.h out of the way and re-updated I got a different version. Yes, it should. No, it doesn't. There's a bug somewhere in cvs.
Re: what cause this panic? replace NIC or HDD?
Sebastian Neuper [pha...@gmx.de] wrote: Hello, I can't figure out what causes this panic. Second time I see this. I think I have to replace the NIC or the disk. Can anyone point me in the right direction? uvm_fault(0xd6c73184, 0xb5cbd000, 0, 3) - e kernel: page fault trap, code=0 Stopped atieee80211_newstate+0x28d: addb%cl,0xc0832434(%ecx) ... ieee80211_newstate(f548ad30,3f8,f548ad58,d6e21e04,f548aebc) at ieee80211_newstate+0x28d VOP_LOOKUP(d6e21e04,f548aebc,f548aed0,d042f358,d6c73188) at VOP_LOOKUP+0x2f vfs_lookup(f548aea8,d6c69400,400,f548aec4,d6c73188) at vfs_lookup+0x27d namei(f548aea8,823a2001,0,2,0) at namei+0x221 dofstatat(d6c6c2e8,ff9c,81c25b08,cfbf6cdc,0) at dofstatat+0x5d sys_stat(d6c6c2e8,f548af64,f548af84,f548afa8,d6c73184) at sys_stat+0x38 syscall() at syscall+0x227 There's no sense in this backtrace. VOP_LOOKUP calling ieee80211_newstate? You problably are suffering from a hardware failure (RAM, cache, etc).
Re: xenocara build failure
On May 14, 2013, at 1:56 PM, Ted Unangst t...@tedunangst.com wrote: You are on to something... cvs up -PAd should remove all tags, no? It didn't. Yes, it should. No, it doesn't. There's a bug somewhere in cvs. *nod* Trashing the source and fetching from scratch showed a few things stuck at older tags. The nsd sources in src and several things in xenocara including freetype and Xfont. In any case my compile issue is resolved. Thanks to those who provided help.
Re: xenocara build failure
On Tue, May 14, 2013 at 2:02 PM, Marco S Hyman m...@snafu.org wrote: On May 14, 2013, at 1:56 PM, Ted Unangst t...@tedunangst.com wrote: You are on to something... cvs up -PAd should remove all tags, no? It didn't. Yes, it should. No, it doesn't. There's a bug somewhere in cvs. *nod* Trashing the source and fetching from scratch showed a few things stuck at older tags. The nsd sources in src and several things in xenocara including freetype and Xfont. and none of those files were locally modified? Do you have the output of cvs up -PAd in regard to those specific files? --patrick
Re: xenocara build failure
On Tue, May 14, 2013 at 02:02:27PM -0700, Marco S Hyman wrote: On May 14, 2013, at 1:56 PM, Ted Unangst t...@tedunangst.com wrote: You are on to something... cvs up -PAd should remove all tags, no? It didn't. Yes, it should. No, it doesn't. There's a bug somewhere in cvs. *nod* Trashing the source and fetching from scratch showed a few things stuck at older tags. The nsd sources in src and several things in xenocara including freetype and Xfont. In any case my compile issue is resolved. Thanks to those who provided help. I believe others have seen problems wher the server was running opencvs. No idea if this case is related to that. -Otto
Re: xenocara build failure
On May 14, 2013, at 2:07 PM, patrick keshishian pkesh...@gmail.com wrote: and none of those files were locally modified? Do you have the output of cvs up -PAd in regard to those specific files? There was no output. I have exactly one modified file in my xenocara tree. It's not in the lib subdir. I have a few more modifications in my src tree, but none in nsd which is the code that wasn't up to date. Otto Moerbeek o...@drijf.net wrote: I believe others have seen problems wher the server was running opencvs. No idea if this case is related to that. I tried updating from two different servers. anon...@anoncvs3.usa.openbsd.org:/cvs anon...@anoncvs.ca.openbsd.org:/cvs
Re: rtsol with IPv6 forwarding turned on
On 2013-05-14, Mattias Lindgren mlindg...@runelind.net wrote: Hello, I'm using a OpenBSD 5.3 (release) machine as my router connecting to Comcast. Comcast provides native IPv6 access, however it does so a little bit differently than what is probably best practice. I use wide-dhcpv6-20080615p2 from ports to get an address on my outside interface, as well as a prefix which gets assigned to my inside interface. However, the default route is announced via Route Advertisements. That is pretty common practice for ISPs doing IPv6 (see RFC 6204), but OpenBSD doesn't support it at present. However since I would also like for my router to forward IPv6 packets, I'm not sure of how to make it work. Rtsol states that net.inet6.ip6.forwarding=0. I've tried running rtsol with forwarding set to 1, but it complains and does not grab a default route. The other option would be to manually set the v6 default route, but I'd prefer to not have to do that. Does anyone know of a workaround for this issue? Manually setting the route is the only current workaround afaik. FreeBSD turned accept_rtadv into a per-interface flag which can be set (only) on the upstream interface so you can continue to send adv's on the downstream interfaces.
Re: xenocara build failure
On 2013-05-14, Marco S Hyman m...@snafu.org wrote: What is the revision of the file? Any sticky tags/dates? rev should be 1.1.1.2 You are on to something... cvs up -PAd should remove all tags, no? It didn't. I have significantly fewer problems if I explicitly set the root on the command line: 'cvs -d $CVSROOT up [...]' (I have shell aliases, acvs etc, to do this for servers I use often).
Re: remote management
On 2013-05-13, Tony Berth tonybe...@googlemail.com wrote: Dear Group, I would like to know what kind of environment you use for remote management of one or more openbsd servers. serial console servers and remote controllable power bars. Which KVM over IP solution would you recomend. I don't generally use KVM/IP, but occasionally had reason to use dell idrac enterprise which works OK (the java client is a bit annoying at times but workable). N.B. shared IPMI/LAN ports generally do *not* work on OpenBSD (intentionally).
Re: rtsol with IPv6 forwarding turned on
On Tue, May 14, 2013 at 3:13 PM, Stuart Henderson s...@spacehopper.org wrote: On 2013-05-14, Mattias Lindgren mlindg...@runelind.net wrote: Hello, I'm using a OpenBSD 5.3 (release) machine as my router connecting to Comcast. Comcast provides native IPv6 access, however it does so a little bit differently than what is probably best practice. I use wide-dhcpv6-20080615p2 from ports to get an address on my outside interface, as well as a prefix which gets assigned to my inside interface. However, the default route is announced via Route Advertisements. That is pretty common practice for ISPs doing IPv6 (see RFC 6204), but OpenBSD doesn't support it at present. I tried to use the DHCPv6 client but found it didn't quite work right (no assigned IP to the interface). Rtsold gets the prefix and gateway just fine, but Comcast assigns a /64 prefix to my firewall. But, the DHCPv6 server won't actually issue me a V6 IP (as of yet..) I've assigned an arbitrary IPv6 address to my firewall, and it can reach out over Comcast's network with no problem. I started to look at setting up an internal local network before getting distracted by paying work. However since I would also like for my router to forward IPv6 packets, I'm not sure of how to make it work. Rtsol states that net.inet6.ip6.forwarding=0. I've tried running rtsol with forwarding set to 1, but it complains and does not grab a default route. The other option would be to manually set the v6 default route, but I'd prefer to not have to do that. Does anyone know of a workaround for this issue? Manually setting the route is the only current workaround afaik. I might give that a shot. The RA (at least the one near me) gives a link local advert (fe80::) with a /64 prefix. FreeBSD turned accept_rtadv into a per-interface flag which can be set (only) on the upstream interface so you can continue to send adv's on the downstream interfaces. That seems to be a good solution, but not necessarily the right one.
Re: remote management
On 5/14/2013 3:23 PM, Stuart Henderson wrote: On 2013-05-13, Tony Berth tonybe...@googlemail.com wrote: Dear Group, I would like to know what kind of environment you use for remote management of one or more openbsd servers. N.B. shared IPMI/LAN ports generally do *not* work on OpenBSD (intentionally). FWIW the IPMI + Intel PRO/1000 MT (82574L) shared port on these boards works great: http://www.supermicro.com/products/motherboard/Xeon/C202_C204/X9SCL-F.cfm I was even able to use the IPMI-provided virtual CDROM drive to do the initial install from an ISO located on my desktop PC. OpenBSD 5.3 (GENERIC.MP) #62: Tue Mar 12 18:21:20 MDT 2013 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8560050176 (8163MB) avail mem = 8309690368 (7924MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb4c0 (55 entries) bios0: vendor American Megatrends Inc. version 2.0b date 09/17/2012 bios0: Supermicro X9SCL/X9SCM acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT FACP APIC FPDT MCFG HPET SSDT SPMI SSDT SSDT EINJ ERST HEST BERT acpi0: wakeup devices PS2K(S4) PS2M(S4) UAR1(S4) UAR2(S4) P0P1(S4) USB1(S4) USB2(S4) USB3(S4) USB4(S4) USB5(S4) USB6(S4) USB7(S4) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) PXSX(S4) RP06(S4) PXSX(S4) RP07(S4) PXSX(S4) RP08(S4) PEGP(S4) PEG0(S4) PEG1(S4) PEG2(S4) PEG3(S4) GLAN(S4) EHC1(S4) EHC2(S4) HDEF(S4) PWRB(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Xeon(R) CPU E31240 @ 3.30GHz, 3300.47 MHz cpu0: FPU,VME,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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC cpu0: 256KB 64b/line 8-way L2 cache cpu0: apic clock running at 100MHz cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Xeon(R) CPU E31240 @ 3.30GHz, 3300.03 MHz cpu1: FPU,VME,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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC cpu1: 256KB 64b/line 8-way L2 cache cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Xeon(R) CPU E31240 @ 3.30GHz, 3300.03 MHz cpu2: FPU,VME,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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC cpu2: 256KB 64b/line 8-way L2 cache cpu3 at mainbus0: apid 6 (application processor) cpu3: Intel(R) Xeon(R) CPU E31240 @ 3.30GHz, 3300.03 MHz cpu3: FPU,VME,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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC cpu3: 256KB 64b/line 8-way L2 cache cpu4 at mainbus0: apid 1 (application processor) cpu4: Intel(R) Xeon(R) CPU E31240 @ 3.30GHz, 3300.03 MHz cpu4: FPU,VME,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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC cpu4: 256KB 64b/line 8-way L2 cache cpu5 at mainbus0: apid 3 (application processor) cpu5: Intel(R) Xeon(R) CPU E31240 @ 3.30GHz, 3300.03 MHz cpu5: FPU,VME,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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC cpu5: 256KB 64b/line 8-way L2 cache cpu6 at mainbus0: apid 5 (application processor) cpu6: Intel(R) Xeon(R) CPU E31240 @ 3.30GHz, 3300.03 MHz cpu6: FPU,VME,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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC cpu6: 256KB 64b/line 8-way L2 cache cpu7 at mainbus0: apid 7 (application processor) cpu7: Intel(R) Xeon(R) CPU E31240 @ 3.30GHz, 3300.03 MHz cpu7: FPU,VME,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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC cpu7: 256KB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24
Re: xenocara build failure
On Tue, May 14, 2013 at 2:42 PM, Marco S Hyman m...@snafu.org wrote: On May 14, 2013, at 2:07 PM, patrick keshishian pkesh...@gmail.com wrote: and none of those files were locally modified? Do you have the output of cvs up -PAd in regard to those specific files? There was no output. I have exactly one modified file in my xenocara tree. It's not in the lib subdir. I have a few more modifications in my src tree, but none in nsd which is the code that wasn't up to date. Otto Moerbeek o...@drijf.net wrote: I believe others have seen problems wher the server was running opencvs. No idea if this case is related to that. I tried updating from two different servers. anon...@anoncvs3.usa.openbsd.org:/cvs anon...@anoncvs.ca.openbsd.org:/cvs I don't recall the details exactly, but i have experienced problems where at some point I have switched from one CVS server to another, because a server was unavailable, and ended up with CVS/Root files with the different server entries. Then, when updating the source tree later, had problems with the directories with differing CVS/Root entries. --patrick
Re: NPPPD with intermediate LTS
Hi, On Mon, 13 May 2013 15:28:38 +0100 Joe Holden li...@rewt.org.uk wrote: YASUOKA Masahiko wrote: On Wed, 08 May 2013 12:32:16 +0100 Joe Holden li...@rewt.org.uk wrote: YASUOKA Masahiko wrote: On Tue, 07 May 2013 22:38:46 +0100 Joe Holden li...@rewt.org.uk wrote: 2013-05-07 22:29:03:INFO: ppp id=1 layer=chap proto=unknown Received chap packet. But chap is not started 2013-05-07 22:29:05:INFO: ppp id=1 layer=chap proto=unknown Received chap packet. But chap is not started Do you have the dialin-proxy message before these messages? If you have, I would like to see it. The only message ppp related prior to those is: 2013-05-08 12:21:07:INFO: l2tpd ctrl=1 call=3490 RecvICCN session_id=5644 calling_number= tx_conn_speed=1000 framing=sync 2013-05-08 12:21:07:NOTICE: l2tpd ctrl=1 call=3490 logtype=PPPBind ppp=0 Those AVPs don't seem to be requested by the LAC. 2013-05-08 12:21:07:INFO: ppp id=0 layer=base logtype=Started tunnel=L2TP_ipv4(172.16.10.57:54189) 2013-05-08 12:21:07:INFO: l2tpd ctrl=1 call=3490 SendZLB 2013-05-08 12:21:08:INFO: ppp id=0 layer=base ppp_recv_packet: Rcvd broken frame. ACFC is not accepted, but received ppp frame that has no address. 2013-05-08 12:21:08:INFO: ppp id=0 layer=chap proto=unknown Received chap packet. But chap is not started The LAC seems to be starting CHAP without LCP. The problem seems to be come from the LAC. If mpd has settings about proxy LCP and authentication, I would like you to try them. mpd doesn't have the ability to generate Proxy auth AVPs, I currently use both mpd and others without proxied avps, afaic it isn't breaking rfc to restart lcp at every point (which is how I work things currently) npppd itself is in Link Establishment Phase. As RFC 1661 section 3.4., | Any non-LCP packets received during this phase MUST be silently | discarded. so discarding CHAP packets from mpd should not be a problem. But npppd doesn't start LCP actively. I think this causes the problem in this case. The peer is in Authentication Phase, it must be able to receive the LCP packets from npppd. I attached the diff which makes npppd start LCP actively. Could you try the diff? How difficult would it be to add a config option to always restart lcp, or maybe just if proxied avps aren't there? If my understanding is correct and the diff will fix the problem, it's easy. --yasuoka Index: usr.sbin/npppd/npppd/lcp.c === RCS file: /cvs/openbsd/src/usr.sbin/npppd/npppd/lcp.c,v retrieving revision 1.8 diff -u -p -r1.8 lcp.c --- usr.sbin/npppd/npppd/lcp.c 18 Sep 2012 13:14:08 - 1.8 +++ usr.sbin/npppd/npppd/lcp.c 15 May 2013 02:46:28 - @@ -122,7 +122,9 @@ lcp_init(lcp *_this, npppd_ppp *ppp) _this-fsm.ppp = ppp; _this-fsm.callbacks = lcp_callbacks; _this-fsm.protocol = PPP_PROTO_LCP; + /* _this-fsm.flags |= OPT_SILENT; +*/ _this-timerctx.ctx = _this; _this-recv_ress = 0;
Re: remote management
--On Monday, May 13, 2013 09:24:13 PM +0200 Tony Berth tonybe...@googlemail.com wrote: I would like to know what kind of environment you use for remote management of one or more openbsd servers. Which KVM over IP solution would you recomend. For OpenBSD I usually try to have hardware with a decent serial console or integrated OOB mechanisms like the Sun ALOMs. (Those that use a *different* ethernet jack than that used by the OS.) If I am forced into a situation that mandates a KVM type of setup, then one solution that has worked well for me is the AdderLink iPEPS http://www.adder.com/products/adderlink-ipeps or iPEPS-DA http://www.adder.com/products/adderlink-ipeps-da. One nice thing about the AdderLink products is that they use the commercial RealVNC (encrypted) for remote management so that you're not faced with having to do something annoying like starting MS-Windows in a VM just to be able to run the tools to access your remote servers. (Yes, I'm looking at you, VMWare.) (And you other remote management solutions that need windows-specific clients.) The AdderLink can be a bit expensive for small businesses and hobbiests in their recommended one-per-server configuration (approx USD 500), however if you don't have to have different access levels for different servers' consoles, and can put up with accessing the console of only one server at a time, then you can amortize this cost by putting a decent non-networked (but electronic) KVM switch between the AdderLink and multiple servers. That price also seems comparable to similar types of technology. And for the record, the DLink DKVM-8E does *not* constitue a decent KVM switch; it's crap. It looks like AdderLink have DVI/HDMI versions of the iPEPS available, too, although I've not used them. Besides using encrypted network traffic and supporting a small number of login accounts, the AdderLink offers rudimentary source-IP-based access control. It's still a good idea to use a segrated admin subnet if you can, just on general principles. Devin
Re: NPPPD with intermediate LTS
YASUOKA Masahiko wrote: Hi, On Mon, 13 May 2013 15:28:38 +0100 Joe Holden li...@rewt.org.uk wrote: YASUOKA Masahiko wrote: On Wed, 08 May 2013 12:32:16 +0100 Joe Holden li...@rewt.org.uk wrote: YASUOKA Masahiko wrote: On Tue, 07 May 2013 22:38:46 +0100 Joe Holden li...@rewt.org.uk wrote: 2013-05-07 22:29:03:INFO: ppp id=1 layer=chap proto=unknown Received chap packet. But chap is not started 2013-05-07 22:29:05:INFO: ppp id=1 layer=chap proto=unknown Received chap packet. But chap is not started Do you have the dialin-proxy message before these messages? If you have, I would like to see it. The only message ppp related prior to those is: 2013-05-08 12:21:07:INFO: l2tpd ctrl=1 call=3490 RecvICCN session_id=5644 calling_number= tx_conn_speed=1000 framing=sync 2013-05-08 12:21:07:NOTICE: l2tpd ctrl=1 call=3490 logtype=PPPBind ppp=0 Those AVPs don't seem to be requested by the LAC. 2013-05-08 12:21:07:INFO: ppp id=0 layer=base logtype=Started tunnel=L2TP_ipv4(172.16.10.57:54189) 2013-05-08 12:21:07:INFO: l2tpd ctrl=1 call=3490 SendZLB 2013-05-08 12:21:08:INFO: ppp id=0 layer=base ppp_recv_packet: Rcvd broken frame. ACFC is not accepted, but received ppp frame that has no address. 2013-05-08 12:21:08:INFO: ppp id=0 layer=chap proto=unknown Received chap packet. But chap is not started The LAC seems to be starting CHAP without LCP. The problem seems to be come from the LAC. If mpd has settings about proxy LCP and authentication, I would like you to try them. mpd doesn't have the ability to generate Proxy auth AVPs, I currently use both mpd and others without proxied avps, afaic it isn't breaking rfc to restart lcp at every point (which is how I work things currently) npppd itself is in Link Establishment Phase. As RFC 1661 section 3.4., | Any non-LCP packets received during this phase MUST be silently | discarded. so discarding CHAP packets from mpd should not be a problem. But npppd doesn't start LCP actively. I think this causes the problem in this case. The peer is in Authentication Phase, it must be able to receive the LCP packets from npppd. I attached the diff which makes npppd start LCP actively. Could you try the diff? How difficult would it be to add a config option to always restart lcp, or maybe just if proxied avps aren't there? If my understanding is correct and the diff will fix the problem, it's easy. Perfect! See initial chap not started message, but then negotiation occurs as expected. Thanks --yasuoka Index: usr.sbin/npppd/npppd/lcp.c === RCS file: /cvs/openbsd/src/usr.sbin/npppd/npppd/lcp.c,v retrieving revision 1.8 diff -u -p -r1.8 lcp.c --- usr.sbin/npppd/npppd/lcp.c 18 Sep 2012 13:14:08 - 1.8 +++ usr.sbin/npppd/npppd/lcp.c 15 May 2013 02:46:28 - @@ -122,7 +122,9 @@ lcp_init(lcp *_this, npppd_ppp *ppp) _this-fsm.ppp = ppp; _this-fsm.callbacks = lcp_callbacks; _this-fsm.protocol = PPP_PROTO_LCP; + /* _this-fsm.flags |= OPT_SILENT; +*/ _this-timerctx.ctx = _this; _this-recv_ress = 0;