In response to the instability issues I've had with LB (It's not ram -- memtest86+ ran for hours under LB with no errors), someone here suggested that there are chipset registers that are reset by the factory BIOS that LB isn't (re)setting correctly, and that LB works well right after using the factory BIOS because those registers hold their values for a while.
I'm conviced this is the case -- I have too many weird issues that can be fixed by simply flipping back to the factory BIOS, turning the system on, getting a "bad CMOS" error, then immediately powering off and switching to LB, which suddenly works again.
I'm pretty sure the DMA transfer under Linux bug (this is a chipset bug specific to some Epia models that can be fixed (in theory) with a BIOS upgrade) is exhibiting itself -- I get hard locks with the HD light on when xferring larger files. It's really easy to reproduce. I tried to lock it under the factory bios, but it wouldn't lock. After I rebooted using LB, the problem went away in LB as well. This tends to support the "chipset register remembrance" theory.
Here's the latest. The full serial caps are at the bottom, but here are the differences. I set all the kernel times to zero so that diff would work.
Differences in LB output:
Crash: Low Bond 00 High Bondc0 Setting DQS delay80vt8623 done Worked: Low Bond 00 High Bondc1 Setting DQS delay80vt8623 done
I'm no expert, but this appears to be looking for a range of usable RAM under 1M. Should the High Bond values be different, ever?
Differences in kernel output: Crash: [00000.00000] DMI 2.2 present. Worked: [00000.00000] DMI not present or invalid.
I'm not sure if this is relevant or not ...
And finally, the crash itself:
[00000.00000] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report [00000.00000] general protection fault: 3120 [#1] [00000.00000] Modules linked in: [00000.00000] CPU: 0 [00000.00000] EIP: 0060:[<c00faa2c>] Not tainted VLI [00000.00000] EFLAGS: 00010013 (2.6.16.5 #4) [00000.00000] EIP is at 0xc00faa2c [00000.00000] eax: 0000b102 ebx: c13f7400 ecx: 00003123 edx: 00001106 [00000.00000] esi: 00000000 edi: c03016cc ebp: 00000000 esp: c11fff76 [00000.00000] ds: 007b es: 007b ss: 0068 [00000.00000] Process swapper (pid: 1, threadinfo=c11fe000 task=c11fba70) [00000.00000] Stack: <0>31230000 c03016cc c00fa97c 0000b102 00001106 072c0246 0060c024 74000000 [00000.00000] 0000c13f 00000000 09fb0000 1106c024 31230000 00000000 ffba0000 ffbbc11f [00000.00000] 0000c11f ffbc0000 ffbcc11f 1274c11f 0000c036 00000000 7d150000 06fbc035 [00000.00000] Call Trace: [00000.00000] Code: cb 87 db b4 81 f9 c3 e8 aa 03 00 00 ba 50 43 49 20 66 b8 11 00 66 bb 10 02 f8 c3 57 66 51 66 56 66 83 fa ff 75 05 b4 83 f9 eb 53 <66> cb f9 c1 e7 10 66 8b fa e8 7d 03 00 00 8a d9 32 ff 32 ed 80 [00000.00000] <0>Kernel panic - not syncing: Attempted to kill init! [00000.00000]
------------------------------ Full Text, working boot: ------------------------------ 0
LinuxBIOS-1.1.8.0Fallback Thu May 4 18:03:52 PDT 2006 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 3 Cycle time at CL X (nS)50 Cycle time at CL X-0.5 (nS)60 Cycle time at CL X-1 (nS)75 Starting at CAS 3 We can do CAS 2.5 We can do CAS 2 tRP 48 tRCD 48 tRAS 28 Low Bond 00 High Bondc1 Setting DQS delay80vt8623 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 2a 42 2d 43 58 00 44 00 00 70:82 48 00 01 01 08 50 00 01 00 00 00 00 00 02 02 80:0f 65 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 00 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 Fri May 5 19:03:15 PDT 2006 booting... clocks_per_usec: 838 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 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.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 PNP: 002e.0 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.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 ERROR: PNP: 002e.0 60 io size: 0x0000000008 not assigned ERROR: PNP: 002e.0 60 irq size: 0x0000000001 not assigned ERROR: PNP: 002e.0 60 drq size: 0x0000000001 not assigned 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 resources... 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.1 - enabling PNP: 002e.2 - enabling PNP: 002e.3 - enabling PNP: 002e.b - enabling PNP: 002e.0 - 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 000107c0 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.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 673 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 write_protect_vgabios bus/devfn = 0x100 biosint: INT# 0x15 biosint: eax 0x5f00 ebx 0x18538 ecx 0x17fa8 edx 0x12 biosint: ebp 0x17f84 esp 0xff2 edi 0xed10 esi 0xffff6f55 biosint: ip 0x637f cs 0xc000 flags 0x46 biosint: INT# 0x1a biosint: eax 0xb108 ebx 0x10000 ecx 0x10000 edx 0x3d5 biosint: ebp 0x17f84 esp 0xfcc edi 0xf6 esi 0xffff55eb biosint: ip 0x40da cs 0xc000 flags 0x46 0xb108: bus 0 devfn 0x0 reg 0xf6 val 0x12 biosint: INT# 0x15 biosint: eax 0x5f0f ebx 0x18538 ecx 0x7fa8 edx 0x3d5 biosint: ebp 0x17f84 esp 0xfee edi 0x44 esi 0xffff6f55 biosint: ip 0x647e cs 0xc000 flags 0x7 biosint: INT# 0x15 biosint: eax 0x5f02 ebx 0x18538 ecx 0x7f01 edx 0x3d5 biosint: ebp 0x17f84 esp 0xfdc edi 0x44 esi 0xffff6f55 biosint: ip 0x63cb cs 0xc000 flags 0x46 biosint: INT# 0x15 biosint: eax 0x5f18 ebx 0x18501 ecx 0x7fa8 edx 0x3d5 biosint: ebp 0x17f84 esp 0xfde edi 0x44 esi 0xffff6f55 biosint: ip 0x6496 cs 0xc000 flags 0x46 biosint: INT# 0x15 biosint: eax 0x5f06 ebx 0x18001 ecx 0x1 edx 0x0 biosint: ebp 0x10fd6 esp 0xfa4 edi 0x0 esi 0xffff4672 biosint: ip 0x63dc cs 0xc000 flags 0x246 biosint: INT# 0x15 biosint: eax 0x5f08 ebx 0x10d01 ecx 0x8301 edx 0xd4 biosint: ebp 0x10fd6 esp 0xfa4 edi 0x0 esi 0xffff0d0e biosint: ip 0x63e8 cs 0xc000 flags 0x246 PNP: 002e.0 init 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 - 00000b80 checksum e5ca
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 0x204a0 offset 0xc0 filesize 0x6508 (cleaned up) New segment addr 0x100000 size 0x204a0 offset 0xc0 filesize 0x6508 New segment addr 0x1204a0 size 0x48 offset 0x65e0 filesize 0x48 (cleaned up) New segment addr 0x1204a0 size 0x48 offset 0x65e0 filesize 0x48 Dropping non PT_LOAD segment Dropping non PT_LOAD segment Loading Segment: addr: 0x0000000000100000 memsz: 0x00000000000204a0 filesz: 0x0000000000006508 Clearing Segment: addr: 0x0000000000106508 memsz: 0x0000000000019f98 Loading Segment: addr: 0x00000000001204a0 memsz: 0x0000000000000048 filesz: 0x0000000000000048 Jumping to boot code at 0x10480c FILO version 0.4.2 (root@embedded) Fri May 5 19:02:14 PDT 2006 Press <Enter> for default boot, or <Esc> for boot prompt... 1 boot: hda1:/boot/vmlinuz root=/dev/hda1 console=tty0 lpj=2136847 dhash_entries=4000 ide0=0x1f0,0x3f6,14 ide0=noprobe ide1=noprobe ide2=noprobe ide3=noprobe ide4=noprobe ide5=noprobe hda=65535,16,63 hdb=none hdc=noprobe hdd=none no_hlt console=ttyS0,115200 hda: LBA 80GB: WDC WD800JB-00FMA0 Mounted ext2fs Found Linux version 2.6.16.5 (root@ep) #4 Wed Apr 26 09:34:01 PDT 2006 bzImage. Loading kernel... ok Jumping to entry point... [00000.00000] Linux version 2.6.16.5 (root@ep) (gcc version 3.4.5 20050809 (prerelease) (Ubuntu 3.4.4-6ubuntu8.1)) #4 Wed Apr 26 09:34:01 PDT 2006 [00000.00000] BIOS-provided physical RAM map: [00000.00000] BIOS-e820: 0000000000000be0 - 00000000000a0000 (usable) [00000.00000] BIOS-e820: 0000000000100000 - 000000000e000000 (usable) [00000.00000] 0MB HIGHMEM available. [00000.00000] 224MB LOWMEM available. [00000.00000] DMI not present or invalid. [00000.00000] ACPI: PM-Timer IO Port: 0x408 [00000.00000] Allocating PCI resources starting at 10000000 (gap: 0e000000:f2000000) [00000.00000] Built 1 zonelists [00000.00000] Kernel command line: root=/dev/hda1 console=tty0 lpj=2136847 dhash_entries=4000 ide0=0x1f0,0x3f6,14 ide0=noprobe ide1=noprobe ide2=noprobe ide3=noprobe ide4=noprobe ide5=noprobe hda=65535,16,63 hdb=none hdc=noprobe hdd=none no_hlt console=ttyS0,115200 [00000.00000] ide_setup: ide0=0x1f0,0x3f6,14 [00000.00000] -- OBSOLETE OPTION, WILL BE REMOVED SOON! [00000.00000] ide_setup: ide0=noprobe [00000.00000] ide_setup: ide1=noprobe [00000.00000] ide_setup: ide2=noprobe [00000.00000] ide_setup: ide3=noprobe [00000.00000] ide_setup: ide4=noprobe [00000.00000] ide_setup: ide5=noprobe [00000.00000] ide_setup: hda=65535,16,63 [00000.00000] ide_setup: hdb=none [00000.00000] ide_setup: hdc=noprobe [00000.00000] ide_setup: hdd=none [00000.00000] No local APIC present or hardware disabled [00000.00000] Initializing CPU#0 [00000.00000] PID hash table entries: 1024 (order: 10, 16384 bytes) [00000.00000] Detected 533.151 MHz processor. [00000.00000] Using pmtmr for high-res timesource [00000.00000] Console: colour VGA+ 80x25 [00000.00000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) [00000.00000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [00000.00000] Memory: 224128k/229376k available (1666k kernel code, 4848k reserved, 622k data, 148k init, 0k highmem) [00000.00000] Checking if this processor honours the WP bit even in supervisor mode... Ok. [00000.00000] Calibrating delay loop (skipped)... 1068.42 BogoMIPS preset [00000.00000] Security Framework v1.0.0 initialized [00000.00000] SELinux: Disabled at boot. [00000.00000] Mount-cache hash table entries: 512 [00000.00000] CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line) [00000.00000] CPU: L2 Cache: 64K (32 bytes/line) [00000.00000] CPU: Centaur VIA Samuel 2 stepping 03 [00000.00000] Checking 'hlt' instruction... OK. [00000.00000] ACPI: setting ELCR to 0020 (from 0220) [00000.00000] NET: Registered protocol family 16 [00000.00000] ACPI: bus type pci registered [00000.00000] PCI: PCI BIOS revision 2.10 entry at 0xfa960, last bus=1 [00000.00000] PCI: Using configuration type 1 [00000.00000] ACPI: Subsystem revision 20060127 [00000.00000] ACPI: Interpreter enabled [00000.00000] ACPI: Using PIC for interrupt routing [00000.00000] ACPI: PCI Interrupt Link [LNKA] (IRQs *5 9 10) [00000.00000] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *9 10) [00000.00000] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 *9 10) [00000.00000] ACPI: PCI Interrupt Link [LNKD] (IRQs *5 9 10) [00000.00000] ACPI: PCI Root Bridge [PCI0] (0000:00) [00000.00000] PCI quirk: region 0400-047f claimed by vt8235 PM [00000.00000] PCI quirk: region 0f00-0f0f claimed by vt8235 SMB [00000.00000] Linux Plug and Play Support v0.97 (c) Adam Belay [00000.00000] pnp: PnP ACPI init [00000.00000] pnp: PnP ACPI: found 0 devices [00000.00000] usbcore: registered new driver usbfs [00000.00000] usbcore: registered new driver hub [00000.00000] PCI: Using ACPI for IRQ routing [00000.00000] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report [00000.00000] PCI: Bridge: 0000:00:01.0 [00000.00000] IO window: disabled. [00000.00000] MEM window: dc000000-ddffffff [00000.00000] PREFETCH window: d8000000-dbffffff [00000.00000] audit: initializing netlink socket (disabled) [00000.00000] audit(1146895449.196:1): initialized [00000.00000] VFS: Disk quotas dquot_6.5.1 [00000.00000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [00000.00000] Initializing Cryptographic API [00000.00000] io scheduler noop registered [00000.00000] io scheduler anticipatory registered (default) [00000.00000] io scheduler deadline registered [00000.00000] io scheduler cfq registered [00000.00000] PNP: No PS/2 controller found. Probing ports directly. [00000.00000] serio: i8042 AUX port at 0x60,0x64 irq 12 [00000.00000] serio: i8042 KBD port at 0x60,0x64 irq 1 [00000.00000] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled [00000.00000] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [00000.00000] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A [00000.00000] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize [00000.00000] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 [00000.00000] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx [00000.00000] VP_IDE: IDE controller at PCI slot 0000:00:11.1 [00000.00000] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 5 [00000.00000] ACPI: PCI Interrupt 0000:00:11.1[A] -> Link [LNKA] -> GSI 5 (level, low) -> IRQ 5 [00000.00000] VP_IDE: chipset revision 6 [00000.00000] VP_IDE: not 100% native mode: will probe irqs later [00000.00000] VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci0000:00:11.1 [00000.00000] ide0: BM-DMA at 0x1860-0x1867, BIOS settings: hda:pio, hdb:pio [00000.00000] ide1: BM-DMA at 0x1868-0x186f, BIOS settings: hdc:pio, hdd:pio [00000.00000] hda: WDC WD800JB-00FMA0, ATA DISK drive [00000.00000] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 [00000.00000] hda: max request size: 128KiB [00000.00000] hda: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=65535/16/63, UDMA(33) [00000.00000] hda: cache flushes supported [00000.00000] hda: hda1 hda2 < hda5 > [00000.00000] usbmon: debugfs is not available [00000.00000] NET: Registered protocol family 2 [00000.00000] IP route cache hash table entries: 2048 (order: 1, 8192 bytes) [00000.00000] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [00000.00000] TCP bind hash table entries: 8192 (order: 3, 32768 bytes) [00000.00000] TCP: Hash tables configured (established 8192 bind 8192) [00000.00000] TCP reno registered [00000.00000] TCP bic registered [00000.00000] NET: Registered protocol family 8 [00000.00000] NET: Registered protocol family 20 [00000.00000] Using IPI Shortcut mode [00000.00000] ACPI wakeup devices: [00000.00000] [00000.00000] ACPI: (supports S0 S5) [00000.00000] EXT2-fs warning (device hda1): ext2_fill_super: mounting ext3 filesystem as ext2 [00000.00000] VFS: Mounted root (ext2 filesystem) readonly. [00000.00000] Freeing unused kernel memory: 148k freed [00000.00000] input: AT Translated Set 2 keyboard as /class/input/input0 * version 2.86 booting [17179573.668000] NET: Registered protocol family 1 * Starting hardware event daemon... [ ok ] * Mounting a tmpfs over /dev... [ ok ] * Creating initial device nodes... [ ok ] * Setting disc parameters... [ ok ] [17179580.708000] Adding 746980k swap on /dev/hda5. Priority:-1 extents:1 across:746980k * Checking root file system... /: clean, 123856/9682944 files, 838361/19350284 blocks [ ok ] * Initializing modules... [ ok ] * Cleaning up ifupdown... [ ok ] * Calculating module dependencies... [ ok ] * Loading modules... [17179582.652000] parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE] [17179582.784000] parport0: irq 7 detected [17179582.904000] lp0: using parport0 (polling). [17179583.060000] mice: PS/2 mouse device common for all mice [ ok ] * Setting the system clock... [ ok ] * Setting up LVM Volume Groups... [ ok ] [ ok ] * Starting Enterprise Volume Management System... [ ok ] * Checking all file systems... [ ok ] * Mounting local filesystems... [ ok ] * Restoring resolver state... [ ok ] * Setting up networking... [ ok ] * Reading desktop files... [ ok ] * Starting hotplug subsystem...
---------------- Full Text, Crash ----------------
0
LinuxBIOS-1.1.8.0Fallback Thu May 4 18:03:52 PDT 2006 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 3 Cycle time at CL X (nS)50 Cycle time at CL X-0.5 (nS)60 Cycle time at CL X-1 (nS)75 Starting at CAS 3 We can do CAS 2.5 We can do CAS 2 tRP 48 tRCD 48 tRAS 28 Low Bond 00 High Bondc0 Setting DQS delay80vt8623 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 2a 42 2d 43 58 00 44 00 00 70:82 48 00 01 01 08 50 00 01 00 00 00 00 00 02 02 80:0f 65 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 00 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 Fri May 5 19:03:15 PDT 2006 booting... clocks_per_usec: 838 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 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.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 PNP: 002e.0 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.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 ERROR: PNP: 002e.0 60 io size: 0x0000000008 not assigned ERROR: PNP: 002e.0 60 irq size: 0x0000000001 not assigned ERROR: PNP: 002e.0 60 drq size: 0x0000000001 not assigned 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 resources... 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.1 - enabling PNP: 002e.2 - enabling PNP: 002e.3 - enabling PNP: 002e.b - enabling PNP: 002e.0 - 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 000107c0 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.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 673 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 write_protect_vgabios bus/devfn = 0x100 biosint: INT# 0x15 biosint: eax 0x5f00 ebx 0x18538 ecx 0x17fa8 edx 0x12 biosint: ebp 0x17f84 esp 0xff2 edi 0xed10 esi 0xffff6f55 biosint: ip 0x637f cs 0xc000 flags 0x46 biosint: INT# 0x1a biosint: eax 0xb108 ebx 0x10000 ecx 0x10000 edx 0x3d5 biosint: ebp 0x17f84 esp 0xfcc edi 0xf6 esi 0xffff55eb biosint: ip 0x40da cs 0xc000 flags 0x46 0xb108: bus 0 devfn 0x0 reg 0xf6 val 0x12 biosint: INT# 0x15 biosint: eax 0x5f0f ebx 0x18538 ecx 0x7fa8 edx 0x3d5 biosint: ebp 0x17f84 esp 0xfee edi 0x44 esi 0xffff6f55 biosint: ip 0x647e cs 0xc000 flags 0x7 biosint: INT# 0x15 biosint: eax 0x5f02 ebx 0x18538 ecx 0x7f01 edx 0x3d5 biosint: ebp 0x17f84 esp 0xfdc edi 0x44 esi 0xffff6f55 biosint: ip 0x63cb cs 0xc000 flags 0x46 biosint: INT# 0x15 biosint: eax 0x5f18 ebx 0x18501 ecx 0x7fa8 edx 0x3d5 biosint: ebp 0x17f84 esp 0xfde edi 0x44 esi 0xffff6f55 biosint: ip 0x6496 cs 0xc000 flags 0x46 biosint: INT# 0x15 biosint: eax 0x5f06 ebx 0x18001 ecx 0x1 edx 0x0 biosint: ebp 0x10fd6 esp 0xfa4 edi 0x0 esi 0xffff4672 biosint: ip 0x63dc cs 0xc000 flags 0x246 biosint: INT# 0x15 biosint: eax 0x5f08 ebx 0x10d01 ecx 0x8301 edx 0xd4 biosint: ebp 0x10fd6 esp 0xfa4 edi 0x0 esi 0xffff0d0e biosint: ip 0x63e8 cs 0xc000 flags 0x246 PNP: 002e.0 init 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 - 00000b80 checksum e5ca
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 0x204a0 offset 0xc0 filesize 0x6508 (cleaned up) New segment addr 0x100000 size 0x204a0 offset 0xc0 filesize 0x6508 New segment addr 0x1204a0 size 0x48 offset 0x65e0 filesize 0x48 (cleaned up) New segment addr 0x1204a0 size 0x48 offset 0x65e0 filesize 0x48 Dropping non PT_LOAD segment Dropping non PT_LOAD segment Loading Segment: addr: 0x0000000000100000 memsz: 0x00000000000204a0 filesz: 0x0000000000006508 Clearing Segment: addr: 0x0000000000106508 memsz: 0x0000000000019f98 Loading Segment: addr: 0x00000000001204a0 memsz: 0x0000000000000048 filesz: 0x0000000000000048 Jumping to boot code at 0x10480c FILO version 0.4.2 (root@embedded) Fri May 5 19:02:14 PDT 2006 Press <Enter> for default boot, or <Esc> for boot prompt... 1 boot: hda1:/boot/vmlinuz root=/dev/hda1 console=tty0 lpj=2136847 dhash_entries=4000 ide0=0x1f0,0x3f6,14 ide0=noprobe ide1=noprobe ide2=noprobe ide3=noprobe ide4=noprobe ide5=noprobe hda=65535,16,63 hdb=none hdc=noprobe hdd=none no_hlt console=ttyS0,115200 hda: LBA 80GB: WDC WD800JB-00FMA0 Mounted ext2fs Found Linux version 2.6.16.5 (root@ep) #4 Wed Apr 26 09:34:01 PDT 2006 bzImage. Loading kernel... ok Jumping to entry point... [00000.00000] Linux version 2.6.16.5 (root@ep) (gcc version 3.4.5 20050809 (prerelease) (Ubuntu 3.4.4-6ubuntu8.1)) #4 Wed Apr 26 09:34:01 PDT 2006 [00000.00000] BIOS-provided physical RAM map: [00000.00000] BIOS-e820: 0000000000000be0 - 00000000000a0000 (usable) [00000.00000] BIOS-e820: 0000000000100000 - 000000000e000000 (usable) [00000.00000] 0MB HIGHMEM available. [00000.00000] 224MB LOWMEM available. [00000.00000] DMI 2.2 present. [00000.00000] ACPI: PM-Timer IO Port: 0x408 [00000.00000] Allocating PCI resources starting at 10000000 (gap: 0e000000:f2000000) [00000.00000] Built 1 zonelists [00000.00000] Kernel command line: root=/dev/hda1 console=tty0 lpj=2136847 dhash_entries=4000 ide0=0x1f0,0x3f6,14 ide0=noprobe ide1=noprobe ide2=noprobe ide3=noprobe ide4=noprobe ide5=noprobe hda=65535,16,63 hdb=none hdc=noprobe hdd=none no_hlt console=ttyS0,115200 [00000.00000] ide_setup: ide0=0x1f0,0x3f6,14 [00000.00000] -- OBSOLETE OPTION, WILL BE REMOVED SOON! [00000.00000] ide_setup: ide0=noprobe [00000.00000] ide_setup: ide1=noprobe [00000.00000] ide_setup: ide2=noprobe [00000.00000] ide_setup: ide3=noprobe [00000.00000] ide_setup: ide4=noprobe [00000.00000] ide_setup: ide5=noprobe [00000.00000] ide_setup: hda=65535,16,63 [00000.00000] ide_setup: hdb=none [00000.00000] ide_setup: hdc=noprobe [00000.00000] ide_setup: hdd=none [00000.00000] No local APIC present or hardware disabled [00000.00000] Initializing CPU#0 [00000.00000] PID hash table entries: 1024 (order: 10, 16384 bytes) [00000.00000] Detected 533.151 MHz processor. [00000.00000] Using pmtmr for high-res timesource [00000.00000] Console: colour VGA+ 80x25 [00000.00000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) [00000.00000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [00000.00000] Memory: 224128k/229376k available (1666k kernel code, 4848k reserved, 622k data, 148k init, 0k highmem) [00000.00000] Checking if this processor honours the WP bit even in supervisor mode... Ok. [00000.00000] Calibrating delay loop (skipped)... 1068.42 BogoMIPS preset [00000.00000] Security Framework v1.0.0 initialized [00000.00000] SELinux: Disabled at boot. [00000.00000] Mount-cache hash table entries: 512 [00000.00000] CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line) [00000.00000] CPU: L2 Cache: 64K (32 bytes/line) [00000.00000] CPU: Centaur VIA Samuel 2 stepping 03 [00000.00000] Checking 'hlt' instruction... OK. [00000.00000] ACPI: setting ELCR to 0020 (from 0220) [00000.00000] NET: Registered protocol family 16 [00000.00000] ACPI: bus type pci registered [00000.00000] PCI: PCI BIOS revision 2.10 entry at 0xfa960, last bus=1 [00000.00000] PCI: Using configuration type 1 [00000.00000] ACPI: Subsystem revision 20060127 [00000.00000] ACPI: Interpreter enabled [00000.00000] ACPI: Using PIC for interrupt routing [00000.00000] ACPI: PCI Interrupt Link [LNKA] (IRQs *5 9 10) [00000.00000] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *9 10) [00000.00000] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 *9 10) [00000.00000] ACPI: PCI Interrupt Link [LNKD] (IRQs *5 9 10) [00000.00000] ACPI: PCI Root Bridge [PCI0] (0000:00) [00000.00000] PCI quirk: region 0400-047f claimed by vt8235 PM [00000.00000] PCI quirk: region 0f00-0f0f claimed by vt8235 SMB [00000.00000] Linux Plug and Play Support v0.97 (c) Adam Belay [00000.00000] pnp: PnP ACPI init [00000.00000] pnp: PnP ACPI: found 0 devices [00000.00000] usbcore: registered new driver usbfs [00000.00000] usbcore: registered new driver hub [00000.00000] PCI: Using ACPI for IRQ routing [00000.00000] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report [00000.00000] general protection fault: 3120 [#1] [00000.00000] Modules linked in: [00000.00000] CPU: 0 [00000.00000] EIP: 0060:[<c00faa2c>] Not tainted VLI [00000.00000] EFLAGS: 00010013 (2.6.16.5 #4) [00000.00000] EIP is at 0xc00faa2c [00000.00000] eax: 0000b102 ebx: c13f7400 ecx: 00003123 edx: 00001106 [00000.00000] esi: 00000000 edi: c03016cc ebp: 00000000 esp: c11fff76 [00000.00000] ds: 007b es: 007b ss: 0068 [00000.00000] Process swapper (pid: 1, threadinfo=c11fe000 task=c11fba70) [00000.00000] Stack: <0>31230000 c03016cc c00fa97c 0000b102 00001106 072c0246 0060c024 74000000 [00000.00000] 0000c13f 00000000 09fb0000 1106c024 31230000 00000000 ffba0000 ffbbc11f [00000.00000] 0000c11f ffbc0000 ffbcc11f 1274c11f 0000c036 00000000 7d150000 06fbc035 [00000.00000] Call Trace: [00000.00000] Code: cb 87 db b4 81 f9 c3 e8 aa 03 00 00 ba 50 43 49 20 66 b8 11 00 66 bb 10 02 f8 c3 57 66 51 66 56 66 83 fa ff 75 05 b4 83 f9 eb 53 <66> cb f9 c1 e7 10 66 8b fa e8 7d 03 00 00 8a d9 32 ff 32 ed 80 [00000.00000] <0>Kernel panic - not syncing: Attempted to kill init! [00000.00000]
suggested that there are chipset registers that are reset by the factory BIOS that LB isn't (re)setting correctly, and that LB works well right after using the factory BIOS because those registers hold their values for a while.
Do a 'lspci -xxx' diff on the north and southbridges beween factory and LB and investigate all the differences.
-- Richard A. Smith
Richard,
I originally posted two serial captures from a "good" lb boot, and one where it crashes. I hadn't realized it at the time, but the block of hex numbers at the top of each is a dump of the northbridge configuration space. They are identical. Going on the assumption that if the PCI configurations are the same, then the chip must be configured correctly, I must assume that the problem lies with the south bridge ... Or am I way off?
Unfortunately, LB doesn't dump the south bridge to serial -- I'm working on changing that =)
Richard Smith wrote:
suggested that there are chipset registers that are reset by the factory BIOS that LB isn't (re)setting correctly, and that LB works well right after using the factory BIOS because those registers hold their values for a while.
Do a 'lspci -xxx' diff on the north and southbridges beween factory and LB and investigate all the differences.
-- Richard A. Smith
On Sat, 6 May 2006, Eric Poulsen wrote:
In response to the instability issues I've had with LB (It's not ram -- memtest86+ ran for hours under LB with no errors), someone here suggested that there are chipset registers that are reset by the factory BIOS that LB isn't (re)setting correctly, and that LB works well right after using the factory BIOS because those registers hold their values for a while.
I'm conviced this is the case -- I have too many weird issues that can be fixed by simply flipping back to the factory BIOS, turning the system on, getting a "bad CMOS" error, then immediately powering off and switching to LB, which suddenly works again.
Check the CMOS battery voltage. If it's low the CMOS will loose a bit or two over time. Ran into that problem years ago on a 286 mb.
Russ
I measured 3.08 V, using a Fluke. Since it's a CR2032 battery, it's good to go.
Russell Whitaker wrote:
On Sat, 6 May 2006, Eric Poulsen wrote:
In response to the instability issues I've had with LB (It's not ram -- memtest86+ ran for hours under LB with no errors), someone here suggested that there are chipset registers that are reset by the factory BIOS that LB isn't (re)setting correctly, and that LB works well right after using the factory BIOS because those registers hold their values for a while.
I'm conviced this is the case -- I have too many weird issues that can be fixed by simply flipping back to the factory BIOS, turning the system on, getting a "bad CMOS" error, then immediately powering off and switching to LB, which suddenly works again.
Check the CMOS battery voltage. If it's low the CMOS will loose a bit or two over time. Ran into that problem years ago on a 286 mb.
Russ
Eric
One further observation re this locking up is that you seem to be using fast memory compared to the speed of the chipset. The debug output:
CAS Supported 2 2.5 3 Cycle time at CL X (nS)50 Cycle time at CL X-0.5 (nS)60 Cycle time at CL X-1 (nS)75 Starting at CAS 3 We can do CAS 2.5 We can do CAS 2
tells me that LB has spotted memory rated as DDR400, and is consequently trying to use it with a 'tuned' CAS setting of only 2. DDR266 usually works at CAS of 2.5 or 3. It 'MAY' be the case that working the chipset / memory interface at this 'tuned' setting is marginal - OK under memtest, but as soon as you have other bus masters trying to access the memory as well then you get problems.
You could test out this hypothesis by forcing CAS of 2.5 or 3 in the memory detection routines. Should be easy to do since the code starts out with 3 and then decides if it could do better. Simply comment out those tests.
Or try it out with DDR266.
Nick Barker
-----Original Message----- From: linuxbios-bounces@linuxbios.org [mailto:linuxbios-bounces@linuxbios.org]On Behalf Of Eric Poulsen Sent: 06 May 2006 08:11 To: linuxbios@linuxbios.org Subject: [LinuxBIOS] LB vs Factory BIOS -- more weirdness
In response to the instability issues I've had with LB (It's not ram -- memtest86+ ran for hours under LB with no errors), someone here suggested that there are chipset registers that are reset by the factory BIOS that LB isn't (re)setting correctly, and that LB works well right after using the factory BIOS because those registers hold their values for a while.
I'm conviced this is the case -- I have too many weird issues that can be fixed by simply flipping back to the factory BIOS, turning the system on, getting a "bad CMOS" error, then immediately powering off and switching to LB, which suddenly works again.
I'm pretty sure the DMA transfer under Linux bug (this is a chipset bug specific to some Epia models that can be fixed (in theory) with a BIOS upgrade) is exhibiting itself -- I get hard locks with the HD light on when xferring larger files. It's really easy to reproduce. I tried to lock it under the factory bios, but it wouldn't lock. After I rebooted using LB, the problem went away in LB as well. This tends to support the "chipset register remembrance" theory.
Here's the latest. The full serial caps are at the bottom, but here are the differences. I set all the kernel times to zero so that diff would work.
Differences in LB output:
Crash: Low Bond 00 High Bondc0 Setting DQS delay80vt8623 done Worked: Low Bond 00 High Bondc1 Setting DQS delay80vt8623 done
I'm no expert, but this appears to be looking for a range of usable RAM under 1M. Should the High Bond values be different, ever?
Differences in kernel output: Crash: [00000.00000] DMI 2.2 present. Worked: [00000.00000] DMI not present or invalid.
I'm not sure if this is relevant or not ...
And finally, the crash itself:
[00000.00000] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report [00000.00000] general protection fault: 3120 [#1] [00000.00000] Modules linked in: [00000.00000] CPU: 0 [00000.00000] EIP: 0060:[<c00faa2c>] Not tainted VLI [00000.00000] EFLAGS: 00010013 (2.6.16.5 #4) [00000.00000] EIP is at 0xc00faa2c [00000.00000] eax: 0000b102 ebx: c13f7400 ecx: 00003123 edx: 00001106 [00000.00000] esi: 00000000 edi: c03016cc ebp: 00000000 esp: c11fff76 [00000.00000] ds: 007b es: 007b ss: 0068 [00000.00000] Process swapper (pid: 1, threadinfo=c11fe000 task=c11fba70) [00000.00000] Stack: <0>31230000 c03016cc c00fa97c 0000b102 00001106 072c0246 0060c024 74000000 [00000.00000] 0000c13f 00000000 09fb0000 1106c024 31230000 00000000 ffba0000 ffbbc11f [00000.00000] 0000c11f ffbc0000 ffbcc11f 1274c11f 0000c036 00000000 7d150000 06fbc035 [00000.00000] Call Trace: [00000.00000] Code: cb 87 db b4 81 f9 c3 e8 aa 03 00 00 ba 50 43 49 20 66 b8 11 00 66 bb 10 02 f8 c3 57 66 51 66 56 66 83 fa ff 75 05 b4 83 f9 eb 53 <66> cb f9 c1 e7 10 66 8b fa e8 7d 03 00 00 8a d9 32 ff 32 ed 80 [00000.00000] <0>Kernel panic - not syncing: Attempted to kill init! [00000.00000]
------------------------------ Full Text, working boot: ------------------------------ 0
LinuxBIOS-1.1.8.0Fallback Thu May 4 18:03:52 PDT 2006 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 3 Cycle time at CL X (nS)50 Cycle time at CL X-0.5 (nS)60 Cycle time at CL X-1 (nS)75 Starting at CAS 3 We can do CAS 2.5 We can do CAS 2 tRP 48 tRCD 48 tRAS 28 Low Bond 00 High Bondc1 Setting DQS delay80vt8623 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 2a 42 2d 43 58 00 44 00 00 70:82 48 00 01 01 08 50 00 01 00 00 00 00 00 02 02 80:0f 65 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 00 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 Fri May 5 19:03:15 PDT 2006 booting... clocks_per_usec: 838 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 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.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 PNP: 002e.0 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.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 ERROR: PNP: 002e.0 60 io size: 0x0000000008 not assigned ERROR: PNP: 002e.0 60 irq size: 0x0000000001 not assigned ERROR: PNP: 002e.0 60 drq size: 0x0000000001 not assigned 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 resources... 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.1 - enabling PNP: 002e.2 - enabling PNP: 002e.3 - enabling PNP: 002e.b - enabling PNP: 002e.0 - 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 000107c0 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.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 673 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 write_protect_vgabios bus/devfn = 0x100 biosint: INT# 0x15 biosint: eax 0x5f00 ebx 0x18538 ecx 0x17fa8 edx 0x12 biosint: ebp 0x17f84 esp 0xff2 edi 0xed10 esi 0xffff6f55 biosint: ip 0x637f cs 0xc000 flags 0x46 biosint: INT# 0x1a biosint: eax 0xb108 ebx 0x10000 ecx 0x10000 edx 0x3d5 biosint: ebp 0x17f84 esp 0xfcc edi 0xf6 esi 0xffff55eb biosint: ip 0x40da cs 0xc000 flags 0x46 0xb108: bus 0 devfn 0x0 reg 0xf6 val 0x12 biosint: INT# 0x15 biosint: eax 0x5f0f ebx 0x18538 ecx 0x7fa8 edx 0x3d5 biosint: ebp 0x17f84 esp 0xfee edi 0x44 esi 0xffff6f55 biosint: ip 0x647e cs 0xc000 flags 0x7 biosint: INT# 0x15 biosint: eax 0x5f02 ebx 0x18538 ecx 0x7f01 edx 0x3d5 biosint: ebp 0x17f84 esp 0xfdc edi 0x44 esi 0xffff6f55 biosint: ip 0x63cb cs 0xc000 flags 0x46 biosint: INT# 0x15 biosint: eax 0x5f18 ebx 0x18501 ecx 0x7fa8 edx 0x3d5 biosint: ebp 0x17f84 esp 0xfde edi 0x44 esi 0xffff6f55 biosint: ip 0x6496 cs 0xc000 flags 0x46 biosint: INT# 0x15 biosint: eax 0x5f06 ebx 0x18001 ecx 0x1 edx 0x0 biosint: ebp 0x10fd6 esp 0xfa4 edi 0x0 esi 0xffff4672 biosint: ip 0x63dc cs 0xc000 flags 0x246 biosint: INT# 0x15 biosint: eax 0x5f08 ebx 0x10d01 ecx 0x8301 edx 0xd4 biosint: ebp 0x10fd6 esp 0xfa4 edi 0x0 esi 0xffff0d0e biosint: ip 0x63e8 cs 0xc000 flags 0x246 PNP: 002e.0 init 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 - 00000b80 checksum e5ca
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 0x204a0 offset 0xc0 filesize 0x6508 (cleaned up) New segment addr 0x100000 size 0x204a0 offset 0xc0 filesize 0x6508 New segment addr 0x1204a0 size 0x48 offset 0x65e0 filesize 0x48 (cleaned up) New segment addr 0x1204a0 size 0x48 offset 0x65e0 filesize 0x48 Dropping non PT_LOAD segment Dropping non PT_LOAD segment Loading Segment: addr: 0x0000000000100000 memsz: 0x00000000000204a0 filesz: 0x0000000000006508 Clearing Segment: addr: 0x0000000000106508 memsz: 0x0000000000019f98 Loading Segment: addr: 0x00000000001204a0 memsz: 0x0000000000000048 filesz: 0x0000000000000048 Jumping to boot code at 0x10480c FILO version 0.4.2 (root@embedded) Fri May 5 19:02:14 PDT 2006 Press <Enter> for default boot, or <Esc> for boot prompt... 1 boot: hda1:/boot/vmlinuz root=/dev/hda1 console=tty0 lpj=2136847 dhash_entries=4000 ide0=0x1f0,0x3f6,14 ide0=noprobe ide1=noprobe ide2=noprobe ide3=noprobe ide4=noprobe ide5=noprobe hda=65535,16,63 hdb=none hdc=noprobe hdd=none no_hlt console=ttyS0,115200 hda: LBA 80GB: WDC WD800JB-00FMA0 Mounted ext2fs Found Linux version 2.6.16.5 (root@ep) #4 Wed Apr 26 09:34:01 PDT 2006 bzImage. Loading kernel... ok Jumping to entry point... [00000.00000] Linux version 2.6.16.5 (root@ep) (gcc version 3.4.5 20050809 (prerelease) (Ubuntu 3.4.4-6ubuntu8.1)) #4 Wed Apr 26 09:34:01 PDT 2006 [00000.00000] BIOS-provided physical RAM map: [00000.00000] BIOS-e820: 0000000000000be0 - 00000000000a0000 (usable) [00000.00000] BIOS-e820: 0000000000100000 - 000000000e000000 (usable) [00000.00000] 0MB HIGHMEM available. [00000.00000] 224MB LOWMEM available. [00000.00000] DMI not present or invalid. [00000.00000] ACPI: PM-Timer IO Port: 0x408 [00000.00000] Allocating PCI resources starting at 10000000 (gap: 0e000000:f2000000) [00000.00000] Built 1 zonelists [00000.00000] Kernel command line: root=/dev/hda1 console=tty0 lpj=2136847 dhash_entries=4000 ide0=0x1f0,0x3f6,14 ide0=noprobe ide1=noprobe ide2=noprobe ide3=noprobe ide4=noprobe ide5=noprobe hda=65535,16,63 hdb=none hdc=noprobe hdd=none no_hlt console=ttyS0,115200 [00000.00000] ide_setup: ide0=0x1f0,0x3f6,14 [00000.00000] -- OBSOLETE OPTION, WILL BE REMOVED SOON! [00000.00000] ide_setup: ide0=noprobe [00000.00000] ide_setup: ide1=noprobe [00000.00000] ide_setup: ide2=noprobe [00000.00000] ide_setup: ide3=noprobe [00000.00000] ide_setup: ide4=noprobe [00000.00000] ide_setup: ide5=noprobe [00000.00000] ide_setup: hda=65535,16,63 [00000.00000] ide_setup: hdb=none [00000.00000] ide_setup: hdc=noprobe [00000.00000] ide_setup: hdd=none [00000.00000] No local APIC present or hardware disabled [00000.00000] Initializing CPU#0 [00000.00000] PID hash table entries: 1024 (order: 10, 16384 bytes) [00000.00000] Detected 533.151 MHz processor. [00000.00000] Using pmtmr for high-res timesource [00000.00000] Console: colour VGA+ 80x25 [00000.00000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) [00000.00000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [00000.00000] Memory: 224128k/229376k available (1666k kernel code, 4848k reserved, 622k data, 148k init, 0k highmem) [00000.00000] Checking if this processor honours the WP bit even in supervisor mode... Ok. [00000.00000] Calibrating delay loop (skipped)... 1068.42 BogoMIPS preset [00000.00000] Security Framework v1.0.0 initialized [00000.00000] SELinux: Disabled at boot. [00000.00000] Mount-cache hash table entries: 512 [00000.00000] CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line) [00000.00000] CPU: L2 Cache: 64K (32 bytes/line) [00000.00000] CPU: Centaur VIA Samuel 2 stepping 03 [00000.00000] Checking 'hlt' instruction... OK. [00000.00000] ACPI: setting ELCR to 0020 (from 0220) [00000.00000] NET: Registered protocol family 16 [00000.00000] ACPI: bus type pci registered [00000.00000] PCI: PCI BIOS revision 2.10 entry at 0xfa960, last bus=1 [00000.00000] PCI: Using configuration type 1 [00000.00000] ACPI: Subsystem revision 20060127 [00000.00000] ACPI: Interpreter enabled [00000.00000] ACPI: Using PIC for interrupt routing [00000.00000] ACPI: PCI Interrupt Link [LNKA] (IRQs *5 9 10) [00000.00000] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *9 10) [00000.00000] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 *9 10) [00000.00000] ACPI: PCI Interrupt Link [LNKD] (IRQs *5 9 10) [00000.00000] ACPI: PCI Root Bridge [PCI0] (0000:00) [00000.00000] PCI quirk: region 0400-047f claimed by vt8235 PM [00000.00000] PCI quirk: region 0f00-0f0f claimed by vt8235 SMB [00000.00000] Linux Plug and Play Support v0.97 (c) Adam Belay [00000.00000] pnp: PnP ACPI init [00000.00000] pnp: PnP ACPI: found 0 devices [00000.00000] usbcore: registered new driver usbfs [00000.00000] usbcore: registered new driver hub [00000.00000] PCI: Using ACPI for IRQ routing [00000.00000] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report [00000.00000] PCI: Bridge: 0000:00:01.0 [00000.00000] IO window: disabled. [00000.00000] MEM window: dc000000-ddffffff [00000.00000] PREFETCH window: d8000000-dbffffff [00000.00000] audit: initializing netlink socket (disabled) [00000.00000] audit(1146895449.196:1): initialized [00000.00000] VFS: Disk quotas dquot_6.5.1 [00000.00000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [00000.00000] Initializing Cryptographic API [00000.00000] io scheduler noop registered [00000.00000] io scheduler anticipatory registered (default) [00000.00000] io scheduler deadline registered [00000.00000] io scheduler cfq registered [00000.00000] PNP: No PS/2 controller found. Probing ports directly. [00000.00000] serio: i8042 AUX port at 0x60,0x64 irq 12 [00000.00000] serio: i8042 KBD port at 0x60,0x64 irq 1 [00000.00000] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled [00000.00000] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [00000.00000] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A [00000.00000] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize [00000.00000] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 [00000.00000] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx [00000.00000] VP_IDE: IDE controller at PCI slot 0000:00:11.1 [00000.00000] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 5 [00000.00000] ACPI: PCI Interrupt 0000:00:11.1[A] -> Link [LNKA] -> GSI 5 (level, low) -> IRQ 5 [00000.00000] VP_IDE: chipset revision 6 [00000.00000] VP_IDE: not 100% native mode: will probe irqs later [00000.00000] VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci0000:00:11.1 [00000.00000] ide0: BM-DMA at 0x1860-0x1867, BIOS settings: hda:pio, hdb:pio [00000.00000] ide1: BM-DMA at 0x1868-0x186f, BIOS settings: hdc:pio, hdd:pio [00000.00000] hda: WDC WD800JB-00FMA0, ATA DISK drive [00000.00000] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 [00000.00000] hda: max request size: 128KiB [00000.00000] hda: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=65535/16/63, UDMA(33) [00000.00000] hda: cache flushes supported [00000.00000] hda: hda1 hda2 < hda5 > [00000.00000] usbmon: debugfs is not available [00000.00000] NET: Registered protocol family 2 [00000.00000] IP route cache hash table entries: 2048 (order: 1, 8192 bytes) [00000.00000] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [00000.00000] TCP bind hash table entries: 8192 (order: 3, 32768 bytes) [00000.00000] TCP: Hash tables configured (established 8192 bind 8192) [00000.00000] TCP reno registered [00000.00000] TCP bic registered [00000.00000] NET: Registered protocol family 8 [00000.00000] NET: Registered protocol family 20 [00000.00000] Using IPI Shortcut mode [00000.00000] ACPI wakeup devices: [00000.00000] [00000.00000] ACPI: (supports S0 S5) [00000.00000] EXT2-fs warning (device hda1): ext2_fill_super: mounting ext3 filesystem as ext2 [00000.00000] VFS: Mounted root (ext2 filesystem) readonly. [00000.00000] Freeing unused kernel memory: 148k freed [00000.00000] input: AT Translated Set 2 keyboard as /class/input/input0 * version 2.86 booting [17179573.668000] NET: Registered protocol family 1 * Starting hardware event daemon... [ ok ] * Mounting a tmpfs over /dev... [ ok ] * Creating initial device nodes... [ ok ] * Setting disc parameters... [ ok ] [17179580.708000] Adding 746980k swap on /dev/hda5. Priority:-1 extents:1 across:746980k * Checking root file system... /: clean, 123856/9682944 files, 838361/19350284 blocks [ ok ] * Initializing modules... [ ok ] * Cleaning up ifupdown... [ ok ] * Calculating module dependencies... [ ok ] * Loading modules... [17179582.652000] parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE] [17179582.784000] parport0: irq 7 detected [17179582.904000] lp0: using parport0 (polling). [17179583.060000] mice: PS/2 mouse device common for all mice [ ok ] * Setting the system clock... [ ok ] * Setting up LVM Volume Groups... [ ok ] [ ok ] * Starting Enterprise Volume Management System... [ ok ] * Checking all file systems... [ ok ] * Mounting local filesystems... [ ok ] * Restoring resolver state... [ ok ] * Setting up networking... [ ok ] * Reading desktop files... [ ok ] * Starting hotplug subsystem...
---------------- Full Text, Crash ----------------
0
LinuxBIOS-1.1.8.0Fallback Thu May 4 18:03:52 PDT 2006 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 3 Cycle time at CL X (nS)50 Cycle time at CL X-0.5 (nS)60 Cycle time at CL X-1 (nS)75 Starting at CAS 3 We can do CAS 2.5 We can do CAS 2 tRP 48 tRCD 48 tRAS 28 Low Bond 00 High Bondc0 Setting DQS delay80vt8623 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 2a 42 2d 43 58 00 44 00 00 70:82 48 00 01 01 08 50 00 01 00 00 00 00 00 02 02 80:0f 65 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 00 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 Fri May 5 19:03:15 PDT 2006 booting... clocks_per_usec: 838 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 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.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 PNP: 002e.0 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.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 ERROR: PNP: 002e.0 60 io size: 0x0000000008 not assigned ERROR: PNP: 002e.0 60 irq size: 0x0000000001 not assigned ERROR: PNP: 002e.0 60 drq size: 0x0000000001 not assigned 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 resources... 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.1 - enabling PNP: 002e.2 - enabling PNP: 002e.3 - enabling PNP: 002e.b - enabling PNP: 002e.0 - 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 000107c0 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.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 673 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 write_protect_vgabios bus/devfn = 0x100 biosint: INT# 0x15 biosint: eax 0x5f00 ebx 0x18538 ecx 0x17fa8 edx 0x12 biosint: ebp 0x17f84 esp 0xff2 edi 0xed10 esi 0xffff6f55 biosint: ip 0x637f cs 0xc000 flags 0x46 biosint: INT# 0x1a biosint: eax 0xb108 ebx 0x10000 ecx 0x10000 edx 0x3d5 biosint: ebp 0x17f84 esp 0xfcc edi 0xf6 esi 0xffff55eb biosint: ip 0x40da cs 0xc000 flags 0x46 0xb108: bus 0 devfn 0x0 reg 0xf6 val 0x12 biosint: INT# 0x15 biosint: eax 0x5f0f ebx 0x18538 ecx 0x7fa8 edx 0x3d5 biosint: ebp 0x17f84 esp 0xfee edi 0x44 esi 0xffff6f55 biosint: ip 0x647e cs 0xc000 flags 0x7 biosint: INT# 0x15 biosint: eax 0x5f02 ebx 0x18538 ecx 0x7f01 edx 0x3d5 biosint: ebp 0x17f84 esp 0xfdc edi 0x44 esi 0xffff6f55 biosint: ip 0x63cb cs 0xc000 flags 0x46 biosint: INT# 0x15 biosint: eax 0x5f18 ebx 0x18501 ecx 0x7fa8 edx 0x3d5 biosint: ebp 0x17f84 esp 0xfde edi 0x44 esi 0xffff6f55 biosint: ip 0x6496 cs 0xc000 flags 0x46 biosint: INT# 0x15 biosint: eax 0x5f06 ebx 0x18001 ecx 0x1 edx 0x0 biosint: ebp 0x10fd6 esp 0xfa4 edi 0x0 esi 0xffff4672 biosint: ip 0x63dc cs 0xc000 flags 0x246 biosint: INT# 0x15 biosint: eax 0x5f08 ebx 0x10d01 ecx 0x8301 edx 0xd4 biosint: ebp 0x10fd6 esp 0xfa4 edi 0x0 esi 0xffff0d0e biosint: ip 0x63e8 cs 0xc000 flags 0x246 PNP: 002e.0 init 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 - 00000b80 checksum e5ca
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 0x204a0 offset 0xc0 filesize 0x6508 (cleaned up) New segment addr 0x100000 size 0x204a0 offset 0xc0 filesize 0x6508 New segment addr 0x1204a0 size 0x48 offset 0x65e0 filesize 0x48 (cleaned up) New segment addr 0x1204a0 size 0x48 offset 0x65e0 filesize 0x48 Dropping non PT_LOAD segment Dropping non PT_LOAD segment Loading Segment: addr: 0x0000000000100000 memsz: 0x00000000000204a0 filesz: 0x0000000000006508 Clearing Segment: addr: 0x0000000000106508 memsz: 0x0000000000019f98 Loading Segment: addr: 0x00000000001204a0 memsz: 0x0000000000000048 filesz: 0x0000000000000048 Jumping to boot code at 0x10480c FILO version 0.4.2 (root@embedded) Fri May 5 19:02:14 PDT 2006 Press <Enter> for default boot, or <Esc> for boot prompt... 1 boot: hda1:/boot/vmlinuz root=/dev/hda1 console=tty0 lpj=2136847 dhash_entries=4000 ide0=0x1f0,0x3f6,14 ide0=noprobe ide1=noprobe ide2=noprobe ide3=noprobe ide4=noprobe ide5=noprobe hda=65535,16,63 hdb=none hdc=noprobe hdd=none no_hlt console=ttyS0,115200 hda: LBA 80GB: WDC WD800JB-00FMA0 Mounted ext2fs Found Linux version 2.6.16.5 (root@ep) #4 Wed Apr 26 09:34:01 PDT 2006 bzImage. Loading kernel... ok Jumping to entry point... [00000.00000] Linux version 2.6.16.5 (root@ep) (gcc version 3.4.5 20050809 (prerelease) (Ubuntu 3.4.4-6ubuntu8.1)) #4 Wed Apr 26 09:34:01 PDT 2006 [00000.00000] BIOS-provided physical RAM map: [00000.00000] BIOS-e820: 0000000000000be0 - 00000000000a0000 (usable) [00000.00000] BIOS-e820: 0000000000100000 - 000000000e000000 (usable) [00000.00000] 0MB HIGHMEM available. [00000.00000] 224MB LOWMEM available. [00000.00000] DMI 2.2 present. [00000.00000] ACPI: PM-Timer IO Port: 0x408 [00000.00000] Allocating PCI resources starting at 10000000 (gap: 0e000000:f2000000) [00000.00000] Built 1 zonelists [00000.00000] Kernel command line: root=/dev/hda1 console=tty0 lpj=2136847 dhash_entries=4000 ide0=0x1f0,0x3f6,14 ide0=noprobe ide1=noprobe ide2=noprobe ide3=noprobe ide4=noprobe ide5=noprobe hda=65535,16,63 hdb=none hdc=noprobe hdd=none no_hlt console=ttyS0,115200 [00000.00000] ide_setup: ide0=0x1f0,0x3f6,14 [00000.00000] -- OBSOLETE OPTION, WILL BE REMOVED SOON! [00000.00000] ide_setup: ide0=noprobe [00000.00000] ide_setup: ide1=noprobe [00000.00000] ide_setup: ide2=noprobe [00000.00000] ide_setup: ide3=noprobe [00000.00000] ide_setup: ide4=noprobe [00000.00000] ide_setup: ide5=noprobe [00000.00000] ide_setup: hda=65535,16,63 [00000.00000] ide_setup: hdb=none [00000.00000] ide_setup: hdc=noprobe [00000.00000] ide_setup: hdd=none [00000.00000] No local APIC present or hardware disabled [00000.00000] Initializing CPU#0 [00000.00000] PID hash table entries: 1024 (order: 10, 16384 bytes) [00000.00000] Detected 533.151 MHz processor. [00000.00000] Using pmtmr for high-res timesource [00000.00000] Console: colour VGA+ 80x25 [00000.00000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) [00000.00000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [00000.00000] Memory: 224128k/229376k available (1666k kernel code, 4848k reserved, 622k data, 148k init, 0k highmem) [00000.00000] Checking if this processor honours the WP bit even in supervisor mode... Ok. [00000.00000] Calibrating delay loop (skipped)... 1068.42 BogoMIPS preset [00000.00000] Security Framework v1.0.0 initialized [00000.00000] SELinux: Disabled at boot. [00000.00000] Mount-cache hash table entries: 512 [00000.00000] CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line) [00000.00000] CPU: L2 Cache: 64K (32 bytes/line) [00000.00000] CPU: Centaur VIA Samuel 2 stepping 03 [00000.00000] Checking 'hlt' instruction... OK. [00000.00000] ACPI: setting ELCR to 0020 (from 0220) [00000.00000] NET: Registered protocol family 16 [00000.00000] ACPI: bus type pci registered [00000.00000] PCI: PCI BIOS revision 2.10 entry at 0xfa960, last bus=1 [00000.00000] PCI: Using configuration type 1 [00000.00000] ACPI: Subsystem revision 20060127 [00000.00000] ACPI: Interpreter enabled [00000.00000] ACPI: Using PIC for interrupt routing [00000.00000] ACPI: PCI Interrupt Link [LNKA] (IRQs *5 9 10) [00000.00000] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *9 10) [00000.00000] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 *9 10) [00000.00000] ACPI: PCI Interrupt Link [LNKD] (IRQs *5 9 10) [00000.00000] ACPI: PCI Root Bridge [PCI0] (0000:00) [00000.00000] PCI quirk: region 0400-047f claimed by vt8235 PM [00000.00000] PCI quirk: region 0f00-0f0f claimed by vt8235 SMB [00000.00000] Linux Plug and Play Support v0.97 (c) Adam Belay [00000.00000] pnp: PnP ACPI init [00000.00000] pnp: PnP ACPI: found 0 devices [00000.00000] usbcore: registered new driver usbfs [00000.00000] usbcore: registered new driver hub [00000.00000] PCI: Using ACPI for IRQ routing [00000.00000] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report [00000.00000] general protection fault: 3120 [#1] [00000.00000] Modules linked in: [00000.00000] CPU: 0 [00000.00000] EIP: 0060:[<c00faa2c>] Not tainted VLI [00000.00000] EFLAGS: 00010013 (2.6.16.5 #4) [00000.00000] EIP is at 0xc00faa2c [00000.00000] eax: 0000b102 ebx: c13f7400 ecx: 00003123 edx: 00001106 [00000.00000] esi: 00000000 edi: c03016cc ebp: 00000000 esp: c11fff76 [00000.00000] ds: 007b es: 007b ss: 0068 [00000.00000] Process swapper (pid: 1, threadinfo=c11fe000 task=c11fba70) [00000.00000] Stack: <0>31230000 c03016cc c00fa97c 0000b102 00001106 072c0246 0060c024 74000000 [00000.00000] 0000c13f 00000000 09fb0000 1106c024 31230000 00000000 ffba0000 ffbbc11f [00000.00000] 0000c11f ffbc0000 ffbcc11f 1274c11f 0000c036 00000000 7d150000 06fbc035 [00000.00000] Call Trace: [00000.00000] Code: cb 87 db b4 81 f9 c3 e8 aa 03 00 00 ba 50 43 49 20 66 b8 11 00 66 bb 10 02 f8 c3 57 66 51 66 56 66 83 fa ff 75 05 b4 83 f9 eb 53 <66> cb f9 c1 e7 10 66 8b fa e8 7d 03 00 00 8a d9 32 ff 32 ed 80 [00000.00000] <0>Kernel panic - not syncing: Attempted to kill init! [00000.00000]
-- linuxbios mailing list linuxbios@linuxbios.org http://www.openbios.org/mailman/listinfo/linuxbios
Nick,
When I bought that ram, I was looking for "low profile" ram so that everything would fit into my tiny case. That was either the only speed they had or the lowest speed ram they had in low profile. I have a lot of ram lying around -- I can try different ones.
One question -- why would this problem be 'fixed' by allowing the Factory Bios to set some registers? Or are you referring to the DMA lock issues?
Nick Barker wrote:
Eric
One further observation re this locking up is that you seem to be using fast memory compared to the speed of the chipset. The debug output:
CAS Supported 2 2.5 3 Cycle time at CL X (nS)50 Cycle time at CL X-0.5 (nS)60 Cycle time at CL X-1 (nS)75 Starting at CAS 3 We can do CAS 2.5 We can do CAS 2
tells me that LB has spotted memory rated as DDR400, and is consequently trying to use it with a 'tuned' CAS setting of only 2. DDR266 usually works at CAS of 2.5 or 3. It 'MAY' be the case that working the chipset / memory interface at this 'tuned' setting is marginal - OK under memtest, but as soon as you have other bus masters trying to access the memory as well then you get problems.
You could test out this hypothesis by forcing CAS of 2.5 or 3 in the memory detection routines. Should be easy to do since the code starts out with 3 and then decides if it could do better. Simply comment out those tests.
Or try it out with DDR266.
Nick Barker
I've dived into the northbridge/southbridge fixup code in LB, in response to Richard Smith's suggestion that I check for differences in the PCI configuration space between the Factory and LB boots. I've learned a lot about how PCI works, but I've got a long ways to go.
Here's what I've noticed:
Some of the data in 0x00 --> 0x3f is different. I'm guessing this isn't a big deal, since (in theory) the kernel knows how to deal with the "standard" PCI registers, and some of them (IRQ/IO port settings) can/will be different. Is my assumption correct?
Some of the values in the higher addresses are different. Some of the values are placed there by the PCI fixup, and many match the values found when running the factory BIOS. Oddly, some of the values placed by the fixup are different, but the 'lspci' output is the same. For example, the fixup calls:
pci_write_config32(dev, 0x88, 0x00000002);
However, the value in the configuration for lb and factory after boot is:
Factory: 80: 0f 65 00 00 80 00 00 00 _03 00 d6 0c_ 00 00 00 00 LB: 80: 0f 65 00 00 80 00 00 00 _03 00 98 0c_ 00 00 00 00
There's a 0x03 byte in location 0x88, and the upper word is NOT zeroes on either one of them. This leads me to believe that either the chip itself changed the value, or the Kernel did.
Of course, there may be other LB code sections that put more/different values into the northbridge PCI config.
Is there anyone who can give me some tips on extracting the "magic fixups" from a factory BIOS? I know that there are probably newer factory BIOSes since LB was ported to the Epia M.
Eric Poulsen wrote:
In response to the instability issues I've had with LB (It's not ram -- memtest86+ ran for hours under LB with no errors), someone here suggested that there are chipset registers that are reset by the factory BIOS that LB isn't (re)setting correctly, and that LB works well right after using the factory BIOS because those registers hold their values for a while.
I'm conviced this is the case -- I have too many weird issues that can be fixed by simply flipping back to the factory BIOS, turning the system on, getting a "bad CMOS" error, then immediately powering off and switching to LB, which suddenly works again.
I'm pretty sure the DMA transfer under Linux bug (this is a chipset bug specific to some Epia models that can be fixed (in theory) with a BIOS upgrade) is exhibiting itself -- I get hard locks with the HD light on when xferring larger files. It's really easy to reproduce. I tried to lock it under the factory bios, but it wouldn't lock. After I rebooted using LB, the problem went away in LB as well. This tends to support the "chipset register remembrance" theory.
Here's the latest. The full serial caps are at the bottom, but here are the differences. I set all the kernel times to zero so that diff would work.
Differences in LB output:
Crash: Low Bond 00 High Bondc0 Setting DQS delay80vt8623 done Worked: Low Bond 00 High Bondc1 Setting DQS delay80vt8623 done
I'm no expert, but this appears to be looking for a range of usable RAM under 1M. Should the High Bond values be different, ever?
Differences in kernel output: Crash: [00000.00000] DMI 2.2 present. Worked: [00000.00000] DMI not present or invalid.
I'm not sure if this is relevant or not ...
And finally, the crash itself:
[00000.00000] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report [00000.00000] general protection fault: 3120 [#1] [00000.00000] Modules linked in: [00000.00000] CPU: 0 [00000.00000] EIP: 0060:[<c00faa2c>] Not tainted VLI [00000.00000] EFLAGS: 00010013 (2.6.16.5 #4) [00000.00000] EIP is at 0xc00faa2c [00000.00000] eax: 0000b102 ebx: c13f7400 ecx: 00003123 edx: 00001106 [00000.00000] esi: 00000000 edi: c03016cc ebp: 00000000 esp: c11fff76 [00000.00000] ds: 007b es: 007b ss: 0068 [00000.00000] Process swapper (pid: 1, threadinfo=c11fe000 task=c11fba70) [00000.00000] Stack: <0>31230000 c03016cc c00fa97c 0000b102 00001106 072c0246 0060c024 74000000 [00000.00000] 0000c13f 00000000 09fb0000 1106c024 31230000 00000000 ffba0000 ffbbc11f [00000.00000] 0000c11f ffbc0000 ffbcc11f 1274c11f 0000c036 00000000 7d150000 06fbc035 [00000.00000] Call Trace: [00000.00000] Code: cb 87 db b4 81 f9 c3 e8 aa 03 00 00 ba 50 43 49 20 66 b8 11 00 66 bb 10 02 f8 c3 57 66 51 66 56 66 83 fa ff 75 05 b4 83 f9 eb 53 <66> cb f9 c1 e7 10 66 8b fa e8 7d 03 00 00 8a d9 32 ff 32 ed 80 [00000.00000] <0>Kernel panic - not syncing: Attempted to kill init! [00000.00000]
Eric Poulsen wrote:
I'm conviced this is the case -- I have too many weird issues that can be fixed by simply flipping back to the factory BIOS, turning the system on, getting a "bad CMOS" error, then immediately powering off and switching to LB, which suddenly works again.
You could try this: do the exact same test, but turn off the board, *disconnect the power connector*, let it sit 30 seconds, and then put in LB and see if it works or not.
I'd be interested to hear this result.
ron
I have done this -- It doesn't cause the problem. I had the machine off for two days with the PS unplugged (no aux power), and the power connected disconnected from the MLB. Booted just fine after that. I think whoever mentioned the CAS setting being too fast might be on the right track, but it's weird that the factory BIOS fixes it (for a while).
WRT DMA issue:
(I only booted using LB)
Also, last night, I _hammered_ the southbridge by copying 50M files on the HD, FTPing 50Meg files, and Copying 100M files from usb stick to HDA. I ran this for several hours. The CPU heatsink got pretty warm. No crashes. Previously, just copying from HDA to HDC would crash it, or from USB >> HDA, regularly.
So I Power down, Reboot (LB again), restarted the HDA >> HDA copy and the FTP. Froze up within 10 minutes.
I'll re-run the tests tonight using the factory BIOS -- who knows what's going to happen.
Ronald G Minnich wrote:
Eric Poulsen wrote:
I'm conviced this is the case -- I have too many weird issues that can be fixed by simply flipping back to the factory BIOS, turning the system on, getting a "bad CMOS" error, then immediately powering off and switching to LB, which suddenly works again.
You could try this: do the exact same test, but turn off the board, *disconnect the power connector*, let it sit 30 seconds, and then put in LB and see if it works or not.
I'd be interested to hear this result.
ron
Eric Poulsen wrote:
I have done this -- It doesn't cause the problem. I had the machine off for two days with the PS unplugged (no aux power), and the power connected disconnected from the MLB. Booted just fine after that. I think whoever mentioned the CAS setting being too fast might be on the right track, but it's weird that the factory BIOS fixes it (for a while).
WRT DMA issue:
(I only booted using LB)
Also, last night, I _hammered_ the southbridge by copying 50M files on the HD, FTPing 50Meg files, and Copying 100M files from usb stick to HDA. I ran this for several hours. The CPU heatsink got pretty warm. No crashes. Previously, just copying from HDA to HDC would crash it, or from USB >> HDA, regularly.
So I Power down, Reboot (LB again), restarted the HDA >> HDA copy and the FTP. Froze up within 10 minutes.
I'll re-run the tests tonight using the factory BIOS -- who knows what's going to happen.
There's a good chance that factory bios is bug-fixing another part and getting the programming via flash settings. This is commonly done in factory bioses. This is another part of our life that is made hard by proprietary bug-fix code.
ron