Re: kernel panic when booting FreeBSD-12.1-RELEASE- powerpc-bo otonly.iso

"Brandon Bergren" <[email protected]>
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]>
The fix for this is to backport my r362179 changes, while preserving the sparc64 compatibility.

Some pieces of the scc driver are hardcoded for SUN channel spacing, so the driver doesn't get set up properly when attaching to escc.

Specifically, a constant interrupt happens on channel A and it doesn't clear it properly because it's writing to the wrong address.

On Fri, Oct 16, 2020, at 10:29 AM, Neal Elliott via freebsd-ppc wrote:
> I managed to get the OS to boot without panicking, by changing the 
> output and input devices to "scca". however the system still hangs. I 
> have a suspicion, that the OS is booted up, but I don't know how to 
> tell FreeBSD to use the serial console on boot up.
> 
>  
> 
> output-device             "/pci@f2000000/mac-io@c/escc/ch-b"
> input-device              "/pci@f2000000/mac-io@c/escc/ch-b"
> 
> 0 > setenv output-device scca  ok
> 0 > setenv input-device scca  ok
> 0 > boot Trying cdrom:,\ppc\loader...
> Consoles: Open Firmware console
> 
> FreeBSD/powerpc Open Firmware loader, Revision 0.1
> Memory: 131072KB
> Booted from: /pci@f2000000/mac-io@c/ata-4@21000/cdrom@0
> 
> Loading /boot/defaults/loader.conf
> /boot/kernel/kernel data=0xd950fc+0x3030b8 
> syms=[0x4+0x98790+0x4+0xff011]
> |

-- 
  Brandon Bergren
  [email protected]
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.