From owner-freebsd-questions@freebsd.org Tue Dec 12 17:53:20 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BCDBEEA07CE for ; Tue, 12 Dec 2017 17:53:20 +0000 (UTC) (envelope-from tetrosalame@gmail.com) Received: from mail-lf0-x22a.google.com (mail-lf0-x22a.google.com [IPv6:2a00:1450:4010:c07::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482BD683AA for ; Tue, 12 Dec 2017 17:53:20 +0000 (UTC) (envelope-from tetrosalame@gmail.com) Received: by mail-lf0-x22a.google.com with SMTP id a12so24153709lfe.4 for ; Tue, 12 Dec 2017 09:53:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :content-transfer-encoding; bh=oBwqxE3riQas3q2uWaiqH23oTGgNMHqrkLBybJ8AErk=; b=siu6gENMwRu+NSxbfWHQgmjV+KkTUBgJDPXtXiwLSwNoJ+8dlODDIiZ7pzd9QZR4pV G4ZF56EdMYbsCeOe+8pQ52QgbKPRXwIfsDO6+8C2MxLVmpO+8JICB1+pwPqGmYQNopKE OT258X9DiQwCq9rOuG+p9e255680bPZAAmYDT6w5sPIcXewSVUyO0ClxiocaD2JuIobD B0/VCsJX8QTjXThvnHySsP32iM7S0Sr7yUR4de8PJS6xmOXe2kcakitCIEIIs62CFzYb 7MOzfefCwjVx3siGB78ej9c9A9YBQtk226kR6PAmFEU1tSxNd8RNT3WtIHgKdRQDIhqr HTFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:content-transfer-encoding; bh=oBwqxE3riQas3q2uWaiqH23oTGgNMHqrkLBybJ8AErk=; b=pgEb7NeF5mmxmkH4hCbO8reQQdYcbg8ip4gld7QLBtIQuBzcQeUEHFiinGgV9i9MSP t2/N/Za/BGXyuMXDljqx7yPhnL4hMJ12/NoOm7jmC5HenhssulkUYnc+ooYYwyV0bUqo b8FW2IH3x7V5Zj1yMp6AJJqZMa/2gnjPffeKe6e5IMujoxVuqCzia6hBqfed8uNz4642 2D1DTbymM5uS4a8Vfs2nIvOvyZp17dVv4nKAMK6iEw6qz/t9bDDN9dibtujG7NQHf22D EY3MZPlfRW8kPsSlIu5notR1FyKaZhs+KVAMb8YPrq/UzMmap7HLVdSfK8u4ae6ZV8cP oFyQ== X-Gm-Message-State: AKGB3mLELFO8mRTKput55ExQBpT2UAJJbODX35J95PONgukiJ/cmKksL baLvXXtCztajNGTJPIaJwqi5yFEX X-Google-Smtp-Source: ACJfBosUCm95VGcqWztNzUo1znoOpwXvraK3gkpk3GyuLyxwEQaEeXV0ErYsWdfDk75APoZgC1OZCw== X-Received: by 10.25.121.10 with SMTP id u10mr2064461lfc.50.1513101197882; Tue, 12 Dec 2017 09:53:17 -0800 (PST) Received: from avalon.thwn ([92.246.116.171]) by smtp.gmail.com with ESMTPSA id q77sm1589673lfi.51.2017.12.12.09.53.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Dec 2017 09:53:17 -0800 (PST) Received: from avalon.thwn (localhost [127.0.0.1]) by avalon.thwn (OpenSMTPD) with ESMTP id 3b59a945 for ; Tue, 12 Dec 2017 19:52:33 +0100 (CET) Date: Tue, 12 Dec 2017 19:52:33 +0100 From: fml To: freebsd-questions@freebsd.org Subject: FreeBSD 11.1 on Soekris NET4501. Storage issue Message-ID: <20171212185233.GA1732@avalon.thwn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Dec 2017 17:53:20 -0000 Hi, I'm trying to bring back to life an old Soekris NET4501 board. It served last as networking bridge running FreeBSD 9.0. I created a small FreeBSD 11.1 image with nanobsd, using GENERIC +=20 CPU_ELAN/SOEKRIS stuff as kernel. The board boots from internal CF=20 but fails to mount the root partition it seems there are no=20 suitabile devices to mount the root partition from. The problem seems CAM related but I'm unable to investigate it further. This NET4501 is equipped with just 64MB of RAM: I built a custom kernel without the unnecessary devices and options, even without SMP and ACPI, but the boot process fails as usual mounting the root partition. Here's a session record: POST: 0123456789bcefghipajklnoq,,,tvwxy=1B[2J comBIOS ver. 1.27 20041122 Copyright (C) 2000-2004 Soekris Engineering. net45xx CPU 80486 133 Mhz=20 Pri Mas Hitachi XX.V.3.4.0.0 LBA Xlt 993-32-63 1001 Mbyte Slot Vend Dev ClassRev Cmd Stat CL LT HT Base1 Base2 Int=20 ------------------------------------------------------------------- 0:00:0 1022 3000 06000000 0006 2280 00 00 00 00000000 00000000=20 0:18:0 100B 0020 02000000 0107 0290 00 3F 00 0000E001 A0000000 10 0:19:0 100B 0020 02000000 0107 0290 00 3F 00 0000E101 A0001000 11 0:20:0 100B 0020 02000000 0107 0290 00 3F 00 0000E201 A0002000 05 Seconds to automatic boot. Press Ctrl-P for entering Monitor. 1 FreeBSD 2 FreeBSD F6 PXE Boot: 1=20 -/boot/config: -h -S19200 BIOS 639kB/64512kB available memory FreeBSD/x86 bootstrap loader, Revision 1.1 Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... =20 Copyright (c) 1992-2017 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.1-RELEASE-p5 #0 r326470: Sat Dec 9 19:34:25 CET 2017 francesco@avalon.thwn:/usr/obj/nanobsd.NET4501/i386.i386/usr/src/sys/SO= EKRIS i386 FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM = 4.0.0) VT(vga): resolution 640x480 CPU: AMD Enhanced Am486DX4/Am5x86 Write-Back (486-class CPU) Origin=3D"AuthenticAMD" Id=3D0x494 Family=3D0x4 Model=3D0x9 Stepping= =3D4 Features=3D0x1 real memory =3D 67108864 (64 MB) avail memory =3D 33566720 (32 MB) taskqgroup_adjust failed cnt: 1 stride: 1 mp_ncpus: 1 smp_started: 0 taskqgroup_adjust failed cnt: 1 stride: 1 mp_ncpus: 1 smp_started: 0 random: entropy device external interface kbd1 at kbdmux0 module_register_init: MOD_LOAD (vesa, 0xc1012410, 0) error 19 ACPI BIOS Error (bug): A valid RSDP was not found (20170303/tbxfroot-369) ACPI: Table initialisation failed: AE_NOT_FOUND ACPI: Try disabling either ACPI or apic support. vtvga0: on motherboard cryptosoft0: on motherboard sysctl machdep.i8254_freq=3D1189161 returns 0 Timecounter "ELAN" frequency 8333333 Hz quality 1000 pcib0 pcibus 0 on motherboard pci0: on pcib0 sis0: port 0xe000-0xe0ff mem 0xa0000000-0= xa0000fff irq 10 at device 18.0 on pci0 sis0: Silicon Revision: DP83816A miibus0: on sis0 nsphyter0: PHY 0 on miibus0 nsphyter0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis0: Ethernet address: 00:00:24:c4:53:fc sis1: port 0xe100-0xe1ff mem 0xa0001000-0= xa0001fff irq 11 at device 19.0 on pci0 sis1: Silicon Revision: DP83816A miibus1: on sis1 nsphyter1: PHY 0 on miibus1 nsphyter1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis1: Ethernet address: 00:00:24:c4:53:fd sis2: port 0xe200-0xe2ff mem 0xa0002000-0= xa0002fff irq 5 at device 20.0 on pci0 sis2: Silicon Revision: DP83816A miibus2: on sis2 nsphyter2: PHY 0 on miibus2 nsphyter2: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis2: Ethernet address: 00:00:24:c4:53:fe cpu0 on motherboard isa0: on motherboard pmtimer0 on isa0 orm0: at iomem 0xc8000-0xd0fff pnpid ORM0000 on isa0 ata0: at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0 ata1: at port 0x170-0x177,0x376 irq 15 on isa0 atrtc0: at port 0x70 irq 8 on isa0 Event timer "RTC" frequency 32768 Hz quality 0 attimer0: at port 0x40 on isa0 Timecounter "i8254" frequency 1189161 Hz quality 0 Event timer "i8254" frequency 1189161 Hz quality 100 ppc0: parallel port not found. uart0: <16550 or compatible> at port 0x3f8 irq 4 flags 0x10 on isa0 uart0: console (19200,n,8,1) uart1: <16550 or compatible> at port 0x2f8 irq 3 on isa0 Timecounters tick every 6.666 msec Elan-mmcr driver: MMCR at 0xcc25e000. PPS support. Elan-mmcr Soekris net45xx comBIOS ver. 1.27 20041122 Copyright (C) 2000-2004 usb_needs_explore_all: no devclass nvme cam probe device init (aprobe0:ata0:0:0:0): SETFEATURES SET TRANSFER MODE. ACB: ef 03 00 00 00 40= 00 00 00 00 0c 00 (aprobe0:ata0:0:0:0): CAM status: ATA Status Error (aprobe0:ata0:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 04 (ABRT ) (aprobe0:ata0:0:0:0): RES: 51 04 00 00 00 00 00 00 00 0c 00 (aprobe0:ata0:0:0:0): Retrying command (aprobe0:ata0:0:0:0): SETFEATURES SET TRANSFER MODE. ACB: ef 03 00 00 00 40= 00 00 00 00 0c 00 (aprobe0:ata0:0:0:0): CAM status: ATA Status Error (aprobe0:ata0:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 04 (ABRT ) (aprobe0:ata0:0:0:0): RES: 51 04 00 00 00 00 00 00 00 0c 00 (aprobe0:ata0:0:0:0): Error 5, Retries exhausted Trying to mount root from ufs:/dev/ada0s1a [ro]... mountroot: waiting for device /dev/ada0s1a... Does anyone have suggestions, please? Thanks, f.