Author Topic: Openbsd 4.2 Beta Issues  (Read 31053 times)

mathemajikian

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
    • http://exit3.i-55.com/~xikon/openbsdzaurus.html
Openbsd 4.2 Beta Issues
« Reply #15 on: August 15, 2007, 08:06:50 am »
Quote
Actually I got an email from robert@ saying he was on it.

So there will be a fix, from one of us.

-Andy
It's fixed, update your sources:

Quote
Revision 1.18 / (download) - annotate - [select for diffs] , Tue Aug 14 15:18:07 2007 UTC (20 hours, 47 minutes ago) by deraadt
Branch: MAIN
CVS Tags: HEAD
Changes since 1.17: +6 -2 lines
Diff to previous 1.17

removal of zts sysctls created a numeric gap.  repair.  ok miod robert

Here's the diff: http://www.openbsd.org/cgi-bin/cvsweb/src/....17&r2=1.18&f=h
« Last Edit: August 15, 2007, 08:09:46 am by mathemajikian »

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Openbsd 4.2 Beta Issues
« Reply #16 on: August 15, 2007, 08:40:55 am »
Thanks, mathemajikian and Andy!

BTW, i've set up dualbooting OpenBSD 4.2 and pdaXii 5.4.8 (Sally).  https://www.oesf.org/forums/index.php?showt...view=getnewpost

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

mathemajikian

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
    • http://exit3.i-55.com/~xikon/openbsdzaurus.html
Openbsd 4.2 Beta Issues
« Reply #17 on: August 15, 2007, 07:34:48 pm »
Quote
Thanks, mathemajikian and Andy!

BTW, i've set up dualbooting OpenBSD 4.2 and pdaXii 5.4.8 (Sally).  https://www.oesf.org/forums/index.php?showt...view=getnewpost
Excellent.

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Openbsd 4.2 Beta Issues
« Reply #18 on: August 16, 2007, 08:08:38 am »
Umm, has anybody tested the new CVS yet?

This is the first change that I tried but it failed. I think that the slots need a handler or they are treated as the end of the mib.

I found when I tried this 'fix' that maxspeed and lidsuspend were still unavailable.

-Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Openbsd 4.2 Beta Issues
« Reply #19 on: August 16, 2007, 09:59:52 am »
It does work, but you need to build a new version of sysctl from cvs.

Make sure that it builds with the new version of cpu.h.

-Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Openbsd 4.2 Beta Issues
« Reply #20 on: August 17, 2007, 12:08:22 am »
I don't have the skills to compile the system itself, but i really look forward to a patched snapshot so that i can test and port stuff faster.

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Openbsd 4.2 Beta Issues
« Reply #21 on: August 17, 2007, 12:45:34 am »
Another question:

As 4.2 has not yet supported write to SD, I am trying to use my Ultra II USB SD (got it tax-free during my last flight for 29 USD) as a USB mass storage device. But where can I see which device to mount?
Typing dmesg shows umass and uhub, which are not under /dev .

Thanks!
« Last Edit: August 17, 2007, 12:46:47 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

mathemajikian

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
    • http://exit3.i-55.com/~xikon/openbsdzaurus.html
Openbsd 4.2 Beta Issues
« Reply #22 on: August 17, 2007, 05:56:39 am »
Quote
Another question:

As 4.2 has not yet supported write to SD, I am trying to use my Ultra II USB SD (got it tax-free during my last flight for 29 USD) as a USB mass storage device. But where can I see which device to mount?
Typing dmesg shows umass and uhub, which are not under /dev .

Thanks!
The command should be similar to the following: mount /dev/sd0i   /mnt
The 0 and i will vary.
« Last Edit: August 17, 2007, 05:58:54 am by mathemajikian »

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Openbsd 4.2 Beta Issues
« Reply #23 on: August 25, 2007, 11:10:18 pm »
Ok, I got all my USB mass storage devices detected and mounted in 4.2.

So far I've tested these (all FAT formatted):
-- Apacer USB stick 512MB
-- Corsair Voyager 2GB
-- SanDisk Extreme II SD 2GB (convertible; w/ USB plug)
-- Sony Ericsson W800i (w/ 500MB memory stick inserted)

It just works!  
They mount as /dev/sd0i or /dev/sd1i.

Issue:
But the funny thing is at first when I was trying, the USB things are "partly" recognized without showing the right devices to be mounted, i.e. only showing umass and uhub, etc without showing sd0 or sd1 in dmesg.

Some of the failing cases: e.g. the two usb sticks
Quote
umass0 at uhub0 port 2 configuration 1 interface 0
umass0: vendor 0x1005 USB FLASH DRIVE, rev 2.00/1.00, addr 2
umass0: using SCSI over Bulk-Only
umass0 detached
Quote
uhub1 at uhub0 port 2: Prolific Technology Inc. USB Embedded Hub, rev 2.00/1.00, addr 2
umass0 at uhub1 port 1 configuration 1 interface 0
umass0: Prolific Technology Inc. USB Mass Storage Device, rev 2.00/1.00, addr 3
umass0: using ATAPI over Bulk-Only
umass0 detached
uhub1 detached

Some of the successful cases: e.g. SanDisk Extreme II SD, Sony Ericsson W800i
Quote
umass0 at uhub0 port 2 configuration 1 interface 0
umass0: SanDisk Corporation SD Plus, rev 2.00/0.10, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets
sd0 at scsibus0 targ 1 lun 0: <SanDisk, SD Plus, 0.1> SCSI2 0/direct removable
sd0: 1938MB, 247 cyl, 255 head, 63 sec, 512 bytes/sec, 3970048 sec total
Quote
umodem0 at uhub0 port 2 configuration 1 interface 1
umodem0: Sony Ericsson Sony Ericsson W800, rev 2.00/0.00, addr 2, iclass 2/2
umodem0: data interface 2, has CM over data, has break
umodem0: status change notification available
ucom0 at umodem0
umodem1 at uhub0 port 2 configuration 1 interface 3
umodem1: Sony Ericsson Sony Ericsson W800, rev 2.00/0.00, addr 2, iclass 2/2
umodem1: data interface 4, has CM over data, has break
umodem1: status change notification available
ucom1 at umodem1
umass0 at uhub0 port 2 configuration 1 interface 8
umass0: Sony Ericsson Sony Ericsson W800, rev 2.00/0.00, addr 2
umass0: using ATAPI over Bulk-Only
scsibus1 at umass0: 2 targets
sd1 at scsibus1 targ 1 lun 0: <Sony Eri, Memory Stick, 0000> SCSI0 0/direct removable
sd1: 938MB, 119 cyl, 255 head, 63 sec, 512 bytes/sec, 1921024 sec total
I have to unplug the usb host cable, connect the host cable to the device, and plug the whole thing in again to make it work.
Also it seems the usb devices are sometimes not recognized (e.g. the small light on the stick isn't lit up). Would this need to be fixed?
« Last Edit: August 25, 2007, 11:38:58 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

mathemajikian

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
    • http://exit3.i-55.com/~xikon/openbsdzaurus.html
Openbsd 4.2 Beta Issues
« Reply #24 on: August 26, 2007, 09:09:39 am »
Quote
I have to unplug the usb host cable, connect the host cable to the device, and plug the whole thing in again to make it work.
Also it seems the usb devices are sometimes not recognized (e.g. the small light on the stick isn't lit up). Would this need to be fixed?
I have the same issues, but it isn't a big deal. Just unplug the cable, connect the required device to the cable, and plug the device+cable combination back in.  

Quote
I don't have the skills to compile the system itself, but i really look forward to a patched snapshot so that i can test and port stuff faster.
Why wait for the snapshot? If you can answer two yes/no questions and press ENTER twice, then you have the skills needed to upgrade/build your system from source! See the following post: OpenBSD Update Script
« Last Edit: August 26, 2007, 09:15:09 am by mathemajikian »

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Openbsd 4.2 Beta Issues
« Reply #25 on: August 26, 2007, 09:47:17 am »
Prolly I'll do that after finishing my porting (my 3200 is now very busy day and night) and knowing there's a working patch.
And roughly how long will it take to build the whole system (including the X stuff)?

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

mathemajikian

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
    • http://exit3.i-55.com/~xikon/openbsdzaurus.html
Openbsd 4.2 Beta Issues
« Reply #26 on: August 26, 2007, 10:00:12 am »
Quote
Prolly I'll do that after finishing my porting (my 3200 is now very busy day and night) and knowing there's a working patch.
And roughly how long will it take to build the whole system (including the X stuff)?
Building X is optional. (Thats one of the yes/no questions)  It will take about three days to build the entire system from source without X. I'd add an additional day if you elect to build X.

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Openbsd 4.2 Beta Issues
« Reply #27 on: August 26, 2007, 04:08:26 pm »
Quote
Quote
Prolly I'll do that after finishing my porting (my 3200 is now very busy day and night) and knowing there's a working patch.
And roughly how long will it take to build the whole system (including the X stuff)?
Building X is optional. (Thats one of the yes/no questions)  It will take about three days to build the entire system from source without X. I'd add an additional day if you elect to build X.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=166713\"][{POST_SNAPBACK}][/a][/div]
This is a bit off topic, but I wasn't quite sure where to put it.
I've been following the openbsd threads casually-- it looks like hardware support is fair, and software is very good. (a working current firefox is a big plus for me)
Re software, do you compile using hard or soft floating point emulation? (soft being noticeably faster, and all)
Re hardware, is there a pinned thread somplace where the stuff that works, the stuff that is being worked on, and the stuff that hsn't been looked at yet is listed?
re the two--how is media playback and battery life?
I'm sure most of this is elsewhere...  but it would be nice to have a snapshot of how 4.2 is coming along from a user persective
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Openbsd 4.2 Beta Issues
« Reply #28 on: August 26, 2007, 06:58:08 pm »
adf, I think you can find some of the answers here: https://www.oesf.org/forums/index.php?showtopic=17871

One thing may be different now: the system and the packages are now generally built with optimization settings.

Rereading Andy's text makes me think of the progress of work on bluetooth and SD support: Is GPL the main reason not to implement Bluez and the SD solution in other "roms"? But I see lardman's reply in the same thread. If he's right, then why not? Or if the implementation is problematic, then how?
« Last Edit: August 26, 2007, 06:58:31 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Openbsd 4.2 Beta Issues
« Reply #29 on: August 26, 2007, 09:02:39 pm »
Just out of curiosity: the latest snapshots feel snappier than 4.1. Is the whole systems built with optimization or is it just my illusion?  

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]