From: Oleg Drokin <green@namesys.com>
To: James Stevenson <james@stev.org>
Cc: Jeff Dike <jdike@karaya.com>,
linux-kernel@vger.kernel.org,
user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] uml-patch-2.5.39
Date: Tue, 1 Oct 2002 11:44:54 +0400 [thread overview]
Message-ID: <20021001114454.A27039@namesys.com> (raw)
In-Reply-To: <1033417581.1854.1.camel@god.stev.org>
Hello!
On Mon, Sep 30, 2002 at 09:26:21PM +0100, James Stevenson wrote:
> > The build works again.
> not as far as i can tell.
> just after typing make
> Makefile:363: target `arch/um/os-Linux' given more than once in the same
> rule.
> Makefile:363: target `arch/um/kernel' given more than once in the same
> rule.
> Makefile:363: target `arch/um/drivers' given more than once in the same
> rule.
> Makefile:363: target `arch/um/sys-i386' given more than once in the same
> rule.
> Makefile:533: target `_modinst_arch/um/os-Linux' given more than once in
> the same rule.
> Makefile:533: target `_modinst_arch/um/kernel' given more than once in
> the same rule.
> Makefile:533: target `_modinst_arch/um/drivers' given more than once in
> the same rule.
> Makefile:533: target `_modinst_arch/um/sys-i386' given more than once in
> the same rule.
Here's what I need to apply before I can build bk-current with UML support.
If you use Jeff's patch to 2.5.39, you then only need Makefle part of the patch,
I guess.
Jeff: BTW, UML crashes for me on shutdown quite often, if I have
CONFIG_DEBUG_SLAB enabled. Just before the crash it warns about
winch_interrupt : read failed, errno = 9
fd 57 is losing SIGWINCH support
(this is immediatelly after 'System halted.' message from kernel).
And then kernel mode fault at 0x5a5a5a5e
Bye,
Oleg
===== arch/um/Makefile 1.5 vs edited =====
--- 1.5/arch/um/Makefile Tue Oct 1 10:42:18 2002
+++ edited/arch/um/Makefile Tue Oct 1 11:20:00 2002
@@ -30,11 +30,6 @@
LINK_PROFILE = $(PROFILE) -Wl,--wrap,__monstartup
endif
-ARCH_SUBDIRS = $(ARCH_DIR)/drivers $(ARCH_DIR)/kernel \
- $(ARCH_DIR)/sys-$(SUBARCH) $(ARCH_DIR)/os-$(OS)
-
-SUBDIRS += $(ARCH_SUBDIRS)
-
core-y += $(ARCH_DIR)/kernel/ \
$(ARCH_DIR)/drivers/ \
$(ARCH_DIR)/sys-$(SUBARCH)/
===== arch/um/drivers/ubd_kern.c 1.5 vs edited =====
--- 1.5/arch/um/drivers/ubd_kern.c Tue Oct 1 10:56:09 2002
+++ edited/arch/um/drivers/ubd_kern.c Tue Oct 1 11:33:18 2002
@@ -406,7 +406,7 @@
ubd_gendisk[n].major = MAJOR_NR;
ubd_gendisk[n].first_minor = n << UBD_SHIFT;
ubd_gendisk[n].minor_shift = UBD_SHIFT;
- ubd_gendisk[n].fops = &ubd_fops;
+ ubd_gendisk[n].fops = &ubd_blops;
if (fakehd_set)
sprintf(ubd_gendisk[n].disk_name, "hd%c", n + 'a');
else
@@ -416,7 +416,7 @@
fake_gendisk[n].major = fake_major;
fake_gendisk[n].first_minor = n << UBD_SHIFT;
fake_gendisk[n].minor_shift = UBD_SHIFT;
- fake_gendisk[n].fops = &ubd_fops;
+ fake_gendisk[n].fops = &ubd_blops;
sprintf(fake_gendisk[n].disk_name, "ubd%d", n);
}
@@ -445,7 +445,7 @@
if(real == NULL) return(-1);
ubd_dev[n].real = real;
- make_ide_entries(ubd_gendisk[n].name);
+ make_ide_entries(ubd_gendisk[n].disk_name);
return(0);
}
@@ -863,6 +863,7 @@
return(-EFAULT);
return(0);
}
+ return -ENOTTY;
}
static int ubd_revalidate(kdev_t rdev)
next prev parent reply other threads:[~2002-10-01 7:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-30 19:55 uml-patch-2.5.39 Jeff Dike
2002-09-30 20:26 ` [uml-devel] uml-patch-2.5.39 James Stevenson
2002-10-01 7:44 ` Oleg Drokin [this message]
2002-10-01 18:19 ` Jeff Dike
2002-10-01 18:38 ` Oleg Drokin
2002-10-02 5:54 ` Oleg Drokin
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=20021001114454.A27039@namesys.com \
--to=green@namesys.com \
--cc=james@stev.org \
--cc=jdike@karaya.com \
--cc=linux-kernel@vger.kernel.org \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/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