From: "Randy.Dunlap" <rddunlap@osdl.org>
To: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: 2.6.9-mm1
Date: Tue, 26 Oct 2004 13:01:51 -0700 [thread overview]
Message-ID: <417EAD2F.7040608@osdl.org> (raw)
In-Reply-To: <58cb370e041026094016ac67d0@mail.gmail.com>
Bartlomiej Zolnierkiewicz wrote:
> On Tue, 26 Oct 2004 08:48:17 -0700, Randy.Dunlap <rddunlap@osdl.org> wrote:
>
>>>>>>>Yes, that gets further. :(
>>>>>>>Maybe I'll just (try) apply the kexec patch to a vanilla kernel.
>>>>
>>>>
>>>>
>>>>IDE PIO changes are the part of a vanilla kernel.
>>>>
>>>>If vanilla kernel (+akpm's fix) works OK then
>>>>this bug is not mine fault. :)
>>>>
>>>>
>>>>
>>>>>>I doubt if it'll help much. It looks like IDE PIO got badly broken.
>>>>
>>>>
>>>>
>>>>Weird, this code was in -mm for over a month.
>>>>
>>>>
>>>>
>>>>>>That's something we have to fix - could you work with Bart on it
>>>>>>please?
>>>>>
>>>>>
>>>>>Sure. Bart?
>>>>
>>>>
>>>>
>>>>I need more data, IDE PIO works fine here.
>>>>
>>>>
>>>>
>>>>>>How come your disks are running in PIO mode anyway?
>>>>
>>>>
>>>>
>>>>Maybe disks are runing in DMA mode but some application
>>>>triggers PIO access (IDENTIFY command, S.M.A.R.T. etc.)...
>>>>
>>>>
>>>>
>>>>>No idea.
>>>
>>>
>>>Andrew made me look. Duh. It's because I'm booting with
>>>ide=nodma.
>>>
>>>So Bart, can you check the noautodma=1 code path?
>>>And I'll test it again on Tuesday without using ide=nodma.
>>
>>Booting 2.6.9-mm1 without using "ide=nodma" works well for me.
>>No other kernel changes.
>
>
> I audited the code and only found the unrelated bug in
> /proc/ide/hd?/smart_thresholds, fix below...
>
> --- ide-disk.c.orig 2004-10-26 15:50:51.000000000 +0200
> +++ ide-disk.c 2004-10-26 18:34:50.736448416 +0200
> @@ -977,6 +977,7 @@
> args.tfRegister[IDE_HCYL_OFFSET] = SMART_HCYL_PASS;
> args.tfRegister[IDE_COMMAND_OFFSET] = WIN_SMART;
> args.command_type = IDE_DRIVE_TASK_IN;
> + args.data_phase = TASKFILE_IN;
> args.handler = &task_in_intr;
> (void) smart_enable(drive);
> return ide_raw_taskfile(drive, &args, buf);
>
> I tried reproducing the OOPS but I couldn't. Little bird tells me that
> this bug is SMP and/or highmem specific (I don't have such hardware).
>
> Randy, could you "ide=nodma" with 2.6.10-rc1 (+akpm's fix) and 2.6.9?
Sure, did that. 2.6.9 works fine, 2.6.10-rc1 dies as with 2.6.9-mm1.
Next?
Unable to handle kernel paging request at virtual address fffea000
printing eip:
c029f206
*pde = 00610067
*pte = 00000000
Oops: 0002 [#1]
SMP DEBUG_PAGEALLOC
Modules linked in:
CPU: 0
EIP: 0060:[<c029f206>] Not tainted VLI
EFLAGS: 00010006 (2.6.10-rc1)
EIP is at ide_insw+0xd/0x13
eax: 000001f0 ebx: c05b322c ecx: 00000100 edx: 000001f0
esi: c05b322c edi: fffea000 ebp: c0539e78 esp: c0539e74
ds: 007b es: 007b ss: 0068
Process swapper (pid: 0, threadinfo=c0538000 task=c0452b80)
Stack: c05b3180 c0539e98 c029f6bb 000001f0 fffea000 00000100 c05b322c
00000080
fffea000 c0539eb8 c02a302d c05b322c fffea000 00000080 00000000
00000000
c05b3180 c0539ee4 c02a3714 c05b322c fffea000 00000080 00000000
fffea000
Call Tra [<c0107dd3>] show_stack+0xaf/0xb7
[<c0107f58>] show_registers+0x15d/0x1d2
[<c0108160>] die+0x106/0x18e
[<c011a089>] do_page_fault+0x4da/0x669
[<c0107a31>] error_code+0x2d/0x38
[<c029f6bb>] ata_input_data+0x98/0xa0
[<c02a302d>] taskfile_input_data+0x26/0x49
[<c02a3714>] ide_pio_sector+0xcb/0xe5
[<c02a3960>] task_in_intr+0xe2/0xfe
[<c029efe8>] ide_intr+0xb6/0x14f
[<c013da07>] handle_IRQ_event+0x38/0x69
[<c013db1a>] __do_IRQ+0xe2/0x158
[<c01093fa>] do_IRQ+0x36/0x60
[<c0107914>] common_interrupt+0x18/0x20
[<c01050c3>] cpu_idle+0x31/0x40
[<c053a8cf>] start_kernel+0x179/0x195
[<c0100211>] 0xc0100211
Code: 90 90 90 90 90 55 89 e5 8b 55 08 ec 0f b6 c0 5d c3 55 89 e5 8b
55 08 66 e
<0>Kernel panic - not syncing: Fatal exception in interruptce:
--
~Randy
next prev parent reply other threads:[~2004-10-26 20:13 UTC|newest]
Thread overview: 83+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-22 10:20 2.6.9-mm1 Andrew Morton
2004-10-22 10:39 ` 2.6.9-mm1 Christoph Hellwig
2004-10-22 10:54 ` 2.6.9-mm1 Andrew Morton
2004-10-22 11:08 ` 2.6.9-mm1 Christoph Hellwig
2004-10-22 17:26 ` 2.6.9-mm1 Hans Reiser
2004-10-22 19:34 ` 2.6.9-mm1 Roman Zippel
2004-10-27 11:19 ` 2.6.9-mm1 Christoph Hellwig
2004-10-22 15:54 ` 2.6.9-mm1 Chris Wright
2004-10-22 12:23 ` 2.6.9-mm1 Eyal Lebedinsky
2004-10-22 19:26 ` 2.6.9-mm1 Adrian Bunk
2004-10-22 13:39 ` 2.6.9-mm1: pc_debug multiple definitions Adrian Bunk
2004-10-22 23:07 ` Russell King
2004-10-24 3:41 ` Luis R. Rodriguez
2004-10-24 9:33 ` Adrian Bunk
2004-10-24 10:05 ` Luis R. Rodriguez
2004-10-22 13:43 ` [patch] 2.6.9-mm1: usb/serial/console.c compile error Adrian Bunk
2004-10-22 18:08 ` Greg KH
2004-10-22 13:50 ` 2.6.9-mm1: timer_event multiple definition Adrian Bunk
2004-10-22 15:24 ` Christoph Lameter
2004-10-22 19:16 ` Adrian Bunk
2004-10-22 19:21 ` Christoph Lameter
2004-10-25 23:07 ` George Anzinger
2004-10-25 23:32 ` Christoph Lameter
2004-10-22 13:59 ` [patch] 2.6.9-mm1: ISDN hisax_fcpcipnp.c: kill unused variable Adrian Bunk
2004-10-22 15:30 ` 2.6.9-mm1 Jason Baron
2004-10-22 17:24 ` 2.6.9-mm1 Hans Reiser
2004-10-23 19:01 ` 2.6.9-mm1 Hilzinger Marcel
2004-10-23 19:39 ` 2.6.9-mm1 Andrew Morton
2004-10-23 19:49 ` 2.6.9-mm1 Jan Engelhardt
2004-10-24 17:42 ` 2.6.9-mm1 Alex Zarochentsev
2004-10-23 20:28 ` 2.6.9-mm1 Hans Reiser
2004-10-24 14:41 ` 2.6.9-mm1 Dr. Giovanni A. Orlando
2004-10-24 14:41 ` 2.6.9-mm1 Clifford Beshers
2004-10-24 14:45 ` 2.6.9-mm1 Con Kolivas
2004-10-24 14:54 ` 2.6.9-mm1 Clifford Beshers
2004-10-25 19:52 ` 2.6.9-mm1 Bill Davidsen
2004-10-22 21:06 ` 2.6.9-mm1 (compile stats) John Cherry
2004-10-22 22:22 ` 2.6.9-mm1 Chuck Harding
2004-10-24 18:00 ` 2.6.9-mm1 john cooper
2004-10-25 21:24 ` 2.6.9-mm1 Chuck Harding
2004-10-23 0:12 ` pdc202xx_old broke boot [was Re: 2.6.9-mm1] J.A. Magallon
2004-10-23 0:21 ` Andrew Morton
2004-10-23 0:22 ` J.A. Magallon
2004-10-23 0:34 ` Bartlomiej Zolnierkiewicz
2004-10-27 22:19 ` [PATCH] " J.A. Magallon
2004-10-27 22:42 ` Bartlomiej Zolnierkiewicz
2004-10-23 0:13 ` 2.6.9-mm1 Dominik Karall
2004-10-23 10:37 ` 2.6.9-mm1 Gerd Knorr
2004-10-23 0:44 ` [patch] 2.6.9-mm1: dvb-dibusb.c: remove unused code Adrian Bunk
2004-10-23 10:48 ` Patrick Boettcher
2004-10-23 7:22 ` 2.6.9-mm1 Avuton Olrich
2004-10-23 16:59 ` 2.6.9-mm1 Markus Törnqvist
2004-10-23 22:03 ` 2.6.9-mm1 Kasper Sandberg
2004-10-25 19:54 ` 2.6.9-mm1 Bill Davidsen
2004-10-23 9:08 ` 2.6.9-mm1 Alexander Nyberg
2004-10-24 8:49 ` 2.6.9-mm1 Andrew Morton
2004-10-23 12:06 ` 2.6.9-mm1 Dominik Karall
2004-10-23 14:37 ` 2.6.9-mm1 Adrian Bunk
2004-10-23 15:55 ` 2.6.9-mm1 Hans Reiser
2004-10-23 16:57 ` 2.6.9-mm1 Markus Törnqvist
2004-10-24 2:37 ` 2.6.9-mm1 David Masover
2004-10-24 0:47 ` 2.6.9-mm1 Jan Engelhardt
2004-10-24 5:14 ` 2.6.9-mm1 Hans Reiser
2004-10-24 19:40 ` 2.6.9-mm1 David Masover
2004-10-25 20:07 ` 2.6.9-mm1 Bill Davidsen
2004-10-25 0:12 ` 2.6.9-mm1 J.A. Magallon
2004-10-25 11:47 ` 2.6.9-mm1 Arjan van de Ven
2004-10-25 22:31 ` 2.6.9-mm1 Randy.Dunlap
2004-10-25 22:56 ` 2.6.9-mm1 Andrew Morton
2004-10-25 23:14 ` 2.6.9-mm1 Randy.Dunlap
2004-10-25 23:47 ` 2.6.9-mm1 Andrew Morton
2004-10-25 23:36 ` 2.6.9-mm1 Randy.Dunlap
2004-10-26 1:34 ` 2.6.9-mm1 Bartlomiej Zolnierkiewicz
2004-10-26 3:04 ` 2.6.9-mm1 Randy.Dunlap
2004-10-26 15:48 ` 2.6.9-mm1 Randy.Dunlap
2004-10-26 16:40 ` 2.6.9-mm1 Bartlomiej Zolnierkiewicz
2004-10-26 20:01 ` Randy.Dunlap [this message]
2004-10-26 6:49 ` 2.6.9-mm1 Nigel Cunningham
2004-10-26 17:58 ` 2.6.9-mm1 Alexander Nyberg
2004-10-26 20:19 ` 2.6.9-mm1 Andrew Morton
2004-10-31 4:17 ` 2.6.9-mm1 A little build system bug I guess Pedro Larroy
2004-10-31 8:10 ` Sam Ravnborg
-- strict thread matches above, loose matches on Subject: below --
2004-10-22 20:32 2.6.9-mm1 Matthieu Castet
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=417EAD2F.7040608@osdl.org \
--to=rddunlap@osdl.org \
--cc=akpm@osdl.org \
--cc=bzolnier@gmail.com \
--cc=linux-kernel@vger.kernel.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).