From owner-freebsd-questions@FreeBSD.ORG Fri Mar 6 08:31:05 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CD86763C for ; Fri, 6 Mar 2015 08:31:05 +0000 (UTC) Received: from BLU004-OMC1S25.hotmail.com (blu004-omc1s25.hotmail.com [65.55.116.36]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 782C829F for ; Fri, 6 Mar 2015 08:31:05 +0000 (UTC) Received: from BLU436-SMTP74 ([65.55.116.7]) by BLU004-OMC1S25.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Fri, 6 Mar 2015 00:29:09 -0800 X-TMN: [OkgVQ//SKva9ZZhKQ/maF4r8vewmBrXN] X-Originating-Email: [bourne.identity@hotmail.com] Message-ID: Date: Fri, 6 Mar 2015 13:58:58 +0530 From: Manish Jain User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: CyberLeo Kitsana Subject: Re: Is there any plan to adopt devtmpfs ? References: <54F88D64.4000607@cyberleo.net> In-Reply-To: <54F88D64.4000607@cyberleo.net> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 06 Mar 2015 08:29:05.0075 (UTC) FILETIME=[9B721030:01D057E7] Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Mar 2015 08:31:05 -0000 >> 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: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen2.2: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA) ugen2.3: at usbus2, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (100mA) ugen2.4: at usbus2, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (90mA) ugen2.5: at usbus2, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (2mA) ugen2.5: 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 iProduct = 0x0001 iSerialNumber = 0x0002 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 Features2=0x802009 AMD Features=0xee500800 AMD Features2=0x837ff 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 irqs 0-23 on motherboard kbd1 at kbdmux0 random: 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: on acpi0 cpu1: on acpi0 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: port 0x70-0x71 irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 hpet0: 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: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0xd000-0xd0ff mem 0xd0000000-0xdfffffff,0xfebe0000-0xfebeffff,0xfea00000-0xfeafffff irq 18 at device 5.0 on pci1 vgapci0: Boot video device pcib2: irq 16 at device 4.0 on pci0 pci2: on pcib2 re0: 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: on re0 rgephy0: 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: 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: at channel 0 on ahci0 ahcich1: at channel 1 on ahci0 ahcich2: at channel 2 on ahci0 ahcich3: at channel 3 on ahci0 ohci0: mem 0xfe9fe000-0xfe9fefff irq 16 at device 18.0 on pci0 usbus0 on ohci0 ohci1: mem 0xfe9fd000-0xfe9fdfff irq 16 at device 18.1 on pci0 usbus1 on ohci1 ehci0: mem 0xfe9ff800-0xfe9ff8ff irq 17 at device 18.2 on pci0 usbus2: EHCI version 1.0 usbus2 on ehci0 ohci2: mem 0xfe9fc000-0xfe9fcfff irq 18 at device 19.0 on pci0 usbus3 on ohci2 ohci3: mem 0xfe9fb000-0xfe9fbfff irq 18 at device 19.1 on pci0 usbus4 on ohci3 ehci1: mem 0xfe9ff400-0xfe9ff4ff irq 19 at device 19.2 on pci0 usbus5: EHCI version 1.0 usbus5 on ehci1 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 20.1 on pci0 ata0: at channel 0 on atapci0 ata1: at channel 1 on atapci0 hdac0: mem 0xfe9f4000-0xfe9f7fff irq 16 at device 20.2 on pci0 isab0: at device 20.3 on pci0 isa0: on isab0 pcib3: at device 20.4 on pci0 pci3: on pcib3 ohci4: mem 0xfe9fa000-0xfe9fafff irq 18 at device 20.5 on pci0 usbus6 on ohci4 acpi_button0: on acpi0 ppc0: port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] acpi_throttle0: on cpu0 hwpstate0: on cpu0 Timecounters tick every 1.000 msec hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 20 and 24,26 on hdaa0 pcm1: at nid 27 and 25 on hdaa0 pcm2: 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: at usbus5 uhub0: on usbus5 ugen4.1: at usbus4 uhub1: on usbus4 ugen3.1: at usbus3 uhub2: on usbus3 ugen2.1: at usbus2 uhub3: on usbus2 ugen1.1: at usbus1 uhub4: on usbus1 ugen0.1: at usbus0 uhub5: on usbus0 ugen6.1: at usbus6 uhub6: 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: 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: 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: 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: at usbus2 uhub7: on usbus2 Root mount waiting for: usbus2 uhub7: 4 ports with 4 removable, self powered ugen2.3: at usbus2 Root mount waiting for: usbus2 ugen2.4: at usbus2 ukbd0: on usbus2 kbd2 at ukbd0 Root mount waiting for: usbus2 ugen2.5: at usbus2 Trying to mount root from ufs:/dev/ada0s1a [rw]... ums0: on usbus2 ums0: 3 buttons and [XYZ] coordinates ID=0 uhid0: on usbus2 fuse-freebsd: version 0.4.4, FUSE ABI 7.8 info: [drm] Initialized drm 1.1.0 20060810 drmn0: 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: on iicbb0 addr 0xf0 iic0: on iicbus0 iicbus1: on iicbb1 addr 0xc7 iic1: on iicbus1 iicbus2: on iicbb2 addr 0xc7 iic2: on iicbus2 iicbus3: on iicbb3 addr 0xc7 iic3: on iicbus3 iicbus4: on iicbb4 addr 0xc7 iic4: 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