mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Samuel Flory <sflory@rackable.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.4.20-pre2-ac4 oops at boot
Date: 20 Aug 2002 00:46:18 +0100	[thread overview]
Message-ID: <1029800778.21212.8.camel@irongate.swansea.linux.org.uk> (raw)
In-Reply-To: <1029797620.5308.73.camel@flory.corp.rackablelabs.com>

[-- Attachment #1: Type: text/plain, Size: 982 bytes --]

On Mon, 2002-08-19 at 23:53, Samuel Flory wrote:
>   I've been having problem with the ac kernels, and tyan 2720. (Dual
> xeon E7500 chipset.) Under 2.4.20-pre2-ac4 it spews a bunch of "Trying
> to free nonexistent resource" when initializing the ide interface, and

Those are on my fix list but harmless

> dies.  Under 2.4.19-ac4 the system netboots, but oops when I attempt to
> create a filesystem on a 3ware controller.  Under 2.4.19 the system

2.4.19-ac4 balancing oops is fixed (I turned it off)


> ksymoops 2.4.4 on i686 2.4.20-pre2-ac3.  Options used
>      -v /stuff/src/linux-2.4.20-pre2-ac4/vmlinux (specified)
>      -K (specified)
>      -L (specified)
>      -O (specified)
>      -m /boot/System.map-2.4.20-pre2-ac4 (specified)
> 

Ok random crap code. You had no pci_host_proc_list and that rather upset
things. This converts the failing code it into something resembling same
programming I hope and should fix your boot

Please let me know if it fixes the bug



[-- Attachment #2: a1 --]
[-- Type: text/plain, Size: 704 bytes --]

--- drivers/ide/ide-proc.c~	2002-08-20 00:48:53.000000000 +0100
+++ drivers/ide/ide-proc.c	2002-08-20 00:48:53.000000000 +0100
@@ -914,11 +914,14 @@
 				proc_ide_read_drivers, NULL);
 
 #ifdef CONFIG_BLK_DEV_IDEPCI
-	while ((p->name != NULL) && (p->set) && (p->get_info != NULL)) {
-		p->parent = proc_ide_root;
-		create_proc_info_entry(p->name, 0, p->parent, p->get_info);
-		p->set = 2;
-		if (p->next == NULL) return;
+	while (p != NULL)
+	{
+		if (p->name != NULL && p->set && p->get_info != NULL) 
+		{
+			p->parent = proc_ide_root;
+			create_proc_info_entry(p->name, 0, p->parent, p->get_info);
+			p->set = 2;
+		}
 		p = p->next;
 	}
 #endif /* CONFIG_BLK_DEV_IDEPCI */

  reply	other threads:[~2002-08-19 23:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-19 22:53 Samuel Flory
2002-08-19 23:46 ` Alan Cox [this message]
2002-08-20 17:38   ` Samuel Flory

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=1029800778.21212.8.camel@irongate.swansea.linux.org.uk \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sflory@rackable.com \
    /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

all inboxes | Powered by JetHome®