hey~ a

2010-04-08 Thread Hou Ruoyu
Hi,One of my friends introduce a very good website to me:
http://www.chllss.com/. All their products are new and original. They
have many brands, such as Sony, HP, Apple, Nokia and so on. Now , they
are promoting their products for the coustomers. So their prices are
very competitive. By the way, they mainly sell iphones, laptops, tvs,
playstation and so on.If you need these products, it will be a good
choice.Regards! y



A big surprise

2010-03-19 Thread Hou Ruoyu
Hi,friends
   www.boelud.info is a good website which sells electronic goods in
China.my friend has got the notebook only in one week.And the company
will deal with the tariff. We can enjoy the happiness of shopping.



ACPI unprobed in Toshiba SS1010CT

2009-12-06 Thread Hou, Ruoyu

Hi misc.

Recenly I've been monkeying with an old Toshiba SS1010CT subnotebook. It 
is a discontinued Japanese limited edition of Libretto family, therefore 
probably remains a blackbox unheard of to most of the developers. Basic 
spec is: Intel mobile pentium-mmx 233MHz, 64MB RAM, NeoMagic 128ZV+ 
graphic card on PCI bus, Yamaha OPL-SA3 sound device, 2.1GB hard drive, 
cardbus slot, etc.


Installation and running with 4.6-release is fairly good. The only 
problem I found was in ACPI. ACPI subsystems was not probed during 
hardware detection. Toshiba claims that SS1010CT bios conforms APM 1.2 
and ACPI 1.0. The former was properly probed and set but not the latter. 
No difference between 4.6 release and latest snapshot.


I tried disabling apm in boot -c without effect. I was wondering whether 
acpi is functional as of this box with OpenBSD. For comparison I also 
tried FreeBSD and NetBSD. FreeBSD hangs in random stages during probing 
if ACPI is enabled; NetBSD successfully probed and set all acpi devices 
but obviously failed to respond bios PM events. From their probing, some 
sysresources are allocated by ACPI at mainbus. I don't know if there is 
any detrimental effect when acpi not properly configured.


I did acpidump (http://tinyurl.com/yzcb8oo) if anyone is interested. 
dmesg as follows:


OpenBSD 4.6 (GENERIC) #58: Thu Jul  9 21:24:42 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium/MMX (GenuineIntel 586-class) 234 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
real mem  = 66744320 (63MB)
avail mem = 54702080 (52MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/29/99, BIOS32 rev. 0 @ 0xff819
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 100%
apm0: AC on, battery charge high, estimated 1:28 hours
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf9140/96 (4 entries)
pcibios0: no compatible PCI ICU found: ICU vendor 0x product 0x
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #21 is the last bus
bios0: ROM list: 0xe4000/0xc000
cpu0 at mainbus0: (uniprocessor)
cpu0: F00F bug workaround installed
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Toshiba PCI rev 0xa2
vga1 at pci0 dev 4 function 0 vendor Neomagic, unknown product 0x0083 
rev 0x01

wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ohci0 at pci0 dev 11 function 0 NEC USB rev 0x02: irq 11, version 1.0
Toshiba Fast Infrared Type O rev 0x23 at pci0 dev 17 function 0 not 
configured

cbb0 at pci0 dev 19 function 0 Toshiba ToPIC95B CardBus rev 0x07: irq 11
cbb1 at pci0 dev 19 function 1 Toshiba ToPIC95B CardBus rev 0x07: irq 11
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 NEC OHCI root hub rev 1.00/1.00 addr 1
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 20 device 0 cacheline 0x0, lattimer 0x0
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 21 device 0 cacheline 0x0, lattimer 0x0
pcmcia1 at cardslot1
isa0 at mainbus0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
wdc0 at isa0 port 0x1f0/8 irq 14
wd0 at wdc0 channel 0 drive 0: TOSHIBA MK2110MAF
wd0: 16-sector PIO, LBA, 2067MB, 4233600 sectors
wd0(wdc0:0:0): using BIOS timings
sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v3.01
midi0 at sb0: SB MIDI UART
audio0 at sb0
opl0 at sb0: model OPL3
midi1 at opl0: SB Yamaha OPL3
wss0 at isa0 port 0x530/8 irq 10 drq 0: CS4231 or AD1845 (vers 4)
audio1 at wss0
pcppi0 at isa0 port 0x61
midi2 at pcppi0: PC speaker
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask ebcd netmask ebcd ttymask fbdf
ep1 at pcmcia0 function 0 3Com Corporation, 3C589D, TP/BNC LAN Card 
Ver. 2a port 0xa000/16: address 00:60:97:cd:e8:e7, utp/aui/bnc (default 
utp)

softraid0 at root
root on wd0a swap on wd0b dump on wd0b

Regards,
--
Hou, Ruoyu

Laboratory of Reproductive  Stem Cell Biology,
College of Life Science  Biotech.,
Shanghai Jiao Tong University,
Shanghai 200240, P.R.China.



Re: Unicode implementation in console?

2009-11-29 Thread Hou, Ruoyu
The problem I found with X is however irrelevant with those resource-hogging eye 
candies, but X itself. In most occasions I choose not to install X in order to 
free up say one or two hundred megabytes, just like some genuine server 
administrators whose intentions differ from mine. In real world I must admit 
that I still use some applications that can't live without X.


Some problems lie beyond X. For example, when I mount an msdos file system, CJK 
characters in file names would all be unrecognizable. This is not a bug, but 
obviously a pain in ass. In Linux and recent version of FreeBSD this could be 
solve by assigning proper charset to mount command and of course, access in 
xterm or alike. However, I didn't find similar solution in OpenBSD's 
mount_msdos/ntfs function (please correct me if I'm wrong). This would be a 
trouble when I need to do some cross-platform job.


Actually. in old msdos age, we use some CJK platform to display and input those 
ideographs. That's why I guess maybe a not-so=complicated patch work would do 
the same thing to my own need. A Google search hits zhcon, a CJK-capable virtual 
console developed for Linux and then ported to FreeBSD. It is kind of a loadable 
CJK platform with built-in input method. I will test if it can be ported to my 
OpenBSD machine.


Anyway, thanks for the reply.

Regards,

Janjaap van Velthooven wrote:

On Sun, Nov 29, 2009 at 01:57:44PM +0800, Hou, Ruoyu wrote:

Hi all,

I am wondering if I could make the console display CJK character sets.
 From what I've searched, wscons doesn't support Unicode at least in NetBSD, 
though I wonder if it is a similar case in OpenBSD.


As the console on most architectures supported by OpenBSD uses the textmode
of the hardware, only the capabilities of texmode ara available.

One of the restrictions of hardware textmode is the number of characters
you can display at one time on the console which is normally limited to 256
(or 512 on some hardware although I doubt OpenBSD supports this)

In short. No you can't.


The documents I process involve major eastern Asian characters, some of
which appear in one document. I know I could handle it well enough with
proper locale setting, fonts, and X. But I frankly don't like X and
prefer non-X applications, as most of my work done in CLI or TUI, exactly,
emacs-nox11. I guess this could not be circumvented by simple setting
Lang, LC_CTYPE or alike.


If you want to use those charater sets you need a bit-map addressable
screen and the apropriate fonts to display those glyphs.

X offers those features.
If you just start an 'xterm -u8' you get your program prompt from where
you can run your CLI/TUI applications just as you would on your
console but with the possibility of more glyphs at the same time.

There is nothing in X that requires you to run bloated graphical
applications or an over the top graphical environment.


Regards,
--
Hou, Ruoyu


These messages were made possible by X, twm, xterm, mutt and vi.
The environment to run these in has been kindly proveded by the
developers of OpenBSD.

Janjaap van Velthooven
--  
   / __/ /_/ __/ /_  __/ __/ /___  / 
  / /_  __/___/_/_  /___  / / __/ /___  / /  janj...@stack.nl
 /___/_/_/_/_/_/_/___/_/_/





--
Hou, Ruoyu

Laboratory of Reproductive  Stem Cell Biology,
College of Life Science  Biotech.,
Shanghai Jiao Tong University,
Shanghai 200240, P.R.China.



Unicode implementation in console?

2009-11-28 Thread Hou, Ruoyu

Hi all,

I am wondering if I could make the console display CJK character sets.
From what I've searched, wscons doesn't support Unicode at least in NetBSD, 
though I wonder if it is a similar case in OpenBSD.


The documents I process involve major eastern Asian characters, some of which 
appear in one document. I know I could handle it well enough with proper locale 
setting, fonts, and X. But I frankly don't like X and prefer non-X applications, 
as most of my work done in CLI or TUI, exactly, emacs-nox11. I guess this could 
not be circumvented by simple setting Lang, LC_CTYPE or alike.


Some one patched wscons to uwscons workaround in NetBSD to provide some wide 
character functions (unfortunately the link to which was obsolete). I am 
wondering if I could patch wscons to meet my own need in terms of i,e, proper 
displaying CJK filenames in various file systems (MSDOS,FFS,NTFS, etc.). I would 
appreciate any hints.


Regards,
--
Hou, Ruoyu

Laboratory of Reproductive  Stem Cell Biology,
College of Life Science  Biotech.,
Shanghai Jiao Tong University,
Shanghai 200240, P.R.China.



Re: Problem installing 4.6 on Toshiba Libretto 70CT

2009-11-17 Thread Hou, Ruoyu
All tests ended with 
kernel: integer divide fault trap, code=0
Stopped at  cpu_switchto+0x76:  popl%ebx

When softraid disabled 
ddbtrace
cpu_switchto(d073cfa0,a26000,d0a20f18,d0a20ef8,d0202f41) at cpu_switchto+0x76
(null)(d020241,0,d0a20f18,d037cab8,d0854018) at 0
end(d0746c60,d073cfa0,0,d073cf57,0) at 0xd0a20ef8
config_rootfound(d073cfa0,0,d0a20fa0,d0360adf,2) at config_rootfound+0x3c
main(0,0,0,0,0) at main+0x4b8

When acpi disabled/apm disabled/apm  acpi disabled
ddbtrace
cpu_switchto(d0851534,d0c17800,d0a20f18,d03763c9,d0c17800) at cpu_switchto+0x76

cfdata(d0c17800,0c17800,0,0,d15ca984) at cfdata+0x44e8
config_attach(0,d084a0a4,0,0,d073cf57) at config_attach+0xfd
config_rootfound(d073cfa0,0,d0a20fa0,d0360adf,2) at config_rootfound+0x27
main(0,0,0,0,0) at main+0x4b3

Regards,

Marco Peereboom wrote:
 Nothing pops out at me.  Can you try booting with several things
 disabled:
 * disable softraid
 * disable acpi
 * disable apm
 * disable apm  acpi
 
 so those are 4 different tests.
 
 Thanks,
 /marco
 
 On Mon, Nov 16, 2009 at 06:34:46PM +0800, Hou Ruoyu wrote:
 As I upgraded to #377 Nov 15 kernel snapshot, the problem recurred.
 OpenBSD 4.6-current (GENERIC) #377: Sun Nov 15 00:38:03 MST 2009
 (same as before)
 biomask edc5 netmask efc5 ttymask 
 vscsi0 at root
 scsibus0 at vscsi0:256 targets
 softraid0 at root
 kernel: integer divide fault trap, code=0
 Stopped at   cpu_switchto+0x76   popl %ebx
 ddbtrace
 cpu_switchto(d0851534,d0c17800,d0a20f18,d03763c9,d0c17800) at 
 cpu_switchto+0x76

 cfdata(d0c17800,0c17800,0,0,d15ca984) at cfdata+0x44e8
 config_attach(0,d084a0a4,0,0,d073cf57) at config_attach+0xfd
 config_rootfound(d073cfa0,0,d0a20fa0,d0360adf,2) at config_rootfound+0x27
 main(0,0,0,0,0) at main+0x4b3

 Regards,

 On Sun, Nov 15, 2009 at 11:45 PM, Marco Peereboom sl...@peereboom.us wrote:
 I think we fixed that in -current. ??Can you try the latest kernel?

 On Sun, Nov 15, 2009 at 01:12:13PM +0800, Hou, Ruoyu wrote:
 Thanks for the reply. Here are return info from trace and ps:
 ddbtrace
 cpu_switchto(d081f394,d0be5000,d09e9f18,d035f36d,d0be5000) at 
 cpu_switchto+0x76

 cfdata(d0be5000,d0be5000,0,d09e9f20,100) at cfdata+0x4434
 config_attach(0,d0818080,0,0,d0821a38) at config_attach+0xfd
 config_rootfound(d070b6f7,0,d09e9fa0,d0349ad9,2) at config_rootfound+0x27
 main(0,0,0,0,0) at main+0x4af
 ddbps
 ?? ??PID ?? PPID ?? PGRP ?? UID ??S ?? ?? ?? FLAGS ??WAIT ?? ?? ?? COMMAND
 ?? ?? ??8 ?? ?? ??0 ?? ?? ??0 ?? ?? 0 ??2 ?? ??0x100200 ?? ?? ?? ?? ?? ?? 
 pfpurge
 ?? ?? ??7 ?? ?? ??0 ?? ?? ??0 ?? ?? 0 ??2 ?? ??0x100200 ?? ?? ?? ?? ?? ?? 
 pcic0,0,1
 ?? ?? ??6 ?? ?? ??0 ?? ?? ??0 ?? ?? 0 ??2 ?? ??0x100200 ?? ?? ?? ?? ?? ?? 
 pcic0,0,0
 ?? ?? ??5 ?? ?? ??0 ?? ?? ??0 ?? ?? 0 ??2 ?? ??0x100200 ?? ?? ?? ?? ?? ?? 
 apm0
 ?? ?? ??4 ?? ?? ??0 ?? ?? ??0 ?? ?? 0 ??2 ?? ??0x100200 ?? ?? ?? ?? ?? ?? 
 syswq
 ?? ?? ??3 ?? ?? ??0 ?? ?? ??0 ?? ?? 0 ??2 ?? ??0x100200 ?? ?? ?? ?? ?? ?? 
 idle0
 ?? ?? ??2 ?? ?? ??0 ?? ?? ??0 ?? ?? 0 ??2 ?? ??0x100200 ?? ?? ?? ?? ?? ?? 
 kmthread
 * ?? ??1 ?? ?? ??0 ?? ?? ??0 ?? ?? 0 ??7 ?? ?? ?? ?? ?? 0 ?? ?? ?? ?? ?? 
 ?? swapper
 ?? ?? ??0 ?? ?? ??0 ?? ?? ??0 ?? ?? 0 ??3 ?? ?? 0x80200 ??wdccmd ?? ?? 
 swapper

 My disk was partioned as follows:
 1120MB as / and set bootable
 80MB as swap
 remaining 340+MB was FAT32 and mounted as /MSDOS.

 Regards,

 Marco Peereboom wrote:
 type trace please

 On Sun, Nov 15, 2009 at 11:55:27AM +0800, Hou, Ruoyu wrote:
 I am trying to install OpenBSD 4.6 on a old Libretto 70CT. The 
 installation was finished without error but stuck at rebooting.

 Since no PCMCIA-floppy or PCMCIA-CD-ROM on hand, I booted the boot 
 cdimage file by Grub4DOS and performed net install. Reboot run into 
 kernel fault. dmesg as follows:
 OpenBSD 4.6 (GENERIC) #58: Thu Jul 9 21:24:42 MDT 2009
 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel Pentium/MMX (GenuineIntel 586-class) 121 MHz
 cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
 real mem = 33255424 (31MB)
 avail mem = 21803008 (20MB)
 mainbus0 (root)
 bios0 at mainbus0: AT/286+ BIOS, date 02/10/99
 apm0 at bios0: Power Management spec V1.2
 apm0: battery life expectancy 100%
 apm0: AC on, battery charge high, charging
 pcibios at bios0 function 0x1a not configured
 bios0: ROM list: 0xe4000/0xc000
 cpu0 at mainbus0: (uniprocessor)
 cpu0: F00F bug workaround installed
 isa0 at mainbus0
 isadma0 at isa0
 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
 com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
 pckbc0 at isa0 port 0x60/5
 pckbd0 at pckbc0 (kbd slot)
 pckbc0: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard
 pms0 at pckbc0 (aux slot)
 pckbc0: using irq 12 for aux slot
 wsmouse0 at pms0 mux 0
 vga0 at isa0 port 0x3b0/48 iomem 0xa/131072
 wsdisplay0 at vga0 mux 1: console (80x25, vt100 emulation), using wskbd0
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 wdc0 at isa0 port 0x1f0/8 irq 14
 wd0 at wdc0 channel 0 drive 0: IBM

Re: Problem installing 4.6 on Toshiba Libretto 70CT

2009-11-16 Thread Hou Ruoyu
As I upgraded to #377 Nov 15 kernel snapshot, the problem recurred.
OpenBSD 4.6-current (GENERIC) #377: Sun Nov 15 00:38:03 MST 2009
(same as before)
biomask edc5 netmask efc5 ttymask 
vscsi0 at root
scsibus0 at vscsi0:256 targets
softraid0 at root
kernel: integer divide fault trap, code=0
Stopped at   cpu_switchto+0x76   popl %ebx
ddbtrace
cpu_switchto(d0851534,d0c17800,d0a20f18,d03763c9,d0c17800) at
cpu_switchto+0x76

cfdata(d0c17800,0c17800,0,0,d15ca984) at cfdata+0x44e8
config_attach(0,d084a0a4,0,0,d073cf57) at config_attach+0xfd
config_rootfound(d073cfa0,0,d0a20fa0,d0360adf,2) at config_rootfound+0x27
main(0,0,0,0,0) at main+0x4b3

Regards,

On Sun, Nov 15, 2009 at 11:45 PM, Marco Peereboom sl...@peereboom.us wrote:
 I think we fixed that in -current. B Can you try the latest kernel?

 On Sun, Nov 15, 2009 at 01:12:13PM +0800, Hou, Ruoyu wrote:
 Thanks for the reply. Here are return info from trace and ps:
 ddbtrace
 cpu_switchto(d081f394,d0be5000,d09e9f18,d035f36d,d0be5000) at
cpu_switchto+0x76

 cfdata(d0be5000,d0be5000,0,d09e9f20,100) at cfdata+0x4434
 config_attach(0,d0818080,0,0,d0821a38) at config_attach+0xfd
 config_rootfound(d070b6f7,0,d09e9fa0,d0349ad9,2) at config_rootfound+0x27
 main(0,0,0,0,0) at main+0x4af
 ddbps
 B  B PID B  PPID B  PGRP B  UID B S B  B  B  FLAGS B WAIT B  B  B  COMMAND
 B  B  B 8 B  B  B 0 B  B  B 0 B  B  0 B 2 B  B 0x100200 B  B  B  B  B  B 
pfpurge
 B  B  B 7 B  B  B 0 B  B  B 0 B  B  0 B 2 B  B 0x100200 B  B  B  B  B  B 
pcic0,0,1
 B  B  B 6 B  B  B 0 B  B  B 0 B  B  0 B 2 B  B 0x100200 B  B  B  B  B  B 
pcic0,0,0
 B  B  B 5 B  B  B 0 B  B  B 0 B  B  0 B 2 B  B 0x100200 B  B  B  B  B  B 
apm0
 B  B  B 4 B  B  B 0 B  B  B 0 B  B  0 B 2 B  B 0x100200 B  B  B  B  B  B 
syswq
 B  B  B 3 B  B  B 0 B  B  B 0 B  B  0 B 2 B  B 0x100200 B  B  B  B  B  B 
idle0
 B  B  B 2 B  B  B 0 B  B  B 0 B  B  0 B 2 B  B 0x100200 B  B  B  B  B  B 
kmthread
 * B  B 1 B  B  B 0 B  B  B 0 B  B  0 B 7 B  B  B  B  B  0 B  B  B  B  B  B 
swapper
 B  B  B 0 B  B  B 0 B  B  B 0 B  B  0 B 3 B  B  0x80200 B wdccmd B  B 
swapper

 My disk was partioned as follows:
 1120MB as / and set bootable
 80MB as swap
 remaining 340+MB was FAT32 and mounted as /MSDOS.

 Regards,

 Marco Peereboom wrote:
  type trace please
 
  On Sun, Nov 15, 2009 at 11:55:27AM +0800, Hou, Ruoyu wrote:
  I am trying to install OpenBSD 4.6 on a old Libretto 70CT. The
installation was finished without error but stuck at rebooting.
 
  Since no PCMCIA-floppy or PCMCIA-CD-ROM on hand, I booted the boot
cdimage file by Grub4DOS and performed net install. Reboot run into kernel
fault. dmesg as follows:
  OpenBSD 4.6 (GENERIC) #58: Thu Jul 9 21:24:42 MDT 2009
  dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
  cpu0: Intel Pentium/MMX (GenuineIntel 586-class) 121 MHz
  cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
  real mem = 33255424 (31MB)
  avail mem = 21803008 (20MB)
  mainbus0 (root)
  bios0 at mainbus0: AT/286+ BIOS, date 02/10/99
  apm0 at bios0: Power Management spec V1.2
  apm0: battery life expectancy 100%
  apm0: AC on, battery charge high, charging
  pcibios at bios0 function 0x1a not configured
  bios0: ROM list: 0xe4000/0xc000
  cpu0 at mainbus0: (uniprocessor)
  cpu0: F00F bug workaround installed
  isa0 at mainbus0
  isadma0 at isa0
  com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
  com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
  pckbc0 at isa0 port 0x60/5
  pckbd0 at pckbc0 (kbd slot)
  pckbc0: using irq 1 for kbd slot
  wskbd0 at pckbd0: console keyboard
  pms0 at pckbc0 (aux slot)
  pckbc0: using irq 12 for aux slot
  wsmouse0 at pms0 mux 0
  vga0 at isa0 port 0x3b0/48 iomem 0xa/131072
  wsdisplay0 at vga0 mux 1: console (80x25, vt100 emulation), using
wskbd0
  wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
  wdc0 at isa0 port 0x1f0/8 irq 14
  wd0 at wdc0 channel 0 drive 0: IBM-DDLA-21620
  wd0: 16-sector PIO, LBA, 1551MB, 3177216 sectors
  wd0(wdc0:0:0): using BIOS timings
  sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v3.01
  midi0 at sb0: SB MIDI UART
  audio0 at sb0
  opl0 at sb0: model OPL3
  midi1 at opl0: SB Yamaha OPL3
  wss0 at isa0 port 0x530/8 irq 10 drq 0: CS4231 or AD1845 (vers 4)
  audio1 at wss0
  pcppi0 at isa0 port 0x61
  midi2 at pcppi0: PC speaker
  spkr0 at pcppi0
  lpt0 at isa0 port 0x378/4 irq 7
  npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
  pcic0 at isa0 port 0x3e0/2 iomem 0xd/65536
  pcic0 controller 0: Intel 82365SL rev 1 has sockets A and B
  pcmcia0 at pcic0 controller 0 socket 0
  ep1 at pcmcia0 function 0 3Com Corporation, 3C589D, TP/BNC LAN Card
Ver. 2a
  port 0x340/16, irq 9: address 00:60:97:cd:e8:e7, utp/aui/bnu (default
utp)
  pcmcia1 at pcic0 controller 0 socket 1
  pcic0: irq 11, polling enabled
  biomask e145 netmask e345 ttymask fbdf
  softraid0 at root
  kernel: integer divide fault trap, code=0
  Stopped at cpu_switchto+0x76: B  B  B popl B  B %ebx
  ddb_
 
  While trying boot /bsd.rd succeeded

Problem installing 4.6 on Toshiba Libretto 70CT

2009-11-14 Thread Hou, Ruoyu
 PCMCIA ethernet card. Its dmesg can 
be found: http://www.crowsons.com/puters/dmesg_fcm.htm, roughly the same as 
mine. I was wondering whether it was my misconfiguration or simply 4.6 no 
longer support such a vintage.
-- 
Hou, Ruoyu

Laboratory of Reproductive  Stem Cell Biology,
College of Life Science  Biotech.,
Shanghai Jiao Tong University,
Shanghai 200240, P.R.China.



Re: Problem installing 4.6 on Toshiba Libretto 70CT

2009-11-14 Thread Hou Ruoyu
Here are return info from trace and ps:
ddbtrace
cpu_switchto(d081f394,d0be5000,d09e9f18,d035f36d,d0be5000) at
cpu_switchto+0x76

cfdata(d0be5000,d0be5000,0,d09e9f20,100) at cfdata+0x4434
config_attach(0,d0818080,0,0,d0821a38) at config_attach+0xfd
config_rootfound(d070b6f7,0,d09e9fa0,d0349ad9,2) at config_rootfound+0x27
main(0,0,0,0,0) at main+0x4af
ddbps
   PID   PPID   PGRP   UID  S   FLAGS  WAIT   COMMAND
 8  0  0 0  20x100200 pfpurge
 7  0  0 0  20x100200 pcic0,0,1
 6  0  0 0  20x100200 pcic0,0,0
 5  0  0 0  20x100200 apm0
 4  0  0 0  20x100200 syswq
 3  0  0 0  20x100200 idle0
 2  0  0 0  20x100200 kmthread
*1  0  0 0  7   0 swapper
 0 -1  0 0  3 0x80200  wdccmd swapper

My disk was partioned as follows:
1120MB as / and set bootable
80MB as swap
remaining 340+MB was FAT32 and mounted as /MSDOS.

Regards,

2009/11/15 Hou, Ruoyu phoenix...@gmail.com:
 I am trying to install OpenBSD 4.6 on a old Libretto 70CT. The installation
was finished without error but stuck at rebooting.

 Since no PCMCIA-floppy or PCMCIA-CD-ROM on hand, I booted the boot cdimage
file by Grub4DOS and performed net install. Reboot run into kernel fault.
dmesg as follows:
 OpenBSD 4.6 (GENERIC) #58: Thu Jul 9 21:24:42 MDT 2009
 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel Pentium/MMX (GenuineIntel 586-class) 121 MHz
 cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
 real mem = 33255424 (31MB)
 avail mem = 21803008 (20MB)
 mainbus0 (root)
 bios0 at mainbus0: AT/286+ BIOS, date 02/10/99
 apm0 at bios0: Power Management spec V1.2
 apm0: battery life expectancy 100%
 apm0: AC on, battery charge high, charging
 pcibios at bios0 function 0x1a not configured
 bios0: ROM list: 0xe4000/0xc000
 cpu0 at mainbus0: (uniprocessor)
 cpu0: F00F bug workaround installed
 isa0 at mainbus0
 isadma0 at isa0
 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
 com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
 pckbc0 at isa0 port 0x60/5
 pckbd0 at pckbc0 (kbd slot)
 pckbc0: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard
 pms0 at pckbc0 (aux slot)
 pckbc0: using irq 12 for aux slot
 wsmouse0 at pms0 mux 0
 vga0 at isa0 port 0x3b0/48 iomem 0xa/131072
 wsdisplay0 at vga0 mux 1: console (80x25, vt100 emulation), using wskbd0
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 wdc0 at isa0 port 0x1f0/8 irq 14
 wd0 at wdc0 channel 0 drive 0: IBM-DDLA-21620
 wd0: 16-sector PIO, LBA, 1551MB, 3177216 sectors
 wd0(wdc0:0:0): using BIOS timings
 sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v3.01
 midi0 at sb0: SB MIDI UART
 audio0 at sb0
 opl0 at sb0: model OPL3
 midi1 at opl0: SB Yamaha OPL3
 wss0 at isa0 port 0x530/8 irq 10 drq 0: CS4231 or AD1845 (vers 4)
 audio1 at wss0
 pcppi0 at isa0 port 0x61
 midi2 at pcppi0: PC speaker
 spkr0 at pcppi0
 lpt0 at isa0 port 0x378/4 irq 7
 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
 pcic0 at isa0 port 0x3e0/2 iomem 0xd/65536
 pcic0 controller 0: Intel 82365SL rev 1 has sockets A and B
 pcmcia0 at pcic0 controller 0 socket 0
 ep1 at pcmcia0 function 0 3Com Corporation, 3C589D, TP/BNC LAN Card Ver.
2a
 port 0x340/16, irq 9: address 00:60:97:cd:e8:e7, utp/aui/bnu (default utp)
 pcmcia1 at pcic0 controller 0 socket 1
 pcic0: irq 11, polling enabled
 biomask e145 netmask e345 ttymask fbdf
 softraid0 at root
 kernel: integer divide fault trap, code=0
 Stopped at B  B  B cpu_switchto+0x76: B  B  B popl B  B %ebx
 ddb_

 While trying boot /bsd.rd succeeded:
 OpenBSD 4.6 (GENERIC) #58: Thu Jul 9 21:24:42 MDT 2009
 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel Pentium/MMX (GenuineIntel 586-class) 121 MHz
 cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
 real mem = 33255424 (31MB)
 avail mem = 21803008 (20MB)
 mainbus0 (root)
 bios0 at mainbus0: AT/286+ BIOS, date 02/10/99
 apm0 at bios0: Power Management spec V1.2
 apm0: battery life expectancy 100%
 apm0: AC on, battery charge high, charging
 pcibios at bios0 function 0x1a not configured
 bios0: ROM list: 0xe4000/0xc000
 cpu0 at mainbus0: (uniprocessor)
 cpu0: F00F bug workaround installed
 isa0 at mainbus0
 isadma0 at isa0
 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
 com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
 pckbc0 at isa0 port 0x60/5
 pckbd0 at pckbc0 (kbd slot)
 pckbc0: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard
 pms0 at pckbc0 (aux slot)
 pckbc0: using irq 12 for aux slot
 wsmouse0 at pms0 mux 0
 vga0 at isa0 port 0x3b0/48 iomem 0xa/131072
 wsdisplay0 at vga0 mux 1: console (80x25, vt100 emulation), using wskbd0
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 wdc0 at isa0 port 0x1f0/8 irq 14
 wd0 at wdc0 channel 0 drive 0: IBM-DDLA