There was a bug in obp_nextprop, zs devices need to be mapped, and ESP needed an interrupt.
Now we get this far:
3 > boot disk -p [sparc] Booting file 'disk' with parameters '-p' Unknown filesystem type Loading image... segment 0 addr:0x0 file:0x2780e0 mem:0x2a3828 loading... clearing... clearing checksum... ok Loaded 2588896 bytes entry point is 0x4000 Jumping to entry point... PROMLIB: obio_ranges 1 PROMLIB: Sun Boot Prom Version 0 Revision 77 Linux version 2.6.11 (test@host) (gcc version 2.95.4 20010319 (prerelease)) #3 Tue Mar 15 18:21:10 UTC 2005 ARCH: SUN4M TYPE: SparcStation Ethernet address: 0:0:0:0:0:0 Boot time fixup v1.6. 4/Mar/98 Jakub Jelinek (jj@ultra.linux.cz). Patching kernel for srmmu[Fujitsu Swift]/iommu Booting Linux... Power off control detected. Built 1 zonelists Kernel command line: -p PID hash table entries: 512 (order: 9, 8192 bytes) Console: colour dummy device 80x25 Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 124928k/131072k available (1848k kernel code, 6056k reserved, 496k data, 156k init, 0k highmem) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) NET: Registered protocol family 16 SCSI subsystem initialized IOMMU: impl 0 vers 4 table 0xf0740000[262144 B] map [65536 b] sbus0: Clock 25.0 MHz dma0: Revision 2 dma1: Revision 2 Unable to handle kernel paging request at virtual address 73746000 tsk->{mm,active_mm}->context = ffffffff tsk->{mm,active_mm}->pgd = fc000000 |/ ____ |/ "@'/ ,. `@" /_| __/ |_\ __U_/ swapper(1): Oops [#1] PSR: 04001fc1 PC: ffd07278 NPC: ffd0727c Y: 00000000 Not tainted PC: <0xffd07278> %G: 00000000 7374616e ffd30874 ffd3086c ffd8d7e8 00656e00 f060e000 00000010 %O: ffd8d400 ffd2dd38 ffd8d400 ffd2b014 ffd346c0 00000000 f060fa98 ffd0728c RPC: <0xffd0728c> %L: 0000001a ffd8d000 ffd8d400 ffd8d000 00000000 006f7274 f060e000 f0276800 %I: ffd346bc ffd2dd38 ffd8d400 ffd2b014 ffd34694 00000001 f060fb00 ffd08c50 Caller[ffd08c50]: 0xffd08c50 Caller[ffd06180]: 0xffd06180 Caller[f00f1bf0]: Letext+0x1c/0x3c Caller[f00f1c24]: prom_getchild+0x14/0x38 Caller[f0266154]: tty_init+0x230/0x240 Caller[f02661c0]: unix98_pty_init+0x5c/0x210 Caller[f0266258]: unix98_pty_init+0xf4/0x210 Caller[f0251f80]: inflate_stored+0x1ac/0x1fc Caller[f0252020]: inflate_fixed+0x50/0x178 Caller[f00100cc]: init+0x24/0xfc Caller[f0014a4c]: kernel_thread+0x34/0x50 Caller[f001002c]: rest_init+0x10/0x28 Caller[f0251ed8]: inflate_stored+0x104/0x1fc Caller[f0251790]: huft_build+0x40c/0x55c Caller[ffd096c8]: 0xffd096c8 Instruction DUMP: 8200a004 c224a3e4 c200a004 <c4004000> 033ff4a2 821063e4 8528a002 c2004002 9fc04000 Kernel panic - not syncing: Attempted to kill init! <0>Press L1-A to return to the boot prom
With NetBSD-GENERIC (forgot which version) we get this: Jumping to entry point... WARNING: opennode not valid on PROM version 1 text fault: pc=0x0 sfsr=166<PERR=0,LVL=1,AT=3,FT=1,FAV,OW> sfva=0x0 panic: kernel fault halted
halt, power off
and with OpenBSD-3.5: Jumping to entry point... [ bsd ELF symbol table not valid: bad magic ] data fault: pc=0xf8059a4c sfva=0xf05ea270 sfsr=126<FAV> panic: kernel fault Stopped at 0xf8236ee0: jmpl [%o7 + 0x8], %g0 RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC! DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION! ddb>
I think the error with Linux happens because the console device is not real serial but builtin console.
_________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/
Unable to handle kernel paging request at virtual address 73746000 tsk->{mm,active_mm}->context = ffffffff tsk->{mm,active_mm}->pgd = fc000000 |/ ____ |/ "@'/ ,. `@" /_| __/ |_\ __U_/ swapper(1): Oops [#1] PSR: 04001fc1 PC: ffd07278 NPC: ffd0727c Y: 00000000 Not tainted PC: <0xffd07278> %G: 00000000 7374616e ffd30874 ffd3086c ffd8d7e8 00656e00 f060e000 00000010
It used ascii "stan" as an address. Does that help you?
Segher
* Blue Swirl blueswir1@hotmail.com [060518 20:17]:
With NetBSD-GENERIC (forgot which version) we get this: Jumping to entry point... WARNING: opennode not valid on PROM version 1 text fault: pc=0x0 sfsr=166<PERR=0,LVL=1,AT=3,FT=1,FAV,OW> sfva=0x0 panic: kernel fault
This is probably due to:
romvec0.pv_romvers = 0;
and with OpenBSD-3.5: Jumping to entry point... [ bsd ELF symbol table not valid: bad magic ] data fault: pc=0xf8059a4c sfva=0xf05ea270 sfsr=126<FAV> panic: kernel fault Stopped at 0xf8236ee0: jmpl [%o7 + 0x8], %g0 RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC! DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION! ddb>
can you run a trace at that point?
I think the error with Linux happens because the console device is not real serial but builtin console.
Yes, it is definitely dying in the serial driver code in linux.