Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 2014 09:03:27 +0200
From:      Matthieu Volat <mazhe@alkumuna.eu>
To:        =?utf-8?Q?Jean-S=C3=A9bastien_P=C3=A9dron?= <dumbbell@FreeBSD.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: VT switch to console disabled once X starts
Message-ID:  <6143A443-555A-472F-A9B7-CFF8356D4C4E@alkumuna.eu>
In-Reply-To: <5446A203.9000703@FreeBSD.org>
References:  <2553F6A9-0363-491B-9585-E12AD32CF0F6@alkumuna.eu> <5446801E.5000405@FreeBSD.org> <20141021195528.1a1eac62@freedom> <5446A203.9000703@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> Le 21 oct. 2014 =C3=A0 20:12, Jean-S=C3=A9bastien P=C3=A9dron =
<dumbbell@FreeBSD.org> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE=
,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
=
Features2=3D0x9ce3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PD=
CM,DCA,SSE4.1,SSE4.2,POPCNT>
AMD Features=3D0x28100800<SYSCALL,NX,RDTSCP,LM>
AMD Features2=3D0x1<LAHF>
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: <HPQOEM TYLSBURG>
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 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-47 on motherboard
random: <Software, Yarrow> initialized
module_register_init: MOD_LOAD (vesa, 0xffffffff80d92420, 0) error 19
kbd1 at kbdmux0
acpi0: <HPQOEM SLIC-WKS> 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: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <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
hpet1: <High Precision Event Timer> 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: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
device_attach: hpet0 attach returned 12
pcib0: <ACPI Host-PCI bridge> on acpi0
pci63: <ACPI PCI bus> on pcib0
pcib1: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci3: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 3.0 on pci0
pci15: <ACPI PCI bus> on pcib3
vgapci0: <VGA-compatible display> port 0xe000-0xe07f mem =
0xe2000000-0xe2ffffff,0xd0000000-0xdfffffff,0xe0000000-0xe1ffffff irq 24 =
at device 0.0 on pci15
nvidia0: <Quadro FX 580> on vgapci0
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: Boot video device
pcib4: <ACPI PCI-PCI bridge> at device 7.0 on pci0
pci40: <ACPI PCI bus> on pcib4
pci0: <base peripheral, interrupt controller> at device 16.0 (no driver =
attached)
pci0: <base peripheral, interrupt controller> at device 16.1 (no driver =
attached)
pci0: <base peripheral, interrupt controller> at device 17.0 (no driver =
attached)
pci0: <base peripheral, interrupt controller> at device 17.1 (no driver =
attached)
pci0: <base peripheral, interrupt controller> at device 20.0 (no driver =
attached)
pci0: <base peripheral, interrupt controller> at device 20.1 (no driver =
attached)
pci0: <base peripheral, interrupt controller> at device 20.2 (no driver =
attached)
uhci0: <Intel 82801JI (ICH10) USB controller USB-D> port 0xd000-0xd01f =
irq 20 at device 26.0 on pci0
usbus0 on uhci0
uhci1: <Intel 82801JI (ICH10) USB controller USB-E> port 0xd020-0xd03f =
irq 21 at device 26.1 on pci0
usbus1 on uhci1
uhci2: <Intel 82801JI (ICH10) USB controller USB-F> port 0xd040-0xd05f =
irq 22 at device 26.2 on pci0
usbus2 on uhci2
ehci0: <Intel 82801JI (ICH10) USB 2.0 controller USB-B> mem =
0xe3204800-0xe3204bff irq 22 at device 26.7 on pci0
usbus3: EHCI version 1.0
usbus3 on ehci0
hdac0: <Intel 82801JI HDA Controller> mem 0xe3200000-0xe3203fff irq 21 =
at device 27.0 on pci0
pcib5: <ACPI PCI-PCI bridge> at device 28.0 on pci0
pci28: <ACPI PCI bus> on pcib5
pcib6: <ACPI PCI-PCI bridge> irq 21 at device 28.5 on pci0
pci1: <ACPI PCI bus> on pcib6
bge0: <Broadcom NetLink Gigabit Ethernet Controller, ASIC rev. =
0x5784100> mem 0xe3100000-0xe310ffff irq 17 at device 0.0 on pci1
bge0: CHIP ID 0x05784100; ASIC REV 0x5784; CHIP REV 0x57841; PCI-E
miibus0: <MII bus> on bge0
brgphy0: <BCM5784 10/100/1000baseT PHY> 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: <Intel 82801JI (ICH10) USB controller USB-A> port 0xd060-0xd07f =
irq 20 at device 29.0 on pci0
usbus4 on uhci3
uhci4: <Intel 82801JI (ICH10) USB controller USB-B> port 0xd080-0xd09f =
irq 21 at device 29.1 on pci0
usbus5 on uhci4
uhci5: <Intel 82801JI (ICH10) USB controller USB-C> port 0xd0a0-0xd0bf =
irq 22 at device 29.2 on pci0
usbus6 on uhci5
ehci1: <Intel 82801JI (ICH10) USB 2.0 controller USB-A> mem =
0xe3204c00-0xe3204fff irq 20 at device 29.7 on pci0
usbus7: EHCI version 1.0
usbus7 on ehci1
pcib7: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci55: <ACPI PCI bus> on pcib7
pci55: <serial bus, FireWire> at device 5.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
ahci0: <Intel ICH8 AHCI SATA controller> 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: <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
ahcich4: <AHCI channel> at channel 4 on ahci0
ahcich5: <AHCI channel> at channel 5 on ahci0
acpi_button0: <Power Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on =
acpi0
qpi0: <QPI system bus> on motherboard
orm0: <ISA Option ROM> at iomem 0xe9000-0xeffff on isa0
ppc0: cannot reserve I/O port range
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
est2: <Enhanced SpeedStep Frequency Control> on cpu2
p4tcc2: <CPU Frequency Thermal Control> on cpu2
est3: <Enhanced SpeedStep Frequency Control> on cpu3
p4tcc3: <CPU Frequency Thermal Control> 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: <Realtek ALC262 HDA CODEC> at cad 0 on hdac0
hdaa0: <Realtek ALC262 Audio Function Group> at nid 1 on hdacc0
pcm0: <Realtek ALC262 (Analog)> at nid 21 and 24,25,26 on hdaa0
pcm1: <Realtek ALC262 (Front Analog Headphones)> at nid 27 on hdaa0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
ugen0.1: <Intel> at usbus0
ugen1.1: <Intel> at usbus1
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <Intel> at usbus2
uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> 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: <Intel> at usbus3
ugen4.1: <Intel> at usbus4
uhub3: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen5.1: <Intel> at usbus5
uhub5: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
usbus6: 12Mbps Full Speed USB v1.0
usbus7: 480Mbps High Speed USB v2.0
ugen6.1: <Intel> at usbus6
uhub6: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus6
ugen7.1: <Intel> at usbus7
uhub7: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> 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: <ST3500418AS HP34> ATA-8cd0 at ahcich1 bus 0 scbus1 target 0 lun 0
cd0: <hp CDDVDW TS-H653R 0E00> 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: <vendor 0x0461> at usbus6
ums0: <vendor 0x0461 USB Optical Mouse, class 0/0, rev 2.00/2.00, addr =
2> 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=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6143A443-555A-472F-A9B7-CFF8356D4C4E>