sc_pixel_mode and setting console font size at boot time...

Evren Yurtesen yurtesen at ispro.net.tr
Thu May 12 03:06:01 PDT 2005


Hi,

I have been trying to change the console font size to something smaller 
and if possible I want to change the console resolution to 800x600 or 
1024x768.

I am using a laptop and I compiled my kernel with vesa and sc_pixelmode 
but I am not able to change the text size etc. with vidcontrol even.

Any ideas?

Thanks,
Evren

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 5.4-STABLE #1: Wed May 11 19:14:34 UTC 2005
     root at perpetual.nonexistent.net:/usr/obj/usr/src/sys/PERPETUAL
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: mobile AMD Athlon (tm) 2400+     (1788.94-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=0xc0480000<MP,AMIE,DSP,3DNow!>
real memory  = 527368192 (502 MB)
avail memory = 506400768 (482 MB)
acpi0: <PTLTD   RSDT> on motherboard
acpi0: Power Button (fixed)
     ACPI-0290: *** Error: Return object type is incorrect 
[\\_SB_.PCI0.LPCB.LNKU._CRS] (Node 0xc1a1ad00), AE_TYPE
can't fetch resources for \\_SB_.PCI0.LPCB.LNKU - AE_TYPE
acpi_ec0: <Embedded Controller: GPE 0x19> port 0x66,0x62 on acpi0
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
cpu0: <ACPI CPU (2 Cx states)> on acpi0
powernow0: <PowerNow! K7> on cpu0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
     ACPI-0290: *** Error: Return object type is incorrect 
[\\_SB_.PCI0.LPCB.LNKU._CRS] (Node 0xc1a1ad00), AE_TYPE
ACPI link \\_SB_.PCI0.LPCB.LNKC has invalid initial irq 5, ignoring
pci0: <ACPI PCI bus> on pcib0
     ACPI-0290: *** Error: Return object type is incorrect 
[\\_SB_.PCI0.LPCB.LNKU._CRS] (Node 0xc1a1ad00), AE_TYPE
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
drm0: <ATI Radeon RS100 Mobility U1> port 0xb000-0xb0ff mem 
0xf4500000-0xf450ffff,0xf6000000-0xf7ffffff irq 10 at device 5.0 on pci1
info: [drm] Initialized radeon 1.11.0 20020828 on minor 0
ohci0: <AcerLabs M5237 (Aladdin-V) USB controller> mem 
0xf4400000-0xf4400fff irq 9 at device 2.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <simple comms, generic modem> at device 3.0 (no driver attached)
atapci0: <AcerLabs Aladdin UDMA100 controller> port 
0xa000-0xa00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 4.0 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: <bridge> at device 6.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
pcm0: <Acer Labs M5451> port 0x8800-0x88ff mem 0xf4402000-0xf4402fff irq 
11 at device 8.0 on pci0
pcm0: <Avance Logic ALC202 AC97 Codec>
rl0: <RealTek 8139 10/100BaseTX> port 0x8c00-0x8cff mem 
0xf4406800-0xf44068ff irq 11 at device 9.0 on pci0
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:02:3f:b5:f5:88
fwohci0: <VIA Fire II (VT6306)> port 0x8080-0x80ff mem 
0xf4406000-0xf44067ff irq 10 at device 10.0 on pci0
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 8.
fwohci0: EUI64 00:02:3f:33:27:00:05:22
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:02:3f:00:05:22
fwe0: Ethernet address: 02:02:3f:00:05:22
fwe0: if_start running deferred for Giant
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
cbb0: <ENE CB1420 PCI-CardBus Bridge> irq 11 at device 11.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb1: <ENE CB1420 PCI-CardBus Bridge> irq 11 at device 11.1 on pci0
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
ohci1: <AcerLabs M5237 (Aladdin-V) USB controller> mem 
0xf4405000-0xf4405fff irq 10 at device 15.0 on pci0
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
acpi_tz0: <Thermal Zone> on acpi0
acpi_tz0: _CRT value is absurd, ignored (205.0C)
acpi_tz0: _PSV value is absurd, ignored (200.0C)
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0
fdc0: <floppy drive controller> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <ECP parallel printer port> port 0x778-0x77f,0x378-0x37f irq 7 drq 
0 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/1 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on 
acpi0
sio0: type 16550A
acpi_cmbat0: <Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
npx0: <math processor> on motherboard
npx0: INT 16 interface
orm0: <ISA Option ROMs> at iomem 
0xd8000-0xdbfff,0xcf000-0xcffff,0xc0000-0xcefff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x180 on isa0
sc0: VGA <16 virtual consoles, flags=0x380>
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
Timecounter "TSC" frequency 1788939386 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 57231MB <HTS726060M9AT00/MH4OA68A> [116280/16/63] at ata0-master 
UDMA100
acd0: CDRW <Slimtype COMBO LSC-24082K/JWK2> at ata1-master PIO4
wi0: <Lucent Technologies WaveLAN/IEEE> at port 0x100-0x13f irq 11 
function 0 config 1 on pccard0
wi0: using Lucent Technologies, WaveLAN/IEEE
wi0: Lucent Firmware: Station (8.72.1)
wi0: Ethernet address: 00:60:1d:f2:2b:60
wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
Mounting root from ufs:/dev/ad0s3a
error: [drm:pid480:radeon_cp_init] *ERROR* radeon_cp_init called without 
lock held
error: [drm:pid480:radeon_unlock] *ERROR* Process 480 using kernel context 0
wi0: detached
wi0: <Lucent Technologies WaveLAN/IEEE> at port 0x100-0x13f irq 11 
function 0 config 1 on pccard0
wi0: using Lucent Technologies, WaveLAN/IEEE
wi0: Lucent Firmware: Station (8.72.1)
wi0: Ethernet address: 00:60:1d:f2:2b:60
wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps


More information about the freebsd-questions mailing list