Re: NetBSD installation woes on Sun Blade 100

Connor McLaughlan <[email protected]>
Newsgroups gmane.os.netbsd.ports.sparc64
Message-ID <CABo1Du5ie1+rHNqxRYw-qtxvn_CUBXQW+0=d5FhHn+mjQJaq+w@mail.gmail.com>
On Wed, Jul 22, 2020 at 7:19 AM Martin Husemann <[email protected]> wrote:
>
> On Wed, Jul 22, 2020 at 01:30:13AM +0200, Connor McLaughlan wrote:
> > I have set output-device only to screen.
> > I doubled the SSIZE and the mach64 drivers seems to work as it should
> > on my machine (Sun Blade 100).
>
> Now I am completely confused. Can you please post full dmesg for that
> kernel and the patch you used?
>
> Martin

I used a GENERIC configuration and modified it only to be an insecure kernel.

I applied this change:
/usr/src/sys/arch/sparc64/include/param.h
I set both SSIZE values from 2 to 4. Guess the first value is the one
that counts.

My dmesg:
[     1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001,
2002, 2003, 2004, 2005,
[     1.000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
2014, 2015, 2016, 2017,
[     1.000000]     2018, 2019, 2020 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 9.0_STABLE (MYKERNEL) #0: Wed Jul 22 00:10:33 CEST 2020
[     1.000000]     root@localhost:/usr/src/sys/arch/sparc64/compile/MYKERNEL
[     1.000000] total memory = 2048 MB
[     1.000000] avail memory = 1992 MB
[     1.000000] timecounter: Timecounters tick every 10.000 msec
[     1.000000] Kernelized RAIDframe activated
[     1.000000] running cgd selftest aes-xts-256 aes-xts-512 done
[     1.000000] mainbus0 (root): SUNW,Sun-Blade-100 (Sun Blade 100):
hostid 400000
[     1.000000] cpu0 at mainbus0: SUNW,UltraSPARC-IIe @ 502 MHz, CPU id 0
[     1.000000] cpu0: manuf 17, impl 13, mask 14
[     1.000000] cpu0: system tick frequency 5.555 MHz
[     1.000000] cpu0: 16K instruction (32 b/l), 16K data (32 b/l),
256K external (64 b/l)
[     1.000000] psycho0 at mainbus0
[     1.000000] psycho0: pci108e,a001: impl 0, version 0: ign 7c0 bus
range 0 to 1; PCI bus 0
[     1.000000] pci0 at psycho0
[     1.000000] pci0: i/o space, memory space enabled
[     1.000000] ebus0 at pci0 dev 12 function 0: Sun Microsystems PCIO
Ebus2 (US III), revision 0x01
[     1.000000] flashprom at ebus0 addr 0-fffff not configured
[     1.000000] clock0 at ebus0 addr 0-1fff: mk48t59
[     1.000000] autoconfiguration error: ebus_attach: idprom: incomplete
[     1.000000] ebus1 at pci0 dev 7 function 0: Acer Labs M1533
PCI-ISA Bridge, revision 0x00
[     1.000000] dma at ebus1 addr 0-ffff ipl 2a not configured
[     1.000000] power at ebus1 addr 800-82f ipl 20 not configured
[     1.000000] com0 at ebus1 addr 3f8-3ff ipl 2b: ns16550a, working fifo
[     1.000000] com1 at ebus1 addr 2e8-2ef ipl 2b: ns16550a, working fifo
[     1.000000] alipm0 at pci0 dev 3 function 0: 223KHz clock
[     1.000000] iic0 at alipm0: I2C bus
[     1.000000] admtemp0 at iic0 addr 0x18: MAX1617A temperature
sensor: id. 0x41, rev. 0x3c
[     1.000000] spdmem0 at iic0 addr 0x50
[     1.000000] spdmem0: SDRAM, data ECC, 512MB, 133MHz (PC-133)
[     1.000000] spdmem0: 13 rows, 10 cols, 2 banks, 4 banks/chip,
7.5ns cycle time
[     1.000000] spdmem0: tAA-tRCD-tRP-tRAS: 3-20-20-45
[     1.000000] spdmem0: voltage LvTTL (not 5V tolerant), refresh time
7.8us (self-refreshing)
[     1.000000] spdmem1 at iic0 addr 0x51
[     1.000000] spdmem1: SDRAM, data ECC, 512MB, 133MHz (PC-133)
[     1.000000] spdmem1: 13 rows, 10 cols, 2 banks, 4 banks/chip,
7.5ns cycle time
[     1.000000] spdmem1: tAA-tRCD-tRP-tRAS: 3-20-20-44
[     1.000000] spdmem1: voltage LvTTL (not 5V tolerant), refresh time
7.8us (self-refreshing)
[     1.000000] spdmem2 at iic0 addr 0x52
[     1.000000] spdmem2: SDRAM, data ECC, 512MB, 133MHz (PC-133)
[     1.000000] spdmem2: 13 rows, 10 cols, 2 banks, 4 banks/chip,
7.5ns cycle time
[     1.000000] spdmem2: tAA-tRCD-tRP-tRAS: 3-20-20-44
[     1.000000] spdmem2: voltage LvTTL (not 5V tolerant), refresh time
7.8us (self-refreshing)
[     1.000000] spdmem3 at iic0 addr 0x53
[     1.000000] spdmem3: SDRAM, data ECC, 512MB, 133MHz (PC-133)
[     1.000000] spdmem3: 13 rows, 10 cols, 2 banks, 4 banks/chip,
7.5ns cycle time
[     1.000000] spdmem3: tAA-tRCD-tRP-tRAS: 3-20-20-44
[     1.000000] spdmem3: voltage LvTTL (not 5V tolerant), refresh time
7.8us (self-refreshing)
[     1.000000] gem0 at pci0 dev 12 function 1: Sun Microsystems ERI
Ethernet (rev. 0x01)
[     1.000000] gem0: interrupting at ivec 3006
[     1.000000] ukphy0 at gem0 phy 1: OUI 0x0008bb, model 0x0002, rev. 1
[     1.000000] ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
[     1.000000] gem0: Ethernet address 00:0e:08:00:00:00, 2KB RX fifo,
2KB TX fifo
[     1.000000] fwohci0 at pci0 dev 12 function 2: Sun Microsystems
FireWire Controller (rev. 0x01)
[     1.000000] fwohci0: interrupting at ivec 1c
[     1.000000] fwohci0: OHCI version 1.0 (ROM=0)
[     1.000000] fwohci0: No. of Isochronous channels is 4.
[     1.000000] fwohci0: EUI64 00:0e:08:ff:fe:00:00:00
[     1.000000] fwohci0: Phy 1394a available S400, 2 ports.
[     1.000000] fwohci0: Link S400, max_rec 2048 bytes.
[     1.000000] ieee1394if0 at fwohci0: IEEE1394 bus
[     1.000000] fwip0 at ieee1394if0: IP over IEEE1394
[     1.000000] fwohci0: Initiate bus reset
[     1.000000] ohci0 at pci0 dev 12 function 3: Sun Microsystems USB
Controller (rev. 0x01)
[     1.000000] ohci0: interrupting at ivec 24
[     1.000000] ohci0: OHCI version 1.0, legacy support
[     1.000000] usb0 at ohci0: USB revision 1.0
[     1.000000] autri0 at pci0 dev 8 function 0: Acer Labs M5451
AC-Link Controller Audio Device (rev. 0x01)
[     1.000000] autri0: interrupting at ivec 23
[     1.000000] autri0: ac97: Analog Devices AD1881A codec; headphone,
Analog Devices Phat Stereo
[     1.000000] audio0 at autri0: playback, capture, full duplex, independent
[     1.000000] audio0: slinear_be:16 -> slinear_le:16 2ch 48000Hz,
blk 1920 bytes (10ms) for playback
[     1.000000] audio0: slinear_be:16 <- slinear_le:16 2ch 48000Hz,
blk 1920 bytes (10ms) for recording
[     1.000000] spkr0 at audio0: PC Speaker (synthesized)
[     1.000000] wsbell at spkr0 not configured
[     1.000000] midi0 at autri0: 4DWAVE MIDI UART
[     1.000000] aceride0 at pci0 dev 13 function 0: Acer Labs M5229
UDMA IDE Controller (rev. 0xc3)
[     1.000000] aceride0: bus-master DMA support present
[     1.000000] aceride0: using PIO transfers above 137GB as
workaround for 48bit DMA access bug, expect reduced performance
[     1.000000] aceride0: primary channel configured to native-PCI mode
[     1.000000] aceride0: using ivec 180c for native-PCI interrupt
[     1.000000] atabus0 at aceride0 channel 0
[     1.000000] aceride0: secondary channel configured to native-PCI mode
[     1.000000] atabus1 at aceride0 channel 1
[     1.000000] ppb0 at pci0 dev 5 function 0: Digital Equipment
DC21152 PCI-PCI Bridge (rev. 0x03)
[     1.000000] pci1 at ppb0 bus 1
[     1.000000] pci1: i/o space, memory space enabled
[     1.000000] machfb0 at pci0 dev 19 function 0: ATI Technologies
Rage XL (rev. 0x27)
[     1.000000] machfb0: using MMIO aperture
[     1.000000] machfb0: 16 MB aperture at 0x03000000, 4 KB registers
at 0x00426000
[     1.000000] machfb0: 128 KB ROM at 0x00440000
[     1.000000] machfb0: ref_freq=29.498MHz
[     1.000000] machfb0: 8192 KB SDRAM 114.992 MHz, maximum RAMDAC clock 230 MHz
[     1.000000] machfb0: initial resolution 1280x1024 at 8 bpp
[     1.000000] wsdisplay0 at machfb0 kbdmux 1: console (default,
vt100 emulation)
[     1.000000] wsmux1: connecting to wsdisplay0
[     1.000000] wsdisplay0: screen 1-3 added (default, vt100 emulation)
[     1.000000] direct rendering for machfb0 unsupported
[     1.000000] pcons at mainbus0 not configured
[     1.000000] fwohci0: BUS reset
[     1.000000] fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
[     1.000000] ieee1394if0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me)
[     1.000000] ieee1394if0: bus manager 0
[     1.000000] timecounter: Timecounter "clockinterrupt" frequency
100 Hz quality 0
[     1.000004] timecounter: Timecounter "tick-counter" frequency
502000000 Hz quality 100
[     1.000004] timecounter: Timecounter "stick-counter" frequency
5555555 Hz quality 200
[     1.000040] No counter-timer -- using STICK at 5.555MHz as system clock.
[     1.060018] uhub0 at usb0: NetBSD (0000) OHCI root hub (0000),
class 9/0, rev 1.00/1.00, addr 1
[     1.060018] uhub0: 4 ports with 4 removable, self powered
[     3.309989] uhub1 at uhub0 port 3: vendor 0430 (0x430) product
100e (0x100e), class 9/0, rev 2.00/1.05, addr 2
[     3.329990] uhub1: 4 ports with 3 removable, bus powered
[     4.219980] wd0 at atabus0 drive 0
[     4.219980] wd0: <ST380011A>
[     4.219980] wd0: drive supports 16-sector PIO transfers, LBA48 addressing
[     4.219980] wd0: 76318 MB, 155058 cyl, 16 head, 63 sec, 512
bytes/sect x 156299375 sectors
[     4.239984] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA
mode 5 (Ultra/100)
[     4.239984] wd0(aceride0:0:0): using PIO mode 4, Ultra-DMA mode 4
(Ultra/66) (using DMA)
[     4.239984] atapibus0 at atabus1: 2 targets
[     4.259980] cd0 at atapibus0 drive 0: <TSSTcorpDVD-ROM TS-H352D, ,
FS00> cdrom removable
[     4.269983] cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA
mode 2 (Ultra/33)
[     4.279980] cd0(aceride0:1:0): using PIO mode 4, Ultra-DMA mode 2
(Ultra/33) (using DMA)
[     4.689976] uhidev0 at uhub1 port 3 configuration 1 interface 0
[     4.700533] uhidev0: vendor 1267 (0x1267) PS/2+USB Mouse (0x213),
rev 1.10/51.15, addr 3, iclass 3/1
[     4.710484] ums0 at uhidev0: 3 buttons and Z dir
[     4.720346] wsmouse0 at ums0 mux 0
[     5.749965] uhidev1 at uhub1 port 4 configuration 1 interface 0
[     5.749965] uhidev1: vendor 0430 (0x430) Sun USB Keyboard (0xa2),
rev 2.00/1.05, addr 4, iclass 3/1
[     5.769965] ukbd0 at uhidev1
[     6.179960] wskbd1 at ukbd0: console keyboard, using wsdisplay0
[     7.729949] uhidev2 at uhub0 port 4 configuration 1 interface 0
[     7.729949] uhidev2: SONiX (0xc45) USB DEVICE (0x8513), rev
2.00/1.04, addr 5, iclass 3/1
[     7.740584] ukbd1 at uhidev2
[     8.149940] wskbd2 at ukbd1 mux 1
[     8.149940] wskbd2: connecting to wsdisplay0
[     8.149940] uhidev3 at uhub0 port 4 configuration 1 interface 1
[     8.149940] uhidev3: SONiX (0xc45) USB DEVICE (0x8513), rev
2.00/1.04, addr 5, iclass 3/1
[     8.169942] uhidev3: 4 report ids
[     8.169942] ukbd2 at uhidev3 reportid 1
[     8.589936] wskbd3 at ukbd2 mux 1
[     8.589936] wskbd3: connecting to wsdisplay0
[     8.589936] uhid0 at uhidev3 reportid 2: input=1, output=0, feature=0
[     8.589936] uhid1 at uhidev3 reportid 3: input=2, output=0, feature=0
[     8.606118] uhid2 at uhidev3 reportid 4: input=63, output=63, feature=0
[     8.619943] WARNING: 1 error while detecting hardware; check system log.
[     8.630223] root on wd0a dumps on wd0b
[     8.639940] root file system type: ffs
[     8.639940] kern.module.path=/stand/sparc64/9.0/modules
[    11.359908] autoconfiguration error: aceride0:1:0: lost interrupt
[    11.359908]     type: atapi tc_bcount: 32 tc_skip: 0
[    11.359908] autoconfiguration error: aceride0:1:0: bus-master DMA
error: missing interrupt, status=0x21
[    11.376239] aceride0:1:0: device timeout, c_bcount=32, c_skip=0
[    11.376239] cd0: autoconfiguration error: transfer error,
downgrading to Ultra-DMA mode 1
[    11.376239] cd0(aceride0:1:0): using PIO mode 4, Ultra-DMA mode 1
(using DMA)
[    11.391836] cd0(aceride0:1:0): generic HBA error
[    13.489887] autoconfiguration error: aceride0:1:0: lost interrupt
[    13.489887]     type: atapi tc_bcount: 32 tc_skip: 0
[    13.489887] autoconfiguration error: aceride0:1:0: bus-master DMA
error: missing interrupt, status=0x21
[    13.506239] aceride0:1:0: device timeout, c_bcount=32, c_skip=0
[    13.506239] cd0: autoconfiguration error: transfer error,
downgrading to PIO mode 4
[    13.506239] cd0(aceride0:1:0): using PIO mode 4
[    13.521627] cd0(aceride0:1:0): generic HBA error
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.