[SOLVED] CD Drive causing boot problems

I'm trying to install Arch, but booting the install disk causes these errors to come up:
Loading /arch/x86_64/vmlinuz.....
Loading /arch/x86_64/archiso.img.............ready.
Decompressing Linux... Parsing ELF... done.
Booting the kernel.
: : Starting udevd...
done.
: : Running Hook [udev]
: : Triggering uevents...[ 19.934456] usb 5-1.6: device descriptor read/64, error -110
[ 35.098044] usb 5-1.6: device descriptor read/64, error -110
[ 36.869505] ata8.00: exception Emask 0x52 SAct 0x0 SErr 0xffffffff action 0xe frozen
[ 36.869549] ata8: SError: { RecovData RecovComm UnrecovData Persist Proto HostInt PHYRdyChg PHYInt CommWake 10B8B Dispar BadCRC Handshk LinkSeq TrStaTrns UnrecFIS DevExch }
[ 36.869598] ata8.0: failed command: IDENTIFY PACKET DEVICE
[ 36.869639] ata8.0: cmd a1/00:01:00:00:00/00:00:00:00:00/00 tag 0 pio 512 in
[ 36.869640] res 40/00:00:00:00:00/00:00:00:00:00 Emask 0x56 (ATA bus error)
[ 36.869721] ata 8.0: status: { DRDY }
It just stops there and won't continue to boot. Disconnecting the SATA cable from my CD drive and using a flash drive to boot fixes these issues, but I didn't continue with the install because I wasn't sure if I would be unable to boot with the drive plugged in later. This is my CD drive. It's connected to a SATA 6GB/s port on my motherboard. The drive works perfectly in Windows.
Also, if anyone knows anything about the USB error, help would be appreciated. That was the only error that did not go away after disconnecting my CD drive. I only have a keyboard, mouse, and WiFi dongle plugged in.
Last edited by nigh (2012-05-29 09:28:01)

Your issue with the SATA disc drive is a problem with Udev. Namely that some SATA disc drives do not support 16-byte pass-through commands coming from Udev. See this post for a longer explanation and the correct workaround:
https://bbs.archlinux.org/viewtopic.php?pid=895404
Other guides online will say to comment out parts of Udev's 60-persistent-storage.rules file, but I have found that to not only not work, but mess up detection of the SATA hard drives.
So, after, or during, Arch installation using your USB stick:
Add
options libata atapi_passthru16=0
to /etc/modprobe.d/modprobe.conf
Add
FILES="/etc/modprobe.d/modprobe.conf"
to /etc/mkinitcpio.conf
Rebuild kernel image with:
mkinitcpio -p linux
reboot
To narrow down your USB issue, maybe you could try booting with only one plugged in at a time to identify which one has the issue. Do they all three work even though one gives this message?

Similar Messages

  • After 10.5.6, external drives cause boot to hang

    When I boot my iMac, it hangs with the grey apple on a white screen of I have external firewire drives attached. It never gets to the point where the little gear starts revolving. When I unplug the drives, the boot goes to completion.
    After booting, I can use any number of external firewire drives with no problems. All of my drives have passed Disk Utility checks.
    I have several firewire 400 and one firewire 800 drive, all cause the same problem. I have tried resetting the firmware, which doesn't help.

    Sorry, my posting indicated in the section below about my machine, that I use 10.5.5, but I use 10.5.6.

  • T61 nvidia driver causes font problems

    after my last update a new graphics driver for the nvidia quadro 140m was installed.
    the new version (7618) caused bad problems with my fonts. (they could not been displayed)
    -> only squares for each letter 
    it took me a have day to find out, that it was the graphic driver (i didn't expected that).
    After I reinstalled my fontexplorer and repared my windows installation several times,
    it took me another half day to find the download to the old driver again. (7471)
    ftp://ftp.software.ibm.com/pc/pccbbs/mobiles/7kd165ww.exe
    now it works again with the old driver and i hope there will be an update and at least a notice in the thinkpad system update.
    frustrated greets. 

    Hi Puschl636,
    I had a similar problem. I have 3.03a of the presentation director and the most current display driver.
    If I boot with dual screens, the first time I do it, I have to open the lid to the laptop and then close it after startup and it will usually move to the dual screen profile.
    It may be a temp fix, but after that, as long as I have it docked, the dual screens come up.
    Hope that helps!
    Roy 

  • External USB Hard Drive causes menu problem - menu items flash

    Greetings:
    I have a external USB hard drive (250 GB) that is partitioned into 3 hard drives. Two hard drives are formatted in MacOS standard and one is formatted in MacOS extended. I had to reformat the last drive in MacOS extended because the Macbook would not let me edit files on the drive.
    The problem is that when I connect to the drives, the menu malfunctions (I cannot see the date and time and the menu items flash). Dismounting the drives solves the problem.
    Do I need to reformat the hard drives? Or do I need a new USB drive?
    Thank you.
    EA

    Hmm, someone else had a similar problem.  Note the ":: Loading root filesystem module...-e" line.  That "-e" shouldn't be there.  It should be, instead, the module for the filesystem.
    As a workaround for right now, you can add your filesystem module to the MODULES array, and remove the "filesystems" hook.
    In that case, you'll probably want rootdelay=* to allow the drive some time to settle, and rootfstype=* to speed up filesystem detection while in kinit.
    By the way, what filesystem do you have on that machine?  Can you tell me what
    /usr/lib/klibc/bin/fstype < /dev/sda1
    outputs on a running system (you may need to be root, or add yourself to the "disk" group or something similar) - /dev/sda1 should be replaced if the usb drive is not sda1

  • [SOLVED] nvidia driver causes blank screen soon after boot

    Hi,
    I have a NVIDIA 560 and was originally using the nouveau driver, but that gave slow performance when doing anything (eg. resizing windows), so I installed the nvidia driver instead by following the wiki section:
    https://wiki.archlinux.org/index.php/NV … au_drivers
    by essentially just following the scripts given there. After switching to nvidia, the screen goes blank soon after boot. I get back into the system by using nomodeset in menu.cfg.
    My question is how do I even begin to find the problem, eg. what log file(s) should I look in and post?
    Thanks
    Last edited by mark1977 (2012-08-19 17:38:42)

    Yes it's the 560 Ti. Thanks I just installed straight from the repos. I've also installed cuda-sdk and cuda-toolkit. I've compiled the libraries inside /opt/cuda-sdk/CUDALibraries fine.
    No I go to compile the sdk examples by running make in /opt/cuda-sdk/C and get the following error:
    # make
    make[1]: Entering directory `/opt/cuda-sdk/C/common'
    make[1]: Leaving directory `/opt/cuda-sdk/C/common'
    make[1]: Entering directory `/opt/cuda-sdk/C/common'
    make[1]: Leaving directory `/opt/cuda-sdk/C/common'
    make[1]: Entering directory `/opt/cuda-sdk/C/common'
    make[1]: Leaving directory `/opt/cuda-sdk/C/common'
    make[1]: Entering directory `/opt/cuda-sdk/shared'
    make[1]: Leaving directory `/opt/cuda-sdk/shared'
    make[1]: Entering directory `/opt/cuda-sdk/C/src/newdelete'
    make[1]: Leaving directory `/opt/cuda-sdk/C/src/newdelete'
    make[1]: Entering directory `/opt/cuda-sdk/C/src/simpleTextureDrv'
    /usr/bin/ld: cannot find -lcuda
    collect2: error: ld returned 1 exit status
    make[1]: *** [../../bin/linux/release/simpleTextureDrv] Error 1
    make[1]: Leaving directory `/opt/cuda-sdk/C/src/simpleTextureDrv'
    make: *** [src/simpleTextureDrv/Makefile.ph_build] Error 2
    The Makefile itself essentially seems to just include the file /opt/cuda-sdk/C/common/common.mk, which is:
    # Copyright 1993-2011 NVIDIA Corporation. All rights reserved.
    # NVIDIA Corporation and its licensors retain all intellectual property and
    # proprietary rights in and to this software and related documentation.
    # Any use, reproduction, disclosure, or distribution of this software
    # and related documentation without an express license agreement from
    # NVIDIA Corporation is strictly prohibited.
    # Please refer to the applicable NVIDIA end user license agreement (EULA)
    # associated with this source code for terms and conditions that govern
    # your use of this NVIDIA software.
    # Common build script for CUDA source projects for Linux and Mac platforms
    .SUFFIXES : .cu .cu_dbg.o .c_dbg.o .cpp_dbg.o .cu_rel.o .c_rel.o .cpp_rel.o .cubin .ptx
    # Add new SM Versions here as devices with new Compute Capability are released
    SM_VERSIONS := 10 11 12 13 20 21 30
    CUDA_INSTALL_PATH ?= /opt/cuda-toolkit
    ifdef cuda-install
    CUDA_INSTALL_PATH := $(cuda-install)
    endif
    # detect OS
    OSUPPER = $(shell uname -s 2>/dev/null | tr [:lower:] [:upper:])
    OSLOWER = $(shell uname -s 2>/dev/null | tr [:upper:] [:lower:])
    # 'linux' is output for Linux system, 'darwin' for OS X
    DARWIN = $(strip $(findstring DARWIN, $(OSUPPER)))
    ifneq ($(DARWIN),)
    SNOWLEOPARD = $(strip $(findstring 10.6, $(shell egrep "<string>10\.6" /System/Library/CoreServices/SystemVersion.plist)))
    LION = $(strip $(findstring 10.7, $(shell egrep "<string>10\.7" /System/Library/CoreServices/SystemVersion.plist)))
    endif
    # detect 32-bit or 64-bit platform
    HP_64 = $(shell uname -m | grep 64)
    OSARCH= $(shell uname -m)
    # Basic directory setup for SDK
    # (override directories only if they are not already defined)
    SRCDIR ?=
    ROOTDIR ?= ..
    ROOTBINDIR ?= $(ROOTDIR)/../bin
    BINDIR ?= $(ROOTBINDIR)/$(OSLOWER)
    ROOTOBJDIR ?= obj
    LIBDIR := $(ROOTDIR)/../lib
    COMMONDIR := $(ROOTDIR)/../common
    SHAREDDIR := $(ROOTDIR)/../../shared/
    # Compilers
    NVCC := $(CUDA_INSTALL_PATH)/bin/nvcc
    CXX := g++ -fPIC
    CC := gcc -fPIC
    LINK := g++ -fPIC
    # Includes
    INCLUDES += -I. -I$(CUDA_INSTALL_PATH)/include -I$(COMMONDIR)/inc -I$(SHAREDDIR)/inc
    # Warning flags
    CXXWARN_FLAGS := \
    -W -Wall \
    -Wimplicit \
    -Wswitch \
    -Wformat \
    -Wchar-subscripts \
    -Wparentheses \
    -Wmultichar \
    -Wtrigraphs \
    -Wpointer-arith \
    -Wcast-align \
    -Wreturn-type \
    -Wno-unused-function \
    $(SPACE)
    CWARN_FLAGS := $(CXXWARN_FLAGS) \
    -Wstrict-prototypes \
    -Wmissing-prototypes \
    -Wmissing-declarations \
    -Wnested-externs \
    -Wmain \
    # architecture flag for nvcc and gcc compilers build
    CUBIN_ARCH_FLAG :=
    CXX_ARCH_FLAGS :=
    NVCCFLAGS :=
    LIB_ARCH := $(OSARCH)
    # Determining the necessary Cross-Compilation Flags
    # 32-bit OS, but we target 64-bit cross compilation
    ifeq ($(x86_64),1)
    NVCCFLAGS += -m64
    LIB_ARCH = x86_64
    ifneq ($(DARWIN),)
    CXX_ARCH_FLAGS += -arch x86_64
    else
    CXX_ARCH_FLAGS += -m64
    endif
    else
    # 64-bit OS, and we target 32-bit cross compilation
    ifeq ($(i386),1)
    NVCCFLAGS += -m32
    LIB_ARCH = i386
    ifneq ($(DARWIN),)
    CXX_ARCH_FLAGS += -arch i386
    else
    CXX_ARCH_FLAGS += -m32
    endif
    else
    ifeq "$(strip $(HP_64))" ""
    LIB_ARCH = i386
    NVCCFLAGS += -m32
    ifneq ($(DARWIN),)
    CXX_ARCH_FLAGS += -arch i386
    else
    CXX_ARCH_FLAGS += -m32
    endif
    else
    LIB_ARCH = x86_64
    NVCCFLAGS += -m64
    ifneq ($(DARWIN),)
    CXX_ARCH_FLAGS += -arch x86_64
    else
    CXX_ARCH_FLAGS += -m64
    endif
    endif
    endif
    endif
    # Compiler-specific flags (by default, we always use sm_10, sm_20, and sm_30), unless we use the SMVERSION template
    GENCODE_SM10 := -gencode=arch=compute_10,code=\"sm_10,compute_10\"
    GENCODE_SM20 := -gencode=arch=compute_20,code=\"sm_20,compute_20\"
    GENCODE_SM30 := -gencode=arch=compute_30,code=\"sm_30,compute_30\"
    CXXFLAGS += $(CXXWARN_FLAGS) $(CXX_ARCH_FLAGS)
    CFLAGS += $(CWARN_FLAGS) $(CXX_ARCH_FLAGS)
    LINKFLAGS += -L/usr/lib
    LINK += $(LINKFLAGS) $(CXX_ARCH_FLAGS)
    # This option for Mac allows CUDA applications to work without requiring to set DYLD_LIBRARY_PATH
    ifneq ($(DARWIN),)
    LINK += -Xlinker -rpath $(CUDA_INSTALL_PATH)/lib
    endif
    # Common flags
    COMMONFLAGS += $(INCLUDES) -DUNIX
    # If we are enabling GPU based debugging, then we want to use -G, warning that this
    # May have a significant impact on GPU device code, since optimizations are turned off
    ifeq ($(gpudbg),1)
    NVCCFLAGS += -G
    dbg = $(gpudbg)
    endif
    # Debug/release configuration
    ifeq ($(dbg),1)
    COMMONFLAGS += -g
    NVCCFLAGS += -D_DEBUG
    CXXFLAGS += -D_DEBUG
    CFLAGS += -D_DEBUG
    BINSUBDIR := debug
    LIBSUFFIX := D
    else
    COMMONFLAGS += -O2
    BINSUBDIR := release
    LIBSUFFIX :=
    NVCCFLAGS += --compiler-options -fno-strict-aliasing
    CXXFLAGS += -fno-strict-aliasing
    CFLAGS += -fno-strict-aliasing
    endif
    # architecture flag for cubin build
    CUBIN_ARCH_FLAG :=
    # OpenGL is used or not (if it is used, then it is necessary to include GLEW)
    ifeq ($(USEGLLIB),1)
    ifneq ($(DARWIN),)
    OPENGLLIB := -L/System/Library/Frameworks/OpenGL.framework/Libraries
    OPENGLLIB += -lGL -lGLU $(COMMONDIR)/lib/$(OSLOWER)/libGLEW.a
    else
    # this case for linux platforms
    OPENGLLIB := -lGL -lGLU -lX11 -lXi -lXmu
    # check if x86_64 flag has been set, otherwise, check HP_64 is i386/x86_64
    ifeq ($(x86_64),1)
    OPENGLLIB += -lGLEW_x86_64 -L/usr/X11R6/lib64
    else
    ifeq ($(i386),)
    ifeq "$(strip $(HP_64))" ""
    OPENGLLIB += -lGLEW -L/usr/X11R6/lib
    else
    OPENGLLIB += -lGLEW_x86_64 -L/usr/X11R6/lib64
    endif
    endif
    endif
    # check if i386 flag has been set, otehrwise check HP_64 is i386/x86_64
    ifeq ($(i386),1)
    OPENGLLIB += -lGLEW -L/usr/X11R6/lib
    else
    ifeq ($(x86_64),)
    ifeq "$(strip $(HP_64))" ""
    OPENGLLIB += -lGLEW -L/usr/X11R6/lib
    else
    OPENGLLIB += -lGLEW_x86_64 -L/usr/X11R6/lib64
    endif
    endif
    endif
    endif
    endif
    ifeq ($(USEGLUT),1)
    ifneq ($(DARWIN),)
    OPENGLLIB += -framework GLUT
    else
    ifeq ($(x86_64),1)
    OPENGLLIB += -lglut -L/usr/lib64
    endif
    ifeq ($(i386),1)
    OPENGLLIB += -lglut -L/usr/lib
    endif
    ifeq ($(x86_64),)
    ifeq ($(i386),)
    OPENGLLIB += -lglut
    endif
    endif
    endif
    endif
    ifeq ($(USEPARAMGL),1)
    PARAMGLLIB := -lparamgl_$(LIB_ARCH)$(LIBSUFFIX)
    endif
    ifeq ($(USERENDERCHECKGL),1)
    RENDERCHECKGLLIB := -lrendercheckgl_$(LIB_ARCH)$(LIBSUFFIX)
    endif
    ifeq ($(USENVCUVID), 1)
    ifneq ($(DARWIN),)
    NVCUVIDLIB := -L../../common/lib/darwin -lnvcuvid
    endif
    endif
    # Libs
    ifneq ($(DARWIN),)
    LIB := -L$(CUDA_INSTALL_PATH)/lib -L$(LIBDIR) -L$(COMMONDIR)/lib/$(OSLOWER) -L$(SHAREDDIR)/lib $(NVCUVIDLIB)
    else
    ifeq "$(strip $(HP_64))" ""
    ifeq ($(x86_64),1)
    LIB := -L$(CUDA_INSTALL_PATH)/lib64 -L$(LIBDIR) -L$(COMMONDIR)/lib/$(OSLOWER) -L$(SHAREDDIR)/lib
    else
    LIB := -L$(CUDA_INSTALL_PATH)/lib -L$(LIBDIR) -L$(COMMONDIR)/lib/$(OSLOWER) -L$(SHAREDDIR)/lib
    endif
    else
    ifeq ($(i386),1)
    LIB := -L$(CUDA_INSTALL_PATH)/lib -L$(LIBDIR) -L$(COMMONDIR)/lib/$(OSLOWER) -L$(SHAREDDIR)/lib
    else
    LIB := -L$(CUDA_INSTALL_PATH)/lib64 -L$(LIBDIR) -L$(COMMONDIR)/lib/$(OSLOWER) -L$(SHAREDDIR)/lib
    endif
    endif
    endif
    # If dynamically linking to CUDA and CUDART, we exclude the libraries from the LIB
    ifeq ($(USECUDADYNLIB),1)
    LIB += ${OPENGLLIB} $(PARAMGLLIB) $(RENDERCHECKGLLIB) ${LIB} -ldl -rdynamic
    else
    # static linking, we will statically link against CUDA and CUDART
    ifeq ($(USEDRVAPI),1)
    LIB += -L/usr/lib -lcuda ${OPENGLLIB} $(PARAMGLLIB) $(RENDERCHECKGLLIB) ${LIB}
    else
    ifeq ($(emu),1)
    LIB += -lcudartemu
    else
    LIB += -lcudart
    endif
    LIB += ${OPENGLLIB} $(PARAMGLLIB) $(RENDERCHECKGLLIB) ${LIB}
    endif
    endif
    ifeq ($(USECUFFT),1)
    ifeq ($(emu),1)
    LIB += -lcufftemu
    else
    LIB += -lcufft
    endif
    endif
    ifeq ($(USECUBLAS),1)
    ifeq ($(emu),1)
    LIB += -lcublasemu
    else
    LIB += -lcublas
    endif
    endif
    ifeq ($(USECURAND),1)
    LIB += -lcurand
    endif
    ifeq ($(USECUSPARSE),1)
    LIB += -lcusparse
    endif
    # Lib/exe configuration
    # Lib/exe configuration
    # Lib/exe configuration
    ifneq ($(STATIC_LIB),)
    TARGETDIR := $(LIBDIR)
    TARGET := $(subst .a,_$(LIB_ARCH)$(LIBSUFFIX).a,$(LIBDIR)/$(STATIC_LIB))
    LINKLINE = ar rucv $(TARGET) $(OBJS)
    else
    ifneq ($(OMIT_CUTIL_LIB),1)
    LIB += -lcutil_$(LIB_ARCH)$(LIBSUFFIX)
    endif
    ifneq ($(OMIT_SHRUTIL_LIB),1)
    LIB += -lshrutil_$(LIB_ARCH)$(LIBSUFFIX)
    endif
    # Device emulation configuration
    ifeq ($(emu), 1)
    NVCCFLAGS += -deviceemu
    CUDACCFLAGS +=
    BINSUBDIR := emu$(BINSUBDIR)
    # consistency, makes developing easier
    CXXFLAGS += -D__DEVICE_EMULATION__
    CFLAGS += -D__DEVICE_EMULATION__
    endif
    TARGETDIR := $(BINDIR)/$(BINSUBDIR)
    TARGET := $(TARGETDIR)/$(EXECUTABLE)
    LINKLINE = $(LINK) -o $(TARGET) $(OBJS) $(LIB)
    endif
    # check if verbose
    ifeq ($(verbose), 1)
    VERBOSE :=
    else
    VERBOSE := @
    endif
    # Check for input flags and set compiler flags appropriately
    ifeq ($(fastmath), 1)
    NVCCFLAGS += -use_fast_math
    endif
    ifeq ($(keep), 1)
    NVCCFLAGS += -keep
    NVCC_KEEP_CLEAN := *.i* *.cubin *.cu.c *.cudafe* *.fatbin.c *.ptx
    endif
    ifdef maxregisters
    NVCCFLAGS += -maxrregcount $(maxregisters)
    endif
    ifeq ($(ptxas), 1)
    NVCCFLAGS += --ptxas-options=-v
    endif
    # Add cudacc flags
    NVCCFLAGS += $(CUDACCFLAGS)
    # Add common flags
    NVCCFLAGS += $(COMMONFLAGS)
    CXXFLAGS += $(COMMONFLAGS)
    CFLAGS += $(COMMONFLAGS)
    ifeq ($(nvcc_warn_verbose),1)
    NVCCFLAGS += $(addprefix --compiler-options ,$(CXXWARN_FLAGS))
    NVCCFLAGS += --compiler-options -fno-strict-aliasing
    endif
    # Set up object files
    OBJDIR := $(ROOTOBJDIR)/$(LIB_ARCH)/$(BINSUBDIR)
    OBJS += $(patsubst %.cpp,$(OBJDIR)/%.cpp.o,$(notdir $(CCFILES)))
    OBJS += $(patsubst %.c,$(OBJDIR)/%.c.o,$(notdir $(CFILES)))
    OBJS += $(patsubst %.cu,$(OBJDIR)/%.cu.o,$(notdir $(CUFILES)))
    # Set up cubin output files
    CUBINDIR := $(SRCDIR)data
    CUBINS += $(patsubst %.cu,$(CUBINDIR)/%.cubin,$(notdir $(CUBINFILES)))
    # Set up PTX output files
    PTXDIR := $(SRCDIR)data
    PTXBINS += $(patsubst %.cu,$(PTXDIR)/%.ptx,$(notdir $(PTXFILES)))
    # Rules
    $(OBJDIR)/%.c.o : $(SRCDIR)%.c $(C_DEPS)
    $(VERBOSE)$(CC) $(CFLAGS) -o $@ -c $<
    $(OBJDIR)/%.cpp.o : $(SRCDIR)%.cpp $(C_DEPS)
    $(VERBOSE)$(CXX) $(CXXFLAGS) -o $@ -c $<
    # Default arch includes gencode for sm_10, sm_20, sm_30, and other archs from GENCODE_ARCH declared in the makefile
    $(OBJDIR)/%.cu.o : $(SRCDIR)%.cu $(CU_DEPS)
    $(VERBOSE)$(NVCC) $(GENCODE_SM10) $(GENCODE_ARCH) $(GENCODE_SM20) $(GENCODE_SM30) $(NVCCFLAGS) $(SMVERSIONFLAGS) -o $@ -c $<
    # Default arch includes gencode for sm_10, sm_20, sm_30, and other archs from GENCODE_ARCH declared in the makefile
    $(CUBINDIR)/%.cubin : $(SRCDIR)%.cu cubindirectory
    $(VERBOSE)$(NVCC) $(GENCODE_SM10) $(GENCODE_ARCH) $(GENCODE_SM20) $(GENCODE_SM30) $(CUBIN_ARCH_FLAG) $(NVCCFLAGS) $(SMVERSIONFLAGS) -o $@ -cubin $<
    $(PTXDIR)/%.ptx : $(SRCDIR)%.cu ptxdirectory
    $(VERBOSE)$(NVCC) $(CUBIN_ARCH_FLAG) $(NVCCFLAGS) $(SMVERSIONFLAGS) -o $@ -ptx $<
    # The following definition is a template that gets instantiated for each SM
    # version (sm_10, sm_13, etc.) stored in SMVERSIONS. It does 2 things:
    # 1. It adds to OBJS a .cu_sm_XX.o for each .cu file it finds in CUFILES_sm_XX.
    # 2. It generates a rule for building .cu_sm_XX.o files from the corresponding
    # .cu file.
    # The intended use for this is to allow Makefiles that use common.mk to compile
    # files to different Compute Capability targets (aka SM arch version). To do
    # so, in the Makefile, list files for each SM arch separately, like so:
    # This will be used over the default rule abov
    # CUFILES_sm_10 := mycudakernel_sm10.cu app.cu
    # CUFILES_sm_12 := anothercudakernel_sm12.cu
    define SMVERSION_template
    #OBJS += $(patsubst %.cu,$(OBJDIR)/%.cu_$(1).o,$(notdir $(CUFILES_$(1))))
    OBJS += $(patsubst %.cu,$(OBJDIR)/%.cu_$(1).o,$(notdir $(CUFILES_sm_$(1))))
    $(OBJDIR)/%.cu_$(1).o : $(SRCDIR)%.cu $(CU_DEPS)
    # $(VERBOSE)$(NVCC) -o $$@ -c $$< $(NVCCFLAGS) $(1)
    $(VERBOSE)$(NVCC) -gencode=arch=compute_$(1),code=\"sm_$(1),compute_$(1)\" $(GENCODE_SM20) $(GENCODE_SM30) -o $$@ -c $$< $(NVCCFLAGS)
    endef
    # This line invokes the above template for each arch version stored in
    # SM_VERSIONS. The call funtion invokes the template, and the eval
    # function interprets it as make commands.
    $(foreach smver,$(SM_VERSIONS),$(eval $(call SMVERSION_template,$(smver))))
    $(TARGET): makedirectories $(OBJS) $(CUBINS) $(PTXBINS) Makefile
    $(VERBOSE)$(LINKLINE)
    cubindirectory:
    $(VERBOSE)mkdir -p $(CUBINDIR)
    ptxdirectory:
    $(VERBOSE)mkdir -p $(PTXDIR)
    makedirectories:
    $(VERBOSE)mkdir -p $(LIBDIR)
    $(VERBOSE)mkdir -p $(OBJDIR)
    $(VERBOSE)mkdir -p $(TARGETDIR)
    tidy :
    $(VERBOSE)find . | egrep "#" | xargs rm -f
    $(VERBOSE)find . | egrep "\~" | xargs rm -f
    clean : tidy
    $(VERBOSE)rm -f *.stub.c *.gpu *.cu.cpp *.i *.ii
    $(VERBOSE)rm -f *.cubin *.ptx *.fatbin.c *.hash
    $(VERBOSE)rm -f *.cudafe1.c *.cudafe2.c *.cudafe1.cpp *.cudafe2.cpp
    $(VERBOSE)rm -f $(OBJS)
    $(VERBOSE)rm -f $(CUBINS)
    $(VERBOSE)rm -f $(PTXBINS)
    $(VERBOSE)rm -f $(TARGET)
    $(VERBOSE)rm -f $(NVCC_KEEP_CLEAN)
    $(VERBOSE)rm -f $(ROOTBINDIR)/$(OSLOWER)/$(BINSUBDIR)/*.ppm
    $(VERBOSE)rm -f $(ROOTBINDIR)/$(OSLOWER)/$(BINSUBDIR)/*.pgm
    $(VERBOSE)rm -f $(ROOTBINDIR)/$(OSLOWER)/$(BINSUBDIR)/*.bin
    $(VERBOSE)rm -f $(ROOTBINDIR)/$(OSLOWER)/$(BINSUBDIR)/*.bmp
    $(VERBOSE)rm -f $(ROOTBINDIR)/$(OSLOWER)/$(BINSUBDIR)/*.txt
    $(VERBOSE)rm -f $(CUBINDIR)/*.cubin $(PTXDIR)/*.ptx
    $(VERBOSE)rm -rf $(ROOTOBJDIR)
    $(VERBOSE)rm -rf $(LIBDIR)
    $(VERBOSE)rm -rf $(OBJDIR)
    $(VERBOSE)rm -rf $(TARGETDIR)
    clobber : clean
    $(VERBOSE)rm -rf $(COMMONDIR)/lib/*.a
    $(VERBOSE)rm -rf $(SHAREDDIR)/lib/*.a
    $(VERBOSE)rm -rf $(COMMONDIR)/obj
    $(VERBOSE)rm -rf $(SHAREDDIR)/obj
    The output of echo $LD_LIBRARY_PATH is blank.
    I have checked for libcuda and can find it:
    # ls /usr/lib | grep libcuda
    libcuda.so.1
    libcuda.so.304.32
    Is there something obvious I need to do to get these to compile?
    Thanks again.

  • [SOLVED] USB Installation Media Boot Problems

    Hi all,
    I'm having trouble creating a live USB stick that my new (to me) HP Elitebook
    2730p laptop can boot successfully. Here is what I've tried so far:
    1. dd with the latest stable Arch installation media
    In other words:
    # dd if=/path/to/archlinux*.iso of=/dev/sdb
    Result: I can boot with the USB stick on my old Dell laptop (which is running
    Arch) without issue, but can't with the new HP. The BIOS will freeze if the USB
    stick is inserted, and will only unfreeze after I remove it.
    2. dd with a recent Arch installation media snapshot
    The snapshot is ``archlinux-2012.06.05_04-00-01-core-x86_64.iso''. I
    install the image to the USB stick with the same dd method above,
    and I get the same behavior: works fine on the old Dell, but freezes the BIOS of
    the new HP.
    3. dd with an old lubuntu iso
    This time, I used an old lubuntu iso
    (lubuntu-11.10-desktop-amd64.iso) with dd. This method
    worked without a problem -- both my old Dell and my new HP would boot it without
    complaint.
    3. unetbootin with the latest stable Arch installation media
    Creating the USB stick with unetbootin allows me to boot the stick with the new
    HP, but the boot fails to the ramfs prompt after ``Waiting 30 seconds for device
    /dev/disk/by-label/ ...'' (notice how there's nothing after ``by-label/'').
    Adding ``vmalloc=448M'' to the end of the unetbootin boot entry makes no
    difference.
    4. Image Writer for Windows
    The ``USB Installation Media'' wiki page suggests using ``Image Writer for
    Windows'' to create a bootable USB stick. I tried this method using Windows 7
    Professional, and the result was the same as attempts 1 and 2: the USB stick
    freezes the HP's BIOS.
    Other notes
    I've checked the md5sums of all the isos I've tried
    I've updated the BIOS on the HP laptop
    I've used the same USB stick for each of the above situations
    The new HP laptop does not have an optical drive, and I don't own an
    external one
    In attempts 1, 2, and 4, I noticed that cfdisk shows that the partition
    that contains the installation files has both the ``Bootable'' and ``NC'' flags
    set. The cfdisk man page says that the latter flag stands for ``Not Compatible
    with DOS or OS/2''. I can actually remove this flag by using the ``Maximize''
    option in cfdisk, which actually makes the USB stick bootable by the HP
    computer's BIOS, but the boot eventually fails to the ``ramfs prompt
    thingy'' after saying ``ERROR: '/dev/disk/by-label/ARCH_201108' found, but the
    filesystem type is unknown''
    In attempt 3 (the lubuntu one), I noticed that cfdisk shows a bit of free
    space in front of the partition that contains the lubuntu files. The ``NC'' flag
    is not present when I run cdisk.
    My current theory is this: I believe my new HP's BIOS is unhappy with the
    ``isohybrid-nature'' of the Arch installation media. Is there any way I can
    confirm this, or obtain ``non-isohybrid'' Arch media?
    As you might imagine, this has been pretty frustrating. Any help would be
    greatly appreciated!
    Daniel
    Last edited by bebeababa (2012-06-10 15:04:43)

    bebeababa wrote:
    DSpider wrote:
    Adding ``vmalloc=448M'' to the end of the unetbootin boot entry makes no difference.
    Duh. That's for booting it from RAM (with MEMDISK) in case it doesn't map the entire file, which for some reason it didn't for the i686 iso on my computer. I probably should've specified it when I wrote the article. I'll add it tomorrow morning.
    Speaking of which, have you tried it?
    https://wiki.archlinux.org/index.php/US … O_from_RAM
    Because you only seem to be using dd ("Image Writer" is the same) and Unetbootin (which had various problems since forever). The correct syntax for dd is:
    $ sudo dd if=archlinux.iso of=/dev/sd[x]
    Warning: Make sure to use /dev/sdx and NOT /dev/sdx1. This is a very common error!
    https://wiki.archlinux.org/index.php/US … _USB_drive
    Haven't tried the ``Boot the entire ISO from RAM'' method yet. I'll give that a shot next.
    The ``Boot the entire ISO from RAM'' method worked like a charm! Thanks,
    DSpider!
    Marking thread [SOLVED].

  • Pavilion Notebook Hard drive replacement boot problem

    Hi .. hoping for help...
    Just purchased a zv5000 pavilion notebook with a bad hard drive ....
    Replaced hard drive with a western digital 160 gig ... 
    When I try to boot with the original application and driver Recovery DVD, I get the following message ...
    Intel undi, pxe-2.0 (Build 082) Copyright 1997-2000 Intel Corporation.
    For realtek RTL8139(X) 18130/810 PCI Fast Ethernet Controller v2.13 (020326)
    PXE-E61: media test failure, check cable
    PXE-MOF: Exiting PXE Rom ...
    This is as far as I can get and the message just repeats ...
    I have gone into set-up andmade sure I am booting from the CD Rom drive, but still have same problem. 
    Can anyone tell me what I am doing wrong ?
    Thank you for any tips ... have a great day
    Sam
    This question was solved.
    View Solution.

    I have not replaced my hard drive on my Pavilion notebook, but I am getting the same message when I try to turn on my computer.
    Intel UNDI, PXE-2.0 (build 082)
    Copyright (C) 1997-2000   Intel Corporation
    For Realtek RTL8139(X)/8130/810X PCI Fast Ethernet Controller v2.13 (020326)
    PXE-E61:  Media test failure, check cable
    PXE-M0F:  Exiting PXE ROM.
    What does this mean?
    Did you find an answer to this problem?

  • Z87-G45 Gaming boot order changes itself causing boot problems

    Okay so I got this new motherboard and everything worked fine yesterday.
    But today when I tried to boot it couldn't find the boot.mgr so I looked from were
    it tried to boot and it was my SSD were my games are located and it should be my SSD
    where my system is installed, so I changed it and it booted right up with no problems.
    then I just maked sure everything is okay so I restarted my pc and same thing only then
    when I wanted to change the boot order my System SSD was gone  So i restarted and
    there it was again, so again I changed it and it booted right up and again I wanted to make sure it
    would boot again when I restarted and.. well no it didn't and now it was my HDD which was my first boot
    order so I have no idea what this mean and how I can solve this 

    Did you install your windows system using UEFI method or just the standard legacy mode?
    If standard legacy mode then your first boot should be set to your HDD, and if you still can't get in the Windows,
    try to plug the SATA cable and connect it again,  also make sure that it is not your SSD itself that have problem,
    cause i got Samsung 840 SSD before and it's causing many weird issues, sometimes even don't let me go to windows mode  https://forum-en.msi.com/Smileys/msi/undecided.gif

  • [SOLVED] ATI Driver Catalyst installation problems.

    I am having real trouble installing the official catalyst drivers. I followed both these guides with noavail. http://www.neuraladvance.com/installing … linux.html and http://www.ramblgyrl.com/2014/11/instal … rch-linux/.
    When I finish installing it just holds at the end of the boot cycle with no error I can only TTY into the system. Im not really sure what outputs you require but ill post a lspci.
    00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h Processor Root Complex
    00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] BeaverCreek [Radeon HD 6620G]
    00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] BeaverCreek HDMI Audio [Radeon HD 6500D and 6400G-6600G series]
    00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 12h Processor Root Port
    00:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 12h Processor Root Port
    00:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 12h Processor Root Port
    00:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 12h Processor Root Port
    00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 03)
    00:10.1 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 03)
    00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode]
    00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
    00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
    00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
    00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
    00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 13)
    00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD] FCH IDE Controller (rev 40)
    00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01)
    00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
    00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] FCH PCI Bridge (rev 40)
    00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 0 (rev 43)
    00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 1
    00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 2
    00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 3
    00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 4
    00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 6
    00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 5
    00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 7
    01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Whistler [Radeon HD 6630M/6650M/6750M/7670M/7690M] (rev ff)
    02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
    03:00.0 Network controller: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter (rev 01)
    04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)
    04:00.1 SD Host controller: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)
    Last edited by moosethemucha (2015-02-05 12:26:21)

    So I've been playing around. I have found other forum posts referring to my problem ( [link] https://bbs.archlinux.org/viewtopic.php?id=141130 [/link] ). I tried to install the drivers form the zip directly from the ATI website. I recieved this log file from the installer:
    Supported adapter detected.
    Detected a previous installation, /usr/share/ati/amd-uninstall.sh
    Dryrun uninstall succeeded continuing with installation.
    Check if system has the tools required for installation.
    Uninstalling any previously installed drivers.
    Forcing uninstall of AMD Catalyst(TM) Proprietary Driver.
    No integrity verification is done.
    restore of system environment completed
    Uninstall fglrx driver complete.
    For detailed log of uninstall, please see /etc/ati/fglrx-uninstall.log
    System must be rebooted to avoid system instability and potential data loss.
    /usr/share/ati/amd-uninstall.sh completed with 0
    Unloading radeon module...
    rmmod: ERROR: Module radeon is in use
    Unloading drm module...
    rmmod: ERROR: Module drm is in use by: ttm drm_kms_helper radeon
    [Message] Kernel Module : Trying to install a precompiled kernel module.
    [Message] Kernel Module : Precompiled kernel module version mismatched.
    [Message] Kernel Module : Found kernel module build environment, generating kernel module now.
    AMD kernel module generator version 2.1
    doing Makefile based build for kernel 2.6.x and higher
    rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
    make -C /lib/modules/3.18.4-1-ARCH/build SUBDIRS=/usr/lib/modules/fglrx/build_mod/2.6.x modules
    make[1]: Entering directory '/usr/lib/modules/3.18.4-1-ARCH/build'
    CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
    /usr/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘KCL_GetEffectiveUid’:
    /usr/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1787:5: error: incompatible types when returning type ‘kuid_t’ but ‘KCL_TYPE_Uid’ was expected
    return current_euid();
    ^
    /usr/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1793:1: warning: control reaches end of non-void function [-Wreturn-type]
    ^
    scripts/Makefile.build:257: recipe for target '/usr/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o' failed
    make[2]: *** [/usr/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
    Makefile:1381: recipe for target '_module_/usr/lib/modules/fglrx/build_mod/2.6.x' failed
    make[1]: *** [_module_/usr/lib/modules/fglrx/build_mod/2.6.x] Error 2
    make[1]: Leaving directory '/usr/lib/modules/3.18.4-1-ARCH/build'
    Makefile:88: recipe for target 'kmod_build' failed
    make: *** [kmod_build] Error 2
    build failed with return value 2
    [Error] Kernel Module : Failed to compile kernel module - please consult readme.
    Also this is a copy of my xorg.conf file that was created when running ati-config.
    Section "ServerLayout"
    Identifier "aticonfig Layout"
    Screen 0 "aticonfig-Screen[0]-0" 0 0
    EndSection
    Section "Module"
    EndSection
    Section "Monitor"
    Identifier "aticonfig-Monitor[0]-0"
    Option "VendorName" "ATI Proprietary Driver"
    Option "ModelName" "Generic Autodetecting Monitor"
    Option "DPMS" "true"
    EndSection
    Section "Device"
    Identifier "aticonfig-Device[0]-0"
    Driver "fglrx"
    BusID "PCI:0:1:0"
    EndSection
    Section "Screen"
    Identifier "aticonfig-Screen[0]-0"
    Device "aticonfig-Device[0]-0"
    Monitor "aticonfig-Monitor[0]-0"
    DefaultDepth 24
    SubSection "Display"
    Viewport 0 0
    Depth 24
    EndSubSection
    EndSection
    also this when i run aticonfig --list-adapters
    * 0. 00:01.0 AMD Radeon HD 6620G
    * - Default adapter

  • [SOLVED] UEFI Virtualbox installation boot problems

    Before I install Arch on my computer, I wanted to test the installation in Virtualbox.  Because my motherboard has UEFI, I selected the EFI option in Virtualbox for a 64 bit Arch install.
    I ran through the Beginners' Guide on the wiki and all seemed to go well.  I rebooted the VM after the installation (forgetting to remove the ISO from the drive) and got the refind menu showing correctly and managed to boot in to my new Arch system from there.  I also did a reboot (with the ISO still in the drive) and all was well. However, I then shutdown the system (shutdown -h now) and then powered it back on again and instead of going in to the refind menu, it goes to the archiso uefi boot menu and continues to boot from the ISO.  So I powered down the VM again, removed the ISO from the drive and powered the VM back on again.  This time, nothing booted and I was left in the UEFI shell.
    Does anyone have any ideas why this has happened?
    Last edited by ryan117 (2013-02-13 20:15:44)

    This is probably because VirtualBox tends to forget its "NVRAM" settings when you reboot. There are a number of solutions to this problem. IMHO, the easiest is:
    Boot using an emergency system.
    Mount the ESP (probably /dev/sda1 -- the FAT partition that holds the boot loader).
    Rename EFI/refind on the ESP to EFI/BOOT
    Rename EFI/BOOT/refind_x64.efi to EFI/BOOT/bootx64.efi
    Thereafter, rEFInd should appear when you reboot. If you subsequently upgrade rEFInd, you'll need to install it to its new location rather than to EFI/refind.
    Alternatively, you can use the bcfg command in an EFI version 2 shell to register refind_x64.efi as the default boot program. This tends to get remembered, even when entries created by efibootmgr don't. This will require installing an EFI 2 shell, running it, and running the suitable bcfg command. (I think it's documented in the Arch wiki somewhere.)

  • Internal Drives Disappear & Boot Problems

    I have a Quad Core, I had 4 drives in it. All 500 Gig Maxtor Drives.
    Anytime the computer would lock up and be force reset stuff would act funny on one of the drives, it finally failed mechanically.
    Shortly after another drive had errors that couldn't be resolved and the drive had to be reformatted, it was being used as a time machine drive.
    I received a replacement drive from Maxtor and it wouldn't function in the machine. After dozens of tries I got it to work so I could initialize it.
    I am not able to put 3 drives in the machine.
    Anytime I do I just get a white screen - no apple, no circle loading pattern.
    When I get the white screen the only key-sequence that's accepted is the PRAM Zap COMMAND/OPTION/P/R. No other key sequence is able to be used....no safe boot, so single user, no option boot, etc.
    All of the drives work fine when connected to any computer using a USB cable/power adapter that's distributed by Other World Computing.
    At this time I can only use 2 drives inside the machine at one time.
    Are there any tests or diagnostics I can run to learn if there is any kind of ATA controller board or logic board?
    Please share any similar problems or learned solutions.

    Apple Hardware Test
    TechTool Deluxe or Pro
    Disk Warrior
    Intech Speedtools
    SuperDuper
    Onyx or Leopard Cache Cleaner
    are some of the tools I use to maintain system and drives.
    I have had 4 x MaxLine Pro 500GB units from OWC
    I would pick up 4 x WD Caviar 640 $80 from OWC at this point.
    Are you sure that you are repairing and dealing with directory corruption and corrupt files and journal when this happens? ie, not boot from the drive but from a backup or emergency?
    Did you ever use Partition to setup new single partition and do a zero-all or test for bad sectors?
    Reset SMC?
    Sounds more like it could be logicboard but only AHT and AppleCare can fully determine that.
    A force restart is sure to damage the directory, volume information block, cache folders, and journaling.
    The reason I replaced the MaxLines is they tend to run warmer, never below 40º even with SmcFanControl while WD drives, even Raptors are always in 28º winter and 35º summer.

  • Drive encryption - boot problem

    Hi.
    I just tried to installe Virtuel PC from Microsoft on my notebook, then it wanted to restart, but at restart it frooze with Starting Windows.
    It seem that my drive is encrypted, even though I thought I had deactivated this function.
    Now the problem is that I cannot read my drive.
    It comes up where I have to enter my password / enter code, then it tries to start, but reports a problem with booting
    Windows failed to start.
    Insert your windows installation CD and restart
    Make a repair.
    File \Boot\BCD
    Status : 0xc0000098
    Any suggestions how to get further.
    /Thanks in advance

    @Sokamok 
    ‎Thank you for using HP Support Forum. I have brought your issue to the appropriate team within HP. They will likely request information from you in order to look up your case details or product serial number. Please look for a private message from an identified HP contact. Additionally, keep in mind not to publicly post ( serial numbers and case details).
    If you are unfamiliar with the Forum's private messaging please click here to learn more.
    Thank you,
    Omar
    I Work for HP

  • Combo drive causes boot failure

    How do you fix an iBook that will not boot from hard drive when the combo drive is plugged in to the logic board? If the drive cable is unplugged, the iBook will boot from the hard drive when connected to the firewire port. It will also boot from the logic board if the combo drive is unplugged. Is the problem the optical drive? Is it the cable? Is it the logic board?
    The computer functions perfctly with the optcal drive removed.
    G3 iBook 800mhz   Mac OS X (10.3.9)  

    Quote
    Originally posted by whelmond
    I have tried almost everything, nothing seems to work, I am trying to flash my BIOS.. but I don't know how.. (no FDD, and a NTFS filesystem..)
    If you have the solution, please post it!!
    last time I flased my BIOS I`ve done so from a Bootable cd
    just created a Floppy image with dos and the BIOS image on it and set it as the Bootable image for the CD

  • Carl9170 driver causes kernel problem

    I am an arch linux newb, just switched from ubuntu. However I do know just enough about linux to screw stuff up.
    So, I have a SMCWUSB-N2 (USB atheros wireless N). Don't remember the exact chipset, but I do know the carl9170 driver supports it. The default arch version of carl9170 worked, but with horrible speed and frequent disconnects. So I downloaded the latest compat-wireless, built, and installed it. Now when I plug in the adapter the light on it stays solid (normally blinks with activity) and nothing else happens. Dmesg prints the following when I plug it in:
    [ 49.333357] usb 1-5: new high speed USB device using ehci_hcd and address 7
    [ 49.640199] cfg80211: Calling CRDA to update world regulatory domain
    [ 49.780031] usb 1-5: reset high speed USB device using ehci_hcd and address 7
    [ 49.943426] usbcore: registered new interface driver carl9170
    [ 49.948631] usb 1-5: driver API: 1.9.0 2010-10-29 [1-1]
    [ 49.948638] usb 1-5: firmware API: 1.9.2 2010-12-25
    [ 50.283047] ath: EEPROM regdomain: 0x809c
    [ 50.283052] ath: EEPROM indicates we should expect a country code
    [ 50.283055] ath: doing EEPROM country->regdmn map search
    [ 50.283057] ath: country maps to regdmn code: 0x52
    [ 50.283059] ath: Country alpha2 being used: CN
    [ 50.283061] ath: Regpair used: 0x52
    [ 50.283064] ------------[ cut here ]------------
    [ 50.283077] WARNING: at /home/<USER>/wireless/compat-wireless-2011-05-16/net/wireless/reg.c:1222 wiphy_apply_custom_regulatory+0x182/0x190 [cfg80211]()
    [ 50.283080] Hardware name: EG194AA-ABA A1250N
    [ 50.283082] Modules linked in: carl9170 mac80211 ath cfg80211 fuse ipv6 ext3 jbd usb_storage uas usbhid hid btusb bluetooth rfkill s5h1409 cx88_dvb cx88_vp3054_i2c videobuf_dvb dvb_core rc_pinnacle_pctv_hd xc5000 snd_seq_dummy ir_lirc_codec lirc_dev snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device tuner ir_sony_decoder ir_jvc_decoder ir_rc6_decoder radeon ir_rc5_decoder snd_pcm_oss snd_mixer_oss cx8800 cx8802 cx88_alsa ir_nec_decoder cx88xx rc_core ttm tveeprom v4l2_common snd_atiixp drm_kms_helper ppdev videodev snd_ac97_codec v4l2_compat_ioctl32 btcx_risc ac97_bus 8139cp ohci_hcd videobuf_dma_sg videobuf_core drm snd_pcm i2c_algo_bit firewire_ohci evdev ehci_hcd snd_timer snd parport_pc sg i2c_piix4 firewire_core crc_itu_t 8139too soundcore snd_page_alloc usbcore psmouse lp processor mii button parport edac_core edac_mce_amd i2c_core k8temp pcspkr serio_raw ext4 mbcache jbd2 crc16 sd_mod sr_mod cdrom pata_acpi pata_atiixp sata_sil libata scsi_mod
    [ 50.283156] Pid: 3473, comm: firmware/carl91 Not tainted 2.6.38-ARCH #1
    [ 50.283158] Call Trace:
    [ 50.283167] [<ffffffff81058caa>] ? warn_slowpath_common+0x7a/0xb0
    [ 50.283170] [<ffffffff81058cf5>] ? warn_slowpath_null+0x15/0x20
    [ 50.283176] [<ffffffffa089cfe2>] ? wiphy_apply_custom_regulatory+0x182/0x190 [cfg80211]
    [ 50.283182] [<ffffffffa091a050>] ? carl9170_reg_notifier+0x0/0x40 [carl9170]
    [ 50.283187] [<ffffffffa08cd776>] ? ath_regd_init+0x346/0x430 [ath]
    [ 50.283192] [<ffffffffa091cbea>] ? carl9170_register+0x1ea/0x4b0 [carl9170]
    [ 50.283197] [<ffffffff812c35e0>] ? request_firmware_work_func+0x0/0x80
    [ 50.283201] [<ffffffffa091e7e0>] ? carl9170_usb_firmware_step2+0x60/0xd0 [carl9170]
    [ 50.283205] [<ffffffff812c3622>] ? request_firmware_work_func+0x42/0x80
    [ 50.283210] [<ffffffff81079a47>] ? kthread+0x87/0x90
    [ 50.283214] [<ffffffff8100bc24>] ? kernel_thread_helper+0x4/0x10
    [ 50.283218] [<ffffffff810799c0>] ? kthread+0x0/0x90
    [ 50.283221] [<ffffffff8100bc20>] ? kernel_thread_helper+0x0/0x10
    [ 50.283224] ---[ end trace 7d16e3a764ee0f8f ]---
    [ 50.283228] ------------[ cut here ]------------
    [ 50.283234] WARNING: at /home/<USER>/wireless/compat-wireless-2011-05-16/net/wireless/core.c:492 wiphy_register+0x31c/0x380 [cfg80211]()
    [ 50.283237] Hardware name: EG194AA-ABA A1250N
    [ 50.283238] Modules linked in: carl9170 mac80211 ath cfg80211 fuse ipv6 ext3 jbd usb_storage uas usbhid hid btusb bluetooth rfkill s5h1409 cx88_dvb cx88_vp3054_i2c videobuf_dvb dvb_core rc_pinnacle_pctv_hd xc5000 snd_seq_dummy ir_lirc_codec lirc_dev snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device tuner ir_sony_decoder ir_jvc_decoder ir_rc6_decoder radeon ir_rc5_decoder snd_pcm_oss snd_mixer_oss cx8800 cx8802 cx88_alsa ir_nec_decoder cx88xx rc_core ttm tveeprom v4l2_common snd_atiixp drm_kms_helper ppdev videodev snd_ac97_codec v4l2_compat_ioctl32 btcx_risc ac97_bus 8139cp ohci_hcd videobuf_dma_sg videobuf_core drm snd_pcm i2c_algo_bit firewire_ohci evdev ehci_hcd snd_timer snd parport_pc sg i2c_piix4 firewire_core crc_itu_t 8139too soundcore snd_page_alloc usbcore psmouse lp processor mii button parport edac_core edac_mce_amd i2c_core k8temp pcspkr serio_raw ext4 mbcache jbd2 crc16 sd_mod sr_mod cdrom pata_acpi pata_atiixp sata_sil libata scsi_mod
    [ 50.283294] Pid: 3473, comm: firmware/carl91 Tainted: G W 2.6.38-ARCH #1
    [ 50.283296] Call Trace:
    [ 50.283299] [<ffffffff81058caa>] ? warn_slowpath_common+0x7a/0xb0
    [ 50.283302] [<ffffffff81058cf5>] ? warn_slowpath_null+0x15/0x20
    [ 50.283307] [<ffffffffa0899c2c>] ? wiphy_register+0x31c/0x380 [cfg80211]
    [ 50.283318] [<ffffffffa08d6238>] ? ieee80211_register_hw+0xa8/0x5d0 [mac80211]
    [ 50.283324] [<ffffffffa08d6353>] ? ieee80211_register_hw+0x1c3/0x5d0 [mac80211]
    [ 50.283329] [<ffffffffa091cc41>] ? carl9170_register+0x241/0x4b0 [carl9170]
    [ 50.283355] [<ffffffff812c35e0>] ? request_firmware_work_func+0x0/0x80
    [ 50.283359] [<ffffffffa091e7e0>] ? carl9170_usb_firmware_step2+0x60/0xd0 [carl9170]
    [ 50.283363] [<ffffffff812c3622>] ? request_firmware_work_func+0x42/0x80
    [ 50.283367] [<ffffffff81079a47>] ? kthread+0x87/0x90
    [ 50.283370] [<ffffffff8100bc24>] ? kernel_thread_helper+0x4/0x10
    [ 50.283374] [<ffffffff810799c0>] ? kthread+0x0/0x90
    [ 50.283377] [<ffffffff8100bc20>] ? kernel_thread_helper+0x0/0x10
    [ 50.283379] ---[ end trace 7d16e3a764ee0f90 ]---
    I blacklisted the ar9170usb driver as the wiki suggests, yet I still have problems. Is this a kernel bug that I should report, or am I doing something wrong?
    Thanks!

    Have you installed the firmware? You can download it from here (http://linuxwireless.org/en/users/Drivers/carl9170) and put it in /lib/firmware.

  • [SOLVED]Kernel 3.0 boot problems.

    I recently built the 3.0 kernel (downloaded from kernel.org) and am trying to make it bootable.
    After creating an image and editing grub, I get an error talking about how modules.dep was not found, that /dev/sda7 does not exist and can't be mounted to new_root, that I'm on my own and Good Luck, and then I get dropped to ram fs.
    I listed the contents of the kernel26.img and kernel30.img and there is quite a difference even though they were both built using the same mkinitcpio.conf. kernel26.img was built with -p kernel26. I haven't found a preset for kernel30.
    kernel26.img boots fine.
    I think the .imgs need to be similar but I don't know how to make them similar. Or I could be completley wrong and on the wrong track. Any ideas?
    kernel26.img listed:
    /proc
    /sys
    /dev
    /bin
    /sbin
    /lib
    /usr
    /usr/bin
    /usr/lib
    /usr/sbin
    /run
    /dev/null
    /dev/zero
    /dev/console
    /dev/mem
    /bin/busybox
    /lib/libc.so.6
    /lib/libc-2.13.so
    /lib/ld-linux-x86-64.so.2
    /lib/ld-2.13.so
    /sbin/modprobe
    /sbin/blkid
    /lib/libblkid.so.1
    /lib/libblkid.so.1.1.0
    /lib/libuuid.so.1
    /lib/libuuid.so.1.3.0
    /init_functions
    /init
    /config
    /etc
    /etc/modprobe.d
    /etc/modprobe.d/usb-load-ehci-first.conf
    /sbin/udevd
    /lib/librt.so.1
    /lib/librt-2.13.so
    /lib/libpthread.so.0
    /lib/libpthread-2.13.so
    /sbin/udevadm
    /lib/udev
    /lib/udev/rules.d
    /lib/udev/rules.d/50-firmware.rules
    /lib/udev/rules.d/50-udev-default.rules
    /lib/udev/rules.d/60-persistent-storage.rules
    /lib/udev/rules.d/80-drivers.rules
    /lib/udev/firmware
    /lib/udev/ata_id
    /lib/udev/path_id
    /lib/udev/scsi_id
    /lib/udev/usb_id
    /lib/udev/load-modules.sh
    /etc/udev
    /etc/udev/udev.conf
    /hooks
    /hooks/udev
    /sbin/v86d
    /etc/modprobe.d/uvesafb.conf
    /lib/modules
    /lib/modules/2.6.38-ARCH
    /lib/modules/2.6.38-ARCH/kernel
    /lib/modules/2.6.38-ARCH/kernel/drivers
    /lib/modules/2.6.38-ARCH/kernel/drivers/connector
    /lib/modules/2.6.38-ARCH/kernel/drivers/connector/cn.ko.gz
    /lib/modules/2.6.38-ARCH/kernel/drivers/video
    /lib/modules/2.6.38-ARCH/kernel/drivers/video/uvesafb.ko.gz
    /hooks/v86d
    /lib/modules/2.6.38-ARCH/kernel/drivers/scsi
    /lib/modules/2.6.38-ARCH/kernel/drivers/scsi/scsi_mod.ko.gz
    /lib/modules/2.6.38-ARCH/kernel/drivers/scsi/sd_mod.ko.gz
    /lib/modules/2.6.38-ARCH/kernel/drivers/cdrom
    /lib/modules/2.6.38-ARCH/kernel/drivers/cdrom/cdrom.ko.gz
    /lib/modules/2.6.38-ARCH/kernel/drivers/scsi/sr_mod.ko.gz
    /lib/modules/2.6.38-ARCH/kernel/drivers/ata
    /lib/modules/2.6.38-ARCH/kernel/drivers/ata/libata.ko.gz
    /lib/modules/2.6.38-ARCH/kernel/drivers/ata/libahci.ko.gz
    /lib/modules/2.6.38-ARCH/kernel/drivers/ata/ahci.ko.gz
    /lib/modules/2.6.38-ARCH/kernel/fs
    /lib/modules/2.6.38-ARCH/kernel/fs/mbcache.ko.gz
    /lib/modules/2.6.38-ARCH/kernel/fs/jbd2
    /lib/modules/2.6.38-ARCH/kernel/fs/jbd2/jbd2.ko.gz
    /lib/modules/2.6.38-ARCH/kernel/lib
    /lib/modules/2.6.38-ARCH/kernel/lib/crc16.ko.gz
    /lib/modules/2.6.38-ARCH/kernel/fs/ext4
    /lib/modules/2.6.38-ARCH/kernel/fs/ext4/ext4.ko.gz
    /lib/modules/2.6.38-ARCH/modules.dep
    /lib/modules/2.6.38-ARCH/modules.alias
    /lib/modules/2.6.38-ARCH/modules.symbols
    kernel30.img :
    /proc
    /sys
    /dev
    /bin
    /sbin
    /lib
    /usr
    /usr/bin
    /usr/lib
    /usr/sbin
    /run
    /dev/null
    /dev/zero
    /dev/console
    /dev/mem
    /bin/busybox
    /lib/libc.so.6
    /lib/libc-2.13.so
    /lib/ld-linux-x86-64.so.2
    /lib/ld-2.13.so
    /sbin/modprobe
    /sbin/blkid
    /lib/libblkid.so.1
    /lib/libblkid.so.1.1.0
    /lib/libuuid.so.1
    /lib/libuuid.so.1.3.0
    /init_functions
    /init
    /config
    /etc
    /etc/modprobe.d
    /etc/modprobe.d/usb-load-ehci-first.conf
    /sbin/udevd
    /lib/librt.so.1
    /lib/librt-2.13.so
    /lib/libpthread.so.0
    /lib/libpthread-2.13.so
    /sbin/udevadm
    /lib/udev
    /lib/udev/rules.d
    /lib/udev/rules.d/50-firmware.rules
    /lib/udev/rules.d/50-udev-default.rules
    /lib/udev/rules.d/60-persistent-storage.rules
    /lib/udev/rules.d/80-drivers.rules
    /lib/udev/firmware
    /lib/udev/ata_id
    /lib/udev/path_id
    /lib/udev/scsi_id
    /lib/udev/usb_id
    /lib/udev/load-modules.sh
    /etc/udev
    /etc/udev/udev.conf
    /hooks
    /hooks/udev
    mkinitcpio.conf:
    # vim:set ft=sh
    # MODULES
    # The following modules are loaded before any boot hooks are
    # run. Advanced users may wish to specify all system modules
    # in this array. For instance:
    # MODULES="piix ide_disk reiserfs"
    MODULES=""
    # BINARIES
    # This setting includes, into the CPIO image, and additional
    # binaries a given user may wish. This is run first, so may
    # be used to override the actual binaries used in a given hook.
    # (Existing files are NOT overwritten is already added)
    # BINARIES are dependancy parsed, so you may safely ignore libraries
    BINARIES=""
    # FILES
    # This setting is similar to BINARIES above, however, files are added
    # as-is and are not parsed in anyway. This is useful for config files.
    # Some users may wish to include modprobe.conf for custom module options,
    # like so:
    # FILES="/etc/modprobe.conf"
    FILES=""
    # HOOKS
    # This is the most important setting in this file. The HOOKS control the
    # modules and scripts added to the image, and what happens at boot time.
    # Order is important, and it is recommended that you do not change the
    # order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
    # help on a given hook.
    # 'base' is _required_ unless you know precisely what you are doing.
    # 'udev' is _required_ in order to automatically load modules
    # 'filesystems' is _required_ unless you specify your fs modules in MODULES
    # Examples:
    # This setup specifies all modules in the MODULES setting above.
    # No raid, lvm2, or encrypted root is needed.
    # HOOKS="base"
    # This setup will autodetect all modules for your system and should
    # work as a sane default
    # HOOKS="base udev autodetect pata scsi sata filesystems"
    # This is identical to the above, except the old ide subsystem is
    # used for IDE devices instead of the new pata subsystem.
    # HOOKS="base udev autodetect ide scsi sata filesystems"
    # This setup will generate a 'full' image which supports most systems.
    # No autodetection is done.
    # HOOKS="base udev pata scsi sata usb filesystems"
    # This setup assembles an pata raid array with an encrypted root FS.
    # Note: See 'mkinitcpio -H raid' for more information on raid devices.
    # HOOKS="base udev pata raid encrypt filesystems"
    # This setup loads an lvm2 volume group on a usb device.
    # HOOKS="base udev usb lvm2 filesystems"
    HOOKS="base udev v86d autodetect pata scsi sata filesystems"
    # COMPRESSION
    # Use this to compress the initramfs image. With kernels earlier than
    # 2.6.30, only gzip is supported, which is also the default. Newer kernels
    # support gzip, bzip2 and lzma. Kernels 2.6.38 and later support xz
    # compression.
    #COMPRESSION="gzip"
    #COMPRESSION="bzip2"
    #COMPRESSION="lzma"
    #COMPRESSION="xz"
    # COMPRESSION_OPTIONS
    # Additional options for the compressor
    #COMPRESSION_OPTIONS=""
    Last edited by bsilvereagle (2011-07-27 23:29:25)

    bsilvereagle wrote:
    karol wrote:
    bsilvereagle wrote:Oh, I have lts installed, I'd just like to have both kernel26 and 3.0.
    linux 3.0 is just the next version of the kernel26, and we don't have versioned kernel yet https://bugs.archlinux.org/task/16702
    It's just the same as you uninstall foo-1.2.3 and install e.g. foo-1.2.4 or bar-1.0.0 if package foo gets replaced by package bar.
    I know, I'd just like to be able to boot .38-ARCH and 3.0. I have problems w/ thermal and I'm trying to find the coolest kernel.
    You could rebuild the original .38 arch kernel but name it differently, look at e.g. the kernel26-lts package or the lots of custom AUR kernels for references.

Maybe you are looking for