Re: TPMs in Macbooks on OpenBSD

2007-10-06 Thread Karl Sjödahl - dunceor
On 10/6/07, Nick Guenther [EMAIL PROTECTED] wrote:
 I've got me a macbook and I'm figuring out how to install OpenBSD on
 it (I'm going to see if I can do it without BootCamp, appearently it's
 possible: http://refit.sourceforge.net/myths/). One of my friends
 mentioned too bad about the evil to me and so I started digging into
 one of the evils: Trusted Computing. How do I find out if this mac has
 a TPM chip? Apple is never open about this fact.

 This page 
 http://attivissimo.blogspot.com/2006/04/trusted-computing-chips-found-in-intel.html
 reports that some macs have them and some don't. It also says that in
 linux you can check `ioreg` for mentions of TPM.

 What would the equivalent method in OpenBSD? Would the chip show up in
 dmesg? Here's one dmesg
 http://erdelynet.com/tech/openbsd/openbsd-on-intel-mac-mini/ and I
 don't see anything that looks like a TPM chip but I'm not sure what
 all the devices are.

 If I can't know for sure from software I plan on cracking the case and
 searching for one physically anyway.

 -Nick



I have a Macbook 2,1 that I run OpenBSD exclusively on. No Boot camp
or anything special. Just OpenBSD as it is.
There are a few things you need to know before you install. You will
need acpi and you will need an external USB-keyboard during
installization.
I use AMD64 and GENERIC.MP.

I did some googling about TPM in macbook and newer Apple hardware and
it seems like there isn't one.
http://www.osxbook.com/book/bonus/chapter10/tpm/
http://www.tuaw.com/2006/11/02/apple-drops-trusted-computing/

Both these links say newer Apple hardware does not contain it, they
only mention Mac Pro and Macbook Pro's though.

There are still a few problems with the macbook, I'm trying to write a
driver for Apple system Management Controller, it's not going that
good but I should have it working soon. There is a few other problems
like bluetooth, iSight camera, IR. Sound is working and trackpad is
working.

BR
dunceor

Here is my dmesg:
OpenBSD 4.2-current (GENERIC.MP) #8: Sat Sep 22 19:44:03 CEST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2114535424 (2016MB)
avail mem = 2041937920 (1947MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe7460 (37 entries)
bios0: vendor Apple Inc. version MB21.88Z.00A5.B06.0704201208
date 04/20/07
bios0: Apple Inc. MacBook2,1
acpi0 at mainbus0: rev 0
acpi0: tables DSDT HPET APIC MCFG ASF! SBST ECDT FACP SSDT SSDT SSDT
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpi device at acpi0 from table DSDT not configured
acpihpet0 at acpi0 table HPET: 14318179 Hz
acpimadt0 at acpi0 table APIC addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz, 2161.57 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu0: 4MB 64b/line 16-way L2 cache
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz, 2161.25 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu1: 4MB 64b/line 16-way L2 cache
ioapic0 at mainbus0 apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpi device at acpi0 from table MCFG not configured
acpi device at acpi0 from table ASF! not configured
acpi device at acpi0 from table SBST not configured
acpi device at acpi0 from table ECDT not configured
acpi device at acpi0 from table FACP not configured
acpi device at acpi0 from table SSDT not configured
acpi device at acpi0 from table SSDT not configured
acpi device at acpi0 from table SSDT not configured
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (RP01)
acpiprt2 at acpi0: bus 2 (RP02)
acpiprt3 at acpi0: bus 3 (PCIB)
acpiec0 at acpi0: EC__
acpicpu0 at acpi0 C3, C2
acpicpu1 at acpi0 C3, C2
acpiac0 at acpi0: AC unit offline
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpibat0 at acpi0: BAT0: model: ASMB016 serial:  type: LION016 oem: DPON016
cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130d2b06000b25
cpu0: using only highest, current and lowest power states
cpu0: Enhanced SpeedStep 1833 MHz (1292 mV): speeds: 2167, 1833, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 Intel 82945GM MCH rev 0x03
vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured
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 1 int 22 (irq 10)
azalia0: host: 

Re: TPMs in Macbooks on OpenBSD

2007-10-06 Thread Karl Sjödahl - dunceor
On 10/6/07, Nick Guenther [EMAIL PROTECTED] wrote:
 On 10/6/07, Karl SjC6dahl - dunceor [EMAIL PROTECTED] wrote:
  On 10/6/07, Nick Guenther [EMAIL PROTECTED] wrote:
   I've got me a macbook and I'm figuring out how to install OpenBSD on
   it (I'm going to see if I can do it without BootCamp, appearently it's
   possible: http://refit.sourceforge.net/myths/). One of my friends
   mentioned too bad about the evil to me and so I started digging into
   one of the evils: Trusted Computing. How do I find out if this mac has
   a TPM chip? Apple is never open about this fact.
  
   This page 
   http://attivissimo.blogspot.com/2006/04/trusted-computing-chips-found-in-intel.html
   reports that some macs have them and some don't. It also says that in
   linux you can check `ioreg` for mentions of TPM.
  
   What would the equivalent method in OpenBSD? Would the chip show up in
   dmesg? Here's one dmesg
   http://erdelynet.com/tech/openbsd/openbsd-on-intel-mac-mini/ and I
   don't see anything that looks like a TPM chip but I'm not sure what
   all the devices are.
  
   If I can't know for sure from software I plan on cracking the case and
   searching for one physically anyway.
  
   -Nick
  
  
 
  I have a Macbook 2,1 that I run OpenBSD exclusively on. No Boot camp
  or anything special. Just OpenBSD as it is.

 ooh, first: thanks for your quick response.

 What *is* BootCamp? I know it's mostly just repartitioning software
 but the readme that comes with it seems to imply that it install
 certain special drivers to let you use the mac keyboard under windows
 (i.e. Mac-Click is mapped to right click, and so on).
 Although I guess those would just be those Windows drivers, wouldn't they...


Boot camp is both a tool to handle dual boot of operating systems but
it also provide drivers for the apple hardware so Windows can use it.

  There are a few things you need to know before you install. You will
  need acpi and you will need an external USB-keyboard during
  installization.

 Why do you need acpi? I did read that and I did make myself an
 acpi-enabled kernel that I can boot from if I choose (though really I
 could just do drop into config from boot, right?) but the default is
 to boot the normal i386/bsd.rd and when I let it do that it boots fine
 and gets to the install prompt. What's the problem?

Ok then it has started to get better because in the beginning I
couldn't even get to the install prompt because it hang on some usb
controller. ACPI is needed to get some of the drivers to work
correctly. And yes enable it in ukc is enough.


 I did indeed run into the problem of the keyboard not working during
 install. Why is that? Is the ramdisk kernel just missing some drivers?

  I use AMD64 and GENERIC.MP.

 Is there an advantage to AMD64 over i386? My default was to grab i386
 but I'm not particularly tied to it.

Well the new Intel Core 2 Duo are Intels version of AMD64 and there
fore the closest thing you should use. You could use i386 also and
there might not be that much difference. I have only tried AMD64.


  I did some googling about TPM in macbook and newer Apple hardware and
  it seems like there isn't one.
  http://www.osxbook.com/book/bonus/chapter10/tpm/
 mm I found this one too, it's linked at the end of the link I gave.

  http://www.tuaw.com/2006/11/02/apple-drops-trusted-computing/
 This just references the link I gave.

 Still, TPM needs software to run it. It would be a very strange move
 for Apple to somehow hide the TPM from anything besides OS X. I'm
 settled.

 
  Both these links say newer Apple hardware does not contain it, they
  only mention Mac Pro and Macbook Pro's though.

 I only have a Macbook. Maybe they big-brother anyone who doesn't shell
 out enough (;))?

  There are still a few problems with the macbook, I'm trying to write a
  driver for Apple system Management Controller, it's not going that
  good but I should have it working soon. There is a few other problems
  like bluetooth, iSight camera, IR. Sound is working and trackpad is
  working.

 Oh sweet, that's really nice.
 Related but off topic question: How do I get right-clicking working?
 Do I have to play with X keymaps? I've poked at this from playing on
 zaurus, but I don't really understand it. Links please?
 I'm guessing there's nothing like Appletouch
 http://www.popies.net/atp/ in OpenBSD right?

I haven't got the right click to work, I do not know if it's possible
to do. It is one of the annoying stuff at the moment and I use an
external USB mouse. I also have problems with the swedish keyboard
layout because {,[ ,] ,} are existing and this is annoying when you
code =) That Appletouch driver you linked to looked old and it's only
for Powerbooks. I know the FreeBSD people has done some work on it so
maybe I can port that later also.


 The SMC controls low-level power functions. Does it do that on its
 own? (i.e. if I sleep while under OpenBSD does the light still
 snore?). Would your driver just 

Re: non-x86-based hardware for OBSD?

2007-09-25 Thread Karl Sjödahl - dunceor
On 9/25/07, Lars NoodC)n [EMAIL PROTECTED] wrote:
 I'm looking at the recent article on Soekris and very favorably impressed.

 Setting up a Soekris 5501 with OpenBSD 4.2  24 Sep 2007
 http://undeadly.org/cgi?action=articlesid=20070924004901

 The setup seems almost perfect, except that the AMD Geode seems to be
 x86-based.

 What corresponding non-x86 hardware options are common, recommended, or
 even available ?

 Regards,
 -Lars



Do you have any special reasons for not using x86-based hardware?

BR
dunceor



Re: non-x86-based hardware for OBSD?

2007-09-25 Thread Karl Sjödahl - dunceor
On 9/25/07, Lars NoodC)n [EMAIL PROTECTED] wrote:
 nicodache wrote:
  ...
  You should go into the ARM world to get something like that, and you
  will be disapointed, as it is much much harder to find something with
  4 network connectors, serial, flash, pci, mini-pci connector, due to
  the lack of products  manufacturers.

 Yes.  I know.  Hence my query to the list.

  ... on epiacenter website ...

 I find only x86-based units there: celeron, amd geode, pentium, c3,
 eden, TM8600, etc.

 One ARM on the list, though.  But isn't ARM now under Intel, maker of AMT?

 There has got to be non-x86 units out there, SBC or other, running  Cell
 or Freescale or anything else.

 Regards,
 -Lars



What is AMT?

Well ARM is not under Intel, Intel does ARM-processors just like
several others do (Atmel, TI, Phillips etc). ARM only licence their
technology and their designs and let others produce it.

The question is what are your goal with the system? Route, small file
server, entertainment box? Please explain your demands and purpose
with the system and people can help and identify what hw that could
suite.

Br
Dunceor



Re: OpenCVS

2007-09-19 Thread Karl Sjödahl - dunceor
On 9/19/07, Adrian Fisher [EMAIL PROTECTED] wrote:
1. Who here knows about OpenCVS?
2. How is it used?
3. When will it be released?  Will it be released at the same time as
4.2?


 Regards,

 A.



1. OpenCVS is developed by several of the OpenBSD developers, those I
see commit most is xsa@, niallo@, ray@ and lateley a lot by [EMAIL PROTECTED]

2. It's a replacement for GNU CVS so it's compatiable with it. Their
goal is first to make sure everything supported in GNU CVS should be
supported in OpenCVS.

3. Do not know about release, probobly not ready for prime time yet.
But I'm sure it needs testers, that will speed up the development.

Ps. I'm not a developer. ds.

br
Dunceor



Re: OpenBSD Install Goal

2007-09-13 Thread Karl Sjödahl - dunceor
On 9/14/07, Bob Beck [EMAIL PROTECTED] wrote:
  I hope one day soon OpenBSD will adopt a nice ncurses setup similar to 
  something like FreeBSD with ease to it.

 I don't think it's worth putting my efforts into. The current
 installer is about the easiest thing I have to deal with from AIX, 4
 linux distributions, and FreeBSD.

  As OpenBSD grows there simply is no reason, or logic to keeping around such 
  an archaic method of installation it now uses.
 
  Please keep me informed if you will, I'd love to hear the thoughts, and 
  ideas on this possible progress.

 I await your diffs! Please feel free to write one that works, and
 fits on the install media for 10 architectures.

 
  OpenBSD is developed by volunteers, 10 years of development, don't you 
  think with all this man power and ability, after all these years it's time 
  to evolve a little?

 I 100% Agree with you. so after 10 years of use, you should become one
 of those volunteers and write such a thing.

 
  Remember this is an OS, and part of the process of creating one is the 
  evolution in making it a more simpler, and productive tool.
 
  We must rethink our ideas with these systems that they are tools to help 
  us, not us having to work on them all the time in order to get them to do 
  something, otherwise where is the progress and productivity in this?
 
 
  I remember a day when I personally sat around playing most of the time 
  trying to get something to work, rather then getting work done, those days 
  must end, and the tools must finally emerge as just that, TOOLS to help us 
  accomplish something, not sitting around trying to.

 Personally I find driving an ncurses based install much more tedious
 playing than chucking a site_install script in site42.tgz, booting off
 the net and installing, as I've used the freebsd and SLS and ubunty
 and solaris and aix and blah blah blah installers.  All the rest of them
 require more of my time in front of the keyboard.

 However I'm sure with your fabulous ideas your ncurses based installer
 for openbsd will stop that trend and be much better - since you'll be working
 on something that's useful to you and you are passionate about.

 
  Thank you for your time in this matter.
 
  Scott Richman

 Thank you for volunteering. I await your code.

 -Bob



I can't understand what is the problem with the installer. It's so damn easy.
The installer isn't something that is keeping people away from using
OpenBSD. Time spent on adding features, new drivers and improvments on
all areas is much more important than trying to 'improve' something
that already works great.

BR
dunceor



Re: Show your appreciation and get your 4.2 DVD

2007-09-11 Thread Karl Sjödahl - dunceor
On 9/11/07, Siju George [EMAIL PROTECTED] wrote:
 On 9/7/07, Daniel Ouellet [EMAIL PROTECTED] wrote:
  Hi,
 
  The order is up and I just ordered my DVD.
 

 Can't find a DVD in

 https://https.openbsd.org/cgi-bin/order

 only Cds.

 Sorry this is my first time ordering DVD.

 Thankyou so much

 Kind Regards

 Siju



There are no DVDs, it's only CDs but they come in a DVD-case. That is
why people call it 'DVD's.

BR
dunceor



Re: OpenBSd or HP-UX?

2007-08-31 Thread Karl Sjödahl - dunceor
On 8/31/07, frantisek holop [EMAIL PROTECTED] wrote:
 hmm, on Fri, Aug 31, 2007 at 10:50:46AM +0200, Toni Mueller said that
  Although JCR calls it FUD, my personal opinion is that HP-UX is quite
  dead, with today's commercial Unices being AIX or Solaris. The latter
  imho has the best prospects of surviving, now that IBM is also shipping
  it.

 it's not as dead as some of us wished it to be...
 but at the moment it is definitely a dying breed...
 but it's not something netcraft could confirm :)
 we are talking about machines deep inside data center
 bowels...

 -f
 --
 he has a train of thought.  you have a tricycle...



Yeah there are installing a lot of Clearcase on HP-UX at work since HP
is the one administrating it. So it's not dead but it probobly should
be =)

dunceor



Re: Get rid of leaf packages

2007-08-30 Thread Karl Sjödahl - dunceor
On 8/30/07, Edd Barrett [EMAIL PROTECTED] wrote:
 Hi,

 On 30/08/2007, Jona Joachim [EMAIL PROTECTED] wrote:
  You can find it here:
  http://hcl-club.lu/svn/development/python/cutleaves

 This is useful! Why not write a port?

 --
 Best Regards

 Edd

 ---
 http://students.dec.bournemouth.ac.uk/ebarrett



Why not extend pkg with this insteed? Sounds like something people
woudl have intrest in. Maybe espie@ already has something similar in
mind?

br
dunceor



Re: lenovo x61s bsd.mp Obsd 4.2 difficulties et al.

2007-08-28 Thread Karl Sjödahl - dunceor
On 8/28/07, Vim Visual [EMAIL PROTECTED] wrote:
 Hi,

 I am having a couple of issues with obsd on the lenovo x61s...
 especially the lackage of wireless support, but the driver (Intel
 4965AGN) should be ready in 1-2 weeks.

 I'd like to ask you whether you see some obvious error.

 I installed -current from a snapshot:

 uname -a
 OpenBSD arktomis.bautzi.de 4.2 GENERIC#374 i386

 0) The worst problem is when I boot with bsd.mp... the boot process
 freezes and the last lines I get are as shown in this picture:

 www.aei.mpg.de/~pau/BSDMP.jpg

 dmesg for GENERIC is to be found at

 www.aei.mpg.de/~pau/dmesg_x61s.txt

 (the last lines come from a digital camera, ignore them)

 Now... I tried with a bsd.mp from 4.1 in single-user mode as Dave suggested me
 (boot hdawhatever:bsd.mp41 -s), to see what happens. The result?

 In the place where it just freezes in 4.2, the damned laptop decided to
 reboot... black screen and reboot...

 Disgustingly enough, fedora6 live cd recognised the two processors cleanly...

 1) halt -p turns the screen black (no shutdown messages)

 2) I'm not quite sure the sound is working... look at this

 ---
 azalia0 at pci0 dev 27 function 0 Intel 82801H HD Audio rev 0x03: irq
 11

 mixerctl outputs.master=200,200
 mixerctl: field outputs.master does not exist

 mixerctl -av | grep outputs
 outputs.dac02.source=hdaudio  [ hdaudio adc08 adc09 ]
 outputs.sel0c.mute=off  [ off on ]
 outputs.sel0c=124,124
 outputs.sel0d.mute=off  [ off on ]
 outputs.sel0d=124,124
 outputs.green11.mute=off  [ off on ]
 outputs.green11.boost=off  [ off on ]
 outputs.unknown12.mute=off  [ off on ]
 outputs.unknown12.boost=off  [ off on ]
 outputs.unknown13.mute=off  [ off on ]
 outputs.unknown13=120
 outputs.red14=85,85
 outputs.unknown15=85,85
 outputs.unknown16.mute=off  [ off on ]
 outputs.unknown16.dir=input  [ input output ]
 outputs.pow19.source=mix20  [ mix20 sel21 ]
 outputs.black1b.mute=off  [ off on ]
 outputs.black1b=126,126
 outputs.red1c.mute=off  [ off on ]
 outputs.red1c.dir=input  [ input output ]
 outputs.widget1d.source=mix07  [ mix07 pow19 mix0a black1a red1c green11 
 mix1e ]
 outputs.sel21.mute=off  [ off on ]
 outputs.sel21=120,120
 outputs.sel25=85,85
 outputs.widget26.source=red14  [ red14 unknown15 red1c ]

 What should I change?
 ---

 3) The clock was set wrongly... I had to :

 --
 arktomis| ls -lart /etc/localtime
 lrwxr-xr-x  1 root  wheel  33 Aug 27 21:10 /etc/localtime -
 /usr/share/zoneinfo/Europe/Berlin
 arktomis| sudo ln -s /usr/share/zoneinfo/right/Europe/Berlin
 /etc/localtime
 ln: /etc/localtime: File exists
 arktomis| sudo ln -fs /usr/share/zoneinfo/right/Europe/Berlin
 /etc/localtime
 arktomis| ls -lart /etc/localtime
 lrwxr-xr-x  1 root  wheel  39 Aug 29 20:20 /etc/localtime -
 /usr/share/zoneinfo/right/Europe/Berlin
 arktomis| sudo rdate -ncv ptbtime1.ptb.de
 Tue Aug 28 22:20:50 CEST 2007
 rdate: adjust local clock by -79186.490511 seconds
 --
 After that I adjusted crontab of root as suggested in the man page...

 Any hint regarding the bsd.mp thing?

 Am I stupid? If so, I ask for mercy and not to be immediately stoned

 Cheers,

 Pau



Tried enable ACPI?

br
dunceor



Re: FOSS Open Hardware Documentation

2007-08-27 Thread Karl Sjödahl - dunceor
On 8/27/07, JoC#o Salvatti [EMAIL PROTECTED] wrote:
 http://blogs.sun.com/webmink/entry/open_chips_wiki_open

 http://wikis.sun.com/display/FOSSdocs/Home

 --
 Joco Salvatti
 Undergraduating in Computer Science
 Federal University of Para - UFPA
 web: http://www.openbsd-pa.org
 e-mail: [EMAIL PROTECTED]



This is really nice and maybe we can expect better hardware support on
SPARCs. This is probobly also good since I hope this puts pressure on
other hardware manufacturers to open up their documentation. Maybe
dlg@ can shed some more light on what is comming out of this from a
OpenBSD perspective?

BR
dunceor



Re: Macbook on Openbsd

2007-07-28 Thread Karl Sjödahl - dunceor
On 7/28/07, Aaron Hsu [EMAIL PROTECTED] wrote:
 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



Hello.
Yes I have seen your article about if. That one is about Core Duo and
a Macbook Pro but I have a Core 2 Duo (that means 64-bit and not
32-bit as the Core Duo is) and a Macbook.

I have found some great information on the net and there has happend
some on both FreeBSD and NetBSD that has gotten most of the things to
work.

I haven't got a USB-keyboard but I will probobly get one later today
so then I will do a try to install OpenBSD on it (about time because
I'm getting nuts on the crappy Mac OS X).

Thanks for the point though.

br
dunceor



Re: Macbook on Openbsd

2007-07-28 Thread Karl Sjödahl - dunceor
If you want an OS-war, go and play on some other maillist, I do not
like it and I do not want to have it on my laptop. Easy as that.

On 7/28/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 I wonder what crap may someone find in mac osx.. besides that all
 hardware work and it is based on good old mach+freebsd open source
 codes

 I personally own powerbook and yes there is info on internet that new
 mac laptops is crap (talking bout hw).. though definitely mac osx is
 great piece of software

 and hey, there're many many featuters that will not be implemented in
 openbsd in near future (which from the other side live inside mac osx
 for ages already)..

 so please don't throw words just to show that you are competent enogh
 (questionable indeed) and can judge something like crap

 indeed, openbsd seems to be much more crappy nowadays...

 don't miss thepoint, im not oposite you guys, just i like to have
 clear understanding of things

 On 7/28/07, Karl SjC6dahl - dunceor [EMAIL PROTECTED] wrote:
  On 7/28/07, Aaron Hsu [EMAIL PROTECTED] wrote:
   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
  
  
 
  Hello.
  Yes I have seen your article about if. That one is about Core Duo and
  a Macbook Pro but I have a Core 2 Duo (that means 64-bit and not
  32-bit as the Core Duo is) and a Macbook.
 
  I have found some great information on the net and there has happend
  some on both FreeBSD and NetBSD that has gotten most of the things to
  work.
 
  I haven't got a USB-keyboard but I will probobly get one later today
  so then I will do a try to install OpenBSD on it (about time because
  I'm getting nuts on the crappy Mac OS X).
 
  Thanks for the point though.
 
  br
  dunceor



Re: Macbook on Openbsd

2007-07-28 Thread Karl Sjödahl - dunceor
Because I like the design? And I liked the challenge that everything
didn't work 100%?

On 7/28/07, Greg Thomas [EMAIL PROTECTED] wrote:
 On 7/28/07, Karl Sjvdahl - dunceor [EMAIL PROTECTED] wrote:
  If you want an OS-war, go and play on some other maillist, I do not
  like it and I do not want to have it on my laptop. Easy as that.
 

 If you mean that you don't want to run OS X then why didn't you get a
 Thinkpad?  Why did you get a Mac if you want to run only OpenBSD on
 it?

 Greg

 --
 http://ticketmastersucks.org/tracker.html

 Dethink to survive - Mclusky



Re: Hmm...

2007-07-25 Thread Karl Sjödahl - dunceor

On 7/25/07, Pete Vickers [EMAIL PROTECTED] wrote:

Plenty on Ebay. If Josh's is not V2, then we can try  round up
enough $$$ to grab one.

http://search.ebay.com/search/search.dll?_trksid=m37satitle=WIC-1DSU-
T1-V2


/Pete



On 25 Jul 2007, at 12:26 AM, Steve Fairhead wrote:

 To upgrade to a newer network setup, we kind of need a particular
 piece
 of equipment:

 Cisco T1 DSU/CSU WAN Interface Card (WIC-1DSU-T1-V2)

 http://www.cisco.com/en/US/products/hw/routers/ps221/
 products_data_sheet0918
 6a00801a9184.html

 It has to be the V2 model.

 If someone can get one to me, that would be great.
 

 I'm happy to put e.g. $50 towards it, if money can get you one.

 Steve
 http://www.fivetrees.com




Somebody wrote on undeadly that they had arranged for Theo to get one
so this shouldn't be any problem.

Theo anything you can confirm so people doesn't send you several of
these which money could go to other better stuff.

br
dunceor



Re: ADVERT: C12G

2007-07-11 Thread Karl Sjödahl - dunceor

On 7/11/07, Marcus Watts [EMAIL PROTECTED] wrote:

Joachim Schipper [EMAIL PROTECTED] wrote:
 Subject: Re: ADVERT: C12G
...
 That, and Schneier's 'snake oil' may well apply.
...

Almost certainly applies.  See
http://groups.google.com/group/sci.crypt/msg/401bd358ad9f651e

-Marcus Watts




Everything just smells snake oil. 'Ultra-Secure', @yahoo.co.uk,
'superiority in itself'.



Re: building bsd.rd on current fails for me

2007-06-15 Thread Karl Sjödahl - dunceor

On 6/14/07, Didier Wiroth [EMAIL PROTECTED] wrote:

Hello,

I'm following current lastest sources a 2 hours ago (from cvsup.no.openbsd.org).

when I try to build bsd.rd it fails at some point:
cd /usr/src/distrib/i386/ramdisk_cd
cd /usr/src/distrib/i386/ramdisk_cd  sudo make
 snip .
cc  -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes  -Wno-uninitialized -Wno-format -Wno-main  
-Wstack-larger-than-2047 -fno-stack-protector -fno-builtin-printf -fno-builtin-log -Os -pipe -nostdinc -I. 
-I/usr/src/sys/arch/i386/compile/RAMDISK_CD/../../../../arch 
-I/usr/src/sys/arch/i386/compile/RAMDISK_CD/../../../.. -DSCSITERSE -DAPM_NOPRINT -DI486_CPU -DI586_CPU 
-DI686_CPU -DSMALL_KERNEL -DNO_PROPOLICE -DTIMEZONE=0 -DDST=0 -DFFS -DEXT2FS 
-DNFSCLIENT -DCD9660 -DUDF -DMSDOSFS -DFIFO -DINET -DINET6 -DBOOT_CONFIG -DRAMDISK_HOOKS 
-DMINIROOTSIZE=0xed8 -DPCIVERBOSE -D_KERNEL -Di386  -c 
/usr/src/sys/arch/i386/compile/RAMDISK_CD/../../../../dev/usb/usb_mem.c
In file included from /usr/src/sys/dev/usb/usb_mem.c:62:
/usr/src/sys/dev/usb/usbdivar.h:228: error: field `timeout_handle' has 
incomplete type
*** Error code 1

Stop in /usr/src/sys/arch/i386/compile/RAMDISK_CD (line 2224 of Makefile).
*** Error code 1

Stop in /usr/src/distrib/i386/ramdisk_cd (line 67 of 
/usr/src/distrib/i386/ramdisk_cd/../common/Makefile.inc).


Any ideas ?

Thank you very much 
Kind regards,
Didier




There has been a lot of changes in the USB-stack lately that is
related to removal of macros and {Net,Free}BSD stuff.
This problem you see is fixed in version 1.20 in usb_mem.c so do
another cvs up and try again.

br
dunceor



Re: cvsup/cvsync/anoncvs

2007-05-31 Thread Karl Sjödahl - dunceor

On 5/30/07, MiK[3]Zz [EMAIL PROTECTED] wrote:

Hi, i am goin to set up cvsup/anoncvs/cvsync server, but don't knwo how. Can 
you help me with configuration of these
*cvs* servers? I have already write an e-mail to [EMAIL PROTECTED], but w/o any 
answer. Thanks for help.




Here is information how to run a anoncvs-server.
http://www.openbsd.org/anoncvs.html#MIRROR

You probobly need to do some reading before, it can take some tweaking.

br
dunceor



Re: Tcpdstat

2007-05-23 Thread Karl Sjödahl - dunceor

On 5/22/07, OBSD [EMAIL PROTECTED] wrote:

Hi,

does anybody get on a OpenBSD 4.x tcpdstat installed?
Tcpdstat from
http://staff.washington.edu/dittrich/talks/core02/tools/tcpdstat-uw.tar
is a very nice tool to get summary information of a tcpdump file.

The output includes the number of packets, the average rate and its standard 
deviation,
the number of unique source and destination address pairs, and the breakdown of 
protocols.

I would appreciate every help or hint to get it compiled.
I can remember me that I could compile it on a OpenBSD 3.6 but on the new one 
4.1
it fails always.

Regards,
Stefan




This makes it compile at least:
--- tcpdstat.h Wed May 23 22:14:28 2007
+++ new_tcpdstat.h  Wed May 23 22:14:17 2007
@@ -410,7 +410,7 @@
};

extern long long int read_count;
-extern struct timeval start_time, end_time;
+extern struct bpf_timeval start_time, end_time;
extern struct pkt_cnt tcpdstat[PROTOTYPE_MAX];
extern int packet_length;
extern long long int caplen_total;

I bet bpf_timeval is only a typedef or pretty much the same as timeval
anyway. Worth a try, I haven't been able to test it out.

br
dunceor



Re: Tcpdstat

2007-05-23 Thread Karl Sjödahl - dunceor

On 5/23/07, Otto Moerbeek [EMAIL PROTECTED] wrote:


On Wed, 23 May 2007, Karl SjC6dahl - dunceor wrote:

 On 5/22/07, OBSD [EMAIL PROTECTED] wrote:
  Hi,
 
  does anybody get on a OpenBSD 4.x tcpdstat installed?
  Tcpdstat from
  http://staff.washington.edu/dittrich/talks/core02/tools/tcpdstat-uw.tar
  is a very nice tool to get summary information of a tcpdump file.
 
  The output includes the number of packets, the average rate and its standard
  deviation,
  the number of unique source and destination address pairs, and the breakdown
  of protocols.
 
  I would appreciate every help or hint to get it compiled.
  I can remember me that I could compile it on a OpenBSD 3.6 but on the new
  one 4.1
  it fails always.
 
  Regards,
  Stefan
 
 

 This makes it compile at least:
 --- tcpdstat.h Wed May 23 22:14:28 2007
 +++ new_tcpdstat.h  Wed May 23 22:14:17 2007
 @@ -410,7 +410,7 @@
 };

 extern long long int read_count;
 -extern struct timeval start_time, end_time;
 +extern struct bpf_timeval start_time, end_time;
 extern struct pkt_cnt tcpdstat[PROTOTYPE_MAX];
 extern int packet_length;
 extern long long int caplen_total;

 I bet bpf_timeval is only a typedef or pretty much the same as timeval
 anyway. Worth a try, I haven't been able to test it out.

they are not pretty much the same; they happen to have the same
field names (a bad design decisison, but we have to live with that),
but they ARE different:

struct bpf_timeval {
u_int32_t   tv_sec;
u_int32_t   tv_usec;
};

struct timeval {
longtv_sec; /* seconds */
longtv_usec;/* and microseconds */
};

Apart from the fields being unsigned in the bpf_timeval case, they are
not the same size on 64-bit platforms.

-Otto




Well I guess there was a chance for that but a quick look didn't reveal that.
Well there is the problem with the code so if anybody is up for it.

br
dunceor



Re: Chaos Computer Camp 2007. Anyone going?

2007-05-12 Thread Karl Sjödahl - dunceor

On 5/12/07, Edd Barrett [EMAIL PROTECTED] wrote:

Hi,

My german housemate has reccommneded the chaos computer camp to me.
Looks like a good laugh. A couple of my student buddies and myself are
thinking of coming.

I see there is a BSD village. Is that you lot? Would be nice to meet
some of the developers.

--
Best Regards

Edd

---
http://students.dec.bournemouth.ac.uk/ebarrett/




I think Wim is one of the organizers of the BSD Village. He was at WTH
at least so I think he is involved. I doubt that they will miss that
big event.

I'm hopening to go if I can get time of from work. I will be in the
BSD village then if I go.

Br
dunceor



Re: subversion and HTTP

2007-04-24 Thread Karl Sjödahl - dunceor

On 4/24/07, atstake atstake [EMAIL PROTECTED] wrote:

I would like to use subversion such that people can checkout files using
http://. But since OpenBSD doesn't come with Apache2, I guess I need to
compile Apache2. Is there any way around this? Thanks.




If you want to use the mod_dav you need to compile apache2 since this
is written specially for the apache2 API.

You can always use the svnserve but I don't know if that one talks
HTTP but I doubt it.

More info here:
http://svnbook.red-bean.com/en/1.0/ch06.html

BR
dunceor



Re: Routerboard 532 Bounty

2007-04-11 Thread Karl Sjödahl - dunceor

On 4/10/07, anon trol [EMAIL PROTECTED] wrote:

I'm not sure where to ask this; so, I thought I'd start here in misc
first.

I think I have convinced myself that I want to sponsor an architecture port
effort.  Specifically, I would like to see OpenBSD ported to the Routerboard
532 (IDT MIPS32 4Kc processor).  After STFW, I see that a few other people
have posted questions about this in the past without a lot of positive
response (it seems that there might have been a port that would have been
suitable at one point in time, but is no longer part of the current
distribution).  I'm curious what the non-technical (finical) stewardship
requirements might be for bringing back a dropped architecture and making
sure that it works on a very specific set of target boards (starting with
the 532).

I don't think this is too much of a technical undertaking (but at the moment
it's beyond my ability and time constraints)... the routerboard 532 boots
off of compaq flash (no need to muck about with the on-board flash).  The
only things that worry me are the slim resources (64MB  of memory max) and
support for the first NIC (IDT Korina 10/100 Mbit/s Fast Ethernet port).  I
would be willing to forgo support for the IDT NIC just to get things started
quickly (the other NICs are VIA VT6105).   I would want support for at least
one commodity 802.11(series) wireless NIC in both the 2.4ghz and 5ghz
ranges.  Other potential issue include the funky bootstrap code (which looks
for ELF), custom BIOS and MIPS endedness.

I don't want this to be a goatrope where I send off a bunch a Routerboard
hardware and nobody even tries to collect the bounty, but I know the OpenBSD
project has a pretty good reputation for getting things done when equipment
and funds are provided (if I'm off mark with that semi-acquired assumption,
please someone fill me in off-line).

Where do I start and who do I need to talk to?




I have been interested in this before and I'm thinkin of ordering a
routerboard just because I need a new router.

This task is rather big though. Sure one could start with the
evmips-port from NetBSD (there was a mail about supporting MIPS 4kc
would probobly only be to add some strings for it) but it still needs
to be ported to OpenBSD which is probobly a rather big task.

The 32mb RAM (Routerboard 532 has 32 mb RAM and Routerboard 532A has
64 MB) is not a problem, I have run OpenBSD on x86 with 16mb RAM
without problems.

The problem I see is to get it to boot of good, and to port the flash.
When those two task are done the rest of the drivers will probobly not
be that much of a problem. I think there is a Realtek ethernet on it
which is already supported by OpenBSD.

This is for sure an interesting board and there are turning up more
and more MIPS based router that would be great to be able to run
OpenBSD at.

Is there anybody already working on this?

BR
dunceor



Re: running OpenBSD on switch hardware

2007-04-06 Thread Karl Sjödahl - dunceor

On 4/6/07, Douglas Allan Tutty [EMAIL PROTECTED] wrote:

On Thu, Apr 05, 2007 at 06:52:25PM +0200, Karl Sjvdahl - dunceor wrote:
 On 4/5/07, RedShift [EMAIL PROTECTED] wrote:
 
 I've got this linksys SRW2016 managed 16 port gigabit switch at home.
 The only problem with it, is that the firmware well eh, sucks. The
 telnet interface can't configure everything (just basic setup, you can't
 even set up SNMP or VLANs) and the webinterface only works correctly
 with Internet Explorer.
 
 Now during the bootup messages I see that the processor is an ARM946E-S.
 Since OpenBSD should run on ARM processors (armish port?) I wonder if it
 would be possible to replace the current firmware with an OpenBSD install.

 I don't think the ARM 946 has a MMU which I'm pretty it needs to run
 OpenBSD. So I think you are out of luck. Don't know if Linux runs on
 systems without MMU but it's worth a try.

NetBSD says it will run anything, will it run this?

Doug.




Well there was a proposol for SoC at NetBSD last year to get NetBSD
running at a computer lacking MMU but I don't think any signed up for
that mission so I still think that either NetBSD or the other *BSD can
run on a computer without MMU.

BR
dunceor



Re: running OpenBSD on switch hardware

2007-04-05 Thread Karl Sjödahl - dunceor

On 4/5/07, RedShift [EMAIL PROTECTED] wrote:

Hello all,

I've got this linksys SRW2016 managed 16 port gigabit switch at home.
The only problem with it, is that the firmware well eh, sucks. The
telnet interface can't configure everything (just basic setup, you can't
even set up SNMP or VLANs) and the webinterface only works correctly
with Internet Explorer.

Now during the bootup messages I see that the processor is an ARM946E-S.
Since OpenBSD should run on ARM processors (armish port?) I wonder if it
would be possible to replace the current firmware with an OpenBSD install.

To upgrade the firmware, you need two images, a boot image and
software image.

But before I get started, would this even be possible? I'm already
having a hard time screwing open the device :-(.

You have to keep in mind I'm no good at programming, I know very little
C beyond hello world, let alone booting such a piece of hardware.

Thanks,

Glenn




I don't think the ARM 946 has a MMU which I'm pretty it needs to run
OpenBSD. So I think you are out of luck. Don't know if Linux runs on
systems without MMU but it's worth a try.

BR
dunceor