linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jeff-o2qLIJkoznsdnm+yROfE0A@public.gmane.org>
To: Zeno Davatz <zdavatz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: David Miller <davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>,
	rjw-KKrjLPT3xs0@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	kernel-testers-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-ide-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [Bug #14622] Second IDE device not found
Date: Fri, 20 Nov 2009 06:31:38 -0500	[thread overview]
Message-ID: <4B067E1A.7000102@garzik.org> (raw)
In-Reply-To: <40a4ed590911200129p6f0d048dqef10df2b311d4744-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On 11/20/2009 04:29 AM, Zeno Davatz wrote:
> On Fri, Nov 20, 2009 at 9:41 AM, Jeff Garzik<jeff-o2qLIJkoznsdnm+yROfE0A@public.gmane.org>  wrote:
>> On 11/20/2009 02:59 AM, Zeno Davatz wrote:
>>>
>>> On Thu, Nov 19, 2009 at 9:05 PM, David Miller<davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>    wrote:
>>>>
>>>> From: "Rafael J. Wysocki"<rjw-KKrjLPT3xs0@public.gmane.org>
>>>> Date: Mon, 16 Nov 2009 23:37:47 +0100 (CET)
>>>>
>>>>> This message has been generated automatically as a part of a report
>>>>> of recent regressions.
>>>>>
>>>>> The following bug entry is on the current list of known regressions
>>>>> from 2.6.31.  Please verify if it still should be listed and let me know
>>>>> (either way).
>>>>>
>>>>>
>>>>> Bug-Entry     : http://bugzilla.kernel.org/show_bug.cgi?id=14622
>>>>> Subject               : Second IDE device not found
>>>>> Submitter     : Zeno Davatz<zdavatz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
>>>>> Date          : 2009-11-11 17:31 (6 days old)
>>>>> References    : http://marc.info/?l=linux-kernel&m=125796105822353&w=4
>>>>
>>>> We're going to need more information to diagnose this.
>>>>
>>>> And linux-ide should have been at least CC:'d from the very
>>>> beginning.
>>>>
>>>>   From what I can discern the problem is introduced somewhere between
>>>> 2.6.27 and 2.6.31, you have a Serverworks CSB5 and primarily the issue
>>>> is that attaching or detaching your CD-ROM driver influences whether
>>>> both of your disks are properly detected.  Correct?
>>>>
>>>> You seem to have played around with using the IDE layer vs. the
>>>> ATA layer.  Can you see any difference in behavior if you try
>>>> using just the IDE layer vs. just the ATA layer with the 2.6.31
>>>> kernel?
>>>
>>> Please see:
>>>
>>> http://www.flickr.com/photos/zrr/4118682747/
>>>
>>> and
>>>
>>> http://www.flickr.com/photos/zrr/4119453092/
>>
>> Unfortunately, both of these photos only show that MD (block major 9) device
>> could not be found for root.
>>
>> For either ATA or IDE, we would need to see full dmesg somehow -- perhaps
>> capturing serial console output?  (Documentation/serial-console.txt)
>
> Ok, I appended
>
> console=ttyS1,9600 console=tty0
>
> to the kernel command line at lilo after choosing the kernel image and
> I get a ton of output. But how to I save the output to a file?

I use minicom and a null modem serial cable.  One of minicom's commands 
will capture everything sent to the serial port, to a file.  Other 
options are available.  Googling for "linux serial console" found 
several useful starting-point links.

The basic idea is to sent console output to a serial port, and then have 
some method of reading and capturing the serial port's data.

Another alternative is netconsole (google for "linux netconsole"), which 
permits output over the network.


>>> I makes no difference if I choose ATA or only IDE.
>>>
>>> I am also attaching you my Kernel .config
>>>
>>> I could also test with 2.6.32-rc8 (torvalds-git)
>>>
>>> I suggest you send me two .config that I can both test with 2.6.31.6
>>
>> I bet libata fails because CONFIG_BLK_DEV_SD is not enabled.  Probably want
>> to enable CONFIG_BLK_DEV_SR too, for libata CD-ROM support.  I would be
>> interested to see your failing ATA config, with IDE disabled.
>
> I enabled CONFIG_BLK_DEV_SR. Do you want above test with or without
>
> CONFIG_BLK_DEV_SVWKS (OSB4/CSB5) enabled?

Well, this goes back to David's basic request:  IDE-only or ATA-only.

You really, really, really should not to enable both at the same time.

If you are choosing ATA-only (libata), then you should disable 
CONFIG_IDE and everything associated with CONFIG_IDE, including 
CONFIG_BLK_DEV_SVWKS.

libata will want something like
CONFIG_ATA
CONFIG_ATA_VERBOSE_ERROR	<-- optional, but helpful
CONFIG_PATA_SERVERWORKS

CONFIG_SCSI
CONFIG_SCSI_LOGGING		<-- ditto
CONFIG_SCSI_CONSTANTS		<-- ditto
CONFIG_BLK_DEV_SD
CONFIG_BLK_DEV_SR		<-- required only for CD-ROM support

Regards,

	Jeff

  parent reply	other threads:[~2009-11-20 11:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <GUZt44bIwCE.A.vLF.pSdALB@chimera>
     [not found] ` <xXQGFmujPl.A.n7F.4SdALB@chimera>
2009-11-19 20:05   ` [Bug #14622] Second IDE device not found David Miller
2009-11-20  7:59     ` Zeno Davatz
     [not found]       ` <40a4ed590911192359o563b104fo562f325ad9f5358e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-11-20  8:41         ` Jeff Garzik
     [not found]           ` <4B065648.6040609-o2qLIJkoznsdnm+yROfE0A@public.gmane.org>
2009-11-20  9:29             ` Zeno Davatz
     [not found]               ` <40a4ed590911200129p6f0d048dqef10df2b311d4744-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-11-20 11:31                 ` Jeff Garzik [this message]
     [not found]                   ` <4B067E1A.7000102-o2qLIJkoznsdnm+yROfE0A@public.gmane.org>
2009-11-20 13:35                     ` Zeno Davatz
2009-11-20 17:45                       ` David Miller
2009-11-20 20:41                         ` Rafael J. Wysocki
2009-11-16 21:48 [Bug 14622] New: " bugzilla-daemon
2009-11-17  7:11 ` [Bug 14622] " bugzilla-daemon
2009-11-20 13:45 ` bugzilla-daemon
2009-11-20 14:09 ` bugzilla-daemon
2009-11-20 20:27 ` bugzilla-daemon
2009-11-20 20:27 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B067E1A.7000102@garzik.org \
    --to=jeff-o2qlijkoznsdnm+yrofe0a@public.gmane.org \
    --cc=davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org \
    --cc=kernel-testers-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-ide-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=rjw-KKrjLPT3xs0@public.gmane.org \
    --cc=zdavatz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).