make_dev_physpath_alias

Ronald Klop ronald-freebsd8 at klop.yi.org
Tue Mar 5 15:55:36 UTC 2013


On Tue, 05 Mar 2013 16:40:52 +0100, Johan Hendriks  
<joh.hendriks at gmail.com> wrote:

> Ronald Klop schreef:
>> On Tue, 05 Mar 2013 15:10:52 +0100, Johan Hendriks  
>> <joh.hendriks at gmail.com> wrote:
>>
>>> Hello all.
>>>
>>> I have a supermicro 16 bay box with a LSI 9211-8i card.
>>> We use it for temp data storage, and we wanted to try the l4z  
>>> compression.
>>>
>>> After updating the source tree to r247839: and doing a make buildworld  
>>> cycle all works fine.
>>> But at boot time we get some warnings.
>>> make_dev_physpath_alias: WARNING - Unable to alias  
>>> gptid/281951f4-a996-11e1-83eb-00259061b51a to  
>>> enc at n500304800182f4fd/type at 0/slot at 1/elmdesc at Slot_01/gptid/281951f4-a996-11e1-83eb-00259061b51a  
>>> - path too long
>>>
>>> Do i need to worry!!!
>>
>> Only if you want to use the paths it can't create.
>>
>> Ronald.
>>
> Thanks for the quick responce.
> Do you know why it can not create the path.
> The system is installed normally, why is it trying to use path names it  
> can not use?

No, I am not familiar with the details of this. What I see is that it  
tries to make aliases for the device in /dev. So there already is a name  
for the device you can use, but the alias (which might be a symlink with a  
convenient name) is not a valid filename, so it is not created.
The code in 9-stable is in sys/kern/kern_conf.c line 995.

NB: I re-added the mailinglist in the addresses. Other people might know  
more.

Regards,
Ronald.

>
> gr
> Johan
>
>>> Gr
>>> johan
>>>
>>> Here is my full dmesg
>>>
>>> Copyright (c) 1992-2013 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 9.1-STABLE #0 r247839: Tue Mar  5 13:17:25 CET 2013
>>>      root at backup.neuteboom.com:/usr/obj/usr/src/sys/KRNL amd64
>>> CPU: Intel(R) Xeon(R) CPU E31220 @ 3.10GHz (3093.04-MHz K8-class CPU)
>>>    Origin = "GenuineIntel"  Id = 0x206a7  Family = 0x6  Model = 0x2a  
>>> Stepping = 7
>>> 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=0x1fbae3ff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX>  
>>>    AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
>>>    AMD Features2=0x1<LAHF>
>>>    TSC: P-state invariant, performance statistics
>>> real memory  = 34359738368 (32768 MB)
>>> avail memory = 33075630080 (31543 MB)
>>> Event timer "LAPIC" quality 600
>>> ACPI APIC Table: <SUPERM SMCI--MB>
>>> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
>>> FreeBSD/SMP: 1 package(s) x 4 core(s)
>>>   cpu0 (BSP): APIC ID:  0
>>>   cpu1 (AP): APIC ID:  2
>>>   cpu2 (AP): APIC ID:  4
>>>   cpu3 (AP): APIC ID:  6
>>> ioapic0 <Version 2.0> irqs 0-23 on motherboard
>>> kbd1 at kbdmux0
>>> ctl: CAM Target Layer loaded
>>> acpi0: <SUPERM SMCI--MB> on motherboard
>>> acpi0: Power Button (fixed)
>>> acpi0: reservation of 67, 1 (4) failed
>>> cpu0: <ACPI CPU> on acpi0
>>> cpu1: <ACPI CPU> on acpi0
>>> cpu2: <ACPI CPU> on acpi0
>>> cpu3: <ACPI CPU> on acpi0
>>> hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on  
>>> acpi0
>>> Timecounter "HPET" frequency 14318180 Hz quality 950
>>> Event timer "HPET" frequency 14318180 Hz quality 550
>>> Event timer "HPET1" frequency 14318180 Hz quality 440
>>> Event timer "HPET2" frequency 14318180 Hz quality 440
>>> Event timer "HPET3" frequency 14318180 Hz quality 440
>>> Event timer "HPET4" frequency 14318180 Hz quality 440
>>> atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0
>>> atrtc0: Warning: Couldn't map I/O.
>>> Event timer "RTC" frequency 32768 Hz quality 0
>>> 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
>>> Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
>>> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
>>> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
>>> pci0: <ACPI PCI bus> on pcib0
>>> pcib1: <ACPI PCI-PCI bridge> irq 19 at device 6.0 on pci0
>>> pci1: <ACPI PCI bus> on pcib1
>>> mps0: <LSI SAS2008> port 0xe000-0xe0ff mem  
>>> 0xf7600000-0xf7603fff,0xf7580000-0xf75bffff irq 19 at device 0.0 on  
>>> pci1
>>> mps0: Firmware: 15.00.00.00, Driver: 14.00.00.01-fbsd
>>> mps0: IOCCapabilities:  
>>> 1285c<ScsiTaskFull,DiagTrace,SnapBuf,EEDP,TransRetry,EventReplay,HostDisc>
>>> em0: <Intel(R) PRO/1000 Network Connection 7.3.2> port 0xf020-0xf03f  
>>> mem 0xf7800000-0xf781ffff,0xf7825000-0xf7825fff irq 20 at device 25.0  
>>> on pci0
>>> em0: Using an MSI interrupt
>>> em0: Ethernet address: 00:25:90:75:c8:09
>>> ehci0: <EHCI (generic) USB 2.0 controller> mem 0xf7824000-0xf78243ff  
>>> irq 16 at device 26.0 on pci0
>>> usbus0: EHCI version 1.0
>>> usbus0 on ehci0
>>> pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
>>> pci2: <ACPI PCI bus> on pcib2
>>> pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
>>> pci3: <ACPI PCI bus> on pcib3
>>> em1: <Intel(R) PRO/1000 Network Connection 7.3.2> port 0xd000-0xd01f  
>>> mem 0xf7700000-0xf771ffff,0xf7720000-0xf7723fff irq 16 at device 0.0  
>>> on pci3
>>> em1: Using MSIX interrupts with 3 vectors
>>> em1: Ethernet address: 00:25:90:75:c8:08
>>> ehci1: <EHCI (generic) USB 2.0 controller> mem 0xf7823000-0xf78233ff  
>>> irq 23 at device 29.0 on pci0
>>> usbus1: EHCI version 1.0
>>> usbus1 on ehci1
>>> pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
>>> pci4: <ACPI PCI bus> on pcib4
>>> vgapci0: <VGA-compatible display> mem  
>>> 0xf5000000-0xf5ffffff,0xf7000000-0xf7003fff,0xf6800000-0xf6ffffff irq  
>>> 19 at device 3.0 on pci4
>>> isab0: <PCI-ISA bridge> at device 31.0 on pci0
>>> isa0: <ISA bus> on isab0
>>> ahci0: <Intel Cougar Point AHCI SATA controller> port  
>>> 0xf070-0xf077,0xf060-0xf063,0xf050-0xf057,0xf040-0xf043,0xf000-0xf01f  
>>> mem 0xf7822000-0xf78227ff irq 19 at device 31.2 on pci0
>>> ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier not supported
>>> ahcich0: <AHCI channel> at channel 0 on ahci0
>>> ahcich1: <AHCI channel> at channel 1 on ahci0
>>> ahcich2: <AHCI channel> at channel 2 on ahci0
>>> ahcich4: <AHCI channel> at channel 4 on ahci0
>>> ahcich5: <AHCI channel> at channel 5 on ahci0
>>> pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
>>> acpi_button0: <Power Button> on acpi0
>>> acpi_tz0: <Thermal Zone> on acpi0
>>> acpi_tz1: <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]
>>> psm0: <PS/2 Mouse> irq 12 on atkbdc0
>>> psm0: [GIANT-LOCKED]
>>> psm0: model IntelliMouse Explorer, device ID 4
>>> uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
>>> uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
>>> uart2: <16550 or compatible> port 0x3e8-0x3ef irq 10 on acpi0
>>> orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xce000-0xcefff on  
>>> isa0
>>> sc0: <System console> at flags 0x100 on isa0
>>> sc0: VGA <16 virtual consoles, flags=0x300>
>>> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on  
>>> isa0
>>> ppc0: cannot reserve I/O port range
>>> est0: <Enhanced SpeedStep Frequency Control> on cpu0
>>> p4tcc0: <CPU Frequency Thermal Control> on cpu0
>>> est1: <Enhanced SpeedStep Frequency Control> on cpu1
>>> p4tcc1: <CPU Frequency Thermal Control> on cpu1
>>> est2: <Enhanced SpeedStep Frequency Control> on cpu2
>>> p4tcc2: <CPU Frequency Thermal Control> on cpu2
>>> est3: <Enhanced SpeedStep Frequency Control> on cpu3
>>> p4tcc3: <CPU Frequency Thermal Control> on cpu3
>>> ZFS filesystem version: 5
>>> ZFS storage pool version: features support (5000)
>>> Timecounters tick every 1.000 msec
>>> usbus0: 480Mbps High Speed USB v2.0
>>> usbus1: 480Mbps High Speed USB v2.0
>>> ugen0.1: <Intel> at usbus0
>>> uhub0: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on  
>>> usbus0
>>> ugen1.1: <Intel> at usbus1
>>> uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on  
>>> usbus1
>>> ada0 at ahcich0 bus 0 scbus1 target 0 lun 0
>>> ada0: <INTEL SSDSA2CT040G3 4PC10362> ATA-8 SATA 2.x device
>>> ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
>>> ada0: Command Queueing enabled
>>> ada0: 38166MB (78165360 512 byte sectors: 16H 63S/T 16383C)
>>> ada0: Previously was known as ad4
>>> ada1 at ahcich1 bus 0 scbus2 target 0 lun 0
>>> ada1: <INTEL SSDSA2CT040G3 4PC10362> ATA-8 SATA 2.x device
>>> ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
>>> ada1: Command Queueing enabled
>>> ada1: 38166MB (78165360 512 byte sectors: 16H 63S/T 16383C)
>>> ada1: Previously was known as ad6
>>> ses0 at mps0 bus 0 scbus0 target 8 lun 0
>>> ses0: <LSI CORP SAS2X28 0717> Fixed Enclosure Services SCSI-5 device
>>> ses0: 600.000MB/s transfers
>>> ses0: Command Queueing enabled
>>> ses0: SCSI-3 ENC Device
>>> ses0: probe9,pass1,da0: Element descriptor: 'Slot 01'
>>> ses0: probe9,pass1,da0: SAS Device Slot Element: 1 Phys at Slot 0
>>> ses0:  phy 0: SATA device
>>> ses0:  phy 0: parent 500304800182f4ff addr 500304800182f4ec
>>> ses0: probe10,pass2,da1: Element descriptor: 'Slot 02'
>>> ses0: probe10,pass2,da1: SAS Device Slot Element: 1 Phys at Slot 1
>>> ses0:  phy 0: SATA device
>>> ses0:  phy 0: parent 500304800182f4ff addr 500304800182f4ed
>>> ses0: probe11,pass3,da2: Element descriptor: 'Slot 03'
>>> ses0: probe11,pass3,da2: SAS Device Slot Element: 1 Phys at Slot 2
>>> ses0:  phy 0: SATA device
>>> ses0:  phy 0: parent 500304800182f4ff addr 500304800182f4ee
>>> ses0: probe12,pass4,da3: Element descriptor: 'Slot 04'
>>> ses0: probe12,pass4,da3: SAS Device Slot Element: 1 Phys at Slot 3
>>> ses0:  phy 0: SATA device
>>> ses0:  phy 0: parent 500304800182f4ff addr 500304800182f4ef
>>> ses0: probe13,pass5,da4: Element descriptor: 'Slot 05'
>>> ses0: probe13,pass5,da4: SAS Device Slot Element: 1 Phys at Slot 4
>>> ses0:  phy 0: SATA device
>>> ses0:  phy 0: parent 500304800182f4ff addr 500304800182f4f0
>>> ses0: probe14,pass6,da5: Element descriptor: 'Slot 06'
>>> ses0: probe14,pass6,da5: SAS Device Slot Element: 1 Phys at Slot 5
>>> ses0:  phy 0: SATA device
>>> ses0:  phy 0: parent 500304800182f4ff addr 500304800182f4f1
>>> SMP: AP CPU #3 Launched!
>>> SMP: AP CPU #1 Launched!
>>> SMP: AP CPU #2 Launched!
>>> Timecounter "TSC-low" frequency 1546522006 Hz quality 1000
>>> da4 at mps0 bus 0 scbus0 target 13 lun 0
>>> da4: <ATA WDC WD20EARX-00P AB51> Fixed Direct Access SCSI-6 device
>>> da4: 600.000MB/s transfers
>>> da4: Command Queueing enabled
>>> da4: 1907729MB (3907029168 512 byte sectors: 255H 63S/T 243201C)
>>> da3 at mps0 bus 0 scbus0 target 12 lun 0
>>> da3: <ATA WDC WD20EARX-00P AB51> Fixed Direct Access SCSI-6 device
>>> da3: 600.000MB/s transfers
>>> da3: Command Queueing enabled
>>> da3: 1907729MB (3907029168 512 byte sectors: 255H 63S/T 243201C)
>>> da0 at mps0 bus 0 scbus0 target 9 lun 0
>>> da0: <ATA WDC WD20EARX-00P AB51> Fixed Direct Access SCSI-6 device
>>> da0: 600.000MB/s transfers
>>> da0: Command Queueing enabled
>>> da0: 1907729MB (3907029168 512 byte sectors: 255H 63S/T 243201C)
>>> da5 at mps0 bus 0 scbus0 target 14 lun 0
>>> da5: <ATA WDC WD20EARX-00P AB51> Fixed Direct Access SCSI-6 device
>>> da5: 600.000MB/s transfers
>>> da5: Command Queueing enabled
>>> da5: 1907729MB (3907029168 512 byte sectors: 255H 63S/T 243201C)
>>> da2 at mps0 bus 0 scbus0 target 11 lun 0
>>> da2: <ATA WDC WD20EARX-00P AB51> Fixed Direct Access SCSI-6 device
>>> da2: 600.000MB/s transfers
>>> da2: Command Queueing enabled
>>> da2: 1907729MB (3907029168 512 byte sectors: 255H 63S/T 243201C)
>>> da1 at mps0 bus 0 scbus0 target 10 lun 0
>>> da1: <ATA WDC WD20EARX-00P AB51> Fixed Direct Access SCSI-6 device
>>> da1: 600.000MB/s transfers
>>> da1: Command Queueing enabled
>>> da1: 1907729MB (3907029168 512 byte sectors: 255H 63S/T 243201C)
>>> uhub0: 2 ports with 2 removable, self powered
>>> uhub1: 2 ports with 2 removable, self powered
>>> make_dev_physpath_alias: WARNING - Unable to alias  
>>> gptid/281951f4-a996-11e1-83eb-00259061b51a to  
>>> enc at n500304800182f4fd/type at 0/slot at 1/elmdesc at Slot_01/gptid/281951f4-a996-11e1-83eb-00259061b51a  
>>> - path too long
>>> make_dev_physpath_alias: WARNING - Unable to alias  
>>> gptid/87f6d404-a997-11e1-83eb-00259061b51a to  
>>> enc at n500304800182f4fd/type at 0/slot at 2/elmdesc at Slot_02/gptid/87f6d404-a997-11e1-83eb-00259061b51a  
>>> - path too long
>>> make_dev_physpath_alias: WARNING - Unable to alias  
>>> gptid/affdfc28-a997-11e1-83eb-00259061b51a to  
>>> enc at n500304800182f4fd/type at 0/slot at 3/elmdesc at Slot_03/gptid/affdfc28-a997-11e1-83eb-00259061b51a  
>>> - path too long
>>> make_dev_physpath_alias: WARNING - Unable to alias  
>>> gptid/c8eab51d-a997-11e1-83eb-00259061b51a to  
>>> enc at n500304800182f4fd/type at 0/slot at 4/elmdesc at Slot_04/gptid/c8eab51d-a997-11e1-83eb-00259061b51a  
>>> - path too long
>>> ugen0.2: <vendor 0x8087> at usbus0
>>> uhub2: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr  
>>> 2> on usbus0
>>> ugen1.2: <vendor 0x8087> at usbus1
>>> uhub3: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr  
>>> 2> on usbus1
>>> make_dev_physpath_alias: WARNING - Unable to alias  
>>> gptid/e4b1f963-a997-11e1-83eb-00259061b51a to  
>>> enc at n500304800182f4fd/type at 0/slot at 5/elmdesc at Slot_05/gptid/e4b1f963-a997-11e1-83eb-00259061b51a  
>>> - path too long
>>> make_dev_physpath_alias: WARNING - Unable to alias  
>>> gptid/faa2b1ca-a997-11e1-83eb-00259061b51a to  
>>> enc at n500304800182f4fd/type at 0/slot at 6/elmdesc at Slot_06/gptid/faa2b1ca-a997-11e1-83eb-00259061b51a  
>>> - path too long
>>> Root mount waiting for: usbus1 usbus0
>>> uhub2: 6 ports with 6 removable, self powered
>>> uhub3: 6 ports with 6 removable, self powered
>>> ugen0.3: <Winbond Electronics Corp> at usbus0
>>> ums0: <Winbond Electronics Corp Hermon USB hidmouse Device, class 0/0,  
>>> rev 1.10/0.01, addr 3> on usbus0
>>> ums0: 3 buttons and [Z] coordinates ID=0
>>> ukbd0: <Winbond Electronics Corp Hermon USB hidmouse Device, class  
>>> 0/0, rev 1.10/0.01, addr 3> on usbus0
>>> kbd2 at ukbd0
>>> Trying to mount root from ufs:/dev/ada0p2 [rw]...
>>> em0: link state changed to UP
>>>
>>>
>>> thanks all
>>>
>>>
>>>
>>> _______________________________________________
>>> freebsd-stable at freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>>> To unsubscribe, send any mail to  
>>> "freebsd-stable-unsubscribe at freebsd.org"
>> _______________________________________________
>> freebsd-stable at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>> To unsubscribe, send any mail to  
>> "freebsd-stable-unsubscribe at freebsd.org"


More information about the freebsd-stable mailing list