From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Fri, 30 Mar 2007 14:26:26 +0000 Subject: Re: Issues with SCSI modules. Message-Id: <20070330142626.GA23085@kroah.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org On Fri, Mar 30, 2007 at 05:55:15PM +0530, Krishna Prasad G. wrote: > Hi, >=20 > =20 >=20 > This is regarding SCSI kernel modules (scsi_mod, sd_mod - disk modules). >=20 > =20 >=20 > System Configuration: >=20 > ------------------------------ >=20 > =20 >=20 > Kernel: 2.6.14.3 ppc GNU/Linux >=20 > OS: Debian GNU/Linux 3.1 >=20 > UDEV version: 056 >=20 > =20 >=20 > On inserting USB Mass Storage Device following messages are generated > (/var/log/messages): >=20 > =20 >=20 > Dec 16 16:24:04 kernel: [ 2480.307174] scsi0 : SCSI emulation for USB > Mass Storage devices >=20 > Dec 16 16:24:09 kernel: [ 2485.324002] Vendor: sz.zeyan Model: USB > Flash Drive Rev: %%z!Y >=20 > Dec 16 16:24:09 kernel: [ 2485.334402] Type: Direct-Access > ANSI SCSI revision: 02 >=20 > Dec 16 16:24:09 kernel: [ 2485.365767] SCSI device sda: 257280 512-byte > hdwr sectors (132 MB) >=20 > Dec 16 16:24:09 kernel: [ 2485.376937] sda: Write Protect is off >=20 > Dec 16 16:24:09 kernel: [ 2485.411969] SCSI device sda: 257280 512-byte > hdwr sectors (132 MB) >=20 > Dec 16 16:24:09 kernel: [ 2485.422894] sda: Write Protect is off >=20 > Dec 16 16:24:09 kernel: [ 2485.431777] sda: sda1 >=20 > Dec 16 16:24:09 kernel: [ 2485.445774] Attached scsi removable disk sda > at scsi0, channel 0, id 0, lun 0 >=20 > Dec 16 16:24:10 scsi.agent[3897]: sd_mod: can't be loaded (for > disk) >=20 > =20 >=20 > I am not able to get "add" event from /etc/udev/rules.d/udev.rules!! Why not? Have you run udevmonitor to see if you are? > Please take a look at last line. I think without having this module > (sd_mod.ko) SCSI disk support is not possible. Then build that module :) But odds are, you have build scsi disk support into your kernel, which based on the log file, looks to be true. So I don't see the problem here, your disk is being discovered just fine. What is wrong? thanks, greg k-h ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=DEVD= EV _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel