Boot hangs indefinitely on cd1: Attempt to query device size failed: NOT READY, Medium not present

inurneck inurneck at gmail.com
Fri Jan 29 04:41:56 UTC 2010


Hello, greeting salutions,  all that jive;

It's only been about a week i'd say since I last supped current code and
went in a kernel with my config and booted up fine. My questiion s then
within the last week what did you guys commit that would make my box
dndefinitely hang on cd1: Attempt to query device size failed: NOT READY,
Medium not present
? I waited about 2 minutes and it still just stayed there, I cant change t
oany other consoles yet or do anything. My kernel config although custom
should not be an issue as Ive been in it for several months and have had a
stable OS. But here it is none the less. Thanks for any help on this as I
like to keep current and watch you guys do good work..

###############################################################################
###############################################################################
# What am I ?
cpu I686_CPU
machine i386
ident core
maxusers 256

# To make an SMP kernel, the next lines are wanted.
device cpufreq # CPU frequency scaling.
options SMP # Symmetric MultiProcessor Kernel.
device apic # Symmetric (APIC) I/O.
device acpi # Support for ACPI.
device nvram # Access to rtc cmos.

# Linux compatibility.
options COMPAT_LINUX
options LINPROCFS # Linux /proc fs support.
options INCLUDE_CONFIG_FILE # Learned this the hard way.

# Bus support.
device pci # PCI BUS support.
device agp # AGP support.

# Floppy drive.
device fdc # Floppy drive controller.

# SoundBlaster Audigy2 XS.
device sound # Support for sound.
device snd_emu10k1 # Support for the card.

# Video card.
device drm # DRM core module required by DRM drivers.
device mach64drm # DRM for mach64.
device radeondrm # DRM for ATI Radeon.

# Keyboard and USB.
device ohci # OHCI PCI->USB interface.
device uhci # UHCI for USB.
device ehci # EHCI for USB.
device usb # USB Bus (required).
device umass # USB mass storage.
device ums # USB mouse.
device ukbd # USB Keyboard.
device uhid # UHID for USB.
device atkbdc # AT keyboard controller.
device atkbd # AT keyboard.

device kbdmux # Keyboard multiplexer.
device psm # PS/2 Mouse.

# Video, graphic and console settings.
device vga # VGA video card driver.
device vesa # Vesa.
device splash # Splash screen and screen saver support.
device sc # Default console driver.
options SC_PIXEL_MODE # Support for SC_PIXEL.
options SC_NORM_ATTR="(FG_RED|BG_BLACK)"
options SC_NORM_REV_ATTR="(FG_BLACK|BG_LIGHTGREY)"
options SC_KERNEL_CONS_ATTR="(FG_YELLOW|BG_BLUE)"
options SC_KERNEL_CONS_REV_ATTR="(FG_BLUE|BG_LIGHTGREY)"

# Pseudo devices.
device loop # Network loopback.
device random # Entropy device.
device ether # Ethernet support.
device pty # BSD-style compatibility pseudo ttys.
device md # Memory "disks".
device firmware # firmware assist module.

# NETWORKING devices and PF FIREWALL.
device miibus # MII bus support need this for fxp.
device fxp # Intel EtherExpress PRO/100B (82557, 82558).
device bpf # Berkeley packet filter.
device pf # OpenBSD packet filter.
device pflog # logging.
device pfsync # Sync.
options ALTQ # Altq support.
options ALTQ_CBQ # Class Bases Queuing (CBQ).
options ALTQ_RED # Random Early Detection (RED).
options ALTQ_RIO # RED In/Out.
options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC).
options ALTQ_PRIQ # Priority Queuing (PRIQ).
options ALTQ_NOPCC # Required for SMP build.
options HZ=1000 # HZ.
options DEVICE_POLLING # Support for polling.
options IPSTEALTH
options SHMSEG=16
options SHMMNI=32
options SHMMAX=2097152
options SHMALL=4096
options MAXFILES=8192

# Some stock options I have not gone through completely yet.
options SCHED_ULE # ULE scheduler.

options FULL_PREEMPTION # Full preemption.
options PREEMPTION # Enable kernel thread preemption.
options IPI_PREEMPTION # current.
options COUNT_IPIS # Per-CPU IPI interrupt counters
options AUTO_EOI_1 # current.
options AUTO_EOI_2 # current.
options INET # InterNETworking.
options FFS # Berkeley Fast Filesystem.
options SOFTUPDATES # Enable FFS soft updates support.
options UFS_ACL # Support for access control lists.
options UFS_DIRHASH # Improve performance on big directories.
options UFS_GJOURNAL # Enable gjournal-based UFS journaling.
options MD_ROOT # MD is a potential root device.
options CD9660 # ISO 9660 Filesystem.
options PROCFS # Process filesystem (requires PSEUDOFS).
options PSEUDOFS # Pseudo-filesystem framework.
options MSDOSFS # Support for msdos FS. Needed this for USBSTICK.
options GEOM_PART_GPT # GUID Partition Tables.
options GEOM_LABEL # Provides labelization.
options STACK # stack(9) support.
options SYSVSHM # SYSV-style shared memory.
options SYSVMSG # SYSV-style message queues.
options SYSVSEM # SYSV-style semaphores.
options P1003_1B_SEMAPHORES # POSIX-style semaphores.
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions.
options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed.
options AUDIT # Security event auditing.
options MAC # TrustedBSD MAC Framework.
options FLOWTABLE # per-cpu routing cache.

# SCSI, RAID devices and a pleuthora of options for debugging them.
device ahc # Adaptec aic78xx.
device aac # Perc2/SI.
device aacp # SCSI Passthrough interface (optional, CAM required).
device pass # Passthrough device (direct SCSI access).
device da # Direct Access (disks). Needed this for USBSTICK.
device scbus # SCSI bus (required for SCSI).
device cd # Only need one. Code dynamically grows.
device sg # Linux SCSI SG passthrough device.

# SCSI_DELAY: The number of MILLISECONDS to freeze the SIM (scsi adapter).
options SCSI_DELAY=100 # Use lowest integer by default.

# CAMDEBUG: When defined enables debugging macros.
# options CAMDEBUG

# CAM_DEBUG_BUS: Debug the given bus. Use -1 to debug all busses.

# options CAM_DEBUG_BUS=-1

# CAM_DEBUG_TARGET: Debug the given target. Use -1 to debug all targets.
# options CAM_DEBUG_TARGET=-1

# CAM_DEBUG_LUN: Debug the given lun. Use -1 to debug all luns.
# options CAM_DEBUG_LUN=-1

# CAM_DEBUG_FLAGS: CAM_DEBUG_INFO, CAM_DEBUG_TRACE,CAM_DEBUG_SUBTRACE, and
CAM_DEBUG_CDB.
# options CAM_DEBUG_FLAGS=(CAM_DEBUG_INFO|CAM_DEBUG_TRACE|CAM_DEBUG_CDB)

# CAM_MAX_HIGHPOWER: Maximum number of concurrent high power (start unit)
cmds.
#options CAM_MAX_HIGHPOWER=6

# Timeout for the CAM processor target.
#options SCSI_PT_DEFAULT_TIMEOUT=60

# Adaptec Array Controller driver options
# options AAC_DEBUG=0 # Debugging levels:
# 0 - quiet, only emit warnings
# 1 - noisy, emit major function
# points and things done
# 2 - extremely noisy, emit trace
# items in loops, etc.

# The aic7xxx driver will attempt to use memory mapped I/O for all PCI
# controllers that have it configured only if this option is set. But
# this doesn't work with all motherboards, So it's not on by default.
#options AHC_ALLOW_MEMIO

# Dump the contents of the ahc controller configuration PROM.
# options AHC_DUMP_EEPROM

# Bitmap of units to enable targetmode operations.
#options AHC_TMODE_ENABLE

# Compile in Aic7xxx Debugging code.
# options AHC_DEBUG
# See /sys/dev/aic7***/aic7***.h for all options.
# options AHC_DEBUG_OPTS=AHC_SHOW_MESSAGES

# Print register bitfields in debug output.
# options AHC_REG_PRETTY_PRINT

# Debugging for use in -CURRENT.
# makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols.
# options KDTRACE_HOOKS # make WITH_CTF=1 buildkernel KERNCONF=core && make
installkernel KERNCONF=core
--More--(91%)

# options DDB_CTF # CTF for DDB.
# options DIAGNOSTIC # This reduces performance.
# options KDB # Enable kernel debugger support.
# options KDB_UNATTENDED # KDB unattended support.
# options DDB # Support DDB.
# options GDB # Support remote GDB.
# options INVARIANTS # Enable calls of extra sanity checking.
# options INVARIANT_SUPPORT # Extra sanity checks of internal structures,
required by INVARIANTS.
# options WITNESS # Enable checks to detect deadlocks and cycles.
# options WITNESS_SKIPSPIN

###############################################################################
###############################################################################

System is a dell poweredge 2400. I am going to play with scsi_delay=100 and
see if that might be it. I have no freakin idea if its even that. The next
step for it would have been to mount the root fs but i recieve no error.
Thanks again.



-- 
I am my only local user and I cannot be trusted. This is a bad thing. Thing
is, with FreeBSD where there is a shell there is a way. Over the years I've
come to regard you as people I've met. I may be schizophrenic, but at least
I have each other, and only when I am alone am I truly together. Hans reiser
is still my hero, i'm not saying it's right, but I understand.


More information about the freebsd-current mailing list