Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101144 - modprobe ide-cd gives parameter error
Summary: modprobe ide-cd gives parameter error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-02 15:13 UTC by Geoff Drake
Modified: 2005-08-03 04:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
modules.conf as requested (modules.conf,4.63 KB, text/plain)
2005-08-03 02:27 UTC, Geoff Drake
Details
Also autoloaded moudles (kernel-2.6,504 bytes, text/plain)
2005-08-03 02:28 UTC, Geoff Drake
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Geoff Drake 2005-08-02 15:13:08 UTC
I cannot access my cdrom drives and finally traced it to ide-cd failing on
startup.  I also get the same error if I do a 'modprobe ide-cd'.

grub config is correct, the drives are recognised in dmesg output, correct 
CONFIG  parameters are set in kernel generation.

/dev/hdc and /dev/hdd fail to be created by udev.

Reproducible: Always
Steps to Reproduce:
1. modprobe ide-cd

Actual Results:  
benq geoffd # modprobe ide-cd
FATAL: Error inserting ide_cd
(/lib/modules/2.6.12-gentoo-r6/kernel/drivers/ide/ide-cd.ko): Invalid argument
benq geoffd #        

Expected Results:  
Loaded ide-cd without error

Dmesg output is:

Kernel command line: udev root=/dev/ram0 real_root=/dev/hda5 init=/linuxrc
ide0=dma hdc=cdrom hdd=cdrom ramdisk_size=8192

ide_setup: hdc=cdrom
    ide1: BM-DMA at 0xb408-0xb40f, BIOS settings: hdc:DMA, hdd:DMA
hdc: HL-DT-ST GCE-8520B, ATAPI CD/DVD-ROM drive

ide_setup: hdd=cdrom
    ide1: BM-DMA at 0xb408-0xb40f, BIOS settings: hdc:DMA, hdd:DMA
hdd: _NEC DVD_RW ND-3540A, ATAPI CD/DVD-ROM drive

ide_cd: `' invalid for parameter `ignore'
ignore: string parameter expected


Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.2.3-r5, 2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.4.3-r4, 1.5.18-r1
virtual/os-headers:  2.4.19-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/grass60/etc /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/
http://gentoo.blueyonder.co.uk http://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X alsa apache2 avi bitmap-fonts bonobo cdr cups doc dvd emacs encode
foomaticdb fortran gd gif glut ipv6 ithreads java jikes jpeg kde mime mmx mmx2
motif mp3 mpeg mysql mysqli nptl nvidia opengl pdflib php png postgres ppds
python quicktime readline samba scanner sdl speex sse sse2 ssl tclk tiff
truetype unicode usb v4l x86 xml xml2 xv userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2005-08-03 02:05:45 UTC
Please attach /etc/modules.conf
Comment 2 Geoff Drake 2005-08-03 02:27:53 UTC
Created attachment 64975 [details]
modules.conf as requested
Comment 3 Geoff Drake 2005-08-03 02:28:59 UTC
Created attachment 64976 [details]
Also autoloaded moudles
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2005-08-03 03:04:17 UTC
You have this line in /etc/modules.d/aliases :

options ide-cd ignore hdd

the correct format is "ignore=hdd"
Comment 5 Geoff Drake 2005-08-03 04:00:55 UTC
Thanks, I have been looking for this for nearly 2 weeks.  I upgraded from 2.4 to
2.6 and have had this problem since then.  All the scsi stuff in
/etc/modules.d/alias was there from 2.4. Deleted the option ide-cd line and both
my cdroms now work.