[BETA PATCH] VESA mode support for syscons

Cyrille Lefevre clefevr-current at 9online.fr
Mon Sep 6 23:02:31 PDT 2004


On Sep 3, 2004 09:09:12 am +0200, Sascha Wildner wrote:
> Cyrille Lefevre wrote:
> 
> > I have tested this patch also, it seems to work well,
> > except that mouse in graphic mode ! it doesn't appear...
> > since I have local modifications, I'll get rid of them
> > and restart from scratch.

PS : by scratch, I mean, no mods, your mods, then mines :)

there are two more problems :
- vidcontrol 132x60 doesn't work anymore, I've to say : vidcontrol MODE_268
- mutt doesn't display anything in any modes.

> Do you mean the mouse pointer is not visible? If so, have you tried 
> 'vidcontrol -m on'? Is moused running?

yes, moused is running and the mouse is ok on other text virtual terminals.

> If the problem persists after removing your local modifications, I'd 
> like to know in which mode this happens. Please also attach the output 

as far as I remember me, I've tried some graphic modes like 800x600,
1024x768 and 1280x1024. as I said before, wait 'til monday :)

> of 'vidcontrol -i mode' and the dmesg of a verbose boot (boot -v).

see attachments (for instance, dmesg isn't in verbose mode, but I will
on monday).

PS : my fdc controller seems to be dead ! so, don't care :(

Cyrille Lefevre
-- 
mailto:cyrille.lefevre at laposte.net
-------------- next part --------------
    mode#     flags   type    size       font      window      linear buffer
------------------------------------------------------------------------------
  0 (0x000) 0x00000001 T 40x25           8x8   0xb8000 32k 32k 0x00000000 32k
  1 (0x001) 0x00000001 T 40x25           8x8   0xb8000 32k 32k 0x00000000 32k
  2 (0x002) 0x00000001 T 80x25           8x8   0xb8000 32k 32k 0x00000000 32k
  3 (0x003) 0x00000001 T 80x25           8x8   0xb8000 32k 32k 0x00000000 32k
  4 (0x004) 0x00000003 G 320x200x2 1     8x8   0xb8000 32k 32k 0x00000000 32k
  5 (0x005) 0x00000003 G 320x200x2 1     8x8   0xb8000 32k 32k 0x00000000 32k
  6 (0x006) 0x00000003 G 640x200x1 1     8x8   0xb8000 32k 32k 0x00000000 32k
 13 (0x00d) 0x00000003 G 320x200x4 4     8x8   0xa0000 64k 64k 0x00000000 256k
 14 (0x00e) 0x00000003 G 640x200x4 4     8x8   0xa0000 64k 64k 0x00000000 256k
 16 (0x010) 0x00000003 G 640x350x2 2     8x14  0xa0000 64k 64k 0x00000000 128k
 18 (0x012) 0x00000003 G 640x350x4 4     8x14  0xa0000 64k 64k 0x00000000 256k
 19 (0x013) 0x00000001 T 40x25           8x14  0xb8000 32k 32k 0x00000000 32k
 20 (0x014) 0x00000001 T 40x25           8x14  0xb8000 32k 32k 0x00000000 32k
 21 (0x015) 0x00000001 T 80x25           8x14  0xb8000 32k 32k 0x00000000 32k
 22 (0x016) 0x00000001 T 80x25           8x14  0xb8000 32k 32k 0x00000000 32k
 23 (0x017) 0x00000001 T 40x25           8x16  0xb8000 32k 32k 0x00000000 32k
 24 (0x018) 0x00000001 T 80x25           8x16  0xb8000 32k 32k 0x00000000 32k
 26 (0x01a) 0x00000003 G 640x480x4 4     8x16  0xa0000 64k 64k 0x00000000 256k
 27 (0x01b) 0x00000003 G 640x480x4 4     8x16  0xa0000 64k 64k 0x00000000 256k
 28 (0x01c) 0x00000003 G 320x200x8 1     8x8   0xa0000 64k 64k 0x00000000 64k
 30 (0x01e) 0x00000001 T 80x50           8x8   0xb8000 32k 32k 0x00000000 32k
 32 (0x020) 0x00000001 T 80x30           8x16  0xb8000 32k 32k 0x00000000 32k
 34 (0x022) 0x00000001 T 80x60           8x8   0xb8000 32k 32k 0x00000000 32k
 37 (0x025) 0x00000003 G 320x240x8 4     8x8   0xa0000 64k 64k 0x00000000 256k
112 (0x070) 0x00000000 T 80x43           8x8   0xb8000 32k 32k 0x00000000 32k
113 (0x071) 0x00000001 T 80x43           8x8   0xb8000 32k 32k 0x00000000 32k
256 (0x100) 0x0000000f G 640x400x8 1     8x16  0xa0000 64k 64k 0xff000000 4096k
257 (0x101) 0x0000000f G 640x480x8 1     8x16  0xa0000 64k 64k 0xff000000 4096k
258 (0x102) 0x0000000b G 800x600x4 4     8x14  0xa0000 64k 64k 0x00000000 4096k
259 (0x103) 0x0000000f G 800x600x8 1     8x16  0xa0000 64k 64k 0xff000000 4096k
261 (0x105) 0x0000000f G 1024x768x8 1    8x16  0xa0000 64k 64k 0xff000000 4096k
263 (0x107) 0x0000000f G 1280x1024x8 1   8x16  0xa0000 64k 64k 0xff000000 4096k
264 (0x108) 0x00000009 T 80x60           8x8   0xb8000 32k 32k 0x00000000 4096k
265 (0x109) 0x00000009 T 132x25          8x16  0xb8000 32k 32k 0x00000000 4096k
266 (0x10a) 0x00000009 T 132x43          8x8   0xb8000 32k 32k 0x00000000 4096k
267 (0x10b) 0x00000009 T 132x50          8x8   0xb8000 32k 32k 0x00000000 4096k
268 (0x10c) 0x00000009 T 132x60          8x8   0xb8000 32k 32k 0x00000000 4096k
272 (0x110) 0x0000000f G 640x480x16 1    8x16  0xa0000 64k 64k 0xff000000 4096k
273 (0x111) 0x0000000f G 640x480x16 1    8x16  0xa0000 64k 64k 0xff000000 4096k
274 (0x112) 0x0000000f G 640x480x32 1    8x16  0xa0000 64k 64k 0xff000000 4096k
275 (0x113) 0x0000000f G 800x600x16 1    8x16  0xa0000 64k 64k 0xff000000 4096k
276 (0x114) 0x0000000f G 800x600x16 1    8x16  0xa0000 64k 64k 0xff000000 4096k
277 (0x115) 0x0000000f G 800x600x32 1    8x16  0xa0000 64k 64k 0xff000000 4096k
278 (0x116) 0x0000000f G 1024x768x16 1   8x16  0xa0000 64k 64k 0xff000000 4096k
279 (0x117) 0x0000000f G 1024x768x16 1   8x16  0xa0000 64k 64k 0xff000000 4096k
280 (0x118) 0x0000000f G 1024x768x32 1   8x16  0xa0000 64k 64k 0xff000000 4096k
281 (0x119) 0x0000000f G 1280x1024x16 1  8x16  0xa0000 64k 64k 0xff000000 4096k
282 (0x11a) 0x0000000f G 1280x1024x16 1  8x16  0xa0000 64k 64k 0xff000000 4096k
284 (0x11c) 0x0000000f G 1600x1200x8 1   8x16  0xa0000 64k 64k 0xff000000 4096k
285 (0x11d) 0x0000000f G 1600x1200x16 1  8x16  0xa0000 64k 64k 0xff000000 4096k
286 (0x11e) 0x0000000f G 1600x1200x16 1  8x16  0xa0000 64k 64k 0xff000000 4096k
-------------- next part --------------
Copyright (c) 1992-2004 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-CURRENT #6: Thu Sep  2 02:04:23 CEST 2004
    root at gits:/disk1/freebsd/current/obj/disk3/freebsd/current/src/sys/CUSTOM
can't re-use a leaf (nsfbufs)!
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium/P55C (198.95-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x543  Stepping = 3
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  = 134217728 (128 MB)
avail memory = 121720832 (116 MB)
Intel Pentium detected, installing workaround for F00F bug
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX WDMA2 controller> port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: <network, ethernet> at device 13.0 (no driver attached)
pci0: <display, VGA> at device 14.0 (no driver attached)
ahc0: <Adaptec 2940 Ultra2 SCSI adapter> port 0xf800-0xf8ff mem 0xffbea000-0xffbeafff irq 11 at device 15.0 on pci0
ahc0: [GIANT-LOCKED]
aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1: <Adaptec 2944 Ultra SCSI adapter> port 0xfc00-0xfcff mem 0xffbeb000-0xffbebfff irq 9 at device 16.0 on pci0
ahc1: [GIANT-LOCKED]
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
cpu0 on motherboard
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xed000-0xedfff,0xc8000-0xcd7ff,0xc0000-0xc7fff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
fdc0: ic_type 90 part_id 73
fdc0: <Enhanced floppy controller> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
device_attach: fdc0 attach returned 2
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <8 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x20010 on isa0
sio0: type ST16650A
sio1 at port 0x2f8-0x2ff irq 3 flags 0x20000 on isa0
sio1: type ST16650A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
speaker0: <PC speaker> at port 0x61 on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
ahc2: No resources alloated.
fdc1: cannot reserve I/O port range (6 ports)
ahc2: No resources alloated.
ppc1: parallel port not found.
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
Timecounters tick every 10.000 msec
IPsec: Initialized Security Association Processing.
ad0: 9543MB <Maxtor 91000D8/SASX1B18> [19390/16/63] at ata0-master BIOSPIO
ad1: 39082MB <Maxtor 54098U8/DA6207V0> [79406/16/63] at ata0-slave BIOSPIO
ad2: 9543MB <Maxtor 91000D8/SASX1B18> [19390/16/63] at ata1-master BIOSPIO
ad3: 19531MB <Maxtor 92048D8/NAN4251A> [39683/16/63] at ata1-slave BIOSPIO
WARNING: Expected rawoffset 6506325, found 13012713
Waiting 5 seconds for SCSI devices to settle
da0 at ahc1 bus 0 target 0 lun 0
da0: <HP C3325W HP08> Fixed Direct Access SCSI-2 device 
da0: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 2048MB (4194685 512 byte sectors: 255H 63S/T 261C)
da1 at ahc1 bus 0 target 8 lun 0
da1: <SEAGATE ST19171W HP06> Fixed Direct Access SCSI-2 device 
da1: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da1: 8678MB (17773524 512 byte sectors: 255H 63S/T 1106C)
da2 at ahc1 bus 0 target 9 lun 0
da2: <SEAGATE ST19171W HP06> Fixed Direct Access SCSI-2 device 
da2: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da2: 8678MB (17773524 512 byte sectors: 255H 63S/T 1106C)
cd0 at ahc0 bus 0 target 2 lun 0
cd0: <YAMAHA CRW4260 1.0q> Removable CD-ROM SCSI-2 device 
cd0: 3.300MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
Mounting root from ufs:/dev/da0s1a
xl0: <3Com 3c905B-COMBO Fast Etherlink XL> port 0xf480-0xf4ff mem 0xffbe9c00-0xffbe9c7f irq 11 at device 13.0 on pci0
xl0: Ethernet address: 00:01:02:e0:2d:61
xl0: [GIANT-LOCKED]
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Accounting enabled
fdc0: cannot reserve I/O port range (6 ports)
ppc0: parallel port not found.
sbc0: <Creative ViBRA16X> at port 0x388-0x38b,0x330-0x331,0x220-0x22f irq 5 drq 3,1 on isa0
sbc0: [GIANT-LOCKED]
fdc1: cannot reserve I/O port range (6 ports)
ahc2: No resources alloated.
ppc1: parallel port not found.
pcm0: <SB16 DSP 4.16 (ViBRA16X)> on sbc0
pcm0: [GIANT-LOCKED]
lrexec current loaded.
Connection attempt to TCP 192.168.144.96:113 from 195.20.104.108:44806 flags:0xc2
wakeup from sleeping state (slept 00:00:05)


More information about the freebsd-current mailing list