From owner-freebsd-questions@FreeBSD.ORG Mon Mar 23 21:11:02 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27107106576A for ; Mon, 23 Mar 2009 21:11:02 +0000 (UTC) (envelope-from arthurbarlow@earthlink.net) Received: from elasmtp-kukur.atl.sa.earthlink.net (elasmtp-kukur.atl.sa.earthlink.net [209.86.89.65]) by mx1.freebsd.org (Postfix) with ESMTP id BEC6E8FC16 for ; Mon, 23 Mar 2009 21:11:01 +0000 (UTC) (envelope-from arthurbarlow@earthlink.net) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=tO4+qdM4NyVDNEqADSRLwRsTNqrhXwt1zZJo9f9VQVRcewyZyRY8Sv4a/EJDUXfS; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding:X-ELNK-Trace:X-Originating-IP; Received: from [66.77.101.6] (helo=[10.11.11.64]) by elasmtp-kukur.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1LlrQC-0006bL-LI for freebsd-questions@freebsd.org; Mon, 23 Mar 2009 17:11:00 -0400 Message-ID: <49C7FAE3.3050500@earthlink.net> Date: Mon, 23 Mar 2009 14:10:59 -0700 From: Arthur Barlow User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ELNK-Trace: 0bd0885458bbffc5a6d650fed495db8b4d2b10475b571120443ceb8b7aedd82f287054d6bf0a9854f3955f778df1f3fd350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 66.77.101.6 Subject: Re: xorg-server-1.5.3_7, /usr/ports/UPDATING, mouse X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2009 21:11:05 -0000 Message: 25 Date: Mon, 23 Mar 2009 15:51:54 -0500 From: Adam Vandemore Subject: Re: xorg-server-1.5.3_7, /usr/ports/UPDATING, mouse To: freebsd-questions@freebsd.org Message-ID: <49C7F66A.7040509@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Neal Hogan wrote: > > Well, recently I deinstalled all of my third party apps . . . long story > > (some of which is documented on this list) . . . but the short story is that > > some were added via the ports tree and others via pkg_add. When it came time > > to portupdate, I was having problems and it was brought to my attention > > that, among other things, mixing ports and packages may lead to problems. > > Also, I didn't do the massive deinstall until after I had portupgraded all > > of my packages individually and the mouse/keyboard didn't work with X (it > > did at the console). Once this happened I felt compelled to wipe the slate. > > > > So, with no ports/packages installed and starting with a fresh ports tree, I > > began installing them one-by-one: > > > > 1) cd /usr/ports/path/port > > 2) make && make install && make clean > > > > I started with xorg. After it was installed, I tried to start X (startx) . . > > . no dice . . . no big deal. I created the basic xorg.conf (Xorg > > -configure), tried it (Xorg -config xorg.conf.new). X started, but no mouse > > activity and ctrl+alt+backspace did not quit X. I had moused enable in > > rc.conf and, as I say above the mouse worked (i.e., it moved when asked) at > > the console. /usr/ports/UPDATING says that some mouse issues were cleared > > up: > > > > "20090124: > > 241 AFFECTS: users of x11-servers/xorg-server, sysutils/hal > > 242 AUTHOR: rnoland@FreeBSD.org > > 243 > > 244 sysutils/hal has been updated and should now properly detect > > 245 mice for use in Xorg. Use of AllowEmptyInput should no longer > > 246 be needed for most users and moused should now work fine." > > > > But, as I say, I have no mouse under X. So, I try adding: > > > > Option "AllowEmptyInput" "off" > > > > in my xorg.conf and "Hey! We gotta mouse!" > > > > I just rebooted and the mouse still works in X, but just before rebooting I > > disabled moused (in rc.conf -> moused_enable="NO"). So, adding the above > > line to xorg.conf helped with/without moused. Note that prior to this whole > > portupgrade deal I was running 7.1-RELEASE without an xorg.conf, put with an > > older xorg. > > > > At this point, I'm not upset b/c everything seems to be working fine. Just > > curious what might be going on. Thanks for you time. Below is my dmesg. > > > > 1 Copyright (c) 1992-2009 The FreeBSD Project. > > 2 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > > 3 The Regents of the University of California. All rights > > reserved. > > 4 FreeBSD is a registered trademark of The FreeBSD Foundation. > > 5 FreeBSD 7.1-RELEASE #0: Sat Jan 10 19:07:15 CST 2009 > > 6 nph@frege.lambdaserver:/usr/obj/usr/src/sys/GENERIC > > 7 Timecounter "i8254" frequency 1193182 Hz quality 0 > > 8 CPU: mobile AMD Athlon(tm) XP2400+ (1788.94-MHz 686-class CPU) > > 9 Origin = "AuthenticAMD" Id = 0x6a0 Stepping = 0 > > 10 > > Features=0x383f9ff > V,PAT,PSE36,MMX,FXSR,SSE> > > 11 AMD Features=0xc0480800 > > 12 real memory = 468647936 (446 MB) > > 13 avail memory = 444530688 (423 MB) > > 14 kbd1 at kbdmux0 > > 15 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, > > RF5413) > > 16 acpi0: on motherboard > > 17 acpi0: [ITHREAD] > > 18 acpi0: Power Button (fixed) > > 19 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > > 20 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 > > 21 acpi_ec0: port 0x62,0x66 on acpi0 > > 22 pcib0: port 0xcf8-0xcff on acpi0 > > 23 pci_link5: BIOS IRQ 10 for 0.10.INTA is invalid > > 24 pci0: on pcib0 > > 25 agp0: on hostb0 > > 26 pcib1: at device 1.0 on pci0 > > 27 pci1: on pcib1 > > 28 vgapci0: port 0x9000-0x90ff mem > > 0xe0000000-0xefffff ff,0xd0100000-0xd010ffff irq 10 at device 5.0 on pci1 > > 29 ohci0: mem > > 0xd0006000-0xd0006fff irq 9 at device 2.0 on pci0 > > 30 ohci0: [GIANT-LOCKED] > > 31 ohci0: [ITHREAD] > > 32 usb0: OHCI version 1.0, legacy support > > 33 usb0: SMM does not respond, resetting > > 34 usb0: on ohci0 > > 35 usb0: USB revision 1.0 > > 36 uhub0: on > > usb0 > > 37 uhub0: 4 ports with 4 removable, self powered > > 38 pcm0: port 0x8400-0x84ff mem 0xd0007000-0xd0007fff irq > > 5 a t device 6.0 on pci0 > > 39 pcm0: > > 40 pcm0: [GIANT-LOCKED] > > 41 pcm0: [ITHREAD] > > 42 isab0: at device 7.0 on pci0 > > 43 isa0: on isab0 > > 44 pci0: at device 8.0 (no driver attached) > > 45 pci0: at device 9.0 (no driver attached) > > 46 cbb0: irq 11 at device 10.0 on > > pci0 > > 47 cardbus0: on cbb0 > > 48 pccard0: <16-bit PCCard bus> on cbb0 > > 49 cbb0: [ITHREAD] > > 50 fwohci0: mem > > 0xd0009000-0xd00097ff,0 xd0000000-0xd0003fff irq 10 at device 12.0 on > > pci0 > > 51 fwohci0: [FILTER] > > 52 fwohci0: OHCI version 1.10 (ROM=1) > > 53 fwohci0: No. of Isochronous channels is 4. > > 54 fwohci0: EUI64 00:0d:9d:71:9e:43:0c:6a > > 55 fwohci0: Phy 1394a available S400, 1 ports. > > 56 fwohci0: Link S400, max_rec 2048 bytes. > > 57 firewire0: on fwohci0 > > 58 fwe0: on firewire0 > > 59 if_fwe0: Fake Ethernet address: 02:0d:9d:43:0c:6a > > 60 fwe0: Ethernet address: 02:0d:9d:43:0c:6a > > 61 fwip0: on firewire0 > > 62 fwip0: Firewire address: 00:0d:9d:71:9e:43:0c:6a @ 0xfffe00000000, S400, > > max rec 2048 > > 63 sbp0: on firewire0 > > 64 dcons_crom0: on firewire0 > > 65 dcons_crom0: bus_addr 0x12bc000 > > 66 fwohci0: Initiate bus reset > > 67 fwohci0: BUS reset > > 68 fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode > > 69 atapci0: port > > 0x1f0-0x1f7,0x3f6,0x170-0x 177,0x376,0x8080-0x808f at device 16.0 on pci0 > > 37 uhub0: 4 ports with 4 removable, self powered > > 38 pcm0: port 0x8400-0x84ff mem 0xd0007000-0xd0007fff irq > > 5 a t device 6.0 on pci0 > > 39 pcm0: > > 40 pcm0: [GIANT-LOCKED] > > 41 pcm0: [ITHREAD] > > 42 isab0: at device 7.0 on pci0 > > 43 isa0: on isab0 > > 44 pci0: at device 8.0 (no driver attached) > > 45 pci0: at device 9.0 (no driver attached) > > 46 cbb0: irq 11 at device 10.0 on > > pci0 > > 47 cardbus0: on cbb0 > > 48 pccard0: <16-bit PCCard bus> on cbb0 > > 49 cbb0: [ITHREAD] > > 50 fwohci0: mem > > 0xd0009000-0xd00097ff,0 xd0000000-0xd0003fff irq 10 at device 12.0 on > > pci0 > > 51 fwohci0: [FILTER] > > 52 fwohci0: OHCI version 1.10 (ROM=1) > > 53 fwohci0: No. of Isochronous channels is 4. > > 54 fwohci0: EUI64 00:0d:9d:71:9e:43:0c:6a > > 55 fwohci0: Phy 1394a available S400, 1 ports. > > 56 fwohci0: Link S400, max_rec 2048 bytes. > > 57 firewire0: on fwohci0 > > 58 fwe0: on firewire0 > > 59 if_fwe0: Fake Ethernet address: 02:0d:9d:43:0c:6a > > 60 fwe0: Ethernet address: 02:0d:9d:43:0c:6a > > 61 fwip0: on firewire0 > > 62 fwip0: Firewire address: 00:0d:9d:71:9e:43:0c:6a @ 0xfffe00000000, S400, > > max rec 2048 > > 63 sbp0: on firewire0 > > 64 dcons_crom0: on firewire0 > > 65 dcons_crom0: bus_addr 0x12bc000 > > 66 fwohci0: Initiate bus reset > > 67 fwohci0: BUS reset > > 68 fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode > > 69 atapci0: port > > 0x1f0-0x1f7,0x3f6,0x170-0x 177,0x376,0x8080-0x808f at device 16.0 on pci0 > > 37 uhub0: 4 ports with 4 removable, self powered > > 38 pcm0: port 0x8400-0x84ff mem 0xd0007000-0xd0007fff irq > > 5 a t device 6.0 on pci0 > > 39 pcm0: > > 40 pcm0: [GIANT-LOCKED] > > 41 pcm0: [ITHREAD] > > 42 isab0: at device 7.0 on pci0 > > 43 isa0: on isab0 > > 44 pci0: at device 8.0 (no driver attached) > > 45 pci0: at device 9.0 (no driver attached) > > 46 cbb0: irq 11 at device 10.0 on > > pci0 > > 47 cardbus0: on cbb0 > > 48 pccard0: <16-bit PCCard bus> on cbb0 > > 49 cbb0: [ITHREAD] > > 50 fwohci0: mem > > 0xd0009000-0xd00097ff,0 xd0000000-0xd0003fff irq 10 at device 12.0 on > > pci0 > > 51 fwohci0: [FILTER] > > 52 fwohci0: OHCI version 1.10 (ROM=1) > > 53 fwohci0: No. of Isochronous channels is 4. > > 54 fwohci0: EUI64 00:0d:9d:71:9e:43:0c:6a > > 55 fwohci0: Phy 1394a available S400, 1 ports. > > 56 fwohci0: Link S400, max_rec 2048 bytes. > > 57 firewire0: on fwohci0 > > 58 fwe0: on firewire0 > > 59 if_fwe0: Fake Ethernet address: 02:0d:9d:43:0c:6a > > 60 fwe0: Ethernet address: 02:0d:9d:43:0c:6a > > 61 fwip0: on firewire0 > > 62 fwip0: Firewire address: 00:0d:9d:71:9e:43:0c:6a @ 0xfffe00000000, S400, > > max rec 2048 > > 63 sbp0: on firewire0 > > 64 dcons_crom0: on firewire0 > > 65 dcons_crom0: bus_addr 0x12bc000 > > 66 fwohci0: Initiate bus reset > > 67 fwohci0: BUS reset > > 68 fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode > > 69 atapci0: port > > 0x1f0-0x1f7,0x3f6,0x170-0x 177,0x376,0x8080-0x808f at device 16.0 on pci0 > > 70 atapci0: using PIO transfers above 137GB as workaround for 48bit DMA > > access bug, expect reduced performance > > 71 ata0: on atapci0 > > 72 ata0: [ITHREAD] > > 73 ata1: on atapci0 > > 74 ata1: [ITHREAD] > > 75 pci0: at device 17.0 (no driver attached) > > 76 sis0: port 0x8c00-0x8cff mem > > 0xd000a000-0x d000afff irq 11 at device 18.0 on pci0 > > 77 sis0: Silicon Revision: DP83816A > > 78 miibus0: on sis0 > > 79 nsphyter0: PHY 0 on miibus0 > > 80 nsphyter0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > > 81 sis0: Ethernet address: 00:0d:9d:43:2b:a7 > > 82 sis0: [ITHREAD] > > 83 acpi_button0: on acpi0 > > 84 acpi_lid0: on acpi0 > > 85 acpi_acad0: on acpi0 > > 86 battery0: on acpi0 > > 87 acpi_tz0: on acpi0 > > 88 atkbdc0: port 0x60,0x64 irq 1 on acpi0 > > 89 atkbd0: irq 1 on atkbdc0 > > 90 kbd0 at atkbd0 > > 91 atkbd0: [GIANT-LOCKED] > > 92 atkbd0: [ITHREAD] > > 93 psm0: irq 12 on atkbdc0 > > 94 psm0: [GIANT-LOCKED] > > 95 psm0: [ITHREAD] > > 96 psm0: model IntelliMouse, device ID 3 > > 97 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on > > acpi0 > > 98 fdc0: [FILTER] > > 99 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on > > acpi 0 > > 100 sio0: type 16550A > > 101 sio0: [FILTER] > > 102 cpu0: on acpi0 > > 103 powernow0: on cpu0 > > 104 pmtimer0 on isa0 > > 105 orm0: at iomem > > 0xc0000-0xcefff,0xcf000-0xcf7ff,0xdb000-0xd bfff,0xdc000-0xdffff pnpid > > ORM0000 on isa0 > > 106 ppc0: at port 0x378-0x37f irq 7 on isa0 > > 107 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode > > 108 ppc0: FIFO with 16/16/16 bytes threshold > > 109 ppbus0: on ppc0 > > 110 ppbus0: [ITHREAD] > > 111 ppi0: on ppbus0 > > 112 plip0: on ppbus0 > > 113 plip0: WARNING: using obsoleted IFF_NEEDSGIANT flag > > 114 lpt0: on ppbus0 > > 115 lpt0: Interrupt-driven port > > 116 ppc0: [GIANT-LOCKED] > > 117 ppc0: [ITHREAD] > > 118 sc0: at flags 0x100 on isa0 > > 119 sc0: VGA <16 virtual consoles, flags=0x300> > > 120 sio1: configured irq 3 not in bitmap of probed irqs 0 > > 121 sio1: port may not be enabled > > 122 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on > > isa0 > > 123 ums0: on > > uhub0 > > 124 ums0: 16 buttons and Z dir. > > 125 Timecounter "TSC" frequency 1788940443 Hz quality 800 > > 126 Timecounters tick every 1.000 msec > > 127 firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) > > 128 firewire0: bus manager 0 (me) > > 129 ad0: 95396MB at ata0-master UDMA100 > > 130 acd0: CDRW at ata1-master UDMA33 > > 131 Trying to mount root from ufs:/dev/ad0s2a > > I don't have time to go over in detail what you posted, but one thing that springs to mind is the newer xorg integrates more with dbus and hald by default. If that's not working I would make sure dbus and hald are installed with current releases, enabled in /etc/rc.conf and then reboot and ensure both are running prior to trying to start X again. . -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 This appears to be the "AllowEmptyInput" issue that has also caused me problems recently. If you put the following: Option "AllowEmptyInput" "off" in the ServerLayout section, it usually fixes the problem.