FreeBSD status
As mentioned on irc I was having some success with FreeBSD:
4.10RC3 install cd: boots, but kernel doesnt see any disks
(error message when trying to partition, -hda with empty image)
5.2.1 install cd and boot.flp: boot now with the fixes in cvs,
but panic when trying to write to disk (same empty image). to repeat: at the mountroot prompt type:
ufs:md0
then in sysinstall select custom install, partition, c', enter slice (partition) size, hit w' to write immediately, confirm, select mbr -> panic writing to disk
I also get: npx0: WARNING: no FPU! from the kernel (kernel
messages can be viewed with scroll-lock and then page-up/down, cursur-up/down), Fabrice says that the FPU error comes from the fact that FreeBSD uses FPU interrupts to test the FPU exception reporting.
FreeSBIE 1.0 (live cd based on 5.2.1): boots now too, panics on:
dd count=1 </dev/zero >/dev/ad0
(write a block to hda, same empty image)
I haven't tried running X on it yet (xinit)
Install isos and releases (floppies etc) can be found using:
http://mirrorlist.freebsd.org/
(the floppies are also on the cds under floppies/)
FreeSBIE mirrors are listed at:
http://www.freesbie.org/?section=mirror-en
Fabrice also said the FreeBSD host patches are not in yet,
is that just lack of time or do they have some problems?
Also, would it help if i try to make a debug version of the 5.2.1
GENERIC kernel to see where the panic is? It is always trying to read from 0x2c, supervisor read, page not present. (I guess a NULL pointer to a struct, unfortunately i won't be able to take crashdumps and get a full backtrace as that requires writing to disk...)
Juergen
Quoted 5 lines · Juergen Lock
As mentioned on irc I was having some success with FreeBSD:
4.10RC3 install cd: boots, but kernel doesnt see any disks
(error message when trying to partition, -hda with empty image)
Quoted 7 lines
5.2.1 install cd and boot.flp: boot now with the fixes in cvs,
but panic when trying to write to disk (same empty image). to repeat: at the mountroot prompt type:ufs:md0then in sysinstall select custom install, partition,
c', enter slice (partition) size, hitw' to write immediately, confirm, select mbr -> panic writing to disk
I found the problem : it seems that FreeBSD expects the IDE READY status bit just after the IDE WRITE command. It is weird as it is not mentionned in the IDE specs. I would like to be sure it is a standard IDE behaviour.
Quoted 4 lines
I also get: npx0: WARNING: no FPU! from the kernel (kernel
messages can be viewed with scroll-lock and then page-up/down, cursur-up/down), Fabrice says that the FPU error comes from the fact that FreeBSD uses FPU interrupts to test the FPU exception reporting.
I made a fix (not commited yet).
Quoted 2 lines
Fabrice also said the FreeBSD host patches are not in yet,
is that just lack of time or do they have some problems?
Still no time.
Quoted 5 lines
Also, would it help if i try to make a debug version of the 5.2.1
GENERIC kernel to see where the panic is? It is always trying to read from0x2c, supervisor read, page not present. (I guess a NULL pointer to a struct, unfortunately i won't be able to take crashdumps and get a full backtrace as that requires writing to disk...)
Fabrice.
Quoted 6 lines · Fabrice Bellard
Quoted 5 lines · Juergen Lock
As mentioned on irc I was having some success with FreeBSD:
4.10RC3 install cd: boots, but kernel doesnt see any disks
(error message when trying to partition, -hda with empty image)
4.10-RELEASE boot.flp can be found using
http://mirrorlist.freebsd.org/
btw. (yes 4.10-RELEASE is out, i'm currently ftp'ing it. 4.10 is
off the -stable branch so its also important to get working.)
Quoted 8 lines
Quoted 7 lines
5.2.1 install cd and boot.flp: boot now with the fixes in cvs,
but panic when trying to write to disk (same empty image). to repeat: at the mountroot prompt type:ufs:md0then in sysinstall select custom install, partition,
c', enter slice (partition) size, hitw' to write immediately, confirm, select mbr -> panic writing to disk
Quoted 5 lines
I found the problem : it seems that FreeBSD expects the IDE READY status bit just after the IDE WRITE command. It is weird as it is not mentionned in the IDE specs. I would like to be sure it is a standard IDE behaviour.
Hmm. I since built a debug kernel and it looks like the panic is insys/dev/ata/ata-lowlevel.c line 276:
if (request->device->channel->dma->flags & ATA_DMA_ACTIVE) request->device->channel->dma is NULL. The 5.2.1 ata-lowlevel.c can be viewed here: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/ata/ata-lowlevel.c?annotate=1.24.2.3
(to see other 5.2.1 sources look for the RELENG_5_2_1_RELEASE tag.)
This seems to have something to do with the fact that qemu doesn't
support ata (ide) dma (right?), but it is a bit strange as i do have seen 5.2.1 running on an old 486 about which i doubt that it has ide dma hardware, and anyway i'm pretty sure such a bug would have been known by now...
Btw can you post or send me your patch so i can test it?
Quoted 7 lines
Quoted 4 lines
I also get: npx0: WARNING: no FPU! from the kernel (kernel
messages can be viewed with scroll-lock and then page-up/down, cursur-up/down), Fabrice says that the FPU error comes from the fact that FreeBSD uses FPU interrupts to test the FPU exception reporting.I made a fix (not commited yet).
Eagerly awaiting that one also... :)
Juergen