* Dual Athlon on 2.2.19 ?
@ 2001-05-23 1:27 Prasanna P Subash
2001-05-24 12:02 ` Alan Cox
0 siblings, 1 reply; 7+ messages in thread
From: Prasanna P Subash @ 2001-05-23 1:27 UTC (permalink / raw)
To: linux-kernel
Hi all,
Is there a patch to make dual athlons work on 2.2.19 ? I know it work on
2.4.3-pre1 with AA's patch.
--
Prasanna Subash --- psubash@turbolinux.com --- TurboLinux, INC
------------------------------------------------------------------------
Linux, the choice | Doing business with the government is like
of a GNU generation -o) | fucking sheep. It's easy, but it's not
Kernel 2.4.1 /\\ | very satisfying.
on a i686 _\\_v |
|
------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: Dual Athlon on 2.2.19 ? 2001-05-23 1:27 Dual Athlon on 2.2.19 ? Prasanna P Subash @ 2001-05-24 12:02 ` Alan Cox 2001-05-24 19:30 ` Prasanna P Subash 0 siblings, 1 reply; 7+ messages in thread From: Alan Cox @ 2001-05-24 12:02 UTC (permalink / raw) To: Prasanna P Subash; +Cc: linux-kernel > Is there a patch to make dual athlons work on 2.2.19 ? I know it work on > 2.4.3-pre1 with AA's patch. 2.2.20pre1 and 2.4.current should both work ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Dual Athlon on 2.2.19 ? 2001-05-24 12:02 ` Alan Cox @ 2001-05-24 19:30 ` Prasanna P Subash 2001-05-24 19:36 ` Johannes Erdfelt 0 siblings, 1 reply; 7+ messages in thread From: Prasanna P Subash @ 2001-05-24 19:30 UTC (permalink / raw) To: Alan Cox; +Cc: linux-kernel Alan, I have a dual athlon on the 760MP chipset. 2.2.20pre1 and 2 dont work. I got it to work partly after applying Johannes Erdfel's 760MP patch in io_apic.c. Even after applying the patch, there are messages like hdc: IRQ probe failed(0) hdd: IRQ probe failed(0) hde: IRQ probe failed(0) hdc: lost interrupt hdc: lost interrupt and then the machine hangs randomly. I an guessing the io_apic does not route the interrupts correctly. On Thu, May 24, 2001 at 01:02:11PM +0100, Alan Cox wrote: > > Is there a patch to make dual athlons work on 2.2.19 ? I know it work on > > 2.4.3-pre1 with AA's patch. > > 2.2.20pre1 and 2.4.current should both work -- Prasanna Subash --- psubash@turbolinux.com --- TurboLinux, INC ------------------------------------------------------------------------ Linux, the choice | Reporter, n.: A writer who guesses his way of a GNU generation -o) | to the truth and dispels it with a tempest Kernel 2.4.1 /\\ | of words. -- Ambrose Bierce, "The Devil's on a i686 _\\_v | Dictionary" | ------------------------------------------------------------------------ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Dual Athlon on 2.2.19 ? 2001-05-24 19:30 ` Prasanna P Subash @ 2001-05-24 19:36 ` Johannes Erdfelt 2001-05-24 19:45 ` Dan Hollis 2001-05-24 21:13 ` Prasanna P Subash 0 siblings, 2 replies; 7+ messages in thread From: Johannes Erdfelt @ 2001-05-24 19:36 UTC (permalink / raw) To: Prasanna P Subash; +Cc: Alan Cox, linux-kernel On Thu, May 24, 2001, Prasanna P Subash <psubash@turbolinux.com> wrote: > I have a dual athlon on the 760MP chipset. > 2.2.20pre1 and 2 dont work. I got it to work partly after applying Johannes > Erdfel's 760MP patch in io_apic.c. Even after applying the patch, there > are messages like 2.2.20pre1 and pre2 both have the patch I created already applied. If you had to apply them yourself then something is wrong. > hdc: IRQ probe failed(0) > hdd: IRQ probe failed(0) > hde: IRQ probe failed(0) > > hdc: lost interrupt > hdc: lost interrupt > > and then the machine hangs randomly. I an guessing the io_apic does not > route the interrupts correctly. That would be the problem. Which patch of mine did you apply? Which motherboard are you doing your testing with? JE ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Dual Athlon on 2.2.19 ? 2001-05-24 19:36 ` Johannes Erdfelt @ 2001-05-24 19:45 ` Dan Hollis 2001-05-24 21:13 ` Prasanna P Subash 1 sibling, 0 replies; 7+ messages in thread From: Dan Hollis @ 2001-05-24 19:45 UTC (permalink / raw) To: Johannes Erdfelt; +Cc: Prasanna P Subash, Alan Cox, linux-kernel On Thu, 24 May 2001, Johannes Erdfelt wrote: > Which patch of mine did you apply? Which motherboard are you doing your > testing with? The dual tyan presumably. Or are there others you are aware of. -Dan ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Dual Athlon on 2.2.19 ? 2001-05-24 19:36 ` Johannes Erdfelt 2001-05-24 19:45 ` Dan Hollis @ 2001-05-24 21:13 ` Prasanna P Subash 2001-05-24 21:16 ` Johannes Erdfelt 1 sibling, 1 reply; 7+ messages in thread From: Prasanna P Subash @ 2001-05-24 21:13 UTC (permalink / raw) To: Johannes Erdfelt; +Cc: Alan Cox, linux-kernel Without the patch below the boot up would hang right after it detected the ide devices. After applying the patch it booted all the way but the keyboard would hang. BTW I'm trying to port this patch back to the 2.2.18 TL-Kernel. Are there anymore changes I have to look at ? --- arch/i386/kernel/io_apic.c.old Wed May 16 12:48:03 2001 +++ arch/i386/kernel/io_apic.c Wed May 16 12:55:30 2001 @@ -204,6 +204,8 @@ /* * We disable IO-APIC IRQs by setting their 'destination CPU mask' to * zero. Trick by Ramesh Nalluri. + * Not anymore. This causes problems on some IO-APIC's, notably AMD 760MP's + * So we do it a more 2.4 kind of way now which should be safer -jerdfelt */ DO_ACTION( mask, 0, |= 0x00010000, io_apic_sync(entry->apic))/* mask = 1 */ DO_ACTION( unmask, 0, &= 0xfffeffff, ) /* mask = 0 */ @@ -646,8 +648,8 @@ entry.delivery_mode = dest_LowestPrio; entry.dest_mode = 1; /* logical delivery */ - entry.mask = 0; /* enable IRQ */ - entry.dest.logical.logical_dest = 0xff; /* but no route */ + entry.mask = 1; /* disable IRQ */ + entry.dest.logical.logical_dest = 0xff; idx = find_irq_entry(apic,pin,mp_INT); if (idx == -1) { On Thu, May 24, 2001 at 03:36:54PM -0400, Johannes Erdfelt wrote: > On Thu, May 24, 2001, Prasanna P Subash <psubash@turbolinux.com> wrote: > > I have a dual athlon on the 760MP chipset. > > 2.2.20pre1 and 2 dont work. I got it to work partly after applying Johannes > > Erdfel's 760MP patch in io_apic.c. Even after applying the patch, there > > are messages like > > 2.2.20pre1 and pre2 both have the patch I created already applied. If > you had to apply them yourself then something is wrong. > > > hdc: IRQ probe failed(0) > > hdd: IRQ probe failed(0) > > hde: IRQ probe failed(0) > > > > hdc: lost interrupt > > hdc: lost interrupt > > > > and then the machine hangs randomly. I an guessing the io_apic does not > > route the interrupts correctly. > > That would be the problem. > > Which patch of mine did you apply? Which motherboard are you doing your > testing with? > > JE -- Prasanna Subash --- psubash@turbolinux.com --- TurboLinux, INC ------------------------------------------------------------------------ Linux, the choice | The only real advantage to punk music is of a GNU generation -o) | that nobody can whistle it. Kernel 2.4.1 /\\ | on a i686 _\\_v | | ------------------------------------------------------------------------ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Dual Athlon on 2.2.19 ? 2001-05-24 21:13 ` Prasanna P Subash @ 2001-05-24 21:16 ` Johannes Erdfelt 0 siblings, 0 replies; 7+ messages in thread From: Johannes Erdfelt @ 2001-05-24 21:16 UTC (permalink / raw) To: Prasanna P Subash; +Cc: Alan Cox, linux-kernel On Thu, May 24, 2001, Prasanna P Subash <psubash@turbolinux.com> wrote: > Without the patch below the boot up would hang right after it detected the > ide devices. > > After applying the patch it booted all the way but the keyboard would hang. > > BTW I'm trying to port this patch back to the 2.2.18 TL-Kernel. Are there > anymore changes I have to look at ? There were 2 patches. The one that went into 2.2.20-pre1 (not the patch you just sent) and the patch you just sent. You need both. JE ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2001-05-24 21:16 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2001-05-23 1:27 Dual Athlon on 2.2.19 ? Prasanna P Subash 2001-05-24 12:02 ` Alan Cox 2001-05-24 19:30 ` Prasanna P Subash 2001-05-24 19:36 ` Johannes Erdfelt 2001-05-24 19:45 ` Dan Hollis 2001-05-24 21:13 ` Prasanna P Subash 2001-05-24 21:16 ` Johannes Erdfelt
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox