2007-06-17 17:58:18

by David Lang

[permalink] [raw]
Subject: long-term regression

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?

David Lang


Attachments:
.config (40.86 kB)

2007-06-21 12:28:40

by Andrew Morton

[permalink] [raw]
Subject: Re: long-term regression

> On Sun, 17 Jun 2007 10:57:55 -0700 (PDT) [email protected] 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.

2007-06-21 15:36:28

by Randy Dunlap

[permalink] [raw]
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) [email protected] 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.

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

2007-06-21 16:33:38

by David Lang

[permalink] [raw]
Subject: Re: long-term regression

On Thu, 21 Jun 2007, Randy Dunlap wrote:

> On Thu, 21 Jun 2007 05:28:07 -0700 Andrew Morton wrote:
>
>>> On Sun, 17 Jun 2007 10:57:55 -0700 (PDT) [email protected] 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.

it's a parallel port printer, not a usb printer. when I get home from
usenix I'll reboot into a new kernel and post the boot logs for both
configs.

David Lang

2007-06-25 22:39:18

by Randy Dunlap

[permalink] [raw]
Subject: Re: long-term regression

[email protected] wrote:
> On Thu, 21 Jun 2007, Randy Dunlap wrote:
>
>> Date: Thu, 21 Jun 2007 08:36:59 -0700
>> From: Randy Dunlap <[email protected]>
>> To: Andrew Morton <[email protected]>
>> Cc: [email protected], [email protected],
>> [email protected]
>> 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) [email protected] 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?

--
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

2007-06-25 22:57:24

by David Lang

[permalink] [raw]
Subject: Re: long-term regression

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

On Mon, 25 Jun 2007, Randy Dunlap wrote:

> Date: Mon, 25 Jun 2007 15:40:28 -0700
> From: Randy Dunlap <[email protected]>
> To: [email protected]
> Cc: Andrew Morton <[email protected]>, [email protected],
> [email protected]
> Subject: Re: long-term regression
>
> [email protected] wrote:
>> On Thu, 21 Jun 2007, Randy Dunlap wrote:
>>
>> > Date: Thu, 21 Jun 2007 08:36:59 -0700
>> > From: Randy Dunlap <[email protected]>
>> > To: Andrew Morton <[email protected]>
>> > Cc: [email protected], [email protected],
>> > [email protected]
>> > 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) [email protected] 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?
>
>

2007-06-26 19:13:56

by Randy Dunlap

[permalink] [raw]
Subject: Re: long-term regression

On Mon, 25 Jun 2007 15:56:17 -0700 (PDT) [email protected] 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....


I would also disable CONFIG_USB_USS720, at least for testing.


> On Mon, 25 Jun 2007, Randy Dunlap wrote:
>
> > Date: Mon, 25 Jun 2007 15:40:28 -0700
> > From: Randy Dunlap <[email protected]>
> > To: [email protected]
> > Cc: Andrew Morton <[email protected]>, [email protected],
> > [email protected]
> > Subject: Re: long-term regression
> >
> > [email protected] wrote:
> >> On Thu, 21 Jun 2007, Randy Dunlap wrote:
> >>
> >> > Date: Thu, 21 Jun 2007 08:36:59 -0700
> >> > From: Randy Dunlap <[email protected]>
> >> > To: Andrew Morton <[email protected]>
> >> > Cc: [email protected], [email protected],
> >> > [email protected]
> >> > 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) [email protected] 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?

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

2007-06-27 07:39:20

by David Lang

[permalink] [raw]
Subject: Re: long-term regression

On Tue, 26 Jun 2007, Randy Dunlap wrote:

> On Mon, 25 Jun 2007 15:56:17 -0700 (PDT) [email protected] 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?
I normally disable PnP (both ISA and PCI), should I leave it enabled with
the newer kernels and this motherboard?


>
> 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 <[email protected]>
>>> To: [email protected]
>>> Cc: Andrew Morton <[email protected]>, [email protected],
>>> [email protected]
>>> Subject: Re: long-term regression
>>>
>>> [email protected] wrote:
>>>> On Thu, 21 Jun 2007, Randy Dunlap wrote:
>>>>
>>>>> Date: Thu, 21 Jun 2007 08:36:59 -0700
>>>>> From: Randy Dunlap <[email protected]>
>>>>> To: Andrew Morton <[email protected]>
>>>>> Cc: [email protected], [email protected],
>>>>> [email protected]
>>>>> 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) [email protected] 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?
>
> ---
> ~Randy
> *** Remember to use Documentation/SubmitChecklist when testing your code ***
>

2007-06-27 16:17:19

by Randy Dunlap

[permalink] [raw]
Subject: Re: long-term regression

[adding [email protected]]

On Wed, 27 Jun 2007 00:38:17 -0700 (PDT) [email protected] wrote:

> On Tue, 26 Jun 2007, Randy Dunlap wrote:
>
> > On Mon, 25 Jun 2007 15:56:17 -0700 (PDT) [email protected] 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 <[email protected]>
> >>> To: [email protected]
> >>> Cc: Andrew Morton <[email protected]>, [email protected],
> >>> [email protected]
> >>> Subject: Re: long-term regression
> >>>
> >>> [email protected] wrote:
> >>>> On Thu, 21 Jun 2007, Randy Dunlap wrote:
> >>>>
> >>>>> Date: Thu, 21 Jun 2007 08:36:59 -0700
> >>>>> From: Randy Dunlap <[email protected]>
> >>>>> To: Andrew Morton <[email protected]>
> >>>>> Cc: [email protected], [email protected],
> >>>>> [email protected]
> >>>>> 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) [email protected] 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?

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***