Gentoo Archives: gentoo-user

From: Stephen Liu <satimis@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Auto-mount USB device
Date: Mon, 09 Oct 2006 15:03:27
Message-Id: 20061009145435.5741.qmail@web35202.mail.mud.yahoo.com
1 Hi Andrew,
2 Still failed.
3
4 # cat /etc/group | grep plugdev
5 plugdev:x:1004:haldaemon,satimis
6
7
8
9
10 if the logout-login doesn't work, then post the relevant part
11 of /var/log/messages when plugging in the usb device.
12
13
14 /var/log/message
15 ......
16 Oct 10 02:53:09 localhost usb 1-3: configuration #1 chosen from 1 choice
17 Oct 10 02:53:09 localhost scsi2 : SCSI emulation for USB Mass Storage devices
18 Oct 10 02:53:09 localhost usb-storage: device found at 3
19 Oct 10 02:53:09 localhost usb-storage: waiting for device to settle before scanning
20 Oct 10 02:53:14 localhost Vendor: Maxtor 9 Model: HAQA Rev: 5215
21 Oct 10 02:53:14 localhost Type: Direct-Access ANSI SCSI revision: 02
22 Oct 10 02:53:14 localhost SCSI device sda: 13281408 512-byte hdwr sectors (6800 MB)
23 Oct 10 02:53:14 localhost sda: Write Protect is off
24 Oct 10 02:53:14 localhost sda: Mode Sense: 00 38 00 00
25 Oct 10 02:53:14 localhost sda: assuming drive cache: write through
26 Oct 10 02:53:14 localhost SCSI device sda: 13281408 512-byte hdwr sectors (6800 MB)
27 Oct 10 02:53:14 localhost sda: Write Protect is off
28 Oct 10 02:53:14 localhost sda: Mode Sense: 00 38 00 00
29 Oct 10 02:53:14 localhost sda: assuming drive cache: write through
30 Oct 10 02:53:14 localhost sda: Write Protect is off
31 Oct 10 02:53:14 localhost sda: Mode Sense: 00 38 00 00
32 Oct 10 02:53:14 localhost sda: assuming drive cache: write through
33 Oct 10 02:53:14 localhost sda: unknown partition table
34 Oct 10 02:53:14 localhost sd 2:0:0:0: Attached scsi disk sda
35 Oct 10 02:53:14 localhost usb-storage: device scan complete
36 Oct 10 02:53:14 localhost scsi.agent[7446]: disk at /devices/pci0000:00/0000:00:0b.1/usb1/1-3/1-3:1.0
37 Oct 10 02:53:45 localhost kjournald starting. Commit interval 5 seconds
38 Oct 10 02:53:45 localhost EXT3 FS on sda, internal journal
39 Oct 10 02:53:45 localhost EXT3-fs: mounted filesystem with ordered data mode.
40 * end *
41
42
43
44
45 Also, post details of the usb thing that you're trying to use - what is
46 it?
47
48
49 USB enclosure is a box for mounting a HD inside to be used for external storage. It is connected to USB port.
50
51
52
53
54 and the gnome, udev and kernel version.
55
56
57 # equery l gnome-light
58 [ Searching for package 'gnome-light' in all categories among: ]
59 * installed packages
60 [I--] [ ] gnome-base/gnome-light-2.12.0 (2.0)
61
62 # equery l udev
63 [ Searching for package 'udev' in all categories among: ]
64 * installed packages
65 [I--] [ ] sys-fs/udev-087-r1 (0)
66
67 # cat /proc/version
68 Linux version 2.6.17-gentoo-r7 (root@localhost) (gcc version 4.1.1 (Gentoo 4.1.1)) #5 SMP Mon Sep 25 18:27:54 HKT 2006
69
70 > Do you have gnome-volume-manager installed and in your session(not sure
71 if thats needed).
72
73
74 Yes.
75
76 # equery l gnome-volume-manager
77 [ Searching for package 'gnome-volume-manager' in all categories among: ]
78 * installed packages
79 [I--] [ ] gnome-base/gnome-volume-manager-1.5.15-r2 (0)
80 * end *
81
82 B.R.
83 SL