Re: OpenBSD on Wyse C90LE

2010-02-04 Thread Predrag Punosevac
Disabling echi driver in UKC does the trick. OpenBSD is fully functional
on Wyse C90LE. 

I want to warn people about one thing. The Thin client in question 
comes with Chrome video card. It looks like Open Chrome driver doesn't
support the particular video chip-set. I was running X on VESA driver
which is obviously not desirable. I am not sure if there is bug in 
Open Chrome driver or just chip-set (I think it was 11 when I looked
at xorg.log).

I sent dmesg to dmesg AT openbsd and I sent one to misc but I think 
MARK's server bounced me as a spam since it was sent from dynamic IP 
without reverse DNS.

If anybody needs any information about this do not hesitate to send me a
private e-mail.

Predrag



Re: OpenBSD on Wyse C90LE

2010-02-03 Thread Predrag Punosevac
This is the brief preliminary report on Wyse C90LE. I downloaded 
yesterday the latest snapshot of OpenBSD 4.7 beta for i386.

I installed on 2.0 USB of 2GB.

I tested the live USB by booting DeLL optiplex 960 (Intel 2 core).
Everything works perfect including X server. 

Conclusion is that USB media is OK.


I broke into the BIOS of Wyse C90LE by holding DEL key. BIOS requires 
password. The default password is Fireport (found on the web-site of 
manufacturer). I changed the boot order so that PXE boot is the first 
and USB 2.0 is the second. I didn't see any other options I could play
with in BIOS (like legacy USB or similar).

Boot process goes fine and then stops. It is looking for the root device
I manually typed wd0a and wd0b for swap  (original partition was done
by accepting defaults from the installer just for test).
The boot process is aborted.

ddb{0}trace
Debugger(50,d08cf780,d0a32f48,0,0) at Debugger +0x4
panic(d07543e8,1,,0,d0863178) at panic +0x55
dk_mountroot(2,2,2fecc,d0a32f9c,d04ca223) at dk_mountroot +0x1a7
main(0,0,0,0,0) at main +0x4eb

ddb{0}ps 
PID PPID PGRP UID   SFLAGSWAIT  Command
11  00 03pftm pfpurge 
10  0 0 0   3 usbevt   usb3 
9   0 0 0   3 usbevt   usb2
8   0 0 0   3 usbevt   usb1
7   0 0 0   3 usbtsk   usbtask
6   0 0 0   3 usbevt   usb0
5   0 0 0   3 acpi_idle acpi0 
4   0 0 0   3  bored   sgswq 
3   0 0 0   3 -idle 0 
2   0 0 0   3 kmalloc  kmthread 
1   0 0 0   3 initexec  swapper
0   -10 0   2 - swapper



I would appreciate any comment or suggestion.

Cheers,
Predrag



Re: OpenBSD on Wyse C90LE

2010-02-03 Thread Predrag Punosevac
I booted one more time specifying bsd.sp kernel explicitly. Right 
before I am asked to explicitly enter the root device. I see the
following repeating four times

ehci_sync_hs:tsleep()=35

Predrag



Re: OpenBSD on Wyse C90LE

2010-02-03 Thread Jacob Meuser
On Wed, Feb 03, 2010 at 01:06:15PM -0500, Predrag Punosevac wrote:
 This is the brief preliminary report on Wyse C90LE. I downloaded 
 yesterday the latest snapshot of OpenBSD 4.7 beta for i386.
 
 I installed on 2.0 USB of 2GB.
 
 I tested the live USB by booting DeLL optiplex 960 (Intel 2 core).
 Everything works perfect including X server. 
 
 Conclusion is that USB media is OK.

are you sure it really booted off the USB?

 
 I broke into the BIOS of Wyse C90LE by holding DEL key. BIOS requires 
 password. The default password is Fireport (found on the web-site of 
 manufacturer). I changed the boot order so that PXE boot is the first 
 and USB 2.0 is the second. I didn't see any other options I could play
 with in BIOS (like legacy USB or similar).
 
 Boot process goes fine and then stops. It is looking for the root device
 I manually typed wd0a and wd0b for swap  (original partition was done
 by accepting defaults from the installer just for test).
 The boot process is aborted.
 
 ddb{0}trace
 Debugger(50,d08cf780,d0a32f48,0,0) at Debugger +0x4
 panic(d07543e8,1,,0,d0863178) at panic +0x55
 dk_mountroot(2,2,2fecc,d0a32f9c,d04ca223) at dk_mountroot +0x1a7
 main(0,0,0,0,0) at main +0x4eb

I've never seen a USB disk come up as wd*, always sd*.

so your crash makes sense, since you told it to boot off something that
doesn't yet exist.

sounds like your USB image is not right.  it should be booting off
sd0.  when the kernel boots, do you see sd0 in the dmesg?

you got trace output, so where's the dmesg?

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: OpenBSD on Wyse C90LE

2010-02-03 Thread Predrag Punosevac
On Wed, Feb 04, 2010 at 1:01:38AM Jacob Meuser wrote:
On Wed, Feb 03, 2010 at 01:06:15PM -0500, Predrag Punosevac wrote:
 This is the brief preliminary report on Wyse C90LE. I downloaded 
 yesterday the latest snapshot of OpenBSD 4.7 beta for i386.
 
 I installed on 2.0 USB of 2GB.
 I tested the live USB by booting DeLL optiplex 960 (Intel 2 core).
 Everything works perfect including X server. 
 
 Conclusion is that USB media is OK.

 are you sure it really booted off the USB?




I am 1000% sure I booted from USB. The Thin Client comes pre-installed
with WindowsXP embedded.




 
 I broke into the BIOS of Wyse C90LE by holding DEL key. BIOS requires 
 password. The default password is Fireport (found on the web-site of 
 manufacturer). I changed the boot order so that PXE boot is the first 
 and USB 2.0 is the second. I didn't see any other options I could play
 with in BIOS (like legacy USB or similar).
 
 Boot process goes fine and then stops. It is looking for the root device
 I manually typed wd0a and wd0b for swap  (original partition was done
 by accepting defaults from the installer just for test).
 The boot process is aborted.
 
 ddb{0}trace
 Debugger(50,d08cf780,d0a32f48,0,0) at Debugger +0x4
 panic(d07543e8,1,,0,d0863178) at panic +0x55
 dk_mountroot(2,2,2fecc,d0a32f9c,d04ca223) at dk_mountroot +0x1a7
 main(0,0,0,0,0) at main +0x4eb

I've never seen a USB disk come up as wd*, always sd*.




Me neither! I tried to put sd0a as a root directory. I think, I have 
very clear idea what is wrong. Look at my second message where 
I describe the boot process. Problems occur after four messages

ehci_sync_hs:tsleep()=35

ehci as you know is the driver for USB 2.0. I looked through archives
and I found that people have reported problems with sheety USB
controller on VIA mother boards. Somebody submitted the patch last year.
Obviously even the best software can not fixed crapy hardware. 
The OpenBSD aborts the boot because USB is not anymore seen by kernel.




so your crash makes sense, since you told it to boot off something that
doesn't yet exist.

Absolutely right. Kernel doesn't see USB drive from that point because
USB is not 2.0 as advertised but it is 1.1. Crapy hardware. Seems that 
uhci doesn't pick up from ehci during the boot process. 





 sounds like your USB image is not right.  it should be booting off
 sd0.  when the kernel boots, do you see sd0 in the dmesg?

 you got trace output, so where's the dmesg?

There is no dmesg. The boot process aborts. My hunch is that I would be
able to install OpenBSD on internal flash drive possibly even by booting
with USB. I booted bsd.rd from USB without problems but I didn't want 
to erase embedded image because these units are not paid. They were 
given to us for evaluation. That is way I wanted to use Live USB. 


Jake, thanks a lot for taking the time to think about my problem.

Predrag



Re: OpenBSD on Wyse C90LE

2010-02-03 Thread Jacob Meuser
On Wed, Feb 03, 2010 at 08:48:35PM -0500, Predrag Punosevac wrote:

 Absolutely right. Kernel doesn't see USB drive from that point because
 USB is not 2.0 as advertised but it is 1.1. Crapy hardware. Seems that 
 uhci doesn't pick up from ehci during the boot process. 

did you ty disabling echi in UKC?

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: OpenBSD on Wyse C90LE

2010-02-03 Thread Predrag Punosevac
Jacob Meuser wrote:
 Absolutely right. Kernel doesn't see USB drive from that point because
 USB is not 2.0 as advertised but it is 1.1. Crapy hardware. Seems that 
 uhci doesn't pick up from ehci during the boot process. 

 did you ty disabling echi in UKC?

No, I didn't try. I will try tomorrow morning when I have access to 
hardware again. I was slow to realize what was happening and by the 
time I realized I had to go for a meeting.


Cheers,
Predrag



Re: OpenBSD on Wyse C90LE

2010-01-27 Thread Paul de Weerd
On Thu, Jan 28, 2010 at 01:59:59AM -0500, Predrag Punosevac wrote:
| Dear All,
|
| I was wondering if anybody tried to install OpenBSD on Wyle C90LE.
|
| http://www.wyse.com/products/hardware/thinclients/C90LE/index.asp
|
| We are planning to equip 120 thin clients computer lab with those. I got
| today one for my office for evaluation purposes and I really liked the
| toy. It comes with Windows XPe but I almost can feel that it is crying
| to be reinstalled with OpenBSD. I looked and it does support PXE boot.
| I have not checked yet if it can boot via USB. Specifications can be
| found at
|
| http://www.wyse.com/products/hardware/thinclients/C90LE/index.asp

I've evaluated another model (R50L) at my place of work somewhere last
year. As our main question was 'can it drive 2x 30 monitors' and the
default Linux install was both a pain to use and configure and didn't
properly support 2x 30, I quickly installed OpenBSD (yes, from USB,
worked flawlessly), fired up X with the two monitors attached, and it
came up in all its 5120x1600 glory (this model had ATI graphics so was
no problem to get running).

So, I'm not sure if the C90LE will work for you, the moral of the
story is to just give it a shot. And if it doesn't, and this is
important to you, at least the R50L works great so you could consider
switching to that model.

Cheers,

Paul 'WEiRD' de Weerd

--
[++-]+++.+++[---].+++[+
+++-].++[-]+.--.[-]
 http://www.weirdnet.nl/