On Sun, May 23, 2010 at 01:35:48PM -0700, Heshmat Ismail wrote: > Hi all, Hi!
> I have built and installed a custom kernel on a freebsd 8.0-RELEASE machine > (host os),then i installed qemu from the packages and used the following > commands:- > # qemu-img create -f qcow2 freebsd.image 10G > # qemu -m 256 -hda freebsd.image -cdrom /dev/acd0 -boot d > # qemu freebsd.image > So, the guest os is the same as the host os and i installed it from the same > DVD (freebsd 8.0-RELEASE). > I face two problems with the guest os (the host os is working fine):- > Problem#1 > When i try to install any packages from the DVD by running > # sysinstall > =>configure=>packages=>Install from freebsd CD/DVD > i got : Error mounting /dev/acd0 on /dist: Input/output error (5). > Problem#2 > I put these lines in /etc/rc.conf: > hald_enable="YES" > dbus_enable="YES" > ifconfig_ed0="DHCP" > but i can not connect to the internet (the above configuration in the host os > works fine).When i use the GENERIC kernel i get no problems.Here are the > differences between the two kernels,the GENERIC and MYKERNEL. > > > # cd /usr/src/sys/i386/conf > # diff -u GENERIC MYKERNEL > -options > CD9660 # ISO 9660 Filesystem > +#options CD9660 # ISO 9660 Filesystem > -device ed # NE[12]000, SMC Ultra, 3c503, DS8390 > +#device ed # NE[12]000, SMC Ultra, 3c503, DS8390 > cards Well you disabled the ISO 9660 fs which explains your Problem#1 and the ed(4) device which explains your Problem#2. And btw, these days there's usually not much point in removing usused drivers from your kernel, it won't boot noticeably faster and the amount of ram/diskspace saved is only relevant in (some) embedded setups. So all that's left is another opportunity to shoot yourself in the foot... :) HTH, Juergen _______________________________________________ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"