From owner-freebsd-stable@FreeBSD.ORG Wed Oct 22 07:03:47 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 474A1150; Wed, 22 Oct 2014 07:03:47 +0000 (UTC) Received: from smtp3-g21.free.fr (smtp3-g21.free.fr [212.27.42.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E5131E7E; Wed, 22 Oct 2014 07:03:46 +0000 (UTC) Received: from yggdrasil.alkumuna.eu (unknown [IPv6:2a01:e35:8a74:6e70:232:36ff:fe5c:3a87]) by smtp3-g21.free.fr (Postfix) with ESMTP id 6D405A636A; Wed, 22 Oct 2014 09:02:14 +0200 (CEST) Received: from ist-159-28.ujf-grenoble.fr (ist-159-28.ujf-grenoble.fr [152.77.159.28]) (authenticated bits=0) by yggdrasil.alkumuna.eu (8.14.7/8.14.7) with ESMTP id s9M73d4v002542 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 22 Oct 2014 09:03:40 +0200 (CEST) (envelope-from mazhe@alkumuna.eu) Subject: Re: VT switch to console disabled once X starts Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) Content-Type: text/plain; charset=utf-8 From: Matthieu Volat In-Reply-To: <5446A203.9000703@FreeBSD.org> Date: Wed, 22 Oct 2014 09:03:27 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <6143A443-555A-472F-A9B7-CFF8356D4C4E@alkumuna.eu> References: <2553F6A9-0363-491B-9585-E12AD32CF0F6@alkumuna.eu> <5446801E.5000405@FreeBSD.org> <20141021195528.1a1eac62@freedom> <5446A203.9000703@FreeBSD.org> To: =?utf-8?Q?Jean-S=C3=A9bastien_P=C3=A9dron?= X-Mailer: Apple Mail (2.1990.1) Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2014 07:03:47 -0000 > Le 21 oct. 2014 =C3=A0 20:12, Jean-S=C3=A9bastien P=C3=A9dron = a =C3=A9crit : >=20 > On 21.10.2014 19:55, Matthieu Volat wrote: >>> And is this with vt(4) only? In other words, does it work as = expected >>> with syscons? >>=20 >> I have the problem with both syscons and vt (vga). >=20 > Hmmm, the behavior you describe happens with Intel or Radeon GPUs when > using syscons only. But it's unexpected with the NVIDIA driver, no > matter the console driver you use... Yes, I am very puzzled by this... >=20 > I have no NVIDIA hardware at hand. Was the dmesg you posted taken = before > or after X was started? I should have been, but I'm not sure at which point dmesg.boot is = trunkated, here is the dmesg of a fresh reboot with xdm: 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-RC2-p1 #0: Tue Oct 21 06:36:05 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 VT: running with driver "vga". CPU: Intel(R) Xeon(R) CPU W3520 @ 2.67GHz (2666.72-MHz = K8-class CPU) Origin =3D "GenuineIntel" Id =3D 0x106a5 Family =3D 0x6 Model =3D = 0x1a Stepping =3D 5 = Features=3D0xbfebfbff = Features2=3D0x9ce3bd AMD Features=3D0x28100800 AMD Features2=3D0x1 VT-x: PAT,HLT,MTF,PAUSE,EPT,VPID TSC: P-state invariant, performance statistics real memory =3D 8592031744 (8194 MB) avail memory =3D 8236482560 (7854 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: 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: Changing APIC ID to 1 ioapic1: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard random: initialized module_register_init: MOD_LOAD (vesa, 0xffffffff80d92420, 0) error 19 kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) acpi0: reservation of fed40000, 12c1ffe (3) failed acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, cff00000 (3) failed cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: 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 hpet1: iomem 0xfed00000-0xfed003ff on acpi0 Event timer "HPET" frequency 14318180 Hz quality 450 Event timer "HPET1" frequency 14318180 Hz quality 440 Event timer "HPET2" frequency 14318180 Hz quality 440 Event timer "HPET3" frequency 14318180 Hz quality 440 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xf808-0xf80b on acpi0 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 device_attach: hpet0 attach returned 12 pcib0: on acpi0 pci63: on pcib0 pcib1: port 0xcf8-0xcff on acpi0 pci0: on pcib1 pcib2: at device 1.0 on pci0 pci3: on pcib2 pcib3: at device 3.0 on pci0 pci15: on pcib3 vgapci0: port 0xe000-0xe07f mem = 0xe2000000-0xe2ffffff,0xd0000000-0xdfffffff,0xe0000000-0xe1ffffff irq 24 = at device 0.0 on pci15 nvidia0: on vgapci0 vgapci0: child nvidia0 requested pci_enable_io vgapci0: child nvidia0 requested pci_enable_io vgapci0: Boot video device pcib4: at device 7.0 on pci0 pci40: on pcib4 pci0: at device 16.0 (no driver = attached) pci0: at device 16.1 (no driver = attached) pci0: at device 17.0 (no driver = attached) pci0: at device 17.1 (no driver = attached) pci0: at device 20.0 (no driver = attached) pci0: at device 20.1 (no driver = attached) pci0: at device 20.2 (no driver = attached) uhci0: port 0xd000-0xd01f = irq 20 at device 26.0 on pci0 usbus0 on uhci0 uhci1: port 0xd020-0xd03f = irq 21 at device 26.1 on pci0 usbus1 on uhci1 uhci2: port 0xd040-0xd05f = irq 22 at device 26.2 on pci0 usbus2 on uhci2 ehci0: mem = 0xe3204800-0xe3204bff irq 22 at device 26.7 on pci0 usbus3: EHCI version 1.0 usbus3 on ehci0 hdac0: mem 0xe3200000-0xe3203fff irq 21 = at device 27.0 on pci0 pcib5: at device 28.0 on pci0 pci28: on pcib5 pcib6: irq 21 at device 28.5 on pci0 pci1: on pcib6 bge0: mem 0xe3100000-0xe310ffff irq 17 at device 0.0 on pci1 bge0: CHIP ID 0x05784100; ASIC REV 0x5784; CHIP REV 0x57841; PCI-E miibus0: on bge0 brgphy0: PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, = 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge0: Ethernet address: f4:ce:46:2d:aa:a6 uhci3: port 0xd060-0xd07f = irq 20 at device 29.0 on pci0 usbus4 on uhci3 uhci4: port 0xd080-0xd09f = irq 21 at device 29.1 on pci0 usbus5 on uhci4 uhci5: port 0xd0a0-0xd0bf = irq 22 at device 29.2 on pci0 usbus6 on uhci5 ehci1: mem = 0xe3204c00-0xe3204fff irq 20 at device 29.7 on pci0 usbus7: EHCI version 1.0 usbus7 on ehci1 pcib7: at device 30.0 on pci0 pci55: on pcib7 pci55: at device 5.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 ahci0: port = 0xd100-0xd107,0xd110-0xd113,0xd108-0xd10f,0xd114-0xd117,0xd0c0-0xd0df = mem 0xe3204000-0xe32047ff irq 18 at device 31.2 on pci0 ahci0: AHCI v1.20 with 6 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 ahcich4: at channel 4 on ahci0 ahcich5: at channel 5 on ahci0 acpi_button0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on = acpi0 qpi0: on motherboard orm0: at iomem 0xe9000-0xeffff on isa0 ppc0: cannot reserve I/O port range est0: on cpu0 p4tcc0: on cpu0 est1: on cpu1 p4tcc1: on cpu1 est2: on cpu2 p4tcc2: on cpu2 est3: on cpu3 p4tcc3: on cpu3 random: unblocking device. usbus0: 12Mbps Full Speed USB v1.0 fuse-freebsd: version 0.4.4, FUSE ABI 7.8 ZFS filesystem version: 5 ZFS storage pool version: features support (5000) Timecounters tick every 1.000 msec hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 21 and 24,25,26 on hdaa0 pcm1: at nid 27 on hdaa0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 ugen0.1: at usbus0 ugen1.1: at usbus1 uhub0: on usbus0 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 usbus3: 480Mbps High Speed USB v2.0 usbus4: 12Mbps Full Speed USB v1.0 usbus5: 12Mbps Full Speed USB v1.0 ugen3.1: at usbus3 ugen4.1: at usbus4 uhub3: on usbus3 uhub4: on usbus4 ugen5.1: at usbus5 uhub5: on usbus5 usbus6: 12Mbps Full Speed USB v1.0 usbus7: 480Mbps High Speed USB v2.0 ugen6.1: at usbus6 uhub6: on usbus6 ugen7.1: at usbus7 uhub7: on usbus7 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered uhub4: 2 ports with 2 removable, self powered uhub5: 2 ports with 2 removable, self powered uhub6: 2 ports with 2 removable, self powered ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ATA-8cd0 at ahcich1 bus 0 scbus1 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device=20 cd0: Serial Number R3786GBSB3631300 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 SATA 2.x device ada0: Serial Number 9VM9ERCY ada0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada0: Command Queueing enabled ada0: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad4 SMP: AP CPU #2 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #1 Launched! Timecounter "TSC-low" frequency 1333361188 Hz quality 1000 Root mount waiting for: usbus7 usbus3 Root mount waiting for: usbus7 usbus3 uhub3: 6 ports with 6 removable, self powered uhub7: 6 ports with 6 removable, self powered Trying to mount root from zfs:zroot []... ugen6.2: at usbus6 ums0: on usbus6 ums0: 3 buttons and [XYZ] coordinates ID=3D0 And nothing more if I switch to ttyv0... Could it be related to the fact = this is a quadro nvidia card? vgapci0@pci0:15:0:0: class=3D0x030000 card=3D0x063a10de = chip=3D0x065910de rev=3D0xa1 hdr=3D0x00 vendor =3D 'NVIDIA Corporation' device =3D 'G96 [Quadro FX 580]' class =3D display subclass =3D VGA >=20 > Your Xorg.log shows no error either. >=20 I also have a friend that happens to have a HP laptop using freebsd 9.3 = which has the same problem, coincidence? -- Matthieu Volat=