1 |
(This is not a duplicate of the mail I sent yesterday, though, |
2 |
curiously I never got that one back from the list [It did make gmane]) |
3 |
|
4 |
To recap: when I plugged in my harddrive, the kernel recognized the |
5 |
device, but udev failed to create the appropriate entries in /dev. |
6 |
|
7 |
I know that udev did receive the events, because udevmonitor shows so |
8 |
and because the appropriate device appeared under /sys/block/sda (and |
9 |
other places it is supposed to go). |
10 |
|
11 |
One curious thing though: because I remembered that usb-drives used to |
12 |
work about a year ago with my mp3-player, I tried downgrading udev, |
13 |
and it works! |
14 |
|
15 |
So somewhere between udev-068-r1 and udev-087-r1 something changed so |
16 |
that the device nodes are not created. |
17 |
|
18 |
I am running the 2.6.11-hardened-r15 kernel. |
19 |
|
20 |
(I am assuming that using a usb mass storage device is a common enough |
21 |
thing that, the fact that I don't see anything on bugzilla about this |
22 |
means something is misconfigured on my end.) |
23 |
|
24 |
Any ideas? |
25 |
|
26 |
-----------------quote dmesg----------------- |
27 |
usb 1-3: new high speed USB device using ehci_hcd and address 8 |
28 |
scsi3 : SCSI emulation for USB Mass Storage devices |
29 |
usb-storage: device found at 8 |
30 |
usb-storage: waiting for device to settle before scanning |
31 |
Vendor: ST332062 Model: 0A Rev: 0000 |
32 |
Type: Direct-Access ANSI SCSI revision: 00 |
33 |
SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB) |
34 |
sda: assuming drive cache: write through |
35 |
SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB) |
36 |
sda: assuming drive cache: write through |
37 |
sda: unknown partition table |
38 |
Attached scsi disk sda at scsi3, channel 0, id 0, lun 0 |
39 |
Attached scsi generic sg0 at scsi3, channel 0, id 0, lun 0, type 0 |
40 |
usb-storage: device scan complete |
41 |
usb 1-3: USB disconnect, address 8 |
42 |
----------------end quote------------------------ |
43 |
|
44 |
-----------------quote console output---------------- |
45 |
sep / # udevmonitor |
46 |
udevmonitor prints the received event from the kernel [UEVENT] |
47 |
and the event which udev sends out after rule processing [UDEV] |
48 |
|
49 |
UEVENT[1155758086.517805] add <at> /devices/pci0000:00/0000:00:1d.7/usb1/1-3 |
50 |
UEVENT[1155758086.517857] add <at> /devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.0 |
51 |
UEVENT[1155758086.521381] add <at> /class/scsi_host/host1 |
52 |
UDEV [1155758089.825906] add <at> /devices/pci0000:00/0000:00:1d.7/usb1/1-3 |
53 |
UEVENT[1155758091.523830] add <at> /devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.0/host1/target1:0:0/1:0:0:0 |
54 |
UEVENT[1155758091.526080] add <at> /block/sda |
55 |
UEVENT[1155758091.552249] add <at> /class/scsi_device/1:0:0:0 |
56 |
UEVENT[1155758091.552297] add <at> /class/scsi_generic/sg0 |
57 |
UDEV [1155758093.153366] add <at> /devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.0 |
58 |
UDEV [1155758093.170993] add <at> /class/scsi_host/host1 |
59 |
UDEV [1155758099.763624] add <at> /devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.0/host1/target1:0:0/1:0:0:0 |
60 |
UDEV [1155758099.787844] add <at> /block/sda |
61 |
UDEV [1155758099.817401] add <at> /class/scsi_generic/sg0 |
62 |
UDEV [1155758099.825812] add <at> /class/scsi_device/1:0:0:0 |
63 |
------------------end quote----------------------- |
64 |
|
65 |
W |
66 |
|
67 |
-- |
68 |
"`You ARE Zaphod Beeblebrox?' |
69 |
`Yeah,' said Zaphod, `but don't shout it out or they'll all |
70 |
want one.' |
71 |
`THE Zaphod Beeblebrox?' |
72 |
`No, just A Zaphod Bebblebrox, didn't you hear I come in |
73 |
six packs?' |
74 |
`But sir,' it squealed, `I just heard on the sub-ether |
75 |
radio report. It said you were dead...' |
76 |
`Yeah, that's right, I just haven't stopped moving yet.'" |
77 |
|
78 |
- Zaphod and the Guide's receptionist. |
79 |
Sortir en Pantoufles: up 21 days, 21:37 |
80 |
-- |
81 |
gentoo-user@g.o mailing list |