Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared
Paul Rolland wrote: >> Can you change driver load order such that the driver for the modem is >> loaded first? > > As I said, it's not possible, because : > - the modem driver is an out-kernel one, so I have to wait the end of the >boot process so that it can be loaded, > - libata on IRQ23 is the one taking care of my disks, and I suspect it >quite hard to install a modem driver before having the disk driver >installed. You can do both by... 1. Build the modem driver into the kernel. char drivers are linked in before ATA ones, so it will attach first. 2. Using a custom initrd with emergency shell. initrd is loaded by BIOS so no driver is involved. I don't actually know how to do this tho. 3. Put in an extra disk controller and boot from it with both drivers compiled as module. -- tejun - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared
Hi, On Fri, 28 Sep 2007 08:27:58 +1000 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > This is an Asus P5W-DH Deluxe motherboard, with a Core2 6400 CPU, > > a bunch of disk (2 IDE, 3 SATA, 1 CDRW and 1 DVDRW-DL), and a damned > > Olitec PCI V92 V2 modem. > > What chipset ? 965gm ? 975x Paul -- Paul RollandE-Mail : rol(at)witbe.net Witbe.net SATel. +33 (0)1 47 67 77 77 Les Collines de l'Arche Fax. +33 (0)1 47 67 77 99 F-92057 Paris La DefenseRIPE : PR12-RIPE Please no HTML, I'm not a browser - Pas d'HTML, je ne suis pas un navigateur "Some people dream of success... while others wake up and work hard at it" "I worry about my child and the Internet all the time, even though she's too young to have logged on yet. Here's what I worry about. I worry that 10 or 15 years from now, she will come to me and say 'Daddy, where were you when they took freedom of the press away from the Internet?'" --Mike Godwin, Electronic Frontier Foundation - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared
Hi, On Fri, 28 Sep 2007 08:27:58 +1000 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: This is an Asus P5W-DH Deluxe motherboard, with a Core2 6400 CPU, a bunch of disk (2 IDE, 3 SATA, 1 CDRW and 1 DVDRW-DL), and a damned Olitec PCI V92 V2 modem. What chipset ? 965gm ? 975x Paul -- Paul RollandE-Mail : rol(at)witbe.net Witbe.net SATel. +33 (0)1 47 67 77 77 Les Collines de l'Arche Fax. +33 (0)1 47 67 77 99 F-92057 Paris La DefenseRIPE : PR12-RIPE Please no HTML, I'm not a browser - Pas d'HTML, je ne suis pas un navigateur Some people dream of success... while others wake up and work hard at it I worry about my child and the Internet all the time, even though she's too young to have logged on yet. Here's what I worry about. I worry that 10 or 15 years from now, she will come to me and say 'Daddy, where were you when they took freedom of the press away from the Internet?' --Mike Godwin, Electronic Frontier Foundation - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared
Paul Rolland wrote: Can you change driver load order such that the driver for the modem is loaded first? As I said, it's not possible, because : - the modem driver is an out-kernel one, so I have to wait the end of the boot process so that it can be loaded, - libata on IRQ23 is the one taking care of my disks, and I suspect it quite hard to install a modem driver before having the disk driver installed. You can do both by... 1. Build the modem driver into the kernel. char drivers are linked in before ATA ones, so it will attach first. 2. Using a custom initrd with emergency shell. initrd is loaded by BIOS so no driver is involved. I don't actually know how to do this tho. 3. Put in an extra disk controller and boot from it with both drivers compiled as module. -- tejun - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared
On Thu, 2007-09-27 at 10:05 +, Paul Rolland wrote: > Hello, > > On Thu, 27 Sep 2007 19:04:11 +1000 > Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > > Let me guess... this is a T61 or X61 ? > Bad luck ;) > > This is an Asus P5W-DH Deluxe motherboard, with a Core2 6400 CPU, > a bunch of disk (2 IDE, 3 SATA, 1 CDRW and 1 DVDRW-DL), and a damned > Olitec PCI V92 V2 modem. What chipset ? 965gm ? Ben. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared
Hello, On Thu, 27 Sep 2007 19:04:11 +1000 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > Let me guess... this is a T61 or X61 ? Bad luck ;) This is an Asus P5W-DH Deluxe motherboard, with a Core2 6400 CPU, a bunch of disk (2 IDE, 3 SATA, 1 CDRW and 1 DVDRW-DL), and a damned Olitec PCI V92 V2 modem. Paul - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared
Let me guess... this is a T61 or X61 ? There's a problem with these that we don't fully understand yet, we're getting those stale interrupts all over the range. I wonder if it could be a bug with the ICH8 chipset... If yours is one of these, it's being dealt with (or attempted to deal with) at http://bugzilla.kernel.org/show_bug.cgi?id=8853 Ben. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared
Hi Tejun, On Thu, 27 Sep 2007 09:55:22 +0900 Tejun Heo <[EMAIL PROTECTED]> wrote: > Paul Rolland wrote: > > Hi David, > > > > On Mon, 24 Sep 2007 23:56:59 +0930 > > David Newall <[EMAIL PROTECTED]> wrote: > > > >> Paul Rolland "(???) wrote: > >>> Hell, IRQ 23 is shared between libata and my modem !!! > >>> > >> Tried using the modem? > > > Can you change driver load order such that the driver for the modem is > loaded first? As I said, it's not possible, because : - the modem driver is an out-kernel one, so I have to wait the end of the boot process so that it can be loaded, - libata on IRQ23 is the one taking care of my disks, and I suspect it quite hard to install a modem driver before having the disk driver installed. I was thinking of delaying the disabling of the IRQ, which is basically the other part of the problem (the first part being that spurious IRQ from the modem). If it is possible to do that long enough for the modem driver to be loaded, then the "IRQ xx : nobody cared" becomes an informational message during the boot process, and then it vanishes, leaving a perfectly working machine. I suspect something in note_interrupt that would do (totally untested, just thinking loudly) : /* Allow some delay to complete boot process before * killing an IRQ. This allow some modules to be * loaded before we decide the IRQ will not be handled. */ if (jiffies > 120*HZ) { /* * Now kill the IRQ */ printk(KERN_EMERG "Disabling IRQ #%d\n", irq); desc->status |= IRQ_DISABLED; desc->depth = 1; desc->chip->disable(irq); } I'll try that this week-end, but if someone has an opinion about it, I'll be glad to know :) Regards, Paul - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared
Hi Tejun, On Thu, 27 Sep 2007 09:55:22 +0900 Tejun Heo [EMAIL PROTECTED] wrote: Paul Rolland wrote: Hi David, On Mon, 24 Sep 2007 23:56:59 +0930 David Newall [EMAIL PROTECTED] wrote: Paul Rolland (???) wrote: Hell, IRQ 23 is shared between libata and my modem !!! Tried using the modem? Can you change driver load order such that the driver for the modem is loaded first? As I said, it's not possible, because : - the modem driver is an out-kernel one, so I have to wait the end of the boot process so that it can be loaded, - libata on IRQ23 is the one taking care of my disks, and I suspect it quite hard to install a modem driver before having the disk driver installed. I was thinking of delaying the disabling of the IRQ, which is basically the other part of the problem (the first part being that spurious IRQ from the modem). If it is possible to do that long enough for the modem driver to be loaded, then the IRQ xx : nobody cared becomes an informational message during the boot process, and then it vanishes, leaving a perfectly working machine. I suspect something in note_interrupt that would do (totally untested, just thinking loudly) : /* Allow some delay to complete boot process before * killing an IRQ. This allow some modules to be * loaded before we decide the IRQ will not be handled. */ if (jiffies 120*HZ) { /* * Now kill the IRQ */ printk(KERN_EMERG Disabling IRQ #%d\n, irq); desc-status |= IRQ_DISABLED; desc-depth = 1; desc-chip-disable(irq); } I'll try that this week-end, but if someone has an opinion about it, I'll be glad to know :) Regards, Paul - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared
Let me guess... this is a T61 or X61 ? There's a problem with these that we don't fully understand yet, we're getting those stale interrupts all over the range. I wonder if it could be a bug with the ICH8 chipset... If yours is one of these, it's being dealt with (or attempted to deal with) at http://bugzilla.kernel.org/show_bug.cgi?id=8853 Ben. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared
Hello, On Thu, 27 Sep 2007 19:04:11 +1000 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: Let me guess... this is a T61 or X61 ? Bad luck ;) This is an Asus P5W-DH Deluxe motherboard, with a Core2 6400 CPU, a bunch of disk (2 IDE, 3 SATA, 1 CDRW and 1 DVDRW-DL), and a damned Olitec PCI V92 V2 modem. Paul - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared
On Thu, 2007-09-27 at 10:05 +, Paul Rolland wrote: Hello, On Thu, 27 Sep 2007 19:04:11 +1000 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: Let me guess... this is a T61 or X61 ? Bad luck ;) This is an Asus P5W-DH Deluxe motherboard, with a Core2 6400 CPU, a bunch of disk (2 IDE, 3 SATA, 1 CDRW and 1 DVDRW-DL), and a damned Olitec PCI V92 V2 modem. What chipset ? 965gm ? Ben. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared
Paul Rolland wrote: > Hi David, > > On Mon, 24 Sep 2007 23:56:59 +0930 > David Newall <[EMAIL PROTECTED]> wrote: > >> Paul Rolland "(???) wrote: >>> Hell, IRQ 23 is shared between libata and my modem !!! >>> >> Tried using the modem? > > When no problem is reported, both the libata part and the modem are OK. > When the problem is reported, at that time, only libata is handling IRQ23 > (the modem is a WinModem, and the driver is an out-kernel module), this > is still kernel boot time, and the disabling of the IRQ makes my machine > unable to complete the boot process (too many disk timeout). > > It could be good to be able to delay the disabling of an IRQ something long > enough to allow all the modules to be loaded... Can you change driver load order such that the driver for the modem is loaded first? -- tejun - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared
Paul Rolland wrote: Hi David, On Mon, 24 Sep 2007 23:56:59 +0930 David Newall [EMAIL PROTECTED] wrote: Paul Rolland (???) wrote: Hell, IRQ 23 is shared between libata and my modem !!! Tried using the modem? When no problem is reported, both the libata part and the modem are OK. When the problem is reported, at that time, only libata is handling IRQ23 (the modem is a WinModem, and the driver is an out-kernel module), this is still kernel boot time, and the disabling of the IRQ makes my machine unable to complete the boot process (too many disk timeout). It could be good to be able to delay the disabling of an IRQ something long enough to allow all the modules to be loaded... Can you change driver load order such that the driver for the modem is loaded first? -- tejun - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared
Hi David, On Mon, 24 Sep 2007 23:56:59 +0930 David Newall <[EMAIL PROTECTED]> wrote: > Paul Rolland "(???) wrote: > > Hell, IRQ 23 is shared between libata and my modem !!! > > > > Tried using the modem? When no problem is reported, both the libata part and the modem are OK. When the problem is reported, at that time, only libata is handling IRQ23 (the modem is a WinModem, and the driver is an out-kernel module), this is still kernel boot time, and the disabling of the IRQ makes my machine unable to complete the boot process (too many disk timeout). It could be good to be able to delay the disabling of an IRQ something long enough to allow all the modules to be loaded... Paul - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared
Hi David, On Mon, 24 Sep 2007 23:56:59 +0930 David Newall [EMAIL PROTECTED] wrote: Paul Rolland (???) wrote: Hell, IRQ 23 is shared between libata and my modem !!! Tried using the modem? When no problem is reported, both the libata part and the modem are OK. When the problem is reported, at that time, only libata is handling IRQ23 (the modem is a WinModem, and the driver is an out-kernel module), this is still kernel boot time, and the disabling of the IRQ makes my machine unable to complete the boot process (too many disk timeout). It could be good to be able to delay the disabling of an IRQ something long enough to allow all the modules to be loaded... Paul - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared
Paul Rolland "(???) wrote: Hell, IRQ 23 is shared between libata and my modem !!! Tried using the modem? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared
Paul Rolland (???) wrote: Hell, IRQ 23 is shared between libata and my modem !!! Tried using the modem? - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/