public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [Fwd: Re: long-term regression - Parallel Port broken?]
@ 2007-06-28 11:28 Thomas Renninger
  2007-07-06 16:38 ` Bjorn Helgaas
  2007-07-22  2:04 ` david
  0 siblings, 2 replies; 17+ messages in thread
From: Thomas Renninger @ 2007-06-28 11:28 UTC (permalink / raw)
  To: david; +Cc: linux-acpi, Randy Dunlap

Hi David,

Could this problem have to do with this one:
https://bugzilla.novell.com/show_bug.cgi?id=180390
Tell me if you have problems accessing the bug, it should be public.
Unfortunately the ongoing of the bug stopped a bit for various reasons.

The first comments pointed in the wrong direction, it's getting
interesting when Vojtech joined the conversation and things pointed to
acpi, possibly acpipnp.

First a collection of acpidump outputs of affected machines would be
great, hopefully other reporters start helping again...

If it is the same bug, it's interesting that 2.6.18-rc3 worked for you
(vanilla or gentoo?). Because SLE[DS]10 is 2.6.16 based, we could have
backported the bug and that might help finding it?

Thanks,

   Thomas

PS: I stripped the CC list, things seem to point to acpi...

PSS: Has there already been a bug at bugzilla.kernel.org opened where
dmesg, acpidump and other info can be reviewed? If not this should be
done.

On Wed, 2007-06-27 at 09:19 -0700, Randy Dunlap wrote:
> [adding linux-acpi@vger.kernel.org]
> 
> On Wed, 27 Jun 2007 00:38:17 -0700 (PDT) david@lang.hm wrote:
> 
> > On Tue, 26 Jun 2007, Randy Dunlap wrote:
> > 
> > > On Mon, 25 Jun 2007 15:56:17 -0700 (PDT) david@lang.hm wrote:
> > >
> > >> due to the size the files are posted at http://linux.lang.hm/linux
> > >>
> > >> let me know what else I can send to help.
> > >>
> > >> David Lang
> > >
> > >
> > > I suggest that you test 2.6.22-rcN using one or both of these
> > > boot options:
> > >
> > > noisapnp
> > > pnpacpi=off
> > >
> > > Somewhere between 2.6.18 and 2.6.22-development, the ACPI config
> > > symbol also starting enabling (selecting) PNP.  That's one of many
> > > differences....
> > 
> > with the 2.6.22-rc4 kernel that I was useing earlier, adding these two 
> > options clears up the problem. Thanks.
> > 
> > should I test the two individually? or just plan on useing both from now 
> > on?
> 
> Yes, please test them individually.  I expect that just one of them
> will suffice, but I don't know which one.
> 
> > I normally disable PnP (both ISA and PCI), should I leave it enabled with 
> > the newer kernels and this motherboard?
> 
> ACPI recently began enabling (selecting) PNP for you...
> 
> How do you normally disable PCI PNP?
> 
> What kind of hardware is this?  Please show us lspci output.
> 
> > > I would also disable CONFIG_USB_USS720, at least for testing.
> > 
> > for ease of testing (I got time to reboot the box around midnight) I used 
> > the same config as before, so this is still on.
> > 
> > David Lang
> > 
> > >
> > >> On Mon, 25 Jun 2007, Randy Dunlap wrote:
> > >>
> > >>> Date: Mon, 25 Jun 2007 15:40:28 -0700
> > >>> From: Randy Dunlap <randy.dunlap@oracle.com>
> > >>> To: david@lang.hm
> > >>> Cc: Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org,
> > >>>     linux-usb-devel@lists.sourceforge.net
> > >>> Subject: Re: long-term regression
> > >>>
> > >>> david@lang.hm wrote:
> > >>>>  On Thu, 21 Jun 2007, Randy Dunlap wrote:
> > >>>>
> > >>>>>  Date: Thu, 21 Jun 2007 08:36:59 -0700
> > >>>>>  From: Randy Dunlap <randy.dunlap@oracle.com>
> > >>>>>  To: Andrew Morton <akpm@linux-foundation.org>
> > >>>>>  Cc: david@lang.hm, linux-kernel@vger.kernel.org,
> > >>>>>      linux-usb-devel@lists.sourceforge.net
> > >>>>>  Subject: Re: long-term regression
> > >>>>>
> > >>>>>  On Thu, 21 Jun 2007 05:28:07 -0700 Andrew Morton wrote:
> > >>>>>
> > >>>>>>>  On Sun, 17 Jun 2007 10:57:55 -0700 (PDT) david@lang.hm wrote:
> > >>>>>>>  I haven't had time to bisect this, but I'm having a problem on a
> > >>>>>>>  AMD64
> > >>>>>>>  gentoo system where the printer doesn't work with recent kernels.
> > >>>>>>>
> > >>>>>>>  2.6.18-rc3 worked
> > >>>>>>>  2.6.21.1 doesn't
> > >>>>>>>  2.6.22-rc4 doesn't
> > >>>>>>>
> > >>>>>>>  unfortunantly the system is gooted on 2.6.18 at the moment and I'm
> > >>>>>>>  out of
> > >>>>>>>  town so my ability to test is limited I can provide the 2.6.22-rc4
> > >>>>>>>  (attached) and 2.6.18-rc3 configs.
> > >>>>>>>
> > >>>>>>>  dmesg appears to show the port being detected, but writes to the
> > >>>>>>>  port
> > >>>>>>>  under newer kernels appear to complete, but no data gets to the
> > >>>>>>>  printer.
> > >>>>>>>
> > >>>>>>>  any suggestions other then doing the large bisect?
> > >>>>>>
> > >>>>>>  That would be good, thanks.  Please be sure to cc linux-usb-devel on
> > >>>>>>  the results.
> > >>>>>
> > >>>>>  OK, I'm curious about how someone deduced that this is a problem
> > >>>>>  with a USB printer vs. parallel port printer since the config file has:
> > >>>>>
> > >>>>>  CONFIG_PRINTER=y
> > >>>>>  CONFIG_USB_PRINTER=y
> > >>>>>
> > >>>>>  The kernel boot log should probably be posted also.
> > >>>>
> > >>>>  here is the dmesg from 2.6.22-rc4 and kern.log showing 2.6.22.-rc4 and
> > >>>>  2.6.180rc3
> > >>>>
> > >>>>  the printer not working is the parallel port.
> > >>>
> > >>> This email didn't show up on lkml or linux-usb-devel due to size limits (it
> > >>> was 900+ KB).
> > >>>
> > >>> David, please send your working 2.6.18 config file.
> > >>>
> > >>> Can you post the kernel log files on the web somewhere?
> 
> ---



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Fwd: Re: long-term regression - Parallel Port broken?]
  2007-06-28 11:28 [Fwd: Re: long-term regression - Parallel Port broken?] Thomas Renninger
@ 2007-07-06 16:38 ` Bjorn Helgaas
  2007-07-06 21:20   ` Bjorn Helgaas
  2007-07-22  2:09   ` david
  2007-07-22  2:04 ` david
  1 sibling, 2 replies; 17+ messages in thread
From: Bjorn Helgaas @ 2007-07-06 16:38 UTC (permalink / raw)
  To: trenn; +Cc: david, linux-acpi, Randy Dunlap

> should I test the two individually? or just plan on useing both from now 
> on?
> I normally disable PnP (both ISA and PCI), should I leave it enabled with 
> the newer kernels and this motherboard?

Ultimately, you should have CONFIG_ACPI=y and CONFIG_PNPACPI=y, and you
should not have to boot with "noisapnp" or "pnpacpi=off".  My guess is
that you only need "pnpacpi=off" to work around the current problem.

At http://linux.lang.hm/linux, I see dmesg logs (with tons of
kobject debug that's useless to me) from 2.6.22-rc4.  It would
be useful to have the log from 2.6.22-rc4 with "pnpacpi=off"
(which I expect to work), so we could compare it with the
"2.6.22-rc4.dmesg" log, which I assume a non-working one.

Linux PNPACPI currently doesn't manage resources quite the same way
Windows does, and that might account for this problem.  You might
try this:

  - boot without "pnpacpi=off" (leave PNPACPI enabled)
  - before loading the parport_pc driver, do this:
    # echo "disable" > /sys/devices/pnp0/00:0a/resources
    # echo "enable" > /sys/devices/pnp0/00:0a/resources
  - load the parport_pc driver

That should cause PNPACPI to run _PRS and _SRS.  Many BIOSes report
that devices are enabled, but don't actually enable them until _SRS
is called.

Bjorn


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Fwd: Re: long-term regression - Parallel Port broken?]
  2007-07-06 16:38 ` Bjorn Helgaas
@ 2007-07-06 21:20   ` Bjorn Helgaas
  2007-07-17 22:08     ` Bjorn Helgaas
  2007-07-22  2:09   ` david
  1 sibling, 1 reply; 17+ messages in thread
From: Bjorn Helgaas @ 2007-07-06 21:20 UTC (permalink / raw)
  To: trenn; +Cc: david, linux-acpi, Randy Dunlap

On Friday 06 July 2007 10:38:50 am Bjorn Helgaas wrote:
> > should I test the two individually? or just plan on useing both from now 
> > on?
> > I normally disable PnP (both ISA and PCI), should I leave it enabled with 
> > the newer kernels and this motherboard?
> 
> Ultimately, you should have CONFIG_ACPI=y and CONFIG_PNPACPI=y, and you
> should not have to boot with "noisapnp" or "pnpacpi=off".  My guess is
> that you only need "pnpacpi=off" to work around the current problem.
> 
> At http://linux.lang.hm/linux, I see dmesg logs (with tons of
> kobject debug that's useless to me) from 2.6.22-rc4.  It would
> be useful to have the log from 2.6.22-rc4 with "pnpacpi=off"
> (which I expect to work), so we could compare it with the
> "2.6.22-rc4.dmesg" log, which I assume a non-working one.
> 
> Linux PNPACPI currently doesn't manage resources quite the same way
> Windows does, and that might account for this problem.  You might
> try this:
> 
>   - boot without "pnpacpi=off" (leave PNPACPI enabled)
>   - before loading the parport_pc driver, do this:
>     # echo "disable" > /sys/devices/pnp0/00:0a/resources
>     # echo "enable" > /sys/devices/pnp0/00:0a/resources

Sorry, I meant:

     # echo "disable" > /sys/devices/pnp0/00:0a/resources
     # echo "clear"   > /sys/devices/pnp0/00:0a/resources
     # echo "enable"  > /sys/devices/pnp0/00:0a/resources

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Fwd: Re: long-term regression - Parallel Port broken?]
  2007-07-06 21:20   ` Bjorn Helgaas
@ 2007-07-17 22:08     ` Bjorn Helgaas
  0 siblings, 0 replies; 17+ messages in thread
From: Bjorn Helgaas @ 2007-07-17 22:08 UTC (permalink / raw)
  To: trenn; +Cc: david, linux-acpi, Randy Dunlap

On Friday 06 July 2007 03:20:36 pm Bjorn Helgaas wrote:
> On Friday 06 July 2007 10:38:50 am Bjorn Helgaas wrote:
> > > should I test the two individually? or just plan on useing both from now 
> > > on?
> > > I normally disable PnP (both ISA and PCI), should I leave it enabled with 
> > > the newer kernels and this motherboard?
> > 
> > Ultimately, you should have CONFIG_ACPI=y and CONFIG_PNPACPI=y, and you
> > should not have to boot with "noisapnp" or "pnpacpi=off".  My guess is
> > that you only need "pnpacpi=off" to work around the current problem.
> > 
> > At http://linux.lang.hm/linux, I see dmesg logs (with tons of
> > kobject debug that's useless to me) from 2.6.22-rc4.  It would
> > be useful to have the log from 2.6.22-rc4 with "pnpacpi=off"
> > (which I expect to work), so we could compare it with the
> > "2.6.22-rc4.dmesg" log, which I assume a non-working one.
> > 
> > Linux PNPACPI currently doesn't manage resources quite the same way
> > Windows does, and that might account for this problem.  You might
> > try this:
> > 
> >   - boot without "pnpacpi=off" (leave PNPACPI enabled)
> >   - before loading the parport_pc driver, do this:
> >     # echo "disable" > /sys/devices/pnp0/00:0a/resources
> >     # echo "enable" > /sys/devices/pnp0/00:0a/resources
> 
> Sorry, I meant:
> 
>      # echo "disable" > /sys/devices/pnp0/00:0a/resources
>      # echo "clear"   > /sys/devices/pnp0/00:0a/resources
>      # echo "enable"  > /sys/devices/pnp0/00:0a/resources

Ping!  David, do you still care about this issue?

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Fwd: Re: long-term regression - Parallel Port broken?]
  2007-06-28 11:28 [Fwd: Re: long-term regression - Parallel Port broken?] Thomas Renninger
  2007-07-06 16:38 ` Bjorn Helgaas
@ 2007-07-22  2:04 ` david
  2007-07-22  2:44   ` Thomas Renninger
  1 sibling, 1 reply; 17+ messages in thread
From: david @ 2007-07-22  2:04 UTC (permalink / raw)
  To: Thomas Renninger; +Cc: linux-acpi, Randy Dunlap

On Thu, 28 Jun 2007, Thomas Renninger wrote:

> Hi David,
>
> Could this problem have to do with this one:
> https://bugzilla.novell.com/show_bug.cgi?id=180390
> Tell me if you have problems accessing the bug, it should be public.
> Unfortunately the ongoing of the bug stopped a bit for various reasons.

it's requireing a login, and I'm not particularly eager to play 20 guesses 
to find a userid that's not already in use.

> The first comments pointed in the wrong direction, it's getting
> interesting when Vojtech joined the conversation and things pointed to
> acpi, possibly acpipnp.
>
> First a collection of acpidump outputs of affected machines would be
> great, hopefully other reporters start helping again...

how do I generate an acpidump?

David Lang

> If it is the same bug, it's interesting that 2.6.18-rc3 worked for you
> (vanilla or gentoo?). Because SLE[DS]10 is 2.6.16 based, we could have
> backported the bug and that might help finding it?
>
> Thanks,
>
>   Thomas
>
> PS: I stripped the CC list, things seem to point to acpi...
>
> PSS: Has there already been a bug at bugzilla.kernel.org opened where
> dmesg, acpidump and other info can be reviewed? If not this should be
> done.
>
> On Wed, 2007-06-27 at 09:19 -0700, Randy Dunlap wrote:
>> [adding linux-acpi@vger.kernel.org]
>>
>> On Wed, 27 Jun 2007 00:38:17 -0700 (PDT) david@lang.hm wrote:
>>
>>> On Tue, 26 Jun 2007, Randy Dunlap wrote:
>>>
>>>> On Mon, 25 Jun 2007 15:56:17 -0700 (PDT) david@lang.hm wrote:
>>>>
>>>>> due to the size the files are posted at http://linux.lang.hm/linux
>>>>>
>>>>> let me know what else I can send to help.
>>>>>
>>>>> David Lang
>>>>
>>>>
>>>> I suggest that you test 2.6.22-rcN using one or both of these
>>>> boot options:
>>>>
>>>> noisapnp
>>>> pnpacpi=off
>>>>
>>>> Somewhere between 2.6.18 and 2.6.22-development, the ACPI config
>>>> symbol also starting enabling (selecting) PNP.  That's one of many
>>>> differences....
>>>
>>> with the 2.6.22-rc4 kernel that I was useing earlier, adding these two
>>> options clears up the problem. Thanks.
>>>
>>> should I test the two individually? or just plan on useing both from now
>>> on?
>>
>> Yes, please test them individually.  I expect that just one of them
>> will suffice, but I don't know which one.
>>
>>> I normally disable PnP (both ISA and PCI), should I leave it enabled with
>>> the newer kernels and this motherboard?
>>
>> ACPI recently began enabling (selecting) PNP for you...
>>
>> How do you normally disable PCI PNP?
>>
>> What kind of hardware is this?  Please show us lspci output.
>>
>>>> I would also disable CONFIG_USB_USS720, at least for testing.
>>>
>>> for ease of testing (I got time to reboot the box around midnight) I used
>>> the same config as before, so this is still on.
>>>
>>> David Lang
>>>
>>>>
>>>>> On Mon, 25 Jun 2007, Randy Dunlap wrote:
>>>>>
>>>>>> Date: Mon, 25 Jun 2007 15:40:28 -0700
>>>>>> From: Randy Dunlap <randy.dunlap@oracle.com>
>>>>>> To: david@lang.hm
>>>>>> Cc: Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org,
>>>>>>     linux-usb-devel@lists.sourceforge.net
>>>>>> Subject: Re: long-term regression
>>>>>>
>>>>>> david@lang.hm wrote:
>>>>>>>  On Thu, 21 Jun 2007, Randy Dunlap wrote:
>>>>>>>
>>>>>>>>  Date: Thu, 21 Jun 2007 08:36:59 -0700
>>>>>>>>  From: Randy Dunlap <randy.dunlap@oracle.com>
>>>>>>>>  To: Andrew Morton <akpm@linux-foundation.org>
>>>>>>>>  Cc: david@lang.hm, linux-kernel@vger.kernel.org,
>>>>>>>>      linux-usb-devel@lists.sourceforge.net
>>>>>>>>  Subject: Re: long-term regression
>>>>>>>>
>>>>>>>>  On Thu, 21 Jun 2007 05:28:07 -0700 Andrew Morton wrote:
>>>>>>>>
>>>>>>>>>>  On Sun, 17 Jun 2007 10:57:55 -0700 (PDT) david@lang.hm wrote:
>>>>>>>>>>  I haven't had time to bisect this, but I'm having a problem on a
>>>>>>>>>>  AMD64
>>>>>>>>>>  gentoo system where the printer doesn't work with recent kernels.
>>>>>>>>>>
>>>>>>>>>>  2.6.18-rc3 worked
>>>>>>>>>>  2.6.21.1 doesn't
>>>>>>>>>>  2.6.22-rc4 doesn't
>>>>>>>>>>
>>>>>>>>>>  unfortunantly the system is gooted on 2.6.18 at the moment and I'm
>>>>>>>>>>  out of
>>>>>>>>>>  town so my ability to test is limited I can provide the 2.6.22-rc4
>>>>>>>>>>  (attached) and 2.6.18-rc3 configs.
>>>>>>>>>>
>>>>>>>>>>  dmesg appears to show the port being detected, but writes to the
>>>>>>>>>>  port
>>>>>>>>>>  under newer kernels appear to complete, but no data gets to the
>>>>>>>>>>  printer.
>>>>>>>>>>
>>>>>>>>>>  any suggestions other then doing the large bisect?
>>>>>>>>>
>>>>>>>>>  That would be good, thanks.  Please be sure to cc linux-usb-devel on
>>>>>>>>>  the results.
>>>>>>>>
>>>>>>>>  OK, I'm curious about how someone deduced that this is a problem
>>>>>>>>  with a USB printer vs. parallel port printer since the config file has:
>>>>>>>>
>>>>>>>>  CONFIG_PRINTER=y
>>>>>>>>  CONFIG_USB_PRINTER=y
>>>>>>>>
>>>>>>>>  The kernel boot log should probably be posted also.
>>>>>>>
>>>>>>>  here is the dmesg from 2.6.22-rc4 and kern.log showing 2.6.22.-rc4 and
>>>>>>>  2.6.180rc3
>>>>>>>
>>>>>>>  the printer not working is the parallel port.
>>>>>>
>>>>>> This email didn't show up on lkml or linux-usb-devel due to size limits (it
>>>>>> was 900+ KB).
>>>>>>
>>>>>> David, please send your working 2.6.18 config file.
>>>>>>
>>>>>> Can you post the kernel log files on the web somewhere?
>>
>> ---
>
>
>

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Fwd: Re: long-term regression - Parallel Port broken?]
  2007-07-06 16:38 ` Bjorn Helgaas
  2007-07-06 21:20   ` Bjorn Helgaas
@ 2007-07-22  2:09   ` david
  2007-07-24 21:40     ` Bjorn Helgaas
  1 sibling, 1 reply; 17+ messages in thread
From: david @ 2007-07-22  2:09 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: trenn, linux-acpi, Randy Dunlap

On Fri, 6 Jul 2007, Bjorn Helgaas wrote:

>> should I test the two individually? or just plan on useing both from now
>> on?
>> I normally disable PnP (both ISA and PCI), should I leave it enabled with
>> the newer kernels and this motherboard?
>
> Ultimately, you should have CONFIG_ACPI=y and CONFIG_PNPACPI=y, and you
> should not have to boot with "noisapnp" or "pnpacpi=off".  My guess is
> that you only need "pnpacpi=off" to work around the current problem.

these two options are enabled and pnpacpi=off does solve the problem.x

> At http://linux.lang.hm/linux, I see dmesg logs (with tons of
> kobject debug that's useless to me) from 2.6.22-rc4.  It would
> be useful to have the log from 2.6.22-rc4 with "pnpacpi=off"
> (which I expect to work), so we could compare it with the
> "2.6.22-rc4.dmesg" log, which I assume a non-working one.

there's now a dmesg.pnpacpi_off which works, and you are correct that the 
dmesg that's there is the non working one.

> Linux PNPACPI currently doesn't manage resources quite the same way
> Windows does, and that might account for this problem.  You might
> try this:
>
>  - boot without "pnpacpi=off" (leave PNPACPI enabled)
>  - before loading the parport_pc driver, do this:
>    # echo "disable" > /sys/devices/pnp0/00:0a/resources
>    # echo "enable" > /sys/devices/pnp0/00:0a/resources
>  - load the parport_pc driver

the parport driver is built-in (and the kernel doesn't include module 
support), is there a way to accomplish the test without switching this to 
a module?

David Lang

> That should cause PNPACPI to run _PRS and _SRS.  Many BIOSes report
> that devices are enabled, but don't actually enable them until _SRS
> is called.
>
> Bjorn
>
>

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Fwd: Re: long-term regression - Parallel Port broken?]
  2007-07-22  2:04 ` david
@ 2007-07-22  2:44   ` Thomas Renninger
  2007-07-22 22:05     ` david
  0 siblings, 1 reply; 17+ messages in thread
From: Thomas Renninger @ 2007-07-22  2:44 UTC (permalink / raw)
  To: david; +Cc: linux-acpi, Randy Dunlap

On Sat, 2007-07-21 at 19:04 -0700, david@lang.hm wrote:
> On Thu, 28 Jun 2007, Thomas Renninger wrote:
> 
> > Hi David,
> >
> > Could this problem have to do with this one:
> > https://bugzilla.novell.com/show_bug.cgi?id=180390
> > Tell me if you have problems accessing the bug, it should be public.
> > Unfortunately the ongoing of the bug stopped a bit for various reasons.
> 
> it's requireing a login, and I'm not particularly eager to play 20 guesses 
> to find a userid that's not already in use.
Yes, but posting on a bugzilla server needs an account...

> > The first comments pointed in the wrong direction, it's getting
> > interesting when Vojtech joined the conversation and things pointed to
> > acpi, possibly acpipnp.
> >
> > First a collection of acpidump outputs of affected machines would be
> > great, hopefully other reporters start helping again...
> 
> how do I generate an acpidump?
It's included in acpica sources:
http://developer.intel.com/technology/iapc/acpi/downloads.htm
You probably don't want to compile this..., don't know what distribution
you are using, the binary should already be provided ("acpidump"), maybe
you need to install a package including it...
then simply run:
>acpidump >/tmp/acpidump
and post the output file using plaintext as mime type.

   Thomas

> David Lang
> 
> > If it is the same bug, it's interesting that 2.6.18-rc3 worked for you
> > (vanilla or gentoo?). Because SLE[DS]10 is 2.6.16 based, we could have
> > backported the bug and that might help finding it?
> >
> > Thanks,
> >
> >   Thomas
> >
> > PS: I stripped the CC list, things seem to point to acpi...
> >
> > PSS: Has there already been a bug at bugzilla.kernel.org opened where
> > dmesg, acpidump and other info can be reviewed? If not this should be
> > done.
> >
> > On Wed, 2007-06-27 at 09:19 -0700, Randy Dunlap wrote:
> >> [adding linux-acpi@vger.kernel.org]
> >>
> >> On Wed, 27 Jun 2007 00:38:17 -0700 (PDT) david@lang.hm wrote:
> >>
> >>> On Tue, 26 Jun 2007, Randy Dunlap wrote:
> >>>
> >>>> On Mon, 25 Jun 2007 15:56:17 -0700 (PDT) david@lang.hm wrote:
> >>>>
> >>>>> due to the size the files are posted at http://linux.lang.hm/linux
> >>>>>
> >>>>> let me know what else I can send to help.
> >>>>>
> >>>>> David Lang
> >>>>
> >>>>
> >>>> I suggest that you test 2.6.22-rcN using one or both of these
> >>>> boot options:
> >>>>
> >>>> noisapnp
> >>>> pnpacpi=off
> >>>>
> >>>> Somewhere between 2.6.18 and 2.6.22-development, the ACPI config
> >>>> symbol also starting enabling (selecting) PNP.  That's one of many
> >>>> differences....
> >>>
> >>> with the 2.6.22-rc4 kernel that I was useing earlier, adding these two
> >>> options clears up the problem. Thanks.
> >>>
> >>> should I test the two individually? or just plan on useing both from now
> >>> on?
> >>
> >> Yes, please test them individually.  I expect that just one of them
> >> will suffice, but I don't know which one.
> >>
> >>> I normally disable PnP (both ISA and PCI), should I leave it enabled with
> >>> the newer kernels and this motherboard?
> >>
> >> ACPI recently began enabling (selecting) PNP for you...
> >>
> >> How do you normally disable PCI PNP?
> >>
> >> What kind of hardware is this?  Please show us lspci output.
> >>
> >>>> I would also disable CONFIG_USB_USS720, at least for testing.
> >>>
> >>> for ease of testing (I got time to reboot the box around midnight) I used
> >>> the same config as before, so this is still on.
> >>>
> >>> David Lang
> >>>
> >>>>
> >>>>> On Mon, 25 Jun 2007, Randy Dunlap wrote:
> >>>>>
> >>>>>> Date: Mon, 25 Jun 2007 15:40:28 -0700
> >>>>>> From: Randy Dunlap <randy.dunlap@oracle.com>
> >>>>>> To: david@lang.hm
> >>>>>> Cc: Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org,
> >>>>>>     linux-usb-devel@lists.sourceforge.net
> >>>>>> Subject: Re: long-term regression
> >>>>>>
> >>>>>> david@lang.hm wrote:
> >>>>>>>  On Thu, 21 Jun 2007, Randy Dunlap wrote:
> >>>>>>>
> >>>>>>>>  Date: Thu, 21 Jun 2007 08:36:59 -0700
> >>>>>>>>  From: Randy Dunlap <randy.dunlap@oracle.com>
> >>>>>>>>  To: Andrew Morton <akpm@linux-foundation.org>
> >>>>>>>>  Cc: david@lang.hm, linux-kernel@vger.kernel.org,
> >>>>>>>>      linux-usb-devel@lists.sourceforge.net
> >>>>>>>>  Subject: Re: long-term regression
> >>>>>>>>
> >>>>>>>>  On Thu, 21 Jun 2007 05:28:07 -0700 Andrew Morton wrote:
> >>>>>>>>
> >>>>>>>>>>  On Sun, 17 Jun 2007 10:57:55 -0700 (PDT) david@lang.hm wrote:
> >>>>>>>>>>  I haven't had time to bisect this, but I'm having a problem on a
> >>>>>>>>>>  AMD64
> >>>>>>>>>>  gentoo system where the printer doesn't work with recent kernels.
> >>>>>>>>>>
> >>>>>>>>>>  2.6.18-rc3 worked
> >>>>>>>>>>  2.6.21.1 doesn't
> >>>>>>>>>>  2.6.22-rc4 doesn't
> >>>>>>>>>>
> >>>>>>>>>>  unfortunantly the system is gooted on 2.6.18 at the moment and I'm
> >>>>>>>>>>  out of
> >>>>>>>>>>  town so my ability to test is limited I can provide the 2.6.22-rc4
> >>>>>>>>>>  (attached) and 2.6.18-rc3 configs.
> >>>>>>>>>>
> >>>>>>>>>>  dmesg appears to show the port being detected, but writes to the
> >>>>>>>>>>  port
> >>>>>>>>>>  under newer kernels appear to complete, but no data gets to the
> >>>>>>>>>>  printer.
> >>>>>>>>>>
> >>>>>>>>>>  any suggestions other then doing the large bisect?
> >>>>>>>>>
> >>>>>>>>>  That would be good, thanks.  Please be sure to cc linux-usb-devel on
> >>>>>>>>>  the results.
> >>>>>>>>
> >>>>>>>>  OK, I'm curious about how someone deduced that this is a problem
> >>>>>>>>  with a USB printer vs. parallel port printer since the config file has:
> >>>>>>>>
> >>>>>>>>  CONFIG_PRINTER=y
> >>>>>>>>  CONFIG_USB_PRINTER=y
> >>>>>>>>
> >>>>>>>>  The kernel boot log should probably be posted also.
> >>>>>>>
> >>>>>>>  here is the dmesg from 2.6.22-rc4 and kern.log showing 2.6.22.-rc4 and
> >>>>>>>  2.6.180rc3
> >>>>>>>
> >>>>>>>  the printer not working is the parallel port.
> >>>>>>
> >>>>>> This email didn't show up on lkml or linux-usb-devel due to size limits (it
> >>>>>> was 900+ KB).
> >>>>>>
> >>>>>> David, please send your working 2.6.18 config file.
> >>>>>>
> >>>>>> Can you post the kernel log files on the web somewhere?
> >>
> >> ---
> >
> >
> >


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Fwd: Re: long-term regression - Parallel Port broken?]
  2007-07-22  2:44   ` Thomas Renninger
@ 2007-07-22 22:05     ` david
  0 siblings, 0 replies; 17+ messages in thread
From: david @ 2007-07-22 22:05 UTC (permalink / raw)
  To: Thomas Renninger; +Cc: linux-acpi, Randy Dunlap

On Sun, 22 Jul 2007, Thomas Renninger wrote:

> On Sat, 2007-07-21 at 19:04 -0700, david@lang.hm wrote:
>> On Thu, 28 Jun 2007, Thomas Renninger wrote:
>>
>>> Hi David,
>>>
>>> Could this problem have to do with this one:
>>> https://bugzilla.novell.com/show_bug.cgi?id=180390
>>> Tell me if you have problems accessing the bug, it should be public.
>>> Unfortunately the ongoing of the bug stopped a bit for various reasons.
>>
>> it's requireing a login, and I'm not particularly eager to play 20 guesses
>> to find a userid that's not already in use.
> Yes, but posting on a bugzilla server needs an account...

true, but haivng to go through all that before I can even read details on 
the bug is annoying (and haven't you read the other rants by people about 
bugzilla, this is one of the reasons ;-)

>>> The first comments pointed in the wrong direction, it's getting
>>> interesting when Vojtech joined the conversation and things pointed to
>>> acpi, possibly acpipnp.
>>>
>>> First a collection of acpidump outputs of affected machines would be
>>> great, hopefully other reporters start helping again...
>>
>> how do I generate an acpidump?
> It's included in acpica sources:
> http://developer.intel.com/technology/iapc/acpi/downloads.htm
> You probably don't want to compile this..., don't know what distribution
> you are using, the binary should already be provided ("acpidump"), maybe
> you need to install a package including it...
> then simply run:
>> acpidump >/tmp/acpidump
> and post the output file using plaintext as mime type.

the file is at lang.hm/linux/acpidump.2.6.22-rc4.nopnpacpi_y

David Lang

>   Thomas
>
>> David Lang
>>
>>> If it is the same bug, it's interesting that 2.6.18-rc3 worked for you
>>> (vanilla or gentoo?). Because SLE[DS]10 is 2.6.16 based, we could have
>>> backported the bug and that might help finding it?
>>>
>>> Thanks,
>>>
>>>   Thomas
>>>
>>> PS: I stripped the CC list, things seem to point to acpi...
>>>
>>> PSS: Has there already been a bug at bugzilla.kernel.org opened where
>>> dmesg, acpidump and other info can be reviewed? If not this should be
>>> done.
>>>
>>> On Wed, 2007-06-27 at 09:19 -0700, Randy Dunlap wrote:
>>>> [adding linux-acpi@vger.kernel.org]
>>>>
>>>> On Wed, 27 Jun 2007 00:38:17 -0700 (PDT) david@lang.hm wrote:
>>>>
>>>>> On Tue, 26 Jun 2007, Randy Dunlap wrote:
>>>>>
>>>>>> On Mon, 25 Jun 2007 15:56:17 -0700 (PDT) david@lang.hm wrote:
>>>>>>
>>>>>>> due to the size the files are posted at http://linux.lang.hm/linux
>>>>>>>
>>>>>>> let me know what else I can send to help.
>>>>>>>
>>>>>>> David Lang
>>>>>>
>>>>>>
>>>>>> I suggest that you test 2.6.22-rcN using one or both of these
>>>>>> boot options:
>>>>>>
>>>>>> noisapnp
>>>>>> pnpacpi=off
>>>>>>
>>>>>> Somewhere between 2.6.18 and 2.6.22-development, the ACPI config
>>>>>> symbol also starting enabling (selecting) PNP.  That's one of many
>>>>>> differences....
>>>>>
>>>>> with the 2.6.22-rc4 kernel that I was useing earlier, adding these two
>>>>> options clears up the problem. Thanks.
>>>>>
>>>>> should I test the two individually? or just plan on useing both from now
>>>>> on?
>>>>
>>>> Yes, please test them individually.  I expect that just one of them
>>>> will suffice, but I don't know which one.
>>>>
>>>>> I normally disable PnP (both ISA and PCI), should I leave it enabled with
>>>>> the newer kernels and this motherboard?
>>>>
>>>> ACPI recently began enabling (selecting) PNP for you...
>>>>
>>>> How do you normally disable PCI PNP?
>>>>
>>>> What kind of hardware is this?  Please show us lspci output.
>>>>
>>>>>> I would also disable CONFIG_USB_USS720, at least for testing.
>>>>>
>>>>> for ease of testing (I got time to reboot the box around midnight) I used
>>>>> the same config as before, so this is still on.
>>>>>
>>>>> David Lang
>>>>>
>>>>>>
>>>>>>> On Mon, 25 Jun 2007, Randy Dunlap wrote:
>>>>>>>
>>>>>>>> Date: Mon, 25 Jun 2007 15:40:28 -0700
>>>>>>>> From: Randy Dunlap <randy.dunlap@oracle.com>
>>>>>>>> To: david@lang.hm
>>>>>>>> Cc: Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org,
>>>>>>>>     linux-usb-devel@lists.sourceforge.net
>>>>>>>> Subject: Re: long-term regression
>>>>>>>>
>>>>>>>> david@lang.hm wrote:
>>>>>>>>>  On Thu, 21 Jun 2007, Randy Dunlap wrote:
>>>>>>>>>
>>>>>>>>>>  Date: Thu, 21 Jun 2007 08:36:59 -0700
>>>>>>>>>>  From: Randy Dunlap <randy.dunlap@oracle.com>
>>>>>>>>>>  To: Andrew Morton <akpm@linux-foundation.org>
>>>>>>>>>>  Cc: david@lang.hm, linux-kernel@vger.kernel.org,
>>>>>>>>>>      linux-usb-devel@lists.sourceforge.net
>>>>>>>>>>  Subject: Re: long-term regression
>>>>>>>>>>
>>>>>>>>>>  On Thu, 21 Jun 2007 05:28:07 -0700 Andrew Morton wrote:
>>>>>>>>>>
>>>>>>>>>>>>  On Sun, 17 Jun 2007 10:57:55 -0700 (PDT) david@lang.hm wrote:
>>>>>>>>>>>>  I haven't had time to bisect this, but I'm having a problem on a
>>>>>>>>>>>>  AMD64
>>>>>>>>>>>>  gentoo system where the printer doesn't work with recent kernels.
>>>>>>>>>>>>
>>>>>>>>>>>>  2.6.18-rc3 worked
>>>>>>>>>>>>  2.6.21.1 doesn't
>>>>>>>>>>>>  2.6.22-rc4 doesn't
>>>>>>>>>>>>
>>>>>>>>>>>>  unfortunantly the system is gooted on 2.6.18 at the moment and I'm
>>>>>>>>>>>>  out of
>>>>>>>>>>>>  town so my ability to test is limited I can provide the 2.6.22-rc4
>>>>>>>>>>>>  (attached) and 2.6.18-rc3 configs.
>>>>>>>>>>>>
>>>>>>>>>>>>  dmesg appears to show the port being detected, but writes to the
>>>>>>>>>>>>  port
>>>>>>>>>>>>  under newer kernels appear to complete, but no data gets to the
>>>>>>>>>>>>  printer.
>>>>>>>>>>>>
>>>>>>>>>>>>  any suggestions other then doing the large bisect?
>>>>>>>>>>>
>>>>>>>>>>>  That would be good, thanks.  Please be sure to cc linux-usb-devel on
>>>>>>>>>>>  the results.
>>>>>>>>>>
>>>>>>>>>>  OK, I'm curious about how someone deduced that this is a problem
>>>>>>>>>>  with a USB printer vs. parallel port printer since the config file has:
>>>>>>>>>>
>>>>>>>>>>  CONFIG_PRINTER=y
>>>>>>>>>>  CONFIG_USB_PRINTER=y
>>>>>>>>>>
>>>>>>>>>>  The kernel boot log should probably be posted also.
>>>>>>>>>
>>>>>>>>>  here is the dmesg from 2.6.22-rc4 and kern.log showing 2.6.22.-rc4 and
>>>>>>>>>  2.6.180rc3
>>>>>>>>>
>>>>>>>>>  the printer not working is the parallel port.
>>>>>>>>
>>>>>>>> This email didn't show up on lkml or linux-usb-devel due to size limits (it
>>>>>>>> was 900+ KB).
>>>>>>>>
>>>>>>>> David, please send your working 2.6.18 config file.
>>>>>>>>
>>>>>>>> Can you post the kernel log files on the web somewhere?
>>>>
>>>> ---
>>>
>>>
>>>
>
>

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Fwd: Re: long-term regression - Parallel Port broken?]
  2007-07-22  2:09   ` david
@ 2007-07-24 21:40     ` Bjorn Helgaas
  2007-07-30  1:22       ` david
  0 siblings, 1 reply; 17+ messages in thread
From: Bjorn Helgaas @ 2007-07-24 21:40 UTC (permalink / raw)
  To: david; +Cc: trenn, linux-acpi, Randy Dunlap

On Saturday 21 July 2007 08:09:11 pm david@lang.hm wrote:
> On Fri, 6 Jul 2007, Bjorn Helgaas wrote:
> > Ultimately, you should have CONFIG_ACPI=y and CONFIG_PNPACPI=y, and you
> > should not have to boot with "noisapnp" or "pnpacpi=off".  My guess is
> > that you only need "pnpacpi=off" to work around the current problem.
> 
> these two options are enabled and pnpacpi=off does solve the problem.
> ...
> there's now a dmesg.pnpacpi_off which works, and you are correct that the 
> dmesg that's there is the non working one.

Thanks.  Here's what I glean from that.  With no arguments, it doesn't work:

    parport_pc 00:0a: reported by Plug and Play ACPI
    parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
    parport0: Printer, Brother HL-5040 series
    lp0: using parport0 (interrupt-driven).

With pnpacpi=off, it works:

    parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
    parport0: irq 7 detected
    parport0: Printer, Brother HL-5040 series
    lp0: using parport0 (polling).

With pnpacpi=off, or a kernel without PNPACPI, we just probe at 0x378
and use the port in polling mode, and it works.

PNPACPI claims the device supports interrupts, so we try to use it in
interrupt mode, and it doesn't work.  It's possible that ACPI is lying
to us, and the interrupt really doesn't work.  Or maybe the interrupt
*does* work, but the BIOS left it half-configured.

Could you try the attached patch and collect the dmesg log and contents
of /proc/interrupts?

Thanks,
  Bjorn

Index: w/drivers/pnp/pnpacpi/core.c
===================================================================
--- w.orig/drivers/pnp/pnpacpi/core.c	2007-07-24 15:05:25.000000000 -0600
+++ w/drivers/pnp/pnpacpi/core.c	2007-07-24 15:29:50.000000000 -0600
@@ -216,6 +216,13 @@
 	pnp_add_device(dev);
 	num ++;
 
+	if (dev->active) {
+		printk("%s: configuring %s (%s)\n", __FUNCTION__, dev->dev.bus_id, dev_id->id);
+		pnp_disable_dev(dev);
+		pnp_init_resource_table(&dev->res);
+		pnp_activate_dev(dev);
+	}
+
 	return AE_OK;
 err1:
 	kfree(dev_id);

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Fwd: Re: long-term regression - Parallel Port broken?]
  2007-07-24 21:40     ` Bjorn Helgaas
@ 2007-07-30  1:22       ` david
  2007-07-30  3:41         ` Bjorn Helgaas
  0 siblings, 1 reply; 17+ messages in thread
From: david @ 2007-07-30  1:22 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: trenn, linux-acpi, Randy Dunlap

On Tue, 24 Jul 2007, Bjorn Helgaas wrote:

> On Saturday 21 July 2007 08:09:11 pm david@lang.hm wrote:
>> On Fri, 6 Jul 2007, Bjorn Helgaas wrote:
>>> Ultimately, you should have CONFIG_ACPI=y and CONFIG_PNPACPI=y, and you
>>> should not have to boot with "noisapnp" or "pnpacpi=off".  My guess is
>>> that you only need "pnpacpi=off" to work around the current problem.
>>
>> these two options are enabled and pnpacpi=off does solve the problem.
>> ...
>> there's now a dmesg.pnpacpi_off which works, and you are correct that the
>> dmesg that's there is the non working one.
>
> Thanks.  Here's what I glean from that.  With no arguments, it doesn't work:
>
>    parport_pc 00:0a: reported by Plug and Play ACPI
>    parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
>    parport0: Printer, Brother HL-5040 series
>    lp0: using parport0 (interrupt-driven).
>
> With pnpacpi=off, it works:
>
>    parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
>    parport0: irq 7 detected
>    parport0: Printer, Brother HL-5040 series
>    lp0: using parport0 (polling).
>
> With pnpacpi=off, or a kernel without PNPACPI, we just probe at 0x378
> and use the port in polling mode, and it works.
>
> PNPACPI claims the device supports interrupts, so we try to use it in
> interrupt mode, and it doesn't work.  It's possible that ACPI is lying
> to us, and the interrupt really doesn't work.  Or maybe the interrupt
> *does* work, but the BIOS left it half-configured.
>
> Could you try the attached patch and collect the dmesg log and contents
> of /proc/interrupts?

done, see the files
2.6.22-rc4.interrupts
2.6.22-rc4.dmesg.test
at http://lang.hm/linux

David Lang

> Thanks,
>  Bjorn
>
> Index: w/drivers/pnp/pnpacpi/core.c
> ===================================================================
> --- w.orig/drivers/pnp/pnpacpi/core.c	2007-07-24 15:05:25.000000000 -0600
> +++ w/drivers/pnp/pnpacpi/core.c	2007-07-24 15:29:50.000000000 -0600
> @@ -216,6 +216,13 @@
> 	pnp_add_device(dev);
> 	num ++;
>
> +	if (dev->active) {
> +		printk("%s: configuring %s (%s)\n", __FUNCTION__, dev->dev.bus_id, dev_id->id);
> +		pnp_disable_dev(dev);
> +		pnp_init_resource_table(&dev->res);
> +		pnp_activate_dev(dev);
> +	}
> +
> 	return AE_OK;
> err1:
> 	kfree(dev_id);
>

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Fwd: Re: long-term regression - Parallel Port broken?]
  2007-07-30  1:22       ` david
@ 2007-07-30  3:41         ` Bjorn Helgaas
  2007-07-30  3:46           ` david
  2007-07-30  3:59           ` david
  0 siblings, 2 replies; 17+ messages in thread
From: Bjorn Helgaas @ 2007-07-30  3:41 UTC (permalink / raw)
  To: david; +Cc: trenn, linux-acpi, Randy Dunlap

On Sunday 29 July 2007 07:22:41 pm david@lang.hm wrote:
> On Tue, 24 Jul 2007, Bjorn Helgaas wrote:
> 
> > On Saturday 21 July 2007 08:09:11 pm david@lang.hm wrote:
> >> On Fri, 6 Jul 2007, Bjorn Helgaas wrote:
> >>> Ultimately, you should have CONFIG_ACPI=y and CONFIG_PNPACPI=y, and you
> >>> should not have to boot with "noisapnp" or "pnpacpi=off".  My guess is
> >>> that you only need "pnpacpi=off" to work around the current problem.
> >>
> >> these two options are enabled and pnpacpi=off does solve the problem.
> >> ...
> >> there's now a dmesg.pnpacpi_off which works, and you are correct that the
> >> dmesg that's there is the non working one.
> >
> > Thanks.  Here's what I glean from that.  With no arguments, it doesn't work:
> >
> >    parport_pc 00:0a: reported by Plug and Play ACPI
> >    parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
> >    parport0: Printer, Brother HL-5040 series
> >    lp0: using parport0 (interrupt-driven).
> >
> > With pnpacpi=off, it works:
> >
> >    parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
> >    parport0: irq 7 detected
> >    parport0: Printer, Brother HL-5040 series
> >    lp0: using parport0 (polling).
> >
> > With pnpacpi=off, or a kernel without PNPACPI, we just probe at 0x378
> > and use the port in polling mode, and it works.
> >
> > PNPACPI claims the device supports interrupts, so we try to use it in
> > interrupt mode, and it doesn't work.  It's possible that ACPI is lying
> > to us, and the interrupt really doesn't work.  Or maybe the interrupt
> > *does* work, but the BIOS left it half-configured.
> >
> > Could you try the attached patch and collect the dmesg log and contents
> > of /proc/interrupts?
> 
> done, see the files
> 2.6.22-rc4.interrupts
> 2.6.22-rc4.dmesg.test
> at http://lang.hm/linux

Thanks, but you booted with "pnpacpi=off", so we didn't learn anything.
The port works with "pnpacpi=off" even without the patch.  Somebody
else tried my "disable/init/activate" patch with terrible results, so
that approach will need more work.

This seems an awful lot like this bug report:
  http://bugzilla.kernel.org/show_bug.cgi?id=5832

Can you take a look at 5832, and maybe we can combine your problem
with that one if you agree they look the same?

Bjorn

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Fwd: Re: long-term regression - Parallel Port broken?]
  2007-07-30  3:41         ` Bjorn Helgaas
@ 2007-07-30  3:46           ` david
  2007-07-30  3:59           ` david
  1 sibling, 0 replies; 17+ messages in thread
From: david @ 2007-07-30  3:46 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: trenn, linux-acpi, Randy Dunlap

On Sun, 29 Jul 2007, Bjorn Helgaas wrote:

>>> of /proc/interrupts?
>>
>> done, see the files
>> 2.6.22-rc4.interrupts
>> 2.6.22-rc4.dmesg.test
>> at http://lang.hm/linux
>
> Thanks, but you booted with "pnpacpi=off", so we didn't learn anything.
> The port works with "pnpacpi=off" even without the patch.  Somebody
> else tried my "disable/init/activate" patch with terrible results, so
> that approach will need more work.

I did?? I thought I had changed that.

Ok, I'll try again.

David Lang

> This seems an awful lot like this bug report:
>  http://bugzilla.kernel.org/show_bug.cgi?id=5832
>
> Can you take a look at 5832, and maybe we can combine your problem
> with that one if you agree they look the same?
>
> Bjorn
>

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Fwd: Re: long-term regression - Parallel Port broken?]
  2007-07-30  3:41         ` Bjorn Helgaas
  2007-07-30  3:46           ` david
@ 2007-07-30  3:59           ` david
  2007-07-30 14:08             ` Bjorn Helgaas
  1 sibling, 1 reply; 17+ messages in thread
From: david @ 2007-07-30  3:59 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: trenn, linux-acpi, Randy Dunlap

On Sun, 29 Jul 2007, Bjorn Helgaas wrote:

>>>
>>> Could you try the attached patch and collect the dmesg log and contents
>>> of /proc/interrupts?
>>
>> done, see the files
>> 2.6.22-rc4.interrupts
>> 2.6.22-rc4.dmesg.test
>> at http://lang.hm/linux
>
> Thanks, but you booted with "pnpacpi=off", so we didn't learn anything.
> The port works with "pnpacpi=off" even without the patch.  Somebody
> else tried my "disable/init/activate" patch with terrible results, so
> that approach will need more work.

Ok, the new versions are there now.

> This seems an awful lot like this bug report:
>  http://bugzilla.kernel.org/show_bug.cgi?id=5832
>
> Can you take a look at 5832, and maybe we can combine your problem
> with that one if you agree they look the same?

yes, it definantly looks like the same thing.

David Lang

> Bjorn
>

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Fwd: Re: long-term regression - Parallel Port broken?]
  2007-07-30  3:59           ` david
@ 2007-07-30 14:08             ` Bjorn Helgaas
  2008-05-27 23:11               ` Bjorn Helgaas
  0 siblings, 1 reply; 17+ messages in thread
From: Bjorn Helgaas @ 2007-07-30 14:08 UTC (permalink / raw)
  To: david; +Cc: trenn, linux-acpi, Randy Dunlap

On Sunday 29 July 2007 09:59:18 pm david@lang.hm wrote:
> On Sun, 29 Jul 2007, Bjorn Helgaas wrote:
> 
> >>>
> >>> Could you try the attached patch and collect the dmesg log and contents
> >>> of /proc/interrupts?
> >>
> >> done, see the files
> >> 2.6.22-rc4.interrupts
> >> 2.6.22-rc4.dmesg.test
> >> at http://lang.hm/linux
> >
> > Thanks, but you booted with "pnpacpi=off", so we didn't learn anything.
> > The port works with "pnpacpi=off" even without the patch.  Somebody
> > else tried my "disable/init/activate" patch with terrible results, so
> > that approach will need more work.
> 
> Ok, the new versions are there now.

I assume the port still didn't work.  My current theory is that
there's something wrong with parport DMA.

> > This seems an awful lot like this bug report:
> >  http://bugzilla.kernel.org/show_bug.cgi?id=5832
> >
> > Can you take a look at 5832, and maybe we can combine your problem
> > with that one if you agree they look the same?
> 
> yes, it definantly looks like the same thing.

OK, I added you to the cc: list of 5832.

Bjorn



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Fwd: Re: long-term regression - Parallel Port broken?]
  2007-07-30 14:08             ` Bjorn Helgaas
@ 2008-05-27 23:11               ` Bjorn Helgaas
  2008-05-28  9:19                 ` david
  0 siblings, 1 reply; 17+ messages in thread
From: Bjorn Helgaas @ 2008-05-27 23:11 UTC (permalink / raw)
  To: david; +Cc: trenn, linux-acpi, Randy Dunlap

> On Sunday 29 July 2007 09:59:18 pm david@lang.hm wrote:
> > On Sun, 29 Jul 2007, Bjorn Helgaas wrote:
> > > This seems an awful lot like this bug report:
> > >  http://bugzilla.kernel.org/show_bug.cgi?id=5832
> > >
> > > Can you take a look at 5832, and maybe we can combine your problem
> > > with that one if you agree they look the same?
> > 
> > yes, it definantly looks like the same thing.

Hi David,

I think 2.6.25 + the patch here:
    http://marc.info/?l=linux-acpi&m=121190728701748&w=2

should fix the parallel port problem you saw.  If you have a
chance to confirm or disprove that, I'd appreciate hearing
about it.  I'm trying to get this change in for 2.6.26.

Thanks,
  Bjorn

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Fwd: Re: long-term regression - Parallel Port broken?]
  2008-05-27 23:11               ` Bjorn Helgaas
@ 2008-05-28  9:19                 ` david
  2008-06-13 17:45                   ` Bjorn Helgaas
  0 siblings, 1 reply; 17+ messages in thread
From: david @ 2008-05-28  9:19 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: trenn, linux-acpi, Randy Dunlap

On Tue, 27 May 2008, Bjorn Helgaas wrote:

>> On Sunday 29 July 2007 09:59:18 pm david@lang.hm wrote:
>>> On Sun, 29 Jul 2007, Bjorn Helgaas wrote:
>>>> This seems an awful lot like this bug report:
>>>>  http://bugzilla.kernel.org/show_bug.cgi?id=5832
>>>>
>>>> Can you take a look at 5832, and maybe we can combine your problem
>>>> with that one if you agree they look the same?
>>>
>>> yes, it definantly looks like the same thing.
>
> Hi David,
>
> I think 2.6.25 + the patch here:
>    http://marc.info/?l=linux-acpi&m=121190728701748&w=2
>
> should fix the parallel port problem you saw.  If you have a
> chance to confirm or disprove that, I'd appreciate hearing
> about it.  I'm trying to get this change in for 2.6.26.

I'll see what I can do. I've moved twice since running into this and at 
the moment the printer is hooked to a network dongle, I'll move it to the 
server and try a couple tests, probably not before thursday though.

David Lang

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Fwd: Re: long-term regression - Parallel Port broken?]
  2008-05-28  9:19                 ` david
@ 2008-06-13 17:45                   ` Bjorn Helgaas
  0 siblings, 0 replies; 17+ messages in thread
From: Bjorn Helgaas @ 2008-06-13 17:45 UTC (permalink / raw)
  To: david; +Cc: trenn, linux-acpi, Randy Dunlap

On Wednesday 28 May 2008 03:19:05 am david@lang.hm wrote:
> On Tue, 27 May 2008, Bjorn Helgaas wrote:
> 
> >> On Sunday 29 July 2007 09:59:18 pm david@lang.hm wrote:
> >>> On Sun, 29 Jul 2007, Bjorn Helgaas wrote:
> >>>> This seems an awful lot like this bug report:
> >>>>  http://bugzilla.kernel.org/show_bug.cgi?id=5832
> >>>>
> >>>> Can you take a look at 5832, and maybe we can combine your problem
> >>>> with that one if you agree they look the same?
> >>>
> >>> yes, it definantly looks like the same thing.
> >
> > Hi David,
> >
> > I think 2.6.25 + the patch here:
> >    http://marc.info/?l=linux-acpi&m=121190728701748&w=2
> >
> > should fix the parallel port problem you saw.  If you have a
> > chance to confirm or disprove that, I'd appreciate hearing
> > about it.  I'm trying to get this change in for 2.6.26.
> 
> I'll see what I can do. I've moved twice since running into this and at 
> the moment the printer is hooked to a network dongle, I'll move it to the 
> server and try a couple tests, probably not before thursday though.

This patch is in 2.6.26-rc6, so I'll assume this problem is fixed
unless I hear otherwise.

Bjorn

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2008-06-13 17:45 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-28 11:28 [Fwd: Re: long-term regression - Parallel Port broken?] Thomas Renninger
2007-07-06 16:38 ` Bjorn Helgaas
2007-07-06 21:20   ` Bjorn Helgaas
2007-07-17 22:08     ` Bjorn Helgaas
2007-07-22  2:09   ` david
2007-07-24 21:40     ` Bjorn Helgaas
2007-07-30  1:22       ` david
2007-07-30  3:41         ` Bjorn Helgaas
2007-07-30  3:46           ` david
2007-07-30  3:59           ` david
2007-07-30 14:08             ` Bjorn Helgaas
2008-05-27 23:11               ` Bjorn Helgaas
2008-05-28  9:19                 ` david
2008-06-13 17:45                   ` Bjorn Helgaas
2007-07-22  2:04 ` david
2007-07-22  2:44   ` Thomas Renninger
2007-07-22 22:05     ` david

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox