public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] Help - 2.4.5 SMP doesn't boot (any more)
@ 2001-06-26 13:59 Martin Wilck
  2001-06-26 14:42 ` Keith Owens
  2001-06-26 17:16 ` Martin Wilck
  0 siblings, 2 replies; 3+ messages in thread
From: Martin Wilck @ 2001-06-26 13:59 UTC (permalink / raw)
  To: linux-ia64

Hi,

Yesterday I had 2.4.5 running fine. Since today, I can't boot
the 2.4.5 SMP kernel any more. I get a kernel panic (invalid page
request at 0000000000000010) after SMP is enabled
(actually the last message I see is "trying to unmount old root ...",
but from kdb messages and the fact that uniprocessor 2.4.5 boots, it
is clear that it is a SMP error). The panic happens before syslog
startup, so I can't send a backtrace right now (I do not have
a serial console ready). kdb backtace leaves me in the start_ap
function.

My BIOS has reported "8140 Processor in socket M0 failed FRB level 3
timer" for some time, but that didn't cause problems before and still
doesn't with 2.4.4.

Any ideas?
Thanks,
Martin

-- 
Martin Wilck     <Martin.Wilck@fujitsu-siemens.com>
FSC EP PS DS1, Paderborn      Tel. +49 5251 8 15113





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

* Re: [Linux-ia64] Help - 2.4.5 SMP doesn't boot (any more)
  2001-06-26 13:59 [Linux-ia64] Help - 2.4.5 SMP doesn't boot (any more) Martin Wilck
@ 2001-06-26 14:42 ` Keith Owens
  2001-06-26 17:16 ` Martin Wilck
  1 sibling, 0 replies; 3+ messages in thread
From: Keith Owens @ 2001-06-26 14:42 UTC (permalink / raw)
  To: linux-ia64

On Tue, 26 Jun 2001 15:59:08 +0200 (CEST), 
Martin Wilck <Martin.Wilck@fujitsu-siemens.com> wrote:
>Yesterday I had 2.4.5 running fine. Since today, I can't boot
>the 2.4.5 SMP kernel any more. I get a kernel panic (invalid page
>request at 0000000000000010) after SMP is enabled
>(actually the last message I see is "trying to unmount old root ...",
>but from kdb messages and the fact that uniprocessor 2.4.5 boots, it
>is clear that it is a SMP error).

That sounds like a known bug in 2.4.5 with undefined data in an inode
during root switch.  Fixed in 2.4.6-pre2.  The symptoms can be weird,
other people have blamed it on compilers, it is just luck if the
undefined field causes a problem or not.

Index: 5.1/fs/block_dev.c
--- 5.1/fs/block_dev.c Wed, 23 May 2001 11:55:33 +1000 kaos (linux-2.4/p/b/16_block_dev. 1.2.2.3 644)
+++ 6-pre5.1/fs/block_dev.c Sat, 09 Jun 2001 11:25:53 +1000 kaos (linux-2.4/p/b/16_block_dev. 1.2.2.4 644)
@@ -595,14 +595,15 @@ int check_disk_change(kdev_t dev)
 
 int ioctl_by_bdev(struct block_device *bdev, unsigned cmd, unsigned long arg)
 {
-	kdev_t rdev = to_kdev_t(bdev->bd_dev);
 	struct inode inode_fake;
 	int res;
 	mm_segment_t old_fs = get_fs();
 
 	if (!bdev->bd_op->ioctl)
 		return -EINVAL;
-	inode_fake.i_rdev=rdev;
+	memset(&inode_fake, 0, sizeof(inode_fake));
+	inode_fake.i_rdev = to_kdev_t(bdev->bd_dev);
+	inode_fake.i_bdev = bdev;
 	init_waitqueue_head(&inode_fake.i_wait);
 	set_fs(KERNEL_DS);
 	res = bdev->bd_op->ioctl(&inode_fake, NULL, cmd, arg);



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

* Re: [Linux-ia64] Help - 2.4.5 SMP doesn't boot (any more)
  2001-06-26 13:59 [Linux-ia64] Help - 2.4.5 SMP doesn't boot (any more) Martin Wilck
  2001-06-26 14:42 ` Keith Owens
@ 2001-06-26 17:16 ` Martin Wilck
  1 sibling, 0 replies; 3+ messages in thread
From: Martin Wilck @ 2001-06-26 17:16 UTC (permalink / raw)
  To: linux-ia64

> That sounds like a known bug in 2.4.5 with undefined data in an inode
> during root switch.

Yes, that was it. Thanks!!!
Martin

-- 
Martin Wilck     <Martin.Wilck@fujitsu-siemens.com>
FSC EP PS DS1, Paderborn      Tel. +49 5251 8 15113





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

end of thread, other threads:[~2001-06-26 17:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-26 13:59 [Linux-ia64] Help - 2.4.5 SMP doesn't boot (any more) Martin Wilck
2001-06-26 14:42 ` Keith Owens
2001-06-26 17:16 ` Martin Wilck

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