Most recent kernel where this bug did not occur: 2.6.12.6 Distribution: Debian GNU/Linux (testing) Hardware Environment: i386 Software Environment: Problem Description: I get a blank/black screen when trying a VESA framebuffer after kernel 2.6.12.6. I've tried up to kernel 2.6.15-rc5-mm3 without success. My lilo command line is: acpi=noirq video=vesa:ywrap selinux=0 with "vga=0x314" in /etc/lilo.conf. I've tried combinations of various kernel options but none work. vga=normal works fine, but of course no framebuffer. Here's 'dmesg': Linux version 2.6.15-rc5-mm3 (root@europe3811) (gcc version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5)) #1 PREEMPT Thu Dec 22 14:22:03 EST 2005 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 00000000037f0000 (usable) BIOS-e820: 00000000037f0000 - 00000000037f8000 (ACPI data) BIOS-e820: 00000000037f8000 - 0000000003800000 (ACPI NVS) BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved) 55MB LOWMEM available. On node 0 totalpages: 14320 DMA zone: 4096 pages, LIFO batch:0 DMA32 zone: 0 pages, LIFO batch:0 Normal zone: 10224 pages, LIFO batch:1 HighMem zone: 0 pages, LIFO batch:0 DMI 2.1 present. ACPI: RSDP (v000 AMI ) @ 0x000fb220 ACPI: RSDT (v001 AMIINT 0x00000000 MSFT 0x00000097) @ 0x037f0000 ACPI: FADT (v001 AMIINT 0x00000000 MSFT 0x00000097) @ 0x037f0030 ACPI: DSDT (v001 SiS 530 0x00001000 MSFT 0x0100000a) @ 0x00000000 Allocating PCI resources starting at 10000000 (gap: 03800000:fb400000) Built 1 zonelists No local APIC present or hardware disabled mapped APIC to ffffd000 (01071000) Initializing CPU#0 Kernel command line: BOOT_IMAGE=linux ro root=305 acpi=noirq video=vesa:ywrap selinux=0 PID hash table entries: 256 (order: 8, 4096 bytes) Detected 250.591 MHz processor. Using tsc for high-res timesource Console: colour dummy device 80x25 Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 53288k/57280k available (1901k kernel code, 3584k reserved, 663k data, 244k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 501.97 BogoMIPS (lpj=250985) Security Framework v1.0.0 initialized SELinux: Initializing. SELinux: Starting in permissive mode Mount-cache hash table entries: 512 CPU: After generic identify, caps: 0080a135 00000000 00000000 00000000 00000000 00000000 00000000 CPU: After vendor identify, caps: 0080a135 00000000 00000000 00000000 00000000 00000000 00000000 CPU: After all inits, caps: 0080a135 00000000 00000000 00000004 00000000 00000000 00000000 mtrr: v2.0 (20020519) CPU: Cyrix M II 3x Core/Bus Clock stepping 04 Checking 'hlt' instruction... OK. ACPI: setting ELCR to 0e28 (from 0e08) NET: Registered protocol family 16 EISA bus registered ACPI: bus type pci registered PCI: PCI BIOS revision 2.10 entry at 0xfdb81, last bus=1 PCI: Using configuration type 1 ACPI: Subsystem revision 20050916 ACPI: Interpreter enabled ACPI: Using PIC for interrupt routing ACPI: PCI Root Bridge [PCI0] (0000:00) PCI: Ignoring BAR0-3 of IDE controller 0000:00:00.1 Boot video device is 0000:01:00.0 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: Power Resource [URP1] (off) ACPI: Power Resource [URP2] (off) ACPI: Power Resource [FDDP] (off) ACPI: Power Resource [LPTP] (off) Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI init pnp: PnP ACPI: found 9 devices PnPBIOS: Disabled by ACPI PNP SCSI subsystem initialized usbcore: registered new driver usbfs usbcore: registered new driver hub PCI: Probing PCI hardware PCI: Using IRQ router SIS [1039/0008] at 0000:00:01.0 PCI: Cannot allocate resource region 9 of bridge 0000:00:02.0 PCI: Cannot allocate resource region 0 of device 0000:01:00.0 PCI: Ignore bogus resource 6 [0:0] of 0000:01:00.0 PCI: Bridge: 0000:00:02.0 IO window: c000-cfff MEM window: e7e00000-e7efffff PREFETCH window: 10000000-107fffff PCI: Setting latency timer of device 0000:00:02.0 to 64 Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered vesafb: framebuffer at 0xff000000, mapped to 0xc4080000, using 1875k, total 8192k vesafb: mode is 800x600x16, linelength=1600, pages=7 vesafb: protected mode interface info at c7bd:0000 vesafb: scrolling: redraw vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0 Console: switching to colour frame buffer device 100x37 fb0: VESA VGA frame buffer device isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found Real Time Clock Driver v1.12 Linux agpgart interface v0.101 (c) Dave Jones Hangcheck: starting hangcheck timer 0.9.0 (tick is 180 seconds, margin is 60 seconds). Hangcheck: Using monotonic_clock(). PNP: PS/2 Controller [PNP030b:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12 serio: i8042 AUX port at 0x60,0x64 irq 12 serio: i8042 KBD port at 0x60,0x64 irq 1 mice: PS/2 mouse device common for all mice dmfe: Davicom DM9xxx net driver, version 1.36.4 (2002-01-17) PCI: Found IRQ 11 for device 0000:00:0b.0 eth0: Davicom DM9102 at pci0000:00:0b.0, 00:60:6e:38:ad:de, irq 11. input: AT Translated Set 2 keyboard as /class/input/input0 Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx SIS5513: IDE controller at PCI slot 0000:00:00.1 SIS5513: chipset revision 208 SIS5513: not 100% native mode: will probe irqs later SIS5513: SiS530 ATA 66 controller ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:DMA Probing IDE interface ide0... logips2pp: Detected unknown logitech mouse model 1 hda: SAMSUNG SV0432A, ATA DISK drive input: PS/2 Logitech Mouse as /class/input/input1 hdb: ATAPI 52X CDROM, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 Probing IDE interface ide1... Probing IDE interface ide1... hda: max request size: 128KiB hda: 8421840 sectors (4311 MB) w/482KiB Cache, CHS=8912/15/63, UDMA(33) hda: cache flushes not supported hda: hda1 hda2 < hda5 hda6 hda7 hda8 > ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) ohci_hcd 0000:00:01.2: OHCI Host Controller ohci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1 ohci_hcd 0000:00:01.2: irq 3, io mem 0xefffe000 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected USB Universal Host Controller Interface driver v2.3 Initializing USB Mass Storage driver... usbcore: registered new driver usb-storage USB Mass Storage support registered. device-mapper: 4.5.0-ioctl (2005-10-04) initialised: dm-devel@redhat.com MC: drivers/edac/edac_mc.c version MC $Revision: 1.4.2.10 $ EISA: Probing bus 0 at eisa.0 NET: Registered protocol family 2 IP route cache hash table entries: 512 (order: -1, 2048 bytes) TCP established hash table entries: 2048 (order: 1, 8192 bytes) TCP bind hash table entries: 2048 (order: 1, 8192 bytes) TCP: Hash tables configured (established 2048 bind 2048) TCP reno registered ip_tables: (C) 2000-2002 Netfilter core team TCP bic registered NET: Registered protocol family 1 NET: Registered protocol family 17 Using IPI Shortcut mode EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Freeing unused kernel memory: 244k freed kjournald starting. Commit interval 5 seconds Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 EXT3 FS on hda5, internal journal Adding 72252k swap on /dev/mapper/cswap. Priority:-1 extents:1 across:72252k $ lspci -v 0000:00:00.0 Host bridge: Silicon Integrated Systems [SiS] 530 Host (rev 02) Flags: bus master, medium devsel, latency 32 Memory at e8000000 (32-bit, non-prefetchable) [size=64M] Capabilities: <available only to root> 0000:00:00.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0) (prog-if 80 [Master]) Subsystem: Silicon Integrated Systems [SiS] SiS5513 EIDE Controller (A,B step) Flags: bus master, fast devsel, latency 16 I/O ports at <ignored> I/O ports at <ignored> I/O ports at <ignored> I/O ports at <ignored> I/O ports at ffa0 [size=16] 0000:00:01.0 ISA bridge: Silicon Integrated Systems [SiS] SiS85C503/5513 (LPC Bridge) (rev b3) Flags: bus master, medium devsel, latency 0 0000:00:01.1 ff00: Silicon Integrated Systems [SiS] ACPI Flags: medium devsel 0000:00:01.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 11) (prog-if 10 [OHCI]) Flags: bus master, medium devsel, latency 32, IRQ 3 Memory at efffe000 (32-bit, non-prefetchable) [size=4K] 0000:00:02.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 0000c000-0000cfff Memory behind bridge: e7e00000-e7efffff Prefetchable memory behind bridge: fec00000-ffcfffff 0000:00:09.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02) Subsystem: Ensoniq Creative Sound Blaster AudioPCI128 Flags: bus master, slow devsel, latency 32, IRQ 9 I/O ports at da00 [size=64] Capabilities: <available only to root> 0000:00:0b.0 Ethernet controller: Davicom Semiconductor, Inc. 21x4x DEC-Tulip compatible 10/100 Ethernet (rev 10) Subsystem: Davicom Semiconductor, Inc.: Unknown device 8212 Flags: bus master, medium devsel, latency 32, IRQ 11 I/O ports at dc00 [size=128] Memory at efffff80 (32-bit, non-prefetchable) [size=128] Expansion ROM at eff80000 [disabled] [size=256K] Capabilities: <available only to root> 0000:00:0c.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10) Subsystem: C-Media Electronics Inc CMI8738/C3DX PCI Audio Device Flags: bus master, medium devsel, latency 32, IRQ 10 I/O ports at de00 [size=256] Capabilities: <available only to root> 0000:01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 530/620 PCI/AGP VGA Display Adapter (rev a2) (prog-if 00 [VGA]) Subsystem: Silicon Integrated Systems [SiS] SiS530,620 GUI Accelerator+3D Flags: bus master, 66MHz, medium devsel, latency 32 Memory at ff000000 (32-bit, prefetchable) [size=8M] Memory at e7ef0000 (32-bit, non-prefetchable) [size=64K] I/O ports at cc00 [size=128] Capabilities: <available only to root> Steps to reproduce: Any framebuffer mode on the lilo command line.
Looks like vesafb is working, but your screen is blanked. Whatever is managing your screen is not turning it on. Can you check if you have something in /proc/acpi/video/VID and try echoing some values to the entries there? Or you can try to use X to actually turn on the screen (use the vesa driver if possible)
I don't have a /proc/acpi/video in either kernel 2.6.12.6 nor 2.6.15. I tried running X with the VESA driver and get an XDM login, but when switching VT's there is no login prompt, just a blank/black screen. With the FBDev driver, there is no XDM login but the same blank/black screen. I did notice that with the FBDev driver and pressing CTRL-ALT-BS in XDM, the screen dims as XDM is restarted. But nothing really dramatic. All works fine with 2.6.12.6, but broken on kernels afterwards still. Here's X log file for the FBDev driver: X Window System Version 6.8.2 (Debian 6.8.2.dfsg.1-11 20051129054125 David Nusinow <dnusinow@debian.org>) Release Date: 9 February 2005 X Protocol Version 11, Revision 0, Release 6.8.2 Build Operating System: Linux 2.6.14-2-686 i686 [ELF] Current Operating System: Linux europe3811 2.6.15 #1 Sat Jan 7 11:14:35 EST 2006 i686 Build Date: 29 November 2005 Before reporting problems, check http://wiki.X.Org to make sure that you have the latest version. Module Loader present OS Kernel: Linux version 2.6.15 (root@europe3811) (gcc version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5)) #1 Sat Jan 7 11:14:35 EST 2006 Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jan 27 09:00:53 2006 (==) Using config file: "/etc/X11/xorg.conf" (==) ServerLayout "Simple Layout" (**) |-->Screen "Screen 1" (0) (**) | |-->Monitor "My Monitor" (**) | |-->Device "** Linux framebuffer (generic) [fbdev]" (**) |-->Input Device "Mouse1" (**) |-->Input Device "Keyboard1" (**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/" (**) RgbPath set to "/usr/X11R6/lib/X11/rgb" (==) ModulePath set to "/usr/X11R6/lib/modules" (WW) Open APM failed (/dev/apm_bios) (No such file or directory) (II) Module ABI versions: X.Org ANSI C Emulation: 0.2 X.Org Video Driver: 0.7 X.Org XInput driver : 0.4 X.Org Server Extension : 0.2 X.Org Font Renderer : 0.4 (II) Loader running on linux (II) LoadModule: "bitmap" (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a (II) Module bitmap: vendor="X.Org Foundation" compiled for 6.8.2, module version = 1.0.0 Module class: X.Org Font Renderer ABI class: X.Org Font Renderer, version 0.4 (II) Loading font Bitmap (II) LoadModule: "pcidata" (II) Loading /usr/X11R6/lib/modules/libpcidata.a (II) Module pcidata: vendor="X.Org Foundation" compiled for 6.8.2, module version = 1.0.0 ABI class: X.Org Video Driver, version 0.7 (++) using VT number 7 (II) PCI: PCI scan (all values are in hex) (II) PCI: 00:00:0: chip 1039,0530 card 0000,0000 rev 02 class 06,00,00 hdr 80 (II) PCI: 00:00:1: chip 1039,5513 card 1039,5513 rev d0 class 01,01,80 hdr 80 (II) PCI: 00:01:0: chip 1039,0008 card 0000,0000 rev b3 class 06,01,00 hdr 80 (II) PCI: 00:01:1: chip 1039,0009 card 0000,0000 rev 00 class ff,00,00 hdr 80 (II) PCI: 00:01:2: chip 1039,7001 card 0000,0000 rev 11 class 0c,03,10 hdr 80 (II) PCI: 00:02:0: chip 1039,0001 card 0000,0000 rev 00 class 06,04,00 hdr 01 (II) PCI: 00:09:0: chip 1274,5880 card 1274,2000 rev 02 class 04,01,00 hdr 00 (II) PCI: 00:0b:0: chip 1282,9102 card 0291,8212 rev 10 class 02,00,00 hdr 00 (II) PCI: 00:0c:0: chip 13f6,0111 card 13f6,0111 rev 10 class 04,01,00 hdr 80 (II) PCI: 01:00:0: chip 1039,6306 card 1039,6306 rev a2 class 03,00,00 hdr 00 (II) PCI: End of PCI scan (II) Host-to-PCI bridge: (II) Bus 0: bridge is at (0:0:0), (0,0,1), BCTRL: 0x0008 (VGA_EN is set) (II) Bus 0 I/O range: [0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B] (II) Bus 0 non-prefetchable memory range: [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B] (II) Bus 0 prefetchable memory range: [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B] (II) PCI-to-ISA bridge: (II) Bus -1: bridge is at (0:1:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set) (II) PCI-to-PCI bridge: (II) Bus 1: bridge is at (0:2:0), (0,1,1), BCTRL: 0x000c (VGA_EN is set) (II) Bus 1 I/O range: [0] -1 0 0x0000c000 - 0x0000c0ff (0x100) IX[B] [1] -1 0 0x0000c400 - 0x0000c4ff (0x100) IX[B] [2] -1 0 0x0000c800 - 0x0000c8ff (0x100) IX[B] [3] -1 0 0x0000cc00 - 0x0000ccff (0x100) IX[B] (II) Bus 1 non-prefetchable memory range: [0] -1 0 0xe7e00000 - 0xe7efffff (0x100000) MX[B] (II) Bus 1 prefetchable memory range: [0] -1 0 0x10000000 - 0x107fffff (0x800000) MX[B] (--) PCI:*(1:0:0) Silicon Integrated Systems [SiS] SiS530 3D PCI/AGP rev 162, Mem @ 0x10000000/23, 0xe7ef0000/16, I/O @ 0xcc00/7 (II) Addressable bus resource ranges are [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B] [1] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B] (II) OS-reported resource ranges: [0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B) [1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) [2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [5] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [6] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] (II) PCI Memory resource overlap reduced 0xe8000000 from 0xebffffff to 0xe7ffffff (II) Active PCI resource ranges: [0] -1 0 0xefffff80 - 0xefffffff (0x80) MX[B] [1] -1 0 0xefffe000 - 0xefffefff (0x1000) MX[B] [2] -1 0 0xe8000000 - 0xe7ffffff (0x0) MX[B]O [3] -1 0 0xe7ef0000 - 0xe7efffff (0x10000) MX[B](B) [4] -1 0 0x10000000 - 0x107fffff (0x800000) MX[B](B) [5] -1 0 0x0000de00 - 0x0000deff (0x100) IX[B] [6] -1 0 0x0000dc00 - 0x0000dc7f (0x80) IX[B] [7] -1 0 0x0000da00 - 0x0000da3f (0x40) IX[B] [8] -1 0 0x0000ffa0 - 0x0000ffaf (0x10) IX[B] [9] -1 0 0x00000374 - 0x00000374 (0x1) IX[B] [10] -1 0 0x00000170 - 0x00000170 (0x1) IX[B] [11] -1 0 0x000003f4 - 0x000003f4 (0x1) IX[B] [12] -1 0 0x000001f0 - 0x000001f0 (0x1) IX[B] [13] -1 0 0x0000cc00 - 0x0000cc7f (0x80) IX[B](B) (II) Active PCI resource ranges after removing overlaps: [0] -1 0 0xefffff80 - 0xefffffff (0x80) MX[B] [1] -1 0 0xefffe000 - 0xefffefff (0x1000) MX[B] [2] -1 0 0xe8000000 - 0xe7ffffff (0x0) MX[B]O [3] -1 0 0xe7ef0000 - 0xe7efffff (0x10000) MX[B](B) [4] -1 0 0x10000000 - 0x107fffff (0x800000) MX[B](B) [5] -1 0 0x0000de00 - 0x0000deff (0x100) IX[B] [6] -1 0 0x0000dc00 - 0x0000dc7f (0x80) IX[B] [7] -1 0 0x0000da00 - 0x0000da3f (0x40) IX[B] [8] -1 0 0x0000ffa0 - 0x0000ffaf (0x10) IX[B] [9] -1 0 0x00000374 - 0x00000374 (0x1) IX[B] [10] -1 0 0x00000170 - 0x00000170 (0x1) IX[B] [11] -1 0 0x000003f4 - 0x000003f4 (0x1) IX[B] [12] -1 0 0x000001f0 - 0x000001f0 (0x1) IX[B] [13] -1 0 0x0000cc00 - 0x0000cc7f (0x80) IX[B](B) (II) OS-reported resource ranges after removing overlaps with PCI: [0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B) [1] -1 0 0x00100000 - 0x0fffffff (0xff00000) MX[B]E(B) [2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [5] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [6] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] (II) All system resource ranges: [0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B) [1] -1 0 0x00100000 - 0x0fffffff (0xff00000) MX[B]E(B) [2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [5] -1 0 0xefffff80 - 0xefffffff (0x80) MX[B] [6] -1 0 0xefffe000 - 0xefffefff (0x1000) MX[B] [7] -1 0 0xe8000000 - 0xe7ffffff (0x0) MX[B]O [8] -1 0 0xe7ef0000 - 0xe7efffff (0x10000) MX[B](B) [9] -1 0 0x10000000 - 0x107fffff (0x800000) MX[B](B) [10] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [11] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] [12] -1 0 0x0000de00 - 0x0000deff (0x100) IX[B] [13] -1 0 0x0000dc00 - 0x0000dc7f (0x80) IX[B] [14] -1 0 0x0000da00 - 0x0000da3f (0x40) IX[B] [15] -1 0 0x0000ffa0 - 0x0000ffaf (0x10) IX[B] [16] -1 0 0x00000374 - 0x00000374 (0x1) IX[B] [17] -1 0 0x00000170 - 0x00000170 (0x1) IX[B] [18] -1 0 0x000003f4 - 0x000003f4 (0x1) IX[B] [19] -1 0 0x000001f0 - 0x000001f0 (0x1) IX[B] [20] -1 0 0x0000cc00 - 0x0000cc7f (0x80) IX[B](B) (II) LoadModule: "dbe" (II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a (II) Module dbe: vendor="X.Org Foundation" compiled for 6.8.2, module version = 1.0.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 0.2 (II) Loading extension DOUBLE-BUFFER (II) LoadModule: "extmod" (II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a (II) Module extmod: vendor="X.Org Foundation" compiled for 6.8.2, module version = 1.0.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 0.2 (II) Loading extension SHAPE (II) Loading extension MIT-SUNDRY-NONSTANDARD (II) Loading extension BIG-REQUESTS (II) Loading extension SYNC (II) Loading extension MIT-SCREEN-SAVER (II) Loading extension XC-MISC (II) Loading extension XFree86-VidModeExtension (II) Loading extension XFree86-Misc (II) Loading extension DPMS (II) Loading extension FontCache (II) Loading extension TOG-CUP (II) Loading extension Extended-Visual-Information (II) Loading extension XVideo (II) Loading extension XVideo-MotionCompensation (II) Loading extension X-Resource (II) LoadModule: "type1" (II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a (II) Module type1: vendor="X.Org Foundation" compiled for 6.8.2, module version = 1.0.2 Module class: X.Org Font Renderer ABI class: X.Org Font Renderer, version 0.4 (II) Loading font Type1 (II) Loading font CID (II) LoadModule: "freetype" (II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a (II) Module freetype: vendor="X.Org Foundation & the After X-TT Project" compiled for 6.8.2, module version = 2.1.0 Module class: X.Org Font Renderer ABI class: X.Org Font Renderer, version 0.4 (II) Loading font FreeType (II) LoadModule: "fbdev" (II) Loading /usr/X11R6/lib/modules/drivers/fbdev_drv.o (II) Module fbdev: vendor="X.Org Foundation" compiled for 6.8.2, module version = 0.1.0 ABI class: X.Org Video Driver, version 0.7 (II) LoadModule: "mouse" (II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o (II) Module mouse: vendor="X.Org Foundation" compiled for 6.8.2, module version = 1.0.0 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 0.4 (II) LoadModule: "kbd" (II) Loading /usr/X11R6/lib/modules/input/kbd_drv.o (II) Module kbd: vendor="X.Org Foundation" compiled for 6.8.2, module version = 1.0.0 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 0.4 (II) FBDEV: driver for framebuffer: fbdev, afb (II) Primary Device is: PCI 01:00:0 (II) Loading sub module "fbdevhw" (II) LoadModule: "fbdevhw" (II) Loading /usr/X11R6/lib/modules/linux/libfbdevhw.a (II) Module fbdevhw: vendor="X.Org Foundation" compiled for 6.8.2, module version = 0.0.2 ABI class: X.Org Video Driver, version 0.7 (II) FBDEV(0): using default device (II) Running in FRAMEBUFFER Mode (**) FBDEV(0): Depth 16, (--) framebuffer bpp 16 (==) FBDEV(0): RGB weight 565 (==) FBDEV(0): Default visual is TrueColor (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0) (II) FBDEV(0): hardware: VESA VGA (video memory: 1875kB) (II) FBDEV(0): checking modes against framebuffer device... (II) FBDEV(0): mode "800x600" ok (II) FBDEV(0): checking modes against monitor... (--) FBDEV(0): Virtual size is 800x600 (pitch 800) (**) FBDEV(0): Default mode "800x600": 36.0 MHz (scaled from 0.0 MHz), 35.2 kHz, 56.2 Hz (II) FBDEV(0): Modeline "800x600" 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (++) FBDEV(0): DPI set to (100, 100) (II) Loading sub module "fb" (II) LoadModule: "fb" (II) Loading /usr/X11R6/lib/modules/libfb.a Skipping "/usr/X11R6/lib/modules/libfb.a:fbmmx.o": No symbols found (II) Module fb: vendor="X.Org Foundation" compiled for 6.8.2, module version = 1.0.0 ABI class: X.Org ANSI C Emulation, version 0.2 (**) FBDEV(0): using shadow framebuffer (II) Loading sub module "shadow" (II) LoadModule: "shadow" (II) Loading /usr/X11R6/lib/modules/libshadow.a (II) Module shadow: vendor="X.Org Foundation" compiled for 6.8.2, module version = 1.0.0 ABI class: X.Org ANSI C Emulation, version 0.2 (EE) FBDEV(0): FBIOBLANK: Invalid argument (EE) FBDEV(0): FBIOPAN_DISPLAY: Invalid argument (==) FBDEV(0): Backing store disabled (==) RandR enabled (II) Initializing built-in extension MIT-SHM (II) Initializing built-in extension XInputExtension (II) Initializing built-in extension XTEST (II) Initializing built-in extension XKEYBOARD (II) Initializing built-in extension LBX (II) Initializing built-in extension XC-APPGROUP (II) Initializing built-in extension SECURITY (II) Initializing built-in extension XINERAMA (II) Initializing built-in extension XFIXES (II) Initializing built-in extension XFree86-Bigfont (II) Initializing built-in extension RENDER (II) Initializing built-in extension RANDR (II) Initializing built-in extension COMPOSITE (II) Initializing built-in extension DAMAGE (II) Initializing built-in extension XEVIE (**) Option "Protocol" "Auto" (**) Mouse1: Device: "/dev/input/mice" (**) Mouse1: Protocol: "Auto" (**) Option "CorePointer" (**) Mouse1: Core Pointer (**) Option "Device" "/dev/input/mice" (**) Option "Emulate3Buttons" (**) Mouse1: Emulate3Buttons, Emulate3Timeout: 50 (==) Mouse1: Buttons: 3 (**) Option "CoreKeyboard" (**) Keyboard1: Core Keyboard (**) Option "Protocol" "standard" (**) Keyboard1: Protocol: standard (**) Option "AutoRepeat" "500 30" (**) Option "XkbRules" "xorg" (**) Keyboard1: XkbRules: "xorg" (**) Option "XkbModel" "pc101" (**) Keyboard1: XkbModel: "pc101" (**) Option "XkbLayout" "us" (**) Keyboard1: XkbLayout: "us" (**) Option "CustomKeycodes" "off" (**) Keyboard1: CustomKeycodes disabled (II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD) (II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE) (--) Mouse1: PnP-detected protocol: "ExplorerPS/2" (II) Mouse1: ps2EnableDataReporting: succeeded
Try grabbing the vbetool utility. Debian should have one, then run: vbetool dpms on just to check if it can wake up your display.
No luck there either. I can hear the monitor click or pop when it switches video modes upon bootup. 'vbetool dpms off' shuts off the monitor fine and the power light is a dim orange, 'vbetool dpms on' clicks the monitor on and the power light is green. The power light is green upon bootup.
Hmm... Maybe you can narrow down the problem to a particular kernel version, preferably a git version? I can't really see what's going on...
I'm trying 2.6.13-rc1. I'm not sure about how to get a previous version but after the 2.6.12.6 release (git?). I did notice something interesting though about the signatures: $ l total 96768 -rwxrwx--- 1 root staff 23710826 2006-01-27 18:43 elinks.tar.gz* -rwxrwx--- 1 root staff 37399132 2006-01-27 19:28 linux-2.6.12.6.tar.bz2* -rwxrwx--- 1 root staff 248 2006-01-27 19:26 linux-2.6.12.6.tar.bz2.sign* -rwxrwx--- 1 root staff 37968180 2006-01-27 19:28 linux-2.6.13-rc1.tar.bz2* -rwxrwx--- 1 root staff 248 2006-01-27 19:26 linux-2.6.13-rc1.tar.bz2.sign* $ gpg linux-2.6.12.6.tar.bz2.sign gpg: Signature made Mon 29 Aug 2005 01:43:34 PM EDT using DSA key ID 517D0F0E gpg: Good signature from "Linux Kernel Archives Verification Key <ftpadmin@kernel.org>" gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: C75D C40A 11D7 AF88 9981 ED5B C86B A06A 517D 0F0E $ gpg linux-2.6.13-rc1.tar.bz2.sign gpg: Signature made Wed 29 Jun 2005 02:38:30 AM EDT using DSA key ID 517D0F0E gpg: Good signature from "Linux Kernel Archives Verification Key <ftpadmin@kernel.org>" gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: C75D C40A 11D7 AF88 9981 ED5B C86B A06A 517D 0F0E $ exit How come the 2.6.13-rc1 archive is newer than the 2.6.12.6 archive?
> I'm trying 2.6.13-rc1. I'm not sure about how to get a previous version > but after the 2.6.12.6 release (git?). You have to reverse the stable patches so you have 2.6.12. (See Documentation/applying-patches.txt.) Then apply the git patches. Note: rc patches are diffed against the patch release version. git patches are diffed against the patch release or the rc release. So to get to linux-2.6.13-rc1-git1 from linux-2.6.12.2 Reverse patch-2.6.12.2 Apply patch-2.6.13-rc1 Apply patch-2.6.13-rc1-git1 To get to linux-2.6.13-rc2-git1 from linux-2.6.13-rc1-git1 Reverse patch-2.6.13-rc1-git1 Reverse patch-2.6.13-rc1 Apply patch-2.6.13-rc2 Apply patch-2.6.13-rc2-git1 This will take a lot of time recompiling and rebooting, so you need to be very patient. This would be a bit easier using the git tree and git-bisect. > I did notice something interesting though about the signatures: No idea. > How come the 2.6.13-rc1 archive is newer than the 2.6.12.6 archive? The timeline of the stable tree originates from the patch release version, ie from linux-x.y.z, and will not depend on git or rc releases. So an rc release can be earlier than a stable release.
Ok. It breaks on kernel 2.6.13-rc1-git3. It switches video modes (but now blank/black), but nothing else happens. No HDD activity or anything. I'll try git4 to see if HDD activity is fixed.
Kernel 2.6.13-rc1-git4 has no framebuffer problems (no blank/black screen) and boots up somewhat (still has IDE/HDD problems though). I'm not sure how many kernels I should be testing. I tried 2.6.13-rc2 without luck.
No, this should be enough. Can you copy the drivers/video/vesafb.c from the working kernel to the nonworking kernel. To make it compile you have to delete .fb_cursor = soft_cursor; from static struct fb_ops vesafb_ops
Kernel 2.6.13-rc1 doesn't have a git1, so I patch to git2. Then I copied drivers/video/vesafb.c to a temp file, reversed the git2 patch and applied the git3 patch where it breaks. The I diffed the git3 to the git2 and there are no changes.
If you can copy the vesafb.c file to the latest kernel you are using (linux-2.6.15), that would be helpful. (It seems that those early rc versions may have problems other than fb).
The file drivers/video/vesafb.c from kernel 2.6.13-rc1 put into the 2.6.15.1 source tree gives me the following compile error: CC drivers/video/vesafb.o drivers/video/vesafb.c: In function `vesafb_probe': drivers/video/vesafb.c:221: warning: implicit declaration of function `to_platform_device' drivers/video/vesafb.c:221: warning: initialization makes pointer from integer without a cast drivers/video/vesafb.c:280: error: dereferencing pointer to incomplete type drivers/video/vesafb.c: At top level: drivers/video/vesafb.c:427: error: `platform_bus_type' undeclared here (not in a function) drivers/video/vesafb.c:431: error: variable `vesafb_device' has initializer but incomplete type drivers/video/vesafb.c:432: error: unknown field `name' specified in initializer drivers/video/vesafb.c:432: warning: excess elements in struct initializer drivers/video/vesafb.c:432: warning: (near initialization for `vesafb_device') drivers/video/vesafb.c: In function `vesafb_init': drivers/video/vesafb.c:446: warning: implicit declaration of function `platform_device_register' make[2]: *** [drivers/video/vesafb.o] Error 1 make[1]: *** [drivers/video] Error 2 make: *** [drivers] Error 2
Sorry for not responding immediately, I was busy the past week. I looked at the changes between 2.6.12 and 2.6.13 concerning vesafb, and most of the changes pertain to mtrr. (I presume that 2.6.13 and newer kernels is broken for you). Can you post the dmesg and fbset -i of the working and non-working kernels? Can you also try booting with vga=xxx video=vesafb:mtrr:3? (Forget about moving the old vesafb.c file from the working kernel to the nonworking, I'll try to do it myself, and post it here)
Did you want the dmesg from the earliest non-working kernel? Or is 2.6.15.1 fine? I'd have to recompile otherwise. Which is fine too.
Any working kernel will do
Linux version 2.6.12.6 (root@europe3811) (gcc version 4.0.2 (Debian 4.0.2-2)) #1 Sun Nov 20 13:31:08 EST 2005 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 00000000037f0000 (usable) BIOS-e820: 00000000037f0000 - 00000000037f8000 (ACPI data) BIOS-e820: 00000000037f8000 - 0000000003800000 (ACPI NVS) BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved) 55MB LOWMEM available. On node 0 totalpages: 14320 DMA zone: 4096 pages, LIFO batch:1 Normal zone: 10224 pages, LIFO batch:3 HighMem zone: 0 pages, LIFO batch:1 DMI 2.1 present. ACPI: RSDP (v000 AMI ) @ 0x000fb220 ACPI: RSDT (v001 AMIINT 0x00000000 MSFT 0x00000097) @ 0x037f0000 ACPI: FADT (v001 AMIINT 0x00000000 MSFT 0x00000097) @ 0x037f0030 ACPI: DSDT (v001 SiS 530 0x00001000 MSFT 0x0100000a) @ 0x00000000 Allocating PCI resources starting at 03800000 (gap: 03800000:fb400000) Built 1 zonelists Kernel command line: BOOT_IMAGE=linux ro root=305 acpi=noirq video=vesa:ywrap,mtrr selinux=0 No local APIC present or hardware disabled mapped APIC to ffffd000 (01071000) Initializing CPU#0 PID hash table entries: 256 (order: 8, 4096 bytes) Detected 250.640 MHz processor. Using tsc for high-res timesource Console: colour dummy device 80x25 Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 53168k/57280k available (1797k kernel code, 3632k reserved, 840k data, 240k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay loop... 492.54 BogoMIPS (lpj=246272) Security Framework v1.0.0 initialized SELinux: Initializing. SELinux: Starting in permissive mode Mount-cache hash table entries: 512 CPU: After generic identify, caps: 0080a135 00000000 00000000 00000000 00000000 00000000 00000000 CPU: After vendor identify, caps: 0080a135 00000000 00000000 00000000 00000000 00000000 00000000 CPU: After all inits, caps: 0080a135 00000000 00000000 00000004 00000000 00000000 00000000 CPU: Cyrix M II 3x Core/Bus Clock stepping 04 Checking 'hlt' instruction... OK. ACPI: setting ELCR to 0e28 (from 0e08) NET: Registered protocol family 16 EISA bus registered PCI: PCI BIOS revision 2.10 entry at 0xfdb81, last bus=1 PCI: Using configuration type 1 mtrr: v2.0 (20020519) ACPI: Subsystem revision 20050309 ACPI: Interpreter enabled ACPI: Using PIC for interrupt routing ACPI: PCI Root Bridge [PCI0] (0000:00) PCI: Probing PCI hardware (bus 00) PCI: Ignoring BAR0-3 of IDE controller 0000:00:00.1 Boot video device is 0000:01:00.0 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: Power Resource [URP1] (off) ACPI: Power Resource [URP2] (off) ACPI: Power Resource [FDDP] (off) ACPI: Power Resource [LPTP] (off) Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI init pnp: PnP ACPI: found 8 devices PnPBIOS: Disabled by ACPI PNP SCSI subsystem initialized usbcore: registered new driver usbfs usbcore: registered new driver hub PCI: Probing PCI hardware PCI: Using IRQ router SIS [1039/0008] at 0000:00:01.0 PCI: Cannot allocate resource region 9 of bridge 0000:00:02.0 Initializing Cryptographic API vesafb: framebuffer at 0xff000000, mapped to 0xc4080000, using 1875k, total 8192k vesafb: mode is 800x600x16, linelength=1600, pages=7 vesafb: protected mode interface info at c7bd:0000 vesafb: scrolling: redraw vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0 Console: switching to colour frame buffer device 100x37 fb0: VESA VGA frame buffer device isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found Real Time Clock Driver v1.12 Linux agpgart interface v0.101 (c) Dave Jones Hangcheck: starting hangcheck timer 0.9.0 (tick is 180 seconds, margin is 60 seconds). Hangcheck: Using monotonic_clock(). PNP: PS/2 Controller [PNP030b:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12 serio: i8042 AUX port at 0x60,0x64 irq 12 serio: i8042 KBD port at 0x60,0x64 irq 1 io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered dmfe: Davicom DM9xxx net driver, version 1.36.4 (2002-01-17) PCI: Found IRQ 11 for device 0000:00:0b.0 eth0: Davicom DM9102 at pci0000:00:0b.0, 00:60:6e:38:ad:de, irq 11. Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx SIS5513: IDE controller at PCI slot 0000:00:00.1 SIS5513: chipset revision 208 SIS5513: not 100% native mode: will probe irqs later SIS5513: SiS530 ATA 66 controller ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:DMA Probing IDE interface ide0... hda: SAMSUNG SV0432A, ATA DISK drive hdb: ATAPI 52X CDROM, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 Probing IDE interface ide1... Probing IDE interface ide1... Probing IDE interface ide2... Probing IDE interface ide3... Probing IDE interface ide4... Probing IDE interface ide5... hda: max request size: 128KiB hda: 8421840 sectors (4311 MB) w/482KiB Cache, CHS=8912/15/63, UDMA(33) hda: cache flushes not supported hda: hda1 hda2 < hda5 hda6 hda7 hda8 > ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) ohci_hcd 0000:00:01.2: Silicon Integrated Systems [SiS] USB 1.0 Controller ohci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1 ohci_hcd 0000:00:01.2: irq 3, io mem 0xefffe000 hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected USB Universal Host Controller Interface driver v2.2 Initializing USB Mass Storage driver... usb 1-2: new full speed USB device using ohci_hcd and address 2 scsi0 : SCSI emulation for USB Mass Storage devices usbcore: registered new driver usb-storage USB Mass Storage support registered. mice: PS/2 mouse device common for all mice device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com EISA: Probing bus 0 at eisa.0 NET: Registered protocol family 2 usb-storage: device found at 2 usb-storage: waiting for device to settle before scanning IP: routing cache hash table of 512 buckets, 4Kbytes TCP established hash table entries: 2048 (order: 2, 16384 bytes) TCP bind hash table entries: 2048 (order: 1, 8192 bytes) TCP: Hash tables configured (established 2048 bind 2048) ip_tables: (C) 2000-2002 Netfilter core team NET: Registered protocol family 1 NET: Registered protocol family 17 input: AT Translated Set 2 keyboard on isa0060/serio0 EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Freeing unused kernel memory: 240k freed kjournald starting. Commit interval 5 seconds logips2pp: Detected unknown logitech mouse model 1 input: PS/2 Logitech Mouse on isa0060/serio1 Vendor: LEXAR Model: JUMPDRIVE SPORT Rev: 1000 Type: Direct-Access ANSI SCSI revision: 00 usb-storage: device scan complete hda: CHECK for good STATUS SCSI device sda: 502880 512-byte hdwr sectors (257 MB) sda: Write Protect is off sda: Mode Sense: 43 00 00 00 sda: assuming drive cache: write through SCSI device sda: 502880 512-byte hdwr sectors (257 MB) sda: Write Protect is off sda: Mode Sense: 43 00 00 00 sda: assuming drive cache: write through sda: sda1 sda2 Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 hdb: ATAPI 48X CD-ROM drive, 128kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20 EXT3 FS on hda5, internal journal Adding 72252k swap on /dev/mapper/cswap. Priority:-1 extents:1 And here's the fbset -i from 2.6.12.6: mode "800x600-75" # D: 48.001 MHz, H: 46.876 kHz, V: 75.121 Hz geometry 800 600 800 600 16 timings 20833 96 32 16 4 96 4 rgba 5/11,6/5,5/0,0/0 endmode Frame buffer device information: Name : VESA VGA Address : 0xff000000 Size : 1920000 Type : PACKED PIXELS Visual : TRUECOLOR XPanStep : 0 YPanStep : 0 YWrapStep : 0 LineLength : 1600 Accelerator : No Linux version 2.6.15.1 (root@europe3811) (gcc version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5)) #1 PREEMPT Sun Jan 29 08:53:50 EST 2006 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 00000000037f0000 (usable) BIOS-e820: 00000000037f0000 - 00000000037f8000 (ACPI data) BIOS-e820: 00000000037f8000 - 0000000003800000 (ACPI NVS) BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved) 55MB LOWMEM available. On node 0 totalpages: 14320 DMA zone: 4096 pages, LIFO batch:0 DMA32 zone: 0 pages, LIFO batch:0 Normal zone: 10224 pages, LIFO batch:1 HighMem zone: 0 pages, LIFO batch:0 DMI 2.1 present. ACPI: RSDP (v000 AMI ) @ 0x000fb220 ACPI: RSDT (v001 AMIINT 0x00000000 MSFT 0x00000097) @ 0x037f0000 ACPI: FADT (v001 AMIINT 0x00000000 MSFT 0x00000097) @ 0x037f0030 ACPI: DSDT (v001 SiS 530 0x00001000 MSFT 0x0100000a) @ 0x00000000 Allocating PCI resources starting at 10000000 (gap: 03800000:fb400000) Built 1 zonelists Kernel command line: BOOT_IMAGE=2.6.15.1 ro root=305 acpi=noirq video=vesafb:ywrap,mtrr:3 selinux=0 No local APIC present or hardware disabled mapped APIC to ffffd000 (01071000) Initializing CPU#0 PID hash table entries: 256 (order: 8, 4096 bytes) Detected 250.553 MHz processor. Using tsc for high-res timesource Console: colour dummy device 80x25 Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 53308k/57280k available (1889k kernel code, 3564k reserved, 647k data, 244k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 501.88 BogoMIPS (lpj=250940) Security Framework v1.0.0 initialized SELinux: Initializing. SELinux: Starting in permissive mode Mount-cache hash table entries: 512 CPU: After generic identify, caps: 0080a135 00000000 00000000 00000000 00000000 00000000 00000000 CPU: After vendor identify, caps: 0080a135 00000000 00000000 00000000 00000000 00000000 00000000 CPU: After all inits, caps: 0080a135 00000000 00000000 00000004 00000000 00000000 00000000 mtrr: v2.0 (20020519) CPU: Cyrix M II 3x Core/Bus Clock stepping 04 Checking 'hlt' instruction... OK. ACPI: setting ELCR to 0e28 (from 0e08) NET: Registered protocol family 16 EISA bus registered ACPI: bus type pci registered PCI: PCI BIOS revision 2.10 entry at 0xfdb81, last bus=1 PCI: Using configuration type 1 ACPI: Subsystem revision 20050902 ACPI: Interpreter enabled ACPI: Using PIC for interrupt routing ACPI: PCI Root Bridge [PCI0] (0000:00) PCI: Probing PCI hardware (bus 00) PCI: Ignoring BAR0-3 of IDE controller 0000:00:00.1 Boot video device is 0000:01:00.0 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: Power Resource [URP1] (off) ACPI: Power Resource [URP2] (off) ACPI: Power Resource [FDDP] (off) ACPI: Power Resource [LPTP] (off) Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI init pnp: PnP ACPI: found 8 devices PnPBIOS: Disabled by ACPI PNP SCSI subsystem initialized usbcore: registered new driver usbfs usbcore: registered new driver hub PCI: Probing PCI hardware PCI: Using IRQ router SIS [1039/0008] at 0000:00:01.0 PCI: Cannot allocate resource region 9 of bridge 0000:00:02.0 PCI: Cannot allocate resource region 0 of device 0000:01:00.0 PCI: Ignore bogus resource 6 [0:0] of 0000:01:00.0 PCI: Bridge: 0000:00:02.0 IO window: c000-cfff MEM window: e7e00000-e7efffff PREFETCH window: 10000000-107fffff PCI: Setting latency timer of device 0000:00:02.0 to 64 Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered vesafb: framebuffer at 0xff000000, mapped to 0xc4080000, using 1875k, total 8192k vesafb: mode is 800x600x16, linelength=1600, pages=7 vesafb: protected mode interface info at c7bd:0000 vesafb: pmi: set display start = c00c7c25, set palette = c00c7c99 vesafb: scrolling: ywrap using protected mode interface, yres_virtual=1200 vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0 vesafb: Mode is VGA compatible Console: switching to colour frame buffer device 100x37 fb0: VESA VGA frame buffer device isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found Real Time Clock Driver v1.12 Linux agpgart interface v0.101 (c) Dave Jones Hangcheck: starting hangcheck timer 0.9.0 (tick is 180 seconds, margin is 60 seconds). Hangcheck: Using monotonic_clock(). PNP: PS/2 Controller [PNP030b:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12 serio: i8042 AUX port at 0x60,0x64 irq 12 serio: i8042 KBD port at 0x60,0x64 irq 1 dmfe: Davicom DM9xxx net driver, version 1.36.4 (2002-01-17) PCI: Found IRQ 11 for device 0000:00:0b.0 eth0: Davicom DM9102 at pci0000:00:0b.0, 00:60:6e:38:ad:de, irq 11. Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx SIS5513: IDE controller at PCI slot 0000:00:00.1 SIS5513: chipset revision 208 SIS5513: not 100% native mode: will probe irqs later SIS5513: SiS530 ATA 66 controller ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:DMA Probing IDE interface ide0... hda: SAMSUNG SV0432A, ATA DISK drive hdb: ATAPI 52X CDROM, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 Probing IDE interface ide1... Probing IDE interface ide1... hda: max request size: 128KiB hda: 8421840 sectors (4311 MB) w/482KiB Cache, CHS=8912/15/63, UDMA(33) hda: cache flushes not supported hda: hda1 hda2 < hda5 hda6 hda7 hda8 > ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) ohci_hcd 0000:00:01.2: OHCI Host Controller ohci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1 ohci_hcd 0000:00:01.2: irq 3, io mem 0xefffe000 hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected USB Universal Host Controller Interface driver v2.3 Initializing USB Mass Storage driver... usb 1-2: new full speed USB device using ohci_hcd and address 2 scsi0 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 2 usb-storage: waiting for device to settle before scanning usbcore: registered new driver usb-storage USB Mass Storage support registered. mice: PS/2 mouse device common for all mice device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com EISA: Probing bus 0 at eisa.0 NET: Registered protocol family 2 IP route cache hash table entries: 512 (order: -1, 2048 bytes) TCP established hash table entries: 2048 (order: 1, 8192 bytes) TCP bind hash table entries: 2048 (order: 1, 8192 bytes) TCP: Hash tables configured (established 2048 bind 2048) TCP reno registered input: AT Translated Set 2 keyboard as /class/input/input0 ip_tables: (C) 2000-2002 Netfilter core team TCP bic registered NET: Registered protocol family 1 NET: Registered protocol family 17 Using IPI Shortcut mode ACPI wakeup devices: PCI0 PS2M PS2K USB ACPI: (supports S0 S1 S5) EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Freeing unused kernel memory: 244k freed kjournald starting. Commit interval 5 seconds logips2pp: Detected unknown logitech mouse model 1 input: PS/2 Logitech Mouse as /class/input/input1 Vendor: LEXAR Model: JUMPDRIVE SPORT Rev: 1000 Type: Direct-Access ANSI SCSI revision: 00 usb-storage: device scan complete hdb: ATAPI 48X CD-ROM drive, 128kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20 Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 SCSI device sda: 502880 512-byte hdwr sectors (257 MB) sda: Write Protect is off sda: Mode Sense: 43 00 00 00 sda: assuming drive cache: write through SCSI device sda: 502880 512-byte hdwr sectors (257 MB) sda: Write Protect is off sda: Mode Sense: 43 00 00 00 sda: assuming drive cache: write through sda: sda1 sda2 sd 0:0:0:0: Attached scsi removable disk sda hda: CHECK for good STATUS EXT3 FS on hda5, internal journal Adding 72252k swap on /dev/mapper/cswap. Priority:-1 extents:1 across:72252k mode "800x600-75" # D: 48.001 MHz, H: 46.876 kHz, V: 75.121 Hz geometry 800 600 800 1200 16 timings 20833 96 32 16 4 96 4 rgba 5/11,6/5,5/0,0/0 endmode Frame buffer device information: Name : VESA VGA Address : 0xff000000 Size : 1920000 Type : PACKED PIXELS Visual : TRUECOLOR XPanStep : 0 YPanStep : 1 YWrapStep : 1 LineLength : 1600 Accelerator : No The geometry settings between the two kernels are different along with YPanStep and YwrapStep. Is it possible to set timings with the VESA driver?
> The geometry settings between the two kernels are different along with > YPanStep and YwrapStep. Is it possible to set timings with the VESA > driver? Yes, boot without the 'ypan' or 'ywrap' option, i.e.: video=vesafb:mtrr:3
The fbset -i for both kernels are the same without the ypan/ywrap kernel options. Did you need the dmesg without the ypan/ywrap?
> The fbset -i for both kernels are the same without the ypan/ywrap kernel > options. Did you need the dmesg without the ypan/ywrap? Strange. Without the ypan/ywrap option, vesafb should go to redraw scrolling. So yes, can you post the dmesg (just the vesafb part) without the ypan, ywrap option?
From 2.6.15.1: vesafb: framebuffer at 0xff000000, mapped to 0xc4080000, using 1875k, total 8192k vesafb: mode is 800x600x16, linelength=1600, pages=7 vesafb: protected mode interface info at c7bd:0000 vesafb: scrolling: redraw vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0 vesafb: Mode is VGA compatible Console: switching to colour frame buffer device 100x37 fb0: VESA VGA frame buffer device 2.6.12.6 is identical except for the "Mode is VGA compatible" line.
Created attachment 7293 [details] Port 2.6.12 vesafb to 2.6.16-rc2-mm1 Can you try this patch? This is vesafb in 2.6.12 ported to 2.6.16-rc2-mm1. If you apply it against vanilla or stable 2.6.15, you'll get rejects, but those are easy to fix.
Didn't work. The fbset and dmesg are identical to 2.6.12.6.
I'm suspecting as much. The problem seems totally unrelated to the vesafb changes. I'm guessing a change in one of the subsystems may be affecting vesafb (acpi?). Can you try bpp = 8 and bpp = 32 (0x303 and 0x315 respectively)?
fbset for 0x303: mode "800x600-75" # D: 48.001 MHz, H: 46.876 kHz, V: 75.121 Hz geometry 800 600 800 600 8 timings 20833 96 32 16 4 96 4 rgba 8/0,8/0,8/0,6/0 endmode Frame buffer device information: Name : VESA VGA Address : 0xff000000 Size : 960000 Type : PACKED PIXELS Visual : PSEUDOCOLOR XPanStep : 0 YPanStep : 0 YWrapStep : 0 LineLength : 800 Accelerator : No 0x315: mode "800x600-75" # D: 48.001 MHz, H: 46.876 kHz, V: 75.121 Hz geometry 800 600 800 600 24 timings 20833 96 32 16 4 96 4 rgba 8/16,8/8,8/0,0/0 endmode Frame buffer device information: Name : VESA VGA Address : 0xff000000 Size : 2880000 Type : PACKED PIXELS Visual : TRUECOLOR XPanStep : 0 YPanStep : 0 YWrapStep : 0 LineLength : 2400 Accelerator : No I also tried acpi=off but no luck.
Created attachment 7297 [details] Change register dx content when calling vbe bios This patch is the last thing that I know of that could have possibly caused the regression. After this, I have absolutely no ideas anymore :-(
No luck. Thanks for trying though. Maybe it'll magically fix itself in a later kernel.
If you have the time, you can try git-bisection. Here's a howto by Linus. http://www.kernel.org/pub/software/scm/git/docs/howto/isolate-bugs-with-bisect.txt You will need Linus' git repository first, so you have to download git: http://www.kernel.org/pub/software/scm/git/ If you find git's syntax to arcane, cogito can be helpful http://www.kernel.org/pub/software/scm/cogito/ Then with cogito, just do: cg-clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 (You'll need a fast internet connection)
BTW, I think I can get access to a machine with an SiS530. I'll let you know how it goes.
I'm having a problem with bisect. After 'git reset --hard' which brings me to kernel 2.6.16-rc3 I did git bisect start git bisect bad v2.6.13-rc2 git bisect good v2.6.13-rc1 Then it gives me this after a little while of doing stuff: Bisecting: 113 revisions left to test after this fatal: Entry '.gitignore' not uptodate. Cannot merge. I tested both rc1 and rc2 after 'git reset --hard v2.6.13-rc[12]; make mrproper; etc...' so I know where bisect bad/good are. Any suggestions?
I noticed something from the dmesg of the working (2.6.12.6) and non-working kernels: PCI: Probing PCI hardware PCI: Using IRQ router SIS [1039/0008] at 0000:00:01.0 PCI: Cannot allocate resource region 9 of bridge 0000:00:02.0 PCI: Cannot allocate resource region 0 of device 0000:01:00.0 PCI: Ignore bogus resource 6 [0:0] of 0000:01:00.0 Line 4 (device 0000:01:00.0) only shows up on the broken kernels: $ cd /sys $ find . -name 0000:01:00.0 ./bus/pci/devices/0000:01:00.0 ./devices/pci0000:00/0000:00:02.0/0000:01:00.0 $ cd ./devices/pci0000:00/0000:00:02.0/0000:01:00.0 $ cat device 0x6306 $ lspci -d :0x6306 0000:01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 530/620 PCI/AGP VGA Display Adapter (rev a2) I'm not sure what the 'region 0' is though.
This is the other unknown device: $ lspci -d :0x0001 0000:00:02.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP)
Region 0 is the framebuffer memory. So that looks to me like the culprit. What does /proc/iomem and lspci -vvv say? Can you also try booting with acpi disabled?
I've tried 'acpi=off' but no luck. /proc/iomem: 00000000-0009fbff : System RAM 0009fc00-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000c7fff : Video ROM 000c8000-000cbfff : Adapter ROM 000f0000-000fffff : System ROM 00100000-037effff : System RAM 00100000-002a64c6 : Kernel code 002a64c7-0032defb : Kernel data 037f0000-037f7fff : ACPI Tables 037f8000-037fffff : ACPI Non-volatile Storage 10000000-107fffff : PCI Bus #01 10000000-107fffff : 0000:01:00.0 e7e00000-e7efffff : PCI Bus #01 e7ef0000-e7efffff : 0000:01:00.0 e8000000-ebffffff : 0000:00:00.0 eff80000-effbffff : 0000:00:0b.0 efffe000-efffefff : 0000:00:01.2 efffe000-efffefff : ohci_hcd efffff80-efffffff : 0000:00:0b.0 efffff80-efffffff : dmfe fec00000-fec00fff : reserved fee00000-fee00fff : reserved fffc0000-ffffffff : reserved lspci -vvv: 0000:00:00.0 Host bridge: Silicon Integrated Systems [SiS] 530 Host (rev 02) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- Latency: 32 Region 0: Memory at e8000000 (32-bit, non-prefetchable) [size=64M] Capabilities: <available only to root> 0000:00:00.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0) (prog-if 80 [Master]) Subsystem: Silicon Integrated Systems [SiS] SiS5513 EIDE Controller (A,B step) Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 16 Interrupt: pin A routed to IRQ 0 Region 0: I/O ports at <ignored> Region 1: I/O ports at <ignored> Region 2: I/O ports at <ignored> Region 3: I/O ports at <ignored> Region 4: I/O ports at ffa0 [size=16] 0000:00:01.0 ISA bridge: Silicon Integrated Systems [SiS] SiS85C503/5513 (LPC Bridge) (rev b3) Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 0000:00:01.1 ff00: Silicon Integrated Systems [SiS] ACPI Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- 0000:00:01.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 11) (prog-if 10 [OHCI]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32 (20000ns max), Cache Line Size: 0x08 (32 bytes) Interrupt: pin A routed to IRQ 3 Region 0: Memory at efffe000 (32-bit, non-prefetchable) [size=4K] 0000:00:02.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 0000c000-0000cfff Memory behind bridge: e7e00000-e7efffff Prefetchable memory behind bridge: 10000000-107fffff BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B- 0000:00:09.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02) Subsystem: Ensoniq Creative Sound Blaster AudioPCI128 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32 (3000ns min, 32000ns max) Interrupt: pin A routed to IRQ 9 Region 0: I/O ports at da00 [size=64] Capabilities: <available only to root> 0000:00:0b.0 Ethernet controller: Davicom Semiconductor, Inc. 21x4x DEC-Tulip compatible 10/100 Ethernet (rev 10) Subsystem: Davicom Semiconductor, Inc.: Unknown device 8212 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32 (5000ns min, 10000ns max) Interrupt: pin A routed to IRQ 11 Region 0: I/O ports at dc00 [size=128] Region 1: Memory at efffff80 (32-bit, non-prefetchable) [size=128] Expansion ROM at eff80000 [disabled] [size=256K] Capabilities: <available only to root> 0000:00:0c.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10) Subsystem: C-Media Electronics Inc CMI8738/C3DX PCI Audio Device Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32 (500ns min, 6000ns max) Interrupt: pin A routed to IRQ 10 Region 0: I/O ports at de00 [size=256] Capabilities: <available only to root> 0000:01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 530/620 PCI/AGP VGA Display Adapter (rev a2) (prog-if 00 [VGA]) Subsystem: Silicon Integrated Systems [SiS] SiS530,620 GUI Accelerator+3D Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32 (500ns min) Region 0: Memory at 10000000 (32-bit, prefetchable) [size=8M] Region 1: Memory at e7ef0000 (32-bit, non-prefetchable) [size=64K] Region 2: I/O ports at cc00 [size=128] Capabilities: <available only to root>
Here's the output as root. Sorry 'bout that: 0000:00:00.0 Host bridge: Silicon Integrated Systems [SiS] 530 Host (rev 02) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- Latency: 32 Region 0: Memory at e8000000 (32-bit, non-prefetchable) [size=64M] Capabilities: [c0] AGP version 2.0 Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2 Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none> 0000:00:00.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0) (prog-if 80 [Master]) Subsystem: Silicon Integrated Systems [SiS] SiS5513 EIDE Controller (A,B step) Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 16 Interrupt: pin A routed to IRQ 0 Region 0: I/O ports at <ignored> Region 1: I/O ports at <ignored> Region 2: I/O ports at <ignored> Region 3: I/O ports at <ignored> Region 4: I/O ports at ffa0 [size=16] 0000:00:01.0 ISA bridge: Silicon Integrated Systems [SiS] SiS85C503/5513 (LPC Bridge) (rev b3) Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 0000:00:01.1 ff00: Silicon Integrated Systems [SiS] ACPI Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- 0000:00:01.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 11) (prog-if 10 [OHCI]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32 (20000ns max), Cache Line Size: 0x08 (32 bytes) Interrupt: pin A routed to IRQ 3 Region 0: Memory at efffe000 (32-bit, non-prefetchable) [size=4K] 0000:00:02.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 0000c000-0000cfff Memory behind bridge: e7e00000-e7efffff Prefetchable memory behind bridge: 10000000-107fffff BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B- 0000:00:09.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02) Subsystem: Ensoniq Creative Sound Blaster AudioPCI128 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32 (3000ns min, 32000ns max) Interrupt: pin A routed to IRQ 9 Region 0: I/O ports at da00 [size=64] Capabilities: [dc] Power Management version 1 Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D3 PME-Enable- DSel=0 DScale=0 PME- 0000:00:0b.0 Ethernet controller: Davicom Semiconductor, Inc. 21x4x DEC-Tulip compatible 10/100 Ethernet (rev 10) Subsystem: Davicom Semiconductor, Inc.: Unknown device 8212 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32 (5000ns min, 10000ns max) Interrupt: pin A routed to IRQ 11 Region 0: I/O ports at dc00 [size=128] Region 1: Memory at efffff80 (32-bit, non-prefetchable) [size=128] Expansion ROM at eff80000 [disabled] [size=256K] Capabilities: [50] Power Management version 1 Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=0 PME+ 0000:00:0c.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10) Subsystem: C-Media Electronics Inc CMI8738/C3DX PCI Audio Device Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32 (500ns min, 6000ns max) Interrupt: pin A routed to IRQ 10 Region 0: I/O ports at de00 [size=256] Capabilities: [c0] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 0000:01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 530/620 PCI/AGP VGA Display Adapter (rev a2) (prog-if 00 [VGA]) Subsystem: Silicon Integrated Systems [SiS] SiS530,620 GUI Accelerator+3D Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32 (500ns min) Region 0: Memory at 10000000 (32-bit, prefetchable) [size=8M] Region 1: Memory at e7ef0000 (32-bit, non-prefetchable) [size=64K] Region 2: I/O ports at cc00 [size=128] Capabilities: [40] Power Management version 1 Flags: PMEClk- DSI- D1- D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- Capabilities: [50] AGP version 1.0 Status: RQ=2 Iso- ArqSz=0 Cal=0 SBA- ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2 Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none>
The dmesg of both the working and non-working kernel shows this: vesafb: framebuffer at 0xff000000, mapped to 0xc4080000, using 1875k, total 8192k The lspci of your nonworking kernel shows this: Region 0: Memory at 10000000 (32-bit, prefetchable) [size=8M] The physical address does not match (0xff000000 vs 0x1000000). Can you confirm that the addresses match in the working kernel, and does not match in the nonworking kernel? If the addresses does indeed not match in the nonworking kernel, what happens if you hardcode the physical address? Open vesafb.c and change vesafb_fix.smem_start = screen_info.lfb_base; to vesafb_fix.smem_start = 0xff000000; /* or whatever is the address of region 0 */
Region 0 is still 0x10000000 even after changing vesafb.c. The dmesg still shows it at 0xff000000 though. Also, I still get the "Cannot allocate region 0" warning.
Sorry, I meant vesafb_fix.smem_start = 0x10000000; so we make vesafb match what is in Region 0.
/proc/iomem: 00000000-0009fbff : System RAM 0009fc00-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000c7fff : Video ROM 000c8000-000cbfff : Adapter ROM 000f0000-000fffff : System ROM 00100000-037effff : System RAM 00100000-002a6586 : Kernel code 002a6587-0032eefb : Kernel data 037f0000-037f7fff : ACPI Tables 037f8000-037fffff : ACPI Non-volatile Storage 10000000-107fffff : PCI Bus #01 10000000-107fffff : 0000:01:00.0 10000000-107fffff : vesafb e7e00000-e7efffff : PCI Bus #01 e7ef0000-e7efffff : 0000:01:00.0 e8000000-ebffffff : 0000:00:00.0 eff80000-effbffff : 0000:00:0b.0 efffe000-efffefff : 0000:00:01.2 efffe000-efffefff : ohci_hcd efffff80-efffffff : 0000:00:0b.0 efffff80-efffffff : dmfe fec00000-fec00fff : reserved fee00000-fee00fff : reserved fffc0000-ffffffff : reserved lspci: Region 0: Memory at 10000000 (32-bit, prefetchable) [size=8M] And from the dmesg: vesafb: framebuffer at 0x10000000, mapped to 0xc4080000, using 1875k, total 8192k Still no luck though.
Hmm, I think we'll just post your problem to lkml to get a wider audience. Looks like a PCI problem rather than fbdev.
Sounds good. I'm not subscribed to the lkml any don't really want to be because of the traffic. I'll keep by eye on bugzilla though. Thanks for the help.
The mem= boot parameter worked. The video card is on the MB and I see in the dmesg that the memory total is 61M (I changed the reserved amount from the BIOS to 2M). So booting with mem=61M rather than 64M works even though technically I have 64M. Thanks for all the help.
The patch that Linus sent to lkml worked fine on 2.6.16-rc4-git2 even without the mem= boot parameter.
It's okay for you to join in the thread :-) (that's why I added you to the CC list). They appreciate it very much if you give them feedback.
Thanks for the help. I guess this bug can be closed now?
Yes, marking this as resolved.