From nobody Sun Aug 1 19:31:30 2021 X-Original-To: freebsd-ppc@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id DCFEC1340630 for ; Sun, 1 Aug 2021 19:31:43 +0000 (UTC) (envelope-from al@datazap.net) Received: from mail-ej1-x662.google.com (mail-ej1-x662.google.com [IPv6:2a00:1450:4864:20::662]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GdB8Z7419z3M7F for ; Sun, 1 Aug 2021 19:31:42 +0000 (UTC) (envelope-from al@datazap.net) Received: by mail-ej1-x662.google.com with SMTP id o5so27336848ejy.2 for ; Sun, 01 Aug 2021 12:31:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=datazap-net.20150623.gappssmtp.com; s=20150623; h=to:from:subject:message-id:disposition-notification-to:date :user-agent:mime-version:content-language; bh=8PEalEZh/ltvusPKXKXmfrRAEveTA+SPmaz4P7tdfj8=; b=a4fVu5cz5JqhA6/AWwV8QmoyjkU1uTVnkShS22z/l4hSYjbffs4xoavpL7Qzy7MdW+ GfZCKK+e+rLcyoQqNti5iQaEGYAnCf39YSgaIhIlIDXGiZfssgtcuNCsaEmIEeee5nR/ 2P8orOQ3M821YY/2rOeH7hpOzX1ZvYCuUMb4SKGZlvzEjN9d+VEYFysitgHVivbNqA9W f/q29JblCXb1qnEfNfiM7hgucGKbz3lsmeXTtelA3oqQSX2V/F/6LwG5W60yet82NANG zrzizsnmXOpy4/ctbvIYH4xvJWPBEbybDgSPxH6VXu8YftLxZAYuS3XSCWPNkFkEw705 o3Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id :disposition-notification-to:date:user-agent:mime-version :content-language; bh=8PEalEZh/ltvusPKXKXmfrRAEveTA+SPmaz4P7tdfj8=; b=Lr+67/rW7oybI48oDgAO4NlJ2tF6cNacRDF5mBMi1RM+7xtW/O12ylrFmmwdZqljSX fNAHN7iBIaco6gFf6A7N5gg+9TVCulMzV+asghUYAWaqWnWXpZeGLLok85yLCwjmLIdE xFKdcnDCyXoC7/Bn0f4p7CYWggiCxziAswzXZQwZICghNwADG8HglSYjyD16rxcyOVRF 8vmtYJdd7gfgjEE/tFU2M8w8erwWv7H9lF70hCzWANRVZIM/650l2VhTTY2q3uPt7HTv RC//mI5DzMmVCxkFc8knMZsJWph+jpnw1UaxK/hRkJFpKJZRunQo05snKoZlM0impdxz n6vg== X-Gm-Message-State: AOAM530AA7pXzKmum9Cki3Tkw1lgolSyuHzb+y9ZsgOGAZzx4YVzyUO5 kp0NZv2imI+EvuAgyv7Fj8bSH80yNgV4zNMDufaCAmtiUQSjXg== X-Google-Smtp-Source: ABdhPJxvT/7eurF4voShM3ECwfu2JcTpcpCf6g4BlBysx3fYuCRcfAZe8rtNXKH2sI0BLoxiUC7DWDgHp2Ep X-Received: by 2002:a17:906:64a:: with SMTP id t10mr12303336ejb.5.1627846296044; Sun, 01 Aug 2021 12:31:36 -0700 (PDT) Received: from agnus.datazap.net (agnus.datazap.net. [209.160.40.35]) by smtp-relay.gmail.com with ESMTP id n19sm301114edy.43.2021.08.01.12.31.34; Sun, 01 Aug 2021 12:31:35 -0700 (PDT) X-Relaying-Domain: datazap.net Received: from [127.0.0.1] (localhost [127.0.0.1]) by agnus.datazap.net (Postfix) with ESMTP id 57E2CB794B; Sun, 1 Aug 2021 15:31:29 -0400 (EDT) To: "freebsd-ppc@freebsd.org" , Justin Hibbits , Justin Hibbits From: Al Subject: yet another error Message-ID: <6c7eadc4-ccc5-0da0-0ae4-69fa2caf48b6@datazap.net> Disposition-Notification-To: Al Date: Sun, 1 Aug 2021 15:31:30 -0400 User-Agent: Mozilla/5.0 (X11; Linux ppc64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 List-Id: Porting FreeBSD to the PowerPC List-Archive: https://lists.freebsd.org/archives/freebsd-ppc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------08F81C40B62DCACA66D6590D" Content-Language: en-US X-Rspamd-Queue-Id: 4GdB8Z7419z3M7F X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=datazap-net.20150623.gappssmtp.com header.s=20150623 header.b=a4fVu5cz; dmarc=none; spf=none (mx1.freebsd.org: domain of al@datazap.net has no SPF policy when checking 2a00:1450:4864:20::662) smtp.mailfrom=al@datazap.net X-Spamd-Result: default: False [-3.30 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[datazap-net.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ppc@freebsd.org]; DMARC_NA(0.00)[datazap.net]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[datazap-net.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::662:from]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_TO(0.00)[freebsd.org,FreeBSD.org,gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-ppc] X-ThisMailContainsUnwantedMimeParts: Y This is a multi-part message in MIME format. --------------08F81C40B62DCACA66D6590D Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hello, It is loading the kernel now, but there is a USB error: U-Boot 2014.04 (Oct 17 2016 - 08:22:22) CPU0: P5020, Version: 2.0, (0x82200020) Core: e5500, Version: 1.2, (0x80240012) Clock Configuration: CPU0:1995 MHz, CPU1:1995 MHz, CCB:798 MHz, DDR:665 MHz (1330 MT/s data rate) (Asynchronous), LBC:49.875 MHz FMAN1: 498.750 MHz QMAN: 399 MHz PME: 399 MHz L1: D-cache 32 KiB enabled I-cache 32 KiB enabled Reset Configuration Word (RCW): 00000000: 0c540000 00000000 1e1e0000 00000000 00000010: 44808c00 ff002000 68000000 45000000 00000020: 00000000 00000000 00000000 0003000f 00000030: a0000000 00000000 00000000 00000000 Board: CYRUS 36-bit Addressing I2C: ready SPI: ready DRAM: Initializing....using SPD Detected UDIMM KHX1600C10D3/8G Detected UDIMM KHX1600C10D3/8G 14 GiB left unmapped 16 GiB (DDR3, 64-bit, CL=9, ECC off) DDR Controller Interleaving Mode: cache line DDR Chip-Select Interleaving Mode: CS0+CS1 Local Bus Controller Registers BR0 0xE0001001 OR0 0xFFF00010 BR1 0xE1001001 OR1 0xFFF00010 BR2 0x00000000 OR2 0x00000000 BR3 0x00000000 OR3 0x00000000 BR4 0x00000000 OR4 0x00000000 BR5 0x00000000 OR5 0x00000000 BR6 0x00000000 OR6 0x00000000 BR7 0x00000000 OR7 0x00000000 LBCR 0x40000000 LCRR 0x80010004 L2: 512 KiB enabled Corenet Platform Cache: 2 MiB enabled SERDES: bank 2 disabled MMC: FSL_SDHC: 0 EEPROM: NXID v0 PCIe1: Root Complex, x4 gen1, regs @ 0xfe200000 01:00.0 - 1002:6759 - Display controller 01:00.1 - 1002:aa90 - Multimedia device PCIe1: Bus 00 - 01 PCIe2: Root Complex, x4 gen2, regs @ 0xfe201000 03:00.0 - 111d:8092 - Bridge device 04:01.0 - 111d:8092 - Bridge device 05:00.0 - 12d8:e111 - Bridge device 04:02.0 - 111d:8092 - Bridge device 04:03.0 - 111d:8092 - Bridge device 08:00.0 - 8086:10d3 - Network controller 04:08.0 - 111d:8092 - Bridge device 04:10.0 - 111d:8092 - Bridge device PCIe2: Bus 02 - 0a PCIe3: disabled PCIe4: disabled Looking for VGA PINS: 0xfc000808 videoboot: Booting PCI video card bus 1, function 0, device 0 Begin BIOS POST End BIOS POST Setting VESA Mode Found required VESA mode About to set mode 279 About to get mode Got mode 49431 (0xc117) OK XSize = 1024 YSize = 768 Base =0xe0000000 mmio_base = 0x80000000 bgx = 0xad55ad55 fgx = 0x0 In: serial Out: serial Err: serial ID: NXID v0 SN: 116330081 UID: 4429431001910051c47da080a0800000 Errata: Q Build date: 2015/07/06 14:51:17 CRC: eb5fb57a SCSI: scanning bus for devices... Found 0 device(s). Net: Initializing Fman MMC read: dev # 0, block # 1130, count 128 ... Fman1: Uploading microcode version 106.1.0 Tuning PHY @ 3 Tuning PHY @ 7 FM1@DTSEC4 [PRIME], FM1@DTSEC5 MMC read: dev # 0, block # 1280, count 512 ... 512 blocks read: OK MMC read: dev # 0, block # 65536, count 131072 ... 131072 blocks read: OK USB0: USB EHCI 1.00 scanning bus 0 for devices... ERROR: Invalid USB EP length (9) Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... Using DTB provided by U-Boot at address 0xc00000. Kernel args: (null)devices... 4 USB Device(s) found GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb.. ---<>---(s). Copyright (c) 1992-2021 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 X5000> fThe Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 14.0-CURRENT #4 main-n248384-d0d631d5f44: Fri Jul 30 18:08:34 EDT 2021 al@test.imagehostplus.com:/usr/obj/usr/src/powerpc.powerpc64/sys/AMIGAX5000 powerpc FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673) VT: init without driver.s (2 MiB/s) cpu0: Freescale e5500 core revision 1.2, 1995.00 MHz cpu0: Features cc009100 cpu0: Features2 8000000 cpu0: HID0 c0000000... real memory = 16570585088 (15802 MB) avail memory = 16520658944 (15755 MB) @0x7fe2efd8 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs arc4random: WARNING: initial seeding bypassed the cryptographic random device because it was not yet seeded and the knob 'bypass_before_seedi. random: entropy device external interfacegehostplus.com) kbd0 at kbdmux0 ofwbus0: on nexus0 simplebus0: on ofwbus0 bman-portals0: on ofwbus0 qman-portals0: on ofwbus0 simplebus1: mem 0xffe000000-0xffe000fff on ofwbus0 fman0: mem 0x400000-0x4fffff irq 96,16 on simplebus1 > INFO (__ERR_MODULE__) [CPU00, /usr/src/sys/contrib/ncsw/Peripherals/FM/fm_ncsw.c:470 LoadFmanCtrlCode]: FMan-Controller code (ver 101.0.8) . fman0: Hardware version: 3.0. rcpm0: mem 0xe2000-0xe2fff on simplebus1 lbc0: mem 0xffe124000-0xffe124fff irq 25 on ofwbus0 pcib0: mem 0xffe200000-0xffe200fff irq 16 on ofwbus0 pci0: on pcib0 pcib1: irq 16 at device 0.0 numa-domain 0 on pci0 pci1: numa-domain 0 on pcib1 pcib2: mem 0xffe201000-0xffe201fff irq 16 on ofwbus0 pci2: on pcib2 pcib3: irq 16 at device 0.0 numa-domain 0 on pci2 pci3: numa-domain 0 on pcib3 pcib4: at device 0.0 numa-domain 0 on pci3 pci4: numa-domain 0 on pcib4 pcib5: at device 1.0 numa-domain 0 on pci4 pci5: numa-domain 0 on pcib5 pcib6: irq 5 at device 0.0 numa-domain 0 on pci5 pcib6: allocating 1 bus failed pcib6: allocating 1 bus failed pcib6: failed to allocate initial memory window: 0-0xfffff pcib2: failed to reserve resource for pcib3 pcib6: failed to allocate initial prefetch window: 0-0xfffff pcib7: at device 2.0 numa-domain 0 on pci4 pci6: numa-domain 0 on pcib7 pcib8: at device 3.0 numa-domain 0 on pci4 pci7: numa-domain 0 on pcib8 pcib9: at device 8.0 numa-domain 0 on pci4 pci8: numa-domain 0 on pcib9 pcib10: at device 16.0 numa-domain 0 on pci4 pci9: numa-domain 0 on pcib10 gpio0: mem 0x130000-0x130fff irq 55 on simplebus1 gpiobus0: on gpio0 openpic0: mem 0x40000-0x7ffff on simplebus1 fsl_msi0: mem 0x41600-0x417ff,0x44140-0x44143 irq 224,225,226,227,228,229,230,231 on simplebus1 fsl_msi1: mem 0x41800-0x419ff,0x45140-0x45143 irq 232,233,234,235,236,237,238,239 on simplebus1 fsl_msi2: mem 0x41a00-0x41bff,0x46140-0x46143 irq 240,241,242,243,244,245,246,247 on simplebus1 qman0: mem 0x318000-0x318fff irq 16 on simplebus1 qman0: Hardware version: 1.2. bman0: mem 0x31a000-0x31afff irq 16 on simplebus1 bman0: Hardware version: 1.0. cpulist0: on ofwbus0 cpu0: on cpulist0 cpu1: on cpulist0 spi0: mem 0x110000-0x110fff irq 53 on simplebus1 spibus0: on spi0 iichb0: mem 0x118100-0x1181ff irq 38 on simplebus1 iicbus0: on iichb0 iic0: on iicbus0 iichb1: mem 0x119100-0x1191ff irq 39 on simplebus1 iicbus1: on iichb1 iic1: on iicbus1 ds13070: at addr 0xde on iicbus1 pq_mdio0: mem 0xe1120-0xe1fff irq 100 on fman0 dtsec0: mem 0xe6000-0xe6fff on fman0 dtsec0: Configured for regular mode. miibus0: on dtsec0 micphy0: PHY 3 on miibus0 micphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto dtsec0: Ethernet address: 00:80:10:fa:ce:01 dtsec1: mem 0xe8000-0xe8fff on fman0 dtsec1: Configured for regular mode. miibus1: on dtsec1 micphy1: PHY 7 on miibus1 micphy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto dtsec1: Ethernet address: 00:80:10:fa:ce:02 dtsec2: mem 0xe0000-0xe0fff on fman0 dtsec2: Could not load local-mac-addr property from DTS device_attach: dtsec2 attach returned 6 dtsec2: mem 0xe2000-0xe2fff on fman0 dtsec2: Could not load local-mac-addr property from DTS device_attach: dtsec2 attach returned 6 pq_mdio1: mem 0xe3120-0xe3fff on fman0 dtsec2: mem 0xe4000-0xe4fff on fman0 dtsec2: Could not load local-mac-addr property from DTS device_attach: dtsec2 attach returned 6 pq_mdio2: mem 0xe5120-0xe5fff on fman0 pq_mdio3: mem 0xe7120-0xe7fff on fman0 pq_mdio4: mem 0xe9120-0xe9fff on fman0 dtsec2: mem 0xf0000-0xf0fff on fman0 dtsec2: Could not load local-mac-addr property from DTS device_attach: dtsec2 attach returned 6 sdhci_fsl0: mem 0x114000-0x114fff irq 48 on simplebus1 mmc0: on sdhci_fsl0 iichb2: mem 0x118000-0x1180ff irq 38 on simplebus1 iicbus2: on iichb2 iic2: on iicbus2 iichb3: mem 0x119000-0x1190ff irq 39 on simplebus1 iicbus3: on iichb3 iic3: on iicbus3 uart0: <16550 or compatible> mem 0x11c500-0x11c5ff irq 36 on simplebus1 uart0: console (115451,n,8,1) uart1: <16550 or compatible> mem 0x11c600-0x11c6ff irq 36 on simplebus1 uart2: <16550 or compatible> mem 0x11d500-0x11d5ff irq 37 on simplebus1 uart3: <16550 or compatible> mem 0x11d600-0x11d6ff irq 37 on simplebus1 gpioc0: on gpio0 ehci0: mem 0x210000-0x210fff irq 44 on simplebus1 usbus0: EHCI version 1.0 usbus0 on ehci0 ehci1: mem 0x211000-0x211fff irq 45 on simplebus1 usbus1: EHCI version 1.0 usbus1 on ehci1 fslsata0: mem 0x220000-0x220fff irq 68 on simplebus1 fslsata1: mem 0x221000-0x221fff irq 69 on simplebus1 vgapci0: at device 0.0 numa-domain 0 on pci1 pci1: at device 0.1 (no driver attached) em0: irq 7 at device 0.0 numa-domain 0 on pci7 em0: Using 1024 TX descriptors and 1024 RX descriptors em0: Using 2 RX queues 2 TX queues em0: Using MSI-X interrupts with 3 vectors em0: Ethernet address: 68:05:ca:24:42:f7 gpiopower0: on ofwbus0 gpiopower1: on ofwbus0 Timecounter "timebase" frequency 24937500 Hz quality 1000 Event timer "decrementer" frequency 24937500 Hz quality 1000 Timecounters tick every 1.000 msec ds13070: registered as a time-of-day clock, resolution 1.000000s usbus0: 480Mbps High Speed USB v2.0 usbus1: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0 on usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1 on usbus1 uhub1: on usbus1 uhub0: 1 port with 1 removable, self powered uhub1: 1 port with 1 removable, self powered mmcsd0: 4GB at mmc0 49.8MHz/4bit/65535-block Launching APs: 1 ada0 at fslsata0 bus 0 scbus0 target 0 lun 0 ada0: ACS-2 ATA SATA 3.x device ada0: Serial Number 191078805013 ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 512bytes) ada0: Command Queueing enabled ada0: 228944MB (468877312 512 byte sectors) Trying to mount root from ufs:/dev/ada0s2a [rw]... random: unblocking device. ugen0.2: at usbus0 uhub2 on uhub0 uhub2: on usbus0 uhub2: MTT enabled ugen1.2: at usbus1 uhub3 on uhub1 uhub3: on usbus1 uhub3: MTT enabled uhub2: 4 ports with 4 removable, self powered uhub3: 4 ports with 4 removable, self powered ugen0.3: at usbus0 ugen1.3: at usbus1 ukbd0 on uhub3 ukbd0: on usbus1 kbd1 at ukbd0 ugen1.4: at usbus1 ums0 on uhub3 ums0: on usbus1 ums0: 3 buttons and [XYZ] coordinates ID=0 ugen0.4: at usbus0 ugen1.4: at usbus1 (disconnected) ums0: at uhub3, port 2, addr 4 (disconnected) ums0: detached ugen1.4: at usbus1 ums0 on uhub3 ums0: on usbus1 ums0: 3 buttons and [XYZ] coordinates ID=0 ugen1.4: at usbus1 (disconnected) ums0: at uhub3, port 2, addr 4 (disconnected) ums0: detached ugen1.4: at usbus1 ums0 on uhub3 ums0: on usbus1 ums0: 3 buttons and [XYZ] coordinates ID=0 ugen1.4: at usbus1 (disconnected) ums0: at uhub3, port 2, addr 4 (disconnected) ums0: detached ugen1.4: at usbus1 ums0 on uhub3 ums0: on usbus1 ums0: 3 buttons and [XYZ] coordinates ID=0 I believe the issue starts here: scanning bus 0 for devices... ERROR: Invalid USB EP length (9) Also, it goes back up to the top on the screen before loading the kernel, so something are written over. This I believe is with the latest source with git. I don't know why this is failing. Here is my kernel config: # # Custom kernel for Freescale MPC85XX development boards like the CDS etc. # # $FreeBSD: head/sys/powerpc/conf/MPC85XX 277254 2015-01-16 17:41:21Z nwhitehorn $ # ident AMIGAX5000 include QORIQ64 #options BUS_DEBUG #options DEBUG #options EARLY_PRINTF #options MPC85XX_UART_PA=0xffe11c000ull #options KTR #options KTR_COMPILE=(KTR_PMAP) #options KTR_MASK=(KTR_PMAP) #options KTR_ENTRIES=8192 #options KTR_VERBOSE options PREEMPTION # Enable kernel thread preemption #options GEOM_PART_EBR # Extended Boot Records #options GEOM_PART_EBR_COMPAT # Backward compatible partition names options GEOM_PART_APM # Apple Partition Maps. #options ZFS device ukbd device ums # For SAS RAID #device pci #device aacraid # For Video device vt device fbd device kbdmux options KBD_INSTALL_CDEV # No Netboot nooptions BOOTP nooptions BOOTP_NFSROOT # For Alex #device nvme nooptions INVARIANTS nooptions INVARIANT_SUPPORT nooptions WITNESS nooptions WITNESS_SKIPSPIN Please let me know if you need more information. I would really like to get past this issue. Kind Regards, Al --------------08F81C40B62DCACA66D6590D--