OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => OpenBSD => Topic started by: TronDD on February 14, 2014, 07:55:17 pm
-
It's been years since I've booted up the Zaurus. Always kept it around as I would occasionally be inspired to play it with it once in a while. It's time again! Only now, I have forgotten my user and root password to openBSD (somehow I've remembered by password for the forum).
I know I can boot into single user mode to reset, but I can't get it to a boot> prompt. If I start the Zaurus with D+B it boots directly to a linux login. For which, I naturally cannot remember the credentials for either. Otherwise I'm at the usual 'wipe it all out and start from Zaurus defaults' menus.
I'd like to not have to start everything from scratch. I wouldn't even know how to set up the Zaurus software anymore. How can I just get to the BSD boot> menu?
EDIT: Ok, I figured out thelinux prompt is the emergency linux and I can get in as root with no password. Can't get the BSD installer to mount the drive. Really, what I want to do is just look at what's on there and save anything off I'll need again then do a clean BSD install.
Tim.
-
Never mind. Messing around in the BSD installer trying to figure out what the drive and partition was to mount it, the installer blew away my partition table so I lost everything. That didn't take me long to fail catastrophically.
Oh well, on to 5.4!
I'd still like to know how to get to the boot> menu, though...
Tim.
-
So after trying to get linux reinstalled, as fdisk blew away the whole drive, I decided to go full disk openBSD and found the appropriate boot loader.
Got BSD installed no problem, but spent a day trying to get wifi working. They changed the whole process since the last time I worked with it. Had to simplify the network configuration to get it going.
Now I spend a week and a half compiling from ports to put together a usable environment.
I guess I'm mostly talking to myself here...but, why not?
Tim.
-
Hi Tim,
Good timing!
At least one person (me...) reading your posts and with great interest. As I just got interested in using Zaurus again....and thought about trying OpenBSD which I have never used before. But interested as it is about the only OS that is still updated for Zaurus....
Have some linux experience (debian, arch, etc...) but never BSD.....so, interested to learn and try it....
Also, if it's possible, would like to have Zaurus multi-boot, so, that I can easily switch to different OS's....but don't know if this will work with OpenBSD.
Please see this webpage and let me know if you think this approach is doable or if I should avoid it if I try OpenBSD.
OmegaMoon-Zaurus (http://www.omegamoon.com/blog/static.php?page=ZaurusUbuntu)
Any other pointers for an OpenBSD noob?
Thanks!
Mark
-
Hi Tim,
Good timing!
At least one person (me...) reading your posts and with great interest. As I just got interested in using Zaurus again....and thought about trying OpenBSD which I have never used before. But interested as it is about the only OS that is still updated for Zaurus....
Have some linux experience (debian, arch, etc...) but never BSD.....so, interested to learn and try it....
Also, if it's possible, would like to have Zaurus multi-boot, so, that I can easily switch to different OS's....but don't know if this will work with OpenBSD.
Please see this webpage and let me know if you think this approach is doable or if I should avoid it if I try OpenBSD.
OmegaMoon-Zaurus (http://www.omegamoon.com/blog/static.php?page=ZaurusUbuntu)
Any other pointers for an OpenBSD noob?
Thanks!
Mark
I used to dual boot OpenBSD on my Zaurus with Cacko. I wrote a FAQ on how to do this somewhere in this forum. Just do a search and it should pop up. I'm sure it's possible to do the same thing with other distros.
-
Hi Tim,
Good timing!
At least one person (me...) reading your posts and with great interest. As I just got interested in using Zaurus again....and thought about trying OpenBSD which I have never used before. But interested as it is about the only OS that is still updated for Zaurus....
Have some linux experience (debian, arch, etc...) but never BSD.....so, interested to learn and try it....
Also, if it's possible, would like to have Zaurus multi-boot, so, that I can easily switch to different OS's....but don't know if this will work with OpenBSD.
Please see this webpage and let me know if you think this approach is doable or if I should avoid it if I try OpenBSD.
OmegaMoon-Zaurus (http://www.omegamoon.com/blog/static.php?page=ZaurusUbuntu)
Any other pointers for an OpenBSD noob?
Thanks!
Mark
I used to dual boot OpenBSD on my Zaurus with Cacko. I wrote a FAQ on how to do this somewhere in this forum. Just do a search and it should pop up. I'm sure it's possible to do the same thing with other distros.
Thank you for your input!.....
Will look for your FAQ.....
-
Also, if it's possible, would like to have Zaurus multi-boot, so, that I can easily switch to different OS's....but don't know if this will work with OpenBSD.
Before I messed up the hard drive partitions, I was dual booting the Sharp Qtopia with a custom linux kernel and OpenBSD. I think that's easiest since it's the "OpenBSD way". Never used kexecboot, though. Looks like it should work and be the most flexible. You have a few options for multi-boot.
Hardest thing about installing OpenBSD is figuring out the numbers to use to make your partitions with fdisk. I think it's in sectors and not something for humans like size in some scale of bytes.
Once you get OpenBSD installed, there are some good tips here on configuring for the Z: http://www.planetofidiots.com/zaurus/ (http://www.planetofidiots.com/zaurus/)
Tim.
-
I fought for a couple days to get my wifi card working. They changed the tools and configs since the last version of OBSD I had on here. My card, and back then OBSD itself, only supports WEP. Interesting to see WPA in OBSD now. They were adamant about not implementing it because it wasn't considered to be secure enough.
The old install of OBSD was connecting to my network (of course I couldn't log in to check settings) but when I reinstalled it would not connect. Turned out that the new driver/tools don't support WEP with shared key authentication. I had to change my router to open and it all worked easily after that.
Compiled my favorite minimalist window manager, wmii and copied some customizations from another system. I am having one weird problem which I am not sure what piece of software is to blame. But in xterm, most of the time I hit the 'v' key, it interprets it as a paste command and pastes in whatever is in the buffer. Really annoying when I use vi all the time! I have to find a 'v' somewhere and select it so when I hit the v key is pastes in the letter v. I am blaming xterm at this point since I haven't noticed the problem anywhere else but I don't use v that often anywhere else. I'll compile another terminal emulator and see what happens.
Compiled dillo for a web browser. I think that was one I used to use. It doesn't support javascript so is of limited use these days. I want xombrero but it's GTK+3 and webkit based. After 2 days of compiling it failed on glib2. Not sure why that fails. Also when looking at the list of dependencies, it was huge. Somehow something wanted GTK+2 in addition to GTK+3 and something wanted python while something else wanted ruby. Might as well install the whole ports tree to get this one minimalist web browser.
Going to play around with glib2 and see if I can get it to compile. Maybe turn off some compiler optimizations.
Tim.
-
Hi Tim,
Good timing!
At least one person (me...) reading your posts and with great interest. As I just got interested in using Zaurus again....and thought about trying OpenBSD which I have never used before. But interested as it is about the only OS that is still updated for Zaurus....
Have some linux experience (debian, arch, etc...) but never BSD.....so, interested to learn and try it....
Also, if it's possible, would like to have Zaurus multi-boot, so, that I can easily switch to different OS's....but don't know if this will work with OpenBSD.
Please see this webpage and let me know if you think this approach is doable or if I should avoid it if I try OpenBSD.
OmegaMoon-Zaurus (http://www.omegamoon.com/blog/static.php?page=ZaurusUbuntu)
Any other pointers for an OpenBSD noob?
Thanks!
Mark
I used to dual boot OpenBSD on my Zaurus with Cacko. I wrote a FAQ on how to do this somewhere in this forum. Just do a search and it should pop up. I'm sure it's possible to do the same thing with other distros.
Thank you for your input!.....
Will look for your FAQ.....
Found a FAQ, but it is specifically for those who have already installed OpenBSD and want to upgrade it.....
Is this set of instructions OK?
OpenBSD Install - PlanetOfIdiots.com (http://www.planetofidiots.com/zaurus/)
-
Also, if it's possible, would like to have Zaurus multi-boot, so, that I can easily switch to different OS's....but don't know if this will work with OpenBSD.
Before I messed up the hard drive partitions, I was dual booting the Sharp Qtopia with a custom linux kernel and OpenBSD. I think that's easiest since it's the "OpenBSD way". Never used kexecboot, though. Looks like it should work and be the most flexible. You have a few options for multi-boot.
Hardest thing about installing OpenBSD is figuring out the numbers to use to make your partitions with fdisk. I think it's in sectors and not something for humans like size in some scale of bytes.
Once you get OpenBSD installed, there are some good tips here on configuring for the Z: http://www.planetofidiots.com/zaurus/ (http://www.planetofidiots.com/zaurus/)
Tim.
Thanks for all your input, Tim!......
Did you install OpenBSD by having network connection or having files on a card?
-
I fought for a couple days to get my wifi card working. They changed the tools and configs since the last version of OBSD I had on here. My card, and back then OBSD itself, only supports WEP. Interesting to see WPA in OBSD now. They were adamant about not implementing it because it wasn't considered to be secure enough.
The old install of OBSD was connecting to my network (of course I couldn't log in to check settings) but when I reinstalled it would not connect. Turned out that the new driver/tools don't support WEP with shared key authentication. I had to change my router to open and it all worked easily after that.
You can't use WPA on your network?
Compiled my favorite minimalist window manager, wmii and copied some customizations from another system. I am having one weird problem which I am not sure what piece of software is to blame. But in xterm, most of the time I hit the 'v' key, it interprets it as a paste command and pastes in whatever is in the buffer. Really annoying when I use vi all the time! I have to find a 'v' somewhere and select it so when I hit the v key is pastes in the letter v. I am blaming xterm at this point since I haven't noticed the problem anywhere else but I don't use v that often anywhere else. I'll compile another terminal emulator and see what happens.
I gave up on vi a long time ago....seems so klutzy to use to me at least.....
I use nano typically, works easily and does the job for me.....is it available for OpenBSD?
Compiled dillo for a web browser. I think that was one I used to use. It doesn't support javascript so is of limited use these days. I want xombrero but it's GTK+3 and webkit based. After 2 days of compiling it failed on glib2. Not sure why that fails. Also when looking at the list of dependencies, it was huge. Somehow something wanted GTK+2 in addition to GTK+3 and something wanted python while something else wanted ruby. Might as well install the whole ports tree to get this one minimalist web browser.
Going to play around with glib2 and see if I can get it to compile. Maybe turn off some compiler optimizations.
Tim.
Any chance of using Firefox or chromium?......I know that Firefox will be a bit slow, but it works....don't use chromium much, but did find it fast...and works on sites...
-
My network card for the Zaurus does not support WPA. Back when I bought it, OpenBSD did not support it either and had no plans to so that is what I went with. My router and all my other devices can do WPA but I never upgraded to it so I could support my Z. A USB network "card" with WPA would be ideal.
Yes, nano is available. Vi, or Emacs, or anything else with a lot of keyboard input takes getting used to. I am comfortable with what I know in Vi, but I know maybe 1% of what it can do.
I'll bet Firefox will run, but it will be awfully slow. Probably unusable. Fennec, the version for phones and such is available and might run better. I'm going to try it and see.
Tim.
-
Turns out, glib2 probably has a few bugs in arm that prevent it from compiling. It was found and fixed in netBSD and I assume is the same problem in openBSD. Have to either look for a different release or try to apply the netBSD patches...
EDIT: Hmm...interestingly, I found an arm package of glib2 so I downloaded that. pkg_add installed it, so I'll retry compiling xombrero and see what happens.
Tim.
-
Thanks for your updates, Tim...very helpful to hear your experiences as I'm new to OpenBSD....
Well, I managed to install OpenBSD 5.5 today on my 3200!....
UPDATE - Just saw that you responded to my post over on the other thread - THANKS!
Haven't tried wifi card yet, used my Socket ethernet card and it worked from the start...
Only issue I'm having, and it's a weird one, is when I'm using xterm, I can't type the letter 'v'....have tried all the other letters and characters and they work OK....but no 'v'......
Obviously, makes it difficult to do certain things if you can't use the letter 'v'......
When I exit from X and get back to console, I can type a 'v'....works OK......
Any idea how to fix this or what might cause this strange behavior?....
Also, wanted to try installing nano using pkg_add, but I can't find package repo location for version 5.5. Do you know where it is?
Or can I use version 5.4 repo?
Thanks,
Mark
-
Trying to get xombrero to build. It ends up with a lot of large dependencies. It dies on cmake. Something about unable to bootstrap cmake. Capturing the error so I can take a closer look and see if there is anything I can fix here...
Really a decent web browser is all I want here.
Tim.
-
Between your build experiences and mine recently (see other thread...), it seems like building on the Zaurus is a PITA.....timewise and otherwise....
Would think it would be much more practical if we could build on a faster computer (which usually has a larger display too for looking at text about build process...) and then transfer resulting build to the Zaurus to use.
Assume this would require setting up a cross-compiler on computer, right?....
I know there's the other method using NFS server, but that would require having Zaurus connected to other computer all the time during build process, correct?
If possible, I'd like to avoid having to have Zaurus running all the time....
Meanwhile, look forward to additional updates on your build experiences.....
Thanks!
Mark
-
Assume this would require setting up a cross-compiler on computer, right?....
I know there's the other method using NFS server, but that would require having Zaurus connected to other computer all the time during build process, correct?
Yes. I've never done that for the Z nor in OBSD. Search the forum, someone must have done it.
Yes. An NFS server only gives you, essentially, an external hard drive to build on. It still compiles with the Z's cpu and memory.
Tim.
-
Assume this would require setting up a cross-compiler on computer, right?....
I know there's the other method using NFS server, but that would require having Zaurus connected to other computer all the time during build process, correct?
Yes. I've never done that for the Z nor in OBSD. Search the forum, someone must have done it.
Yes. An NFS server only gives you, essentially, an external hard drive to build on. It still compiles with the Z's cpu and memory.
Tim.
Thanks, will check it out....
Mark
-
Ok, tried skipping the cmake build by installing the generic arm package. Seemed to go fine until I tried to build graphite2. It builds with cmake and gets a segfault trying to run the install target. (It's built, I just need to install it! Arg!)
I am assuming something it's right with arm cmake on the Z so I am trying to get it to compile natively. The only problem compiling it (so far) is a bit of code that tries to find the current path and the executable it just built. The default behavior was returning an empty string for the path. I commented out some APPLE defines so it will run that code (hey, it's BSD based, so should be relevant) which does pretty much the exact same thing, and it works, but is one directory level short. Something do to with where the command was initiated from versus where ports builds to, I guess.
It takes a good 20 minutes to build this one file so it's tedious to debug.
Tim.
-
Yep, had cmake issues too....
Let me know how it goes....
-
I found a bug in cmake, fix it, the build started seg faulting. Undid the fix, it continued to seg fault. Had to blow it all away and start the build over to see if the crash goes away. A full build, to the point it hits the bug, is 24 hour or more. I don't even know if there will be other bugs after this one or if it'll just seg fault like the arm package.
Tim.
-
So I shortcutted around this cmake issue by simply returning what I wanted out of the function and now get a crash deleting a map or vectors or something that's beyond me. I think I might have to give up.
Last ditch effort is to pull the latest cmake release and build it and see what happens.
Tim.
-
So I shortcutted around this cmake issue by simply returning what I wanted out of the function and now get a crash deleting a map or vectors or something that's beyond me. I think I might have to give up.
Last ditch effort is to pull the latest cmake release and build it and see what happens.
Tim.
Too bad about cmake.....wonder why this is such a problem....
Mark
-
Ports mailing list to the rescue (I hope).
http://article.gmane.org/gmane.os.openbsd.ports/63302 (http://article.gmane.org/gmane.os.openbsd.ports/63302)
I accidentally ran 'make clean=depends' on a port that required cmake so it blew away all my hackery. I've applied the patches from the mailing list, but it'll be a day or so to recompile, then I might still have to fix the original bug I was working on as I didn't see anything about that in the mailing list discussion.
Tim.
-
From reading the posts at http://thread.gmane.org/gmane.os.openbsd.p...270/focus=63302 (http://thread.gmane.org/gmane.os.openbsd.ports/63270/focus=63302) it looks like there is a workaround?.....
From: Stuart Henderson <sthen <at> openbsd.org>
Subject: Re: cmake diff to disable elf parser and ninja (Was: arm port build failures)
Newsgroups: gmane.os.openbsd.ports
Date: 2013-08-21 22:32:58 GMT (27 weeks, 4 days, 17 hours and 34 minutes ago)
On 2013/08/21 15:03, Stuart Henderson wrote:
> On 2013/08/21 15:30, David Coppa wrote:
> > On Tue, 20 Aug 2013, Stuart Henderson wrote:
> >
> > > On 2013/08/20 08:25, Stuart Henderson wrote:
> > > > On 2013/08/20 08:50, David Coppa wrote:
> > > > > On Mon, Aug 19, 2013 at 11:50 PM, Stuart Henderson <sthen <at> openbsd.org> wrote:
> > > > >
> > > > > > these ones all use cmake which has a common segfault on arm since
> > > > > > the move to enabling the elf parser.
> >
> > Comments on the following diff?
>
> In the absence of any better ideas, this makes sense to me, I'll give it a try.
yep, that works.
> > #0 cmELF (this=0xbfff4674, fname=0x4337438c "/usr/lib/libz.so.4.1")
> > at basic_ios.h:124
> > 124 { return _M_streambuf_state; }
>
> I get the impression this is something which shouldn't be segfaulting though..
as a workaround: OK.
-
Still haven't figured out how to get Dillo to show URL bar, and zoom out to see more of page....or get horizontal scrollbar to do this.....
Meanwhile, was looking through older threads here and found this post from 2007:
[img]http://general.sc35.info/artlists/firefox_eats_ie.jpg\" border=\"0\" class=\"linked-image\" /]
Here's the latest OpenBSD Mozilla-firefox package:
Mozilla-firefox-2.0.0.5.tgz (http://mersenne.homeunix.net/mozilla-firefox-2.0.0.5.tgz)
along with the development sources: (optional download)
Mozilla-firefox-devel-2.0.0.5.tgz (http://mersenne.homeunix.net/mozilla-firefox-devel-2.0.0.5.tgz)
All Mozilla-firefox sources were compiled with the following flags:
CFLAGS="-mcpu=xscale -mtune=xscale -O2 -pipe"
CXXFLAGS="-mcpu=xscale -mtune=xscale -O2 -pipe"
The Java and Flash plug-ins I've previously compiled work flawlessly with this updated version.
Do you think we can get firefox built again?.....
Know it would be slower than Dillo.....
-
I was able to build glib2 natively with the patches from here:
http://mail-index.netbsd.org/pkgsrc-bugs/2.../msg051683.html (http://mail-index.netbsd.org/pkgsrc-bugs/2013/06/19/msg051683.html)
I'm going to reconstruct my environment from there in case the generic arm package was causing some of my problems.
Tim.
-
No way! I'm wanting to put my z back to use too.
Of course I forgot my root password too. Can you remind me to reset that?
Thanks.
Edit: I am using cacko "katherine".
-
No way! I'm wanting to put my z back to use too.
Of course I forgot my root password too. Can you remind me to reset that?
Thanks.
Edit: I am using cacko "katherine".
I'm not familiar with cacko. Can you boot into single user mode and reset the password there?
-
Hi Wario,
For cacko related info, you should search on the cacko forum section....
Your other option is to reflash cacko, then follow OpenBSD on Zaurus instructions and then you can join Tim and I in our 'OpenBSD on Zaurus' adventures....