Re: loongson:automatic loading of OpenBSD:YES to 8G ssd No for 500G disk

2013-12-09 Thread ropers
On 9 December 2013 01:36, Fung fungm...@qq.com wrote:

 Sorry, 163.com mail server always eat some lines , so resend email from 
 qq.com and add # disklabel wd0

 Few people using loongson notebook?
 Recently one Chinese organization sale this notebook about 45 $, they dump 
 about 1,000 notebooks in 2 months.
 http://www.loongsonclub.cn/tg/

Bugger me.
I spent too much money that I could ill afford to spend when I bought
one of these at another site — and I thought it was a discount.
I hope I didn't cause anyone else to waste money when I posted about
this a short time ago.
If anyone did so, prompted by my earlier email, then I would really
like to apologise. I didn't know any better myself.

—ropers

PS: I haven't gotten around to installing OpenBSD yet, so maybe the
OP's problem is yet to hit me.



loongson:automatic loading of OpenBSD:YES to 8G ssd No for 500G disk

2013-12-08 Thread f5b
http://ftp.openbsd.org/pub/OpenBSD/5.4/loongson/INSTALL.loongson

---

To overcome this annoyance, simply change the `moresz' environment
variable to a large value (30 or larger will do):

PMON set moresz 30

The bootloader will attempt to load the kernel file set in the `bsd'
environment variable. Should this fail, it will wait for user
commands. The value of `bsd' should be a path within the OpenBSD
root filesystem on the disk, such as:

PMON set bsd /bsd

If you have removed the Linux installation or if you do not want to
use the boot menu, you may simply disable it in the environment, and
set the `al' variable to point to the bootloader path:

PMON set ShowBootMenu no
PMON set al /dev/fs/ext2@wd0/boot/boot
automatic loading of OpenBSD binaries is ok.

2. change the disk to Seagate 500g disk, install  5.4 release  with same 
settings.
1)when power up the notebook, system will hung in the splash screen (Press Tab 
to recover | Press Del to setup)
now hit Del, can not enter PMON prompt(nothing happend)

2)if power up the notebook and Press Del immediately, 
monitor will show
BEV in SR set to zero.
PMON

now boot /dev/fs/ext2@wd0/boot/boot  ok

--dmesg-
[ using 476376 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2013 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 5.4 (GENERIC) #29: Tue Jul 30 22:12:34 MDT 2013
dera...@loongson.openbsd.org:/usr/src/sys/arch/loongson/compile/GENERIC
real mem = 1073741824 (1024MB)
avail mem = 1058979840 (1009MB)
mainbus0 at root: Lemote Yeeloong
cpu0 at mainbus0: STC Loongson2F CPU 796 MHz, STC Loongson2F FPU
cpu0: cache L1-I 64KB D 64KB 4 way, L2 512KB 4 way
bonito0 at mainbus0: memory and PCI-X controller, rev 1
pci0 at bonito0 bus 0
rl0 at pci0 dev 7 function 0 Realtek 8139 rev 0x10: irq 5, address 
00:23:8b:b5:35:9e
rlphy0 at rl0 phy 0: RTL internal PHY
smfb0 at pci0 dev 8 function 0 Silicon Motion LynxEM+ rev 0xb0
wsdisplay0 at smfb0 mux 1: console (std, vt100 emulation)
ohci0 at pci0 dev 9 function 0 NEC USB rev 0x44: irq 7, version 1.0
ehci0 at pci0 dev 9 function 1 NEC USB rev 0x05: irq 7
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 NEC EHCI root hub rev 2.00/1.00 addr 1
glxpcib0 at pci0 dev 14 function 0 AMD CS5536 ISA rev 0x03: rev 3, 32-bit 
3579545Hz timer, watchdog, gpio, i2c
isa0 at glxpcib0
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
mcclock0 at isa0 port 0x70/2: mc146818 or compatible
ykbec0 at isa0 port 0x381/3
gpio1 at glxpcib0: 32 pins
iic at glxpcib0 not configured
glxclk0 at glxpcib0: clock, prof
pciide0 at pci0 dev 14 function 2 AMD CS5536 IDE rev 0x01: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: ST9500325AS
wd0: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
auglx0 at pci0 dev 14 function 3 AMD CS5536 Audio rev 0x01: isa irq 9, CS5536 
AC97
ac97: codec id 0x414c4760 (Avance Logic ALC655 rev 0)
audio0 at auglx0
ohci1 at pci0 dev 14 function 4 AMD CS5536 USB rev 0x02: isa irq 11, version 
1.0, legacy support
ehci1 at pci0 dev 14 function 5 AMD CS5536 USB rev 0x02: isa irq 11
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 AMD EHCI root hub rev 2.00/1.00 addr 1
usb2 at ohci0: USB revision 1.0
uhub2 at usb2 NEC OHCI root hub rev 1.00/1.00 addr 1
usb3 at ohci1: USB revision 1.0
uhub3 at usb3 AMD OHCI root hub rev 1.00/1.00 addr 1
apm0 at mainbus0
umass0 at uhub1 port 1 configuration 1 interface 0 Generic USB2.0-CRW rev 
2.00/58.87 addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: Generic-, Multi-Card, 1.00 SCSI0 0/direct 
removable serial.0bda015811417340
urtw0 at uhub1 port 4 Realtek RTL8187B rev 2.00/2.00 addr 3
urtw0: RTL8187B rev E, address 00:17:c4:5a:19:d7
uhidev0 at uhub3 port 3 configuration 1 interface 0 Dell Dell USB Keyboard 
rev 1.10/3.01 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
pmon bootpath: /dev/disk/wd0
boot device: wd0
root on wd0a (12e4475847814fad.a) swap on wd0b dump on wd0b



Re: loongson:automatic loading of OpenBSD:YES to 8G ssd No for 500G disk

2013-12-08 Thread f5b
@163.com server eat some lines of my original email
full message should be--

http://ftp.openbsd.org/pub/OpenBSD/5.4/loongson/INSTALL.loongson

---

To overcome this annoyance, simply change the `moresz' environment
variable to a large value (30 or larger will do):

PMON set moresz 30

The bootloader will attempt to load the kernel file set in the `bsd'
environment variable. Should this fail, it will wait for user
commands. The value of `bsd' should be a path within the OpenBSD
root filesystem on the disk, such as:

PMON set bsd /bsd

If you have removed the Linux installation or if you do not want to
use the boot menu, you may simply disable it in the environment, and
set the `al' variable to point to the bootloader path:

PMON set ShowBootMenu no
PMON set al /dev/fs/ext2@wd0/boot/boot
automatic loading of OpenBSD binaries is ok.

2. change the disk to Seagate 500g disk, install  5.4 release  with same 
settings.
1)when power up the notebook, system will hung in the splash screen (Press Tab 
to recover | Press Del to setup)
now hit Del, can not enter PMON prompt(nothing happend)

2)if power up the notebook and Press Del immediately, 
monitor will show
BEV in SR set to zero.
PMON

now boot /dev/fs/ext2@wd0/boot/boot  ok

--dmesg-
[ using 476376 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2013 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 5.4 (GENERIC) #29: Tue Jul 30 22:12:34 MDT 2013
dera...@loongson.openbsd.org:/usr/src/sys/arch/loongson/compile/GENERIC
real mem = 1073741824 (1024MB)
avail mem = 1058979840 (1009MB)
mainbus0 at root: Lemote Yeeloong
cpu0 at mainbus0: STC Loongson2F CPU 796 MHz, STC Loongson2F FPU
cpu0: cache L1-I 64KB D 64KB 4 way, L2 512KB 4 way
bonito0 at mainbus0: memory and PCI-X controller, rev 1
pci0 at bonito0 bus 0
rl0 at pci0 dev 7 function 0 Realtek 8139 rev 0x10: irq 5, address 
00:23:8b:b5:35:9e
rlphy0 at rl0 phy 0: RTL internal PHY
smfb0 at pci0 dev 8 function 0 Silicon Motion LynxEM+ rev 0xb0
wsdisplay0 at smfb0 mux 1: console (std, vt100 emulation)
ohci0 at pci0 dev 9 function 0 NEC USB rev 0x44: irq 7, version 1.0
ehci0 at pci0 dev 9 function 1 NEC USB rev 0x05: irq 7
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 NEC EHCI root hub rev 2.00/1.00 addr 1
glxpcib0 at pci0 dev 14 function 0 AMD CS5536 ISA rev 0x03: rev 3, 32-bit 
3579545Hz timer, watchdog, gpio, i2c
isa0 at glxpcib0
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
mcclock0 at isa0 port 0x70/2: mc146818 or compatible
ykbec0 at isa0 port 0x381/3
gpio1 at glxpcib0: 32 pins
iic at glxpcib0 not configured
glxclk0 at glxpcib0: clock, prof
pciide0 at pci0 dev 14 function 2 AMD CS5536 IDE rev 0x01: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: ST9500325AS
wd0: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
auglx0 at pci0 dev 14 function 3 AMD CS5536 Audio rev 0x01: isa irq 9, CS5536 
AC97
ac97: codec id 0x414c4760 (Avance Logic ALC655 rev 0)
audio0 at auglx0
ohci1 at pci0 dev 14 function 4 AMD CS5536 USB rev 0x02: isa irq 11, version 
1.0, legacy support
ehci1 at pci0 dev 14 function 5 AMD CS5536 USB rev 0x02: isa irq 11
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 AMD EHCI root hub rev 2.00/1.00 addr 1
usb2 at ohci0: USB revision 1.0
uhub2 at usb2 NEC OHCI root hub rev 1.00/1.00 addr 1
usb3 at ohci1: USB revision 1.0
uhub3 at usb3 AMD OHCI root hub rev 1.00/1.00 addr 1
apm0 at mainbus0
umass0 at uhub1 port 1 configuration 1 interface 0 Generic USB2.0-CRW rev 
2.00/58.87 addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: Generic-, Multi-Card, 1.00 SCSI0 0/direct 
removable serial.0bda015811417340
urtw0 at uhub1 port 4 Realtek RTL8187B rev 2.00/2.00 addr 3
urtw0: RTL8187B rev E, address 00:17:c4:5a:19:d7
uhidev0 at uhub3 port 3 configuration 1 interface 0 Dell Dell USB Keyboard 
rev 1.10/3.01 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
pmon bootpath: /dev/disk/wd0
boot device: wd0
root on wd0a (12e4475847814fad.a) swap on wd0b dump on wd0b



Re: loongson:automatic loading of OpenBSD:YES to 8G ssd No for 500G disk

2013-12-08 Thread Fung
Sorry, 163.com mail server always eat some lines , so resend email from qq.com 
and add # disklabel wd0

Few people using loongson notebook?
Recently one Chinese organization sale this notebook about 45 $, they dump 
about 1,000 notebooks in 2 months.
http://www.loongsonclub.cn/tg/


Original email   # disklabel wd0

http://ftp.openbsd.org/pub/OpenBSD/5.4/loongson/INSTALL.loongson

---

To overcome this annoyance, simply change the `moresz' environment
variable to a large value (30 or larger will do):

PMON set moresz 30

The bootloader will attempt to load the kernel file set in the `bsd'
environment variable. Should this fail, it will wait for user
commands. The value of `bsd' should be a path within the OpenBSD
root filesystem on the disk, such as:

PMON set bsd /bsd

If you have removed the Linux installation or if you do not want to
use the boot menu, you may simply disable it in the environment, and
set the `al' variable to point to the bootloader path:

PMON set ShowBootMenu no
PMON set al /dev/fs/ext2@wd0/boot/boot
automatic loading of OpenBSD binaries is ok.

2. change the disk to Seagate 500g disk, install  5.4 release  with same 
settings.
1)when power up the notebook, system will hung in the splash screen (Press Tab 
to recover | Press Del to setup)
now hit Del, can not enter PMON prompt(nothing happend)

2)if power up the notebook and Press Del immediately, 
monitor will show
BEV in SR set to zero.
PMON

now boot /dev/fs/ext2@wd0/boot/boot  ok

--dmesg-
[ using 476376 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2013 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 5.4 (GENERIC) #29: Tue Jul 30 22:12:34 MDT 2013
dera...@loongson.openbsd.org:/usr/src/sys/arch/loongson/compile/GENERIC
real mem = 1073741824 (1024MB)
avail mem = 1058979840 (1009MB)
mainbus0 at root: Lemote Yeeloong
cpu0 at mainbus0: STC Loongson2F CPU 796 MHz, STC Loongson2F FPU
cpu0: cache L1-I 64KB D 64KB 4 way, L2 512KB 4 way
bonito0 at mainbus0: memory and PCI-X controller, rev 1
pci0 at bonito0 bus 0
rl0 at pci0 dev 7 function 0 Realtek 8139 rev 0x10: irq 5, address 
00:23:8b:b5:35:9e
rlphy0 at rl0 phy 0: RTL internal PHY
smfb0 at pci0 dev 8 function 0 Silicon Motion LynxEM+ rev 0xb0
wsdisplay0 at smfb0 mux 1: console (std, vt100 emulation)
ohci0 at pci0 dev 9 function 0 NEC USB rev 0x44: irq 7, version 1.0
ehci0 at pci0 dev 9 function 1 NEC USB rev 0x05: irq 7
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 NEC EHCI root hub rev 2.00/1.00 addr 1
glxpcib0 at pci0 dev 14 function 0 AMD CS5536 ISA rev 0x03: rev 3, 32-bit 
3579545Hz timer, watchdog, gpio, i2c
isa0 at glxpcib0
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
mcclock0 at isa0 port 0x70/2: mc146818 or compatible
ykbec0 at isa0 port 0x381/3
gpio1 at glxpcib0: 32 pins
iic at glxpcib0 not configured
glxclk0 at glxpcib0: clock, prof
pciide0 at pci0 dev 14 function 2 AMD CS5536 IDE rev 0x01: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: ST9500325AS
wd0: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
auglx0 at pci0 dev 14 function 3 AMD CS5536 Audio rev 0x01: isa irq 9, CS5536 
AC97
ac97: codec id 0x414c4760 (Avance Logic ALC655 rev 0)
audio0 at auglx0
ohci1 at pci0 dev 14 function 4 AMD CS5536 USB rev 0x02: isa irq 11, version 
1.0, legacy support
ehci1 at pci0 dev 14 function 5 AMD CS5536 USB rev 0x02: isa irq 11
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 AMD EHCI root hub rev 2.00/1.00 addr 1
usb2 at ohci0: USB revision 1.0
uhub2 at usb2 NEC OHCI root hub rev 1.00/1.00 addr 1
usb3 at ohci1: USB revision 1.0
uhub3 at usb3 AMD OHCI root hub rev 1.00/1.00 addr 1
apm0 at mainbus0
umass0 at uhub1 port 1 configuration 1 interface 0 Generic USB2.0-CRW rev 
2.00/58.87 addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: Generic-, Multi-Card, 1.00 SCSI0 0/direct 
removable serial.0bda015811417340
urtw0 at uhub1 port 4 Realtek RTL8187B rev 2.00/2.00 addr 3
urtw0: RTL8187B rev E, address 00:17:c4:5a:19:d7
uhidev0 at uhub3 port 3 configuration 1 interface 0 Dell Dell USB Keyboard 
rev 1.10/3.01 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
pmon bootpath: /dev/disk/wd0
boot device: wd0
root on wd0a (12e4475847814fad.a) swap on wd0b 

Re: loongson:automatic loading of OpenBSD:YES to 8G ssd No for 500G disk

2013-12-08 Thread Miod Vallat
 2. change the disk to Seagate 500g disk, install  5.4 release  with same 
 settings.
 1)when power up the notebook, system will hung in the splash screen (Press 
 Tab to recover | Press Del to setup)
 now hit Del, can not enter PMON prompt(nothing happend)
 
 2)if power up the notebook and Press Del immediately, 
 monitor will show
 BEV in SR set to zero.
 PMON
 
 now boot /dev/fs/ext2@wd0/boot/boot  ok

What is the PMON version reported by ``vers'' at the PMON prompt?

Does the system boot if you press `enter' when the system is apparently
hung with the splash screen still displayed?

Miod