Re: [LinuxBIOS] Enabling APIC 82801xx

2007-10-01 Thread joe
Quoting Corey Osgood <[EMAIL PROTECTED]>: [EMAIL PROTECTED] wrote: Quoting ron minnich <[EMAIL PROTECTED]>: On 9/29/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: device pci 2.0 off end # VGA compatible controller: Intel Corporation 82830 CGC enabled it does not allocate the 0x00fec0

Re: [LinuxBIOS] Enabling APIC 82801xx

2007-10-01 Thread Corey Osgood
[EMAIL PROTECTED] wrote: > Quoting ron minnich <[EMAIL PROTECTED]>: > >> On 9/29/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> >> wrote: >> >>> device pci 2.0 off end # VGA compatible controller: Intel Corporation >>> 82830 CGC >>> >>> enabled it does not allocate the 0x00fec0 - 0x00fec000ff memory

Re: [LinuxBIOS] Enabling APIC 82801xx

2007-10-01 Thread joe
Quoting ron minnich <[EMAIL PROTECTED]>: > On 9/29/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >> device pci 2.0 off end # VGA compatible controller: Intel Corporation >> 82830 CGC >> >> enabled it does not allocate the 0x00fec0 - 0x00fec000ff memory >> range. Is this because the VGA co

Re: [LinuxBIOS] Enabling APIC 82801xx

2007-10-01 Thread ron minnich
On 9/29/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > device pci 2.0 off end # VGA compatible controller: Intel Corporation > 82830 CGC > > enabled it does not allocate the 0x00fec0 - 0x00fec000ff memory > range. Is this because the VGA controller prefetches memory first?? Or > is this ju

Re: [LinuxBIOS] Enabling APIC 82801xx

2007-09-29 Thread joe
Quoting Marc Jones <[EMAIL PROTECTED]>: > > > [EMAIL PROTECTED] wrote: >> Quoting [EMAIL PROTECTED]: >> >>> Quoting [EMAIL PROTECTED]: >>> OK, I have a new booting problem. LB dies on the i82801xx_enable_ioapic() function in 82801xx_lpc.c: void i82801xx_enable_ioapic(struc

Re: [LinuxBIOS] Enabling APIC 82801xx

2007-09-28 Thread Marc Jones
[EMAIL PROTECTED] wrote: > Quoting [EMAIL PROTECTED]: > >> Quoting [EMAIL PROTECTED]: >> >>> OK, I have a new booting problem. LB dies on the >>> i82801xx_enable_ioapic() function in 82801xx_lpc.c: >>> >>> >>> void i82801xx_enable_ioapic(struct device *dev) >>> { >>> uint32_t reg32; >>>

Re: [LinuxBIOS] Enabling APIC 82801xx

2007-09-28 Thread joe
Quoting [EMAIL PROTECTED]: > Quoting [EMAIL PROTECTED]: > >> OK, I have a new booting problem. LB dies on the >> i82801xx_enable_ioapic() function in 82801xx_lpc.c: >> >> >> void i82801xx_enable_ioapic(struct device *dev) >> { >> uint32_t reg32; >> volatile uint32_t *ioapic_index = (vola

Re: [LinuxBIOS] Enabling APIC 82801xx

2007-09-28 Thread Corey Osgood
[EMAIL PROTECTED] wrote: > OK, I have a new booting problem. LB dies on the > i82801xx_enable_ioapic() function in 82801xx_lpc.c: > > > void i82801xx_enable_ioapic(struct device *dev) > { > uint32_t reg32; > volatile uint32_t *ioapic_index = (volatile uint32_t *)0xfec0; > vo

Re: [LinuxBIOS] Enabling APIC 82801xx

2007-09-28 Thread joe
Quoting [EMAIL PROTECTED]: > OK, I have a new booting problem. LB dies on the > i82801xx_enable_ioapic() function in 82801xx_lpc.c: > > > void i82801xx_enable_ioapic(struct device *dev) > { > uint32_t reg32; > volatile uint32_t *ioapic_index = (volatile uint32_t *)0xfec0; > v

[LinuxBIOS] Enabling APIC 82801xx

2007-09-27 Thread joe
OK, I have a new booting problem. LB dies on the i82801xx_enable_ioapic() function in 82801xx_lpc.c: void i82801xx_enable_ioapic(struct device *dev) { uint32_t reg32; volatile uint32_t *ioapic_index = (volatile uint32_t *)0xfec0; volatile uint32_t *ioapic_data = (vol

Re: [LinuxBIOS] Enabling APIC

2007-09-23 Thread Corey Osgood
Heh, oops, forgot a couple plus signs. Need to get some sleep, sorry! -Corey Corey Osgood wrote: > Okay, on the MADT, I'm having a bit of trouble, LinuxBIOS is hanging > while creating the checksum. I've attached my acpi_tables.c (and Rudolf, > I'm sorry for not looking through yours more, I simp

Re: [LinuxBIOS] Enabling APIC

2007-09-23 Thread Corey Osgood
Okay, on the MADT, I'm having a bit of trouble, LinuxBIOS is hanging while creating the checksum. I've attached my acpi_tables.c (and Rudolf, I'm sorry for not looking through yours more, I simply overlooked the entire MADT portion of them and when they didn't build for me discarded them). To be sp

Re: [LinuxBIOS] Enabling APIC

2007-09-22 Thread Stefan Reinauer
* Corey Osgood <[EMAIL PROTECTED]> [070922 21:59]: >> Linux never knows about your APICs... > > Odd, you need a Multiple APIC Descriptor Table for a single cpu? Looking at > the spec, that seems to be the case, will get to work on it. yes, because you have two apics ;) >> have you tried booting

Re: [LinuxBIOS] Enabling APIC

2007-09-22 Thread Corey Osgood
Stefan Reinauer wrote: > * Corey Osgood <[EMAIL PROTECTED]> [070922 00:49]: > >> ACPI: Writing ACPI tables at f0400... >> ACPI: * FACS >> ACPI: * DSDT @ 000f04a2 Length 58a0 >> ACPI: * FADT >> ACPI: added table 1/6 Length now 40 >> > > You don't have a MADT? Check acpi_tables.c

Re: [LinuxBIOS] Enabling APIC

2007-09-22 Thread Stefan Reinauer
* Corey Osgood <[EMAIL PROTECTED]> [070922 00:49]: > ACPI: Writing ACPI tables at f0400... > ACPI: * FACS > ACPI: * DSDT @ 000f04a2 Length 58a0 > ACPI: * FADT > ACPI: added table 1/6 Length now 40 You don't have a MADT? Check acpi_tables.c from agami/aruma.c Linux never knows about yo

Re: [LinuxBIOS] Enabling APIC

2007-09-22 Thread Stefan Reinauer
* Corey Osgood <[EMAIL PROTECTED]> [070921 01:32]: > .ACPI Error (evevent-0314): No installed handler for fixed event > [] [20060707] > ACPI Error (evevent-0314): No installed handler for fixed event > [0002] [20060707] > ACPI Error (evevent-0314): No installed handler for fixed event >

Re: [LinuxBIOS] Enabling APIC

2007-09-22 Thread Stefan Reinauer
* Corey Osgood <[EMAIL PROTECTED]> [070920 23:51]: > What it pretty much boils down to is, what's required to set up > APIC/IOAPIC in LinuxBIOS? I've tried using both my vt8237r stuff > (originally posted here: > http://www.linuxbios.org/pipermail/linuxbios/2007-August/023553.html, > cn700 code has

Re: [LinuxBIOS] Enabling APIC

2007-09-21 Thread Rudolf Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yes. R. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG9FE83J9wPJqZRNURAgezAKCS55fayePNK6TmKo0huwuE/9P/PgCfbmJz Y9yu05csIwvEh7F+i4ACwzQ= =BZMj -END PGP SIGNAT

Re: [LinuxBIOS] Enabling APIC

2007-09-21 Thread Corey Osgood
Can you send your vt8237r.c as well? Thanks, Corey -- linuxbios mailing list linuxbios@linuxbios.org http://www.linuxbios.org/mailman/listinfo/linuxbios

Re: [LinuxBIOS] Enabling APIC

2007-09-21 Thread Corey Osgood
Okay, finally managed to get the kernel panic out to go to the serial console, and I'm not sure what's going on. This happens with the ACPI base either at 0x400 or 0x500, with either a fixed factory dsdt or Rudolf's modified, or without any ACPI at all. This kernel boots with the factory BIOS, and

Re: [LinuxBIOS] Enabling APIC

2007-09-21 Thread Rudolf Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Corey Osgood wrote: > Just realized thats where my smbus IO base is. I'll try moving things > around a bit, I don't even need smbus at the moment. > Heh, I went ahead and dumped my mptable, even though this is a single > processor system. The mptable

Re: [LinuxBIOS] Enabling APIC

2007-09-21 Thread Corey Osgood
Rudolf Marek wrote: > Thanks, I'll have a look at these tomorrow. For some reason, ACPI on my >> system doesn't work (produces the error I had before) if the base is set >> to 0x500, but it does work with 0x400 (the factory slot). Also, a quick >> > > Maybe you have something at 0x500, use the i

Re: [LinuxBIOS] Enabling APIC

2007-09-21 Thread Rudolf Marek
Thanks, I'll have a look at these tomorrow. For some reason, ACPI on my > system doesn't work (produces the error I had before) if the base is set > to 0x500, but it does work with 0x400 (the factory slot). Also, a quick > Maybe you have something at 0x500, use the isadump -f 0x500 from lm-sen

Re: [LinuxBIOS] Enabling APIC

2007-09-20 Thread Corey Osgood
Rudolf Marek wrote: > Hi again, > > I'm attaching my ACPI/IRQ related files, ACPI on my machine works (I'm > getting > power button events) and all IRQ are working too. I'm not supporting > the PIC at all. > > You need to compile the dsdt.asl with iasl -tc and then rename it from > dsdt.hex > to ds

Re: [LinuxBIOS] Enabling APIC

2007-09-20 Thread Rudolf Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Oh sorry one more table for a shiny morning ;) Rudolf -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG82qX3J9wPJqZRNURAhJJAKC22uObWW4Y2ExAaeEoujoVha+IjACgo8NC

Re: [LinuxBIOS] Enabling APIC

2007-09-20 Thread Rudolf Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi again, I'm attaching my ACPI/IRQ related files, ACPI on my machine works (I'm getting power button events) and all IRQ are working too. I'm not supporting the PIC at all. You need to compile the dsdt.asl with iasl -tc and then rename it from dsdt

Re: [LinuxBIOS] Enabling APIC

2007-09-20 Thread Corey Osgood
Rudolf Marek wrote: > > You have undefined NEED_LAPIC > > #if NEED_LAPIC == 1 > ... > #else >printk_info("Disabling local apic..."); > #endif... > > RTFS ;) > > Rudolf Yep, I suppose adding the CONFIG_IOAPIC option MIGHT help things a little bit (not sure how I missed it, checked the Optio

Re: [LinuxBIOS] Enabling APIC

2007-09-20 Thread Rudolf Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You have undefined NEED_LAPIC #if NEED_LAPIC == 1 ... #else printk_info("Disabling local apic..."); #endif... RTFS ;) Rudolf -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.

Re: [LinuxBIOS] Enabling APIC

2007-09-20 Thread Corey Osgood
Forgot the boot log, here it is. -Corey Corey Osgood wrote: > I'm lost here, with the factory BIOS IRQs are handled through IOAPIC, > but it seems that LinuxBIOS keeps disabling it. I've got both ACPI > tables and irq tables (modified to be somewhat correct), and ioapic > should be enabled throug

[LinuxBIOS] Enabling APIC

2007-09-20 Thread Corey Osgood
I'm lost here, with the factory BIOS IRQs are handled through IOAPIC, but it seems that LinuxBIOS keeps disabling it. I've got both ACPI tables and irq tables (modified to be somewhat correct), and ioapic should be enabled through the vt8237r. The ioapic base seems to be right, and so do all the re