|
List Info
Thread: (Open-)Solaris on Soekris
|
|
| (Open-)Solaris on Soekris |

|
2007-11-25 16:12:27 |
Hi,
This weekend I finally received my Soekris 5501 system
board.
I was rather supprised how relatively easy it was to get it
to
run Solaris 10 u4.
The board I ordered has the following features: 500 Mhz AMD
Geode LX,
comBIOS, 512mb ram, 4x VIA Rhine III auto mdix nics, USB
2.0, mini-pci
and pci slot, sata/44-pin ata and CF slot.
To get the system running with Solaris 10u4 I performed the
following
preparing steps:
- flash the BIOS to at least rev 1.32i (to resolve some
known
boot/reboot issues)
- add a 2Gb CompactFlash to install Solaris 10u4 onto
- connect a USB CD/DVD with Solaris 10u4 CD/DVD
- setup tftp service to serve the following files from the
install CD/DVD
boot/grub/pxegrub
boot/multiboot
boot/x86.miniroot
- setup dhcp service for the first NIC and configure the
above pxegrub as the bootfile option
To start the actual installation; press ^P on the serial
console
of Soekris to enter the comBIOS and initiate a PXE boot on
the first
NIC by entering "boot f0" at the prompt. If the
DHCP/TFTP services
are setup and running correctly GRUB should show up.
On the GRUB prompt enter to bootstrap the installation ftom
the USB
connected CD/DVD drive:
grub> kernel /boot/multiboot kernel/unix -B
install_media=cdrom,console=ttya
...
grub> module /boot/x86.miniroot
...
grub> boot
The Solaris 10u4 installation shows up and a regular CD/DVD
installtion
was performed. It took quite sometime as the CF card I used,
turned out to
be very slow. Installation of the vr/vfe driver was needed
to enable the
VIA Rhine NICs, I just copied /kernel/drv/vr over from an
other system
via a USB stick. After installing the the vr driver
by add_drv -i '"pci1106,106"' vr all the NICs
showed up:
# dladm show-dev
vr0 link: unknown speed: 0Mb duplex:
unknown
vr1 link: unknown speed: 0Mb duplex:
unknown
vr2 link: unknown speed: 0Mb duplex:
unknown
vr3 link: unknown speed: 0Mb duplex:
unknown
At this time I thought "Well this went smooth, let's
try OpenSolaris
snv75a also". However installing svn75a turned out to
be a bit more
complicated:
- setup tftp service to serve the following files from the
install CD/DVD
boot/grub/pxegrub
boot/platform/i86pc/kernel/unix
boot/x86.miniroot
At the GRUB prompt;
grub> kernel /boot/platform/kernel/unix -B
install_media=cdrom,console=ttya
...
grub> module /boot/x86.miniroot
...
grub> boot
This seemed to work but the system ended up with a
repeatily
terminating init process:
init(1M) exited on fatal signal 9: restarting automatically
This turned out to be known problem (CR 6332924) as the AMD
Geode LX
does not the SSE capability which is required by libc.so.1
# isainfo -v
32-bit i386 applications
ahf amd_3dnowx amd_3dnow amd_mmx mmx cmov sep cx8
tsc fpu
# file /lib/libc.so.1
/lib/libc.so.1: ELF 32-bit LSB dynamic lib 80386 Version 1
[SSE CX8 FPU], dynamically linked, not stripped, no
debugging information available
As known workaround for CR 6332924 I used a patched
libc.so.1 in
x86.miniroot by removing the SSE requirement
(elfedit -e 'cap:hw1 -and -cmp sse' libc.so.1)
Upon the first boot during the installation of snv75a an
other PXE
boot was needed to also fix the installed libc.so.1. After
completing
the normal installation and adding the vr driver the system
now seems
to be running fine only using a very few Watts without any
moving parts
or heatsink.
Regards,
William Wanders.
_______________________________________________
appliances-discuss mailing list
appliances-discuss opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/appl
iances-discuss
|
|
| Re: (Open-)Solaris on Soekris |

|
2007-11-29 15:09:03 |
On Wed, Nov 28, 2007 at 09:51:03PM -0800, Darren Reed
wrote:
> William Wanders wrote:
>
> >Hi,
> >
> >This weekend I finally received my Soekris 5501
system board.
> >I was rather supprised how relatively easy it was
to get it to
> >run Solaris 10 u4.
> >
> >The board I ordered has the following features: 500
Mhz AMD Geode LX,
> >comBIOS, 512mb ram, 4x VIA Rhine III auto mdix
nics, USB 2.0, mini-pci
> >and pci slot, sata/44-pin ata and CF slot.
> >
> >...
> >Upon the first boot during the installation of
snv75a an other PXE
> >boot was needed to also fix the installed
libc.so.1. After completing
> >the normal installation and adding the vr driver
the system now seems
> >to be running fine only using a very few Watts
without any moving parts
> >or heatsink.
> >
> >
>
> That's really great to hear, William.
>
> How much free space did you end up with on the 2GB
flash?
There was plenty to work with about
512mb.
> And are you prepared to try fit it on a smaller flash
disk?
I've replaced the 2G flash with a somewhat faster 512mb
flash;
still quite slow though. In order for the system to fit
this
smaller flash I trimmed down the systems use of flash by
removing
swap, x86.miniroot-safe and dropping unneeded drivers, xVM
and
amd64 support. The core system now takes up about 256mb
including
a 16mb root_archive which leaves quite some space to work
with.
William.
_______________________________________________
appliances-discuss mailing list
appliances-discuss opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/appl
iances-discuss
|
|
| Re: (Open-)Solaris on Soekris |
  United States |
2007-11-29 15:23:02 |
William Wanders wrote:
>On Wed, Nov 28, 2007 at 09:51:03PM -0800, Darren Reed
wrote:
>
>
>>William Wanders wrote:
>>
>>
>>
>>>Hi,
>>>
>>>This weekend I finally received my Soekris 5501
system board.
>>>I was rather supprised how relatively easy it
was to get it to
>>>run Solaris 10 u4.
>>>
>>>The board I ordered has the following features:
500 Mhz AMD Geode LX,
>>>comBIOS, 512mb ram, 4x VIA Rhine III auto mdix
nics, USB 2.0, mini-pci
>>>and pci slot, sata/44-pin ata and CF slot.
>>>
>>>...
>>>Upon the first boot during the installation of
snv75a an other PXE
>>>boot was needed to also fix the installed
libc.so.1. After completing
>>>the normal installation and adding the vr driver
the system now seems
>>>to be running fine only using a very few Watts
without any moving parts
>>>or heatsink.
>>>
>>>
>>>
>>>
>>That's really great to hear, William.
>>
>>How much free space did you end up with on the 2GB
flash?
>>
>>
>There was plenty to work with about
512mb.
>
>
>
>>And are you prepared to try fit it on a smaller
flash disk?
>>
>>
>I've replaced the 2G flash with a somewhat faster 512mb
flash;
>still quite slow though. In order for the system to fit
this
>smaller flash I trimmed down the systems use of flash by
removing
>swap, x86.miniroot-safe and dropping unneeded drivers,
xVM and
>amd64 support. The core system now takes up about 256mb
including
>a 16mb root_archive which leaves quite some space to
work with.
>
>
Now you're cooking!
Have you managed to develop any scripts, template files,
etc, so that you can apply the "trimming" and
"building"
process to any version of OpenSolaris?
Darren
_______________________________________________
appliances-discuss mailing list
appliances-discuss opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/appl
iances-discuss
|
|
| Re: (Open-)Solaris on Soekris |

|
2007-12-03 13:20:27 |
On Thu, Nov 29, 2007 at 01:23:02PM -0800, Darren Reed
wrote:
> William Wanders wrote:
>
> >On Wed, Nov 28, 2007 at 09:51:03PM -0800, Darren
Reed wrote:
> >
> >
> >>William Wanders wrote:
> >>
> >>
> >>
> >>>Hi,
> >>>
> >>>This weekend I finally received my Soekris
5501 system board.
> >>>I was rather supprised how relatively easy
it was to get it to
> >>>run Solaris 10 u4.
> >>>
> >>>The board I ordered has the following
features: 500 Mhz AMD Geode LX,
> >>>comBIOS, 512mb ram, 4x VIA Rhine III auto
mdix nics, USB 2.0, mini-pci
> >>>and pci slot, sata/44-pin ata and CF slot.
> >>>
> >>>...
> >>>Upon the first boot during the installation
of snv75a an other PXE
> >>>boot was needed to also fix the installed
libc.so.1. After completing
> >>>the normal installation and adding the vr
driver the system now seems
> >>>to be running fine only using a very few
Watts without any moving parts
> >>>or heatsink.
> >>>
> >>>
> >>>
> >>>
> >>That's really great to hear, William.
> >>
> >>How much free space did you end up with on the
2GB flash?
> >>
> >>
> >There was plenty to work with about
512mb.
> >
> >
> >
> >>And are you prepared to try fit it on a smaller
flash disk?
> >>
> >>
> >I've replaced the 2G flash with a somewhat faster
512mb flash;
> >still quite slow though. In order for the system to
fit this
> >smaller flash I trimmed down the systems use of
flash by removing
> >swap, x86.miniroot-safe and dropping unneeded
drivers, xVM and
> >amd64 support. The core system now takes up about
256mb including
> >a 16mb root_archive which leaves quite some space
to work with.
> >
> >
>
> Now you're cooking!
>
> Have you managed to develop any scripts, template
files,
> etc, so that you can apply the "trimming" and
"building"
> process to any version of OpenSolaris?
The only script I created so far enables me to easily edit
and resize
a miniroot image. My goal is to get a small enough miniroot
together to
bootstrap a Soekris 4826 (Geode SC1100 267Mhz, 128mb ram) in
order to
flash an image onto the onboard flash (64mb). Although I can
PXE boot
this system with the stripped down miniroot, the remaining
free memory
is very small. The DP83816A (sfe) NIC is not recognized at
boot time
which makes it rather hard to get any data to it :(.
William.
_______________________________________________
appliances-discuss mailing list
appliances-discuss opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/appl
iances-discuss
|
|
| Re: (Open-)Solaris on Soekris |
  United States |
2007-12-03 17:43:08 |
William Wanders wrote:
> The only script I created so far enables me to easily
edit and resize
> a miniroot image. My goal is to get a small enough
miniroot together to
> bootstrap a Soekris 4826 (Geode SC1100 267Mhz, 128mb
ram) in order to
> flash an image onto the onboard flash (64mb). Although
I can PXE boot
> this system with the stripped down miniroot, the
remaining free memory
> is very small. The DP83816A (sfe) NIC is not recognized
at boot time
> which makes it rather hard to get any data to it :(.
Given that we don't currently bundle the sfe driver, there
may be
some extra hoops to jump through here. To do this for
Soekris,
I imagine that you're building a custom miniroot with the
sfe
driver in it?
What have you tried (for getting the sfe recognised at boom
time)
that hasn't worked?
Darren
_______________________________________________
appliances-discuss mailing list
appliances-discuss opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/appl
iances-discuss
|
|
| Re: (Open-)Solaris on Soekris |

|
2007-12-04 14:16:26 |
On Mon, Dec 03, 2007 at 03:43:08PM -0800, Darren Reed
wrote:
> William Wanders wrote:
> >The only script I created so far enables me to
easily edit and resize
> >a miniroot image. My goal is to get a small enough
miniroot together to
> >bootstrap a Soekris 4826 (Geode SC1100 267Mhz,
128mb ram) in order to
> >flash an image onto the onboard flash (64mb).
Although I can PXE boot
> >this system with the stripped down miniroot, the
remaining free memory
> >is very small. The DP83816A (sfe) NIC is not
recognized at boot time
> >which makes it rather hard to get any data to it
:(.
>
> Given that we don't currently bundle the sfe driver,
there may be
> some extra hoops to jump through here. To do this for
Soekris,
> I imagine that you're building a custom miniroot with
the sfe
> driver in it?
That is correct. I added the sfe driver to the miniroot's
/kernel/drv
directory and changed driver_aliases, name_to_major,
minor_perm by hand
> What have you tried (for getting the sfe recognised at
boom time)
> that hasn't worked?
Based on the prtconf output:
i86pc
scsi_vhci, instance #0
ramdisk, instance #0
isa, instance #0
asy, instance #0
asy (driver not attached)
i8042, instance #0
mouse, instance #0
keyboard, instance #0
pci, instance #0
pci1078,1 (driver not attached)
pci100b,20 (driver not attached)
pci185f,1012 (driver not attached)
pci185f,1012 (driver not attached)
pci100b,500 (driver not attached)
pci100b,501 (driver not attached)
pci-ide, instance #0
ide, instance #0
cmdk, instance #0
ide (driver not attached)
pci100b,505 (driver not attached)
pcie11,a0f8, instance #0
pseudo, instance #0
options, instance #0
used-resources (driver not attached)
cpus, instance #0
cpu (driver not attached)
I changed driver_aliases, name_to_major and minor_perm to
contain
sfe entries:
miniroot:/etc# grep sfe driver_aliases name_to_major
minor_perm
driver_aliases:sfe "pci100b,20"
name_to_major:sfe 7
minor_perm:sfe 0600 root
sys
I'll give the atheros mini-pci (pci185f,1012) cards a try
with
the ath driver that comes with svn75.
It looks however this is not the most severe problem I
have.
As this system has so little free memory I thought commands
did
not function properly because of that. However the following
shell
script loop just sits there after the first date command:
while true
do
date
sleep 1
done
While the following script seems to run the date commands
fine.
while true
do
date
done
Regards,
William
_______________________________________________
appliances-discuss mailing list
appliances-discuss opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/appl
iances-discuss
|
|
| Re: (Open-)Solaris on Soekris |
  United States |
2007-12-04 19:46:55 |
William Wanders wrote:
> On Mon, Dec 03, 2007 at 03:43:08PM -0800, Darren Reed
wrote:
>
>> William Wanders wrote:
>>
>>> The only script I created so far enables me to
easily edit and resize
>>> a miniroot image. My goal is to get a small
enough miniroot together to
>>> bootstrap a Soekris 4826 (Geode SC1100 267Mhz,
128mb ram) in order to
>>> flash an image onto the onboard flash (64mb).
Although I can PXE boot
>>> this system with the stripped down miniroot,
the remaining free memory
>>> is very small. The DP83816A (sfe) NIC is not
recognized at boot time
>>> which makes it rather hard to get any data to
it :(.
>>>
>> Given that we don't currently bundle the sfe
driver, there may be
>> some extra hoops to jump through here. To do this
for Soekris,
>> I imagine that you're building a custom miniroot
with the sfe
>> driver in it?
>>
> That is correct. I added the sfe driver to the
miniroot's /kernel/drv
> directory and changed driver_aliases, name_to_major,
minor_perm by hand.
>
If you're doing that, you might also need to modify
/etc/path_to_inst
as well?
> ...
> It looks however this is not the most severe problem I
have.
> As this system has so little free memory I thought
commands did
> not function properly because of that. However the
following shell
> script loop just sits there after the first date
command:
>
> while true
> do
> date
> sleep 1
> done
>
> While the following script seems to run the date
commands fine.
>
> while true
> do
> date
> done
>
That's truely bizarre.
I'd suggest running truss but I suspect truss is missing
Darren
_______________________________________________
appliances-discuss mailing list
appliances-discuss opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/appl
iances-discuss
|
|
| Re: (Open-)Solaris on Soekris |

|
2007-12-05 15:54:12 |
On Wed, Dec 05, 2007 at 12:46:55PM +1100, Darren Reed
wrote:
> William Wanders wrote:
...
> >That is correct. I added the sfe driver to the
miniroot's /kernel/drv
> >directory and changed driver_aliases,
name_to_major, minor_perm by hand.
> >
>
> If you're doing that, you might also need to modify
/etc/path_to_inst
> as well?
Thanks for the tip, I'll give it a try.
> >...
> >It looks however this is not the most severe
problem I have.
> >As this system has so little free memory I thought
commands did
> >not function properly because of that. However the
following shell
> >script loop just sits there after the first date
command:
> >
> > while true
> > do
> > date
> > sleep 1
> > done
> >
> >While the following script seems to run the date
commands fine.
> >
> > while true
> > do
> > date
> > done
> >
>
> That's truely bizarre.
> I'd suggest running truss but I suspect truss is
missing
You guessed right truss was one of things getting dropped
in down sizing the image. The Soekris net4526 makes use of
an
Geode SC1100 (NSC model 540) which supposedly has a broken
TSC. I will try disabeling this feature with
cpuid_feature_edx_exclude=0x10
on one of the next reboots.
Currently I am trying to put an image together based on my
builds of onnv-gate. For now only just by replacing all the
binaries
in the x86.miniroot image. After some crashes at least I'm
seeing
some familiar output :
module /platform/i86pc/kernel/unix: text at [0xfe800000,
0xfe8b7a8f] data at 0xfec00000
module /kernel/genunix: text at [0xfe8b7a90, 0xfea6208f]
data at 0xfec47200
SunOS Release 5.11 Version onnv-gate 32-bit
Copyright 1983-2007 Sun Microsystems, Inc. All rights
reserved.
Use is subject to license terms.
features: 10004c6<cpuid,cx8,mmx,cmov,msr,tsc>
mem = 130684K (0x7f9f000)
Using default device instance data
root nexus = i86pc
pseudo0 at root
pseudo0 is /pseudo
scsi_vhci0 at root
scsi_vhci0 is /scsi_vhci
isa0 at root
pseudo-device: ppm0
ppm0 is /pseudo/ppm 0
ramdisk0 at root
ramdisk0 is /ramdisk
William.
_______________________________________________
appliances-discuss mailing list
appliances-discuss opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/appl
iances-discuss
|
|
| Re: (Open-)Solaris on Soekris |

|
2007-12-09 09:05:16 |
On Wed, Dec 05, 2007 at 10:54:12PM +0100, William Wanders
wrote:
> On Wed, Dec 05, 2007 at 12:46:55PM +1100, Darren Reed
wrote:
> > William Wanders wrote:
> ...
> > >That is correct. I added the sfe driver to the
miniroot's /kernel/drv
> > >directory and changed driver_aliases,
name_to_major, minor_perm by hand.
> > >
> >
> > If you're doing that, you might also need to
modify /etc/path_to_inst
> > as well?
> Thanks for the tip, I'll give it a try.
I have tried filling the path_to_inst fully by hand without
much success.
However I finally got it working after working around the
mentioned TSC
problem:
> > >...
> > >It looks however this is not the most severe
problem I have.
> > >As this system has so little free memory I
thought commands did
> > >not function properly because of that. However
the following shell
> > >script loop just sits there after the first
date command:
> > >
> > > while true
> > > do
> > > date
> > > sleep 1
> > > done
> > >
> > >While the following script seems to run the
date commands fine.
> > >
> > > while true
> > > do
> > > date
> > > done
> > >
> >
> > That's truely bizarre.
> > I'd suggest running truss but I suspect truss is
missing
> You guessed right truss was one of things getting
dropped
> in down sizing the image. The Soekris net4526 makes use
of an
> Geode SC1100 (NSC model 540) which supposedly has a
broken
> TSC. I will try disabeling this feature with
cpuid_feature_edx_exclude=0x10
> on one of the next reboots.
Although I could see the TSC feature got disabled this
approach did not
get me very far. The system hangs just after initializing
the pci0 root.
After reading some more info about the Geode SC1100 it looks
like the
"broken" TSC is not really that broken. When the
Geode SC1100 is in
the halted state the processor powersaving features prevent
the
TSC from being incremented at a reasonable rate. Which makes
it not
very usable as a hires timer. Disabling the use of hlt to
idle the cpu,
fixed nearly all problems (added "set
idle_cpu_use_hlt=0" to /etc/system).
My current miniroot for the Soekris net48xx boots and run
from network
only. It is now based on onnv-gate (07 dec 2007) with the
sfe driver and
can access the network without problems. Because of large
ramdisk it
not very usable yet. It now time to work on downsizing it in
order to be
able to format the onboard flash and load a small system
onto it.
William Wanders.
_______________________________________________
appliances-discuss mailing list
appliances-discuss opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/appl
iances-discuss
|
|
| Re: (Open-)Solaris on Soekris |
  United States |
2007-12-10 01:36:29 |
William Wanders wrote:
> On Wed, Dec 05, 2007 at 10:54:12PM +0100, William
Wanders wrote:
>
>> On Wed, Dec 05, 2007 at 12:46:55PM +1100, Darren
Reed wrote:
>>
>>> William Wanders wrote:
>>>
>>>> ...
>>>> It looks however this is not the most
severe problem I have.
>>>> As this system has so little free memory I
thought commands did
>>>> not function properly because of that.
However the following shell
>>>> script loop just sits there after the first
date command:
>>>>
>>>> while true
>>>> do
>>>> date
>>>> sleep 1
>>>> done
>>>>
>>>> While the following script seems to run the
date commands fine.
>>>>
>>>> while true
>>>> do
>>>> date
>>>> done
>>>>
>>>>
>>> That's truely bizarre.
>>> I'd suggest running truss but I suspect truss
is missing
>>>
>> You guessed right truss was one of things getting
dropped
>> in down sizing the image. The Soekris net4526 makes
use of an
>> Geode SC1100 (NSC model 540) which supposedly has a
broken
>> TSC. I will try disabeling this feature with
cpuid_feature_edx_exclude=0x10
>> on one of the next reboots.
>>
> Although I could see the TSC feature got disabled this
approach did not
> get me very far. The system hangs just after
initializing the pci0 root.
>
> After reading some more info about the Geode SC1100 it
looks like the
> "broken" TSC is not really that broken. When
the Geode SC1100 is in
> the halted state the processor powersaving features
prevent the
> TSC from being incremented at a reasonable rate. Which
makes it not
> very usable as a hires timer. Disabling the use of hlt
to idle the cpu,
> fixed nearly all problems (added "set
idle_cpu_use_hlt=0" to /etc/system).
>
Nice one.
Thanks for following that through!
Are you able to observe any side effects of this,
such as idling doesn't drop the power use as much
as it does on (say) a laptop?
Cheers,
Darren
_______________________________________________
appliances-discuss mailing list
appliances-discuss opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/appl
iances-discuss
|
|
[1-10]
|
|