| |
David Chieu's Weblog
David Chieu's Weblog
Friday June 24, 2005 |
|
Sun has this nifty program where an engineer can live and work at
a remote site for a short amount of time; commonly refer to as a
rotation program. By having engineers live and work locally at that
remote branch, Sun can foster better communication and faster
transfer of specific technology. As with any big companies that are
facing global competition, we are doing our share of “outsourcing”
or better known as “off shoring.” Our Solaris x86 group
has hired lots of capable and talent engineers at Beijing, China.
I’ve been approved by my manager for such a rotation and
decided to blog my adventures here Beijing. Let me give you a bit of
my background so that you will understand my perspective as I view
today’s Beijing and its people. I was born in Taiwan and came
to live at Los Angeles at a tender age of 13. I consider myself as
part of the L.A. melting pot as such I’ve lived at L.A. for
more than a quarter of a century. Back at Taiwan, I completed my
elementary school there. I can speak fluent Mandarin with limited
read/write ability in Chinese. I’ve never set foot on mainland
China until now. So, what I will bring you is an interpreted Beijing
from the eyes of a native Californian who also can speak and talk in
Mandarin but clueless of day to day living of Beijing. Just to warn
you, I won’t be talking about fancy trips to the Great Wall or
some delicious food that you can’t get in the States, but I
might intrigue you some down-to-earth observations that is not so
common in States.
I landed at Beijing June 23rd 8:30 in the
evening. Right away you can feel the weather is hot and balmy. Not a
surprise as weather.com had already prepared me for what to expect. A
driver hired by my company picked me up at the airport. It took us an
hour to get to my apartment complex. Boy, it’s a complex
alright, some 20 or so buildings each 20 stories high. This is where
I’ve been warned by other rotationers who had gone before me
that there are two buildings that are named 15. I thought that was
kind of stupid, why they don’t just use 15A and 15B. Then after
I saw the sign myself, I realized this is China. Build 15 is followed
by a Chinese symbol of an equivalent of an western “A.”
Here is a quick lesson for those of you who are challenged in
Chinese. “Ja” is “A” in Chinese. I remember
those days in my elementary school. You don’t say you get an
“A” there as good student; you get a “Ja.”
Below are side-by-side pictures of the two building number 15 and
15a. Note, the left picture with “Ja” symbol is at the
lower right corner.
 
Another interesting tidbit, as for the button numbers in an
elevator at my Beijing apartment, there is no usual P1 or P2 for
parking level 1 or 2 instead, it is just “-1” and “-2.”

I suppose that makes sense for Chinese. Come to think of it,
sometimes it is kind of confusing in the States where they designate
L for Lobby and G for ground floor. I mean if you don’t speak
English, how would you know G is the ground floor but everyone knows
1 is the 1st floor and -1 is probably the garage, right?
Below is a view from my cubical, I heard that Chinese construction
is quick, so I will take another picture on the same spot before I
leave Beijing. I was told they are building an indoor flower nursery.

( Jun 24 2005, 10:29:27 PM PDT / Jun 24 2005, 10:22:37 PM PDT )
Permalink
Trackback: http://blogs.sun.com/chewmyblog/entry/doctype_html_public_w3c_dtd
|
|
|
Tuesday June 14, 2005 |
|
A bit more elucidation on acpi-user-options, please
acpi-user-options
Below is a handy dandy listing for a common question. What
"acpi-user-options" should I use when I ran into ACPI (Advanced
Configuration and Power Management) problems?
From the user input "acpi-user-options," it gets converted into a
kernel variable acpi_user_options. See acpica_process_user_options().
The options are defined at acpica.h
#define ACPI_OUSER_DFLT
0x0000
#define
ACPI_OUSER_ON
0x0001
#define
ACPI_OUSER_OFF
0x0002
#define ACPI_OUSER_MADT
0x0004
#define ACPI_OUSER_LEGACY 0x0008
Here are the meanings for each.
0x0 = Switches system into ACPI mode and uses ACPI tables for IRQ
routing (default)
0x1 = Forces use of ACPI interpreter even if system BIOS is too old or
blacklisted
0x2 = Disables use of ACPI interpreter
0x4 = Uses ACPI tables only at the PSM module to enumerate CPUs (no IRQ
routing)
0x8 = Leaved the system in “legacy” mode, identical to default
acpi_intp behavior
In general, you start with acpi-user-options=0x8
Technorati Tag: OpenSolaris
Technorati Tag: Solaris
( Jun 14 2005, 03:06:28 PM PDT / Jun 14 2005, 08:57:44 AM PDT )
Permalink
Trackback: http://blogs.sun.com/chewmyblog/entry/a_bit_more_elucidation_on
An Antidote to ACPI Table Replacement
table
As a contrarian, I figure I would give a real hardcore and a bit
obscured,
but down-to-earth part of Solaris as my OpenSolaris Opening blog.
I've been working on ACPI (Advanced
Configuration and Power Interface) of Solaris x86. In particular,
we've implemented ACPI table replacement for problem machines. What I
mean is, on those hard-to-boot machines, Solaris has capabilities to
read and use alternate ACPI tables from a file system rather than from
the BIOS. I can tell you this is a real godsend, if you just can't
re-flash your BIOS.
The source code can be found at AcpiOsTableOverride()
However, the process of actually using the alternate table is a bit
mysterious because, currently, Sun doesn't supply any alternate tables
yet. By default, the directory is empty at /boot/acpi/tables.
So, here is the recipe to create and boot with your own ACPI tables:
1) You need to use iasl
utility (I use iasl -g) to generate your own ascii based ASL
(ACPI source language)
2) Edit your ascii file to reflect your fix for the new table
3) Use iasl utility again to generate AML (AML machine language). This
file must be of the form signature_oemid_oemtableid.dat
4) Copy the dat file to /boot/acpi/tables.
5) Reboot your machine and check /var/adm/messages to see if your table
replacement is successful or not.
BTW, please refer to Jan
Setje-Eiler's blog for more general overview of boot.
Technorati Tag: OpenSolaris
Technorati Tag: Solaris
( Jun 14 2005, 02:52:38 PM PDT / Jun 14 2005, 08:41:10 AM PDT )
Permalink
Trackback: http://blogs.sun.com/chewmyblog/entry/an_antidote_to_acpi_table
|
|
|
Tuesday May 10, 2005 |
|
Hi, my name is David Chieu. I'm part of Solaris x86 team -- located at sunny Los Angeles, California.
( May 10 2005, 03:10:14 PM PDT / May 10 2005, 01:31:35 PM PDT )
Permalink
Trackback: http://blogs.sun.com/chewmyblog/entry/hi_my_name_is_david
|
|
|
|
| « October 2009 | | Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|
| | | | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | | | | | | | | | | Today |
Today's Page Hits: 14
|