Macbook Pro Core Duo and 4.3
Hey all, I have previously been able to run OpenBSD 4.2-current on my Macbook Pro. It's been a while since I did so, but I wanted to go ahead and reinstall my machine with 4.3. The biggest change that I expected to affect me was the automatic enabling of ACPI for the kernel. I thought this would be a good thing. As it turns out, something must have changed since I last used OpenBSD to make things troublesome. Usually, what I used to do was build my own custom boot only image and change the bsd.rd kernel to have acpi enabled. However, this didn't seem necessary for 4.3, and I went ahead and tried to boot. However, it hangs near the end of the kernel messages with an rd0 line. I thought that I heard about someone having trouble with 4.3 hanging on a Macbook so I tried searching for a solution, but I couldn't find anything specific. The only things that seem to relate to the stable release after May 1st are unrelated items. One other thing I noted was that someone tried to boot his Macbook using the bsd.mp kernel, which obviously won't work until the OS is installed. However, I notice that the dmesg seems a bit different for the MP kernel with some acpi information put at the top that I don't see in the rd kernel. I am able to get the mp kernel to boot up to the point where it asks for a root device, but obviously I can't go past that. Anyways, I remembered in a chat that there was possibly a conflict between apm and acpi, so I went ahead, disabled apm, and this didn't work either. Can any of you provide some assistance with this matter? Has anyone had success with the 4.3 release and Core Duo Macbook Pros? I am of course using i386 as the architecture. Am I just missing something obvious? - Aaron Hsu
Re: Revision on Macbook Guide
Hello Thomas, Thanks for your message On Dec 9, 2007, at 1:22 PM, Thomas Delaet wrote: I tried booting 4.2 i386 images (amd64 did not work) on my macbook. In every case (bsd.rd, bsd and bsd.mp) I got the following as the first kernel message: kbc: cmd word write error For all kernels, I enabled acpi and disabled apm. I have noticed that this seems to happen for every kernel, but with my Macbook Pro (Core Duo) it has not caused any issues with the keyboard. I remember that there have been some issues with the Macbooks and their keyboards. Most users reported that using an external keyboard (most used usb) solved the issues. I believe that this is probably the only way that you will be able to get your Macbook running properly, unless someone has fixed this. I would love to have more information on Macbooks and their issues, so that I can update my guide. If you happen to find another solution that does not involve external keyboards, please let me know. Aaron Hsu Email/AIM: [EMAIL PROTECTED] XMPP: [EMAIL PROTECTED] Web: http://www.sacrideo.us
Problems with Lynx (?) and Nmh
Hey all, I am having some trouble with nmh and lynx in 4.2. For some reason, I cannot seem to use Lynx successfully as a pager for text/html parts. I have the following in my .mh_profile: mhshow-show-text/html: %plynx '%F' And it tries to do its things, but then it fails. The error seems like it might be coming from Lynx: /tmp//lynx-bHgkw13916/: No such directory exit 1 Now, if I s/lynx/firefox/ in the profile, everything works fine. Additionally, everything works fine if I use less instead of lynx. I have been working on this for some time on an MH newsgroup, but apparently, the consensus is that this is a Lynx problem. I am not sure what to make of it. Does anyone know what is going on? -- ((name Aaron Hsu) (email/xmpp [EMAIL PROTECTED]) (site http://www.aaronhsu.com;))
Revision on Macbook Guide
Hello everyone, I have had quite a few requests to come up with a new guide for the Macbook and OpenBSD. I haven't really thought that there was that much to update, so I haven't been doing too much on it. However, since there is a new -RELEASE out, I figured that I ought to at least bring things up to speed with the latest released features. I also wanted to give people some information about what may or may not be available in 4.3. Additionally, I wanted to make my pages a bit easier to access, so I have done this guide in plain text. I was hoping that anyone who had anything to add to this guide, and/or who had any comments regarding form, style, and general method, would speak up. :-) http://www.aaronhsu.com/v1/papers/openbsd_macbook.txt -- ((name Aaron Hsu) (email/xmpp [EMAIL PROTECTED]) (site http://www.aaronhsu.com;))
Just Received my Package
Wow, I am impressed this time around. Even though there seems to be less breadth in this particular case, I really like the quality. The whole package feels really solid, and the stickers seem nicer than previously. Additionally, I like the new printing on the booklet compared to what was in the older stuff. :-) Great Job, guys. I ordered two, btw, one to give away to people who are too lazy to download it to try it out. Maybe I can spread some of the OpenBSD cheer this Christmas! -- ((name Aaron Hsu) (email/xmpp [EMAIL PROTECTED]) (phone 703-597-7656) (site http://www.aaronhsu.com;)) [demime 1.01d removed an attachment of type application/pgp-signature]
[Possibly OT] 16-bit Assembly Programming
Hello all, I am attempting to create an assembly program (for a class) on OpenBSD. The teacher has no issue with me developing the code based on the UNIX-based assembly (int 0x80 syscalls vs. int 0x21 Dos Function), but he does not want me to use 32-bit code. I believe this has something to do with him wanting me to use a Real-addressing Mode as opposed to the 32-bit protected mode. I'm doing x86 assembly. Now, I can create nice and working 32-bit OpenBSD elf executables using yasm and so on. It took a bit of work to understand how to do it, but other than that, it works fine. Now, the issue I am having is that I can't figure out how to instead write 16-bit code. Basically, the teacher should be happy if I don't use the extended registers. Reading in the Yasm documentation, I found the BITS directive, and also the note that it should not be necessary to use this directive, since the object file format I choose should automatically handle this. The `obj' format was indicated as one of the file formats that I should use. However, the yasm assembler in OpenBSD does not have that as a valid format. Also, there seems to be no way to generate 16-bit OpenBSD executables. Is this true? My basic question is, how can I create an assembly program using that will run on OpenBSD that is 16-bit (that is, using only the non-extended registers)? Any help would be greatly appreciated, as searching online has confused me royally as to whether this is even possible or not. It seems like it should be. -- ((name Aaron Hsu) (email/xmpp [EMAIL PROTECTED]) (phone 703-597-7656) (site http://www.aaronhsu.com;))
Strange Lock-ups with Opera?
Hey all, I am just wondering if anyone else here uses Opera and experiences very regular freezes or lock ups? For some reason, it seems that sometimes, when I start to go to a new page, the browser just becomes unresponsive and freezes up. Is this related the the threading that Opera uses? Is this a known issue? -- ((name Aaron Hsu) (email [EMAIL PROTECTED]) (site http://www.aaronhsu.com;))
Problem with setting up printer
Hey all, I've been trying to get my Brother 2070n printer to work for a bit now, and I'm a bit confused about why it won't work. It's supposed to be a pretty straightforward Postscript printer, and in the web configuration there are postcript, text, and pcl services, as well as binary printing. It supports lpd printing, and I have been trying to use apsfilter to setup the printcap file. Now, I found the Open Printing Database that indicates that either hl1250, generic PCL6, or pxlmono drivers should work. There are also supposed to be some GPL released brother drivers for CUPS, but I don't want to install CUPS. Now, I run through the setup, and configure the system using a remote printer P1 and the remote machine as 10.0.1.77 (which is the static IP with which it is configured). Everything between the wires seems fine, as I can communicate with the printer, but the printer does not print out the expected results. I have a PS file that is easily viewed using Ghostscript. It contains some %% comment like lines at the start of the file. When I send the file to the printer, I get a ton of blank pages printed, and either the first page contains the first three lines of the file printed in a staggered form (as though it expect CRLF and only got LF), or I don't get anything at all. Looking at the web configuration page, I notice that there are special control strings for each service, that can be configured to my liking (even blank, if I so choose). I don't really understand these control strings, but when I setup a printer in 2002, I remember that I had to do some hacking to tack on control strings to the file (this was an HP Inkjet printer), and that made it work. Does anyone know where I can look to fix this, or know how I can fix this? Do I need to add control strings somewhere, or should I not even be bothering with these things and should I be doing something else? Would there be any other information you would need that would help out in this respect? Thanks! -- ((name Aaron Hsu) (email/xmpp [EMAIL PROTECTED]) (phone 703-597-7656) (site http://www.aaronhsu.com;))
X Windows and Multihead Display
Hello All, I guess I'm doing some strange things here, and I hope that they are not going to come back to bite me. :-) Goal: To have an X Windows Two Monitor, One Video Card system running Hardware: Macbook Pro 2.16ghz Intel Core Duo w/ ATI Radeon Mobility X1600 So far, the only way I have been able to get my system to work has been to run `X -configure' and then use the generated x.org configuration file in /etc/X11/xorg.conf. This has some problems. 1) Resolution is an ugly 1400x1050 (should be 1680x1050). 2) Display driver is Vesa 3) My external LCD (Apple HD Display) monitor is not recognized. Manual editing of the xorg.conf file yields little results. Doing some reading of the output of /var/log/Xorg.0.log gives me some insight. Apparently, the vesa driver does not have a mode for 1680x1050. After doing some searching, I found someone with an LCD screen similar to mine (we are talking about the laptop screen, not the external display, which is not recognized at all), and tried to take the Modelines from his xorg, and use them with my machine. I tried to place them under the monitor section, as well as in a separate Modes section, but the vesa driver continues to not find anything available. I would ideally like to use a non-vesa driver to get this machine working, but apparently the radeon driver (which seems the logical choice for drivers) is not working. I also attempted to find some timing (refresh rates) information on my Macbook Pro to no avail. I am thinking of calling up the technical support and seeing if they will provide me with this information, but I am not sure if they will. I can post xorg.conf files and logs if you would like, but first, can this be done? If so, can you point me in the right direction? Thank you!
Sendmail Configuration Question
Goal: Configure my laptop's sendmail as a client to connect securely to my remotely configured (sendmail VPS Slackware) mail relay server using port 587. I am running the latest (as of a few days ago) OpenBSD snapshot on a Macbook Pro Intel Core Duo 2.16ghz 17. Below you can find a copy of my .mc file. What I tried: setting up the .mc file to use a SMART_HOST with mailer_relay_args customized to use port 587, enabled masquerading, and added a line to use the access_db. Added AuthInfo lines to the access map, of the form: AuthInfo:smtp.sacrificumdeo.net U:[EMAIL PROTECTED] \ P:my_pass [Line breaks are artificial and marked by `\'.] I also added similar lines that usee vps.sacrificumdeo.net and sacrificumdeo.net as names. Additionally, I set another entry with the ip address. I also configured a default AuthInfo (blank) with the same authentication information. I did not configure certs, because by the time I realized that I would eventually want to do this, I realized, that there was another problem. OpenBSD's compilation of sendmail does not seem to have SASL compiled into it. This would mean that I could not do SMTP AUTH. [1] This means that I can't do what I was originally thinking, unless someone points me in another direction. It makes sense, of course, because I continued to get 530 Authentication required errors, which suggests that the sendmail client has no idea how to authenticate. Now, my question is, how can I configure this? I was thinking that it might be possible just using STARTTLS. Is this a proper assumption? If I configured the right certificates and what not, I could authenticate on the basis of STARTTLS, and wouldn't have to rely on sasl at all? Is this the recommended way to configure something like this? Here is a telnet session to my mailhost: arcfide:1$ telnet smtp.sacrificumdeo.net 587 Trying 69.12.222.205... Connected to smtp.sacrificumdeo.net. Escape character is '^]'. 220 vps.sacrificumdeo.net ESMTP Sendmail 8.14.1/8.14.1; Sun, 2 Sep 2007 02:37:07 -0500 EHLO illuminus.local 250-vps.sacrificumdeo.net Hello h-68-164-11-81.chcgilgm.dynamic.covad.net [68.164.11.81], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250-SIZE 250-DSN 250-AUTH DIGEST-MD5 CRAM-MD5 250-DELIVERBY 250 HELP QUIT 221 2.0.0 vps.sacrificumdeo.net closing connection Connection closed by foreign host. arcfide:2$ Output from a sendmail info dump on my local machine: arcfide:2$ sudo /usr/sbin/sendmail -d0.1 -bv root Version 8.14.1 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SCANF STARTTLS TCPWRAPPERS USERDB XDEBUG Warning: Option: AuthMechanisms requires SASL support (-DSASL) SYSTEM IDENTITY (after readcf) (short domain name) $w = illuminus (canonical domain name) $j = illuminus.local (subdomain name) $m = local (node name) $k = illuminus.local arcfide... deliverable: mailer local, user arcfide arcfide:3$ And here is a copy of my .mc file: divert(-1) # # Copyright (c) 1998 Sendmail, Inc. All rights reserved. # Copyright (c) 1983 Eric P. Allman. All rights reserved. # Copyright (c) 1988, 1993 # The Regents of the University of California. All rights reserved. # # By using this file, you agree to the terms and conditions set # forth in the LICENSE file which can be found at the top level of # the sendmail distribution. # # # # This configuration only runs sendmail on the localhost interface. # This allows mail on the local host to work without accepting # connections from the net at large. # divert(0)dnl VERSIONID(`@(#)openbsd-localhost.mc $Revision: 1.4 $') OSTYPE(openbsd)dnl dnl define(`RELAY_MAILER_ARGS', `TCP $h 587')dnl define(`SMART_HOST', `smtp.earthlink.net')dnl define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl MASQUERADE_AS(`sacrificumdeo.net')dnl FEATURE(`local_no_masquerade')dnl FEATURE(`masquerade_envelope')dnl FEATURE(`access_db', `hash -o -TTMPF /etc/mail/access')dnl FEATURE(nouucp, `reject')dnl FEATURE(`accept_unresolvable_domains')dnl FEATURE(`no_default_msa')dnl DAEMON_OPTIONS(`Family=inet, address=127.0.0.1, Name=MTA')dnl DAEMON_OPTIONS(`Family=inet6, address=::1, Name=MTA6, M=O')dnl DAEMON_OPTIONS(`Family=inet, address=127.0.0.1, Port=587, Name=MSA, M=E')dnl DAEMON_OPTIONS(`Family=inet6, address=::1, Port=587, Name=MSA6, M=O, M=E')dnl CLIENT_OPTIONS(`Family=inet6, Address=::')dnl CLIENT_OPTIONS(`Family=inet, Address=0.0.0.0')dnl dnl dnl Some broken nameservers will return SERVFAIL (a temporary failure) dnl on T_ (IPv6) lookups. define(`confBIND_OPTS', `WorkAroundBroken')dnl MAILER(local)dnl MAILER(smtp)dnl (Notice that I have changed the mailer relay args and smart host sections to something that works for the moment.) Can
Atheros 5424
Hey all, I am just wondering if any work is going into the Atheros 5424 chipset? (I noticed some disturbing news about new code being added to the Atheros code.) How much work would be involved to get the chipset working? - Aaron
sd0/umass0 Hard Drive, wake up?
Hey all, For some reason, I can't seem to figure this out. I have an external umass hard drive detected as sd0 by my computer. However, immediately on starting, the drive goes into offline mode. It then will not respond to any commands. For example: $ sudo fdisk sd0 fdisk: DIOCGDINFO: Input/output error fdisk: Can't get disk geometry, please use [-chs] to specify. Now, this `Input/output error' occurs on all commands that I try to run. I read through scsi(8) and ioctl(2) and noticed that I can send some commands to the drive. I was thinking that there might be a wake-up command that I could send. However, I can't find a list of those commands. Did I just miss them? Ideally I would like to keep the drive awake when I am using it, but have the option to manually put it to sleep when I don't want it around. Here is my dmesg: OpenBSD 4.2 (GENERIC.MP) #252: Tue Aug 28 10:53:04 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Genuine Intel(R) CPU T2600 @ 2.16GHz (GenuineIntel 686-class) 2.17 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH, D S,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR real mem = 2131070976 (2032MB) avail mem = 2052935680 (1957MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 07/29/05, SMBIOS rev. 2.4 @ 0xe73d0 (40 en tries) bios0: vendor Apple Computer, Inc. versionMBP12.88Z.0061.B03.0610121334 da te 10/12/06 bios0: Apple Computer, Inc. MacBookPro1,2 pcibios at bios0 function 0x1a not configured bios0: ROM list: 0xc/0xfa00 acpi0 at mainbus0: rev 0 acpi0: tables DSDT FACP HPET APIC MCFG ASF! SBST ECDT SSDT SSDT SSDT acpitimer at acpi0 not configured acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 168 MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Genuine Intel(R) CPU T2600 @ 2.16GHz (GenuineIntel 686-class) 2.19 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH, D S,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: duplicate apic id, remapped to apid 2 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (PEGP) acpiprt2 at acpi0: bus 2 (RP01) acpiprt3 at acpi0: bus 3 (RP02) acpiprt4 at acpi0: bus 4 (RP03) acpiprt5 at acpi0: bus 12 (PCIB) acpiec at acpi0 not configured acpicpu at acpi0 not configured acpicpu at acpi0 not configured acpiac at acpi0 not configured acpibtn at acpi0 not configured acpibtn at acpi0 not configured acpibtn at acpi0 not configured acpibat at acpi0 not configured cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130d2c06000d2c cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 2167 MHz (1404 mV): speeds: 2167, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82945GM MCH rev 0x03 ppb0 at pci0 dev 1 function 0 Intel 82945GM PCIE rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility X1600 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) vendor Intel, unknown product 0x27a3 (class DASP subclass Time and Frequency, rev 0x03) at pci0 dev 7 function 0 not configured azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 2 int 22 (irq 11) azalia0: host: High Definition Audio rev. 1.0 azalia0: codec: Sigmatel STAC9221 (rev. 52.1), HDA version 1.0 audio0 at azalia0 ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02 pci2 at ppb1 bus 2 mskc0 at pci2 dev 0 function 0 Marvell Yukon 88E8053 rev 0x22, Yukon-2 EC rev. A3 (0x2): apic 2 int 16 (irq 11) msk0 at mskc0 port A: address 00:16:cb:9b:0f:c0 eephy0 at msk0 phy 0: Marvell 88E Gigabit PHY, rev. 2 ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02 pci3 at ppb2 bus 3 ath0 at pci3 dev 0 function 0 Atheros AR5424 rev 0x01: apic 2 int 17 (irq 11) ath0: AR5424 10.3 phy 6.1 rf 10.2, WOR5_ETSIC, address 00:17:f2:50:dd:64 ppb3 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02 pci4 at ppb3 bus 4 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 2 int 23 (irq 11) uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 2 int 19 (irq 11) uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 2 int 18 (irq 11) uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 2 int 16 (irq 10) ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 2 int 23 (irq 11) usb0 at ehci0: USB revision 2.0 uhub0 at usb0: Intel EHCI root hub, rev 2.00/1.00, addr 1 ppb4 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2 pci5 at ppb4 bus 12 TI TSB82AA2 FireWire rev 0x01 at pci5 dev 3 function 0 not configured ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x02: PM disabled pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev
Re: Macbook on Openbsd
On 2007-07-25 01:13:41 -0500, Karl Sjvdahl - dunceor [EMAIL PROTECTED] said: I'm being hold a bit back when it says I can't even use the keyboard on it on OpenBSD, that really sucks. Have you seen my report on my experiences on using the Macbook Pro with OpenBSD? http://www.aaronhsu.com/AaronHsu.com/OpenBSD%20-%20Macbook%20Pro.html -- Aaron Hsu [EMAIL PROTECTED] No one could make a greater mistake than he who did nothing because he could do only a little. - Edmund Burke
Re: [OT] Open Source OSS for OpenBSD?
On 2007-06-15 10:07:36 -0500, J.C. Roberts [EMAIL PROTECTED] said: Lastly, I realize many people, both developers and users (and me), have a historical affection for the BSD license but I've always wondered why code is not placed in the Public Domain rather than being copyrighted and BSD licensed? Is the reason for this merely because it's difficult to prove a work is in the Public Domain, or (more likely) is there some other reason which I do not understand? In my admitted legal ignorance, a push for Public Domain Software (i.e. without copyright or license of any sort) might result in the most truly Free software possible? I believe that there is a difference from Public Domain and BSD type licenses. Public Domain is indeed the most unencumbered license, but I think that the BSD does place useful restrictions on the software. To my understanding, anyone who designs a piece of work under the BSD license is required to permit redistribution of this changed product, am I wrong? This is something I've never quite understood. The BSD-type licenses say that you can redistribute and modify the code and maybe distribute the software in only binary form, but that the software and its derivatives must still be licensed under the BSD license, right? This makes it useful for commercial applications, wherein companies can bundle binary only products which use the source code, and not worry about their secrets go, but if someone were to grab the binaries off of say, an embedded device or a small form factor router, they would still be allowed to redistribute this software, right, because the modified software must have the same license? Is this the correct interpretation or not? -- Aaron Hsu [EMAIL PROTECTED] No one could make a greater mistake than he who did nothing because he could do only a little. - Edmund Burke
Re: [OT] Open Source OSS for OpenBSD?
On 2007-06-16 19:00:23 -0500, Darren Spruell [EMAIL PROTECTED] said: On 6/16/07, Aaron Hsu [EMAIL PROTECTED] wrote: [snip] Is this the correct interpretation or not? So far off base, it seems like you haven't even read it. Alright, I guess I must be really misunderstanding what I read. Here I'm quoting from the ISC license in /usr/src/share/misc/license.template. /* * Copyright (c) CCYY YOUR NAME HERE [EMAIL PROTECTED] * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED AS IS AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ I'm reading this permission notice above as referring to the Permission to use... paragraph and the disclaimer after it. Wouldn't this seem a natural reference? Are you saying that it actually refers only to the disclaimer part of the notice? -- Aaron Hsu [EMAIL PROTECTED] No one could make a greater mistake than he who did nothing because he could do only a little. - Edmund Burke
Re: booteasy fate?
On Mon, 07 May 2007 15:09:34 -0500, Michael Dexter [EMAIL PROTECTED] wrote: I have found references to: /pub/OpenBSD/3.6/tools/booteasy suggesting that it was part of the distribution but I do not see it listed for 3.7 and newer. I do not see a 3.7 changelist entry for it and I the online man pages to not seem to refer to it. From the looks however, it was an official OpenBSD boot manager. I fold! What was it and what happend to it? It is a boot manager. :-) I used to use it around the 3.6 era. However, I haven't used it for some time, and I'm not sure if it is still around. I haven't searched for it. Hrm, a quick search reveals that it, at least, is not in the tools directory anymore, though os-bs still is. os-bs is a boot manager that I have been using when necessary since 3.8 I think. -- Aaron Hsu [EMAIL PROTECTED] No one could make a greater mistake than he who did nothing because he could do only a little. - Edmund Burke
Re: booteasy fate?
On Mon, 07 May 2007 16:51:32 -0500, Bruce Bauer [EMAIL PROTECTED] wrote: Don't beat a dead horse. This should do whatever you need: http://gag.sourceforge.net/ Aaah, yes, I remember someone recommending this to me before. It does work well. -- Aaron Hsu [EMAIL PROTECTED] No one could make a greater mistake than he who did nothing because he could do only a little. - Edmund Burke
Re: 4.1 and Macbook Pro
On Wed, 02 May 2007 02:54:51 -0500, Joerg Zinke [EMAIL PROTECTED] wrote: does this work with a standard kernel build from GENERIC or GENERIC.MP, too? Or did i need to get a snapshot respectively built an own kernel and uncomment the acpi lines in GENERIC(.MP)? I believe this works with the GENERIC kernels. I haven't tested it, but everything seems to indicate that this will work. -- Aaron Hsu [EMAIL PROTECTED] No one could make a greater mistake than he who did nothing because he could do only a little. - Edmund Burke
Re: 4.1 and Macbook Pro
On Tue, 01 May 2007 13:15:04 -0500, Otto Moerbeek [EMAIL PROTECTED] wrote: On Tue, 1 May 2007, Aaron Hsu wrote: On Tue, 01 May 2007 03:35:33 -0500, Otto Moerbeek [EMAIL PROTECTED] wrote: [...] The UKC prompt is still not working, you'll need an ACPI enabled bsd.rd. I do not havebunfortunately, a current installation of OpenBSD on which I can compile a new BSD.RD kernel. Is there a way I can work around this? [...] One quite involved method I can think of: if you have parallels, you could use that to build a ACPI enabled release (see release(8), remove disable from the acpi line for GENERIC and RAMDISK_CD). Well wait a second, that makes sense! Hah, I think I can do that. All I would have to do is build two new kernels, right? A BSD.RD and a BSD? And then I could just make a bootable iso straight from the rest of 4.1, no? -- Aaron Hsu [EMAIL PROTECTED] No one could make a greater mistake than he who did nothing because he could do only a little. - Edmund Burke
Re: 4.1 and Macbook Pro
On Tue, 01 May 2007 13:51:26 -0500, Otto Moerbeek [EMAIL PROTECTED] wrote: It's probably better to just follow the steps in release(8) instead of trying to cut corners. With the modified GENERIC and RAMDISK_CD conf files, of course. Is it possible to edit some boot file, say /etc/boot.conf in the iso to enable acpi without having to recompile the whole thing? -- Aaron Hsu [EMAIL PROTECTED] No one could make a greater mistake than he who did nothing because he could do only a little. - Edmund Burke
Re: 4.1 and Macbook Pro
On Tue, 01 May 2007 14:20:35 -0500, Otto Moerbeek [EMAIL PROTECTED] wrote: Huh? How is the OP supposed to get an install if the cd41.iso isn't working? If someone will point me to some instructions on how to build a custom boot CD I can use an emulator on OS X to build an ISO, burn it using OS X, and then boot from it, which should give me the appropriate BSD.RD. After this I should be able to use this CD to chroot into the installation and run config on the kernel. -- Aaron Hsu [EMAIL PROTECTED] No one could make a greater mistake than he who did nothing because he could do only a little. - Edmund Burke
Re: 4.1 and Macbook Pro
On Tue, 01 May 2007 18:54:02 -0500, Joachim Schipper [EMAIL PROTECTED] wrote: On Wed, May 02, 2007 at 01:17:20AM +0200, Paul de Weerd wrote: Good luck ! You *are* going to need it... Actually, I had great luck. This was ridiculously easy. I am in the process of documenting my efforts right now. I'll make a post to the appropriate places shortly. -- Aaron Hsu [EMAIL PROTECTED] No one could make a greater mistake than he who did nothing because he could do only a little. - Edmund Burke
Successful boot of 4.1 on Macbook Pro
I have successfully booted a customized boot-only install disk for my Macbook Pro. I have documented my efforts: http://www.aaronhsu.com/AaronHsu.com/OpenBSD%20-%20Macbook%20Pro.html I have made the customized ISO available for download. -- Aaron Hsu [EMAIL PROTECTED] No one could make a greater mistake than he who did nothing because he could do only a little. - Edmund Burke
4.1 and Macbook Pro
Hello all, I am wondering what problems I am going to run into with the 4.1-RELEASE and a Macbook Pro. Right now I have tried to boot up the latest snapshot on my Core Duo Macbook Pro and it hang right after the usb and rd0 line. From what I understand, this is the last line before entering userland and trying to run the rc scripts, right? Searching around I found no occurances of this problem or much of anything documented for OpenBSD and the Macbook Pros. Chatting on IRC gave me the boot -c option to try to use a verbose message. In another message I found somewhere, it also suggested boot -v. boot -c brings up a UKC prompt which does not seem to accept input. The insert point or line seems to bounce back and forth very rapidly from the prompt to the line above it about 30 - 50 characters to the right. boot -v (obviously) does not work, as apparently that's a bad option for bsd.rd. Does anyone have any suggestions on how I can debug this and/or fix it? -- Aaron Hsu [EMAIL PROTECTED] No one could make a greater mistake than he who did nothing because he could do only a little. - Edmund Burke
Re: Letter to OLPC
On Oct 5, 2006, at 7:17 PM, Karsten McMinn wrote: On 10/5/06, Aaron Hsu [EMAIL PROTECTED] wrote: snip So in the end, we can't expect anything to happen if a people don't really care. People can't put in external protections to assure the safety of their ideas, it is the responsibility of people to ensure that such things are protected, and right now, there aren't many people concerned with that relative to the opposition or the complacents. You are absolutely in the wrong. We can expect action and should as such demand it. If people don't really care then that is their fault, as they will inevitably fall to the desires of people who do care. We are the ones who care about the freedom of our software. We who have our heads screwed on tightly, will move to action for what we believe in. How big of a group we are has nothing to do with whats going on here. Actually, maybe I mistated myself, but I agree with you here. -- Aaron Hsu ~ [EMAIL PROTECTED] XMPP/Gtalk/Jabber: [EMAIL PROTECTED] AIM/Yahoo: NoorahAbeer ~ ICQ: 153114301 MSN: [EMAIL PROTECTED] ~ http://www.aaronhsu.com
Re: SCSI tape drive hanging
02=f0 03=00 adt0 at iic0 addr 0x2e: adt7460 (ADT7460) rev 62 auich0 at pci0 dev 31 function 5 Intel 82801EB/ER AC97 rev 0x02: irq 11, ICH5 AC97 ac97: codec id 0x414c4740 (Avance Logic ALC202) ac97: codec features headphone, 20 bit DAC, 18 bit ADC, Realtek 3D audio0 at auich0 isa0 at ichpcib0 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 midi0 at pcppi0: PC speaker spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec biomask fb65 netmask ff65 ttymask ffe7 pctr: user-level cycle counter enabled umass0 at uhub4 port 5 configuration 1 interface 0 umass0: Maxtor OneTouch II, rev 2.00/2.03, addr 2 umass0: using SCSI over Bulk-Only scsibus3 at umass0: 2 targets sd2 at scsibus3 targ 1 lun 0: Maxtor, OneTouch II, 023g SCSI4 0/direct fixed sd2: 194481MB, 194481 cyl, 64 head, 32 sec, 512 bytes/sec, 398297088 sec total uhidev0 at uhub1 port 1 configuration 1 interface 0 uhidev0: Topre Corporation HHKB Professional, rev 1.10/1.02, addr 2, iclass 3/1 ukbd0 at uhidev0: 8 modifier keys, 6 key codes wskbd1 at ukbd0 mux 1 wskbd1: connecting to wsdisplay0 uhidev1 at uhub1 port 2 configuration 1 interface 0 uhidev1: Kensington Kensington Expert Mouse, rev 1.10/1.00, addr 3, iclass 3/1 ums0 at uhidev1: 4 buttons and Z dir. wsmouse0 at ums0 mux 0 ahd0: target 0 synchronous with period = 0x8, offset = 0x3f(RDSTRM|DT|IU) dkcsum: sd0 matches BIOS drive 0x80 ahd0: target 1 synchronous with period = 0x8, offset = 0x7f(RDSTRM|DT|IU) dkcsum: sd1 matches BIOS drive 0x81 dkcsum: sd2 matches BIOS drive 0x82 root on sd1a rootdev=0x410 rrootdev=0xd10 rawdev=0xd12 pckbc: cmd failed pckbc: cmd failed pckbc: cmd failed -- Aaron Hsu [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://www.sacrificumdeo.net Extend beyond the Mortal . . . . They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. - Benjamin Franklin
Atheros WG311T Rev 1, return it or not?
0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility pciide0: channel 0 disabled (no drives) atapiscsi0 at pciide0 channel 1 drive 0 scsibus1 at atapiscsi0: 2 targets cd0 at scsibus1 targ 0 lun 0: LITE-ON, LTR-48327S, PUS4 SCSI0 5/cdrom removable atapiscsi1 at pciide0 channel 1 drive 1 scsibus2 at atapiscsi1: 2 targets cd1 at scsibus2 targ 0 lun 0: HL-DT-ST, DVDRAM GSA-4082B, A208 SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 cd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 4 pciide1 at pci0 dev 31 function 2 Intel 82801EB SATA rev 0x02: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide1: using irq 11 for native-PCI interrupt ichiic0 at pci0 dev 31 function 3 Intel 82801EB/ER SMBus rev 0x02: irq 11 iic0 at ichiic0 iic0: addr 0x1a 00=0f 02=f0 03=00 adt0 at iic0 addr 0x2e: adt7460 (ADT7460) rev 62 auich0 at pci0 dev 31 function 5 Intel 82801EB/ER AC97 rev 0x02: irq 11, ICH5 AC97 ac97: codec id 0x414c4740 (Avance Logic ALC202) ac97: codec features headphone, 20 bit DAC, 18 bit ADC, Realtek 3D audio0 at auich0 isa0 at ichpcib0 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 midi0 at pcppi0: PC speaker spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec biomask fb65 netmask ff65 ttymask ffe7 pctr: user-level cycle counter enabled umass0 at uhub4 port 5 configuration 1 interface 0 umass0: Maxtor OneTouch II, rev 2.00/2.03, addr 2 umass0: using SCSI over Bulk-Only scsibus3 at umass0: 2 targets sd2 at scsibus3 targ 1 lun 0: Maxtor, OneTouch II, 023g SCSI4 0/direct fixed sd2: 194481MB, 194481 cyl, 64 head, 32 sec, 512 bytes/sec, 398297088 sec total uhidev0 at uhub1 port 1 configuration 1 interface 0 uhidev0: Topre Corporation HHKB Professional, rev 1.10/1.02, addr 2, iclass 3/1 ukbd0 at uhidev0: 8 modifier keys, 6 key codes wskbd1 at ukbd0 mux 1 wskbd1: connecting to wsdisplay0 uhidev1 at uhub1 port 2 configuration 1 interface 0 uhidev1: Kensington Kensington Expert Mouse, rev 1.10/1.00, addr 3, iclass 3/1 ums0 at uhidev1: 4 buttons and Z dir. wsmouse0 at ums0 mux 0 ahd0: target 0 synchronous with period = 0x8, offset = 0x3f(RDSTRM|DT|IU) dkcsum: sd0 matches BIOS drive 0x80 ahd0: target 1 synchronous with period = 0x8, offset = 0x7f(RDSTRM|DT|IU) dkcsum: sd1 matches BIOS drive 0x81 dkcsum: sd2 matches BIOS drive 0x82 root on sd1a rootdev=0x410 rrootdev=0xd10 rawdev=0xd12 pckbc: cmd failed pckbc: cmd failed pckbc: cmd failed --- End DMESG --- -- Aaron Hsu [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://www.sacrificumdeo.net Extend beyond the Mortal . . . . They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. - Benjamin Franklin
Re: SCSI tape drive hanging
Marcus Barczak [EMAIL PROTECTED] writes: Just recently acquired a cast off Sun DDS3 SCSI tape drive. It's an external unit and connected to my internal Adaptec 2940UW controller. The problem i'm experiencing is anytime I try issuing a command with mt for instance: % mt -f /dev/rst0 status The mt process will just hang, the process at that point is completely un-killable implying that there's some kinda blocking read system call happening. I've tried the tape drive on another machine and it seems to work fine. On boot dmesg identifies the controller and drive fine, and when booted with a tape loaded it acquires info about the tape itself. -- dmesg output -- ahc0 at pci0 dev 9 function 0 Adaptec AHA-2940U rev 0x00: irq 11 scsibus2 at ahc0: 16 targets st0 at scsibus2 targ 4 lun 0: HP, C1537A, L706 SCSI2 1/sequential removable st0: density code 0x8c, variable blocks, write-enabled Has anyone seen this problem before or have any suggestions as to how I may fix it? I have had similar issues with my Hard Drive. It's a SCSI AIC-7901 Adaptec controller, ahd. I don't know how similar it is to yours. I see those same symptoms happen when the disk seems to receive a huge amount of disk activity all at once. Suddenly all the processes will hang and become unkillable, unless kill through another terminal or such. I was receiving a dump in my xconsole about the controller not pausing or something like that. I haven't managed to record the dump yet, but if I do, I'll see if I can't get it up here. I have attributed this particular problem to a hard drive failing, but I'm not sure now. At any rate, I have a new hard drive coming in, so I'll see if that fixes the problem. DMESG ahd0 at pci3 dev 5 function 0 Adaptec AIC-7901A U320 rev 0x03: irq 11 ahd0: aic7901A, U320 Wide Channel A, SCSI Id=7, PCI 33 or 66Mhz, 512 SCBs scsibus0 at ahd0: 16 targets ahd0: target 0 using asynchronous transfers ahd0: target 0 synchronous with period = 0x8, offset = 0x3f(RDSTRM|DT|IU) ahd0: target 1 synchronous with period = 0x8, offset = 0x7f(RDSTRM|DT|IU) sd0 at scsibus0 targ 0 lun 0: IBM-ESXS, ST336607LW FN, B25H SCSI3 0/direct fixed sd0: 34715MB, 49855 cyl, 2 head, 713 sec, 512 bytes/sec, 71096640 sec total sd1 at scsibus0 targ 1 lun 0: IBM-ESXS, DTN036W3UWDY10FN, S29C SCSI3 0/direct fixed sd1: 34715MB, 36703 cyl, 3 head, 645 sec, 512 bytes/sec, 71096640 sec total wskbd0 at pckbd0: console keyboard, using wsdisplay0 sd2 at scsibus3 targ 1 lun 0: Maxtor, OneTouch II, 023g SCSI4 0/direct fixed sd2: 194481MB, 194481 cyl, 64 head, 32 sec, 512 bytes/sec, 398297088 sec total -- Aaron Hsu [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://www.sacrificumdeo.net Extend beyond the Mortal . . . . They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. - Benjamin Franklin
Problems with ath wireless card
Hey all, I have having trouble getting my Atheros based WG311T Netgear wireless card to work. I have ruled out bad signal strength thus far, and the driver seems to be working. Dmesg (STABLE-branch GENERIC 3.8): ath0 at pci3 dev 7 function 0 Atheros AR5212 rev 0x01: irq 10 ath0: AR5212 7.9 phy 4.5 rf2112 5.6 rf2112 5.6, FCC1A, address 00:0f:b5:fd:28:f1 scanpci data: pci bus 0x0003 cardnum 0x07 function 0x00: vendor 0x168c device 0x0013 Device unknown hostname.ath0: inet 192.168.0.57 255.255.255.0 NONE media autoselect \ nwid Halo nwkey 0xwebhexkey chan 11 wephexkey is a 26-digit hexadecimal WEP key. Running 'route flush; sh -x /etc/netstart' gets me with nothing that works. All the settings seem fine when I do an 'ifconfig -a' but the status still says that there is no network. I notice that it alternates media and mode between (DS11) and (DS11 mode 11b) constantly. I have a working resolv.conf file as well as /etc/mygate configured correctly. I have also tried manually doing these settings with ifconfig (as per the ath(4) man page), but that made no difference. The only other seemingly noteworth thing is that my dmesg is littered with the following entry: arp: attempt to add entry for 192.168.0.1 on ath0 by 00:09:5b:ff:6f:54 on em0 Is there anyone out there who has had a similar problem or who knows what I can do to fix this? Searching online gave me little in the way of results that I could understand or that seemed relevant. -- Aaron Hsu [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://www.sacrificumdeo.net Extend beyond the Mortal . . . . They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. - Benjamin Franklin
Error making devel/jdk
I'm trying to get the Java plugin for my browsers (Opera and Firefox), and from what I can tell from the documentation, this is done by installing the jdk package. The documentation I read said that only the 1.3 and 1.4 version have plugins for browsers, so I chose 1.4. Doing a make after installing the requisite files to /usr/ports/distfiles gives: bad class file: /usr/ports/devel/jdk/1.4/w-jdk-1.4.2p3/control/build/ \ bsd-i586/classes/javax/swing/JList.class illegal start of class file Please remove or make sure it appears in the correct subdirectory of the classpath. JList list, ^ 1 error Could someone explain this to me, as well as how to fix it? -- Aaron Hsu [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://www.sacrificumdeo.net Extend beyond the Mortal . . . . They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. - Benjamin Franklin