Date: Tue, 12 Aug 2003 12:20:25 -0700 (PDT) From: Jamie Bowden <ragnar@sysabend.org> To: mobile@FreeBSD.org Subject: Wierd X issue. Message-ID: <20030812115548.S15481-100000@moo.sysabend.org>
next in thread | raw e-mail | index | archive | help
I upgraded my laptop (Dell Latitude C810) to 5.1-R this morning (saved data I cared about, did fresh install), and cvsup'd RELENG_5_1. After buildworld, installworld, buildkernel, installkernel, and a reboot I built the XFree86-4 port. I've also installed the linux_base posrt and the NVIDIA FreeBSD driver dated July 1, 2003, which is the newest on their site. My problem is that X can't grab the keyboard. X comes up just fine, but anything I type doesn't echo in the focused window (xterm for test purposes), and upon exiting I get random garbage dumped to my command line. This doesn't happen on my desktop, only my laptop. This happens both in the dock and out of it. With this exception, everything else appears to be working fine (except the: ACPI-0293: *** Warning: Buffer created with zero length in AML -0166: *** Error: UtAllocate: Attempt to allocate zero bytes issue, which I'll patch later). Right now, I'd just like to know if anyone else has seen this problem, and what was necessary to solve it. I'll paste the dmesg output (without the zillion AML errors below). from dmesg (in a C/PortII): Copyright (c) 1992-2003 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 5.1-RELEASE-p2 #0: Tue Aug 12 10:54:05 EDT 2003 jamie@ghast:/usr/obj/usr/src/sys/ghast Preloaded elf kernel "/boot/kernel/kernel" at 0xc0764000. Preloaded elf module "/boot/kernel/linux.ko" at 0xc07641cc. Preloaded elf module "/boot/kernel/nvidia.ko" at 0xc0764278. Preloaded elf module "/boot/kernel/snd_maestro3.ko" at 0xc0764324. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc07643d8. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 1129573170 Hz CPU: Intel(R) Pentium(R) III Mobile CPU 1133MHz (1129.57-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1 Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory = 536780800 (511 MB) avail memory = 513400832 (489 MB) Pentium Pro MTRR support enabled VESA: v3.0, 32768k memory, flags:0x1, mode table:0xc04a6de2 (1000022) VESA: NVidia npx0: <math processor> on motherboard npx0: INT 16 interface acpi0: <DELL CPi R > on motherboard pcibios: BIOS version 2.10 Using $PIR table, 10 entries at 0xc00fbc20 Timecounter "ACPI-fast" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_cpu0: <CPU> port 0x530-0x537 on acpi0 acpi_tz0: <thermal zone> port 0x530-0x537 on acpi0 acpi_acad0: <AC adapter> on acpi0 acpi_cmbat0: <Control method Battery> on acpi0 acpi_cmbat1: <Control method Battery> on acpi0 acpi_lid0: <Control Method Lid Switch> on acpi0 acpi_button0: <Power Button> on acpi0 acpi_button1: <Sleep Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 agp0: <Intel 82815 (i815 GMCH) host to PCI bridge> mem 0xe8000000-0xebffffff at device 0.0 on pci0 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0 pci1: <ACPI PCI bus> on pcib1 nvidia0: <GeForce2 Go> mem 0xe0000000-0xe7ffffff,0xfc000000-0xfcffffff irq 11 at device 0.0 on pci1 pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci2: <ACPI PCI bus> on pcib2 pcm0: <ESS Technology Maestro3> port 0xec00-0xecff mem 0xf8ffe000-0xf8ffffff irq 5 at device 3.0 on pci2 pcm0: <SigmaTel STAC9721/23 AC97 Codec> xl0: <3Com 3c556 Fast Etherlink XL> port 0xe800-0xe8ff mem 0xf8ffd800-0xf8ffd87f,0xf8ffdc00-0xf8ffdc7f irq 10 at device 6.0 on pci2 xl0: Ethernet address: 00:04:76:4c:0d:94 miibus0: <MII bus> on xl0 tdkphy0: <TDK 78Q2120 media interface> on miibus0 tdkphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci2: <simple comms> at device 6.1 (no driver attached) xl1: <3Com 3c905C-TX Fast Etherlink XL> port 0xe080-0xe0ff mem 0xf8ffcc00-0xf8ffcc7f irq 3 at device 8.0 on pci2 xl1: Ethernet address: 00:06:5b:d0:0d:6e miibus1: <MII bus> on xl1 ukphy0: <Generic IEEE 802.3u media interface> on miibus1 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto cbb0: <TI4451 PCI-CardBus Bridge> at device 15.0 on pci2 start (30000000) < sc->membase (f4000000) end (ffffffff) > sc->memlimit (fbffffff) cardbus0: <CardBus bus> on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib2: slot 15 INTA is routed to irq 10 cbb1: <TI4451 PCI-CardBus Bridge> at device 15.1 on pci2 start (30000000) < sc->membase (f4000000) end (ffffffff) > sc->memlimit (fbffffff) cardbus1: <CardBus bus> on cbb1 pccard1: <16-bit PCCard bus> on cbb1 pcib2: slot 15 INTA is routed to irq 10 fwohci0: <Texas Instruments PCI4451> mem 0xf8ff8000-0xf8ffbfff,0xf8ffc000-0xf8ffc7ff irq 10 at device 15.2 on pci2 fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channel is 4. fwohci0: EUI64 42:4f:c0:00:14:8b:94:21 fwohci0: Phy 1394a available S400, 1 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: <IEEE1394(FireWire) bus> on fwohci0 if_fwe0: <Ethernet over FireWire> on firewire0 if_fwe0: Fake Ethernet address: 42:4f:c0:8b:94:21 sbp0: <SBP2/SCSI over firewire> on firewire0 fwohci0: Initiate bus reset isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH2 UDMA100 controller> port 0xbfa0-0xbfaf at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xdce0-0xdcff irq 10 at device 31.2 on pci0 usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ums0: Logitech USB Mouse, rev 1.10/6.20, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 speaker0 port 0x67,0x65,0x63,0x61 on acpi0 orm0: <Option ROMs> at iomem 0xcf800-0xcffff,0xcf000-0xcf7ff,0xce800-0xcefff,0xce000-0xce7ff,0xc0000-0xcdfff on isa0 pmtimer0 on isa0 fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: <Parallel port bus> on ppc0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port sc0: <System console> at flags 0x100 on isa0 sc0: VGA <8 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 10.000 msec IPsec: Initialized Security Association Processing. fwohci0: BUS reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) ad0: 28615MB <IC25N030ATDA04-0> [58140/16/63] at ata0-master UDMA100 acd0: CD-RW <Samsung CD-RW/DVD-ROM SN-308B> at ata0-slave WDMA2 Mounting root from ufs:/dev/ad0s2a --------------------------------------------------------------- >From X when starting: XFree86 Version 4.3.0 Release Date: 27 February 2003 X Protocol Version 11, Revision 0, Release 6.6 Build Operating System: FreeBSD 5.1 i386 [ELF] Build Date: 12 August 2003 Before reporting problems, check http://www.XFree86.Org/ to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/XFree86.0.log", Time: Tue Aug 12 14:15:55 2003 (==) Using config file: "/etc/X11/XF86Config" Symbol __glXActiveScreens from module /usr/X11R6/lib/modules/extensions/libdri.a is unresolved! Symbol __glXActiveScreens from module /usr/X11R6/lib/modules/extensions/libdri.a is unresolved! (II) [GLX]: Initializing GLX extension This is xbattbar version 1.4.2, copyright (c)1998-2001 Suguru Yamaguchi waiting for X server to shut down xterm: fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0" xterm: fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0" xterm: fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0" xterm: fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0" xterm: fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0" ---------------------------------------------------------------- The XF86Config file: Section "ServerLayout" Identifier "XFree86 Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" ModulePath "/usr/X11R6/lib/modules" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" EndSection Section "Module" Load "extmod" Load "dri" Load "glx" Load "dbe" Load "record" Load "xtrap" Load "speedo" Load "type1" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" Option "XkbRules" "xfree86" Option "XkbModel" "pc101" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "Auto" Option "Device" "/dev/sysmouse" Option "Buttons" "5" Option "ZAxisMapping" "4 5" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Device" ### Available Driver options are:- ### Values: <i>: integer, <f>: float, <bool>: "True"/"False", ### <string>: "String", <freq>: "<f> Hz/kHz/MHz" ### [arg]: arg optional #Option "DigitalVibrance" # <i> #Option "PageFlip" # [<bool>] #Option "Dac8Bit" # [<bool>] #Option "NoLogo" # [<bool>] #Option "Overlay" # [<bool>] #Option "UBB" # [<bool>] #Option "Stereo" # <i> #Option "WindowFlip" # [<bool>] #Option "SWcursor" # [<bool>] #Option "HWcursor" # [<bool>] #Option "VideoKey" # <i> #Option "NvAGP" # <i> #Option "PixmapCacheLines" # <i> #Option "IgnoreEDID" # [<bool>] #Option "NoDDC" # [<bool>] #Option "ConnectedMonitor" # <str> #Option "ConnectedMonitors" # <str> #Option "TVStandard" # <str> #Option "TVOutFormat" # <str> #Option "NoRenderAccel" # [<bool>] #Option "CursorShadow" # [<bool>] #Option "CursorShadowAlpha" # <i> #Option "CursorShadowXOffset" # <i> #Option "CursorShadowYOffset" # <i> #Option "UseEdidFreqs" # [<bool>] #Option "FlatPanelProperties" # <str> #Option "TwinView" # [<bool>] #Option "TwinViewOrientation" # <str> #Option "SecondMonitorHorizSync" # <str> #Option "SecondMonitorVertRefresh" # <str> #Option "MetaModes" # <str> #Option "UseInt10Module" # [<bool>] #Option "SwapReady" # [<bool>] #Option "NoTwinViewXineramaInfo" # [<bool>] #Option "NoRenderExtension" # [<bool>] #Option "UseClipIDs" # [<bool>] Identifier "Card0" Driver "nvidia" VendorName "nVidia Corporation" BoardName "NV11 [GeForce2 Go]" BusID "PCI:1:0:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Depth 1 EndSubSection SubSection "Display" Depth 4 EndSubSection SubSection "Display" Depth 8 EndSubSection SubSection "Display" Depth 15 EndSubSection SubSection "Display" Depth 16 EndSubSection SubSection "Display" Depth 24 Modes "1600x1200" EndSubSection EndSection -------------------------------------------------------------- And the kernel config file: machine i386 ident ghast maxusers 0 options INCLUDE_CONFIG_FILE # Include this file in kernel cpu I686_CPU # aka Pentium Pro(tm) options COMPAT_43 options SCHED_4BSD options COMPAT_FREEBSD4 options _KPOSIX_PRIORITY_SCHEDULING options SYSVSHM # include support for shared memory options SYSVSEM # include support for semaphores options SYSVMSG # include support for message queues options INET #Internet communications protocols options INET6 #IPv6 communications protocols options IPSEC #IP security options IPSEC_ESP #IP security (crypto; define w/ IPSEC) options IPSEC_DEBUG #debug for IP security device ether #Generic Ethernet device loop #Network loopback device device wlan #802.11 support device ppp #Point-to-point protocol device bpf #Berkeley packet filter device gif #IPv6 and IPv4 tunneling device faith #for IPv6 and IPv4 translation device stf #6to4 IPv6 over IPv4 encapsulation device tun options PPP_BSDCOMP #PPP BSD-compress support options PPP_DEFLATE #PPP zlib/deflate/gzip support options PPP_FILTER #enable bpf filtering (needs bpf) options MROUTING # Multicast routing options FFS #Fast filesystem options SOFTUPDATES device random device scbus #base SCSI code device da #SCSI direct access devices (aka disks) device sa #SCSI tapes device cd #SCSI CD-ROMs device pass #SCSI passthrough driver device pt #SCSI processor type options SCSI_DELAY=8000 # Be pessimistic about Joe SCSI device device pty #Pseudo ttys device speaker #Play IBM BASIC-style noises out your speaker device isa device atkbdc device atkbd device psm device vga device agp options VESA device splash device sc options MAXCONS=8 # number of virtual consoles options SC_PIXEL_MODE # add support for the raster text mode device npx device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives device fdc device sio device apm device pmtimer device joy device pci device xl device miibus device pcm device midi device seq device cbb device pccard device cardbus device ppc device ppbus device lpt device vpo device firewire # Firewire bus code device sbp # SCSI over Firewire (Requires scbus and da) device fwe # Ethernet over Firewire (non-standard!) device uhci device ohci device ehci device usb device ugen device uhid device ukbd device ulpt device umass device ums ----------------------------------------------------------------------------- Does anyone see any problems with my setup (other than the obvious 'It doesn't work')? Jamie Bowden -- "It was half way to Rivendell when the drugs began to take hold" Hunter S Tolkien "Fear and Loathing in Barad Dur" Iain Bowen <alaric@alaric.org.uk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030812115548.S15481-100000>