Hello @ all,
I try to run LinuxBios on an Via Epia ML6000 and there are problems with the VGA output.
The chipset on the board is nearly the same as the Epia-M and the console output seems to be ok, only the initialisation of the video bios looks not fine.
The video bios is taken from the original Bios with dd. Kernel is compiled with standard fb support. X fails, because of the non exist /dev/fb0. Furthermore, there is no detecting of the graphic hardware, if the kernel starts.
Please have a look at my file.
any hints?
regards chris
LinuxBIOS-1.1.8.0Fallback Sun Dec 18 12:01:05 CET 2005 starting... Enabling mainboard devices Enabling shadow ram vt8623 init starting Detecting Memory Number of Banks 04 Number of Rows 0d Priamry DRAM width08 No Columns 0a MA type e0 Bank 0 (*16 Mb) 10 No Physical Banks 01 Total Memory (*16 Mb) 10 CAS Supported 2 2.5 Cycle time at CL X (nS)60 Cycle time at CL X-0.5 (nS)75 Cycle time at CL X-1 (nS)00 Starting at CAS 2.5 We can do CAS 2 tRP 48 tRCD 48 tRAS 2a Low Bond 00 High Bondce Setting DQS delay89vt8623 done 00:06 11 23 31 06 00 30 22 00 00 00 06 00 00 00 00 10:08 00 00 d0 00 00 00 00 00 00 00 00 00 00 00 00 20:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30:00 00 00 00 a0 00 00 00 00 00 00 00 00 00 00 00 40:00 18 88 80 82 44 00 00 18 99 88 80 82 44 00 00 50:c8 de cf 88 e0 07 00 00 e0 00 10 10 10 10 00 00 60:02 ff 00 30 d6 32 01 20 42 2d 43 58 00 44 00 00 70:82 48 00 01 01 08 50 00 01 00 00 00 00 00 10 00 80:0f 64 00 00 80 00 00 00 02 00 00 00 00 00 00 00 90:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a0:02 c0 20 00 07 02 00 1f 04 00 00 00 2f 02 04 00 b0:00 00 00 00 80 00 00 00 88 00 00 04 00 00 00 00 c0:01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 d0:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e0:00 dd 00 00 00 00 01 00 40 00 00 00 00 00 00 00 f0:00 00 00 00 00 00 12 13 00 00 00 00 00 00 00 00 AGP Doing MTRR init. Copying LinuxBIOS to ram. Jumping to LinuxBIOS. LinuxBIOS-1.1.8.0Fallback Sun Dec 18 12:01:05 CET 2005 booting... clocks_per_usec: 1548 Enumerating buses... Finding PCI configuration type. PCI: Using configuration type 1 PCI_DOMAIN: 0000 enabled APIC_CLUSTER: 0 enabled PCI: pci_scan_bus for bus 0 PCI: 00:00.0 [1106/3123] enabled PCI: 00:01.0 [1106/b091] enabled Disabling static device: PCI: 00:0a.0 Disabling static device: PCI: 00:0a.1 In vt8235_enable 1106 3038. PCI: 00:10.0 [1106/3038] enabled In vt8235_enable 1106 3038. PCI: 00:10.1 [1106/3038] enabled In vt8235_enable 1106 3038. PCI: 00:10.2 [1106/3038] enabled In vt8235_enable 1106 3104. PCI: 00:10.3 [1106/3104] enabled In vt8235_enable 1106 3177. Initialising Devices PCI: 00:11.0 [1106/3177] enabled In vt8235_enable 1106 0571. PCI: 00:11.1 [1106/0571] enabled In vt8235_enable 1106 3059. PCI: 00:11.5 [1106/3059] enabled In vt8235_enable ffff ffff. In vt8235_enable 1106 3065. PCI: 00:12.0 [1106/3065] enabled PCI: pci_scan_bus for bus 1 PCI: 01:00.0 [1106/3122] enabled PCI: pci_scan_bus returning with max=01 vt1211 enabling PNP devices. PNP: 002e.0 enabled vt1211 enabling PNP devices. PNP: 002e.1 enabled vt1211 enabling PNP devices. PNP: 002e.2 enabled vt1211 enabling PNP devices. PNP: 002e.3 enabled vt1211 enabling PNP devices. PNP: 002e.b enabled PCI: pci_scan_bus returning with max=01 done Allocating resources... Reading resources... Done reading resources. Setting resources... I would set ram size to 0x40000 Kbytes PCI: 00:10.0 20 <- [0x0000001800 - 0x000000181f] io PCI: 00:10.1 20 <- [0x0000001820 - 0x000000183f] io PCI: 00:10.2 20 <- [0x0000001840 - 0x000000185f] io PCI: 00:10.3 10 <- [0x00febff000 - 0x00febff0ff] mem PNP: 002e.0 60 <- [0x00000003f0 - 0x00000003f7] io PNP: 002e.0 70 <- [0x0000000006 - 0x0000000006] irq PNP: 002e.0 74 <- [0x0000000002 - 0x0000000002] drq PNP: 002e.1 60 <- [0x0000000378 - 0x000000037f] io PNP: 002e.1 70 <- [0x0000000007 - 0x0000000007] irq PNP: 002e.1 74 <- [0x0000000003 - 0x0000000003] drq PNP: 002e.2 60 <- [0x00000003f8 - 0x00000003ff] io PNP: 002e.2 70 <- [0x0000000004 - 0x0000000004] irq PNP: 002e.3 60 <- [0x00000002f8 - 0x00000002ff] io PNP: 002e.3 70 <- [0x0000000003 - 0x0000000003] irq PNP: 002e.b 60 <- [0x000000ec00 - 0x000000ecff] io PCI: 00:11.1 20 <- [0x0000001860 - 0x000000186f] io PCI: 00:11.5 10 <- [0x0000001000 - 0x00000010ff] io PCI: 00:12.0 10 <- [0x0000001400 - 0x00000014ff] io PCI: 00:12.0 14 <- [0x00fec00000 - 0x00fec000ff] mem Done setting resources. Done allocating resources. Enabling resourcess... PCI: 00:00.0 cmd <- 146 PCI: 00:01.0 bridge ctrl <- 000f PCI: 00:01.0 cmd <- 147 PCI: 01:00.0 cmd <- 140 PCI: 00:10.0 subsystem <- 00/00 PCI: 00:10.0 cmd <- 141 PCI: 00:10.1 subsystem <- 00/00 PCI: 00:10.1 cmd <- 141 PCI: 00:10.2 subsystem <- 00/00 PCI: 00:10.2 cmd <- 141 PCI: 00:10.3 subsystem <- 00/00 PCI: 00:10.3 cmd <- 142 PCI: 00:11.0 cmd <- 147 PNP: 002e.0 - enabling PNP: 002e.1 - enabling PNP: 002e.2 - enabling PNP: 002e.3 - enabling PNP: 002e.b - enabling PCI: 00:11.1 cmd <- 147 PCI: 00:11.5 subsystem <- 00/00 PCI: 00:11.5 cmd <- 141 PCI: 00:12.0 cmd <- 1c3 done. Initializing devices... Root Device init PCI: 00:10.0 init PCI: 00:10.1 init PCI: 00:10.2 init PCI: 00:10.3 init PCI: 00:11.0 init vt8235 init RTC Init Invalid CMOS LB checksum pci_routing_fixup: dev is 00010e40 setting firewire setting usb Assigning IRQ 5 to 0:10.0 Readback = 5 pci_level_irq: lower order bits are wrong: want 0x0, got 0x20 Assigning IRQ 9 to 0:10.1 Readback = 9 pci_level_irq: lower order bits are wrong: want 0x0, got 0x20 Assigning IRQ 9 to 0:10.2 Readback = 9 pci_level_irq: lower order bits are wrong: want 0x0, got 0x20 Assigning IRQ 5 to 0:10.3 Readback = 5 pci_level_irq: lower order bits are wrong: want 0x0, got 0x20 setting vt8235 Assigning IRQ 5 to 0:11.1 Readback = 5 pci_level_irq: lower order bits are wrong: want 0x0, got 0x20 Assigning IRQ 9 to 0:11.5 Readback = 9 pci_level_irq: lower order bits are wrong: want 0x0, got 0x20 setting ethernet Assigning IRQ 5 to 0:12.0 Readback = 5 pci_level_irq: lower order bits are wrong: want 0x0, got 0x20 setting vga Assigning IRQ 5 to 1:0.0 Readback = 5 pci_level_irq: lower order bits are wrong: want 0x0, got 0x20 setting pci slot setting cardbus slot setting riser slot PNP: 002e.0 init PNP: 002e.1 init PNP: 002e.2 init PNP: 002e.3 init PNP: 002e.b init PCI: 00:11.1 init Enabling VIA IDE. ide_init: enabling compatibility IDE addresses enables in reg 0x42 0x0 enables in reg 0x42 read back as 0x0 enables in reg 0x40 0x13 enables in reg 0x40 read back as 0x13 enables in reg 0x9 0x8a enables in reg 0x9 read back as 0x8a command in reg 0x4 0x7 command in reg 0x4 reads back as 0x7 PCI: 00:11.5 init PCI: 00:12.0 init Configuring VIA Rhine LAN APIC_CLUSTER: 0 init Initializing CPU #0 CPU: vendor Centaur device 698 Enabling cache
Setting fixed MTRRs(0-88) type: UC Setting fixed MTRRs(0-16) Type: WB Setting fixed MTRRs(24-88) Type: WB DONE fixed MTRRs Setting variable MTRR 0, base: 0MB, range: 128MB, type WB Setting variable MTRR 1, base: 128MB, range: 64MB, type WB Setting variable MTRR 2, base: 192MB, range: 32MB, type WB DONE variable MTRRs Clear out the extra MTRR's
MTRR check Fixed MTRRs : Enabled Variable MTRRs: Enabled
Disabling local apic...done. CPU #0 Initialized PCI: 00:00.0 init VT8623 random fixup ... Frame buffer at d0000000 PCI: 00:01.0 init VT8623 AGP random fixup ... PCI: 01:00.0 init VGA random fixup ... INSTALL REAL-MODE IDT DO THE VGA BIOS found VGA: vid=1106, did=3122 rom base, size: fffc0000 BAD SIGNATURE 0x8 0x1e biosint: # 0x10, eax 0x4f14 ebx 0x18003 ecx 0x1 edx 0x0 biosint: ebp 0x17fa8 esp 0xffa edi 0x0 esi 0xffff70b6 biosint: ip 0x8e22 cs 0x0 flags 0x46 BIOSINT: Unsupport int #0x10 Devices initialized Copying IRQ routing tables to 0xf0000...done. Verifing copy of IRQ routing tables at 0xf0000...done Checking IRQ routing table consistency... check_pirq_routing_table() - irq_routing_table located at: 0x000f0000 done. ACPI: Writing ACPI tables at f0400... ACPI: * FACS ACPI: * DSDT @ 000f049e Length 3f0 ACPI: * FADT ACPI: added table 1/5 Length now 40 ACPI: done. Moving GDT to 0x500...ok Wrote linuxbios table at: 00000530 - 00000b74 checksum 363f
Welcome to elfboot, the open sourced starter. January 2002, Eric Biederman. Version 1.3
33:stream_init() - rom_stream: 0xfffd0000 - 0xfffeffff Found ELF candiate at offset 0 New segment addr 0x100000 size 0x26240 offset 0xa0 filesize 0xc1a8 (cleaned up) New segment addr 0x100000 size 0x26240 offset 0xa0 filesize 0xc1a8 New segment addr 0x126240 size 0x48 offset 0xc260 filesize 0x48 (cleaned up) New segment addr 0x126240 size 0x48 offset 0xc260 filesize 0x48 Dropping non PT_LOAD segment Loading Segment: addr: 0x0000000000100000 memsz: 0x0000000000026240 filesz: 0x000000000000c1a8 Clearing Segment: addr: 0x000000000010c1a8 memsz: 0x000000000001a098 Loading Segment: addr: 0x0000000000126240 memsz: 0x0000000000000048 filesz: 0x0000000000000048 Jumping to boot code at 0x1089d0 FILO version 0.4.2 (root@linux) Sun Dec 18 11:59:15 CET 2005 collect_sys_info: boot eax = 0xe1fb007 collect_sys_info: boot ebx = 0xdff7500 collect_sys_info: boot arg = 0xdff7500 malloc_diag: alloc: 0 bytes (0 blocks), free: 16376 bytes (1 blocks) malloc_diag: alloc: 24 bytes (1 blocks), free: 16352 bytes (1 blocks) collect_elfboot_info: Bootloader: elfboot collect_elfboot_info: Version: 1.3 malloc_diag: alloc: 40 bytes (2 blocks), free: 16336 bytes (1 blocks) collect_linuxbios_info: Searching for LinuxBIOS tables... find_lb_table: Found canidate at: 00000530 find_lb_table: header checksum o.k. find_lb_table: table checksum o.k. find_lb_table: record count o.k. collect_linuxbios_info: Found LinuxBIOS table at: 00000530 malloc_diag: alloc: 128 bytes (3 blocks), free: 16248 bytes (1 blocks) convert_memmap: 0x00000000000000 0x00000000000be8 16 convert_memmap: 0x00000000000be8 0x0000000009f418 1 convert_memmap: 0x000000000c0000 0x00000000030000 1 convert_memmap: 0x000000000f0000 0x00000000000c00 16 convert_memmap: 0x000000000f0c00 0x0000000df0f400 1 collect_sys_info: 0000000000000be8-00000000000a0000 collect_sys_info: 00000000000c0000-00000000000f0000 collect_sys_info: 00000000000f0c00-000000000e000000 collect_sys_info: RAM 224 MB relocate: Current location: 0x100000-0x126287 relocate: Relocating to 0xdfd9d70-0xdfffff7... ok setup_timers: CPU 666 MHz pci_init: Scanning PCI: found 11 devices malloc_diag: alloc: 272 bytes (4 blocks), free: 16104 bytes (1 blocks) pci_init: 00:00.0 1106:3123 0600 00 pci_init: 00:01.0 1106:b091 0604 00 pci_init: 01:00.0 1106:3122 0300 00 pci_init: 00:10.0 1106:3038 0c03 00 pci_init: 00:10.1 1106:3038 0c03 00 pci_init: 00:10.2 1106:3038 0c03 00 pci_init: 00:10.3 1106:3104 0c03 20 pci_init: 00:11.0 1106:3177 0601 00 pci_init: 00:11.1 1106:0571 0101 8a pci_init: 00:11.5 1106:3059 0401 00 pci_init: 00:12.0 1106:3065 0200 00 Press <Enter> for default boot, or <Esc> for boot prompt... 2 1 timed out boot: hda1:/vmlinuz initrd=/initrd.gz ramdisk_size=13000 rw root=/dev/ram0 max_loop=16 LABEL=FB video=vesa:ywrap,mtrr vga=0x314 splash=silent MEDIA=hd console=tty0 console=ttyS0,115200 malloc_diag: alloc: 464 bytes (5 blocks), free: 15912 bytes (1 blocks) malloc_diag: alloc: 480 bytes (6 blocks), free: 15896 bytes (1 blocks) file_open: dev=hda1, path=/vmlinuz find_ide_controller: found PCI IDE controller 1106:0571 prog_if=0x8a find_ide_controller: primary channel: compatibility mode find_ide_controller: cmd_base=0x1f0 ctrl_base=0x3f4 ide_software_reset: Waiting for ide0 to become ready for reset... ok init_drive: Testing for hda init_drive: Probing for hda init_drive: LBA mode, sectors=250880 init_drive: Init device params... ok hda: LBA 128MB: TRANSCEND init_drive: Testing for hdb init_drive: Probing for hdb print_status: IDE: status=0x0, err=0x0 init_drive: Testing for hdb init_drive: Probing for hdb print_status: IDE: status=0x0, err=0x0 devopen: Partition 1 start 32 length 127968 Mounted fat malloc_diag: alloc: 464 bytes (5 blocks), free: 15912 bytes (1 blocks) elf_load: Not a bootable ELF image malloc_diag: alloc: 480 bytes (6 blocks), free: 15896 bytes (1 blocks) file_open: dev=hda1, path=/vmlinuz devopen: already open malloc_diag: alloc: 464 bytes (5 blocks), free: 15912 bytes (1 blocks) Found Linux version 2.4.22 (root@linux) #4 Sun Dec 18 12:25:32 CET 2005 (protocol 0x203) (loadflags 0x1) bzImage. init_linux_params: Setting up paramters at 0x90000 set_memory_size: 0000000000000be8 - 00000000000a0000 set_memory_size: 00000000000c0000 - 00000000000f0000 set_memory_size: 00000000000f0c00 - 000000000e000000 set_memory_size: ramtop=0xe000000 set_memory_size: ext_mem_k=64512, alt_mem_k=228352 parse_command_line: original command line: "initrd=/initrd.gz ramdisk_size=13000 rw root=/dev/ram0 max_loop=16 LABEL=FB video=vesa:ywrap,mtrr vga=0x314 splash=silent MEDIA=hd console=tty0 console=ttyS0,115200" parse_command_line: kernel command line at 0x91000 malloc_diag: alloc: 488 bytes (6 blocks), free: 15888 bytes (1 blocks) parse_command_line: initrd=/initrd.gz parse_command_line: kernel command line (146 bytes): "ramdisk_size=13000 rw root=/dev/ram0 max_loop=16 LABEL=FB video=vesa:ywrap,mtrr vga=0x314 splash=silent MEDIA=hd console=tty0 console=ttyS0,115200" load_linux_kernel: offset=0x1600 addr=0x100000 size=0xb8038 Loading kernel... ok file_open: dev=<NULL>, path=/initrd.gz load_initrd: start=0xdc18000 end=0xdfd96d4 Loading initrd... ok malloc_diag: alloc: 464 bytes (5 blocks), free: 15912 bytes (1 blocks) start_linux: eip=0x100000 Jumping to entry point... Linux version 2.4.22 (root@linux) (gcc version 3.3 20030226 (prerelease) (SuSE Linux)) #4 Sun Dec 18 12:25:32 CET 2005 BIOS-provided physical RAM map: BIOS-e820: 0000000000000be8 - 00000000000a0000 (usable) BIOS-e820: 0000000000100000 - 000000000e000000 (usable) 224MB LOWMEM available. hm, page 00000000 reserved twice. On node 0 totalpages: 57344 zone(0): 4096 pages. zone(1): 53248 pages. zone(2): 0 pages. DMI not present. Kernel command line: ramdisk_size=13000 rw root=/dev/ram0 max_loop=16 LABEL=FB video=vesa:ywrap,mtrr vga=0x314 splash=silent MEDIA=hd console=tty0 console=ttyS0,115200 bootsplash: silent mode. Initializing CPU#0 Detected 666.364 MHz processor. Console: colour dummy device 80x25 Calibrating delay loop... 1330.38 BogoMIPS Memory: 220908k/229376k available (977k kernel code, 8080k reserved, 271k data, 268k init, 0k highmem) Dentry cache hash table entries: 32768 (order: 6, 262144 bytes) Inode cache hash table entries: 16384 (order: 5, 131072 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer cache hash table entries: 16384 (order: 4, 65536 bytes) Page-cache hash table entries: 65536 (order: 6, 262144 bytes) CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line) CPU: L2 Cache: 64K (32 bytes/line) CPU: Centaur VIA Nehemiah stepping 08 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. Checking for popad bug... OK. POSIX conformance testing by UNIFIX mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au) mtrr: detected mtrr type: Intel PCI: Using configuration type 1 PCI: Probing PCI hardware PCI: Probing PCI hardware (bus 00) PCI: Using IRQ router default [1106/3123] at 00:00.0 isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au) devfs: boot_options: 0x1 Detected PS/2 Mouse Port. pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A Real Time Clock Driver v1.10e RAMDISK driver initialized: 16 RAM disks of 13000K size 1024 blocksize loop: loaded (max 16 devices) via-rhine.c:v1.10-LK1.1.19 July-12-2003 Written by Donald Becker http://www.scyld.com/network/via-rhine.html eth0: VIA VT6102 Rhine-II at 0x1400, 00:40:63:e1:85:a8, IRQ 5. eth0: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000. Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx VP_IDE: IDE controller at PCI slot 00:11.1 VP_IDE: chipset revision 6 VP_IDE: not 100% native mode: will probe irqs later ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci00:11.1 ide0: BM-DMA at 0x1860-0x1867, BIOS settings: hda:pio, hdb:pio ide1: BM-DMA at 0x1868-0x186f, BIOS settings: hdc:pio, hdd:pio hda: C/H/S=0/0/0 from BIOS ignored hda: TRANSCEND, CFA DISK drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hda: attached ide-disk driver. hda: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error } hda: task_no_data_intr: error=0x04 { DriveStatusError } hda: 250880 sectors (128 MB) w/2KiB Cache, CHS=980/8/32 Partition check: /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4 NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 2048 buckets, 16Kbytes TCP: Hash tables configured (established 16384 bind 32768) RAMDISK: Compressed image found at block 0 Freeing initrd memory: 3845k freed EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended VFS: Mounted root (ext2 filesystem). Mounted devfs on /dev Freeing unused kernel memory: 268k freed NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. init started: BusyBox v0.60.5 (2005.09.18-12:18+0000) multi-call binary /sbin/klogd: invalid option -- c BusyBox v0.60.5 (2005.09.18-12:18+0000) multi-call binary
Usage: klogd -n
Kernel logger. Options: -n Run as a foreground process.
/dev/shm on /tmp type tmpfs (rw) none on /proc type proc (rw) Starting devfs daemon: /sbin/devfsd /dev Started device management daemon v1.3.25 for /dev /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4 open /dev/fb0: No such file or directory /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4 /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4 open /dev/fb0: No such file or directory ln: /usr/lib//libexpat.so: File exists ln: /usr/lib//libexpat.so.0: File exists ln: /usr/lib//libexpat.so.0.4.0: File exists /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4 VFS: busy inodes on changed media. mount: /dev/discs/disc0/part1 already mounted or /mnt busy mount: according to mtab, /dev/ide/host0/bus0/target0/lun0/part1 is already mounted on /mnt [: True: unknown operand [: False: unknown operand parport0: PC-style at 0x378 (0x778), irq 7, using FIFO [PCSPP,TRISTATE,COMPAT,ECP] umount: /cdrom: _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 _XSERVTransOpen: transport open failed for inet6/(none):0 _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
XFree86 Version 4.5.0 Release Date: 16 March 2005 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.4.24 i686 [ELF] Current Operating System: Linux (none) 2.4.22 #4 Sun Dec 18 12:25:32 CET 2005 i686 Build Date: 16 March 2005 Changelog Date: 16 March 2005 Before reporting problems, check http://www.XFree86.Org/ to make sure that you have the latest version. Module Loader present Command line: X :0 Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (EE) error, (WW) warning, (II) informational, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/XFree86.0.log", Time: Sun Dec 18 12:45:26 2005 (==) Using config file: "/etc/X11/XF86Config". (EE) open /dev/fb0: No such file or directory (EE) No devices detected.
Fatal server error: no screens found
When reporting a problem related to a server crash, please send the full server output, not just the last messages. This can be found in the log file "/var/log/XFree86.0.log". Please report problems to xfree86@xfree86.org.
* Christian Sühs chris@suehsi.de [051218 13:11]:
VGA random fixup ... INSTALL REAL-MODE IDT DO THE VGA BIOS found VGA: vid=1106, did=3122 rom base, size: fffc0000 BAD SIGNATURE 0x8 0x1e biosint: # 0x10, eax 0x4f14 ebx 0x18003 ecx 0x1 edx 0x0 biosint: ebp 0x17fa8 esp 0xffa edi 0x0 esi 0xffff70b6 biosint: ip 0x8e22 cs 0x0 flags 0x46 BIOSINT: Unsupport int #0x10
Why is the via epia-m using it's own vga emulator in the src/mainboard directory? This is BAD in terms of debugging, testing and finding regressions.
The VGA bios is trying to ask the system bios for certain "extensions", the VESA OEM Extensions. i.e. http://www.ctyme.com/intr/rb-0306.htm (Matrox specific)
This needs to be implemented in LinuxBIOS.
Stefan
Stefan Reinauer schrieb:
- Christian Sühs chris@suehsi.de [051218 13:11]:
VGA random fixup ... INSTALL REAL-MODE IDT DO THE VGA BIOS found VGA: vid=1106, did=3122 rom base, size: fffc0000 BAD SIGNATURE 0x8 0x1e biosint: # 0x10, eax 0x4f14 ebx 0x18003 ecx 0x1 edx 0x0 biosint: ebp 0x17fa8 esp 0xffa edi 0x0 esi 0xffff70b6 biosint: ip 0x8e22 cs 0x0 flags 0x46 BIOSINT: Unsupport int #0x10
Why is the via epia-m using it's own vga emulator in the src/mainboard directory? This is BAD in terms of debugging, testing and finding regressions.
Hmmm, however :D
Currently, I looked in several bios.rom images on the via website. I recognized that the latest images from Epia-ML and Epia-M have the same VGABIOS Name and Size. Somewhere I have read that the latest Epia-M Bios makes trouble with LinuxBios, if you extract the VGABIOS from that file. Also their was a link to an older Bios of the Epia-M (I think it is epia-m, but I'm not sure). This bios file contains an different VGABIOS (name and size) and now I will try this VGABIOS.
Good luck ;)
But one question, should I fill the video.image to 65536 with zero?
The VGA bios is trying to ask the system bios for certain "extensions", the VESA OEM Extensions. i.e. http://www.ctyme.com/intr/rb-0306.htm (Matrox specific)
This needs to be implemented in LinuxBIOS.
Stefan
INSTALL REAL-MODE IDT DO THE VGA BIOS found VGA: vid=1106, did=3122 rom base, size: fffc0000 BAD SIGNATURE 0x8 0x1e
I missed this earlier. This indicates that the loader do_vgabios() was unable to find the bios extension signature of 0xAA55 using the base offset of 0xfffc0000. Your video bios was _NOT_ copied to ram.
biosint: # 0x10, eax 0x4f14 ebx 0x18003 ecx 0x1 edx 0x0 biosint: ebp 0x17fa8 esp 0xffa edi 0x0 esi 0xffff70b6 biosint: ip 0x8e22 cs 0x0 flags 0x46 BIOSINT: Unsupport int #0x10
This is probally the result of vga_enable_console() which is called regardless of what happens in do_vgabios() so I think its just running bogus code.
Your rom image does not have the vga bios located correctly. You must locate the video bios in your ROM image such that it will get referenced at 0xfffc0000.
For a ROM image that is 256k in size that means you need a 64k VGA bios image located at offset 0x0. The linuxbios image can then start at offset 0x10000.
If you do a 'hd' on your ROM image file the very first word you see should be 0x55aa which is the 0xaa55 rom signature in little endian.
Since the build system should have done all this for you I'm guessing that your vga bios image is not valid.
-- Richard A. Smith
* Richard Smith smithbone@gmail.com [051218 19:25]:
INSTALL REAL-MODE IDT DO THE VGA BIOS found VGA: vid=1106, did=3122 rom base, size: fffc0000 BAD SIGNATURE 0x8 0x1e
I missed this earlier. This indicates that the loader do_vgabios() was unable to find the bios extension signature of 0xAA55 using the base offset of 0xfffc0000. Your video bios was _NOT_ copied to ram.
Or it is corrupt to begin with.
Stefan
Richard Smith schrieb:
INSTALL REAL-MODE IDT DO THE VGA BIOS found VGA: vid=1106, did=3122 rom base, size: fffc0000 BAD SIGNATURE 0x8 0x1e
I missed this earlier. This indicates that the loader do_vgabios() was unable to find the bios extension signature of 0xAA55 using the base offset of 0xfffc0000. Your video bios was _NOT_ copied to ram.
biosint: # 0x10, eax 0x4f14 ebx 0x18003 ecx 0x1 edx 0x0 biosint: ebp 0x17fa8 esp 0xffa edi 0x0 esi 0xffff70b6 biosint: ip 0x8e22 cs 0x0 flags 0x46 BIOSINT: Unsupport int #0x10
This is probally the result of vga_enable_console() which is called regardless of what happens in do_vgabios() so I think its just running bogus code.
Your rom image does not have the vga bios located correctly. You must locate the video bios in your ROM image such that it will get referenced at 0xfffc0000.
Well, it could be that the dd comand to get the video.bios from original bios has had the false values for skip. The epia-ml vgabios is smaller than the epia-m vgabios and eventually located on another place in memory
However, I have tested the epia-m vgabios extracted with award bios editor from the older bios version, and the vga console comes up, if the kernel is loaded :D Unfortunatly, there is no fb0 and X fails.
Doesn't matter, I have also extracted the original vga bios from bios and will try it again.
For a ROM image that is 256k in size that means you need a 64k VGA bios image located at offset 0x0. The linuxbios image can then start at offset 0x10000.
If you do a 'hd' on your ROM image file the very first word you see should be 0x55aa which is the 0xaa55 rom signature in little endian.
I will have a look ;)
Since the build system should have done all this for you I'm guessing that your vga bios image is not valid.
Jip, i totally agree. The first vgabios i get with dd is shit :D
-- Richard A. Smith
For a ROM image that is 256k in size that means you need a 64k VGA bios image located at offset 0x0. The linuxbios image can then start at offset 0x10000.
If you do a 'hd' on your ROM image file the very first word you see should be 0x55aa which is the 0xaa55 rom signature in little endian.
I will have a look ;)
Right, the VGABIOS I have got with the dd command was not valid. It starts with another word as it should.
But, the newer right extracted ones fail on booting, too. At the moment I use the prefered one from the older Epia-M Bios and the vga comes up, if filo run.
Furthermore, there is a second problem for me. Linuxbios needs about 10 seconds to output the first messages. Stefan means, it is a hardware problem. Have somebody else this problem ??
What does Linuxbios first to initialize the Hardware? And what could take so long time? The rest of the initializing seems to be ok.
On 12/18/05, Stefan Reinauer stepan@openbios.org wrote:
biosint: # 0x10, eax 0x4f14 ebx 0x18003 ecx 0x1 edx 0x0 biosint: ebp 0x17fa8 esp 0xffa edi 0x0 esi 0xffff70b6 biosint: ip 0x8e22 cs 0x0 flags 0x46 BIOSINT: Unsupport int #0x10
Why is the via epia-m using it's own vga emulator in the src/mainboard directory? This is BAD in terms of debugging, testing and finding regressions.
It's not using an emulator. Thats fall back to 16-bit mode and running the bios.
See here:
http://www.openbios.org/pipermail/linuxbios/2005-October/012723.html
Should we file a report with the issue tracker that the emulator does not work with via video bios?
The VGA bios is trying to ask the system bios for certain "extensions", the VESA OEM Extensions. i.e. http://www.ctyme.com/intr/rb-0306.htm (Matrox specific)
This needs to be implemented in LinuxBIOS.
The Mach 64 ATI bios had some of these as well but it was just for requesting what type of LCD panel (if any) was attached.
-- Richard A. Smith
* Richard Smith smithbone@gmail.com [051218 18:30]:
It's not using an emulator. Thats fall back to 16-bit mode and running the bios.
See here:
http://www.openbios.org/pipermail/linuxbios/2005-October/012723.html
Should we file a report with the issue tracker that the emulator does not work with via video bios?
Please do. It should not be too hard to get this right..
The VGA bios is trying to ask the system bios for certain "extensions", the VESA OEM Extensions. i.e. http://www.ctyme.com/intr/rb-0306.htm (Matrox specific)
This needs to be implemented in LinuxBIOS.
The Mach 64 ATI bios had some of these as well but it was just for requesting what type of LCD panel (if any) was attached.
Hm.. if the video bios provides these, does it require to support interrupt callback installs?
Stefan
On Dec 18, 2005, at 4:11 AM, Christian Sühs wrote:
The video bios is taken from the original Bios with dd. Kernel is compiled with standard fb support. X fails, because of the non exist /dev/fb0. Furthermore, there is no detecting of the graphic hardware, if the kernel starts.
It was previously reported here that this works if you take the video bios from a 1.1.13 bios, but not if you use the newer 1.1.16 version. The older one is not it seems on VIAs site anymore, but a poster offered a link to a saved copy. -jrg