From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GDmw6-0000PH-87 for garchives@archives.gentoo.org; Thu, 17 Aug 2006 18:49:46 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k7HIlep7005179; Thu, 17 Aug 2006 18:47:40 GMT Received: from Princeton.EDU (postoffice01.Princeton.EDU [128.112.129.75]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k7HIjRAZ021717 for ; Thu, 17 Aug 2006 18:45:28 GMT Received: from smtpserver2.Princeton.EDU (smtpserver2.Princeton.EDU [128.112.129.148]) by Princeton.EDU (8.13.8/8.13.8) with ESMTP id k7HIjQrP011040 for ; Thu, 17 Aug 2006 14:45:27 -0400 (EDT) Received: from sep.dynalias.net (fez.Princeton.EDU [128.112.129.190]) (authenticated bits=0) by smtpserver2.Princeton.EDU (8.12.9/8.12.9) with ESMTP id k7HIjQcs017085 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for ; Thu, 17 Aug 2006 14:45:26 -0400 (EDT) Received: by sep.dynalias.net (Postfix, from userid 1001) id F22D75E8EC5; Thu, 17 Aug 2006 14:46:30 -0400 (EDT) Date: Thu, 17 Aug 2006 14:46:30 -0400 From: Willie Wong To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] udev and external harddisk, some more info Message-ID: <20060817184630.GA9887@princeton.edu> Mail-Followup-To: gentoo-user@lists.gentoo.org Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 X-Archives-Salt: 0729d4b2-e1bd-4553-85ad-2caa455dff20 X-Archives-Hash: 9330eb452e8fa7a00e1cca76053bf115 (This is not a duplicate of the mail I sent yesterday, though, curiously I never got that one back from the list [It did make gmane]) To recap: when I plugged in my harddrive, the kernel recognized the device, but udev failed to create the appropriate entries in /dev. I know that udev did receive the events, because udevmonitor shows so and because the appropriate device appeared under /sys/block/sda (and other places it is supposed to go). One curious thing though: because I remembered that usb-drives used to work about a year ago with my mp3-player, I tried downgrading udev, and it works! So somewhere between udev-068-r1 and udev-087-r1 something changed so that the device nodes are not created. I am running the 2.6.11-hardened-r15 kernel. (I am assuming that using a usb mass storage device is a common enough thing that, the fact that I don't see anything on bugzilla about this means something is misconfigured on my end.) Any ideas? -----------------quote dmesg----------------- usb 1-3: new high speed USB device using ehci_hcd and address 8 scsi3 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 8 usb-storage: waiting for device to settle before scanning Vendor: ST332062 Model: 0A Rev: 0000 Type: Direct-Access ANSI SCSI revision: 00 SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB) sda: assuming drive cache: write through SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB) sda: assuming drive cache: write through sda: unknown partition table Attached scsi disk sda at scsi3, channel 0, id 0, lun 0 Attached scsi generic sg0 at scsi3, channel 0, id 0, lun 0, type 0 usb-storage: device scan complete usb 1-3: USB disconnect, address 8 ----------------end quote------------------------ -----------------quote console output---------------- sep / # udevmonitor udevmonitor prints the received event from the kernel [UEVENT] and the event which udev sends out after rule processing [UDEV] UEVENT[1155758086.517805] add /devices/pci0000:00/0000:00:1d.7/usb1/1-3 UEVENT[1155758086.517857] add /devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.0 UEVENT[1155758086.521381] add /class/scsi_host/host1 UDEV [1155758089.825906] add /devices/pci0000:00/0000:00:1d.7/usb1/1-3 UEVENT[1155758091.523830] add /devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.0/host1/target1:0:0/1:0:0:0 UEVENT[1155758091.526080] add /block/sda UEVENT[1155758091.552249] add /class/scsi_device/1:0:0:0 UEVENT[1155758091.552297] add /class/scsi_generic/sg0 UDEV [1155758093.153366] add /devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.0 UDEV [1155758093.170993] add /class/scsi_host/host1 UDEV [1155758099.763624] add /devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.0/host1/target1:0:0/1:0:0:0 UDEV [1155758099.787844] add /block/sda UDEV [1155758099.817401] add /class/scsi_generic/sg0 UDEV [1155758099.825812] add /class/scsi_device/1:0:0:0 ------------------end quote----------------------- W -- "`You ARE Zaphod Beeblebrox?' `Yeah,' said Zaphod, `but don't shout it out or they'll all want one.' `THE Zaphod Beeblebrox?' `No, just A Zaphod Bebblebrox, didn't you hear I come in six packs?' `But sir,' it squealed, `I just heard on the sub-ether radio report. It said you were dead...' `Yeah, that's right, I just haven't stopped moving yet.'" - Zaphod and the Guide's receptionist. Sortir en Pantoufles: up 21 days, 21:37 -- gentoo-user@gentoo.org mailing list