Date: Thu, 29 Sep 2005 13:12:16 +0400 From: Gleb Smirnoff <glebius@FreeBSD.org> To: freebsd-acpi@FreeBSD.org Subject: no console with ACPI Message-ID: <20050929091216.GH20238@cell.sick.ru>
next in thread | raw e-mail | index | archive | help
[ please, keep me in Cc:, I am not subscribed ] Yesterday I've upgraded a RELENG_5 box to RELENG_6. It is running on Epox 8KHA+ mainboard. For a reason unknown to me ACPI was disabled on the installation. Once upgraded to RELENG_6 I have tried to enable ACPI, but a strange problem arose: when booted with ACPI the box did not have console. As soon as kernel boot finished, no new lines were printed (but kernel log messages did appear on screen). However, the syscons driver seemed to be working: ScrLk switched cursor on/off, attempts to switch to another vty produced beeps, Ctrl-Alt-Del rebooted. This is how boot looks with ACPI (no sc0 in dmesg!): Copyright (c) 1992-2005 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 6.0-BETA5 #0: Wed Sep 28 20:14:55 MSD 2005 root@xxx Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) XP (2138.20-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x6a0 Stepping = 0 Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,M MX,FXSR,SSE> AMD Features=0xc0400800<SYSCALL,MMX+,3DNow+,3DNow> real memory = 805240832 (767 MB) avail memory = 782921728 (746 MB) npx0: [FAST] npx0: <math processor> on motherboard npx0: INT 16 interface acpi0: <VIA694 AWRDACPI> on motherboard acpi0: Power Button (fixed) pci_link0: <ACPI PCI Link LNKA> irq 11 on acpi0 pci_link1: <ACPI PCI Link LNKB> on acpi0 pci_link2: <ACPI PCI Link LNKC> irq 12 on acpi0 pci_link3: <ACPI PCI Link LNKD> irq 10 on acpi0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 cpu0: <ACPI CPU> on acpi0 acpi_button0: <Power Button> on acpi0 acpi_button1: <Sleep Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff,0x4000-0x407f,0x4080-0x40ff,0x5000-0x500 f on acpi0 pci0: <ACPI PCI bus> on pcib0 agp0: <VIA 8367 (KT266/KY266x/KT333) host to PCI bridge> mem 0xd0000000-0xd7ffffff at d evice 0.0 on pci0 pcib1: <PCI-PCI bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <display, VGA> at device 0.0 (no driver attached) em0: <Intel(R) PRO/1000 Network Connection, Version - 2.1.7> port 0xd000-0xd03f mem 0xe 1020000-0xe103ffff,0xe1000000-0xe101ffff irq 11 at device 8.0 on pci0 em0: Ethernet address: 00:07:e9:14:6a:18 em0: Speed:N/A Duplex:N/A em1: <Intel(R) PRO/1000 Network Connection, Version - 2.1.7> port 0xd400-0xd43f mem 0xe 1040000-0xe105ffff,0xe1060000-0xe107ffff irq 12 at device 10.0 on pci0 em1: Ethernet address: 00:07:e9:14:6e:9d em1: Speed:N/A Duplex:N/A em2: <Intel(R) PRO/1000 Network Connection, Version - 2.1.7> port 0xd800-0xd83f mem 0xe 1080000-0xe109ffff,0xe10a0000-0xe10bffff irq 10 at device 11.0 on pci0 em2: Ethernet address: 00:07:e9:09:dd:4a em2: Speed:N/A Duplex:N/A viapropm0: SMBus I/O base at 0x5000 viapropm0: SMBus I/O base at 0x5000 viapropm0: <VIA VT8233 Power Management Unit> port 0x5000-0x500f at device 17.0 on pci0 viapropm0: SMBus revision code 0x0 smbus0: <System Management Bus> on viapropm0 smb0: <SMBus generic I/O> on smbus0 atapci0: <VIA 8233 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xdc00-0xdc0f at device 17.1 on pci0 ata0: <ATA channel 0> on atapci0 ata1: <ATA channel 1> on atapci0 acpi_tz0: <Thermal Zone> on acpi0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] Timecounter "TSC" frequency 2138196510 Hz quality 800 Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding enabled, default to a ccept, logging limited to 10000 packets/entry by default ad0: 19092MB <Seagate ST320014A 3.07> at ata0-master UDMA100 Trying to mount root from ufs:/dev/ad0s1a em1: link state changed to UP vlan3: link state changed to UP vlan2: link state changed to UP vlan1: link state changed to UP em2: link state changed to UP vlan18: link state changed to UP vlan14: link state changed to UP vlan10: link state changed to UP vlan4: link state changed to UP [no console at this point] It is possible to login to the box via ssh and see that the boot process runs to the completion with no problems. This is how boot looks w/o ACPI: Copyright (c) 1992-2005 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 6.0-BETA5 #0: Wed Sep 28 20:14:55 MSD 2005 root@xxx Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) XP (2138.20-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x6a0 Stepping = 0 Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36 ,MMX,FXSR,SSE> AMD Features=0xc0400800<SYSCALL,MMX+,3DNow+,3DNow> real memory = 805240832 (767 MB) avail memory = 782929920 (746 MB) npx0: [FAST] npx0: <math processor> on motherboard npx0: INT 16 interface cpu0 on motherboard pcib0: <Host to PCI bridge> pcibus 0 on motherboard pir0: <PCI Interrupt Routing Table: 8 Entries> on motherboard pci0: <PCI bus> on pcib0 agp0: <VIA 8367 (KT266/KY266x/KT333) host to PCI bridge> mem 0xd0000000-0xd7ffffff at d evice 0.0 on pci0 pcib1: <PCI-PCI bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <display, VGA> at device 0.0 (no driver attached) em0: <Intel(R) PRO/1000 Network Connection, Version - 2.1.7> port 0xd000-0xd03f mem 0xe 1020000-0xe103ffff,0xe1000000-0xe101ffff irq 11 at device 8.0 on pci0 em0: Ethernet address: 00:07:e9:14:6a:18 em0: Speed:N/A Duplex:N/A em1: <Intel(R) PRO/1000 Network Connection, Version - 2.1.7> port 0xd400-0xd43f mem 0xe 1040000-0xe105ffff,0xe1060000-0xe107ffff irq 12 at device 10.0 on pci0 em1: Ethernet address: 00:07:e9:14:6e:9d em1: Speed:N/A Duplex:N/A em2: <Intel(R) PRO/1000 Network Connection, Version - 2.1.7> port 0xd800-0xd83f mem 0xe 1080000-0xe109ffff,0xe10a0000-0xe10bffff irq 10 at device 11.0 on pci0 em2: Ethernet address: 00:07:e9:09:dd:4a em2: Speed:N/A Duplex:N/A viapropm0: SMBus I/O base at 0x5000 viapropm0: SMBus I/O base at 0x5000 viapropm0: <VIA VT8233 Power Management Unit> port 0x5000-0x500f at device 17.0 on pci0 viapropm0: SMBus revision code 0x0 smbus0: <System Management Bus> on viapropm0 smb0: <SMBus generic I/O> on smbus0 atapci0: <VIA 8233 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xdc00- 0xdc0f at device 17.1 on pci0 ata0: <ATA channel 0> on atapci0 ata1: <ATA channel 1> on atapci0 isa0: <ISA bus> on motherboard pmtimer0 on isa0 orm0: <ISA Option ROMs> at iomem 0xc0000-0xc9fff,0xcc000-0xcd7ff,0xce000-0xcf7ff,0xd000 0-0xd17ff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A unknown: <PNP0303> can't assign resources (port) unknown: <PNP0c01> can't assign resources (memory) unknown: <PNP0501> can't assign resources (port) unknown: <PNP0501> can't assign resources (port) Timecounter "TSC" frequency 2138196638 Hz quality 800 Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding enabled, default to a ccept, logging limited to 10000 packets/entry by default ad0: 19092MB <Seagate ST320014A 3.07> at ata0-master UDMA100 Trying to mount root from ufs:/dev/ad0s1a em2: link state changed to UP vlan18: link state changed to UP vlan14: link state changed to UP vlan10: link state changed to UP vlan4: link state changed to UP [boot continues, and everything is printed to console] -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050929091216.GH20238>