Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-29 Thread Ard -kwaak- van Breemen
Hello, On Fri, Dec 29, 2006 at 04:01:32PM +0100, Ard -kwaak- van Breemen wrote: > On Fri, Dec 29, 2006 at 03:10:58PM +0100, Ard -kwaak- van Breemen wrote: > > Preliminary patches: > > - pci fix of Andrews patches > The printk might be too verbose. I think removing them is ok I stick with the

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-29 Thread Ard -kwaak- van Breemen
On Fri, Dec 29, 2006 at 04:01:32PM +0100, Ard -kwaak- van Breemen wrote: > > - parse-one detection of Yanmin > It doesn't flag it. I am working on that. As said: it was doing a callback to obsolete_... This replaces the patch into not being bloated and still gives enough info. It won't check voor

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-29 Thread Ard -kwaak- van Breemen
On Fri, Dec 22, 2006 at 03:35:20PM +0100, Ard -kwaak- van Breemen wrote: > On Fri, Dec 22, 2006 at 12:30:29AM -0800, Andrew Morton wrote: > > I expect that you'll find that the ide code ends up doing > > down_write(pci_bus_sem), which will enable interrupts. > will: down_read(_bus_sem); >

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-29 Thread Ard -kwaak- van Breemen
On Fri, Dec 29, 2006 at 04:01:32PM +0100, Ard -kwaak- van Breemen wrote: > > - parse-one detection of Yanmin > It doesn't flag it. I am working on that. Since it goes to a callback to obsolete_checksetup() Argh... my calltree was a little flawed :-(... -- program signature; begin {

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-29 Thread Ard -kwaak- van Breemen
On Fri, Dec 29, 2006 at 03:10:58PM +0100, Ard -kwaak- van Breemen wrote: > Preliminary patches: > - pci fix of Andrews patches The printk might be too verbose. I think removing them is ok since the only thing that has happened is that it prevents entering the loop and the semaphores. The only

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-29 Thread Ard -kwaak- van Breemen
On Fri, Dec 29, 2006 at 02:27:59PM +0100, Ard -kwaak- van Breemen wrote: > I will clean up the patches found on this list to fix and detect this. Preliminary patches: - pci fix of Andrews patches - parse-one detection of Yanmin - start_kernel detection and workaround (disable them again) These

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-29 Thread Ard -kwaak- van Breemen
On Fri, Dec 29, 2006 at 01:51:08PM +0100, Ard -kwaak- van Breemen wrote: > I will try it on the right function, and see what we get. In function: 186 static struct pci_dev * pci_find_subsys(unsigned int vendor, 203if (unlikely(list_empty(_devices))) { 204 printk("Pci

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-29 Thread Ard -kwaak- van Breemen
Hello Andrew, On Thu, Dec 28, 2006 at 03:51:48PM -0800, Andrew Morton wrote: > Could someone please test this? Without testing I declare it won't fix it 8-D > Ard has worked out the call tree: > > init/main.c start_kernel > kernel/params.c parse_args("Booting kernel" >

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-29 Thread Stefano Takekawa
Il giorno gio, 28/12/2006 alle 15.51 -0800, Andrew Morton ha scritto: > Could someone please test this? > diff -puN drivers/pci/search.c~pci-avoid-taking-pci_bus_sem-early-in-boot > drivers/pci/search.c > --- a/drivers/pci/search.c~pci-avoid-taking-pci_bus_sem-early-in-boot > +++

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-29 Thread Stefano Takekawa
Il giorno gio, 28/12/2006 alle 15.51 -0800, Andrew Morton ha scritto: Could someone please test this? diff -puN drivers/pci/search.c~pci-avoid-taking-pci_bus_sem-early-in-boot drivers/pci/search.c --- a/drivers/pci/search.c~pci-avoid-taking-pci_bus_sem-early-in-boot +++

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-29 Thread Ard -kwaak- van Breemen
Hello Andrew, On Thu, Dec 28, 2006 at 03:51:48PM -0800, Andrew Morton wrote: Could someone please test this? Without testing I declare it won't fix it 8-D Ard has worked out the call tree: init/main.c start_kernel kernel/params.c parse_args(Booting kernel kernel/params.c

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-29 Thread Ard -kwaak- van Breemen
On Fri, Dec 29, 2006 at 01:51:08PM +0100, Ard -kwaak- van Breemen wrote: I will try it on the right function, and see what we get. In function: 186 static struct pci_dev * pci_find_subsys(unsigned int vendor, 203if (unlikely(list_empty(pci_devices))) { 204 printk(Pci

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-29 Thread Ard -kwaak- van Breemen
On Fri, Dec 29, 2006 at 02:27:59PM +0100, Ard -kwaak- van Breemen wrote: I will clean up the patches found on this list to fix and detect this. Preliminary patches: - pci fix of Andrews patches - parse-one detection of Yanmin - start_kernel detection and workaround (disable them again) These

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-29 Thread Ard -kwaak- van Breemen
On Fri, Dec 29, 2006 at 03:10:58PM +0100, Ard -kwaak- van Breemen wrote: Preliminary patches: - pci fix of Andrews patches The printk might be too verbose. I think removing them is ok since the only thing that has happened is that it prevents entering the loop and the semaphores. The only thing

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-29 Thread Ard -kwaak- van Breemen
On Fri, Dec 29, 2006 at 04:01:32PM +0100, Ard -kwaak- van Breemen wrote: - parse-one detection of Yanmin It doesn't flag it. I am working on that. Since it goes to a callback to obsolete_checksetup() Argh... my calltree was a little flawed :-(... -- program signature; begin { telegraaf.com }

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-29 Thread Ard -kwaak- van Breemen
On Fri, Dec 22, 2006 at 03:35:20PM +0100, Ard -kwaak- van Breemen wrote: On Fri, Dec 22, 2006 at 12:30:29AM -0800, Andrew Morton wrote: I expect that you'll find that the ide code ends up doing down_write(pci_bus_sem), which will enable interrupts. will: down_read(pci_bus_sem); also

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-29 Thread Ard -kwaak- van Breemen
On Fri, Dec 29, 2006 at 04:01:32PM +0100, Ard -kwaak- van Breemen wrote: - parse-one detection of Yanmin It doesn't flag it. I am working on that. As said: it was doing a callback to obsolete_... This replaces the patch into not being bloated and still gives enough info. It won't check voor

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-29 Thread Ard -kwaak- van Breemen
Hello, On Fri, Dec 29, 2006 at 04:01:32PM +0100, Ard -kwaak- van Breemen wrote: On Fri, Dec 29, 2006 at 03:10:58PM +0100, Ard -kwaak- van Breemen wrote: Preliminary patches: - pci fix of Andrews patches The printk might be too verbose. I think removing them is ok I stick with the verbose

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-28 Thread Andrew Morton
Could someone please test this? From: Andrew Morton <[EMAIL PROTECTED]> Various people have reported machines failing to boot since pci_bus_sem was switched from a spinlock to an rwsem. The reason for this is that these people had "ide=" on the kernel commandline, and ide_setup() can end up

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-28 Thread Andrew Morton
Could someone please test this? From: Andrew Morton [EMAIL PROTECTED] Various people have reported machines failing to boot since pci_bus_sem was switched from a spinlock to an rwsem. The reason for this is that these people had ide= on the kernel commandline, and ide_setup() can end up

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-22 Thread Stefano Takekawa
> I am pretty sure the i386 tree has the same problem but I haven't checked yet. > Anyway: the panic is just a way of noticing. The bug is that irq's are enabled > before the irq controller is set up. A very similar i386 linux installation works fine on my laptop, but that i386 kernel never had

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-22 Thread Andrew Morton
On Fri, 22 Dec 2006 15:16:55 +0100 Ard -kwaak- van Breemen <[EMAIL PROTECTED]> wrote: > On Fri, Dec 22, 2006 at 03:00:59PM +0100, Ard -kwaak- van Breemen wrote: > > 262 if (!irqs_disabled()) printk(__FILE__ "%s(): blaat: > > interrupts were enabled [EMAIL

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-22 Thread Ard -kwaak- van Breemen
Hello, On Thu, Dec 21, 2006 at 04:04:04PM +0800, Zhang, Yanmin wrote: > I couldn't reproduce it on my EM64T machine. I instrumented function > start_kernel and > didn't find irq was enabled before calling init_IRQ. It'll be better if the > reporter could > instrument function start_kernel to

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-22 Thread Ard -kwaak- van Breemen
On Fri, Dec 22, 2006 at 03:41:34PM +0100, Ard -kwaak- van Breemen wrote: > Repeating: I am very stupid, so I don't know if saving the irq state is ok or > not in down_read. The Andrew Morton patch but the rewritten for down_read makes the symptoms go away. The problem obviously is that the

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-22 Thread Ard -kwaak- van Breemen
On Fri, Dec 22, 2006 at 12:30:29AM -0800, Andrew Morton wrote: > To whom do I have to pay how much to get this darn patch tested? I've altered your patch to do the spin_lock_irqsave in down_read. I am very ignorant and stupid. That's why I am doing it without thinking why or why not de irqsave is

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-22 Thread Ard -kwaak- van Breemen
On Fri, Dec 22, 2006 at 12:30:29AM -0800, Andrew Morton wrote: > I expect that you'll find that the ide code ends up doing > down_write(pci_bus_sem), which will enable interrupts. will: down_read(_bus_sem); also enable interrupts? Since that is called: init/main.c start_kernel

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-22 Thread Ard -kwaak- van Breemen
On Fri, Dec 22, 2006 at 03:00:59PM +0100, Ard -kwaak- van Breemen wrote: > 262 if (!irqs_disabled()) printk(__FILE__ "%s(): blaat: > interrupts were enabled [EMAIL PROTECTED]",__FUNCTION__,__LINE__); > 263 > 264 ide_init_hwif_ports(, ide_default_io_base(index), 0, >

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-22 Thread Ard -kwaak- van Breemen
On Fri, Dec 22, 2006 at 11:30:05AM +0100, Ard -kwaak- van Breemen wrote: > Anyway: on to the ide_setup tracking > (I've noticed that the notifier of this problem als has idebus=66 > or something similar, so that explains in his case the > early call to ide_setup.) Aaarrgh... Somewhere between

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-22 Thread Stefano Takekawa
Il giorno ven, 22/12/2006 alle 01.43 -0800, Andrew Morton ha scritto: > On Fri, 22 Dec 2006 10:32:51 +0100 > Stefano Takekawa <[EMAIL PROTECTED]> wrote: > > > Applied to 2.6.19 it doesn't change anything. It still panics. > > Really? > > And you can confirm that converting pci_bus_sem back into

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-22 Thread Ard -kwaak- van Breemen
Hello, On Fri, Dec 22, 2006 at 12:30:29AM -0800, Andrew Morton wrote: > To whom do I have to pay how much to get this darn patch tested? I've already tested that (as I said somewhere in the bugzilla so it probably got lost somehow :-) ): It doesn't solve the booting problem, and I really don't

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-22 Thread Andrew Morton
On Fri, 22 Dec 2006 10:32:51 +0100 Stefano Takekawa <[EMAIL PROTECTED]> wrote: > Applied to 2.6.19 it doesn't change anything. It still panics. Really? And you can confirm that converting pci_bus_sem back into a spinlock fixes it? > How can I have something similar to a serial console on a

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-22 Thread Stefano Takekawa
Il giorno ven, 22/12/2006 alle 00.30 -0800, Andrew Morton ha scritto: > On Fri, 22 Dec 2006 09:22:48 +0100 > Ard -kwaak- van Breemen <[EMAIL PROTECTED]> wrote: > > > Hello, > > On Fri, Dec 22, 2006 at 12:41:46PM +0800, Zhang, Yanmin wrote: > > > I think parse_args enables irq when it calls

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-22 Thread Andrew Morton
On Fri, 22 Dec 2006 09:22:48 +0100 Ard -kwaak- van Breemen <[EMAIL PROTECTED]> wrote: > Hello, > On Fri, Dec 22, 2006 at 12:41:46PM +0800, Zhang, Yanmin wrote: > > I think parse_args enables irq when it calls callbacks. > > Could you try below? > > 1) Test Andrew's patch of sema down_write; > >

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-22 Thread Ard -kwaak- van Breemen
Hello, On Fri, Dec 22, 2006 at 12:41:46PM +0800, Zhang, Yanmin wrote: > I think parse_args enables irq when it calls callbacks. > Could you try below? > 1) Test Andrew's patch of sema down_write; > 2) Apply below patch and see what the output is when booting. If the output > has >

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-22 Thread Ard -kwaak- van Breemen
Hello, On Fri, Dec 22, 2006 at 12:41:46PM +0800, Zhang, Yanmin wrote: I think parse_args enables irq when it calls callbacks. Could you try below? 1) Test Andrew's patch of sema down_write; 2) Apply below patch and see what the output is when booting. If the output has [BUG]..address., Pls.

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-22 Thread Andrew Morton
On Fri, 22 Dec 2006 09:22:48 +0100 Ard -kwaak- van Breemen [EMAIL PROTECTED] wrote: Hello, On Fri, Dec 22, 2006 at 12:41:46PM +0800, Zhang, Yanmin wrote: I think parse_args enables irq when it calls callbacks. Could you try below? 1) Test Andrew's patch of sema down_write; 2) Apply

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-22 Thread Stefano Takekawa
Il giorno ven, 22/12/2006 alle 00.30 -0800, Andrew Morton ha scritto: On Fri, 22 Dec 2006 09:22:48 +0100 Ard -kwaak- van Breemen [EMAIL PROTECTED] wrote: Hello, On Fri, Dec 22, 2006 at 12:41:46PM +0800, Zhang, Yanmin wrote: I think parse_args enables irq when it calls callbacks.

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-22 Thread Andrew Morton
On Fri, 22 Dec 2006 10:32:51 +0100 Stefano Takekawa [EMAIL PROTECTED] wrote: Applied to 2.6.19 it doesn't change anything. It still panics. Really? And you can confirm that converting pci_bus_sem back into a spinlock fixes it? How can I have something similar to a serial console on a laptop

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-22 Thread Ard -kwaak- van Breemen
Hello, On Fri, Dec 22, 2006 at 12:30:29AM -0800, Andrew Morton wrote: To whom do I have to pay how much to get this darn patch tested? I've already tested that (as I said somewhere in the bugzilla so it probably got lost somehow :-) ): It doesn't solve the booting problem, and I really don't have

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-22 Thread Stefano Takekawa
Il giorno ven, 22/12/2006 alle 01.43 -0800, Andrew Morton ha scritto: On Fri, 22 Dec 2006 10:32:51 +0100 Stefano Takekawa [EMAIL PROTECTED] wrote: Applied to 2.6.19 it doesn't change anything. It still panics. Really? And you can confirm that converting pci_bus_sem back into a spinlock

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-22 Thread Ard -kwaak- van Breemen
On Fri, Dec 22, 2006 at 11:30:05AM +0100, Ard -kwaak- van Breemen wrote: Anyway: on to the ide_setup tracking (I've noticed that the notifier of this problem als has idebus=66 or something similar, so that explains in his case the early call to ide_setup.) Aaarrgh... Somewhere between the

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-22 Thread Ard -kwaak- van Breemen
On Fri, Dec 22, 2006 at 03:00:59PM +0100, Ard -kwaak- van Breemen wrote: 262 if (!irqs_disabled()) printk(__FILE__ %s(): blaat: interrupts were enabled [EMAIL PROTECTED],__FUNCTION__,__LINE__); 263 264 ide_init_hwif_ports(hw, ide_default_io_base(index), 0,

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-22 Thread Ard -kwaak- van Breemen
On Fri, Dec 22, 2006 at 12:30:29AM -0800, Andrew Morton wrote: I expect that you'll find that the ide code ends up doing down_write(pci_bus_sem), which will enable interrupts. will: down_read(pci_bus_sem); also enable interrupts? Since that is called: init/main.c start_kernel

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-22 Thread Ard -kwaak- van Breemen
On Fri, Dec 22, 2006 at 12:30:29AM -0800, Andrew Morton wrote: To whom do I have to pay how much to get this darn patch tested? I've altered your patch to do the spin_lock_irqsave in down_read. I am very ignorant and stupid. That's why I am doing it without thinking why or why not de irqsave is

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-22 Thread Ard -kwaak- van Breemen
On Fri, Dec 22, 2006 at 03:41:34PM +0100, Ard -kwaak- van Breemen wrote: Repeating: I am very stupid, so I don't know if saving the irq state is ok or not in down_read. The Andrew Morton patch but the rewritten for down_read makes the symptoms go away. The problem obviously is that the

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-22 Thread Ard -kwaak- van Breemen
Hello, On Thu, Dec 21, 2006 at 04:04:04PM +0800, Zhang, Yanmin wrote: I couldn't reproduce it on my EM64T machine. I instrumented function start_kernel and didn't find irq was enabled before calling init_IRQ. It'll be better if the reporter could instrument function start_kernel to capture

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-22 Thread Andrew Morton
On Fri, 22 Dec 2006 15:16:55 +0100 Ard -kwaak- van Breemen [EMAIL PROTECTED] wrote: On Fri, Dec 22, 2006 at 03:00:59PM +0100, Ard -kwaak- van Breemen wrote: 262 if (!irqs_disabled()) printk(__FILE__ %s(): blaat: interrupts were enabled [EMAIL PROTECTED],__FUNCTION__,__LINE__);

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-22 Thread Stefano Takekawa
I am pretty sure the i386 tree has the same problem but I haven't checked yet. Anyway: the panic is just a way of noticing. The bug is that irq's are enabled before the irq controller is set up. A very similar i386 linux installation works fine on my laptop, but that i386 kernel never had

RE: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-21 Thread Zhang, Yanmin
IL PROTECTED]; Eric W. Biederman >>Subject: Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine >> >>On Thu, Dec 21, 2006 at 04:04:04PM +0800, Zhang, Yanmin wrote: >>> I couldn't reproduce it on my EM64T machine. I instrumented function >>> start_kerne

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-21 Thread Ard -kwaak- van Breemen
On Thu, Dec 21, 2006 at 04:04:04PM +0800, Zhang, Yanmin wrote: > I couldn't reproduce it on my EM64T machine. I instrumented function > start_kernel and > didn't find irq was enabled before calling init_IRQ. It'll be better if the > reporter could > instrument function start_kernel to capture

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-21 Thread Ard -kwaak- van Breemen
Hello, On Thu, Dec 21, 2006 at 04:04:04PM +0800, Zhang, Yanmin wrote: > I couldn't reproduce it on my EM64T machine. I instrumented function > start_kernel and > didn't find irq was enabled before calling init_IRQ. It'll be better if the > reporter could > instrument function start_kernel to

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-21 Thread Andrew Morton
On Thu, 21 Dec 2006 20:52:40 +0100 Ard -kwaak- van Breemen <[EMAIL PROTECTED]> wrote: > Hello, > > On Thu, Dec 21, 2006 at 04:04:04PM +0800, Zhang, Yanmin wrote: > > I couldn't reproduce it on my EM64T machine. I instrumented function > > start_kernel and > > didn't find irq was enabled before

RE: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-21 Thread Zhang, Yanmin
W. Biederman; Zhang, Yanmin >>Subject: Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine >> >>On Wed, 20 Dec 2006 04:59:19 -0500 >>Chuck Ebbert <[EMAIL PROTECTED]> wrote: >> >>> > On 12/19/06, Chuck Ebbert <[EMAIL PROTECTED]> wrote: >

RE: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-21 Thread Zhang, Yanmin
] Linux-2.6.18 fails to boot on AMD64 machine On Wed, 20 Dec 2006 04:59:19 -0500 Chuck Ebbert [EMAIL PROTECTED] wrote: On 12/19/06, Chuck Ebbert [EMAIL PROTECTED] wrote: So an external interrupt occurred, the system tried to use interrupt descriptor #39 decimal (irq 7), but the descriptor

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-21 Thread Andrew Morton
On Thu, 21 Dec 2006 20:52:40 +0100 Ard -kwaak- van Breemen [EMAIL PROTECTED] wrote: Hello, On Thu, Dec 21, 2006 at 04:04:04PM +0800, Zhang, Yanmin wrote: I couldn't reproduce it on my EM64T machine. I instrumented function start_kernel and didn't find irq was enabled before calling

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-21 Thread Ard -kwaak- van Breemen
Hello, On Thu, Dec 21, 2006 at 04:04:04PM +0800, Zhang, Yanmin wrote: I couldn't reproduce it on my EM64T machine. I instrumented function start_kernel and didn't find irq was enabled before calling init_IRQ. It'll be better if the reporter could instrument function start_kernel to capture

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-21 Thread Ard -kwaak- van Breemen
On Thu, Dec 21, 2006 at 04:04:04PM +0800, Zhang, Yanmin wrote: I couldn't reproduce it on my EM64T machine. I instrumented function start_kernel and didn't find irq was enabled before calling init_IRQ. It'll be better if the reporter could instrument function start_kernel to capture which

RE: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-21 Thread Zhang, Yanmin
] Linux-2.6.18 fails to boot on AMD64 machine On Thu, Dec 21, 2006 at 04:04:04PM +0800, Zhang, Yanmin wrote: I couldn't reproduce it on my EM64T machine. I instrumented function start_kernel and didn't find irq was enabled before calling init_IRQ. It'll be better if the reporter could

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-20 Thread Arjan van de Ven
On Wed, 2006-12-20 at 02:37 -0800, Andrew Morton wrote: > On Wed, 20 Dec 2006 04:59:19 -0500 > Chuck Ebbert <[EMAIL PROTECTED]> wrote: > > > > On 12/19/06, Chuck Ebbert <[EMAIL PROTECTED]> wrote: > > > > So an external interrupt occurred, the system tried to use interrupt > > > > descriptor #39

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-20 Thread Andrew Morton
On Wed, 20 Dec 2006 04:59:19 -0500 Chuck Ebbert <[EMAIL PROTECTED]> wrote: > > On 12/19/06, Chuck Ebbert <[EMAIL PROTECTED]> wrote: > > > So an external interrupt occurred, the system tried to use interrupt > > > descriptor #39 decimal (irq 7), but the descriptor was invalid. > > > > but the irq

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-20 Thread Yinghai Lu
On 12/20/06, Chuck Ebbert <[EMAIL PROTECTED]> wrote: But it seems interrupts are on--look at the flags: RSP: 0018:803cdf68 EFLAGS: 00010246 Yes, the IF bit is set. maybe someone (reporters) could add !irq_disabled() and printk in start_kernel init/main.c to see which

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-20 Thread Chuck Ebbert
> On 12/19/06, Chuck Ebbert <[EMAIL PROTECTED]> wrote: > > So an external interrupt occurred, the system tried to use interrupt > > descriptor #39 decimal (irq 7), but the descriptor was invalid. > > but the irq is disabled at that time. > > can you use attached diff to verify if the irq is

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-20 Thread Yinghai Lu
On 12/19/06, Chuck Ebbert <[EMAIL PROTECTED]> wrote: So an external interrupt occurred, the system tried to use interrupt descriptor #39 decimal (irq 7), but the descriptor was invalid. but the irq is disabled at that time. can you use attached diff to verify if the irq is enable somehow? YH

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-20 Thread Yinghai Lu
On 12/19/06, Chuck Ebbert [EMAIL PROTECTED] wrote: So an external interrupt occurred, the system tried to use interrupt descriptor #39 decimal (irq 7), but the descriptor was invalid. but the irq is disabled at that time. can you use attached diff to verify if the irq is enable somehow? YH

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-20 Thread Chuck Ebbert
On 12/19/06, Chuck Ebbert [EMAIL PROTECTED] wrote: So an external interrupt occurred, the system tried to use interrupt descriptor #39 decimal (irq 7), but the descriptor was invalid. but the irq is disabled at that time. can you use attached diff to verify if the irq is enable somehow?

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-20 Thread Yinghai Lu
On 12/20/06, Chuck Ebbert [EMAIL PROTECTED] wrote: But it seems interrupts are on--look at the flags: RSP: 0018:803cdf68 EFLAGS: 00010246 Yes, the IF bit is set. maybe someone (reporters) could add !irq_disabled() and printk in start_kernel init/main.c to see which function

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-20 Thread Andrew Morton
On Wed, 20 Dec 2006 04:59:19 -0500 Chuck Ebbert [EMAIL PROTECTED] wrote: On 12/19/06, Chuck Ebbert [EMAIL PROTECTED] wrote: So an external interrupt occurred, the system tried to use interrupt descriptor #39 decimal (irq 7), but the descriptor was invalid. but the irq is disabled at

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-20 Thread Arjan van de Ven
On Wed, 2006-12-20 at 02:37 -0800, Andrew Morton wrote: On Wed, 20 Dec 2006 04:59:19 -0500 Chuck Ebbert [EMAIL PROTECTED] wrote: On 12/19/06, Chuck Ebbert [EMAIL PROTECTED] wrote: So an external interrupt occurred, the system tried to use interrupt descriptor #39 decimal (irq 7),

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-19 Thread Chuck Ebbert
In-Reply-To: <[EMAIL PROTECTED]> On Tue, 19 Dec 2006 17:29:00 -0800, Andrew Morton wrote: > Quoting the bug report: > general protection fault: 013b [1] PREEMPT That '013b' is critical information. Bit 0: 1: exception source is external to the processor Bit 1: 1: there is a problem with an

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-19 Thread Andrew Morton
On Mon, 18 Dec 2006 09:48:01 -0700 [EMAIL PROTECTED] (Eric W. Biederman) wrote: > [EMAIL PROTECTED] writes: > > > http://bugzilla.kernel.org/show_bug.cgi?id=7505 > > > > --- Additional Comments From [EMAIL PROTECTED] 2006-12-18 07:39 --- > > OK, fixed. > > > Greg. > > It appears

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-19 Thread Andrew Morton
On Mon, 18 Dec 2006 09:48:01 -0700 [EMAIL PROTECTED] (Eric W. Biederman) wrote: [EMAIL PROTECTED] writes: http://bugzilla.kernel.org/show_bug.cgi?id=7505 --- Additional Comments From [EMAIL PROTECTED] 2006-12-18 07:39 --- OK, fixed. Greg. It appears commit

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-19 Thread Chuck Ebbert
In-Reply-To: [EMAIL PROTECTED] On Tue, 19 Dec 2006 17:29:00 -0800, Andrew Morton wrote: Quoting the bug report: general protection fault: 013b [1] PREEMPT That '013b' is critical information. Bit 0: 1: exception source is external to the processor Bit 1: 1: there is a problem with an

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-18 Thread Eric W. Biederman
[EMAIL PROTECTED] writes: > http://bugzilla.kernel.org/show_bug.cgi?id=7505 > > --- Additional Comments From [EMAIL PROTECTED] 2006-12-18 07:39 --- > OK, fixed. Greg. It appears commit d71374dafbba7ec3f67371d3b7e9f6310a588808 which replaced the pci bus spinlock with a semaphore causes

Re: [Bug 7505] Linux-2.6.18 fails to boot on AMD64 machine

2006-12-18 Thread Eric W. Biederman
[EMAIL PROTECTED] writes: http://bugzilla.kernel.org/show_bug.cgi?id=7505 --- Additional Comments From [EMAIL PROTECTED] 2006-12-18 07:39 --- OK, fixed. Greg. It appears commit d71374dafbba7ec3f67371d3b7e9f6310a588808 which replaced the pci bus spinlock with a semaphore causes