Re: pledge(2) problems on 18/x/ octeon snapshot

2015-10-20 Thread Miod Vallat
> > Might be a stupid question, but I haven't found an answer to it yet > > - how does one update to a new snapshot/kernel on an octeon system? > > boot bsd.rd and select upgrade in the installer. (i hope.) > I'm afraid this is not as simple as this, yet. You will also need to copy your kernel

Re: cannot input _ (keyboard layout is jp)

2015-10-19 Thread Miod Vallat
> chose 'keyboad layout' jp(japanese), > then i cannot input _(under bar) . Are you using a PS/2 or USB keyboard? The underscore should be obtained with shift-backslash (using the key left of the right shift key).

Re: Include "wsconsctl" on installer CD so keyboard repeat can be disabled = make VNC KVM install smooth on laggy connection?

2015-10-05 Thread Miod Vallat
> do people need autorepeat in the installer? (for what?) i think it'd be > simpler to just disable it in all ramdisks. Not all keyboards support disabling autorepeat, and for those which can, this would add more badly tested code path to their drivers.

Re: Include "wsconsctl" on installer CD so keyboard repeat can be disabled = make VNC KVM install smooth on laggy connection?

2015-10-05 Thread Miod Vallat
> VNC KVM install means some keypresses will be interpreted as seconds-long, > ordinarily leading to multiple unintended "enter" or character key presses > which easily seriously breaks things, when the connection is not perfect, > which it many times is not. > > I believe there is no way to

Re: console color

2015-09-21 Thread Miod Vallat
> For local console I've googled and TERM=wsvt25 brings colors to emacs > and vim for me on amd64. wsvt25 (and wsvt43 and wsvt50) only are 8-color terminals, and that's the best the kernels's console emulation code will provide; and this is not going to change anytime soon. If you want 16 or 256

Re: console color

2015-09-21 Thread Miod Vallat
> Can someone give be a brief rundown on how OpenBSD handles color on console? It depends upon the terminal emulation being used. OpenBSD provides both a `sun' terminal emulation, which is the default on sparc and sparc64 (use either TERM=sun for faithful behavioul or TERM=rcons-color for the

Re: Question - test lab

2015-09-11 Thread Miod Vallat
> General hints for picking up an alpha: [...] > If you intend to be in the same room as the machine, pick a workstation > model and not a server. DS25 are supposed to be deskside workstations, but their noise level fits in the `server' category.

Re: System clock hours behind, network hangs (amd64, -current)

2015-09-10 Thread Miod Vallat
> Could you also include the output of "ifconfig", "netstat -nf inet" and > "netsat -rn"? "vmstat -i" might be useful as well.

Re: Kernel Driver Question

2015-08-21 Thread Miod Vallat
is 'bus_dma' http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man9/bus_dma.9 the equivalent of 'ioremap/ioread32' http://www.makelinux.net/ldd3/chp-9-sect-4-- ? I don't think so. It looks like you are attempting to port a PCI driver, and attempting to access the device's register.

Re: SPARC minimum hardware specification

2015-07-19 Thread Miod Vallat
Indeed. If you're a my neighbour listens to heavy metal all day, whether he wants to or not kind of person, then these machines are for your home. Well, ny neighbours listen to heavy metal every day whether they want it or not, but I'd hate for a loud computer to impair that heavy metal

Re: SPARC minimum hardware specification

2015-07-16 Thread Miod Vallat
What are the minimum requirements for a decent SPARC machine? I mean by that a machine who is able to run OpenBSD as a desktop. I am currently use a Pentium 4 3.2GHz with 2 GB DDR and it barely meets my needs. Tell me please the CPU or the machine name, I will search the prices :-). I doubt

Re: LibreSSL enable-ec_nistp_64_gcc_128 vs. compiler bugs

2015-06-22 Thread Miod Vallat
Hi Miod, is your statement from http://article.gmane.org/gmane.os.openbsd.misc/218944 : Until someone spends enough time checking the various compiler versions around to check which are safe to use, and which are not, this code will remain disabled in LibreSSL. still valid, or was

Re: # sign

2015-06-17 Thread Miod Vallat
hash Wikipedia says that he use of hash for this sign may have come from Baudot, which predated both ASCII and EBCDIC. I thought everyone here knew that this sign is actually historically called `sliced unicorn hearts' after the specific pattern their heart display when thinly sliced.

Re: sshd segfaults after applying OpenBSD 5.7 errata 9

2015-06-13 Thread Miod Vallat
I am now trying to revert errata 9 and recompile libcrypto to see if I get a usable system back. (This is a fun breakage, curl is no longer working for instance.) If think I will move o to bsd.rd. You can use ftp(1) instead of curl. In the hubbub around OpenSSL 1.0.1n I read there was a

Re: Random PID implementation and security

2015-05-25 Thread Miod Vallat
It is not the responsibility of the operating system to protect its users against software which assumes using the pid as a random source is a bright and wise idea.

Re: long pad argument in SYS_mmap syscall

2015-04-14 Thread Miod Vallat
#define SYS_MMAP(addr, len, prot, flags, fd, off) \ __syscall(SYS_mmap, (void *)(addr), (size_t)(len), \ (int)(prot), (int)(flags), (int)(fd), (__off_t)(off)) #elif defined(__FreeBSD_kernel__) #define SYS_MMAP(addr, len, prot, flags, fd, off) \

Re: Can't install latest snapshot over http

2015-03-29 Thread Miod Vallat
Hi there, I wonder if others had the same problem with the latest snapshot. I can't install over http, for every file it fails with Ilegal instruction. Does anyone else has the same problem? It's the snapshot from the 26th, the latest. Do you realize you are not giving ANY information which

Re: running multiple simultaneous X sessions as different users

2015-03-15 Thread Miod Vallat
Now I finally (cough) notice those error messages in dmesg.boot. Not sure how critical they are, if it's referring to missing binary blobs, and if openbsd has fallen back to acceptable/stable defaults or something. But where it says screen 1-5 added, that seems to connect with 'man

Re: HP900/803/D220 working just as needed.

2015-03-10 Thread Miod Vallat
This is very good news! How does it work? How did you install? CD? I used to run Linux on HPPA, before the disks died, but I had a lot of trouble with software being buggy on HPPA. No Stack made a lot of stuff crazy (ffcall, ffi, interpreters, brwosers) in any case a very fine memory bug

Re: Does LibreSSL support RSA export-grade keys? - FREAK Attack

2015-03-04 Thread Miod Vallat
I think that's a win. What about PFS-only + HIGH ciphers? What about interoperability? It is too early to restrict LibreSSL to PFS ciphersuites, alas. Miod

Re: Does LibreSSL support RSA export-grade keys? - FREAK Attack

2015-03-04 Thread Miod Vallat
Sometimes you have to break things to make it better Yes, and getting people to stop using LibreSSL because it suddenly is not interoperable with anything would surely help a lot. Instead, we are trying to get developers to try and use LibreSSL provided libtsl, which defaults to sane, strong

Re: Does LibreSSL support RSA export-grade keys? - FREAK Attack

2015-03-04 Thread Miod Vallat
interoperable - you mean there are still softwares that really count and still cannot use/support HIGH ciphers? wow. What a world we live in.. :\ There are still idiots top-posting, why wouldn't there be idiots misconfiguring TLS servers or not giving a damn? Miod

Re: athn at usb fixes

2015-03-03 Thread Miod Vallat
You can borrow a tip from USB hardware hackers here: use an external hub to help protect your ports. But I really need my hub, too! Look for people holding ``free hubs!'' signs in the streets...

Re: Legacy Laptop stops working with OpenBSD GENERIC = 5.5

2015-02-11 Thread Miod Vallat
Both works with OpenBSD 5.4. Ok, I've remembered ACPI and given it a try to disable in UKC. Now, the stuff works. :-) But now you're depriving us of the means to help you. Please send a 5.4 dmesg if you still have it, and 5.6 dmesgs with and without acpi disabled, as well as `acpidump' and

Re: man shutdown 8 diff in BSDs

2015-01-20 Thread Miod Vallat
Make -h, -p and -r distinct, incompatible, options. (removes support for -hp) Like FreeBSD, it seems reasonable to also mark -k as incompatible with the other three options. I hate this. I type shutdown -hp all the time. Ditto. I'm fine with -p implying -h, but don't break existing

Re: Variable Length Arrays

2015-01-03 Thread Miod Vallat
So I've been wondering about variable length arrays from c99 for a while now. They seem to me like a good way to avoid lots of trivial calls to malloc/free at least for smaller arrays that aren't going to blow up the stack. That said I don't see them being used. The promise of them seems

Re: [Tor-BSD] Recognizing Randomness Exhaustion

2015-01-01 Thread Miod Vallat
I should have also specified that I didn't just go ahead and enable them because I wasn't sure if they're considered safe. I like abiding by OpenBSD's crypto best practices when possible. Is there any reason why they're disabled by default? Compiler bugs generate incorrect code for

Re: OpenBSD projects

2014-12-26 Thread Miod Vallat
Here's a list of projects that I'm aware of that openBSD created. Is that correct? (p) is for portable. What else am I missing? mandoc (p) Mandoc was not initiated by OpenBSD, although it got engulfed very quickly thanks to Ingo's hard work.

Re: OpenBSD projects

2014-12-26 Thread Miod Vallat
Was Tim Miller (guy that created sudo, right?) an openbsd developer before/during/after/never when sudo was put in base in 2009? He's Todd Miller, he did not create sudo, and sudo was imported in 1999, not 2009.

Re: Strange default values in /usr/src/distrib/amd64/iso/Makefile

2014-12-20 Thread Miod Vallat
This change is not going to happen. Okay, thanks, I can see how that would be a problem. Note that these variables are ?=, so environment takes precedence. Just build with RELDIR and RELXDIR set in addition of RELEASEDIR and you're all set.

Re: null checks before free()

2014-12-14 Thread Miod Vallat
Not that long ago we saw a lot of commits related to null checks being not needed before free() calls. [...] So how should I interpret this in relation to the above commit messages? 1) double free is safe, no need for null checks 2) double free is detected by OpenBSD, no need for null

Re: segmentation fault during package build

2014-12-06 Thread Miod Vallat
I can confirm the spurious segmentation faults or `double free' issues with an SM40 module, and I am currently investigating the issue. Miod

Re: Disk /dev/X is user root, group wheel, permissions brw-r-----.

2014-12-04 Thread Miod Vallat
chgrp operator /dev/X Thanks. I tried it but I now get Disk /dev/X is user root, group operator, permissions brw---. Permissions are supposed to be 640. Either your original install was not made from a verified OpenBSD source, or you've run some scripts on your system since then,

Re: OT:Password strength

2014-11-30 Thread Miod Vallat
Examples: treetykaveprethicooputhedu soonataviceenoopatecoge gootrozapiceelytrithunula preezypeendothanundipeesooka These stand no chance against a finnish attacker! Miod

Re: Ancient source-changes archive

2014-11-28 Thread Miod Vallat
Use ftp://ftp.openbsd.org/pub/OpenBSD/Changelogs/ or any mirror. For developers, the same is available in /cvs/CVSROOT/ChangeLog*. Ah, but these files lack about one month of changes in 1996.

Re: Sun/Cassini Quad Gigabit Card Not Detected

2014-11-09 Thread Miod Vallat
Hi, I've installed OpenBSD 5.6 (i386) on a dual processor XEON box which has a 4 port Sun (Sun# 501-6738-10) Gigabit NIC card. dmesg doesn't have any indication that the card is installed. Booting Linux shows the card as Sun/Cassini which I believe should be handled by the cas driver.

Re: sudo bad practice or inconsistency?

2014-10-14 Thread Miod Vallat
just22@poseidon:[xfe] sudo su -c ls su: no such login class: ls so basically sudo is parsing the -c option instead of passing it to su. No, it is not. If it were, the error message would come from sudo, not from su. And, in any case, why the same command works in Linux? do they use a

Re: [LibreSSL] unable to encrypt file

2014-08-12 Thread Miod Vallat
I'm trying to encrypt a file using openssl and a prompted password on OpenBSD. Unfortunately there is no prompt and all I get is a 'bad password read': I'll guess you're using a snapshot from one or two weeks old. This has been fixed since.

Re: running cvs update as root (was: Re: New install)

2014-06-09 Thread Miod Vallat
http://www.openbsd.org/anoncvs.html shows the 'cvs update' command being run by root (# shell prompt), and I wouldn't expect any non-root user to have write permission to /usr/src anyway. So... why is doing the cvs-update as root a bad idea? Is this a kind of bad joke? Running anything as

Re: New install

2014-06-08 Thread Miod Vallat
cd /usr/ export CVSROOT=anon...@anoncvs.openbsd.org:/cvs cvs -d$CVSROOT up -rOPENBSD_5_5 -Pd You should run this in /usr/src, not /usr. And you should not run this command as root either.

Re: standard FAQ procedure ... in chroot

2014-06-07 Thread Miod Vallat
Is this some kind of security protection ? of course... see mknod(2). i read it and still does not understand. Check the description of EINVAL.

Re: new OpenSSL flaws

2014-06-05 Thread Miod Vallat
Now you have and example of how they are unwilling to work with you next time someone asks why not work with OpenSSL on fixing it. Pretty direct proof. The culture gap between OpenSSL and OpenBSD/LibreSSL is UNFIXABLE. We believe in peer review; they don't give a sh*t about it (as shown less

Re: building a release sh checkflist

2014-05-21 Thread Miod Vallat
When I run sh checkflist from /usr/src/distrib/sets I get the following output: # cd /usr/src/distrib/sets # sh checkflist 1,51d0 [snip 28721 lines] In the past I usually get no output when I run it. Any thoughts? You forgot to set DESTDIR.

Re: Lenovo Y510P status on OpenBSD amd64 -current

2014-05-16 Thread Miod Vallat
6) Wired LAN not supported Attansic Technology AR8171 rev 0x10 at pci1 dev 0 function 0 not configured There is currently no support for this chip in OpenBSD. If you're willing to tinker, you could try and port the FreeBSD driver available here: https://github.com/markjdb/alx-freebsd which

Re: Intel driver doesn't get automatically selected by Xorg

2014-05-07 Thread Miod Vallat
When I run X, I get the following result (from Xorg.0.log): [...] [ 42880.713] (II) intel: Driver for Intel(R) HD Graphics: 2000-5000 [ 42880.713] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100 [ 42880.713] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200 [ 42880.713] (II)

Re: Big endian options

2014-05-02 Thread Miod Vallat
If one is to consider only hardware that is still being manufactured (ie: bought new), what are our options now? The only big-endian systems you can buy new nowadays, would be Octeon-based systems. Some of them can run OpenBSD.

Re: My Cyrix CPU is a filthy rotten liar!

2014-04-26 Thread Miod Vallat
The question I have is can I disable the random number generator?s use of that instruction? I?d rather be on -current than years old. Apart from the following hammer, I see no easy way to achieve this. Index: i386/machdep.c ===

Re: My Cyrix CPU is a filthy rotten liar!

2014-04-26 Thread Miod Vallat
On 2014-04-26, Miod Vallat m...@online.fr wrote: The question I have is can I disable the random number generator?s use of that instruction? I?d rather be on -current than years old. Apart from the following hammer, I see no easy way to achieve this. Index: i386/machdep.c

Re: OpenBSD - Linux compatibility

2014-04-22 Thread Miod Vallat
to understand the purpose of the binary compats, you really have to go way back in history. there was a time when the only way to run a grapical browser on openbsd was to use the netscape binary under BSDi emulation (I think it was BSDi, not 100% certain) on i386 or the solaris binary under

Re: is -current broken?

2014-04-07 Thread Miod Vallat
I've upgraded -current (i386, dated april 6th, 2014), and a few things (e.g. pkg_mgr and libreoffice4.1) won't start. Is it intentionally broken, or the packages are just out of sync? You did not say what state you were upgrading from. Your question can't be answered without this

Re: OpenBSD Website, multilanguage faq

2014-04-04 Thread Miod Vallat
I would volunteer to translate the FAQ into Bazgelootz, a language my wife and daughter and I made up over 25 years around the dinner table, but they don't use OpenBSD. Would your translation have been in Traditional Bazgelootz, or in Simplified Bazgelootz? The former could be useful to get,

Re: No audio

2014-02-22 Thread Miod Vallat
I noticed error message on boot a while ago, but wasn't paying much attention until right now. [...] Using snap from today, but saw problem a good time ago, wish I had paid attention sooner. Do you have an old dmesg from a kernel with working sound? Did you change anything in your BIOS

Re: OpenBSD rootkits

2014-02-17 Thread Miod Vallat
Attacks with LD_PRELOAD are very old and can be performed on any OS where you have dynamic linking (Linux, *BSD etc.), so yes, OpenBSD is vulnerable to this type of stuff. You forgot to mention that the value of LD_PRELOAD is ignored for set*id executables, in order to

Re: OpenBSD rootkits

2014-02-17 Thread Miod Vallat
It actually should reduce the risk for set*id(), but this in the past related to CVE-2006-6164 (_dl_unsetenv())? Yes, and this has been fixed since.

Re: OpenBSD rootkits

2014-02-17 Thread Miod Vallat
and of course PAM: http://blackhatlibrary.net/Hooking_PAM Well, there's a reason why OpenBSD does not embed PAM. It has to do with software giving people enough rope to hang themselves.

Re: The unknown in i386-unknown-openbsd5.4

2014-02-02 Thread Miod Vallat
i386-donatetoopenbsdfoundationtoday-openbsd5.4? or i386-bikeshed-openbsd.

Re: restoring keyboard layout after suspend or hibernate

2014-01-23 Thread Miod Vallat
[cc: tech@, reply-to set to tech@] After suspend or hibernate, I lose my designated console keyboard layout (sv) and it reverts to the default (us?) wsconsctl shows that the encoding to still be sv, keyboard.encoding=sv What setting(s) am I missing to preserve the designated

Re: restoring keyboard layout after suspend or hibernate

2014-01-23 Thread Miod Vallat
Something is inconsistent here. Do you mean the uk is not the default? Or there is a difference between mux default and new attach default? How does one know whether plugging a keyboard in is reattaching it or attachning a new one? There is a difference between a keyboard which can provide

Re: Power consumption of various architectures

2014-01-19 Thread Miod Vallat
Having used most of the architectures out there, can you please say which of them consume most/least power in regular operation of OpenBSD, if you have such statistics? I can't tell for the exact machines Theo is using, but here are a few values from my bunker: - VAX 4000/106 (fast vax,

Re: Request for Funding our Electricity

2014-01-17 Thread Miod Vallat
And it's not full emulator if it doesn't emulate the bugs. It's almost bedtime in Europe. Do you mind if I tell you a bedtime story? Years ago, a (back then) successful company selling high-end Unix-based workstations, having been designing its own systems and core components

Re: Request for Funding our Electricity

2014-01-14 Thread Miod Vallat
Yes, we remove about 10 of the architectures. We'd slowly lose the developers who like to work on those areas. They also work in other areas, but ... I suspect they would another BSD that supports them. Darn' tootin'! Anyone want to suggest we hold a bake sale? Make that a lo-carb bake

Re: kernel config, unremmovable driver

2014-01-06 Thread Miod Vallat
however removing et*at pci?# Agere/LSI ET1310 causes this at link stage: ld -Ttext 0xD0200120 -e start -N --warn-common -nopie -S -x -o bsd ${SYSTEM_HEAD} vers.o ${OBJS} fxp.o(.text+0x495): In function `fxp_mediachange': : undefined reference to `mii_phy_reset'

Re: 5.4 on a ThinkPad 760EL

2013-12-22 Thread Miod Vallat
I'm trying to install 5.4 on an old ThinkPad 760EL and running into some trouble, probably due to how little RAM it has - 16 MB. [...] I have read INSTALL.i386 and it says that I need at least 32 MB of RAM for 5.4. [...] Apologies if there

Re: 5.4 on a ThinkPad 760EL

2013-12-22 Thread Miod Vallat
OpenBSD is getting so bloated these days, it requires so much RAM :) Only on x86! Miod

Re: loongson:automatic loading of OpenBSD:YES to 8G ssd No for 500Gdisk

2013-12-11 Thread Miod Vallat
PMON vers PMON: PMON2000 2.1 (Bonito) #14: Tue May 18 10:33:47 CST 2010 The yeeloong here runs the same version, and autoboots correctly, but its disk is only 160GB. I am not aware of anyone using = 500GB disks in a Yeeloong, this could very well trigger a bug in Lemote's bastardisation of

Re: loongson:automatic loading of OpenBSD:YES to 8G ssd No for 500G disk

2013-12-08 Thread Miod Vallat
2. change the disk to Seagate 500g disk, install 5.4 release with same settings. 1)when power up the notebook, system will hung in the splash screen (Press Tab to recover | Press Del to setup) now hit Del, can not enter PMON prompt(nothing happend) 2)if power up the notebook and Press

Re: FAQ 7.3

2013-11-21 Thread Miod Vallat
What should i do to have scrollback again? Scrollback is currently not supported when running frame buffer display drivers. I am not aware of plans to work on restoring this feature (although it is probably somewhere on my todolist). Btw, to mitigate this fact, is there maybe a mode to

Re: text-mode console, wscons ignoring keyboard repeat

2013-10-24 Thread Miod Vallat
On the i386 snapshots dated Oct 9 and Oct 23, I am unable to make the text-mode console (no fancy inteldrm here) repeat keyboard input any faster than the default. [...] $ wsconsctl keyboard.repeat.del1=1 keyboard.repeat.del1 - 1 $ wsconsctl keyboard.repeat.deln=1 keyboard.repeat.deln -

Re: Apple keyboard backlight

2013-10-23 Thread Miod Vallat
Hello again, Is it possible to utilise the keyboard backlight found on Apple laptops with OpenBSD? If it attaches as a set of usb devices and exposes the backlight as one of its report descriptors, then it could be controllable from OpenBSD. You might want to tinker with usbhidctl(1). Miod

Re: m88k architecture has no snapshot packages

2013-09-26 Thread Miod Vallat
Relating to my post on September 12 about the SHA256 file missing for several architectures's snapshots ( http://marc.info/?l=openbsd-miscm=137900173516173w=2), I've noticed that several other architectures' INSTALL.$arch file lists a non-existent m88k package architecture. I'm not sure what

Re: Bootparamd

2013-09-12 Thread Miod Vallat
Who uses bootparam? Only the Kernel? bootparam is used by network boot blocks on several machines, as well as by the kernel when booting with root on nfs. Is Bootparamd a standard? FreeBSD has it with the same author, there is also a Bootparamd in SunOS. I think this is important to know

Re: sudo configuration !ttytickets?

2013-09-12 Thread Miod Vallat
I can't say whether this is the thinking of the OpenBSD developers, but I have seen some concerns over the years that tty_tickets gives a false sense of security. Not to mention the annoyance. Miod

Re: 11 mid-2102 i7 MacBook Air 5,1 dmesg

2013-09-05 Thread Miod Vallat
Geez, not much changed in the 89 years between now and 2102. :-) Ken Im the idiot from the future, 2 days ago, I thought I was running 5.4-RELEASE on there 5.4-RELEASE will have time issues in 2102. However, 5.4-CURRENT as of now ought to run without any particular problems

Re: diff: INSTALL: etcXX: (addition of opening quotes)

2013-08-17 Thread Miod Vallat
Here's an addition of opening quotes in this INSTALL file: Fixed. Thanks! Miod

Re: .shrc vs ~/.shrc

2013-08-12 Thread Miod Vallat
$ . .shrc /bin/ksh: .: .shrc: not found $ . ~/.shrc $ echo $SHELL /bin/ksh Why is it that ksh can find ~/.shrc and '.' it, but cannot find .shrc, which is the very same file? Because '.' is not in your $PATH. Miod

Compilers in OpenBSD

2013-07-31 Thread Miod Vallat
A recent discussion (``Default software in the base'') suggests using Clang/LLVM as the system compiler in OpenBSD in the short-term future. This discussion hasn't really gone anywhere, yet I thought I could waste bandwidth with my thoughts as the current de-facto compiler maintainer in OpenBSD.

Re: Java on OpenBSD 5.3

2013-07-19 Thread Miod Vallat
Pretty sure it takes more than 1.7G to build Java. But then how can java people pretend it has any usefulness, besides filing disks? Miod

Re: OpenBSD Doesn't Support 64-Bit Intel

2013-07-03 Thread Miod Vallat
an unlikely combination, but a 486sx with a Weitek 4167 would qualify. And OpenBSD would not run on it, because it only expects an x87-compatible FPU on such a system. Plus... I would not be surprised if some day, someone (probably Chinese/Taiwanese/Indian) did an embedded x86 compatible-ish

Re: Can't boot Loongson after upgrade from 5.2 - 5.3

2013-06-19 Thread Miod Vallat
Has anyone done a successful upgrade from Loongson 5.2 to 5.3? I've done upgrades on numerous platforms and this is the only one I've ever had problems with. The upgrade seemed to go fine and finish normally. After the reboot it goes from the Lemote Dragon screen to a black screen and stops

Re: Can't boot Loongson after upgrade from 5.2 - 5.3

2013-06-19 Thread Miod Vallat
A fresh install also doesn't boot and using PMON to boot into it fails the same way as on the old install. Well crap. That was unexpected. If a new install fails, now that's something unexpected. Will installing 5.2 (which used to work) boot again? Miod

Re: Can't boot Loongson after upgrade from 5.2 - 5.3 update

2013-06-19 Thread Miod Vallat
An update...the bsd.rd kernel boots from / but not bsd. bsd from snapshots also boots. Looks like there is some problem with bsd in loongson 5.3 release. Where did you get your 5.3 release from? Did you check its md5? Miod

Re: Suspend/Resume on Lemote Yeeloong netbook

2013-06-13 Thread Miod Vallat
Thank you for the reply, I have now tried suspending with 'zzz', which puts the netbook to sleep within a second, but it will not turn back on by pressing keys or the touchpad/touchpad buttons. So now the machine will not go back on, unless I assume, if I use the power button, in which case

Re: Suspend/Resume on Lemote Yeeloong netbook

2013-06-05 Thread Miod Vallat
I have installed OpenBSD onto my Lemote netbook, and have apmd running on startup. If I run the command 'zzz' the computer suspends perfectly. However, on turning the machine back on, it boots as normal, with complains about being uncleanly shutdown. How did you `turn the machine back on'?

Re: current/macppc on Mac Mini

2013-05-23 Thread Miod Vallat
Were you thinking of something like that? It works for me (c) tm, with my PowerBooks (disk@0/wd0), I haven't tried NFS boot yet. Not exactly, but your version is probably better than what I was thinking of. However, it will not allow for root on the second wd disk of a controller, or on any

Re: panic: got error 5 while accessing filesystem

2013-04-28 Thread Miod Vallat
I wasn't able to find out what error 5 is. EIO. There are probably horrible I/O error messages in your dmesg prior to this panic. I will try disabling softdeps on that filesystem. This will indeed avoid the panic (which occurs because at this point there is no way to propagate the I/O error

Re: Ethernet card not working

2013-04-16 Thread Miod Vallat
Hi, I inserted the card into a debian laptop which recongizes it. Here some output. dmesg: [ 149.244112] pcmcia_socket pcmcia_socket1: pccard: PCMCIA card inserted into slot 1 [ 149.244234] pcmcia_socket pcmcia_socket1: cs: memory probe 0xa000-0xa0ff: excluding

Re: Disk layout: OpenBSD OT

2013-03-02 Thread Miod Vallat
just wonder in a typical hard drive nowadays (SATA/SAS), the sector 0 is in the inner or outter track ? Which tracks are faster: the inner ones or the outter ? Only the manufacturer knows. Disks have been reporting fake geometries since more than 20 years. The electronic on the disk will do

Re: Precisions on ZFS (was: Millions of files in /var/www inode / out of space issue.)

2013-02-22 Thread Miod Vallat
Please, please, please, can someone port ZFS, just to end this endless thread...? Please someone port HAMMER instead. We are only interested in free software, with no strings attached.

Re: OpenSMTPD - thank you!

2013-02-02 Thread Miod Vallat
Don't be a tease!! What's in -current? Ponies. Lots of'em.

Re: vi vs ed in bsd.rd - proposal

2013-01-11 Thread Miod Vallat
The only editing available tool in bsd.rd, the infamous ed, made me sweat cold with fear not to correctly spell its syntax or do some logic mistake. I would have been way more lighthearted if I had vi available. Actually, vi used to be in the installation media, 15 years ago. Lack of space

Re: current/macppc on Mac Mini

2012-12-26 Thread Miod Vallat
Just upgraded to a current again, with the same problem, and the same solution: [...] wdc1 at kauaiata0 irq 39: DMA atapiscsi0 at wdc1 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: MATSHITA, DVD-R UJ-825, DAND ATAPI 5/cdrom removable wd0 at wdc1

Re: 5.2 bsd.rd -- panic: cannot open disk, error EINVAL

2012-11-05 Thread Miod Vallat
I seem to be unable to boot from locally-compiled bsd.rd (i386). I have triple-checked everything I'm doing against release(8) instructions and tried both 5.2 -stable and release CVS tags; the result is the same: panic: cannot open disk, 0x1100/0x2f02, error 22 Let me guess. You have

Re: *** Error 1 in /usr/src/sys/arch/amd64/compile/GENERIC.MP (Makefile:816 'copy.o')

2012-11-03 Thread Miod Vallat
You need to rebuild binutils first - this ought to be added to the `following -current' faq, but hasn't been added yet. Miod

Re: duplicate code

2012-09-30 Thread Miod Vallat
Question: Why is there duplicate code in bus.h that says its not implemented? This was added by mistake in 1.44 by accident, and noone had noticed so far. Thanks for reporting this. Miod

Re: Ubiquiti EdgeMax

2012-09-12 Thread Miod Vallat
Dual-core MIPS64 processor with hardware acceleration for packet processing and encryption/decryption. And conveniently not giving any more details. Also, there might be no easy way to load anything but the manufacturer-provided software. Only 99 USD, wonder if OpenBSD can run on it and take

Re: Ubiquiti EdgeMax

2012-09-12 Thread Miod Vallat
there was already some work to get Cavium based systems supported. However, 1) Cavium is anal^Wreticent about providing documentation without strings attached, and 2) Cavium hardawre does not really fit in the $100 price range. Also, the Cavium cnMIPS cores lack a FPU, which is probably not

Re: Dilemma: between OpenBSD and NetBSD

2012-08-11 Thread Miod Vallat
You will find idiots on @misc. It's one of the few things not in the FAQ. We'd rather not have idiots in the FAQ (-: Miod

Re: getty

2012-08-06 Thread Miod Vallat
I would like to change /etc/ttys to get, for instance: ttyC3 /usr/libexec/getty std.192600 vt220 on secure instead of : ttyC3 /usr/libexec/getty std.9600 vt220 on secure Do you think i could run into problems ? As long as you are using a baud rate recognized by getty,

Re: Fuloong: how to boot single user mode from pmon?

2012-07-18 Thread Miod Vallat
2G: fixed 2F without the branch prediction bug. I am told the recent Yeeloong and Fuloong are fit with 2G processors. I am not even sure these can be told apart in software, as 2G supposedly reports itself as a 2F level. Does anybody have a piece of assembly code that triggers the

Re: Fuloong: how to boot single user mode from pmon?

2012-07-17 Thread Miod Vallat
Note that all this is because of PMON bugs, we did our best to circumvent the bugs, but this is the best we can do. No, we can do better. The real pie-in-the-sky fix is to do what had been done on hp300 30 years ago: make the bootloader actually be a kernel without userland, scheduling and

  1   2   3   4   >