TrueNAS 설치작업을 진행하고 있습니다. 아마도 FreeBSD의 이슈 같지만 해당 이슈에 대한 케이스를 오픈해 봅니다.
멀티 디스크 탑재가 가능한 Port Multiplier 기능을 이용하기 위해 TrueNAS를 구성하고 있는데...
"Root mount waiting for: CAM"메세지로 인해 부팅이 마무리 되지 않는 경우가 있습니다.
아래와 같이 USB 디바이스 연결이 안된 상태에서 부팅 성공한 전체 dmesg를 보시면 중간에 메세지가 보이긴 하지만 대부분 성공하는데...이 원인과 해결방법이 있을까요.
* 바이오스에서 USB 레거시 비활성화에도 문제해결 안됨
* 가급적 USB 키보드 분리하면 부팅 성공 확률이 높음
* sata 컨트롤러 ASM1062나 88SE9215 칩에서도 동일한 증상 발생
(참고로 USB메모리 인스톨로 설치할때 USB 키보드가 연결 되었을때 실패하여 분리 후에 설치에 성공하는 경우도 있었습니다..)
root@truenas[~]# dmesg Copyright (c) 1992-2021 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 13.1-RELEASE-p7 n245428-4dfb91682c1 TRUENAS amd64 FreeBSD clang version 13.0.0 (***@******.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) VT(vga): text 80x25 CPU: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz (1996.80-MHz K8-class CPU) Origin="GenuineIntel" Id=0x706a8 Family=0x6 Model=0x7a Stepping=8 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x4ff8ebbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,RDRAND> AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM> AMD Features2=0x101<LAHF,Prefetch> Structured Extended Features=0x2294e287<FSGSBASE,TSCADJ,SGX,SMEP,ERMS,NFPUSG,MPX,PQE,RDSEED,SMAP,CLFLUSHOPT,PROCTRACE,SHA> Structured Extended Features2=0x40400004<UMIP,RDPID,SGXLC> Structured Extended Features3=0xac000400<MD_CLEAR,IBPB,STIBP,ARCH_CAP,SSBD> XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES> IA32_ARCH_CAPS=0x6b<RDCL_NO,IBRS_ALL,SKIP_L1DFL_VME,MDS_NO> VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID,VID,PostIntr TSC: P-state invariant, performance statistics real memory = 4294967296 (4096 MB) avail memory = 3874095104 (3694 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: <INTEL GLK-SOC > WARNING: L1 data cache covers fewer APIC IDs than a core (0 < 1) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" random: unblocking device. ioapic0 <Version 2.0> irqs 0-119 Launching APs: 2 1 3 random: entropy device external interface kbd1 at kbdmux0 vtvga0: <VT VGA driver> aesni0: <AES-CBC,AES-CCM,AES-GCM,AES-ICM,AES-XTS,SHA1,SHA256> padlock0: No ACE support. acpi0: <ALASKA A M I > unknown: I/O range not supported cpu0: <ACPI CPU> on acpi0 attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: <AT realtime clock> port 0x70-0x77 on acpi0 atrtc0: Warning: Couldn't map I/O. atrtc0: registered as a time-of-day clock, resolution 1.000000s Event timer "RTC" frequency 32768 Hz quality 0 hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff irq 8 on acpi0 Timecounter "HPET" frequency 19200000 Hz quality 950 Event timer "HPET" frequency 19200000 Hz quality 550 Event timer "HPET1" frequency 19200000 Hz quality 440 Event timer "HPET2" frequency 19200000 Hz quality 440 Event timer "HPET3" frequency 19200000 Hz quality 440 Event timer "HPET4" frequency 19200000 Hz quality 440 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pcib0: Length mismatch for 3 range: 1 vs 1000000010000 pci0: <ACPI PCI bus> on pcib0 pcib0: no PRT entry for 0.0.INTA vgapci0: <VGA-compatible display> port 0xf000-0xf03f mem 0xa0000000-0xa0ffffff,0x90000000-0x9fffffff irq 19 at device 2.0 on pci0 vgapci0: Boot video device pci0: <multimedia, HDA> at device 14.0 (no driver attached) pci0: <simple comms> at device 15.0 (no driver attached) ahci0: <Intel Gemini Lake AHCI SATA controller> port 0xf090-0xf097,0xf080-0xf083,0xf060-0xf07f mem 0xa1814000-0xa1815fff,0xa181a000-0xa181a0ff,0xa1819000-0xa18197ff irq 19 at device 18.0 on pci0 ahci0: AHCI v1.31 with 2 6Gbps ports, Port Multiplier supported ahcich0: <AHCI channel> at channel 0 on ahci0 ahcich1: <AHCI channel> at channel 1 on ahci0 pcib1: <ACPI PCI-PCI bridge> irq 21 at device 19.0 on pci0 pci1: <ACPI PCI bus> on pcib1 igc0: <Intel(R) Ethernet Controller I226-V> mem 0xa1500000-0xa15fffff,0xa1600000-0xa1603fff irq 22 at device 0.0 on pci1 igc0: Using 1024 TX descriptors and 1024 RX descriptors igc0: Using 4 RX queues 4 TX queues igc0: Using MSI-X interrupts with 5 vectors igc0: Ethernet address: 00:90:27:f2:62:45 pcib2: <ACPI PCI-PCI bridge> irq 21 at device 19.1 on pci0 pci2: <ACPI PCI bus> on pcib2 igc1: <Intel(R) Ethernet Controller I226-V> mem 0xa1200000-0xa12fffff,0xa1300000-0xa1303fff irq 23 at device 0.0 on pci2 igc1: Using 1024 TX descriptors and 1024 RX descriptors igc1: Using 4 RX queues 4 TX queues igc1: Using MSI-X interrupts with 5 vectors igc1: Ethernet address: 00:90:27:f2:62:46 pcib3: <ACPI PCI-PCI bridge> irq 21 at device 19.2 on pci0 pci3: <ACPI PCI bus> on pcib3 pcib4: <ACPI PCI-PCI bridge> irq 21 at device 19.3 on pci0 pci4: <ACPI PCI bus> on pcib4 ahci1: <ASMedia ASM1062 AHCI SATA controller> port 0xe050-0xe057,0xe040-0xe043,0xe030-0xe037,0xe020-0xe023,0xe000-0xe01f mem 0xa1710000-0xa17101ff irq 21 at device 0.0 on pci4 ahci1: AHCI v1.20 with 2 6Gbps ports, Port Multiplier supported ahci1: quirks=0xc00000<NOCCS,NOAUX> ahcich2: <AHCI channel> at channel 0 on ahci1 ahcich3: <AHCI channel> at channel 1 on ahci1 xhci0: <Intel Gemini Lake USB 3.0 controller> mem 0xa1800000-0xa180ffff irq 17 at device 21.0 on pci0 xhci0: 32 bytes context size, 64-bit DMA usbus0 on xhci0 usbus0: 5.0Gbps Super Speed USB v3.0 sdhci_pci0: <Generic SD HCI> mem 0xa1818000-0xa1818fff,0xa1817000-0xa1817fff irq 39 at device 28.0 on pci0 sdhci_pci0: 1 slot(s) allocated mmc0: <MMC/SD bus> on sdhci_pci0 isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 acpi_button0: <Power Button> on acpi0 acpi_tz0: <Thermal Zone> on acpi0 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] uart0: <16950 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart1: <16950 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 uart2: <16950 or compatible> port 0x220-0x227 irq 5 on acpi0 uart3: <16950 or compatible> port 0x228-0x22f irq 6 on acpi0 uart4: <16950 or compatible> port 0x230-0x237 irq 10 on acpi0 uart5: <16950 or compatible> port 0x238-0x23f irq 11 on acpi0 orm0: <ISA Option ROM> at iomem 0xd0000-0xd87ff pnpid ORM0000 on isa0 coretemp0: <CPU On-Die Thermal Sensors> on cpu0 est0: <Enhanced SpeedStep Frequency Control> on cpu0 Timecounter "TSC" frequency 1996801082 Hz quality 1000 Timecounters tick every 1.000 msec ZFS filesystem version: 5 ZFS storage pool version: features support (5000) ipfw2 (+ipv6) initialized, divert enabled, nat enabled, default to accept, logging disabled ugen0.1: <Intel XHCI root HUB> at usbus0 uhub0 on usbus0 uhub0: <Intel XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 mmc0: No compatible cards found on bus Trying to mount root from zfs:boot-pool/ROOT/default []... uhub0: 16 ports with 16 removable, self powered pmp0 at ahcich2 bus 0 scbus2 target 15 lun 0 pmp0: <Port Multiplier 0325197b 000e> ATA device pmp0: 300.000MB/s transfers (SATA 2.x, NONE, PIO 8192bytes) pmp0: 5 fan-out ports Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM ahcich2: Timeout on slot 0 port 0 ahcich2: is 00000000 cs 00000000 ss 00000000 rs 00000001 tfd 150 serr 00000000 cmd 0004c017 (aprobe0:ahcich2:0:0:0): ATA_IDENTIFY. ACB: ec 00 00 00 00 40 00 00 00 00 00 00 (aprobe0:ahcich2:0:0:0): CAM status: Command timeout (aprobe0:ahcich2:0:0:0): Retrying command, 0 more tries remain Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM ahcich2: Timeout on slot 27 port 0 ahcich2: is 00800000 cs 00000000 ss 00000000 rs 18000000 tfd 150 serr 00800000 cmd 0004db17 (aprobe2:ahcich2:0:2:0): SOFT_RESET. ACB: 00 00 00 00 00 00 00 00 00 00 00 00 (aprobe2:ahcich2:0:2:0): CAM status: Unconditionally Re-queue Request (aprobe2:ahcich2:0:2:0): Error 5, Retry was blocked (aprobe0:ahcich2:0:0:0): ATA_IDENTIFY. ACB: ec 00 00 00 00 40 00 00 00 00 00 00 (aprobe0:ahcich2:0:0:0): CAM status: Command timeout (aprobe0:ahcich2:0:0:0): Error 5, Retries exhausted (aprobe1:ahcich2:0:1:0): ATA_IDENTIFY. ACB: ec 00 00 00 00 40 00 00 00 00 00 00 (aprobe1:ahcich2:0:1:0): CAM status: Unconditionally Re-queue Request (aprobe1:ahcich2:0:1:0): Error 5, Retry was blocked Root mount waiting for: CAM Root mount waiting for: CAM ada0 at ahcich1 bus 0 scbus1 target 0 lun 0 ada0: <HFS128G3AMNC-3310A 50004P00> ATA8-ACS SATA 3.x device ada0: Serial Number FI5AN02351010AA3W ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 122104MB (250069680 512 byte sectors) ada1 at ahcich2 bus 0 scbus2 target 0 lun 0 ada1: <ST750LX003-1AC154 0957> ATA-7 SATA 2.x device ada1: Serial Number W20014M9 ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 512bytes) ada1: 715403MB (1465147055 512 byte sectors) ada2 at ahcich2 bus 0 scbus2 target 1 lun 0 ada2: <ST320LT020-9YG142 0957> ATA-7 SATA 2.x device ada2: Serial Number W0423RPY ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 512bytes) ada2: 305245MB (625142448 512 byte sectors) ada2: quirks=0x1<4K> ada3 at ahcich2 bus 0 scbus2 target 2 lun 0 ada3: <ST9750420AS 0957> ATA-7 SATA 2.x device ada3: Serial Number 5WS0RBJ2 ada3: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 512bytes) ada3: 715404MB (1465149168 512 byte sectors) ada3: quirks=0x1<4K> ada4 at ahcich2 bus 0 scbus2 target 3 lun 0 ada4: <TOSHIBA MQ02ABF100 0957> ATA-7 SATA 2.x device ada4: Serial Number Y58PC0N5T ada4: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 512bytes) ada4: 953869MB (1953525168 512 byte sectors) ada5 at ahcich2 bus 0 scbus2 target 4 lun 0 ada5: <HTS541010G9SA00 0957> ATA-7 SATA 2.x device ada5: Serial Number MP2ZX0XLGNLAJS ada5: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 512bytes) ada5: 95396MB (195371568 512 byte sectors) ichsmb0: <Intel Gemini Lake SMBus controller> port 0xf040-0xf05f mem 0xa1816000-0xa18160ff irq 20 at device 31.1 on pci0 smbus0: <System Management Bus> on ichsmb0 lo0: link state changed to UP igc0: link state changed to UP debugnet_any_ifnet_update: Bad dn_init result from igc0 (ifp 0xfffff8000465e000), ignoring. GEOM_MIRROR: Device mirror/swap0 launched (2/2). GEOM_ELI: Device mirror/swap0.eli created. GEOM_ELI: Encryption: AES-XTS 128 GEOM_ELI: Crypto: accelerated software CPU: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz (1996.80-MHz K8-class CPU) Origin="GenuineIntel" Id=0x706a8 Family=0x6 Model=0x7a Stepping=8 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x4ff8ebbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,RDRAND> AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM> AMD Features2=0x101<LAHF,Prefetch> Structured Extended Features=0x2294e287<FSGSBASE,TSCADJ,SGX,SMEP,ERMS,NFPUSG,MPX,PQE,RDSEED,SMAP,CLFLUSHOPT,PROCTRACE,SHA> Structured Extended Features2=0x40400004<UMIP,RDPID,SGXLC> Structured Extended Features3=0xac000400<MD_CLEAR,IBPB,STIBP,ARCH_CAP,SSBD> XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES> IA32_ARCH_CAPS=0x6b<RDCL_NO,IBRS_ALL,SKIP_L1DFL_VME,MDS_NO> VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID,VID,PostIntr TSC: P-state invariant, performance statistics igc0: link state changed to DOWN igc0: link state changed to UP hwpmc: SOFT/16/64/0x67<INT,USR,SYS,REA,WRI> TSC/1/64/0x20<REA> IAP/4/48/0x3ff<INT,USR,SYS,EDG,THR,REA,WRI,INV,QUA,PRC> IAF/3/48/0x67<INT,USR,SYS,REA,WRI> Security policy loaded: MAC/ntpd (mac_ntpd) root@truenas[~]# |
¿ì¼± Boot HDD¸¸ÀÌ¶óµµ SATA Port¿¡ ¿¬°áÇϽðí
Ȥ½Ã ºÎÆÃÀÌ UEIF·Î µÇ¾î ÀÖÀ¸¸é BIOS·Î ¹Ù²ã º¸¼¼¿ä
ÀÌ°Ç controller ȸ»ç¿¡ ¹®ÀÇ ÇÏ¼Å¾ß ÇÒ °Í °°½À´Ï´Ù.
±×·±µ¥ ÀÌ¹Ì ¾Æ½Ã°ÚÁö¸¸ BSDµéÀÌ ±âº»ÀûÀ¸·Î ÁÁÀº HW¿¡¼ Àß ÀÛµ¿ÇÕ´Ï´Ù.
ZFS´Â °Å±â¿¡ Á» ´õ ¹Î°¨Çϱ¸¿ä
ºñ½ÁÇÑ ³»¿ëÀº truenas Q&S¿¡ ¸¹ÀÌ ÀÖ½À´Ï´Ù.