Re: Capturing kernel debugger output without serial console

2008-12-17 Thread Matthew Szudzik
On Wed, Dec 17, 2008 at 01:17:44PM +0200, Lars Nood??n wrote: > What is a reasonable way to capture kernel debugger (ddb) output without > a serial console? I'm able to consistently get ifconfig to crash on the Take a photograph of the screen.

Re: Backup strategies

2009-02-01 Thread Matthew Szudzik
On Sun, Feb 01, 2009 at 12:12:50PM +0100, Toni Mueller wrote: > I can fetch files that are well over 4GB and burn them on DVD. These > files are called as "ISO" files, but I don't know exactly what's inside See http://en.wikipedia.org/wiki/ISO_9660#The_4_GiB_.28or_2_GiB_depending_on_implementat

Re: Backup strategies

2009-02-01 Thread Matthew Szudzik
On Sat, Jan 31, 2009 at 02:04:32PM +, Dieter wrote: > > i kinda like cpio for fast backup of filesystems... for large media > > files (think anime movies) -- I think its generally best to just > > burn them on a iso.. > > ISO files have a 2 GB filesize limit, so large files don't fit. I use

Re: Backup strategies

2009-02-01 Thread Matthew Szudzik
On Sun, Feb 01, 2009 at 06:34:31PM +0100, Pierre Riteau wrote: > The 4GB file limitation is for files *INSIDE* an ISO file system, not > for the ISO itself. Exactly! It's OK to have a DVD "crammed to the brim" with 4.7GB of data, as long as the individual files on the DVD are each under the files

Re: nroff -mandoc alternative

2009-02-28 Thread Matthew Szudzik
On Sat, Feb 28, 2009 at 11:01:49PM +0100, Kristaps D??onsons wrote: > Hello, if anybody's interested in an alternative to groff for viewing > BSD "mdoc" manual pages, I'm actively looking for patches and problem > reports for mdocml. From the site : Excellent! Was this pro

Re: Can someone please suggest a replacement for xterm for me?

2009-03-06 Thread Matthew Szudzik
On Thu, Mar 05, 2009 at 11:43:58PM -0800, patrick keshishian wrote: > cut-and-paste no. copy-and-paste yes. is that not good enough? The main problem is that there are are 3 different copy-and-paste operations under X Windows. There is the PRIMARY (copies by highlighting text and pastes by clicki

Re: Can someone please suggest a replacement for xterm for me?

2009-03-06 Thread Matthew Szudzik
On Fri, Mar 06, 2009 at 02:16:05PM +0100, frantisek holop wrote: > hmm, on Fri, Mar 06, 2009 at 11:45:49AM +0000, Matthew Szudzik said that > > PRIMARY. So, if you've copied something to the CLIPBOARD in firefox, > > then you won't be able to paste it in xterm. > >

Re: Can someone please suggest a replacement for xterm for me?

2009-03-06 Thread Matthew Szudzik
On Fri, Mar 06, 2009 at 11:59:49AM -0500, Marcus Watts wrote: > Recent versions of xterm (237, 242) have some new options you might find > helpful. > > control-center-button brings up "VT options", then > just past "Allow 80/132 Column Switching", there are 2 new options: > "Keep Selection", and

Re: halt -p does not powerdown ThinkPad X200 under 4.5beta

2009-03-10 Thread Matthew Szudzik
On Tue, Mar 10, 2009 at 09:34:38AM -0500, Marco Peereboom wrote: > What happens here is that the bios lies and tells us to write a value to > some register and nothing happens. We have debugged several of these > machines and all to the same avail; we are doing it right but nothing > happens. May

Re: linux binary emulation (corrected kdump)

2009-03-13 Thread Matthew Szudzik
On Fri, Mar 13, 2009 at 12:55:18PM -0400, Ted Unangst wrote: > On Fri, Mar 13, 2009 at 8:41 AM, Constantine Cusulos > wrote: > > Maybe compat_linux needs some additional work. > > No doubt about that, but interest is seriously waning. I cared back Although interest in compat_linux may be "serio

Re: linux binary emulation (corrected kdump)

2009-03-13 Thread Matthew Szudzik
On Fri, Mar 13, 2009 at 05:40:46PM +, Matthew Szudzik wrote: > homepage? Other features like pf, carp, openssh, sparc64 support, etc. > aren't mentioned at all on the front page of www.openbsd.org Oops. OpenSSH is mentioned on the front page, albeit in a footnote that lists

Re: Ideas for Getting MATLAB/Mathematica to utilize sparc64 ram that runs openbsd

2009-03-25 Thread Matthew Szudzik
On Wed, Mar 25, 2009 at 03:30:56AM -0700, J.C. Roberts wrote: > As for the actual question of getting Mathematica and/or Matlab to run > on your sparc64 under OpenBSD, what about using SysV-R4 emulation with > the available Solaris binaries? > > At least with Mathematica, linux binaries are only a

Re: Ideas for Getting MATLAB/Mathematica to utilize sparc64 ram that runs openbsd

2009-03-25 Thread Matthew Szudzik
On Wed, Mar 25, 2009 at 09:10:39AM -0700, Vivek Ayer wrote: > experiment. The Sun blade systems are all already web servers which > have allocated 2 GB to memcached, but still have so much more to give. > I thought maybe this was a useful way to use that extra RAM. Another problem that you might e

Installing Mathematica 6 on OpenBSD

2009-03-29 Thread Matthew Szudzik
On Wed, Mar 25, 2009 at 11:56:45AM +, Matthew Szudzik wrote: > Incidentally, I'm running Mathematica on i386 using compat_linux. There > are a few non-trivial steps involved in the installation--contact me if > you want the details. I've received a few requests

Re: Games

2009-04-08 Thread Matthew Szudzik
On Wed, Apr 08, 2009 at 09:19:00PM +0200, Matthias Kilian wrote: > The new release song is really catchy. Many thanks to Jonathan, I'm in complete agreement. It's probably the best OpenBSD song yet, and has the potential to appeal to frustrated computer users outside the OpenBSD community (e.g. t

Re: Games

2009-04-09 Thread Matthew Szudzik
On Thu, Apr 09, 2009 at 02:34:20PM +0300, Aapo Lehtinen wrote: > Very good song! Is there "original" available somewhere? I presume it is > somehow connected to this "Tron" but i'm unfamiliar with it. (..oh, i'll The song "Only solutions" by Journey was featured in the movie Tron. http://www.yo

Re: [semi-OT] Can anyone recommend an OpenBSD-compatible colour laser printer?

2009-04-11 Thread Matthew Szudzik
On Sat, Apr 11, 2009 at 02:20:25PM +0200, ropers wrote: > went on behind the scenes. I am trying to catch up on that, though I'm > finding that comprehensive, thorough, and up-to-date documentation on > the whole Unix printing landscape seems to be somewhat hard to find. There is a chapter on prin

Re: Yahoo videos on OpenBSD

2009-04-20 Thread Matthew Szudzik
On Mon, Apr 20, 2009 at 07:46:42PM +0200, Tom Bodr wrote: > someone is watching Yahoo videos on OpenBSD? I use http://keepvid.com to download the video, then play it with mplayer.

Re: ThinkPad T60 audible bell *very* loud

2009-04-21 Thread Matthew Szudzik
> feel. The stupid bell should be killed dead. Actually, I prefer the bell over the more complex "alert sounds" produced by other operating systems--to me, anything other than a simple bell would be needless bloat. (I'm reminded of the fact that every time I try to shutdown a Windows machine, I

Typo on OpenBSD 4.5 CD Set

2009-04-21 Thread Matthew Szudzik
There is a typographical error on the back cover of the OpenBSD 4.5 CD set. It says "This package contains the operating system and a selection of applications for the i386, macppc, amd64, sparc, and sparc64 architectures." This is incorrect, because the CDs do not contain the operating syste

Re: automaticaly mount/umount encrypted $HOME or ...

2009-04-30 Thread Matthew Szudzik
On Tue, Apr 28, 2009 at 10:18:35PM +0300, Timo Myyr?? wrote: > I encrypted my $HOME with bioctl and just put the 'bioctl -c C -l > /dev/sd0g softraid0' line to my /etc/rc. Simple and working solution > although it needs a little bit tweaking as currently I get dropped to > single user mode if I

Sharing softraid volumes between machines

2009-04-30 Thread Matthew Szudzik
Can a softraid volume be shared between two different computers? Here's my scenario: I have two OpenBSD machines, A and B. Both are running OpenBSD 4.4. Machine A is my primary computer, and I regularly back it up on an external hard drive, encrypted with softraid. My plan is to copy the backup

Re: Sharing softraid volumes between machines

2009-04-30 Thread Matthew Szudzik
On Thu, Apr 30, 2009 at 08:30:25AM -0500, Marco Peereboom wrote: > This should work but there are a few caveats. It has to be same arch That's the problem. Machine A is i386 and machine B is macppc.

Trouble with "Times" fonts in OpenBSD 4.5

2009-05-03 Thread Matthew Szudzik
I have just installed OpenBSD 4.5 on i386, and I am observing a problem with fonts. It is most noticeable with the /x11/msttcorefonts port installed. The problem is that Bitstream Vera Serif is always being used instead of any variant of "Times". For example if I set firefox or gimp to use Times

Re: Trouble with "Times" fonts in OpenBSD 4.5

2009-05-03 Thread Matthew Szudzik
On Mon, May 04, 2009 at 03:47:41AM +, Matthew Szudzik wrote: > The problem is that Bitstream Vera Serif is always being used instead of > any variant of "Times". For example if I set firefox or gimp to use After a little investigation, I have discovered that this problem

Re: Disk enryption or storing data in safe

2009-05-09 Thread Matthew Szudzik
On Sat, May 09, 2009 at 04:38:41AM +0300, Cem Kayali wrote: > Well, could you please advise me how i can automate to run bioctl > *before* fstab entires mounted? --- so that i can push ie; /var, /usr > and swap partitions into encrypted volume? Assuming that your RAID partition is sd0d, use th

Re: RAM not detected on HP DL580 G4

2009-05-29 Thread Matthew Szudzik
On Fri, May 29, 2009 at 02:33:48PM +0200, BARDOU Pierre wrote: > I'm trying to set up an OpenBSD 4.5 amd64 on a HP ProLiant DL580 G4. It has 38 > GB RAM, but only ~3 GB is detected. > Is it possible to use all the RAM ? See http://marc.info/?l=openbsd-misc&m=123763424431042

Re: Activation of TrueType hinting in 4.5

2009-06-10 Thread Matthew Szudzik
On Wed, Jun 10, 2009 at 09:12:17AM +0200, Federico Giannici wrote: > Now I tried to upgraded my desktop PC to OpenBSD 4.5, but I wasn't able > to activate the TrueType hinting. Did you remove 31-nonmst.conf? See http://marc.info/?l=openbsd-misc&m=124141462930332

Re: AirPort Express Base Station with AirTunes for printer sharing

2007-10-20 Thread Matthew Szudzik
I have an Airport Extreme Base Station, and after experimenting with CUPS and consulting several Linux-related websites, I was unable to figure out how to share an HP LaserJet 1200 with my T60 under OpenBSD. In the end, I decided that it's best not to share a printer over a wireless network, si

Re: AirPort Express Base Station with AirTunes for printer sharing

2007-10-20 Thread Matthew Szudzik
> The last time I set an Apple base station up for someone the Apple setup > program was necessary and they only had Mac and Windows versions. There is a Java-base AirPort Base Station Configurator at http://gicl.cs.drexel.edu/people/sevy/airport/ I have not tested it on OpenBSD.

Re: MAXDSIZ 1GB memory limit for process

2007-10-22 Thread Matthew Szudzik
> > Do you plan to increase this limit? > > i don't think so. Could somebody explain the reason for the 1 GB maximum datasize per process in OpenBSD? Is this a limit on the heap size of a process, or is it stack size + heap size? I can imagine how this limit might arise on a 32-bit system, si

Re: fsck_msdos wants to repair what newfs_msdos created (4.1)

2007-10-26 Thread Matthew Szudzik
> Does this mean that the two (incorrect) fields > > Free space in FSInfo block (-1) not correct (134041) > Next free cluster in FSInfo block (2) not free > > of a newly created 'msdos -F 32' are nothing to worry about? I encountered the same problem a few months ago http://marc.i

Re: Non-x86

2007-10-26 Thread Matthew Szudzik
> > Where are the choices for non-x86? > > The only remaining alternative is Sparc. Everything else is either old > (macppc) or expensive & unsupported (IA64). If anyone is looking for a non-x86 laptop, there aren't many choices. Is there any information about OpenBSD on the following Sparc lap

Re: Non-x86

2007-10-30 Thread Matthew Szudzik
> >> Where are the choices for non-x86? > > > > The only remaining alternative is Sparc. Everything else is either old > > (macppc) or expensive & unsupported (IA64). I agree that sparc64 is currently the best alternative to the x86 architecture in i386 and amd64. For me, the biggest obstacles

What happened to my virtual consoles?

2007-11-04 Thread Matthew Szudzik
I just installed OpenBSD 4.2. When I run X, I no-longer have access to the virtual consoles. When I try to switch to a virtual console (by pressing CONTROL-ALT-F2, for example), the screen goes black for a few seconds and then my X session reappears. Moreover, when I attempt to shutdown the s

Re: What happened to my virtual consoles?

2007-11-05 Thread Matthew Szudzik
> And my .xinit file only contains the following three lines > xset s off > xmodmap -e 'add Mod4 = Super_L' > exec fluxbox OK, to test whether or not this has anything to do with fluxbox, I removed the "exec fluxbox" line from my .xinitrc file. The result is that X consistently crashes on st

Re: What happened to my virtual consoles?

2007-11-05 Thread Matthew Szudzik
> You need a window manager, otherwise control just goes sailing right > off the end of your process, and back to the terminal. Thanks. When I use fvwm, control of the virtual consoles returns. So, it appears that this problem is caused by fluxbox. Are there any fluxbox experts who can furthe

mprotect patch for compat_linux in OpenBSD 4.2

2007-11-11 Thread Matthew Szudzik
As some of you may recall, there are Linux binaries (such as Mathematica) which will not run under OpenBSD's Linux emulation because the Linux mprotect system-call uses flags that are not supported by OpenBSD. To remedy this problem, I had posted a patch for OpenBSD 4.1 http://marc.info/?l=op

Re: Matlab 2007 b

2007-11-22 Thread Matthew Szudzik
> But when I try to launch it it returns. > "/matlab/bin/glnx86/MATLAB: error while loading shared libraries: libut.so: > cannot enable executable stack as shared object requires: Permission denied" I had exactly the same error with Mathematica (caused by the Intel Vector Math Library libvml.so).

HP LaserJet P2015 on OpenBSD -- BEWARE

2007-12-11 Thread Matthew Szudzik
I recently purchased an HP LaserJet P2015 printer, and I wanted to warn other users not to make the same mistake. The printer crashes intermittently while trying to print PostScript files with lpd. A little googling revealed that other users have also had problems with this model http://www.mac

Re: HP LaserJet P2015 on OpenBSD -- BEWARE

2007-12-13 Thread Matthew Szudzik
> Also had about 10 HP 2015s that were working FINE... > > ...until they upgraded their server to the most recent Redhat/Linux kernel. > Forgive me for not knowing (caring) about which version, but the basics are > that a Redhat upgrade on the server end left me with 10 useless printers > that w

Re: HP LaserJet P2015 on OpenBSD -- BEWARE

2007-12-14 Thread Matthew Szudzik
> I've had a p2015dn since march of this year and it prints ps just fine > via lpd. > > $ cat /etc/printcap > lp|lj-p2015:\ > :rm=192.168.10.140:\ > :lp=:\ > :rp=raw:\ > :if=/usr/libexec/lpr/lpf:\ Perhaps your filter /usr/libexec/lpr/lpf is solving the problems tha

Re: Adobe Flash on OpenBSD

2007-12-17 Thread Matthew Szudzik
> I use OpenBSD as a desktop. Is there a documented way to get the latest > Flash plugin (or any version) to work with the standard firefox No, there is no Flash 9 on OpenBSD. Adobe only released the Flash 9 Player for Windows, Mac, and Linux. Although OpenBSD has the ability emulate Linux, nob

Re: A sad thread - RMS vs. OpenBSD

2008-01-06 Thread Matthew Szudzik
> Later, I found out that our human language is too weak to define laws in > absolute and clear terms. Not true. Language can define the laws of of physics or of mathematics in extremely clear, precise, and absolute terms. Bringing the discussion back to operating systems, I think that the our l

Re: OSS v4.0 released under BSD license

2008-01-08 Thread Matthew Szudzik
> There is also the question of ALSA compatibility layer which is in my > understanding slowly incorporated into OSS. Is it really important to have > ALSA compatibility layer? Can somebody give me an example of the software > which requires ALSA (please exclude Skype although there is OSS version

Error in softraid documentation?

2008-01-28 Thread Matthew Szudzik
I recently noticed that the examples in the softraid man page http://www.openbsd.org/cgi-bin/man.cgi?query=softraid contain many lines such as echo "d a\na\n\n\n\nRAID\nw\nq\n" | disklabel -E wd1 Of course, not every version of echo interprets "\n" as a newline. In fact, /bin/echo treats "\n

Re: compat_linux(8) has 2GB filesize limit in 4.2-stable

2008-02-06 Thread Matthew Szudzik
> The COMPAT_LINUX code is in dire need of an upgrade to match more recent > linux kernels... I certainly agree. For example, I need to compile a custom OpenBSD kernel with this patch http://marc.info/?l=openbsd-misc&m=119479722118605 just to get certain programs running under compat_linux.

Re: The Dilbert Problem...

2008-03-05 Thread Matthew Szudzik
> I've been noticing a similar problem with Firefox on OpenBSD... I've also experienced this problem, but was never able to reproduce it. It would happen maybe once every month or two during normal web browsing (which in my case means 5 or more tabs simultaneously open in Firefox).

Re: [OFFTOPIC] Naming convention for programs

2008-03-08 Thread Matthew Szudzik
> I was thinking of verb-subject, or verb_subject, or viceversa. If you are writing a family of related programs, then the word that they have in common should be first. For example, in OpenBSD there are mount_cd9660 mount_ffs mount_msdos and so on. The fact that these programs perform rela

Re: ath0 - not reachable - system hangs

2008-03-10 Thread Matthew Szudzik
> ath0 at pci0 dev 12 function 0 "Atheros AR2413" rev 0x01: irq 9 > ath0: AR2413 7.8 phy 4.5 rf 5.6, FCC2A*, address 00:1d:0f:af:98:88 According to the CVS log at http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/ic/ath.c#rev1.56 "support is still incomplete" for the AR2413 chipset.

Re: using openbsd to make presentations

2008-03-18 Thread Matthew Szudzik
> Question: Do you have any recommendation / suggestion to prepare talks > to be shown in a projector including mathematical equations, plots > and, eventually, movies (I can live without this last point)? HTML is probably the most portable solution for your problem, and movies would work fine too

Re: minimac on openbsd

2008-03-23 Thread Matthew Szudzik
> doesn't support firewire. I don't know if the built in wireless works > as I've never tried it. It is recognized by the kernel: > > ath0 at pci2 dev 0 function 0 "Atheros AR5424" rev 0x01: apic 2 int 17 (irq > 11) Atheros AR5424 wireless devices are not supported in OpenBSD. See http://m

Re: Intel Core2 Dual/Quad - i386 or amd64?

2008-03-25 Thread Matthew Szudzik
> I have two computers I'm considering going amd64 on: > > 1. My Thinkpad X61s (1GB RAM) It appears that the wireless driver your Thinkpad requires > wpi0 at pci2 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: apic 2 is not supported in OpenBSD/amd64. See http://www.openbsd.org/amd6

Re: Intel Core2 Dual/Quad - i386 or amd64?

2008-03-25 Thread Matthew Szudzik
> I have two computers I'm considering going amd64 on: Another thing to keep in mind is that there are some OpenBSD packages and ports that only run on i386. In particular, any software that requires Linux emulation (such as the opera-flashplugin) will not run on amd64. Doing a quick grep of the

Flash Player 9 on OpenBSD

2007-01-17 Thread Matthew Szudzik
Adobe released Flash Player 9 for Linux today. (I know, it's not open-source, but it's sometimes hard to navigate the web without it.) http://www.adobe.com/aboutadobe/pressroom/pressreleases/200701/011707FlashPlayerLinux.html Do we expect OpenBSD to support Flash 9 in the near future? The old

Re: Flash Player 9 on OpenBSD

2007-01-17 Thread Matthew Szudzik
> Don't forget that both opera and opera-flashplugin are in the ports > tree. The new "linux flash" if supported, would probably be used > in a similar fashion (compat et al..) but it uses ALSA. As you know, > ALSA is the (advanced) linux sound architecture. This is a problem that > would consume t

Re: SMP causing uvm_fault

2007-03-30 Thread Matthew Szudzik
> Then after about an hour, when you try and reboot, I get an error: > > uvm_fault(0x..., 0x..., 0, 1) -> e > kernel: page fault trap, code = 0 > stopped at pmap_page_remove_86+0x114: > 0(%eax, %edx, 4), %eax > I suspect that I may be experiencing the same problem. I have a brand new Lenov

Re: SMP causing uvm_fault

2007-03-30 Thread Matthew Szudzik
On Fri, 30 Mar 2007 at 16:48 -0400, Matthew Szudzik wrote: > I suspect that I may be experiencing the same problem. After talking with Art, we've decided that I'm probably experiencing a problem with the ath driver, and not the SMP uvm_fault bug. My problem disappears when

Re: radeon driver in -current Xorg 7.2?

2007-04-23 Thread Matthew Szudzik
> Those man pages are from X.org. X.org supports 3d acceleration on > some (older) graphics cards but only 2d on some (newer) others. > > OpenBSD does not support 3d acceleration on any cards. Shouldn't this be considered a documentation bug? Even though the man page http://www.openbsd.org/c

Re: radeon driver in -current Xorg 7.2?

2007-04-23 Thread Matthew Szudzik
> the radeon driver does support 3d. if you have a kernel with drm, it > will try to use it. Of course, but the kernel doesn't support drm, and somebody reading the documentation has no way to know. At the very least, there could be an Errata section at the bottom of the man page, mentioning t

Absolute OpenBSD out-of-print?

2007-05-10 Thread Matthew Szudzik
According to the publisher, Michael Lucas's book Absolute OpenBSD is currently out-of-stock. http://nostarch.com/frameset.php?startat=openbsd Does anybody know if there are plans for another printing? Or maybe even a second edition? I note that it is still listed for sale on the official Ope

Status of ath driver for AR5424 chipset?

2007-05-27 Thread Matthew Szudzik
I have a Thinkpad T60 with an Atheros AR5424-based wireless card (officially called the "ThinkPad 11a/b/g Wi-Fi wireless LAN Mini-PCIe card"), but I can't seem to get it working. What is the status of the ath driver for this chipset? An item at http://www.openbsd.org/plus41.html says "Fix f

cannot enable executable stack...

2007-06-10 Thread Matthew Szudzik
I'm trying to get Mathematica to run on OpenBSD via Linux emulation, but I am getting the following error: error while loading shared libraries: libvml.so: cannot enable executable stack as shared object requires: Premission denied. Does anyone have any suggestions about how I might solve this

Re: cannot enable executable stack...

2007-06-10 Thread Matthew Szudzik
> what does ktrace say about the problem? > The ktrace output is as follows: 12262 ktrace RET ktrace 0 12262 ktrace CALL execve(0xcfbd0bd3,0xcfbd0a8c,0xcfbd0a94) 12262 ktrace NAMI "/usr/local/emul/fedora/usr/local/Wolfram/Mathematica/6.0/SystemFiles/Kernel/Binaries/Linux/MathKernel

Re: OpenBSD on ThinkPad

2007-06-14 Thread Matthew Szudzik
> I want to buy a new laptop and want to run OpenBSD on it. So I think > my best choice is to buy a laptop without Intel wifi chipset and > -with- Intel Graphics Media Accelerator. (GMA is supported well > according to the FSF.) But the number of laptops with this > combination is very limited! W

Re: OpenBSD on ThinkPad

2007-06-14 Thread Matthew Szudzik
Oh, and if you're thinking of buying a carrying case for your new ThinkPad T60, don't get the Lenovo messenger bag http://shop.lenovo.com/SEUILibrary/controller/catalog.workflow:item.detail?GroupID=38&Code=40Y8598 The strap is connected to the bag with cheap plastic clips that look like they

Re: OpenBSD on ThinkPad

2007-06-14 Thread Matthew Szudzik
> > I initially made the mistake of getting the "ThinkPad 11a/b/g Wi-Fi > > wireless LAN Mini-PCIe" wireless card, but that Atheros-based card is not > > currently supported by OpenBSD because it uses the AR5424 chipset. So I > > had to replace it with an Intel PRO/Wireless 3945ABG card--which

Re: OpenBSD on ThinkPad

2007-06-18 Thread Matthew Szudzik
> If X works ok, then mplayer will be able to scale the video (using > either the xv or sdl video output plugin). Press 'f' during video > playback. > > vlc can probably do it too, but I dont use it, so i cant say. The sdl flavor of mplayer works great on my ThinkPad T60 (with Intel GMA 950 grap

Re: cannot enable executable stack...

2007-06-18 Thread Matthew Szudzik
> I'm trying to get Mathematica to run on OpenBSD via Linux emulation, but > I am getting the following error: > > error while loading shared libraries: libvml.so: cannot enable executable > stack as shared object requires: Premission denied. Note that libvml.so is the Intel Vector Math Librar

Re: cannot enable executable stack...

2007-06-19 Thread Matthew Szudzik
OK, I have some question about the ktrace. The first notable call is the following: > 20188 MathKernel CALL mprotect(0xcfbc1000,0x1000,0x107) > 20188 MathKernel RET mprotect -1 errno 22 Invalid argument In OpenBSD, the only legal values for the third argument of mprotect are the bitwi

Re: cannot enable executable stack...

2007-06-20 Thread Matthew Szudzik
It appears that a similar bug was encountered by Debian in 2005. See http://lists.debian.org/debian-glibc/2005/08/msg00289.html http://lists.debian.org/debian-glibc/2005/08/msg00311.html http://lists.debian.org/debian-glibc/2005/08/msg00483.html This would suggest that it might be a problem w

Re: cannot enable executable stack...

2007-06-20 Thread Matthew Szudzik
> right. i'm not even sure what the growsdown flag does. Indeed, Linux doesn't have the same standard of documentation as OpenBSD. The PROT_GROWSDOWN flag for mprotect is not even mentioned in mprotect's man page on linux http://linux.about.com/library/cmd/blcmdl2_mprotect.htm

Re: cannot enable executable stack...

2007-06-21 Thread Matthew Szudzik
> > 20188 MathKernel CALL mprotect(0xcfbc1000,0x1000,0x107) > > 20188 MathKernel RET mprotect -1 errno 22 Invalid argument > > In OpenBSD, the only legal values for the third argument of mprotect are > the bitwise sums of > > #define PROT_NONE 0x00/* no permissions */ >

Re: cannot enable executable stack...

2007-06-24 Thread Matthew Szudzik
> As it turns out, this bug in compat_linux was encountered in NetBSD in > 2005 and then fixed. The NetBSD patches are I have successfully ported the relevant material from the NetBSD patches http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/compat/linux/common/linux_misc.c.diff?r1=1.140&r2=1.141

Re: cannot enable executable stack...

2007-06-25 Thread Matthew Szudzik
> I have successfully ported the relevant material from the NetBSD patches > > > http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/compat/linux/common/linux_misc.c.diff?r1=1.140&r2=1.141 > > > http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/compat/linux/common/linux_mmap.h.diff?r1=1.16&r2=1.17 > > h

Re: Intel Core 2

2007-06-27 Thread Matthew Szudzik
> As is typical, BIOS vendors will be very late providing workarounds / > fixes for these processors bugs. Some bugs are unfixable and cannot > be worked around. Intel only provides detailed fixes to BIOS vendors > and large operating system groups. Open Source operating systems are > largely le

Formatting MS-DOS drive

2007-07-01 Thread Matthew Szudzik
I have a usb flash drive that I wish to reformat as an MS-DOS (FAT) file system. How do I do that on OpenBSD? I want the drive to be formatted in the same manner that a Windows machine or Macintosh might format an MS-DOS file system. So clearly, I don't want to use disklabel, since OpenBSD di

Re: Formatting MS-DOS drive

2007-07-05 Thread Matthew Szudzik
> > I have a usb flash drive that I wish to reformat as an MS-DOS (FAT) file > > system. How do I do that on OpenBSD? > > For interactive MBR edits you can use "fdisk -e sd0" > You probably want to use "0C" for FAT32 with long file name support. I recently bought several flash drives and tested

Re: Formatting MS-DOS drive

2007-07-06 Thread Matthew Szudzik
> reformatted, then they will have MBR partition tables similar to the > following. > > Disk: sd0 geometry: 492/64/32 [1007616 Sectors] > Offset: 0 Signature: 0xAA55 > Starting Ending LBA Info: > #: idC H S -C H S [ start: size ] > ---

Re: : Formatting MS-DOS drive

2007-07-06 Thread Matthew Szudzik
> It seems the partition always start on LBA 63. For many modern harddrives > that is the max number of heads. And for a drive with 63 heads it will > be Cylinder 0 Head 1 Sector 1 (since sectors start at 1, not 0). > On your flash drive with 32 fake heads LBA 63 becomes C/H/S 0/1/32. Excellent!

Re: : Formatting MS-DOS drive

2007-07-07 Thread Matthew Szudzik
> Disk: sd0 geometry: 3935/64/32 [8060926 Sectors] > Offset: 0 Signature: 0xAA55 > Starting Ending LBA Info: > #: idC H S -C H S [ start: size ] > > 0: 0B0 1 32 -

Re: : Formatting MS-DOS drive

2007-07-07 Thread Matthew Szudzik
OK, to format a usb flash drive with an MS-DOS (FAT32) file system, I am using the following procedure. First, I run fdisk # fdisk -i -e sd0 and edit the MBR partition table as described in the previous message. Then I run newfs_msdos # newfs_msdos -F 32 -u 63 /dev/rsd0i (Is the "-u 63" o

Re: Very low sound

2007-07-09 Thread Matthew Szudzik
> I'v just installed OpenBSD 4.1 on my new ThinkPad R60. I tried playing > some music and it 'works'. The music is actually playing if you listen > -very- carefully. mixerctl settings look fine. Nothing is muted and > the volumes are all 80+ . The used chipset is Azalia. (see dmesg) I have a Think

Re: : Formatting MS-DOS drive

2007-07-09 Thread Matthew Szudzik
> # fsck_msdos -n /dev/sd0i > ** /dev/sd0i > ** Phase 1 - Read and Compare FATs > ** Phase 2 - Check Cluster Chains > ** Phase 3 - Check Directories > ** Phase 4 - Check for Lost Files > Free space in FSInfo block (-1) not correct (125686) > fix? no > Next free cluster in FSInfo block (2)

Re: : : Formatting MS-DOS drive

2007-07-09 Thread Matthew Szudzik
> Notice that the 8060926 sectors the disk has in LBA mode is more than > 3935 * 64 * 32 = 8058880, so there are 2046 more sectors in LBA > mode than in CHS mode. > > Assuming 63 sectors per track instead and ignoring cylinder and head > count gives a spill of 13 sectors. I would have guessed Wind

Re: Lenovo 8744-J2U - several questions

2007-08-07 Thread Matthew Szudzik
> Matthieu, I'm also looking at the Lenovo T60. Is the avivo driver Get a T60 with the Intel graphics chipset and an XGA display. You won't have any problems with X Windows.

Re: filesystems?

2007-09-03 Thread Matthew Szudzik
> I'm trying to decide what filesystem to use on a USB drive. I'd like to be > able to access the unit from OpenBSD, FreeBSD, Linux, and perhaps Windows. > > What is the intersection of the sets of filesystems supported by these > various OS's? By the way, if you want to use OpenBSD to format a U

Re: sudo & wheel group

2007-09-16 Thread Matthew Szudzik
> The fact that you need to provide normal users with these kind of > privileges indicates a possible flaw in your overall scheme. You may > find that, after careful reconsideration, there are precious few > commands that you would actually have to allow the users to run with > superuser privil

Re: sudo & wheel group

2007-09-17 Thread Matthew Szudzik
> If you're in operator, you can at least shutdown or reboot your system > with /sbin/shutdown (which is setuid root and executable by those in > operator). But (as I mentioned in the message), shutdown makes a very annoying beep. When shutting down the laptop in a hushed boardroom or lecture ha

operator permissions: a wish-list

2007-09-19 Thread Matthew Szudzik
Inspired by a recent post http://marc.info/?l=openbsd-misc&m=118999679514195 I was wondering if the participants in misc@openbsd.org would help me brainstorm. I want to give the operator group greater permissions than it currently has, so that any member of the group can perform most of the ba

Re: operator permissions: a wish-list

2007-09-20 Thread Matthew Szudzik
On Wed, 19 Sep 2007 at 20:41 -0400, Douglas A. Tutty wrote: > Lets take a typical family setup. Mom is the SA who knows the root > password. Dad can be operator and do stuff with sudo. However, the > kids may just want to listen to CDs, watch DVDs, access their homework > on a USB stick, rip

Re: Debugging ral

2007-09-25 Thread Matthew Szudzik
> I wrote a small doc reporting this experience and Damien's tips: I hope it > could be useful. > http://sekureshell.altervista.org/docs/trouble_ral.html I have a question. You list channel 112 as having the greatest power ("power=57"), and claim that you chose the channel with the greatest pow

Re: expansion of FAQ# 1.10 re OpenBSD as a desktop system

2007-10-15 Thread Matthew Szudzik
> > Never found a use for "3D acceleration" myself. Seems to be mostly > > for games and, well, games. > > > > There are other uses. Like the silly 3D accelerated window managers (as > a cwm user it's obvious I see no need for that). There's also other > uses. For example last year for my final

Re: Brother HL-5250DN printer w/OpenBSD

2007-10-16 Thread Matthew Szudzik
> Forgive me for saying this but I just do not get it. Why did you need to use > Linux compatibility layer when CUPS is > OpenBSD packages? According to http://www.openprinting.org/show_printer.cgi?recnum=Brother-HL-5250DN this is not a true PostScript printer. Instead, the Windows and Linux d

Typo on OpenBSD 4.4 CD Set

2008-10-15 Thread Matthew Szudzik
I notice that there is a typographical error on the back cover of the OpenBSD 4.4 CD set. http://bsdly.net/~peter/44bergen02.jpg It says "This package contains the operating system and a selection of applications for the i386, macppc, amd64, sparc, and sparc64 architectures." This is incorr

Re: halt -p does not power off ThinkPad X61 under 4.4

2008-10-31 Thread Matthew Szudzik
> i installed OpenBSD 4.4 on my ThinkPad X61, played a little bit, and > used halt -p to shutdown the machine and walked away. The next morning i > found that while it appears to have shutdown correctly, the machine did > not power off but instead showed > > syncing disks...done > uchi2: host c

Re: halt -p does not power off ThinkPad X61 under 4.4

2008-11-23 Thread Matthew Szudzik
On Mon, Nov 24, 2008 at 10:32:13AM +0800, David Schulz wrote: > For the Record, I don't have a true Solution to the Issue yet, but i saw > a small flag in /etc/sysctl.conf that read machdep.apmhalt. After > enabling that and rebooting, halt -p now powers off my Machine 9 times > out of ten.

Re: halt -p does not power off ThinkPad X61 under 4.4

2008-11-23 Thread Matthew Szudzik
On Mon, Nov 24, 2008 at 04:17:07AM +, Matthew Szudzik wrote: > Have you submitted a formal bug report (with a dmesg and debugger output > from ps and trace)? I myself have been attempting it, but every time > that this bug occurs it seems that I'm in a hurry to get somewhere,

Re: halt -p does not power off ThinkPad X61 under 4.4

2008-11-30 Thread Matthew Szudzik
> used halt -p to shutdown the machine and walked away. The next morning i > found that while it appears to have shutdown correctly, the machine did > not power off but instead showed > > syncing disks...done > uchi2: host controller halted This bug has been supposedly fixed in OpenBSD -current

Re: Firefox 2.0.0.12

2008-04-07 Thread Matthew Szudzik
On Mon, Apr 07, 2008 at 04:44:08PM +, Jacob Meuser wrote: > or, quit using firefox. it's security record is rather lousy, wouldn't > you agree? What alternatives to firefox do you suggest?

  1   2   >