Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Sep 2000 20:31:25 -0700
From:      Kent Stewart <kstewart@urx.com>
To:        "Tomlinson, Drew" <Drew.Tomlinson@lc.ca.gov>
Cc:        "'FreeBSD Questions (E-mail)'" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Help re: Make Install Kernel=MYKERNEL
Message-ID:  <39C2E98D.34105B6D@urx.com>
References:  <8C224DC088D8D111B67D0000F67AC17E029C4C8C@ldcmsx01.lc.ca.gov>

next in thread | previous in thread | raw e-mail | index | archive | help


> "Tomlinson, Drew" wrote:
> 
> > > "Tomlinson, Drew" wrote:
> > >
> > > > > "Tomlinson, Drew" wrote:
> > > > >
> > > > > I was in the process of compiling a new kernel to upgrade
> from
> > > 4.0-S
> > > > > to 4.1-S.  I have completed the CVSup and built the world.
> Next
> > > I
> > > > > issued "make buildkernel kernel=MYKERNEL" to build the
> kernel.
> > > The
> > > > > next step is to install it but I issued the wrong command.
> I
> > > typed
> > > > > "make install kernel=MYKERNEL" instead of "make
> installkernel
> > > > > kernel=MYKERNEL".  What have I done?  And what do I need to
> do
> > > to
> > > > > get back on track?
> > > >
> > > > I don't think it did any thing. MYKERNEL has to be the name of
> a
> > > > config file located in /sys/i386/conf. I would just try the
> > > > installkernel again.
> > >
> > > In this case, I did substitute a real config file name for
> MYKERNEL
> > > and it did something.  A whole bunch of "install -c ..." things
> and
> > > a lot of copying.  So did I shoot myself in the foot?
> >
> > I doubt it but you never know. I would just do the installkernel
> and
> > redo the installworld. Then, do your mergemaster.
> 
> Ok, I've completed all of the steps and the new kernel boots.
> However, I'm still not sure if I had my kernel config file correct.
> I can't mount my CDROM drive.  And I concerned about the line "isa0:
> too many dependant configs (8)".  Can you see any problems?  My
> kernel config follows the boot messages for your reference.

I don't know about the isa0 either but down below you have a acd0c
CDROM and you should be able to just say "mount /cdrom"

> 
> I know I keep saying thank you but I really do appreciate your help.
> 
> Drew
> 
<snip>
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> isa0: <ISA bus> on motherboard
> isa0: too many dependant configs (8)
> fdc0: <NEC 765 or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
> isa0
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> fd1: <1200-KB 5.25" drive> on fdc0 drive 1
> ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
> ata1 at port 0x170-0x177,0x376 irq 15 on isa0
> atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
> isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x100>
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 16550A, console
> sio1 at port 0x2f8-0x2ff irq 3 on isa0
> sio1: type 16550A
> ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
> ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
> ppc0: FIFO with 16/16/16 bytes threshold
> plip0: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> ed0 at port 0x240-0x25f iomem 0xd8000 irq 9 drq 0 on isa0
> ed0: address 00:40:05:66:b2:55, type NE2000 (16 bit)
> unknown0: <SupraExpress 56i Voice> at port 0x3e8-0x3ef irq 5 on isa0
> 
> unknown1: <WSS/OPL3/SB Pro> at port 0x534-0x537,0-0x3,0x10-0x1f irq
> 11 drq 0,1 o
> n isa0
> unknown2: <GAME PORT> at port 0x200-0x207 on isa0
> unknown3: <4232> at port 0x8-0xf on isa0
> unknown4: <MPU-401> at port 0x330 irq 12 on isa0
> unknown5: <CD-ROM> at port 0x4-0x7 on isa0
> ad0: 814MB <WDC AC2850F> [1654/16/63] at ata0-master using BIOSPIO
> ad1: 814MB <WDC AC2850F> [1654/16/63] at ata0-slave using BIOSPIO
> ad2: 4103MB <ST34342A> [8894/15/63] at ata1-master using BIOSPIO
> acd0: CDROM <CRD-8160B> at ata1-slave using BIOSPIO

At this point you should be able to mount your CDROM unless you need
the following line in your /etc/fstab

/dev/acd0c              /cdrom          cd9660  ro,noauto      
0       0


> Doing initial network setup: hostname domain.
> ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet 192.168.0.5 netmask 0xffffff00 broadcast 192.168.0.255
>         inet6 fe80::240:5ff:fe66:b255%ed0 prefixlen 64 tentative
> scopeid 0x2
>         ether 00:40:05:66:b2:55
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>         inet6 fe80::1%lo0 prefixlen 64 scopeid 0xa
>         inet6 ::1 prefixlen 128
>         inet 127.0.0.1 netmask 0xff000000
> add net default: gateway 192.168.0.254

You have your ed0 NIC now. Can you ping your machine from one of the
other systems? You should be able to use your network at this point.
Your ed0 parameters look good. What about your resolv.conf and hosts?

Kent

> Additional routing options: tcp extensions=NO TCP keepalive=YES.
> routing daemons:.
> additional daemons: syslogd.
> Doing additional network setup: portmap ypserv rpc.yppasswdd.
> Starting final network daemons: nfsiod NFS access cache time=2.
> setting ELF ldconfig path: /usr/lib /usr/lib/compat /usr/X11R6/lib
> /usr/local/li
> b
> setting a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout
> starting standard daemons: inetd cron sendmail.
> Initial rc.i386 initialization:.
> rc.i386 configuring syscons: blank_time.
> additional ABI support:.
> Local package initialization: apache.
> Additional TCP options:.
> Fri Sep 15 16:00:37 PDT 2000
> 
> My kernel config file:
> machine         i386
> #cpu            I386_CPU
> cpu             I486_CPU
> #cpu            I586_CPU
> #cpu            I686_CPU
> ident           BLACKSHEEP
> maxusers        32
> 
> #makeoptions    DEBUG=-g                #Build kernel with gdb(1)
> debug symbols
> 
> #options        MATH_EMULATE            #Support for x87 emulation
> options         INET                    #InterNETworking
> options         INET6                   #IPv6 communications
> protocols
> options         FFS                     #Berkeley Fast Filesystem
> options         FFS_ROOT                #FFS usable as root device
> [keep this!]
> options         MFS                     #Memory Filesystem
> options         MD_ROOT                 #MD is a potential root
> device
> options         NFS                     #Network Filesystem
> options         NFS_ROOT                #NFS usable as root device,
> NFS required
> #options        MSDOSFS                 #MSDOS Filesystem
> options         CD9660                  #ISO 9660 Filesystem
> options         CD9660_ROOT             #CD-ROM usable as root,
> CD9660 required
> options         PROCFS                  #Process filesystem
> options         COMPAT_43               #Compatible with BSD 4.3
> [KEEP THIS!]
> options         SCSI_DELAY=15000        #Delay (in ms) before
> probing SCSI
> options         UCONSOLE                #Allow users to grab the
> console
> options         USERCONFIG              #boot -c editor
> options         VISUAL_USERCONFIG       #visual boot -c editor
> options         KTRACE                  #ktrace(1) support
> options         SYSVSHM                 #SYSV-style shared memory
> options         SYSVMSG                 #SYSV-style message queues
> options         SYSVSEM                 #SYSV-style semaphores
> options         P1003_1B                #Posix P1003_1B real-time
> extentions
> options         _KPOSIX_PRIORITY_SCHEDULING
> options         ICMP_BANDLIM            #Rate limit bad replies
> 
> # To make an SMP kernel, the next two are needed
> #options        SMP                     # Symmetric MultiProcessor
> Kernel
> #options        APIC_IO                 # Symmetric (APIC) I/O
> # Optionally these may need tweaked, (defaults shown):
> #options        NCPU=2                  # number of CPUs
> #options        NBUS=4                  # number of busses
> #options        NAPIC=1                 # number of IO APICs
> #options        NINTR=24                # number of INTs
> 
> device          isa
> #device         eisa
> #device         pci
> 
> # Floppy drives
> device          fdc0    at isa? port IO_FD1 irq 6 drq 2
> device          fd0     at fdc0 drive 0
> device          fd1     at fdc0 drive 1
> 
> # ATA and ATAPI devices
> device          ata0    at isa? port IO_WD1 irq 14
> device          ata1    at isa? port IO_WD2 irq 15
> device          ata
> device          atadisk                 # ATA disk drives
> device          atapicd                 # ATAPI CDROM drives
> device          atapifd                 # ATAPI floppy drives
> #device         atapist                 # ATAPI tape drives
> #options        ATA_STATIC_ID           #Static device numbering
> options         ATA_ENABLE_ATAPI_DMA    #Enable DMA on ATAPI devices
> 
> # SCSI Controllers
> ...All commented out...
> 
> # SCSI peripherals
> ...All commented out...
> 
> # RAID controllers
> ...All commented out...
> 
> # atkbdc0 controls both the keyboard and the PS/2 mouse
> device          atkbdc0 at isa? port IO_KBD
> device          atkbd0  at atkbdc? irq 1
> #device         psm0    at atkbdc? irq 12
> 
> device          vga0    at isa?
> 
> # splash screen/screen saver
> pseudo-device   splash
> 
> # syscons is the default console driver, resembling an SCO console
> device          sc0     at isa?
> 
> # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console
> driver
> #device         vt0     at isa?
> #options        XSERVER                 # support for X server on a
> vt console
> #options        FAT_CURSOR              # start with block cursor
> # If you have a ThinkPAD, uncomment this along with the rest of the
> PCVT lines
> #options        PCVT_SCANSET=2          # IBM keyboards are non-std
> 
> # Floating point support - do not disable.
> device          npx0    at nexus? port IO_NPX irq 13
> 
> # Power management support (see LINT for more options)
> #device         apm0    at nexus? disable flags 0x20 # Advanced
> Power Management
> 
> # PCCARD (PCMCIA) support
> ...All commented out...
> 
> # Serial (COM) ports
> device          sio0    at isa? port IO_COM1 flags 0x10 irq 4
> device          sio1    at isa? port IO_COM2 irq 3
> #device         sio2    at isa? disable port IO_COM3 irq 5
> #device         sio3    at isa? disable port IO_COM4 irq 9
> 
> # Parallel port
> device          ppc0    at isa? irq 7
> device          ppbus           # Parallel port bus (required)
> device          lpt             # Printer
> device          plip            # TCP/IP over parallel
> device          ppi             # Parallel port interface device
> #device         vpo             # Requires scbus and da
> 
> # PCI Ethernet NICs.
> ...All commented out...
> 
> # PCI Ethernet NICs that use the common MII bus controller code.
> ...All commented out...
> 
> # ISA Ethernet NICs.
> device          ed0     at isa? port 0x280 irq 10 iomem 0xd8000
> #device         ex
> #device         ep
> # WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
> # exists only as a PCMCIA device, so there is no ISA attatement
> needed
> # and resources will always be dynamically assigned by the pccard
> code.
> #device         wi
> # Aironet 4500/4800 802.11 wireless NICs. Note: the declaration
> below will
> # work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
> 
> # mode (the factory default). If you set the switches on your ISA
> # card for a manually chosen I/O address and IRQ, you must specify
> # those paremeters here.
> #device         an
> # The probe order of these is presently determined by i386/isa/isa_compat.c.

You have some excess stuff here

>
> device          ie0     at isa? port 0x300 irq 10 iomem 0xd0000
> device          fe0     at isa? port 0x300
> device          le0     at isa? port 0x300 irq 5 iomem 0xd0000
> device          lnc0    at isa? port 0x280 irq 10 drq 0
> device          cs0     at isa? port 0x300
> device          sn0     at isa? port 0x300 irq 10
> # requires PCCARD (PCMCIA) support to be activated
> #device         xe0     at isa?
> 
> # Pseudo devices - the number indicates how many units to allocated.
> 
> pseudo-device   loop            # Network loopback
> pseudo-device   ether           # Ethernet support
> pseudo-device   sl      1       # Kernel SLIP
> pseudo-device   ppp     1       # Kernel PPP
> pseudo-device   tun             # Packet tunnel.
> pseudo-device   pty             # Pseudo-ttys (telnet etc)
> pseudo-device   md              # Memory "disks"
> pseudo-device   gif     4       # IPv6 and IPv4 tunneling
> pseudo-device   faith   1       # IPv6-to-IPv4 relaying
> (translation)
> 
> # The `bpf' pseudo-device enables the Berkeley Packet Filter.
> # Be aware of the administrative consequences of enabling this!
> pseudo-device   bpf             #Berkeley packet filter
> 
> # USB support
> ...All commented out...
> 
> # USB Ethernet, requires mii
> ...All commented out...

I would comment out all of the IPv6 stuff. What is your network status
at this point?

Kent

-- 
Kent Stewart
Richland, WA

mailto:kbstew99@hotmail.com
http://kstewart.urx.com/kstewart/index.html
FreeBSD News http://daily.daemonnews.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39C2E98D.34105B6D>