From owner-freebsd-questions@FreeBSD.ORG Wed Apr 1 18:48:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E5F6106566C for ; Wed, 1 Apr 2009 18:48:22 +0000 (UTC) (envelope-from kayvey@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.169]) by mx1.freebsd.org (Postfix) with ESMTP id D0A088FC0A for ; Wed, 1 Apr 2009 18:48:21 +0000 (UTC) (envelope-from kayvey@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so168006wfg.7 for ; Wed, 01 Apr 2009 11:48:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=CsX2DpJ+bOesvUJiehPT6gtLHH48Xpg67f9jGYBwNNM=; b=aeaRIbxQQ5NkEq4Ll2g2c+4hyZWXHGvtpDgS41z6mfJaG4f38ezGWTBmeT6bZhkD8x vRAPBjrM/ZKcn5ECc8tVV414Lscv+O8rDe5vRwlLm6NsGyvHfqvib9V1sMksPa3O0rTH tVDrxPeHt35j0Vz+62jUBOwwPbmVAv3t831gQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Y2dGxQBQu1HW6TlzOGnIXe2lSTYOq9yIItyjPQjnymhN9ecgR5oUMtrv7m/RYxh3dc hmfh5osp1+ydqljj5Izo4m7jFs2tONf0fEQ17q4jGMsRddNSnzRTE4WPk9q9m/wWfFWI g1+Lc1aEFBgimIMxrOAAfgYyDz7R+fXk93omE= MIME-Version: 1.0 Received: by 10.143.2.20 with SMTP id e20mr3219157wfi.269.1238611701070; Wed, 01 Apr 2009 11:48:21 -0700 (PDT) In-Reply-To: <28b9b4180904010738r2319ed28ib6c8361ee5c22151@mail.gmail.com> References: <28b9b4180904010738r2319ed28ib6c8361ee5c22151@mail.gmail.com> Date: Wed, 1 Apr 2009 11:48:20 -0700 Message-ID: <28b9b4180904011148w61b6026fn1ba1a88c742ae742@mail.gmail.com> From: Kayven Riese To: freebsd-questions@freebsd.org Content-Type: multipart/mixed; boundary=001636e90f8c74fdcc046682c26c X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: make installkernel NDIS disaster X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Apr 2009 18:48:22 -0000 --001636e90f8c74fdcc046682c26c Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 2009/4/1 Kayven Riese > > I was trying to get my DVD burner working on FreeBSD 7.0 and I followed > some advice about > installing a kernel and for some reason I got some NDIS errors. I don't > know why NDIS reared its > apparently ugly head, but it caused a terrible error. I was able to > make buildkernel .. well.. actually > I guess I wasn't. I think the attached file, "makesplat.log" which is a > typescript of the make buildkernel > command and should have at least one pwd in it, should show what happened. > > > I booted up and strange antimultitasking things happened. One application > at a time commandiered the > window manager or something. I lost the Gnome "Applications Places System" > window and it got > replaced with whatever app's menu system was "File .." I tried make > installkernel which I guess was > stupid because the other make failed. "makeinstallkernel.log" is a > typescript similar to "makesplat.log" > but of a make installkernel KERNCONF=KAYVE_KERN (my kernel file) > > Hence, I popped in my old "clunky" hard disk with 60 GB but reliably runs > FreeBSD. Here is a bunch > of pictures of that operation in case it is not completely clear: > > http://www.monkeyview.net/id/965/fsck/swap/index.vhtml > > I am running this disk now so I can mount the othere data. This 60 GB disk > runs > > # uname -a > FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC > 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 > # > > I had been trying to follow these directions: > > gheist : > You have to install SCSI over ATAPI driver. GENERIC kernel does not have > one. Only burncd in base system can use acd driver for burning CD/DVD, > others do use SCSI cd driver > > Create a file with following content in /usr/src/sys/i386/conf: > > include GENERIC > > ident KAYVEY > nocpu I486_CPU > nocpu I586_CPU > > options SMP > device atapicam > nodevice acd > > -- > Then run config NEW_FILE > > Go into kernel build directory run > make cleandepend ; make depend ; make && make install > > The new kernel will let you use cd0 device. > acd0 is gone for good - update /etc/fstab accordingly. > > > Here is a bit of makesplat for that failure (I think this is the end of > "makesplat.log") > > > nstall -o root -g wheel -m 555 if_lagg.ko /boot/kernel > install -o root -g wheel -m 555 if_lagg.ko.symbols /boot/kernel > ===> if_ndis (install) > install -o root -g wheel -m 555 if_ndis.ko /boot/kernel > install: if_ndis.ko: No such file or directory > *** Error code 71 > > Stop in /usr/src/sys/modules/if_ndis. > *** Error code 1 > > Stop in /usr/src/sys/modules. > *** Error code 1 > > Stop in /usr/src/sys/i386/compile/KAYVE_KERN. > KV_BSD# exit > > Script done, output file is makesplat.log > KV_BSD# > > .configure_done.scid._usr_local scid-3.6.1 > KV_BSD# uname -a > FreeBSD KV_BSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC > 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > KV_BSD# > > This information from when I was booting up on the other disk should be > useful: > > KAYVE_KERN: 9 lines, 102 characters. > KV_BSD# pwd > /usr/src/sys/i386/conf > KV_BSD# cate KAYVE_KERN > zsh: command not found: cate > KV_BSD# cat KAYVE_KERN > include GENERIC > > ident KAYVEY > nocpu I486_CPU > nocpu I586_CPU > > options SMP > device atapicam > nodevice acd > KV_BSD# > > > I guess this happened later: > > ACPI FAILURE AGAIN!!! > > n.o acpi_isab.o acpi_package.o acpi_pci.o acpi_pcib.o acpi_pcib_acpi.o > acpi_pcib_pci.o acpi_powerres.o acpi_quirk.o acpi_resource.o acpi_timer.o > acpi_pci_link.o acpi_thermal.o acpi_acad.o acpi_battery.o acpi_cmbat.o > acpi_cpu.o acpi_ec.o acpi_hpet.o acpi_lid.o acpi_perf.o acpi_smbat.o > acpi_throttle.o OsdDebug.o OsdHardware.o OsdInterrupt.o OsdMemory.o > OsdSchedule.o OsdStream.o OsdSynch.o OsdTable.o OsdEnvironment.o > acpi_machdep.o acpi_wakeup.o madt.o assym.o > assym.o: file not recognized: File format not recognized > *** Error code 1 > > Stop in /usr/src/sys/modules/acpi/acpi. > *** Error code 1 > > Stop in /usr/src/sys/modules/acpi. > *** Error code 1 > > Stop in /usr/src/sys/modules. > *** Error code 1 > > Stop in /usr/src/sys/i386/compile/KAYVE_KERN. > KV_BSD# > > Oh jeez. I was trying to get the kernel config file I made.. but I am not > sure what is happening now > > > # ls /mnt/nexstar/src/sys > ls: /mnt/nexstar/src/sys: Device not configured > # > > I mounted the disk that I want to boot on on "/mnt/nexstar" actually that > is the /usr directory of the other > disk (how confusing) I am really confused right now about the filesystem. > > Oh well. I hope that's enough information for now. Sorry.{:( > # ls /mnt > drive nexstar nexusr pix root tmp usr var vista > xcraft > # ls /mnt/nexstar > .snap games libdata obj src > X11R6 home libexec ports > bin include local sbin > compat lib lost+found share > # ls /mnt/nexstar/src > COPYRIGHT include > LOCKS kerberos5 > MAINTAINERS lib > Makefile libexec > Makefile.inc1 makeinstallkernel.log > ObsoleteFiles.inc makesplat.log > README patch_ndisusb_20080724.diff > UPDATING release > bin rescue > cddl sbin > compat secure > contrib share > crypto sys > etc tools > games usr.bin > gnu usr.sbin > # ls /mnt/nexstar/src/sys > ls: /mnt/nexstar/src/sys: Device not configured > # ls /mnt/usr > # > > > > > > *----------------------------------------------------------* > Kayven Riese, BSCS, > MS (Physiology and Biophysics) > (415) 902 5513 cellular > http://kayve.net > Webmaster http://ChessYoga.org > *----------------------------------------------------------* > > > > -- *----------------------------------------------------------* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *----------------------------------------------------------* --001636e90f8c74fdcc046682c26c--