Port-sparc64 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Desperately seeking boot of NetBSD 11.1
On 11/17/26 04:54, Julian Coleman wrote:
Hi Dennis,
Trimming out some lines to try and pinpoint the problem.
I tried to boot the NetBSD 11.1 ISO image from an IDE disk and it causes
me confusion :
Double checking - the boot image is on a disk, not on a CD?
Therein lay the whole problem.
I had a SONY ide DVD plugged into one of the IDE ports on the
motherboard and the firmware did detect it ( probe-ide-all ) and
I was careful to burn the CD image and read-back verify it.
All a pile of lost time as the machine has no clue how to boot
that DVD device.
So then I just fall back to trusty netboot of Solaris 10 which works
like a charm. Once that is up in single user mode I mount NFS storage
and then "dd" the NetBSD iso image onto the secondary hard disk.
That will not work.
So I am going to try a miniroot.
Probing /pci@1f,0 Device d ide disk cdrom
The FW looks for both disk and CD drives. I can't remember if this means
that there is a CD drive present or not.
ok boot /pci@1f,0/ide@d/disk@2,0:f
Boot device: /pci@1f,0/ide@d/disk@2,0:f File and args:
NetBSD IEEE 1275 Multi-FS Bootblock
You booted from a disk and partition f.
[ 1.0000000] atabus0 at aceride0 channel 0
[ 1.0000000] atabus1 at aceride0 channel 1
We probed the IDE buses ...
[ 4.2899894] wd0 at atabus0 drive 0
[ 4.3311315] wd0: <ST340016A>
[ 4.3680198] wd0: 38166 MB, 77545 cyl, 16 head, 63 sec, 512 bytes/sect x
78165360 sectors
[ 4.4799888] wd1 at atabus1 drive 0
[ 4.5203466] wd1: <ST340014A>
[ 4.5579612] wd1: 38166 MB, 77545 cyl, 16 head, 63 sec, 512 bytes/sect x
78165360 sectors
... and we found 2 disks (wd0 as master on atabus0, and wd1 as master on
atabus1, IIRC) and no CD drive.
No CD drive. Exactly. I do not even know if this Netra X1
was *ever* a thing with a CDROM option.
ok devalias
disk /pci@1f,0/ide@d/disk@0,0
rtc /pci@1f,0/isa@7/rtc@0,70
usb /pci@1f,0/usb@a
flash /pci@1f,0/isa@7/flashprom@1f,0
lom /pci@1f,0/isa@7/SUNW,lomh@0,8010
i2c-nvram /pci@1f,0/pmu@3/i2c@0,0/i2c-nvram@0,aa
net1 /pci@1f,0/ethernet@5
dload1 /pci@1f,0/ethernet@5:,
dload /pci@1f,0/ethernet@c:,
net0 /pci@1f,0/ethernet@c
net /pci@1f,0/ethernet@c
cdrom /pci@1f,0/ide@d/cdrom@3,0:f
disk3 /pci@1f,0/ide@d/disk@3,0
disk2 /pci@1f,0/ide@d/disk@2,0
disk1 /pci@1f,0/ide@d/disk@1,0
disk0 /pci@1f,0/ide@d/disk@0,0
ide /pci@1f,0/ide@d
floppy /pci@1f,0/isa@7/dma/floppy
ttyb /pci@1f,0/isa@7/serial@0,2e8
ttya /pci@1f,0/isa@7/serial@0,3f8
The "cdrom" device alias does not mean much. It does not exist.
Does mot matter at this point.
[ 4.7499861] root on wd1a dumps on wd1b
[ 4.7999858] Supported file systems: mfs lfs ffs ext2fs nfs umap procfs
overlay null kernfs fdesc union tmpfs puffs ptyfs ntfs msdos efs cd9660 coda
[ 4.9611144] no file system for wd1 (dev 0xc08)
[ 5.0120292] cannot mount root, error = 79
[ 5.0619069] root device (default wd1a):
[ 5.1902211] dump device (default wd1b):
[ 5.9382841] file system (default generic):
[ 6.9192563] root on wd1a dumps on wd1b
[ 6.9791727] Supported file systems: mfs lfs ffs ext2fs nfs umap procfs
overlay null kernfs fdesc union tmpfs puffs ptyfs ntfs msdos efs cd9660 coda
[ 7.1426149] no file system for wd1 (dev 0xc08)
The kernel thinks that the root partition is the first (a) on wd1. I'm
fairly sure that wd1 is disk@2,0, so that seems OK. I'm puzzled though
as to why the kernel tries wd1a but the boot partition is f.
Well I give up .. this makes no sense to me.
What am I missing here?
Can you try wd1f as the root partition? I've never tried copying the ISO
image to a disk (rather than a CD) so I'm guessing here. The filesystem
type is probably OK as ffs - I don't think that cd9660 makes sense for a
disk (but I could be wrong here).
That is worth a try!
ok
ok boot /pci@1f,0/ide@d/disk@2,0:f
Boot device: /pci@1f,0/ide@d/disk@2,0:f File and args:
NetBSD IEEE 1275 Multi-FS Bootblock
Version $NetBSD: bootblk.fth,v 1.18 2025/02/28 09:07:12 andvar Exp $
>> NetBSD/sparc64 OpenFirmware Boot, Revision 1.20 (Mon Nov 2 16:34:32
UTC 2026)
=0xbbc7b8
Loading netbsd: 12306296+515160+330408 [753000+495291]=0xeffca0
[ 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, 2025, 2026
[ 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 11.1 (GENERIC) #0: Mon Nov 2 16:34:32 UTC 2026
[ 1.0000000]
mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/sparc64/compile/GENERIC
[ 1.0000000] total memory = 1024 MB
[ 1.0000000] avail memory = 983 MB
[ 1.0000000] mainbus0 (root): SUNW,UltraAX-i2 (Sun Netra X1): hostid
83133c25
[ 1.0000000] cpu0 at mainbus0: SUNW,UltraSPARC-IIe @ 500 MHz, CPU id 0
[ 1.0000000] cpu0: manuf 17, impl 13, mask 14
[ 1.0000000] cpu0: system tick frequency 5.555 MHz
[ 1.0000000] cpu0: 16K instruction (32 b/l), 16K data (32 b/l), 256K
external (64 b/l)
[ 1.0000000] psycho0 at mainbus0
[ 1.0000000] psycho0: SUNW,sabre: impl 0, version 0: ign 7c0 bus range
0 to 0; PCI bus 0
[ 1.0000000] pci0 at psycho0
[ 1.0000000] ebus0 at pci0 dev 7 function 0: Acer Labs M1533 PCI-ISA
Bridge, revision 0x00
[ 1.0000000] dma at ebus0 addr 0-ffff ipl 2a not configured
[ 1.0000000] rtc0 at ebus0 addr 70-71: mc146818 compatible time-of-day
clock: m5819
[ 1.0000000] power at ebus0 addr 2000-2007 ipl 23 not configured
[ 1.0000000] lom0 at ebus0 addr 8010-8011 ipl 2a: SUNW,lomh: LOMlite2
rev 3.10
[ 1.0000000] com0 at ebus0 addr 3f8-3ff ipl 2b: ns16550a, 16-byte FIFO
[ 1.0000000] com0: console
[ 1.0000000] com1 at ebus0 addr 2e8-2ef ipl 2b: ns16550a, 16-byte FIFO
[ 1.0000000] flashprom at ebus0 addr 0-7ffff not configured
[ 1.0000000] alipm0 at pci0 dev 3 function 0: 74KHz clock
[ 1.0000000] iic0 at alipm0: I2C bus
[ 1.0000000] admtemp0 at iic0 addr 0x18: MAX1617A temperature sensor:
id. 0x41, rev. 0x34
[ 1.0000000] spdmem0 at iic0 addr 0x54
[ 1.0000000] spdmem0: SDRAM (registered), data ECC, 256MB, 133MHz (PC-133)
[ 1.0000000] spdmem1 at iic0 addr 0x55
[ 1.0000000] spdmem1: SDRAM (registered), data ECC, 256MB, 133MHz (PC-133)
[ 1.0000000] spdmem2 at iic0 addr 0x56
[ 1.0000000] spdmem2: SDRAM (registered), data ECC, 256MB, 133MHz (PC-133)
[ 1.0000000] spdmem3 at iic0 addr 0x57
[ 1.0000000] spdmem3: SDRAM (registered), data ECC, 256MB, 133MHz (PC-133)
[ 1.0000000] seeprom0 at iic0 addr 0x50: i2c-nvram: size 8192
[ 1.0000000] seeprom1 at iic0 addr 0x51: motherboard-fru: size 8192
[ 1.0000000] tlp0 at pci0 dev 12 function 0: Davicom DM9102A Ethernet,
pass 3.1
[ 1.0000000] tlp0: interrupting at ivec 3006
[ 1.0000000] tlp0: Ethernet address 00:03:ba:13:3c:25
[ 1.0000000] dmphy0 at tlp0 phy 1: DM9102 10/100 media interface, rev. 0
[ 1.0000000] dmphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
[ 1.0000000] tlp1 at pci0 dev 5 function 0: Davicom DM9102A Ethernet,
pass 3.1
[ 1.0000000] tlp1: interrupting at ivec 301c
[ 1.0000000] tlp1: Ethernet address 00:03:ba:13:3c:26
[ 1.0000000] dmphy1 at tlp1 phy 1: DM9102 10/100 media interface, rev. 0
[ 1.0000000] dmphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
[ 1.0000000] ohci0 at pci0 dev 10 function 0: Acer Labs M5237 USB 1.1
Host Controller (rev. 0x03)
[ 1.0000000] ohci0: interrupting at ivec 24
[ 1.0000000] ohci0: OHCI version 1.0, legacy support
[ 1.0000000] usb0 at ohci0: USB revision 1.0
[ 1.0000000] aceride0 at pci0 dev 13 function 0: Acer Labs M5229 UDMA
IDE Controller (rev. 0xc3)
[ 1.0000000] aceride0: using ivec 280c for native-PCI interrupt
[ 1.0000000] atabus0 at aceride0 channel 0
[ 1.0000000] atabus1 at aceride0 channel 1
[ 1.0000000] pcons at mainbus0 not configured
[ 1.0000000] WARNING: system needs entropy for security; see entropy(7)
[ 1.0000413] No counter-timer -- using STICK at 5.555MHz as system clock.
[ 1.1100429] uhub0 at usb0: NetBSD (0x0000) OHCI root hub (0x0000),
class 9/0, rev 1.00/1.00, addr 1
[ 4.2899888] wd0 at atabus0 drive 0
[ 4.3311289] wd0: <ST340016A>
[ 4.3682251] wd0: 38166 MB, 77545 cyl, 16 head, 63 sec, 512 bytes/sect
x 78165360 sectors
[ 4.4799885] wd1 at atabus1 drive 0
[ 4.5226296] wd1: <ST340014A>
[ 4.5604530] wd1: 38166 MB, 77545 cyl, 16 head, 63 sec, 512 bytes/sect
x 78165360 sectors
[ 4.6799916] swwdog0: software watchdog initialized
[ 4.7499855] root on wd1a dumps on wd1b
[ 4.7999897] Supported file systems: mfs lfs ffs ext2fs nfs umap
procfs overlay null kernfs fdesc union tmpfs puffs ptyfs ntfs msdos efs
cd9660 coda
[ 4.9604901] no file system for wd1 (dev 0xc08)
[ 5.0134814] cannot mount root, error = 79
[ 5.0633578] root device (default wd1a): wd1f
[ 8.4302993] dump device (default wd1b):
[ 8.5488572] file system (default generic):
[ 8.6905192] root on wd1f dumps on wd1b
[ 8.7498060] root file system type: ffs
[ 8.7983247] kern.module.path=/stand/sparc64/11.1/modules
[ 8.8619115] init path (default /sbin/init):
[ 9.3977694] init: trying /sbin/init
[ 9.4394091] exec /sbin/init: error 2
[ 9.4820178] init path (default /sbin/oinit):
[ 9.6254244] init: trying /sbin/oinit
[ 9.6681935] exec /sbin/oinit: error 2
[ 9.7118350] init path (default /sbin/init.bak):
[ 10.4967840] init: trying /sbin/init.bak
[ 10.5426724] exec /sbin/init.bak: error 2
[ 10.5894300] init path (default /rescue/init):
[ 10.7271332] init: trying /rescue/init
[ 10.7708453] exec /rescue/init: error 2
[ 10.8155264] init path:
Well. I think the mini-root approach would work more smoothly.
Also, does the machine have a CD drive?
Nope. Sadly no. There is a strange looking set of pins on the
motherboard for some bizarre interface. No idea what that is.
It is not a run of the mill boring IDE disk ribbon cable port.
I knew that getting NetBSD 11.1 ( or current? ) onto this old
machine would be a struggle. So this is just part of the process
I guess.
--
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
Home |
Main Index |
Thread Index |
Old Index