Author Topic: Problem With Openbsd Port  (Read 5288 times)

gcc

  • Newbie
  • *
  • Posts: 4
    • View Profile
Problem With Openbsd Port
« on: August 25, 2005, 02:29:36 pm »
Hello,

I'm having a problem with the OpenBSD install. I've installed it successfully but have to manually go and press D+B and go into single user mode to get it to run (via zboot) it. I believe the cause of this is the rc.rofilesys. Unfortunately, I can' change / remove / copy the file because I get the error "no space left on device". I've been googling and found that its some sort of bug in the jffs filesystem that occurs when it gets full. Was just giving it one more last shot here because I think I'm stuck.

Also, does anyone know if there will be an option in the upcoming releases that allows you to install OpenBSD with having the linux partitions?

Thanks,
Sam
« Last Edit: August 25, 2005, 02:30:28 pm by gcc »

barryg

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
    • http://web.kssp.upd.edu.ph/barry/zaurus/
Problem With Openbsd Port
« Reply #1 on: August 25, 2005, 10:40:07 pm »
Good Day!

Quote
<SNIP>

Additional info please.  Zaurus model, OpenBSD version(and date if using
snapshots).  And dmesg[0], if possible.

Quote
Also, does anyone know if there will be an option in the upcoming
releases that allows you to install OpenBSD with having the linux
partitions?

Meaning, an install OpenBSD on a ext{2,3}fs and/or jffs2 partition?
Nope.  All OpenBSD installs(on all it's platforms) use ffs and the
partition has to be marked OpenBSD A6.


Mabuhay! barryg


[0]
http://www.openbsd.org/faq/faq4.html#getdmesg
http://www.openbsd.org/faq/faq4.html#SendDmesg

gcc

  • Newbie
  • *
  • Posts: 4
    • View Profile
Problem With Openbsd Port
« Reply #2 on: August 26, 2005, 12:52:19 am »
Hello Barryg,

I'm running the 3.7 Release on a new C3000.

Quote
Meaning, an install OpenBSD on a ext{2,3}fs and/or jffs2 partition?
Nope. All OpenBSD installs(on all it's platforms) use ffs and the
partition has to be marked OpenBSD A6.

Was thinking more of like sticking in a CF card and wiping the zaurus clean. Then installing only OpenBSD on it (no linux partition). Because right now Linux is acting as a "glorified bootloader" for OpenBSD.

When I'm in OpenBSD it works great. The problem is everytime I cold boot the machine I have to hold down D+B sequence to get into single user mode and then from there launch ./zboot. The reason for this is because the jffs2 filesystem won't let me modify rc.rofilesys(which should fix my problem). If I don't press the D+B sequence my zaurus just hangs. I've had this problem since 3.7 was released. Thats why I asked if anytime in the future will there be an install method that allows you to delete all linux partions and just dedicate the whole harddrive to OpenBSD. I can't get the dmesg because umass isn't working / implemented.

Thanks for responding,
Sam
« Last Edit: August 26, 2005, 12:54:04 am by gcc »

barryg

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
    • http://web.kssp.upd.edu.ph/barry/zaurus/
Problem With Openbsd Port
« Reply #3 on: August 26, 2005, 02:00:03 am »
Good Day!

Quote
Hello Barryg,
Barry would be enough, ;).

Quote
I'm running the 3.7 Release on a new C3000.
Use 3.8-beta[0].  The devs have been extremely busy improving the zaurus port,
and as a bonus they have some packages[1] build 2-3days ago.

Quote
Was thinking more of like sticking in a CF card and wiping the zaurus clean.
Then installing only OpenBSD on it (no linux partition). Because right now
Linux is acting as a "glorified bootloader" for OpenBSD.

What I did was fdisk mark the FAT32 partition with OpenBSD A6 and installed
OpenBSD on that.

There are two linux installed on the zaurus, one on the 16MB flash, and more on
the first and second partitions of the HDD.  OpenBSD uses the linux on the
flash to load it's kernel.  Additional info here[2]

Quote
When I'm in OpenBSD it works great. The problem is everytime I cold boot the
machine I have to hold down D+B sequence to get into single user mode and then
from there launch ./zboot. The reason for this is because the jffs2 filesystem
won't let me modify rc.rofilesys(which should fix my problem). If I don't press
the D+B sequence my zaurus just hangs. I've had this problem since 3.7 was
released. Thats why I asked if anytime in the future will there be an install
method that allows you to delete all linux partions and just dedicate the whole
harddrive to OpenBSD.

Did you wipe disk, and allocated all to OpenBSD?

If not, my suggested course of action is to boot linux(eg run zboot and press r on the prompt).
Remove the openbsd-3.7 ipk package and install the openbsd38_arm.ipk.

After that reboot and enter OpenBSD, download the snapshot bsd.rd and install normally.

Please don't skip backing up your data.

Quote
I can't get the dmesg because umass isn't working / implemented.
Use snapshots then, there were ton's of USB improvements since 3.7.


Quote
Thanks for responding,
Sam
No problem.


Mabuhay! barryg


[0]
ftp.openbsd.org/pub/OpenBSD/snapshots/zaurus/

[0]
ftp.openbsd.org/pub/OpenBSD/snapshots/packages/arm/

[2]
arkiv.netbsd.se/?ml=openbsd-arm&a=2005-05&m=912093

--
Barry Dexter A. Gonzaga, bofh

barryg

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
    • http://web.kssp.upd.edu.ph/barry/zaurus/
Problem With Openbsd Port
« Reply #4 on: August 26, 2005, 02:29:39 am »
Good day!

Quote
Quote
When I'm in OpenBSD it works great. The problem is everytime I cold boot the
machine I have to hold down D+B sequence to get into single user mode and then
from there launch ./zboot. The reason for this is because the jffs2 filesystem
won't let me modify rc.rofilesys(which should fix my problem). If I don't press
the D+B sequence my zaurus just hangs. I've had this problem since 3.7 was
released. Thats why I asked if anytime in the future will there be an install
method that allows you to delete all linux partions and just dedicate the whole
harddrive to OpenBSD.

Did you wipe disk, and allocated all to OpenBSD?

And if you did wipe your disk, here[0] are posts on openbsd-misc to recover from it.

Mabuhay! barryg

[0]
marc.theaimsgroup.com/?l=openbsd-misc&m=111859732727940&w=2

--
Barry Dexter A. Gonzaga, bofh

gcc

  • Newbie
  • *
  • Posts: 4
    • View Profile
Problem With Openbsd Port
« Reply #5 on: August 26, 2005, 09:23:42 pm »
Hey barry thanks for your help. I'm gonna give that a shot.

Sam
« Last Edit: August 26, 2005, 09:33:06 pm by gcc »

gcc

  • Newbie
  • *
  • Posts: 4
    • View Profile
Problem With Openbsd Port
« Reply #6 on: August 27, 2005, 12:24:01 pm »
Just wanted to thank you Barry for all your help.
Status update - everything works

Takecare,
Sam