Make release fails on mdconfig

2007-12-04 Thread Marco Walraven
Hi All,

I have been doing some release builds overhere with success, however lately the 
builds fail on mdconfig with the following error:

+ mdconfig -a -t vnode -f /R/stage/mfsroot/mfsroot
mdconfig: failed to load geom_md module: No such file or directory
+ MDDEVICE=
*** Error code 1

Looking at the chrooted environment I see that /boot/kernels is not populated 
whereas in old builds it is. If I install a kernel into the chrooted 
environment using 'make installkernel DESTDIR=/dir_to_chroot' and run a 'make 
rerelease' mdconfig happily accepts it and the make release builds 
successfully.  The kernel I run has support for mdconfig; I can use memory 
disks without problems.

Any clue why this fails in the first place ?


Script output for release.8 target:

touch release.7
cp /R/stage/trees/base/etc/disktab /etc
rm -rf /R/stage/mfsfd
mkdir /R/stage/mfsfd
cd /R/stage/mfsfd &&  mkdir -p etc/defaults dev mnt stand/etc/defaults 
stand/help  var/empty
( cd /R/stage/mfsfd &&  for dir in bin sbin ; do  ln -sf /stand $dir;  done )
cp /R/stage/trees/base/sbin/dhclient-script /R/stage/mfsfd/stand
cp /usr/src/release/../etc/usbd.conf /R/stage/mfsfd/etc/usbd.conf
cp /usr/src/release/../etc/master.passwd /R/stage/mfsfd/etc/master.passwd
cp /R/stage/trees/base/etc/*pwd.db /R/stage/mfsfd/etc/
( for F in defaults/rc.conf netconfig protocols ; do  sed -e '/^#.*$/d' -e 
's/[:space:]*#.*$//g'  /R/stage/trees/base/etc/$F > /R/stage/mfsfd/stand/etc/$F 
;  done )
grep -E '^(ftp|nameserver|domain|sunrpc|cmd|nfsd)[^-\w]'  
/R/stage/trees/base/etc/services |  sed -e '/^#.*$/d' -e 's/[:space:]*#.*$//g'  
> /R/stage/mfsfd/stand/etc/services
grep 'operator' /R/stage/trees/base/etc/group  > /R/stage/mfsfd/stand/etc/group
ln /R/stage/mfsfd/stand/etc/services /R/stage/mfsfd/etc/services
ln /R/stage/mfsfd/stand/etc/group /R/stage/mfsfd/etc/group
ln /R/stage/mfsfd/stand/etc/netconfig /R/stage/mfsfd/etc/netconfig
cp /R/stage/trees/base/COPYRIGHT /R/stage/mfsfd/stand/help/COPYRIGHT.hlp
test -f /usr/src/release/install.cfg  && cp /usr/src/release/install.cfg 
/R/stage/mfsfd
*** Error code 1 (ignored)
sh -e /usr/src/release/scripts/doFS.sh bsdlabel "" /R/stage/mfsroot/mfsroot 
/R/stage /mnt  4320 /R/stage/mfsfd 8000 minimum3
+ export BLOCKSIZE=512
+ DISKLABEL=bsdlabel
+ shift
+ MACHINE=
+ shift
+ FSIMG=/R/stage/mfsroot/mfsroot
+ shift
+ RD=/R/stage
+ shift
+ MNT=/mnt
+ shift
+ FSSIZE=4320
+ shift
+ FSPROTO=/R/stage/mfsfd
+ shift
+ FSINODE=8000
+ shift
+ FSLABEL=minimum3
+ shift
+ [ 4320 -eq 0 -a minimum3 = auto ]
+ rm -f /R/stage/mfsroot/mfsroot
+ dd of=/R/stage/mfsroot/mfsroot if=/dev/zero count=4320 bs=1k
+ uname -r
+ [ -f /R/stage/trees/base/boot/boot ]
+ BOOT=-B -b /R/stage/trees/base/boot/boot
+ dofs_md
+ [ x != x ]
+ mdconfig -a -t vnode -f /R/stage/mfsroot/mfsroot
mdconfig: failed to load geom_md module: No such file or directory
+ MDDEVICE=
*** Error code 1

Stop in /usr/src/release.
+ umount /dev
*** Error code 1

Stop in /data/RELENG_6/release.



Regards,

Marco Walraven


-- 
 Terantula - Industrial Strength Open Source
 phone:+31 64 3232 400 / www: http://www.terantula.com / pgpkey: E7EE7A46
 pgp fingerprint: F2EE 122D 964C DE68 7380 6F95 3710 7719 E7EE 7A46 
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


kernel config for networking

2007-12-04 Thread Chuck Robey
I've been having problems trying to get the onboard networking to work 
with this Asus Striker Extreme ever since I first put FreeBSD-current on 
it.  Right now, I have a cheapy junk-pile card that probes as a dc0 
working, but my motherboard has two nfe's (nfe0 & nfe1) that show up on 
the desmg.  If I use ifconfig and activate them, the whole machine comes 
to a complete halt (complete, neither console nor ssh sessions work, 
machine is dead to the world apparently) and this starts whenever I use 
ifconfig to turn up either nfe0 or nfe1.


I've complained before, but a new possibility occurred to me, while I 
was slowly reading the NOTES in /sys/i386/conf, that the networking 
stuff is very sensitive to order.  Is that still true?  If I have a dc 
device and a nfe device, do I need to be aware of anything as regards 
the config file statement order?


Thanks
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: kernel config for networking

2007-12-04 Thread Julian H. Stacey
> it.  Right now, I have a cheapy junk-pile card that probes as a dc0 
> working, but my motherboard has two nfe's (nfe0 & nfe1) that show up on 
> the desmg.  If I use ifconfig and activate them, the whole machine comes 
> to a complete halt (complete, neither console nor ssh sessions work, 
> machine is dead to the world apparently) and this starts whenever I use 
> ifconfig to turn up either nfe0 or nfe1.
> 
> I've complained before, but a new possibility occurred to me, while I 
> was slowly reading the NOTES in /sys/i386/conf, that the networking 
> stuff is very sensitive to order.  Is that still true?  If I have a dc 
> device and a nfe device, do I need to be aware of anything as regards 
> the config file statement order?

I always preserve kernel ordering same as GENERIC, costs little time
& can save agro/ risk. If that doesnt fix it, maybe try nve for comparison
(thoug of course nasty binary), here's an extravt from a mail:


Old driver was called NVE,
   - Ran at 100 Mbit/s but falsely reported running at 10.
   - Was based on common binary only code common to Microsoft Linux & BSD.
For FreeBSD-6.2-RELEASE
New NFE driver available some months
as a set of source patches, steadily improving.
FreeBSD-7.0-RELEASE (out soon) will have NFE & NVE inbuilt.
( FreeBSD-7.0-BETA3 has it already )
FreeBSD-6.3-RELEASE (out soon, same time as 7.0 ) will Not have NFE inbuilt
---

Pyun YongHyeon <[EMAIL PROTECTED]> has posted stuff to stable@ on nfe
Message-id: <[EMAIL PROTECTED]>
BTW Search engine on www.freebsd.org hsnt been good for Message-IDs for
months, google is better (Open & Net use google not own, maybe FreeBSD should)

http://docs.FreeBSD.org/cgi/mid.cgi?20071027030921.GC25452

-- 
Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com
Ihr Rauch = mein allergischer Kopfschmerz. Dump cigs 4 snuff.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"