Port-sun3 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
NetBSD/sun3 10.0_RC2 problems on sun 3/60
Does anyone tried NetBSD/sun3 10.0_RC2 on (real) 3/60?
On my 3/60 I saw:
- GENERIC kernel got a reproducible panic on mounteroot()
after device probe, if the kernel is loaded from a SCSI disk
- the same GENERIC kernel is properly loaeded and reaches
single user prompt if it's booted via Ethernet
- INSTALL kernel works onto single user even if it's loaded
from a SCSI harddisk
Kernel sizes in NetBSD/sun3 10.0_RC2 are:
>> -rw-r--r-- 1 root wheel 2047424 Jan 2 08:35 netbsd-GENERIC
>> -rw-r--r-- 1 root wheel 1875732 Jan 2 08:35 netbsd-INSTALL
If I disable several pseudo-devices (ppp, vlan, vnd, and swwdog)
and enable (unintentionally disabled) obmem, it's loaded properly
and works.
>> -rwxr-xr-x 1 root wheel 2015252 Jan 13 04:40 netbsd
On the other hand, NetBSD/sun3 5.2.3 GENERIC is proplery loaded
and works without problem:
>> -rw-r--r-- 1 root wheel 2051309 Jan 7 2020 netbsd.523
It looks bootloader consume certain memory resouces
(by stack or alloc() functions) on loading kernels from
a SCSI disk via PROM functions and memory region of the
loaded kernel is overwritten, but I don't have a good idea
how to observe it.
Does anyone see the similar issue on sun3 machines?
(IIRC 3/160 emulated by tme works without problem)
NetBSD/sun3 10.0_RC2 GENERIC (from release) loaded from a SCSI disk:
---
EEPROM: Using RS232 A port.
Selftest Completed.
Sun Workstation, Model Sun-3/60C/G.
ROM Rev 2.8.3, 24MB memory installed, Serial #xxxxx.
Ethernet address 08:00:20:xx:xx:xx.
Testing 24 Megabytes of Memory ... Completed.
Auto-boot in progress...
EEPROM boot device...sd(0,0,0)
>> NetBSD/sun3 ufsboot [1.13 (Thu Jul 27 18:10:25 UTC 2023)]
ufsboot: trying netbsd
1674708+92700+162130]=0x202544
starting program at 0x4000
console is ttya
[ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[ 1.0000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[ 1.0000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[ 1.0000000] 2024
[ 1.0000000] The NetBSD Foundation, Inc. All rights reserved.
[ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.0000000] The Regents of the University of California. All rights reserved.
[ 1.0000000] NetBSD 10.0_RC2 (GENERIC) #0: Mon Jan 1 14:04:52 UTC 2024
[ 1.0000000] mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/sun3/compile/GENERIC
[ 1.0000000] Model: sun3 60
[ 1.0000000] fpu: mc68881
[ 1.0000000] total memory = 24576 KB
[ 1.0000000] avail memory = 22136 KB
[ 1.0000000] mainbus0 (root)
[ 1.0000000] obio0 at mainbus0
[ 1.0000000] zsc0 at obio0 addr 0x0 ipl 6: (softpri 3)
[ 1.0000000] kbd0 at zsc0 channel 0: baud rate 1200
[ 1.0000000] ms0 at zsc0 channel 1: baud rate 1200
[ 1.0000000] zsc1 at obio0 addr 0x20000 ipl 6: (softpri 3)
[ 1.0000000] zstty0 at zsc1 channel 0 (console i/o)
[ 1.0000000] zstty1 at zsc1 channel 1
[ 1.0000000] eeprom0 at obio0 addr 0x40000
[ 1.0000000] oclock0 at obio0 addr 0x60000 ipl 5: intersil7170
[ 1.0000000] memerr0 at obio0 addr 0x80000 ipl 7: (Parity memory)
[ 1.0000000] intreg0 at obio0 addr 0xa0000
[ 1.0000000] le0 at obio0 addr 0x120000 ipl 3: address 08:00:20:xx:xx:xx
[ 1.0000000] le0: 8 receive buffers, 2 transmit buffers
[ 1.0000000] si0 at obio0 addr 0x140000 ipl 2: options=0xf
[ 1.0000000] scsibus0 at si0: 8 targets, 8 luns per target
[ 1.0000000] enabling interrupts
[ 1.0300040] scsibus0: waiting 2 seconds for devices to settle...
[ 1.1800040] WARNING: system needs entropy for security; see entropy(7)
[ 3.4400040] sd0 at scsibus0 target 0 lun 0: <I-O DATA, HDVS-UM8G-1, 200S> disk fixed
[ 3.4800040] sd0: 3820 MB, 7762 cyl, 16 head, 63 sec, 512 bytes/sect x 7824096 sectors
[ 3.5200040] sd0: async, 8-bit transfers
[ 3.5700040] sd1 at scsibus0 target 1 lun 0: <I-O DATA, HDVS-UM8G-2, 200S> disk fixed
[ 3.6100040] sd1: 3820 MB, 7762 cyl, 16 head, 63 sec, 512 bytes/sect x 7824096 sectors
[ 3.6400040] sd1: async, 8-bit transfers
[ 7.6900040] swwdog0: software watchdog initialized
[ 7.7100040] boot device: sd0a
[ 7.7500040] root on sd0a dumps on sd0b
[ 7.8500040] root file system type: ffs
[ 7.8900040] kern.module.path=/stand/sun3/10.0/modules
[ 9.8600040] vm_fault(0xe1a9e98, 0xdffe000, 0x1) -> 0xe
[ 9.8700040] trap type=0x8, code=0x145, v=0xdfffffc
[ 9.8900040] kernel: MMU fault trap
[ 9.9000040] pid = 0, lid = 2, pc = 0E00620E, ps = 2400, sfc = 1, dfc = 1
[ 9.9000040] Registers:
[ 9.9000040] 0 1 2 3 4 5 6 7
[ 9.9000040] dreg: 0F26F6E0 0000000D 01570000 0E1A0538 0FF00000 00000071 00000000 0FF04000
[ 9.9000040] areg: 0F26F6E0 0DFFFFFC 0FF02000 0F26F6E0 0E004AA0 0E030DF4 0F5CBDDC 0DFFFFFC
[ 9.9000040] Kernel stack (0F5CBC40):
[ 9.9000040] 5CBC40: 0E008BD8 0F5CBD2C 00000080 01570000 0E1A0538 0FF00000 00000071 00000000
[ 9.9000040] 5CBC60: 0FF04000 0FF02000 0F26F6E0 0E004AA0 0E030DF4 0E1ABB30 972C5A5A 0DFFE000
[ 9.9000040] 5CBC80: 00000001 00000000 00000000 2C5A5A97 972C5A5A 5A972C5A 00000001 00000000
[ 9.9000040] 5CBCA0: 00000000 00000000 00000000 00000002 00000000 00000000 00000000 00000008
[ 9.9000040] 5CBCC0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 9.9000040] 5CBCE0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 9.9000040] 5CBD00: 00000000 00000000 00000000 00000000 0F5CBD44 0F5CBDDC 0E0040EA 0F5CBD2C
[ 9.9000040] 5CBD20: 00000008 00000145 0DFFFFFC 0F26F6E0 0000000D 01570000 0E1A0538 0FF00000
[ 9.9000040] 5CBD40: 00000071 00000000 0FF04000 0F26F6E0 0DFFFFFC 0FF02000 0F26F6E0 0E004AA0
[ 9.9000040] 5CBD60: 0E030DF4 0F5CBDDC 0DFFFFFC 00000000 24000E00 620EB008 0E2C0145 B6A90004
[ 9.9000040] 5CBD80: 0DFFFFFC 0DFFFFFC 0DFFFFFC 22112211 0E006214 0E006212 0E006210 FFFFFFFF
[ 9.9000040] 5CBDA0: B6A9FF0B 000F1487 0DFFFFFC 0E0B58DE 00003030 00000000 81207801 0E00620E
[ 9.9000040] 5CBDC0: 00000000 00000AB8 0F5CBDC4 0FF02000 F3000AB8 0E19E674 0E1A0538 0F5CBE14
[ 9.9000040] 5CBDE0: 0E006388 0E1A0538 F3000AB8 0FF02000 0FF00000 000007F8 0FF04000 0E2E1480
[ 9.9000040] 5CBE00: 0E030E82 0E30FEE0 0E1A0538 0E006624 0E2E1160 0F5CBE5C 0E006662 0E1A0538
[ 9.9000040] 5CBE20: 0FF00000 0FF04000 0FF04000 000007F8 0FF04000 0E2E1480 0E030E82 0E30FEE0
[ 9.9100040] panic: MMU fault
[ 9.9200040] cpu0: Begin traceback...
[ 9.9300040] ?(?)
[ 10.0300040] db_panic(8,ffffff7f,145,e0f1952,f5cbc40) at 0
[ 10.1800040] vpanic(e16c919,f5cbc4c,f5cbd14,e008bcc,e16c919) + 166
[ 10.4200040] ?(e16c919,1570000,e1a0538,ff00000,71) at e0f195e
[ 10.5800040] trap(f5cbd2c,8,145,dfffffc) + 15e
[ 10.9300040] pv_unlink(?)
[ 11.0500040] kbd_sun_set_leds1(e1a0538,f3000ab8,ff02000) + 28
[ 11.2100040] pmap_remove_mmu(?)
[ 11.3300040] kbd_sun_do_cmd(e1a0538,ff00000,ff04000) + e6
[ 11.4900040] pmap_remove1(e1a0538,ff00000,ff04000) + 3a
[ 11.6300040] pmap_remove(e1a0538,ff00000,ff04000) + 52
[ 11.8400040] ?(e1a05b4,e2cef40) at e004f4a
[ 11.9800040] si_dma_free(e2e1000) + 6c
[ 12.1200040] ncr5380_done(?)
[ 12.2400040] in_control0(e2e1000) + 1e
[ 12.3800040] ncr5380_machine(?)
[ 12.5000040] in_control0(e2e1000) + 116
[ 12.6200040] ncr5380_intr(e2e1000) + 32
[ 12.8400040] si_intr(e2e1000) + 74
[ 12.9600040] isr_autovec(0,c,e0044aa,e2e2040,20000e00) + 82
[ 13.2000040] fmterr(e2e2040) + 230
[ 13.3300040] lwp_trampoline() + e
[ 13.3400040] cpu0: End traceback...
Stopped in pid 0.2 (system) at netbsd:cpu_Debugger+0x6: unlk a6
db> reboot 8
ncr5380_machine: unexpected disconnect.
[ 13.3700040] vm_fault(0xe1a9e98, 0xdffe000, 0x1) -> 0xe
[ 13.3800040] trap type=0x8, code=0x145, v=0xdfffffc
[ 13.3900040] kernel: MMU fault trap
[ 13.4000040] Skipping crash dump on recursive panic
[ 13.4100040] panic: trap during panic!
[ 13.4200040] cpu0: Begin traceback...
[ 13.4400040] ?(?)
[ 13.5500040] db_panic(8,2400,145,e0f1952,e003af0) at 0
[ 13.5900040] cpu0: End traceback...
Stopped in pid 0.2 (system) at netbsd:cpu_Debugger+0x6: unlk a6
db>
---
patched (disable pseudo-devices etc.) 10.0_RC2 GENERIC dmesg:
---
[ 1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[ 1.000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[ 1.000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[ 1.000000] 2024
[ 1.000000] The NetBSD Foundation, Inc. All rights reserved.
[ 1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.000000] The Regents of the University of California. All rights reserved.
[ 1.000000] NetBSD 10.0_RC2 (GENERIC) #2: Sat Jan 13 04:46:15 JST 2024
[ 1.000000] tsutsui@mirage:/s/netbsd-10/src/sys/arch/sun3/compile/GENERIC
[ 1.000000] Model: sun3 60
[ 1.000000] fpu: mc68881
[ 1.000000] total memory = 24576 KB
[ 1.000000] avail memory = 22168 KB
[ 1.000000] timecounter: Timecounters tick every 10.000 msec
[ 1.000000] mainbus0 (root)
[ 1.000000] obio0 at mainbus0
[ 1.000000] zsc0 at obio0 addr 0x0 ipl 6: (softpri 3)
[ 1.000000] kbd0 at zsc0 channel 0: baud rate 1200 (console input)
[ 1.000000] ms0 at zsc0 channel 1: baud rate 1200
[ 1.000000] zsc1 at obio0 addr 0x20000 ipl 6: (softpri 3)
[ 1.000000] zstty0 at zsc1 channel 0
[ 1.000000] zstty1 at zsc1 channel 1
[ 1.000000] eeprom0 at obio0 addr 0x40000
[ 1.000000] oclock0 at obio0 addr 0x60000 ipl 5: intersil7170
[ 1.000000] memerr0 at obio0 addr 0x80000 ipl 7: (Parity memory)
[ 1.000000] intreg0 at obio0 addr 0xa0000
[ 1.000000] le0 at obio0 addr 0x120000 ipl 3: address 08:00:20:xx:xx:xx
[ 1.000000] le0: 8 receive buffers, 2 transmit buffers
[ 1.000000] si0 at obio0 addr 0x140000 ipl 2: options=0xf
[ 1.000000] scsibus0 at si0: 8 targets, 8 luns per target
[ 1.000000] obmem0 at mainbus0
[ 1.000000] bwtwo0 at obmem0 addr 0xff000000 (1152x900)
[ 1.000000] enabling interrupts
[ 1.000000] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
[ 1.030004] scsibus0: waiting 2 seconds for devices to settle...
[ 1.170004] WARNING: system needs entropy for security; see entropy(7)
[ 3.420004] sd0 at scsibus0 target 0 lun 0: <I-O DATA, HDVS-UM8G-1, 200S> disk fixed
[ 3.470004] sd0: 3820 MB, 7762 cyl, 16 head, 63 sec, 512 bytes/sect x 7824096 sectors
[ 3.510004] sd0: async, 8-bit transfers
[ 3.560004] sd1 at scsibus0 target 1 lun 0: <I-O DATA, HDVS-UM8G-2, 200S> disk fixed
[ 3.610004] sd1: 3820 MB, 7762 cyl, 16 head, 63 sec, 512 bytes/sect x 7824096 sectors
[ 3.650004] sd1: async, 8-bit transfers
[ 7.620004] boot device: sd0a
[ 7.660004] root on sd0a dumps on sd0b
[ 7.770004] root file system type: ffs
[ 7.810004] kern.module.path=/stand/sun3/10.0/modules
[ 13.200004] entropy: best effort
[ 71.620004] entropy: ready
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index