NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-sparc/45580: paths(3) test failures on sparc



FWIW, I see no easy way to decide for the test that we are running on
QEMU besides grepping /var/run/dmesg.boot for sd0 or cd0:

sd0 at scsibus0 target 0 lun 0: <QEMU, QEMU HARDDISK, 0.15> disk fixed
cd0 at scsibus0 target 2 lun 0: <QEMU, QEMU CD-ROM, 0.15> cdrom removable

there is no easily identifiable part in sysctl:

hw.machine = sparc
hw.model = SUNW,SPARCstation-5 (MB86907 @ 170 MHz, L64804 FPU)
hw.ncpu = 1
hw.byteorder = 4321
hw.physmem = 251658240
hw.usermem = 251658240
hw.pagesize = 4096
hw.disknames = sd0 cd0
hw.machine_arch = sparc
hw.alignbytes = 7
hw.cnmagic = \x27\x01
hw.physmem64 = 251658240
hw.usermem64 = 251658240
hw.iostatnames = sd0 cd0
hw.ncpuonline = 1
machdep.booted_kernel = netbsd
machdep.booted_device = /iommu/sbus/espdma/esp/sd@0,0
machdep.cpu_arch = 8


Martin


Home | Main Index | Thread Index | Old Index