From: "barry" Subject: Minor bugs in latest code drop Date: Mon, 5 Apr 2004 10:45:41 -0400 Sender: xen-devel-admin@lists.sourceforge.net Message-ID: <000301c41b1c$ab405210$a622f6c7@sauron> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0004_01C41AFB.2431BF50" Return-path: Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. ------=_NextPart_000_0004_01C41AFB.2431BF50 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit I have a couple of minor bugs in the latest code (with nodev=y). 1) The arch/i386/Rules.mk specifies -Werror -, and a few modules have warnings (might be my gcc version [3.3.2].). E.G. "gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -O3 -iwithprefix include -Wall -DMONITOR_BASE=0xFC500000 -fomit-frame-pointer -I/home/barry/xen/xen/include -D__KERNEL__ -Wno-pointer-arith -Wredundant-decls -m32 -march=i686 -DNDEBUG -DNO_DEVICES_IN_XEN -c schedule.c -o schedule.o schedule.c:666: warning: `process_timeout' defined but not used" I fixed the problem by removing -Werror from Rules.mk 2) in setup.c - with nodev=y, in my environment I have no modules that have any __init code in them. The do_initcalls routine doesn't work properly in this case, and tries to call the first one before checking that there are no more. I fixed the problem by moving the do_initcalls into the conditional code for handling devices. I am not sure why you are not seeing the same problem. ------=_NextPart_000_0004_01C41AFB.2431BF50 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

I have a couple of minor bugs in the latest code = (with nodev=3Dy).

 

1)       = The arch/i386/Rules.mk specifies –Werror = -, and a few modules have warnings (might be my gcc = version [3.3.2]…). E.G.

“gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -O3 -iwithprefix include -Wall -DMONITOR_BASE=3D0xFC500000 -fomit-frame-pointer -I/home/barry/xen/xen/include -D__KERNEL__ = -Wno-pointer-arith -Wredundant-decls -m32 -march=3Di686 -DNDEBUG -DNO_DEVICES_IN_XEN -c schedule.c -o schedule.o

schedule.c:666: warning: `process_timeout' defined but not used”

 

I fixed the problem by removing –Werror from Rules.mk

 

      2)  in = setup.c – with nodev=3Dy, in my environment I have no modules that have any __init code in them. The = do_initcalls routine doesn’t work properly = in this case, and tries to call the first one before checking that there are no = more… I fixed the problem by moving the do_initcalls into the conditional code for handling devices. I am not sure why you are not = seeing the same problem.

 

 

------=_NextPart_000_0004_01C41AFB.2431BF50-- ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click