Re: FreeBSD/alpha make-release on FreeBSD/i386: dislabel problem

2003-02-16 Thread Makoto Matsushita

phk Not yet.  I think adding a -m architecture flag to disklabel is the
phk way around this problem, but have not had time to do so.

Thanks, I'm waiting until you have enough time to do since I have
little knowledge about this issue:)

BTW, what's changes do you imagine?  Make a table which holds
architecture name, label size, offset, etc and use it in
disklabel.c:makebootarea()?

Maybe it requires some changes in sys/disklabel.h since LABELOFFSET
and other macros are defined inside of architecture-dependent #ifdefs...

-- -
Makoto `MAR' Matsushita

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: FreeBSD/alpha make-release on FreeBSD/i386: dislabel problem

2003-02-16 Thread phk
In message [EMAIL PROTECTED], Makoto Matsushita writes:

phk Not yet.  I think adding a -m architecture flag to disklabel is the
phk way around this problem, but have not had time to do so.

Thanks, I'm waiting until you have enough time to do since I have
little knowledge about this issue:)

BTW, what's changes do you imagine?  Make a table which holds
architecture name, label size, offset, etc and use it in
disklabel.c:makebootarea()?

Something like that.

Maybe it requires some changes in sys/disklabel.h since LABELOFFSET
and other macros are defined inside of architecture-dependent #ifdefs...

Doing this would actually make LABELOFFSET obsolete.

-- 
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer   | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



FreeBSD/alpha make-release on FreeBSD/i386: dislabel problem

2003-02-15 Thread Makoto Matsushita

I've tried to do make release of FreeBSD/alpha on FreeBSD/i386 box
last night, and found that follow error while generating drivers.flp:

+ export BLOCKSIZE=512
+ [ /R/stage/floppies/drivers.flp = -s ]
+ do_size=
+ FSIMG=/R/stage/floppies/drivers.flp
+ shift
+ RD=/R/stage
+ shift
+ MNT=/mnt
+ shift
+ FSSIZE=1440
+ shift
+ FSPROTO=/R/stage/driversfd
+ shift
+ FSINODE=8
+ shift
+ FSLABEL=fd1440
+ shift
+ [ -f /R/stage/trees/base/boot/boot ]
+ BOOT1=-B -b /R/stage/trees/base/boot/boot
+ deadlock=20
+ uname -r
+ dofs_md
+ true
+ rm -f /R/stage/floppies/drivers.flp
+ [ x != x ]
+ dd of=/R/stage/floppies/drivers.flp if=/dev/zero count=1440 bs=1k
+ mdconfig -a -t vnode -f /R/stage/floppies/drivers.flp
+ MDDEVICE=md0
+ [ ! -c /dev/md0 ]
+ disklabel -w -B -b /R/stage/trees/base/boot/boot md0 fd1440
disklabel: bootstrap doesn't leave room for disk label
*** Error code 2

Stop in /usr/src/release.

If my understandings are correct, this is because disklabel(8) kicked
is FreeBSD/i386 native binary which doesn't know about FreeBSD/alpha
disklabel structure or whatever.

Are there any workaround/fix?

-- -
Makoto `MAR' Matsushita

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: FreeBSD/alpha make-release on FreeBSD/i386: dislabel problem

2003-02-15 Thread phk
In message [EMAIL PROTECTED], Makoto Matsushita writes:

I've tried to do make release of FreeBSD/alpha on FreeBSD/i386 box
last night, and found that follow error while generating drivers.flp:

If my understandings are correct, this is because disklabel(8) kicked
is FreeBSD/i386 native binary which doesn't know about FreeBSD/alpha
disklabel structure or whatever.

Are there any workaround/fix?

Not yet.  I think adding a -m architecture flag to disklabel is the
way around this problem, but have not had time to do so.

-- 
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer   | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: FreeBSD/alpha make-release on FreeBSD/i386: dislabel problem

2003-02-15 Thread Wilko Bulte
On Sat, Feb 15, 2003 at 10:37:26PM +0100, [EMAIL PROTECTED] wrote:
 In message [EMAIL PROTECTED], Makoto Matsushita writes:
 
 I've tried to do make release of FreeBSD/alpha on FreeBSD/i386 box
 last night, and found that follow error while generating drivers.flp:
 
 If my understandings are correct, this is because disklabel(8) kicked
 is FreeBSD/i386 native binary which doesn't know about FreeBSD/alpha
 disklabel structure or whatever.
 
 Are there any workaround/fix?
 
 Not yet.  I think adding a -m architecture flag to disklabel is the
 way around this problem, but have not had time to do so.

But now that you have an alpha machine... ;-)
-- 
|   / o / /_  _ [EMAIL PROTECTED]
|/|/ / / /(  (_)  Bulte 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message