Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Sep 2000 20:02:38 +0200
From:      Mark Rowlands <mark.rowlands@minmail.net>
To:        freebsd-stable@freebsd.org
Subject:   init: /bin/sh terminates abnormally in /etc/rc Qlogic problem? profiling timer expired
Message-ID:  <00092120103102.01269@marbsd.tninet.se>

next in thread | raw e-mail | index | archive | help
I saw the thread form 6/7 september on profiling timer expired.
I too have a qlogic card! and the same symptom

I have just 

installed 4.1 release
cvsupped as below

and firstly I get a failure at init 

init: /bin/sh terminates abnormally in /etc/rc  exiting to single user mode

secondly after running rc manually I get the profiling timer errors, everything
comes up ok but with the occasional profiling timer error. Booting the old
kernel does not exhibit these errors.

Has any one found a fix: worked out what I screwed up or whatever.?

If someone could even confirm that I have followed the right procedure
for updating from 4.1-Release to stable I would be gratefull.
I have tried #freebsdhelp #freebsd and freebsd-questions without
success.
below is my kernel  / cvsup file / and the procedure I followed.

*default host=cvsup.fi.FreeBSD.org
*default base=/usr
*default prefix=/usr
# The following line is for 4-stable.  If you want 3.x-stable, change
# "RELENG_4" to "RELENG_3".
*default release=cvs tag=RELENG_4
*default delete use-rel-suffix

# If your network link is a T1 or faster, comment out the following line.
*default compress
src-all
ports-all tag=.

ran 

make world
make buildkernel KERNEL=MARK
make installkernel KERNEL=MARK
mergemaster
updated aliases
ran newaliases
Makedev all
reboot

and now /etc/rc aborts inviting me to give the path to /bin/sh

the new kernel has installed ok so what did I miss?......I have obviously
misunderstood /failed to read the right docs. 

at least the  old kernel still boots :-)


new kernel looks like this

# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.8 2000/07/20 02:51:02 msmith Exp $

machine          i386
cpu              I586_CPU
ident            MARK
maxusers         32

#makeoptions     DEBUG=-g                #Build kernel with gdb(1) debug symbols

options          INET                    #InterNETworking
options          FFS                     #Berkeley Fast Filesystem
options          FFS_ROOT                #FFS usable as root device [keep this!]
options          SOFTUPDATES             #Enable FFS soft updates support
options          MFS                     #Memory Filesystem
options          MD_ROOT                         #MD is a potential root device
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=10000        #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 extensions
options          _KPOSIX_PRIORITY_SCHEDULING
options          ICMP_BANDLIM            #Rate limit bad replies
options          KBD_INSTALL_CDEV        # install a CDEV entry in /dev
device           isa
device           pci

# Floppy drives
device           fdc0    at isa? port IO_FD1 irq 6 drq 2
device           fd0     at fdc0 drive 0

# 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
options          ATA_STATIC_ID           #Static device numbering
options          ATA_ENABLE_ATAPI_DMA    #Enable DMA on ATAPI devices

# SCSI Controllers
device           isp             # Qlogic family
# SCSI peripherals
device           scbus           # SCSI bus (required)
device           da              # Direct Access (disks)
device           pass            # Passthrough device (direct SCSI access)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device           atkbdc0         at isa? port IO_KBD
device           atkbd0  at atkbdc? irq 1 flags 0x1
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? flags 0x100

# Floating point support - do not disable.
device           npx0    at nexus? port IO_NPX irq 13


# PCI Ethernet NICs that use the common MII bus controller code.
device           miibus          # MII bus support
device           xl              # 3Com 3c90x (``Boomerang'', ``Cyclone'')


# Pseudo devices - the number indicates how many units to allocated.
pseudo-device    loop            # Network loopback
pseudo-device    ether           # Ethernet support
pseudo-device    tun             # Packet tunnel.
pseudo-device    pty             # Pseudo-ttys (telnet etc)
pseudo-device    md              # Memory "disks"


# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device    bpf     4       #Berkeley packet filter

-- 
These are just my opinions
 you are free to disagree
   please do so quietly


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




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