Date: Sun, 23 Sep 2018 08:47:52 +0000 From: Koakuma <koachan@protonmail.com> To: freebsd-ppc <freebsd-ppc@freebsd.org> Subject: Re: 11.2 Installer Issues on G5 Message-ID: <8VqEXtrmqLfEH7-JzYiKMu_DIGaQ26--ojRfkoMMNwHkflr11fh2cjqkvqVG4-VW2avptU6L1GuR6EECknMB34RGfOnjZR-yW1iFqQjPt7c=@protonmail.com> In-Reply-To: <z4GdT2tl-TZ0qiqA02ZCDp3ItogSzS4QyJ3J8RrhH6Q0lPSz0imSpZMsj3f5_v-wCfepI0zDEvvdwazF0cyx5qI4RipRNTAfLPsyK9U9yAY=@protonmail.com> References: <74UxFOyQuHBLyuc75iDWBJXa12pEz1GDKt5gjzANOROa01XLPtZWYLPgEptA1PajEIsKGa05Nwa5Yr6aAhqHQa-Ee0AyVKqtygPWQZBpqMI=@protonmail.com> <HTUtRQ-sk5N1AQxixeyypo-jvG7T8I5cIt9bJja2qsLuQ8zuz7uuXjKv1AFwpw5VbbzmyhObcSKKvKMh0l1GNKoQjkfzSncDyqNJBYkSChw=@protonmail.com> <z4GdT2tl-TZ0qiqA02ZCDp3ItogSzS4QyJ3J8RrhH6Q0lPSz0imSpZMsj3f5_v-wCfepI0zDEvvdwazF0cyx5qI4RipRNTAfLPsyK9U9yAY=@protonmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] My bad, I forgot to include this: 6. Turning off SMP seems to get rid of the hangs entirely, without the need to set hw.ata.atapi_dma to 0, doing a verbose boot, or putting load on the system with yes(1). It does slow the OS down a lot, though. The worst affected are USB devices, where a lot of it would just fail to connect when plugged in with a bunch of "timed out", USB_ERR_TIMEOUT, or USB_ERR_STALLED errors, that would only stop when I unplug the device. Attached is the /var/run/dmesg.boot of a sucessful boot with SMP turned off. Also, should I post those things to the bug tracker too? The whole thing looks a lot like a bug, even though I'm not sure if it can be reproduced easily on other machines. ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Saturday, September 22, 2018 9:46 PM, Koakuma <koachan@protonmail.com> wrote: > Today I tried playing a bit more with the machine and found some curious > things that might be of interest: > > 1. To the best of my observation, the hang seems to happen only when > there's some disk activity (pre-installer booting, partitioning, > cheksumming and extracting the files, etc.). > > 2. Booting with set hw.ata.atapi_dma=0 and boot -v as per tingox's > suggestion at https://sites.google.com/site/tingox/powermac_g5_freebsd > seems to increase the chance that I get into the installer welcome > page (the one with the Install/Shell/Live CD menu) successfully, > but it doesn't help with the hangs inside the installer itself. > > 3. If I'm being lucky enough to get into the installer welcome page, > I can choose "Live CD" and play with the provided shell without any > problem... that is until I try to do something that touches the disk. > I even tried to run several instances of yes(1) to put some load on > the machine, and it runs just fine under the load. > > 4. Running two instances of yes(1) along with the installer seems to get > rid of the hangs in the install process. Sadly, the problem is > still present in the installed system. > > 5. The same drive (a 1 TB Seagate BarraCuda) works just fine with macOS. > > Attached is the /var/run/dmesg.boot of a "Live CD" session. [-- Attachment #2 --] Copyright (c) 1992-2018 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 11.2-RELEASE #0 r335510: Fri Jun 22 04:26:58 UTC 2018 root@releng2.nyi.freebsd.org:/usr/obj/powerpc.powerpc64/usr/src/sys/GENERIC64 powerpc gcc version 4.2.1 20070831 patched [FreeBSD] VT(ofwfb): resolution 1920x1080 cpu0: IBM PowerPC 970MP revision 1.0, 2000.31 MHz cpu0: Features dc000000<PPC32,PPC64,ALTIVEC,FPU,MMU> cpu0: HID0 1511081<DEEPNAP,NAP,DPM,NHR,TBEN,ENATTN> real memory = 17137262592 (16343 MB) avail memory = 16417259520 (15656 MB) random: entropy device external interface kbd0 at kbdmux0 ofwbus0: <Open Firmware Device Tree> on nexus0 cpulist0: <Open Firmware CPU Group> on ofwbus0 cpu0: <Open Firmware CPU> on cpulist0 pcr0: <PPC 970 Power Control Register> on cpu0 cpu1: <Open Firmware CPU> on cpulist0 pcr1: <PPC 970 Power Control Register> on cpu1 powermac_nvram0: <Apple NVRAM> mem 0xfff04000-0xfff07fff on ofwbus0 powermac_nvram0: bank0 generation 290, bank1 generation 291 unin0: <Apple UniNorth System Controller> mem 0xf8000000-0xf8ffffff on ofwbus0 unin0: Version 66 iichb0: <Keywest I2C controller> mem 0xf8001000-0xf8001fff irq 0 on unin0 iicbus0: <OFW I2C bus> on iichb0 ds17750: <Temp-Monitor DS1775> at addr 0x94 on iicbus0 ds16310: <Temp-Monitor DS1631> at addr 0x96 on iicbus0 max66900: <Temp-Monitor MAX6690> at addr 0x98 on iicbus0 max66901: <Temp-Monitor MAX6690> at addr 0x9c on iicbus0 htpic0: <OpenPIC Interrupt Controller> mem 0xf8040000-0xf807ffff on unin0 pcib0: <IBM CPC945 PCI Express Root> mem 0xf0000000-0xf1ffffff on ofwbus0 pci0: <OFW PCI bus> on pcib0 vgapci0: <VGA-compatible display> mem 0x92000000-0x92ffffff,0x98000000-0x9fffffff,0x91000000-0x91ffffff irq 3 at device 0.0 on pci0 vgapci0: Boot video device pcib1: <IBM CPC9X5 HyperTransport Tunnel> mem 0xf2000000-0xf47fffff,0xf8070000-0xf8070fff on ofwbus0 pcib1: 86 HT IRQs on device 7.0 pci1: <OFW PCI bus> on pcib1 pcib1: Enabling MSI window for HyperTransport slave at pci1:0:1:0 pcib2: <OFW PCI-PCI bridge> at device 1.0 on pci1 pci2: <OFW PCI bus> on pcib2 pcib3: <OFW PCI-PCI bridge> at device 2.0 on pci1 pci3: <OFW PCI bus> on pcib3 bge0: <Broadcom BCM5714 B3, ASIC rev. 0x008003> mem 0xfa530000-0xfa53ffff,0xfa520000-0xfa52ffff irq 66 at device 4.0 on pci3 bge0: CHIP ID 0x00008003; ASIC REV 0x08; CHIP REV 0x80; PCI-X 33 MHz miibus0: <MII bus> on bge0 brgphy0: <BCM5780 1000BASE-T media interface> PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge0: Ethernet address: 00:14:51:62:80:57 bge1: <Broadcom BCM5714 B3, ASIC rev. 0x008003> mem 0xfa510000-0xfa51ffff,0xfa500000-0xfa50ffff irq 67 at device 4.1 on pci3 bge1: CHIP ID 0x00008003; ASIC REV 0x08; CHIP REV 0x80; PCI-X 33 MHz miibus1: <MII bus> on bge1 brgphy1: <BCM5780 1000BASE-T media interface> PHY 1 on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge1: Ethernet address: 00:14:51:62:80:58 pcib4: <OFW PCI-PCI bridge> at device 3.0 on pci1 pci4: <OFW PCI bus> on pcib4 pcib5: <OFW PCI-PCI bridge> at device 4.0 on pci1 pci5: <OFW PCI bus> on pcib5 pcib6: <OFW PCI-PCI bridge> at device 5.0 on pci1 pci6: <OFW PCI bus> on pcib6 pcib7: <OFW PCI-PCI bridge> at device 6.0 on pci1 pci7: <OFW PCI bus> on pcib7 pcib8: <OFW PCI-PCI bridge> at device 7.0 on pci1 pci8: <OFW PCI bus> on pcib8 gem0: <Apple Shasta GMAC Ethernet> mem 0xfa200000-0xfa3fffff at device 15.0 on pci8 gem0: invalid MAC address device_attach: gem0 attach returned 6 pcib9: <OFW PCI-PCI bridge> at device 8.0 on pci1 pci9: <OFW PCI bus> on pcib9 macio0: <Shasta I/O Controller> mem 0x80000000-0x8007ffff at device 7.0 on pci9 macgpio0: <MacIO GPIO Controller> mem 0x50-0x8a on macio0 scc0: <Zilog Z8530 dual channel SCC> mem 0x13000-0x13fff,0x8400-0x84ff,0x8500-0x85ff,0x8600-0x86ff,0x8700-0x87ff irq 23,17,18,24,19,20 on macio0 uart0: <z8530, channel A> on scc0 uart1: <z8530, channel B> on scc0 iichb1: <Keywest I2C controller> mem 0x18000-0x18fff irq 27 on macio0 iicbus1: <OFW I2C bus> on iichb1 onyx0: <Texas Instruments PCM3052 Audio Codec> at addr 0x8c on iicbus1 iicbus1: <unknown card> at addr 0x24 pcm0: <Apple I2S Audio Controller> mem 0x10000-0x10fff,0x8000-0x80ff,0x8100-0x81ff irq 28,11,12,30,15,16 on macio0 ohci0: <NEC uPD 9210 USB controller> mem 0x80082000-0x80082fff irq 70 at device 11.0 on pci9 usbus0 on ohci0 ohci1: <NEC uPD 9210 USB controller> mem 0x80081000-0x80081fff irq 70 at device 11.1 on pci9 usbus1 on ohci1 ehci0: <NEC uPD 72010x USB 2.0 controller> mem 0x80080000-0x800800ff irq 70 at device 11.2 on pci9 usbus2: EHCI version 1.0 usbus2 on ehci0 pcib10: <OFW PCI-PCI bridge> at device 9.0 on pci1 pci10: <OFW PCI bus> on pcib10 atapci0: <ServerWorks K2 SATA150 controller> mem 0xfa402000-0xfa403fff irq 10 at device 12.0 on pci10 pcib1: failed to reserve resource for pcib10 atapci0: 0x10 bytes of rid 0x20 res 4 failed (0, 0xffffffffffffffff). ata2: <ATA channel> at channel 0 on atapci0 ata3: <ATA channel> at channel 1 on atapci0 ata4: <ATA channel> at channel 2 on atapci0 ata5: <ATA channel> at channel 3 on atapci0 ata0: <Shasta Kauai ATA Controller> mem 0xfa404000-0xfa407fff irq 38,37 at device 13.0 on pci10 fwohci0: <1394 Open Host Controller Interface> mem 0xfa400000-0xfa400fff irq 39 at device 14.0 on pci10 fwohci0: OHCI version 1.0 (ROM=0) fwohci0: No. of Isochronous channels is 8. fwohci0: EUI64 00:14:51:ff:fe:1e:25:fc fwohci0: invalid speed 7 (fixed to 3). fwohci0: Phy 1394a available S800, 3 ports. fwohci0: Link S800, max_rec 4096 bytes. firewire0: <IEEE1394(FireWire) bus> on fwohci0 fwe0: <Ethernet over FireWire> on firewire0 if_fwe0: Fake Ethernet address: 02:14:51:1e:25:fc fwe0: Ethernet address: 02:14:51:1e:25:fc sbp0: <SBP-2/SCSI over FireWire> on firewire0 fwohci0: Initiate bus reset fwohci0: fwohci_intr_core: BUS reset fwohci0: PhysicalUpperBound register is not implemented. Physical memory access is limited to the first 4GB fwohci0: PhysicalUpperBound = 0x00000000 fwohci0: fwohci_intr_core: node_id=0x00000001, SelfID Count=1, CYCLEMASTER mode smu0: <Apple System Management Unit> on ofwbus0 smu0: registered as a time-of-day clock, resolution 0.001000s iichb2: <SMU I2C controller> on smu0 iicbus2: <OFW I2C bus> on iichb2 smusat0: <SMU Satellite Sensors> at addr 0xb0 on iicbus2 iicbus2: <unknown card> at addr 0xd4 iichb3: <SMU I2C controller> on smu0 iicbus3: <OFW I2C bus> on iichb3 Timecounter "timebase" frequency 33333333 Hz quality 0 Event timer "decrementer" frequency 33333333 Hz quality 1000 Timecounters tick every 1.000 msec firewire0: 2 nodes, maxhop <= 1 cable IRM irm(1) (me) firewire0: bus manager 1 max66900: 2 sensors detected. max66901: 2 sensors detected. usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 ugen0.1: <NEC OHCI root HUB> at usbus0 uhub0: <NEC OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0 ugen1.1: <NEC OHCI root HUB> at usbus1 uhub1: <NEC OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1 usbus2: 480Mbps High Speed USB v2.0 ugen2.1: <NEC EHCI root HUB> at usbus2 uhub2: <NEC EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2 uhub0: 3 ports with 3 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 5 ports with 5 removable, self powered ugen2.2: <SMSC USB2137B> at usbus2 uhub3 on uhub2 uhub3: <SMSC USB2137B, class 9/0, rev 2.10/60.80, addr 2> on usbus2 uhub3: MTT enabled ada0 at ata3 bus 0 scbus1 target 0 lun 0 ada0: <ST1000DM010-2EP102 CC43> ATA8-ACS SATA 3.x device ada0: Serial Number Z9ASSKMZ ada0: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes) ada0: 953869MB (1953525168 512 byte sectors) ada0: quirks=0x1<4K> cd0 at ata0 bus 0 scbus4 target 0 lun 0 cd0: <HL-DT-ST DVD-RW GWA-4165B C006> Removable CD-ROM SCSI device cd0: Serial Number 41D571720769 cd0: 66.700MB/s transfers (UDMA4, ATAPI 12bytes, PIO 65534bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/ada0s3 [rw]... uhub3: 7 ports with 4 removable, self powered ugen2.3: <vendor 0x04d9 USB-HID Keyboard> at usbus2 ukbd0 on uhub3 ukbd0: <vendor 0x04d9 USB-HID Keyboard, class 0/0, rev 1.10/11.01, addr 3> on usbus2 kbd1 at ukbd0 uhid0 on uhub3 uhid0: <vendor 0x04d9 USB-HID Keyboard, class 0/0, rev 1.10/11.01, addr 3> on usbus2 ums0 on uhub3 ums0: <vendor 0x04d9 USB-HID Keyboard, class 0/0, rev 1.10/11.01, addr 3> on usbus2 ums0: 3 buttons and [XYZ] coordinates ID=3 random: unblocking device. ugen2.4: <vendor 0x1bcf USB Optical Mouse> at usbus2 ums1 on uhub3 ums1: <vendor 0x1bcf USB Optical Mouse, class 0/0, rev 2.00/0.14, addr 4> on usbus2 ums1: 3 buttons and [XYZT] coordinates ID=1 ugen2.5: <vendor 0x214b USB2.0 HUB> at usbus2 uhub4 on uhub3 uhub4: <vendor 0x214b USB2.0 HUB, class 9/0, rev 2.00/1.00, addr 5> on usbus2 uhub4: 4 ports with 4 removable, self powered ugen2.6: <Microchip Technology Inc. U2417H0B2915083001> at usbus2 uhid1 on uhub3 uhid1: <Microchip Technology Inc. U2417H0B2915083001, class 0/0, rev 2.00/0.02, addr 6> on usbus2help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8VqEXtrmqLfEH7-JzYiKMu_DIGaQ26--ojRfkoMMNwHkflr11fh2cjqkvqVG4-VW2avptU6L1GuR6EECknMB34RGfOnjZR-yW1iFqQjPt7c=>
