Author Topic: Upgrading Your Openbsd Zaurus  (Read 25317 times)

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Upgrading Your Openbsd Zaurus
« Reply #15 on: February 13, 2007, 12:16:22 pm »
Quote
4.1-beta is now available for testing. 
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

where do you find it?
i see only 4.0 under lastest snapshot here
[a href=\"ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/zaurus/]ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/zaurus/[/url]
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

mathemajikian

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
    • http://exit3.i-55.com/~xikon/openbsdzaurus.html
Upgrading Your Openbsd Zaurus
« Reply #16 on: February 13, 2007, 05:00:50 pm »
Quote
Quote
4.1-beta is now available for testing. 
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

where do you find it?
i see only 4.0 under lastest snapshot here
[a href=\"ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/zaurus/]ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/zaurus/[/url]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=153976\"][{POST_SNAPBACK}][/a][/div]

You have to update your source via cvs.  

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Upgrading Your Openbsd Zaurus
« Reply #17 on: February 16, 2007, 05:13:43 pm »
Quote
Quote
Quote
4.1-beta is now available for testing. 
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

where do you find it?
i see only 4.0 under lastest snapshot here
[a href=\"ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/zaurus/]ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/zaurus/[/url]
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

You have to update your source via cvs.  
[div align=\"right\"][a href=\"index.php?act=findpost&pid=153995\"][{POST_SNAPBACK}][/a][/div]


well it seems to be there :
[a href=\"ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/zaurus]ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/zaurus[/url]

can someone explain us the update news?
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

mathemajikian

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
    • http://exit3.i-55.com/~xikon/openbsdzaurus.html
Upgrading Your Openbsd Zaurus
« Reply #18 on: February 17, 2007, 08:48:39 am »
$ dmesg
OpenBSD 4.1-beta (ZAURUS) #5: Sat Feb 17 00:06:50 GMT 2007
zaurus.mersenne:/usr/src/sys/arch/zaurus/compile/ZAURUS
real mem = 67108864 (65536K) 64MB
avail mem = 53161984 (51916K)
using 844 buffers containing 3457024 bytes (3376K) of memory
mainbus0 (root)
cpu0 at mainbus0: PXA27x step C-5 (XScale core)
cpu0: DC enabled IC enabled WB enabled LABT branch prediction enabled
cpu0: 32KB(32b/l,32way) I-cache, 32KB(32b/l,32way) wr-back-lock D-cache
pxaip0 at mainbus0: CPU clock = 416.000 MHz
pxaintc0 at pxaip0 addr 0x40d00000: Interrupt Controller
pxagpio0 at pxaip0 addr 0x40e00000: GPIO Controller
pxadmac0 at pxaip0 addr 0x40000000 intr 25: DMA Controller
pxaost0 at pxaip0 addr 0x40a00000
com0 at pxaip0 addr 0x40100000 intr 22: pxa2x0, 32 byte fifo
com1 at pxaip0 addr 0x40200000 intr 21: pxa2x0, 32 byte fifo
com2 at pxaip0 addr 0x40700000 intr 20: pxa2x0, 32 byte fifo (SIR)
pxaudc0 at pxaip0: USB Device Controller
usbf0 at pxaudc0: USB revision 1.1
cdcef0 at usbf0: OpenBSD.org CDC Ethernet Emulation, rev 1.01/1.00
cdcef0: address 2a:cb:00:00:00:00
ohci0 at pxaip0, version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: PXA27x OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
lcd0 at pxaip0
wsdisplay0 at lcd0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1 added (std, vt100 emulation)
zkbd0 at pxaip0
wskbd0 at zkbd0: console keyboard, using wsdisplay0
scoop0 at pxaip0: PCMCIA/GPIO controller
scoop1 at pxaip0: PCMCIA/GPIO controller
pxapcic0 at pxaip0: 2 slots
pcmcia0 at pxapcic0
pcmcia1 at pxapcic0
zssp0 at pxaip0
apm0 at pxaip0
zts0 at pxaip0
wsmouse0 at zts0 mux 0
zaudio0 at pxaip0: I2C, I2S, WM8750 Audio
audio0 at zaudio0
zrc0 at pxaip0: CE-RH2 remote control
wskbd1 at zrc0 mux 1
wskbd1: connecting to wsdisplay0
flash0 at pxaip0: Samsung K9F1G08U0A 128Mx8 3.3V
wdc0 at pcmcia0 function 0 "HITACHI, microdrive" port 0x0/16: irq 138
wd0 at wdc0 channel 0 drive 0: <HMS360606D5CF00>
wd0: 32-sector PIO, LBA, 5859MB, 12000556 sectors
wd0(wdc0:0:0): using BIOS timings
wi0 at pcmcia1 function 0 "BUFFALO, WLI2-CF-S11, " port 0x0/64, irq 137
wi0: PRISM2.5 ISL3873 (0x800c), Firmware 1.1.0 (primary), 1.3.5 (station), address
boot device: wd0.
rootdev=0x1000 rrootdev=0x1000 rawdev=0x1002
« Last Edit: March 17, 2007, 02:08:21 pm by mathemajikian »

mathemajikian

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
    • http://exit3.i-55.com/~xikon/openbsdzaurus.html
Upgrading Your Openbsd Zaurus
« Reply #19 on: March 13, 2007, 08:04:19 am »
Quote
can someone explain us the update news?

From http://www.openbsd.org/41.html

Quote
This is a partial list of new features and systems included in OpenBSD 4.1. For a comprehensive list, see the changelog leading to 4.1.

    * New/extended platforms:
          o OpenBSD/landisk.
            Various SH4-based appliances, made by IO-Data and resold by Plextor.
          o OpenBSD/sparc64.
            UltraSPARC III based machines are now supported even better, and run at full speed now!

    * Removed platforms:
          o OpenBSD/cats.
            Because the machines are very hard to find, and the developers hate them.

    * Improved hardware support, including:
          o New USB client controller support:
                + Support for the USB client functionality in the pxaudc(4) driver on the Zaurus.
                + New usbf(4) midlayer for USB Client controllers.
                + New cdcef(4) driver for providing a CDCE function on USB client controllers.
          o New cas(4) driver for Sun Cassini 10/100/Gigabit Ethernet devices.
          o New uow(4) driver for Maxim/Dallas DS2490 USB 1-Wire devices.
          o New owsbm(4) driver for 1-Wire smart battery monitor devices.
          o New zyd(4) driver for ZyDAS ZD1211/ZD1211B USB IEEE 802.11b/g wireless network devices.
          o New moscom(4) driver for MosChip Semiconductor MCS7703 based USB serial adapters.
          o New glxsb(4) driver for hardware random numbers and AES acceleration on the AMD Geode LX processor.
          o New vic(4) driver for VMware VMXnet Virtual Interface Controllers.
          o New malo(4) driver for Marvell Libertas IEEE 802.11b/g wireless network devices.
          o New pwdog(4) driver for Quancom PWDOG1 watchdog timer devices.
          o New uberry(4) driver for Research In Motion Blackberry devices.
          o New mbg(4) driver for Meinberg Funkuhren radio clocks.
          o New mesh(4) driver for the on-board SCSI controller of old world Apple Power Macintosh systems.
          o New mc(4) driver for the on-board Ethernet of many old world Apple Power Macintosh systems
          o Improved msk(4) driver now supports many more Marvell Yukon-2 variants including dual port cards and fiber cards.
          o The gem(4) driver now supports fiber cards.
          o The OpenBSD/amd64 platform now has more accurate and robust time keeping.
          o The OpenBSD/i386 boot(8) program now works properly on Intel-based Macs.
          o The pciide(4) driver has had support added for newer chipsets, including:
                + AMD CS5536 IDE;
                + Intel i31244;
                + NVIDIA MCP67 PATA, MCP67 SATA.
          o The com(4) driver now supports ST16C654 devices.
          o The adt(4) driver supports some newer chipsets, such as the ADT7475.
          o The OpenBSD/macppc platform now automatically turns the machine back on following an unexpected loss of power.
          o boot.mac an XCOFF formated boot loader for OpenBSD/macppc capable of booting on many old world macs.

    * New tools:
          o BSD-licensed pkg-config(1), a complete rewrite of the GNU tool of the same name, significantly smaller and more maintainable.
          o hoststated(8), a layer 3 and layer 7 server load balancing daemon with host monitoring capacities.
          o new BSD-licensed ripd(8).
          o bgplg(8), a CGI looking glass for OpenBGPD, is now available for use with the system httpd.
          o bgplgsh(8), a looking glass shell for OpenBGPD, is now avalilable for use as a restricted read-only command line interface.

    * New functionality:
          o syslogd(8) can now pipe logs directly to other programs, making real-time log analysis easier.
          o The IP_RECVTTL ip(4) socket option allows programs to receive the incoming ttl on raw and udp sockets.
          o The IP_MINTTL ip(4) socket option allows programs to ask the kernel to discard any packets with a ttl smaller than the given one, for implementing the IP TTL security hack aka the Generalized TTL Security Mechanism specified in RFC 3682.
          o Multiple, independent routing tables, with pf(4) acting as selector. route(8) can be told which table to work with now, and routing daemons have been modified to cope as well.
          o The pflog(4) interface is now clonable. pf(4) can log to multiple pflog interfaces now, each rule can specify which pflog interface to log to. pflogd(8) and spamlogd(8) can now be told which pflog interface to work with.
          o The pfsync(4) interface is now clonable as well, thus only there when actually needed.
          o pfctl(8) can now expire table entries.
          o Allow pf(4) rules inside anchors to have their counters reset, and make counter read & reset an atomic operation.
          o sensorsd(8) dampens status changes now, thus not alerting for a single wrong sensor read, since many sensors lie once in a while.
          o spamd(8) and spamlogd(8) now support synchronisation of the greylist database across multiple hosts. The greytrapping mechanism now allows for whole domain traps, and noticing out of order MX use.
          o spamd(8) database format has changed from DB_BTREE to DB_HASH for much better performance on large installations with big databases.
          o The bridge(4) driver and the brconfig(8) tool now support the Rapid Spanning Tree Protocol (RSTP). The new RSTP mode is now used by default when enabled with the stp option.
          o cd(4) now supports reading from region protected DVDs.
          o Detect MS-DOS filesystems and spoof disklabel partitions for them even when there is no MBR, e.g. on some newer iPods.

    * Assorted improvements and code cleanup:
          o The fsck_ffs(8) command has been improved to be more robust to various forms of inode and superblock corruption.
          o The top(1) command got some new ways of filtering the display.
          o pthreads(3) file descriptor handling has been improved to eliminate several race and deadlock conditions and improve performance.
          o The MS-DOS filesystem has had a potential corruption issue fixed, and is more reliable when given a corrupted filesystem to mount.
          o The MS-DOS filesystem and the fdisk(8) command have been enhanced to work on devices with 2048 byte sectors, e.g. newer iPods.
          o The OpenRCS tools are smarter at handling files, especially when dealing with binary files. GNU RCS compatibility has also been improved.
          o The mg(1) editor now displays column numbers in the status bar. It has also received several improvements which make it more reliable: line numbers, file insertions, and search wrapping all now work as expected.
          o The systat(1) command has a cleaner look, and a display was added for hardware sensors.
          o The OpenBSD/alpha platform now uses gcc3.
          o Improved support for usb attached cd drives and ever more odd umass(4) devices.
          o Don't treat NetBSD or FreeBSD MBR partitions as substitutes for an OpenBSD partition. i.e. don't try to boot from them or use them to store OpenBSD disklabels.

    * Install/Upgrade process changes
          o More reliable detection of disk and cd devices.
          o More reliable installation from MSDOS FAT partitions.
          o New sanity check in case sets for the wrong architecture are selected.
          o No need to specify the filesystem types of source partitions during disk or cd installs.
          o No need to select a source partition during disk or cd installs when there is only one to choose from.

    * OpenBGPD 4.1:
          o Fixes for sessions with tcp md5sig and ipsec. Now sessions can be migrated from and to any form of ipsec and tcpmd5 with just a simple bgpctl reload, and the session migrates the next time it gets established.
          o Include file support in the config parser.
          o Can now use the new IP_MINTTL socket option to implement the ttl security mechanism.

    * OpenOSPFD 4.1:
          o Reload support added. It is no longer needed to restart ospfd after a configuration change.
          o Multiple networks per interface are now supported.
          o It is now possible to specify the route metric and type for each redistribution rule.

    * OpenNTPD 4.1:
          o Greatly improved support for timedelta sensors.
          o ntpd now uses a strictly monotonically increasing time (uptime, basically) for its internal timers, so setting the system clock doesn't influence query rates, trust levels, etc. any more.

I've also noticed better audio/video performance on my SL-C3200 using this release.
« Last Edit: March 13, 2007, 08:27:54 am by mathemajikian »

mathemajikian

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
    • http://exit3.i-55.com/~xikon/openbsdzaurus.html
Upgrading Your Openbsd Zaurus
« Reply #20 on: March 13, 2007, 08:17:41 am »
Anyone upgrading their Z to 4.1 should read the upgrading instructions first! I learned the hard way earlier this month when building -current.    Here's the link to the instructions and a quote:

http://www.openbsd.org/faq/upgrade41.html

Quote
Special note for ARM users (armish, zaurus): Changes in the ABI requires a slightly different upgrade process if not using standard install kernel. Do not reboot after installing the kernel and before installing the new userland.

Reboot on the new kernel: (NOT for ARM users) This might be a tempting step to skip, but it should be done now, as usually, the new kernel will run old userland apps (such as the soon to be important reboot!), but often a new userland will NOT work on the old kernel.

Note: ARM users (armish/zaurus) SHOULD skip this step for this upgrade cycle.
« Last Edit: March 14, 2007, 11:58:29 am by mathemajikian »

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Upgrading Your Openbsd Zaurus
« Reply #21 on: May 13, 2007, 04:43:24 am »
i'm trying a cvs update.
i'd like to say that the first method i tried didn't work :

Quote
Use CVS to download the latest source and ports collection
# cd /usr/src
# cvs -d anoncvs@anoncvs.ca.openbsd.org:/cvs up -Pd

give me an error message (something not found).

it seems you first need to do a checkout :

To checkout a -current CVS src tree, you can use the following:
    # cd /usr
    # export CVSROOT=anoncvs@anoncvs.example.org:/cvs
    # cvs -d$CVSROOT checkout -P src
« Last Edit: May 13, 2007, 04:44:00 am by jpmatrix »
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

mathemajikian

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
    • http://exit3.i-55.com/~xikon/openbsdzaurus.html
Upgrading Your Openbsd Zaurus
« Reply #22 on: May 13, 2007, 07:04:36 am »
Quote
It seems you first need to do a checkout :
To checkout a -current CVS src tree, you can use the following:
    # cd /usr
    # export CVSROOT=anoncvs@anoncvs.example.org:/cvs
    # cvs -d$CVSROOT checkout -P src
I've corrected the instructions to accommodate those who haven't previously checked out the ports tree or system sources.  
« Last Edit: May 13, 2007, 07:05:33 am by mathemajikian »

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Upgrading Your Openbsd Zaurus
« Reply #23 on: June 22, 2007, 02:20:36 pm »
hmm
i've just compiled and install a new kernel, following the instructions here and
uname -a gives me :

GENERIC#0

is it normal ???
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

mathemajikian

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
    • http://exit3.i-55.com/~xikon/openbsdzaurus.html
Upgrading Your Openbsd Zaurus
« Reply #24 on: June 26, 2007, 02:58:23 pm »
Quote
hmm
i've just compiled and install a new kernel, following the instructions here and
uname -a gives me :

GENERIC#0

is it normal ???
[div align=\"right\"][a href=\"index.php?act=findpost&pid=163549\"][{POST_SNAPBACK}][/a][/div]

Yes.  

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Upgrading Your Openbsd Zaurus
« Reply #25 on: June 27, 2007, 08:12:36 am »
Quote
Quote
hmm
i've just compiled and install a new kernel, following the instructions here and
uname -a gives me :

GENERIC#0

is it normal ???
[div align=\"right\"][a href=\"index.php?act=findpost&pid=163549\"][{POST_SNAPBACK}][/a][/div]

Yes.  
[div align=\"right\"][a href=\"index.php?act=findpost&pid=163789\"][{POST_SNAPBACK}][/a][/div]

ok ! that seems a little strange indeed
anyway i went into trouble following the system build process... it failed with some error messages like error code 1 ...
next time i think i'll just try the upgrade via snapshot
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun