Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Apr 2009 11:48:20 -0700
From:      Kayven Riese <kayvey@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: make installkernel NDIS disaster
Message-ID:  <28b9b4180904011148w61b6026fn1ba1a88c742ae742@mail.gmail.com>
In-Reply-To: <28b9b4180904010738r2319ed28ib6c8361ee5c22151@mail.gmail.com>
References:  <28b9b4180904010738r2319ed28ib6c8361ee5c22151@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--001636e90f8c74fdcc046682c26c
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

2009/4/1 Kayven Riese <kayvey@gmail.com>

>
> 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 <http://www.experts-exchange.com/M_1079061.html>:
>  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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?28b9b4180904011148w61b6026fn1ba1a88c742ae742>