Date: Fri, 6 Mar 2015 13:58:58 +0530 From: Manish Jain <bourne.identity@hotmail.com> To: CyberLeo Kitsana <cyberleo@cyberleo.net> Cc: freebsd-questions@freebsd.org Subject: Re: Is there any plan to adopt devtmpfs ? Message-ID: <BLU436-SMTP74AE6E33F834A2D406AE1BF61C0@phx.gbl> In-Reply-To: <54F88D64.4000607@cyberleo.net> References: <BLU436-SMTP37B91369BA1F4532599758F61F0@phx.gbl> <54F88D64.4000607@cyberleo.net>
next in thread | previous in thread | raw e-mail | index | archive | help
>> Can you provide further details for these failures? Specific device >> models and relevant dmesg(8) and usbconfig(8) output, for example. >> I have something for the APC UPS (USB Powerchute) too. Again, the complete output of dmesg is attached below my signature. 1) Important lines from my /etc/rc.conf : apcupsd_enable="NO" #Needed to run apctest dbus_enable="YES" hald_enable="YES" devfs_system_ruleset="system" 2) Important lines from my /usr/local/etc/apcupsd/apcupsd.conf : UPSNAME APC700BE UPSCABLE usb UPSTYPE usb DEVICE BATTERYLEVEL 5 MINUTES 5 UPSCLASS standalone UPSNAME APC700BE BATTDATE 05/28/14 SENSITIVITY L 3) usbconfig -u 2 dump_info ugen2.1: <EHCI root HUB ATI> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen2.2: <USB 2.0 Hub vendor 0x1a40> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA) ugen2.3: <USB Optical Mouse Logitech> at usbus2, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (100mA) ugen2.4: <USB Keyboard Logitech> at usbus2, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (90mA) ugen2.5: <Back-UPS ES 700Y-IN FW895.m1.I USB FWm1 American Power Conversion> at usbus2, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (2mA) ugen2.5: <Back-UPS ES 700Y-IN FW895.m1.I USB FWm1 American Power Conversion> at usbus2, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (2mA) 4) usbconfig -u 2 -a 5 dump_device_desc bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0110 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0008 idVendor = 0x051d idProduct = 0x0002 bcdDevice = 0x0006 iManufacturer = 0x0003 <American Power Conversion> iProduct = 0x0001 <Back-UPS ES 700Y-IN FW:895.m1.I USB FW:m1> iSerialNumber = 0x0002 <E21251005365 > bNumConfigurations = 0x0001 5) This is what I get in apctest.output when I run apctest : #{//start output 2015-03-06 11:43:17 apctest 3.14.12 (29 March 2014) freebsd Checking configuration ... sharenet.type = Network & ShareUPS Disabled cable.type = USB Cable mode.type = USB UPS Driver Setting up the port ... Doing prep_device() ... You are using a USB cable type, so I'm entering USB test mode Hello, this is the apcupsd Cable Test program. This part of apctest is for testing USB UPSes. Getting UPS capabilities...SUCCESS Please select the function you want to perform. 1) Test kill UPS power 2) Perform self-test 3) Read last self-test result 4) View/Change battery date 5) View manufacturing date 6) View/Change alarm behavior 7) View/Change sensitivity 8) View/Change low transfer voltage 9) View/Change high transfer voltage 10) Perform battery calibration 11) Test alarm 12) View/Change self-test interval Q) Quit Select function number: 2 This test instructs the UPS to perform a self-test operation and reports the result when the test completes. Clearing previous self test result...CLEARED Initiating self test...INITIATED Waiting for test to complete...COMPLETED Result of last self test: PASSED 1) Test kill UPS power 2) Perform self-test 3) Read last self-test result 4) View/Change battery date 5) View manufacturing date 6) View/Change alarm behavior 7) View/Change sensitivity 8) View/Change low transfer voltage 9) View/Change high transfer voltage 10) Perform battery calibration 11) Test alarm 12) View/Change self-test interval Q) Quit Select function number: 4 Current battery date: 05/28/2014 Enter new battery date (MM/DD/YYYY), blank to quit: Invalid format. 1) Test kill UPS power 2) Perform self-test 3) Read last self-test result 4) View/Change battery date 5) View manufacturing date 6) View/Change alarm behavior 7) View/Change sensitivity 8) View/Change low transfer voltage 9) View/Change high transfer voltage 10) Perform battery calibration 11) Test alarm 12) View/Change self-test interval Q) Quit Select function number: 7 Current sensitivity setting: MEDIUM Press... L for Low sensitivity M for Medium sensitivity H for High sensitivity Q to Quit with no changes Your choice: Select function: M New sensitivity setting: MEDIUM 1) Test kill UPS power 2) Perform self-test 3) Read last self-test result 4) View/Change battery date 5) View manufacturing date 6) View/Change alarm behavior 7) View/Change sensitivity 8) View/Change low transfer voltage 9) View/Change high transfer voltage 10) Perform battery calibration 11) Test alarm 12) View/Change self-test interval Q) Quit Select function number: 10 This test instructs the UPS to perform a battery calibration operation and reports the result when the process completes. The battery level must be at 100% and the load must be at least 10% to begin this test. Failed to read current battery level #}//end output 6) Running /usr/local/etc/apcupsd/commfailure fails : /usr/local/etc/apcupsd # ./commfailure ./commfailure: -s: not found Error contacting apcupsd @ localhost:3551: Connection refused Regards Manish Jain #here is the complete dmesg : Copyright (c) 1992-2014 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 10.1-RELEASE #0 r274401: Tue Nov 11 22:51:51 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386 FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 CPU: AMD Athlon(tm) II X2 270 Processor (3415.41-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x100f63 Family = 0x10 Model = 0x6 Stepping = 3 Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> Features2=0x802009<SSE3,MON,CX16,POPCNT> AMD Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!> AMD Features2=0x837ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT,NodeId> TSC: P-state invariant real memory = 2147483648 (2048 MB) avail memory = 1819914240 (1735 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: <090412 APIC1527> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ACPI BIOS Warning (bug): Optional FADT field Pm2ControlBlock has zero address or length: 0x0000000000000000/0x1 (20130823/tbfadt-630) ioapic0 <Version 2.1> irqs 0-23 on motherboard kbd1 at kbdmux0 random: <Software, Yarrow> initialized acpi0: <090412 XSDT1527> on motherboard acpi0: Power Button (fixed) acpi0: reservation of fee00000, 1000 (3) failed acpi0: reservation of ffb80000, 80000 (3) failed acpi0: reservation of fec10000, 20 (3) failed acpi0: reservation of fed40000, 5000 (3) failed acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 6fe00000 (3) failed cpu0: <ACPI CPU> on acpi0 cpu1: <ACPI CPU> on acpi0 attimer0: <AT timer> port 0x40-0x43 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-0x71 irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 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 450 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0 pci1: <ACPI PCI bus> on pcib1 vgapci0: <VGA-compatible display> port 0xd000-0xd0ff mem 0xd0000000-0xdfffffff,0xfebe0000-0xfebeffff,0xfea00000-0xfeafffff irq 18 at device 5.0 on pci1 vgapci0: Boot video device pcib2: <ACPI PCI-PCI bridge> irq 16 at device 4.0 on pci0 pci2: <ACPI PCI bus> on pcib2 re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xe800-0xe8ff mem 0xfdfff000-0xfdffffff,0xfdff8000-0xfdffbfff irq 16 at device 0.0 on pci2 re0: Using 1 MSI-X message re0: Chip rev. 0x2c800000 re0: MAC rev. 0x00100000 miibus0: <MII bus> on re0 rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0 rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow re0: Ethernet address: 50:46:5d:66:fd:10 ahci0: <AMD SB7x0/SB8x0/SB9x0 AHCI SATA controller> port 0xc000-0xc007,0xb000-0xb003,0xa000-0xa007,0x9000-0x9003,0x8000-0x800f mem 0xfe9ffc00-0xfe9fffff irq 22 at device 17.0 on pci0 ahci0: AHCI v1.10 with 4 3Gbps ports, Port Multiplier 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 ahcich3: <AHCI channel> at channel 3 on ahci0 ohci0: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfe9fe000-0xfe9fefff irq 16 at device 18.0 on pci0 usbus0 on ohci0 ohci1: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfe9fd000-0xfe9fdfff irq 16 at device 18.1 on pci0 usbus1 on ohci1 ehci0: <AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller> mem 0xfe9ff800-0xfe9ff8ff irq 17 at device 18.2 on pci0 usbus2: EHCI version 1.0 usbus2 on ehci0 ohci2: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfe9fc000-0xfe9fcfff irq 18 at device 19.0 on pci0 usbus3 on ohci2 ohci3: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfe9fb000-0xfe9fbfff irq 18 at device 19.1 on pci0 usbus4 on ohci3 ehci1: <AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller> mem 0xfe9ff400-0xfe9ff4ff irq 19 at device 19.2 on pci0 usbus5: EHCI version 1.0 usbus5 on ehci1 atapci0: <ATI IXP700/800 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 20.1 on pci0 ata0: <ATA channel> at channel 0 on atapci0 ata1: <ATA channel> at channel 1 on atapci0 hdac0: <ATI SB600 HDA Controller> mem 0xfe9f4000-0xfe9f7fff irq 16 at device 20.2 on pci0 isab0: <PCI-ISA bridge> at device 20.3 on pci0 isa0: <ISA bus> on isab0 pcib3: <ACPI PCI-PCI bridge> at device 20.4 on pci0 pci3: <ACPI PCI bus> on pcib3 ohci4: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfe9fa000-0xfe9fafff irq 18 at device 20.5 on pci0 usbus6 on ohci4 acpi_button0: <Power Button> on acpi0 ppc0: <Parallel port> port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: <Parallel port bus> on ppc0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 pmtimer0 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 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] acpi_throttle0: <ACPI CPU Throttling> on cpu0 hwpstate0: <Cool`n'Quiet 2.0> on cpu0 Timecounters tick every 1.000 msec hdacc0: <Realtek ALC887 HDA CODEC> at cad 0 on hdac0 hdaa0: <Realtek ALC887 Audio Function Group> at nid 1 on hdacc0 pcm0: <Realtek ALC887 (Rear Analog)> at nid 20 and 24,26 on hdaa0 pcm1: <Realtek ALC887 (Front Analog)> at nid 27 and 25 on hdaa0 pcm2: <Realtek ALC887 (Onboard Digital)> at nid 17 on hdaa0 random: unblocking device. usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 480Mbps High Speed USB v2.0 usbus3: 12Mbps Full Speed USB v1.0 usbus4: 12Mbps Full Speed USB v1.0 usbus5: 480Mbps High Speed USB v2.0 usbus6: 12Mbps Full Speed USB v1.0 ugen5.1: <ATI> at usbus5 uhub0: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus5 ugen4.1: <ATI> at usbus4 uhub1: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4 ugen3.1: <ATI> at usbus3 uhub2: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3 ugen2.1: <ATI> at usbus2 uhub3: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2 ugen1.1: <ATI> at usbus1 uhub4: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1 ugen0.1: <ATI> at usbus0 uhub5: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0 ugen6.1: <ATI> at usbus6 uhub6: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus6 uhub6: 2 ports with 2 removable, self powered uhub1: 3 ports with 3 removable, self powered uhub2: 3 ports with 3 removable, self powered uhub4: 3 ports with 3 removable, self powered uhub5: 3 ports with 3 removable, self powered ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: <WDC WD3200AAJS-00L7A0 01.03E01> ATA-8 SATA 1.x device ada0: Serial Number WD-WMAV27542837 ada0: 150.000MB/s transfers (SATA 1.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 305244MB (625140335 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad4 ada1 at ahcich1 bus 0 scbus1 target 0 lun 0 ada1: <WDC WD1600AAJS-00V4A0 05.01D05> ATA-8 SATA 2.x device ada1: Serial Number WD-WCAWF6026337 ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada1: Command Queueing enabled ada1: 152626MB (312579695 512 byte sectors: 16H 63S/T 16383C) ada1: Previously was known as ad6 cd0 at ahcich2 bus 0 scbus2 target 0 lun 0 cd0: <HP DVD Writer 1260v AH24> Removable CD-ROM SCSI-0 device cd0: Serial Number 3524497 206238502323 cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed SMP: AP CPU #1 Launched! Timecounter "TSC-low" frequency 1707704409 Hz quality 800 uhub0: 6 ports with 6 removable, self powered uhub3: 6 ports with 6 removable, self powered Root mount waiting for: usbus2 ugen2.2: <vendor 0x1a40> at usbus2 uhub7: <vendor 0x1a40 USB 2.0 Hub, class 9/0, rev 2.00/1.11, addr 2> on usbus2 Root mount waiting for: usbus2 uhub7: 4 ports with 4 removable, self powered ugen2.3: <Logitech> at usbus2 Root mount waiting for: usbus2 ugen2.4: <Logitech> at usbus2 ukbd0: <USB Keyboard> on usbus2 kbd2 at ukbd0 Root mount waiting for: usbus2 ugen2.5: <American Power Conversion> at usbus2 Trying to mount root from ufs:/dev/ada0s1a [rw]... ums0: <Logitech USB Optical Mouse, class 0/0, rev 2.00/72.00, addr 3> on usbus2 ums0: 3 buttons and [XYZ] coordinates ID=0 uhid0: <USB Keyboard> on usbus2 fuse-freebsd: version 0.4.4, FUSE ABI 7.8 info: [drm] Initialized drm 1.1.0 20060810 drmn0: <ATI Radeon 3000 Graphics> on vgapci0 info: [drm] RADEON_IS_PCI info: [drm] initializing kernel modesetting (RS780 0x1002:0x9616 0x1043:0x8388). info: [drm] register mmio base: 0xFEBE0000 info: [drm] register mmio size: 65536 info: [drm] radeon_atrm_get_bios: ===> Try ATRM... info: [drm] radeon_atrm_get_bios: IGP card detected, skipping this method... info: [drm] radeon_acpi_vfct_bios: ===> Try VFCT... info: [drm] radeon_acpi_vfct_bios: Get "VFCT" ACPI table info: [drm] radeon_acpi_vfct_bios: Failed to get "VFCT" table: AE_NOT_FOUND info: [drm] igp_read_bios_from_vram: ===> Try IGP's VRAM... info: [drm] igp_read_bios_from_vram: VRAM base address: 0xd0000000 info: [drm] igp_read_bios_from_vram: Map address: 0xf021f000 (262144 bytes) info: [drm] igp_read_bios_from_vram: Incorrect BIOS signature: 0x5307 info: [drm] radeon_read_bios: ===> Try PCI Expansion ROM... info: [drm] radeon_read_bios: Map address: 0xc00c0000 (131072 bytes) info: [drm] ATOM BIOS: B27722_RS780C drmn0: info: VRAM: 256M 0x00000000C0000000 - 0x00000000CFFFFFFF (256M used) drmn0: info: GTT: 512M 0x00000000A0000000 - 0x00000000BFFFFFFF info: [drm] Detected VRAM RAM=256M, BAR=256M info: [drm] RAM width 32bits DDR [TTM] Zone kernel: Available graphics memory: 906222 kiB [TTM] Initializing pool allocator info: [drm] radeon: 256M of VRAM memory ready info: [drm] radeon: 512M of GTT memory ready. info: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). info: [drm] Driver supports precise vblank timestamp query. info: [drm] radeon: irq initialized. info: [drm] GART: num cpu pages 131072, num gpu pages 131072 info: [drm] Loading RS780 Microcode info: [drm] PCIE GART of 512M enabled (table at 0x00000000C0040000). drmn0: info: WB enabled drmn0: info: fence driver on ring 0 use gpu addr 0x00000000a0000c00 and cpu addr 0x0xec6dcc00 drmn0: info: fence driver on ring 3 use gpu addr 0x00000000a0000c0c and cpu addr 0x0xec6dcc0c info: [drm] ring test on 0 succeeded in 1 usecs info: [drm] ring test on 3 succeeded in 1 usecs info: [drm] ib test on ring 0 succeeded in 0 usecs info: [drm] ib test on ring 3 succeeded in 0 usecs info: [drm] radeon_device_init: Taking over the fictitious range 0xd0000000-0xe0000000 iicbus0: <Philips I2C bus> on iicbb0 addr 0xf0 iic0: <I2C generic I/O> on iicbus0 iicbus1: <Philips I2C bus> on iicbb1 addr 0xc7 iic1: <I2C generic I/O> on iicbus1 iicbus2: <Philips I2C bus> on iicbb2 addr 0xc7 iic2: <I2C generic I/O> on iicbus2 iicbus3: <Philips I2C bus> on iicbb3 addr 0xc7 iic3: <I2C generic I/O> on iicbus3 iicbus4: <Philips I2C bus> on iicbb4 addr 0xc7 iic4: <I2C generic I/O> on iicbus4 info: [drm] Radeon Display Connectors info: [drm] Connector 0: info: [drm] VGA-1 info: [drm] DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 0x7e4c info: [drm] Encoders: info: [drm] CRT1: INTERNAL_KLDSCP_DAC1 info: [drm] Connector 1: info: [drm] DVI-D-1 info: [drm] HPD1 info: [drm] DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c 0x7e5c info: [drm] Encoders: info: [drm] DFP3: INTERNAL_KLDSCP_LVTMA info: [drm] radeon: power management initialized info: [drm] fb mappable at 0xD0142000 info: [drm] vram apper at 0xD0000000 info: [drm] size 5787648 info: [drm] fb depth is 24 info: [drm] pitch is 6400 fbd0 on drmn0 info: [drm] Initialized radeon 2.29.0 20080528
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BLU436-SMTP74AE6E33F834A2D406AE1BF61C0>