Re: Problem while chroot python and modules in apache

2008-01-02 Thread Michael Bibby

Hi, all.

Thanks Joerg, but it doesn't work yet.

I copied all openldap-client files to chrooted apache dir, but it
shown the same error.

Am i missing something?

Files i copied:

# pkg_info -L openldap-client | grep -v '/man/' | \
   grep -v '/share/' | \
   grep '^/usr/local/'

/usr/local/bin/ldapadd
/usr/local/bin/ldapcompare
/usr/local/bin/ldapdelete
/usr/local/bin/ldapmodify
/usr/local/bin/ldapmodrdn
/usr/local/bin/ldappasswd
/usr/local/bin/ldapsearch
/usr/local/bin/ldapwhoami
/usr/local/include/lber.h
/usr/local/include/lber_types.h
/usr/local/include/ldap.h
/usr/local/include/ldap_cdefs.h
/usr/local/include/ldap_features.h
/usr/local/include/ldap_schema.h
/usr/local/include/ldap_utf8.h
/usr/local/include/slapi-plugin.h
/usr/local/lib/liblber.a
/usr/local/lib/liblber.la
/usr/local/lib/libldap.a
/usr/local/lib/libldap.la
/usr/local/lib/libldap_r.a
/usr/local/lib/libldap_r.la
/usr/local/lib/liblber-2.3.so.9.1
/usr/local/lib/liblber.so.9.1
/usr/local/lib/libldap-2.3.so.9.1
/usr/local/lib/libldap.so.9.1
/usr/local/lib/libldap_r-2.3.so.9.1
/usr/local/lib/libldap_r.so.9.1

# ldd /usr/local/bin/ldapsearch | grep '/usr/' | \
   grep -v ':$' | \
   awk '{print $NF}'

/usr/local/bin/ldapsearch
/usr/local/lib/libsasl2.so.2.22
/usr/lib/libgssapi.so.5.0
/usr/lib/libkrb5.so.16.0
/usr/lib/libasn1.so.16.0
/usr/lib/libcom_err.so.16.0
/usr/lib/libssl.so.11.0
/usr/lib/libcrypto.so.13.0
/usr/lib/libc.so.41.0
/usr/libexec/ld.so

Joerg Zinke wrote:
 On Wed, 02 Jan 2008 10:59:27 +0800
 Michael Bibby [EMAIL PROTECTED] wrote:
 Hi, all.

 I use OpenBSD 4.2 -release and the default chrooted apache.

 I copied all files python needed, and it works. but the modules
 py-ldap doesn't work.

 
 # tail -f /var/www/logs/error_log
 Traceback (most recent call last):
   File /cgi-bin/msm/domain_list, line 5, in ?
 import ldapoperation
   File /cgi-bin/msm/ldapoperation.py, line 4, in ?
 import ldap
   File /usr/local/lib/python2.4/site-packages/ldap/__init__.py,
 line 23, in ?
 from _ldap import *
 ImportError: Cannot load specified object
 [Wed Jan  2 19:05:44 2008] [error] [client 172.16.252.1] Premature
 end of script headers: /cgi-bin/msm/domain_list
 

 did you copied openldap libs/files too?
 afaik, py-ldap module is linked against them.

 regards,

 joerg



file error: http://www.openbsd.org/art/blow_col_only.jpg

2007-12-28 Thread Bibby
Hi, all.

There is a error msg while i access the URL:
http://www.openbsd.org/art/blow_col_only.jpg

The url can be found in:
http://www.openbsd.org/art2.html

-- 
Best Regards.

Michael Bibby(Huangbin Zhang)

- RedHat Enterprise Linux 5 Client
- OpenBSD 4.2 -release



OpenBSD 4.2 -release CDs arrived in Shenzhen, China.

2007-11-06 Thread Bibby
Hi, all.

OpenBSD 4.2 -release CDs arrived in Shenzhen, China. I will send them out to

all customers soon.

I'd like to say Thank you to all of the developers/contributors around the
world,
and who made this release possible.

Thanks to Wim@ and [EMAIL PROTECTED] ^_~
-- 
Best Regards.

Michael Bibby(Huangbin Zhang)

- RedHat Enterprise Linux 5 Client
- OpenBSD 4.2 -release



What's wrong with httpd-1.3.x and suexec?

2007-11-05 Thread Bibby
Hi, all.

I want to recompile httpd-1.3.x(shipped in base system) to support suexec,
i followed this unofficial doc:
http://www.openbsdsupport.org/ApacheSuexecChroot.html#recompilesuexec

It works fine in 4.1 -release, but in 4.2 -release, i can't find the log
file(with option
--suexec-logfile=/logs/suexec_log or
-suexec-logfile=/var/www/logs/suexec_log).

I got this error message:
---
failed to open log file
fopen: No such file or directory
[Wed Nov  7 00:32:12 2007] [error] [client 172.16.252.1] Premature end of
script headers: /cgi-bin/www.host.com/test.pl
---

and this is 'test.pl', it works fine without suexec in chroot env:
-

#!/usr/bin/perl
print Content-type: text/plain\n\n;
opendir(DIRHANDLE, /);
@filenames = readdir(DIRHANDLE);
foreach $file (@filenames) { print $file\n; }
closedir(DIRHANDLE);




Best Regards.

Michael Bibby(Huangbin Zhang)

- RedHat Enterprise Linux 5 Client
- OpenBSD 4.2 -release



Re: When will OpenBSD support UTF8?

2007-11-04 Thread Bibby
Hi, all.

With Jung's patch(http://sigsegv.s25.xrea.com/distfiles/citrus/OpenBSD/), i
can use Chinese
Simp locale(zh_CN.GB18030) successfully, and can use scim(+pinyin) type
Chinese now.

Big thanks to Jung and Kevin Lo.

And i also wrote a simple documentation(in Chinese) here:
http://www.openbsdonly.org/thread-234-1-1.html

-- 
Michael Bibby(Huangbin Zhang)
RedHat + OpenBSD



Re: When will OpenBSD support UTF8?

2007-11-01 Thread Bibby
 utf-8 isn't an OS-level thing. You need to do it in every app.

I think he talked about OpenBSD locale support in libc.
-- 
Michael Bibby
RedHat + OpenBSD



Where is 'cdrom42.fs'? 4.2 -release

2007-11-01 Thread Bibby
Hi, all.

Part of file: 4.2/i386/INSTALL.i386:
---

cdrom42.fsThe i386 boot and installation 2.88MB
floppy image that contains almost all OpenBSD
drivers; see below.
If i want to use 'mkisofs' to create a custom iso image(e.g, add some
binary packages), which file should i use for the '-b' option?

Thanks very much.

-- 
Bibby(Huangbin Zhang)
OpenBSD User in China Mainland: http://www.OpenBSDonly.org/



Re: Where is 'cdrom42.fs'? 4.2 -release

2007-11-01 Thread Bibby
Hi,

2007/11/2, Theo de Raadt [EMAIL PROTECTED]:


 install42.iso contains all those other files, right inside it..

 No need to download everything twice, see?


I know this change between 4.1 = 4.2, but it was wrote in the official
doc(INSTALL.i386).

Thanks for your response.
and thanks to Calomel -- 'cdrom41.fs' ^_~
-- 
Michael Bibby
RedHat + OpenBSD



Re: Max clients of OpenSSH

2007-10-16 Thread Bibby
Hi, Reed.

Can you send me a separated patch and tell me the usage? I want to test it.

Thanks very much.

--
Best regards.

Bibby

2007/10/17, Jeremy C. Reed [EMAIL PROTECTED]:

 I am now testing the following (which includes a little documentation for
 a new MaxClients):



Max clients of OpenSSH

2007-10-15 Thread Bibby
Hi, folks,

Where/How can i set the max client number of OpenSSH?
sshd_config(5) and sshd(8) do not contain any info about this.

I use OpenSSH 4.3p2(RHEL 5 Client).

Thanks very much.

--
Best Regards.



Re: Locale

2007-10-12 Thread Bibby
Hi, Toine.

May be you can contact Marc Espie(espie#openbsd.org), he said locale support
was in his todo list.

I need Chinese locale support too. ^_~
-- 
Michael Bibby, China.



Re: NEW: education/stardict

2007-05-13 Thread Bibby
It's really a good application. i like it.

Thanks ^_^



OpenBSD CD(4.1) T-Shirts arrivaled at China(Shenzhen).

2007-05-07 Thread Bibby
Hi all,

OpenBSD CD(4.1 -release) and T-Shirts arrivaled at China(Shenzhen) this
morning,
It looks really nice.

Thanks to all OpenBSD developers for the hard work, thanks to Wim for the
patience.

^_^

MB
2007.05.08

-- 
OpenBSD Store in China Mainland: http://shop34421310.taobao.com/



Have a OpenBSD store in Asia? Is it possible?

2007-03-18 Thread Bibby
hi all:

I use OpenBSD from 3.6, when every release is pre-ordered, i can't find a
easy way to
own a set.

I live in China, Is it possible to have a OpenBSD store in Asia?
China? Japan? Korean? or other coutries?

Thanks very much.



Bibby



[error on lenovo x60 ac4]apm: connect error

2006-12-11 Thread Michael Bibby

hi [EMAIL PROTECTED]

i installed openbsd -current on my lenovo x60 ac4, when it boot,
i got a message:

apm: connect error
---[snip]---
boot

i googled, and found this message:
http://www.sigmasoft.com/~openbsd/archives/html/openbsd-misc/2005-10/msg00846.html

hardware problem?
can it be resolved by kernel recompiled?

thanks all :)

Bibby



Re: openbsd cd resellers in asia?

2006-10-25 Thread Michael Bibby
TZ 2006Dj10TB25HU PGFZH} 16:20#,Jay Jesus Amorin [EMAIL PROTECTED]:
 hi,

 im from the Philippines and i would like to order a openbsd 4.0 cd, does
 anyone in here can help where in asia can i order the said openbsd stuff?

 the http://www.genesis.com.hk which openbsd.org said where i can
 purchase in asia seems not responding.  :(

 thanks


 --jay--

I want to own the cd sets to. I'm in China mainland. :(



Re: webbased authpf ?

2006-09-15 Thread Bibby Michael
  Frans Haarman wrote:

 Is there someting which does Authpf like things, only via a website
 ? So the users authenticates on the website, then the firewall rules
 are loaded!

 Another idea I have is to simply have users authenticate, then they
 can download a ssh key with which they can login.

Hello, this is what i plan to do several days ago:

* Provide a web interface and/or GUI application to allow clients connect to
the authpf server;

Write cgi scripts with Python for web interface and Python+wxPython for GUI
application.

About GUI application, it only provide a window and a system tray:
- The window:
   * Provide three input area:
username/password/authpf-server-address(IP/hostname);
   * Minimal/Close to system tray;
- System tray:
   * Show the connection status simply;
   * Popup a memu when right click on it, allow user to stop the connection;


This is just a plan.
I'm learning Python and not a professional programmer, i will start to code
about one month later(looking for work now),  and the code maybe dirty and
insecurity.

I know this is a simple program, maybe somebody can finish it in one day,
but maybe one month for me :)

This is my plan(Chinese):
http://www.bsdlife.org/wiki/index.php/Bibby%27s_Todo_List



Re: OpenBSD -current freeze hourly(half an hour)

2006-08-09 Thread Bibby Michael
I disabled wpi0 for test, about 12 hours, it did't freeze or hangup.
I guess maybe there is something wrong with firmware or wpi driver.

Just guess...

2006/8/8, Bibby Michael [EMAIL PROTECTED]:

 I will disable wpi0 for test later, thanks :)

 Do you have the right firmware loaded?

 I downloaded and installed the firmware which noticed in OpenBSD's
 manual: wpi:
 //http://damien.bergamini.free.fr/packages/openbsd/wpi- firmware-1.13.tgz

 $ man wpi
 --skip
 //

 The driver needs at least version 1.13 of the following firmware file,
 which is loaded when an interface is brought up:

   /etc/firmware/wpi-ucode

 This firmware file is not free because Intel refuses to grant
 distribu-
 tion rights without contractual obligations.  As a result, even though
 OpenBSD includes the driver, the firmware file cannot be included and
 users have to download this file on their own.  The official person to
 state your views to about this issue is [EMAIL PROTECTED]mailto:[EMAIL 
 PROTECTED]
 at
 (858) 391 1857.

 A prepackaged version of the firmware, designed to be used with
 pkg_add(1) 
 http://www.openbsd.org/cgi-bin/man.cgi?query=pkg_addsektion=1arch=i386apropos=0manpath=OpenBSD+Current,
 can be found at:

 /http://damien.bergamini.free.fr/packages/openbsd/wpi-
 firmware-1.13.tgz /

  skip -
 //
 //Tobias Ulmer wrote:

  On Mon, Aug 07, 2006 at 03:02:22PM +0800, Bibby Michael wrote:
 
  Kernel panic:
 
  I use OpenBSD 4.0-beta(snapshots).
 
  ---
  anic: pool_get(mclpl): free list modified; magic=a4153cb5; page
 0xd8038000;
  item addr 0xd8038800
  Stopped at  Debugger+0x4:   leave
 
  RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS
 PANIC!
  DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
 
  ddb{0} trace
  Debuuger (c,d1b0a25e,6c,d8038800,d074d5e0 at Debugger+0x4
  panic (d0653e40, d0655d09, a4153c65, d803800, d8038800) at panic+0x63
  pool_get(d074d5e0,0,e910fce0,d802ab36, d1963406) at pool_get+0x2f9
  ieee80211_wep_crypt(d1b0a030, d8033f00, 0,4) at
 ieee80211_wep_crypt+0x56)
  ieee80211_input(d1b0a030, d8033f00, d1ae9a00, 23, 0, d8028818) at
  ieee80211_input+0x3e4
  wpi_rx_intr(d1b0a000,d8028800, d1b0afa4, 16, 0) at wpi_rx_intr+0x3c9
  wpi_notif_intr(d1b0a000, d0459f0d, e910ff18, d0459db6) at
  wpi_notif_intr+0xee
  wpi_intr(d1b0a000) at wpi_intr+0xca
  Xintr_ioapic4() at Xintr_ioapic4+0x74
  --interrupt-
  apm_cpu_idle(0,0,0,0,0) at apm_cpu_idle+0x4a
 
  ddb{0} ps
  COMMAND only:
  wget, ksh, dhclient, update, inted, cron, getty, sendmail, syslogd,
 crypto,
  aiodoned, reaper, usbtask, usb[0-4], cardslot0, cleaner, wskbd_hotkey,
  pfpurge, pagedaemon, kmthread, init, swapper
 
  I only use wget in console, without any X-window application running.
  sendmail/cron/syslogd are system services which bringed up by rc.conf.
 
 
 
  Try to disable wpi(4) and see if it still crashes.
 
  Do you have the right firmware loaded? I don't own such a card but i
  remember people having problems with it because they used firmware for
  -stable and run a -current OS.
 
  Just guessing...
 
  Tobias
 
 
 
 






-- 
http://www.bsdlife.org #:NRCG5DLINUX/BSDIz;n#!



Re: OpenBSD -current freeze hourly(half an hour)

2006-08-07 Thread Bibby Michael

The board is Intel 945GM, CPU is Intel(r) Coreb Duo Processor.
I used bsd.mp first, but it freezed less than half an hour, so i try
'bsd' kernel, but it freezed again.


2006/8/7, Andreas Kahari [EMAIL PROTECTED]:

On 06/08/06, Bibby Michael [EMAIL PROTECTED] wrote:
 hello [EMAIL PROTECTED]:

 I installed OpenBSD snapshot version on my laptop, but it freeze hourly.
It
 made me crazy... :(
 I only run x-window + xterm + cvsup, and it freeze too. I also have
Windows
 XP installed on my laptop, but it runs well. I don't know why.

 It seems that the audio device drived correctly by 'azalia', but when i
play
 mp3 file in xmms/bmp, i can't heard any sound. Any suggestion?

 Thanks and best regards.

 - Version: OpenBSD snapshots.
 - Kernel: GENRIC.mp and GENRIC

Is the machine a multi-processor machine?  If not, try the GENERIC
non-mp kernel (or tryy it in any case and see what happens).

Andreas


--
Andreas Kahari
Somewhere in the general Cambridge area, UK




--
http://www.bsdlife.org ofd;,gLINUX/BSDgf4;o



Re: OpenBSD -current freeze hourly(half an hour)

2006-08-07 Thread Bibby Michael
Kernel panic:

I use OpenBSD 4.0-beta(snapshots).

---
anic: pool_get(mclpl): free list modified; magic=a4153cb5; page 0xd8038000;
item addr 0xd8038800
Stopped at  Debugger+0x4:   leave

RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!

ddb{0} trace
Debuuger (c,d1b0a25e,6c,d8038800,d074d5e0 at Debugger+0x4
panic (d0653e40, d0655d09, a4153c65, d803800, d8038800) at panic+0x63
pool_get(d074d5e0,0,e910fce0,d802ab36, d1963406) at pool_get+0x2f9
ieee80211_wep_crypt(d1b0a030, d8033f00, 0,4) at ieee80211_wep_crypt+0x56)
ieee80211_input(d1b0a030, d8033f00, d1ae9a00, 23, 0, d8028818) at
ieee80211_input+0x3e4
wpi_rx_intr(d1b0a000,d8028800, d1b0afa4, 16, 0) at wpi_rx_intr+0x3c9
wpi_notif_intr(d1b0a000, d0459f0d, e910ff18, d0459db6) at
wpi_notif_intr+0xee
wpi_intr(d1b0a000) at wpi_intr+0xca
Xintr_ioapic4() at Xintr_ioapic4+0x74
--interrupt-
apm_cpu_idle(0,0,0,0,0) at apm_cpu_idle+0x4a

ddb{0} ps
COMMAND only:
wget, ksh, dhclient, update, inted, cron, getty, sendmail, syslogd, crypto,
aiodoned, reaper, usbtask, usb[0-4], cardslot0, cleaner, wskbd_hotkey,
pfpurge, pagedaemon, kmthread, init, swapper

I only use wget in console, without any X-window application running.
sendmail/cron/syslogd are system services which bringed up by rc.conf.



Re: OpenBSD -current freeze hourly(half an hour)

2006-08-07 Thread Bibby Michael
I will disable wpi0 for test later, thanks :)

Do you have the right firmware loaded?

I downloaded and installed the firmware which noticed in OpenBSD's
manual: wpi:
//http://damien.bergamini.free.fr/packages/openbsd/wpi-firmware-1.13.tgz

$ man wpi
--skip
//

The driver needs at least version 1.13 of the following firmware file,
which is loaded when an interface is brought up:

  /etc/firmware/wpi-ucode

This firmware file is not free because Intel refuses to grant distribu-
tion rights without contractual obligations.  As a result, even though
OpenBSD includes the driver, the firmware file cannot be included and
users have to download this file on their own.  The official person to
state your views to about this issue is [EMAIL PROTECTED]mailto:
[EMAIL PROTECTED] at
(858) 391 1857.

A prepackaged version of the firmware, designed to be used with
pkg_add(1) 
http://www.openbsd.org/cgi-bin/man.cgi?query=pkg_addsektion=1arch=i386apropos=0manpath=OpenBSD+Current,
can be found at:

/http://damien.bergamini.free.fr/packages/openbsd/wpi-firmware-1.13.tgz/

 skip -
//
//Tobias Ulmer wrote:
 On Mon, Aug 07, 2006 at 03:02:22PM +0800, Bibby Michael wrote:

 Kernel panic:

 I use OpenBSD 4.0-beta(snapshots).

 ---
 anic: pool_get(mclpl): free list modified; magic=a4153cb5; page
0xd8038000;
 item addr 0xd8038800
 Stopped at  Debugger+0x4:   leave

 RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS
PANIC!
 DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!

 ddb{0} trace
 Debuuger (c,d1b0a25e,6c,d8038800,d074d5e0 at Debugger+0x4
 panic (d0653e40, d0655d09, a4153c65, d803800, d8038800) at panic+0x63
 pool_get(d074d5e0,0,e910fce0,d802ab36, d1963406) at pool_get+0x2f9
 ieee80211_wep_crypt(d1b0a030, d8033f00, 0,4) at ieee80211_wep_crypt+0x56)
 ieee80211_input(d1b0a030, d8033f00, d1ae9a00, 23, 0, d8028818) at
 ieee80211_input+0x3e4
 wpi_rx_intr(d1b0a000,d8028800, d1b0afa4, 16, 0) at wpi_rx_intr+0x3c9
 wpi_notif_intr(d1b0a000, d0459f0d, e910ff18, d0459db6) at
 wpi_notif_intr+0xee
 wpi_intr(d1b0a000) at wpi_intr+0xca
 Xintr_ioapic4() at Xintr_ioapic4+0x74
 --interrupt-
 apm_cpu_idle(0,0,0,0,0) at apm_cpu_idle+0x4a

 ddb{0} ps
 COMMAND only:
 wget, ksh, dhclient, update, inted, cron, getty, sendmail, syslogd,
crypto,
 aiodoned, reaper, usbtask, usb[0-4], cardslot0, cleaner, wskbd_hotkey,
 pfpurge, pagedaemon, kmthread, init, swapper

 I only use wget in console, without any X-window application running.
 sendmail/cron/syslogd are system services which bringed up by rc.conf.



 Try to disable wpi(4) and see if it still crashes.

 Do you have the right firmware loaded? I don't own such a card but i
 remember people having problems with it because they used firmware for
 -stable and run a -current OS.

 Just guessing...

 Tobias



OpenBSD -current freeze hourly(half an hour)

2006-08-06 Thread Bibby Michael
hello [EMAIL PROTECTED]:

I installed OpenBSD snapshot version on my laptop, but it freeze hourly. It
made me crazy... :(
I only run x-window + xterm + cvsup, and it freeze too. I also have Windows
XP installed on my laptop, but it runs well. I don't know why.

It seems that the audio device drived correctly by 'azalia', but when i play
mp3 file in xmms/bmp, i can't heard any sound. Any suggestion?

Thanks and best regards.

- Version: OpenBSD snapshots.
- Kernel: GENRIC.mp and GENRIC

dmesg:

OpenBSD 4.0-beta (GENERIC.MP) #868: Wed Aug  2 12:21:24 MDT 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU T2300 @
1.66GHz (GenuineIntel 686-class) 1.67 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2
real mem  = 1064726528 (1039772K)

avail mem = 963383296 (940804K)
using 4256 buffers containing 53338112 bytes (52088K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 01/13/06, BIOS32 rev. 0 @
0xf0010, SMBIOS rev. 2.4 @ 0xfb5f0 (51 entries)

bios0: American Megatrends Inc M31EI Series
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 3.0 @ 0xf/0x1

pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf5210/224 (12 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801GBM LPC rev 0x00)
pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc/0xe600! 0xce800/0x1000

mainbus0: Intel MP Specification (Version 1.4) (TEMPLATE ETEMPLATE   )
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166 MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Genuine Intel(R) CPU T2300 @
1.66GHz (GenuineIntel 686-class) 1.67 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2
mainbus0: bus 0 is type PCI

mainbus0: bus 1 is type PCI
mainbus0: bus 2 is type PCI
mainbus0: bus 3 is type PCI
mainbus0: bus 4 is type PCI
mainbus0: bus 5 is type ISA
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins

pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GM MCH rev 0x03
vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03: aperture
at 0xfe00, size 0x1000

wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02:
apic 2 int 16 (irq 11)

azalia0: host: High Definition Audio rev. 1.0
azalia0: codec: 0x04x/0x10ec (rev. 3.0), HDA version 1.0
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02
pci1 at ppb0 bus 1

skc0 at pci1 dev 0 function 0 Marvell Yukon 88E8053 rev
0x20pci_intr_map: bus 1 dev 0 func 0 pin 1; line 11
pci_intr_map: no MP mapping found
, Marvell Yukon-2 EC rev. A3 (0x2): irq 11
sk port A at skc0 not configured

ppb1 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02
pci2 at ppb1 bus 3
wpi0 at pci2 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02:
apic 2 int 18 (irq 10)channel 1 pwr1 0x0095 pwr2 0x0092

channel 2 pwr1 0x008f pwr2 0x0096
channel 3 pwr1 0x005f pwr2 0x005c
channel 4 pwr1 0x0059 pwr2 0x0062
channel 5 pwr1 0x pwr2 0x
channel 6 pwr1 0x007e pwr2 0x007e
channel 7 pwr1 0x007d pwr2 0x007e

channel 8 pwr1 0x007f pwr2 0x0080
channel 9 pwr1 0x0080 pwr2 0x0080
channel 10 pwr1 0x pwr2 0x
channel 11 pwr1 0xfffd pwr2 0xfffd
channel 12 pwr1 0x0001 pwr2 0x0001
channel 13 pwr1 0xfffd pwr2 0xfffd

channel 14 pwr1 0x0001 pwr2 0x0001
, address 00:13:02:0d:11:ba
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 2
int 23 (irq 5)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0

uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 2
int 19 (irq 3)
usb1 at uhci1: USB revision
1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 2
int 18 (irq 10)

usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 2
int 16 (irq 11)

usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 2
int 23 (irq 5)

usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ppb2 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2

pci3 at ppb2 bus 4
cbb0 at 

About PF: Is the RED algorithm the same as WRED?

2006-05-28 Thread Michael Bibby
hi [EMAIL PROTECTED]:

I just want to know, whether the RED algorithm is the same as WRED.

thanks :)



HELP: PXE boot with automatic fdisk hard disk and install package sets.

2006-05-17 Thread Michael Bibby
hi [EMAIL PROTECTED]:

I have several computers, and i plan to install OpenBSD 3.9 on them. I
know how to setup a PXE boot install server, but i need one more future:
automatic fdisk hard disk and install package sets. Like kickstart and
autoyast.

What should i do? and how to do?

Any LINK? or article?

thanks.



Re: HELP: PXE boot with automatic fdisk hard disk and install package sets.

2006-05-17 Thread Michael Bibby
:)

thanks Stuart.

I will try it tomorrow.

2006/5/17, Stuart Henderson [EMAIL PROTECTED]:

 On 2006/05/17 23:33, Michael Bibby wrote:
  I have several computers, and i plan to install OpenBSD 3.9 on them. I
  know how to setup a PXE boot install server, but i need one more future:
  automatic fdisk hard disk and install package sets. Like kickstart and
  autoyast.
 
  What should i do? and how to do?

 build your own bsd.rd with custom install scripts,
 look at release(8), src/distrib/miniroot



Re: Is Marvell 88E8053 supported?

2006-05-17 Thread Michael Bibby
On Wed, May 17, 2006 at 06:52:29PM +0400, Dmitrij D. Czarkoff wrote:

 On Tuesday 16 May 2006 22:51, you wrote:

  I had that chipset working under 3.8.  My current board has the
  Marvell 88E8001 and it works just fine having been upgraded from 3.8.
   If you can't post the full dmesg you should at least transcribe the
  error otherwise you're unlikely to get any help.


 Thank You for reply. I'll install OpenBSD once more and post the full
 dmesg here.


The 88E8053 is not currently supported.

YES.

Two weeks ago, I install OpenBSD 3.8 on my laptop, the NIC is Marvell
88E8053.
Although it can found the NIC(skc2), but can't drive it correctly.

I sent mail to the vendor, but they said they have no plan to develop driver
for
OBSD.

You can visit 'www.marvell.com', they provide drivers for
FREEBSD(Binary package) and LINUX(Open Source). Maybe
someone can port it to OpenBSD.

Best regards.

BIBBY.



Re: Does OpenBSD-3.9(-current) support Marvell Yukon 88E8053 Gigabit Ethernet Controller?

2006-04-18 Thread Michael Bibby
Michael Bibby wrote:
 hi all:

 I use Marvell Yukon 88E8053 Gigabit Ethernet Controller on my laptop, but
i
 can't find a driver for OpenBSD 3.8,
 So i want to know is there any other people use it and have a driver for
it?

 thanks.

 Bibby
 2006/04/17

 I've had that chipset working with OpenBSD 3.8 and 3.9 from 2006-04-06
 (I believe that was the date) on an Asus A8N-SLI Deluxe nForce4.  I
 don't have the dmesg for it.  I had to return that mobo for other
 reasons and forgot to archive the dmesg before I reformatted.  I do have
 the newer version of that board, though, and it has the Marvel Yukon
 88E1011.

 Here's the relevant portion from the dmesg:

 skc0 at pci1 dev 12 function 0 Marvell SKv2 rev 0x13: irq 3
 skc0: Marvell Yukon Lite (0x9)
 sk0 at skc0 port A: address 00:15:f2:1d:21:6a
 eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
 Nvidia CK804 LAN rev 0xa3 at pci0 dev 10 function 0 not configured

 Based on my experience with the 88E8053 chipset on the other motherboard
it seems reasonable to expect
 it would work with your laptop.

Are you sure?

I install FreeBSD 6.0 on my laptop, the marvell.com provides driver for
FreeBSD(6.0-release, and some other versions).
But FreeBSD 6.0 can't found my sound card which shipped on the mainboard.
What a pity. :(

Yesterday, I installed NetBSD 3.0 on it, it can't found both LAN NIC and
wireless, but havn't drivers for  them. :( :(

I havn't try OpenBSD, i checked the hardware supported list, but it is out
of the list. :( :( :(
so i asked at [EMAIL PROTECTED]

  Have you tried booting with 3.8
 shipping or one of the 3.9 snapshots and looked through the dmesg?

I will try in this week. Thanks for you answer. :)

 I posted more about this mobo at
 http://marc.theaimsgroup.com/?l=openbsd-miscm=114531096016196w=2

 --Aaron



Does OpenBSD-3.9(-current) support Marvell Yukon 88E8053 Gigabit Ethernet Controller?

2006-04-17 Thread Michael Bibby
hi all:

I use Marvell Yukon 88E8053 Gigabit Ethernet Controller on my laptop, but i
can't find a driver for OpenBSD 3.8,
So i want to know is there any other people use it and have a driver for it?

thanks.

Bibby
2006/04/17



In Asia, where can i buy the cd sets/posters/t-shirts?

2006-03-28 Thread Michael Bibby
http://www.openbsd.org/orders.html#asia
I sent a mail to [EMAIL PROTECTED], ask if they still sell OpenBSD's cd
set/porters/t-shirts, but
they havn't answered me(for about 20 days so far).

Any other store in Asia?
By the way, how to become an 'offical' web store to sell OpenBSD's cd
sets/porters/t-shirts?



Error while install turck-mmcache

2006-02-27 Thread Michael Bibby
hi [EMAIL PROTECTED]

I want to install mediawiki-1.5.6 on OpenBSD 3.8 release, and want to
use turck-mmcache to speed up the php, but i got an error message :

turck-mmcache version : 2.4.6
OS : OpenBSD 3.8 release

=== MESSAGES =
# export PHP_PREFIX=/usr/local/
# export AUTOCONF_VERSION=2.59
# export AUTOMAKE_VERSION=1.9
# phpize
Configuring for:
PHP Api Version: 20031224
Zend Module Api No:  20041030
Zend Extension Api No:   220040412
/usr/local/share/aclocal/libgcrypt.m4:23: warning: underquoted
definition of AM_PATH_LIBGCRYPT
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/local/share/aclocal/gpg-error.m4:7: warning: underquoted
definition of AM_PATH_GPG_ERROR
#

=== PKG LIST ==
# ls /var/db/pkg
autoconf-2.59  libxslt-1.1.12p1   php5-mysql-5.0.4
automake-1.9.6p0   memcached-1.1.12   php5-pear-5.0.4
bzip2-1.0.3metaauto-0.5   php5-xsl-5.0.4
curl-7.14.0mysql-client-4.0.24png-1.2.8
freetype-1.3.1p1   mysql-server-4.0.24p1  recode-3.6p2
gettext-0.10.40p3  p5-DBD-mysql-3.0002   
squid-2.5.STABLE12-transparent
jpeg-6bp2  p5-DBI-1.45p1  t1lib-5.0.0
libgcrypt-1.2.0p5-Net-Daemon-0.38 unzip-5.52
libgpg-error-0.7   p5-PlRPC-0.2018   
vim-6.3.85p0-no_x11
libiconv-1.9.2p1   php5-bz2-5.0.4 wget-1.10.2
libltdl-1.5.18 php5-core-5.0.4p0  zip-2.3p0
libxml-2.6.16p5php5-extensions-5.0.4



Which platform version can run on IBM OpenPower 710/720 ?

2006-02-17 Thread Michael Bibby
hello [EMAIL PROTECTED]:

Can anyone tell me which platform can run on IBM OpenPower 710 / 720 ?
macppc ?

thanks



Fwd: How can i send syslogd message to a OPENBSD server ?

2006-01-19 Thread Michael Bibby
thanks ,it works .
^_^

You will need to start syslog on the openbsd server with the -u option
 (see /etc/rc.conf and syslogd man pages) and also make sure you have
 pf.conf
 allowing port 514 udp from your linux host.



HELP : Can't input in GTK applications

2005-11-15 Thread Bibby
hi all misc@:

I use OpenBSD 3.8 release as my desktop system (LC_CTYPE=zh_CN.GB2312),
but i found i can't input any character in theapplications ,like GIMP-2.2.8/
GAIM-1.5.0 / XCHAT .
What's wrong with my system ?




best regards
Bibby