When I upgraded gentoo-sources 2.4.19 to 2.4.20-r1 ide-scsi stopped working. I have found a post on the forum by someone who has te same problem. I think this is a bug. I have attached my kernel config. Reproducible: Didn't try Steps to Reproduce: 1. emerge gentoo-sources 2. cd /usr/src/linux; make dep && make bzImage modules modules_install 3. install the kernel root@tail] dev) emerge info Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2) ================================================================= System uname: 2.4.20-gentoo-r1 i686 Celeron (Coppermine) GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb:/usr/kde/3.1/share/config:/usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 3dnow apm kde mmx xv zlib berkdb arts tcltk X gpm pam qt motif cdr apache2 -esd -gnome -nls python -perl -postgres dvd aalib mpeg sse cups dga gtk gtk2 opengl bonobo -evo gtkhtml imlib ncurses readline sdl svga gif jpeg png tiff avi quicktime alsa -mikmod -nas -oss xmms oggvorbis flash encode ipv6 ssl crypt imap ldap tcpd mozilla -mozctl -mozaccess-builtin moznomail moznocompose moznoirc mozxmlterm spell truetype xml xml2 pdflib -tetex -guile -java -ruby -slang libwww libg++ mysql -odbc gd gdbm -samba -mad" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe -mmmx -msse" CXXFLAGS="-march=pentium3 -O3 -pipe -mmmx -msse" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache" ------------------------------------------------------------------------ lsmod: Module Size Used by Not tainted sg 29036 0 (unused) snd-cs46xx 70100 1 snd-ac97-codec 38016 0 [snd-cs46xx] snd-pcm 65312 0 [snd-cs46xx] snd-timer 15976 0 [snd-pcm] snd-page-alloc 5600 0 [snd-cs46xx snd-pcm] snd-rawmidi 14592 0 [snd-cs46xx] snd-seq-device 4564 0 [snd-rawmidi] snd 32420 1 [snd-cs46xx snd-ac97-codec snd-pcm snd-timer snd-rawmidi snd-seq-device] radeon 109444 4 mousedev 4632 0 (unused) pwc 45708 0 (unused) videodev 4480 1 [pwc] usb-uhci 32108 0 (unused) parport_pc 17092 1 (autoclean) lp 8352 0 (autoclean) parport 29152 1 (autoclean) [parport_pc lp] ide-scsi 9392 0 scsi_mod 64884 2 [sg ide-scsi] soundcore 5284 2 [snd] keybdev 2144 0 (unused) hid 21092 0 (unused) wacom 6972 0 (unused) usbcore 49056 0 [pwc usb-uhci hid wacom] evdev 4768 1 input 3968 0 [mousedev keybdev hid wacom evdev] 3c59x 30256 1
Created attachment 9566 [details] linux kernel config
I had hdd=ide-scsi appended to my kernel boot line in grub.conf and had ide-cdrom and all scsi items compiled into kernel with the exception of scsi disk support. However, whereas before cdrecord -scanbus would work perfectly more recently having switched to gentoo-sources-2.4.20-r1 the same command cannot recognise the scsi driver. I'm told that if you have both scsi-items and ide-cdrom compiled in whichever loads first takes over. So to get around this problem I made ide-cdrom a module and modified the boot parameter to hdd=scsi. This seems to have solved the issue but the issue of the kernel still remains. My kernel configuration can be found on http://dhruba.codewordt.co.uk/info/kernelconfig.txt in the near future.
Like you implied, leaving out ide-cdrom seems to cure the problem.
still seeing this problem with 2.4.20-r2
As mentioned in my previous message try removing ide-cdrom from kernel and changing boot parameter to hdX=scsi. This has done the trick for most people.
*** Bug 18870 has been marked as a duplicate of this bug. ***
This is a bug with Gentoo-sources, it does not happen with vanilla-sources with the same kernel configs. Neither removign ide-scsi nor using hdc=scsi does not work as suggested. I spent a great deal of time working on this for both gentoo-sources and vanilla-sources. When using vanilla-sources with the ide-scsi module and using hdc=ide-scsi the drive is mapped to the scsi bus. A thread on the forums, http://forums.gentoo.org/viewtopic.php?t=44678&highlight=idescsi, suggests that the whole boot parameter line is ignored and not just the ide-scsi portion. If this is so, then this kernel needs to be masked.
would you please try pfeifer-sources-2.4.20_pre9? Thanks, Jay
appears to be fixed in pfeifer-sources-2.4.20_pre8 and higher as well as gentoo-sources-2.4.20-r4. Jay