Re: Can't boot Loongson after upgrade from 5.2 - 5.3
A fresh install also doesn't boot and using PMON to boot into it fails the same way as on the old install. Well crap. That was unexpected. PMON boot -k /dev/fs/ext2@wd0/boot/boot Loading file: /dev/fs/ext2@wd0/boot/boot (elf) (elf) 0x81e2/44368 + 0x81e2ad50/4400(z) + OpenBSD/loongson BOOT 0.3 booting wd0a:/bsd: 4988544+588976=0x551db0 804fde94 a088 .word a088 # . . . . PMON Thanks, /jl -- ASCII ribbon campaign ( ) Powered by Lemote Fuloong against HTML e-mail X Loongson MIPS and OpenBSD and proprietary/ \http://www.mutt.org attachments / \ Code Blue or Go Home! Encrypted email preferred PGP Key 2048R/DA65BC04
Re: Can't boot Loongson after upgrade from 5.2 - 5.3
but it booted and ran the installer? On Wed, Jun 19, 2013 at 8:00 AM, John Long codeb...@inbox.lv wrote: A fresh install also doesn't boot and using PMON to boot into it fails the same way as on the old install. Well crap. That was unexpected. PMON boot -k /dev/fs/ext2@wd0/boot/boot Loading file: /dev/fs/ext2@wd0/boot/boot (elf) (elf) 0x81e2/44368 + 0x81e2ad50/4400(z) + OpenBSD/loongson BOOT 0.3 booting wd0a:/bsd: 4988544+588976=0x551db0 804fde94 a088 .word a088 # . . . . PMON Thanks, /jl -- ASCII ribbon campaign ( ) Powered by Lemote Fuloong against HTML e-mail X Loongson MIPS and OpenBSD and proprietary/ \http://www.mutt.org attachments / \ Code Blue or Go Home! Encrypted email preferred PGP Key 2048R/DA65BC04
re: Can't boot Loongson after upgrade from 5.2 - 5.3
Did not upgrade mine yet. Wait for Miod's answer. He's the best person for knowledge on this platform. Message du 19/06/13 17:09 De : John Long A : misc@openbsd.org Copie à : Objet : Can't boot Loongson after upgrade from 5.2 - 5.3 Sorry if this is duplicated. Been a few hours since I sent it and did not see it hit the list. Also did not find it on marc or gmane. Has anyone done a successful upgrade from Loongson 5.2 to 5.3? I've done upgrades on numerous platforms and this is the only one I've ever had problems with. The upgrade seemed to go fine and finish normally. After the reboot it goes from the Lemote Dragon screen to a black screen and stops there. After this didn't work I tried copying boot and bsd from the install media to their correct locations on the installed system. Rebooting also no joy. If I try booting manually from pmon into my installed system it stops: PMON boot -k /dev/fs/ext2@wd0/boot/boot Loading file: /dev/fs/ext2@wd0/boot/boot (elf) (elf) 0x81e2/44368 + 0x81e2ad50/4400(z) + OpenBSD/loongson BOOT 0.3 booting wd0a:/bsd: 4988544+588976=0x551db0 804dfe94 a088 .word a088 # . . . . PMON Cluebats graciously anticipated. /jl -- ASCII ribbon campaign ( ) Powered by Lemote Fuloong against HTML e-mail X Loongson MIPS and OpenBSD and proprietary / \ http://www.mutt.org attachments / \ Code Blue or Go Home! Encrypted email preferred PGP Key 2048R/DA65BC04
Re: Can't boot Loongson after upgrade from 5.2 - 5.3 update
An update...the bsd.rd kernel boots from / but not bsd. bsd from snapshots also boots. Looks like there is some problem with bsd in loongson 5.3 release. /jl -- ASCII ribbon campaign ( ) Powered by Lemote Fuloong against HTML e-mail X Loongson MIPS and OpenBSD and proprietary/ \http://www.mutt.org attachments / \ Code Blue or Go Home! Encrypted email preferred PGP Key 2048R/DA65BC04
Re: Can't boot Loongson after upgrade from 5.2 - 5.3
Has anyone done a successful upgrade from Loongson 5.2 to 5.3? I've done upgrades on numerous platforms and this is the only one I've ever had problems with. The upgrade seemed to go fine and finish normally. After the reboot it goes from the Lemote Dragon screen to a black screen and stops there. I have performed many upgrades without a hitch. However, the PMON ext2fs access code is fragile, and may not load the bootblocks correctly if the boot block image gets put in a too-trick-for-retarded-code location. Of course, when this happens, PMON will happily tell you it has loaded the binary, but actually loaded garbage from different sectors than those the binary is installed in. Did I mention how high quality that PMON code is? My best advice would be to backup your system and reinstall. If this is not an option, you *might* (as in, ought to) be lucky if you ``newfs_ext2fs wd0i'' and copy /usr/mdec/boot to the root of the ext2fs filesystem (boot bsd.rd from the network; newfs_ext2fs is on the installation media filesystem, but /usr/mdec/boot isn't, you'll need to copy it from either the network or your BSD filesystem, which you can mount from bsd.rd) Miod
Re: Can't boot Loongson after upgrade from 5.2 - 5.3
A fresh install also doesn't boot and using PMON to boot into it fails the same way as on the old install. Well crap. That was unexpected. If a new install fails, now that's something unexpected. Will installing 5.2 (which used to work) boot again? Miod
Re: Can't boot Loongson after upgrade from 5.2 - 5.3
On Wed, Jun 19, 2013 at 07:53:30PM +, Miod Vallat wrote: A fresh install also doesn't boot and using PMON to boot into it fails the same way as on the old install. Well crap. That was unexpected. If a new install fails, now that's something unexpected. Will installing 5.2 (which used to work) boot again? I haven't tried that but I have tried replacing boot and bsd from release and I also tried using boot from 5.2 and that didn't work either. The system will boot the installed bsd.rd from release as we would expect given the installer runs ok and it will also boot bsd from the latest snapshot. It looks like there is something wrong with the release bsd kernel. /jl
Re: Can't boot Loongson after upgrade from 5.2 - 5.3 update
An update...the bsd.rd kernel boots from / but not bsd. bsd from snapshots also boots. Looks like there is some problem with bsd in loongson 5.3 release. Where did you get your 5.3 release from? Did you check its md5? Miod
Re: Can't boot Loongson after upgrade from 5.2 - 5.3 update
On Wed, Jun 19, 2013 at 08:10:17PM +, Miod Vallat wrote: An update...the bsd.rd kernel boots from / but not bsd. bsd from snapshots also boots. Looks like there is some problem with bsd in loongson 5.3 release. Where did you get your 5.3 release from? Did you check its md5? That's it! Thank you. I got release from ftp.openbsd.org. But the sha256 for bsd doesn't match what's in SHA256. I'm used to ignoring those messages from snapshots so I didn't catch it. Checking the heanet mirror the sha256 matches the bsd I just downloaded from there. Just installed it and it works! What would we do with you, Miod?! /jl -- ASCII ribbon campaign ( ) Powered by Lemote Fuloong against HTML e-mail X Loongson MIPS and OpenBSD and proprietary/ \http://www.mutt.org attachments / \ Code Blue or Go Home! Encrypted email preferred PGP Key 2048R/DA65BC04
Re: Can't boot Loongson after upgrade from 5.2 - 5.3
On Wed, Jun 19, 2013 at 11:17:57AM -0700, Bryan Irvine wrote: but it booted and ran the installer? Yes. There appears to be a problem with the kernel. I just tried something interesting. I booted the installer and used the shell to save bsd as obsd on the installed system and then ln -s bsd.rd bsd and reboot and it comes up with the bsd.rd kernel. It cannot boot the bsd kernel for some reason. -- ASCII ribbon campaign ( ) Powered by Lemote Fuloong against HTML e-mail X Loongson MIPS and OpenBSD and proprietary/ \http://www.mutt.org attachments / \ Code Blue or Go Home! Encrypted email preferred PGP Key 2048R/DA65BC04