1 |
On Wed, Nov 11 2015, David Haller wrote: |
2 |
|
3 |
> Hello Neil, |
4 |
> |
5 |
> On Wed, 11 Nov 2015, Neil Bothwick wrote: |
6 |
>>On Wed, 11 Nov 2015 11:01:10 +0100, David Haller wrote: |
7 |
>>> Add the device(s) to fstab like so: |
8 |
>>> |
9 |
>>> /dev/cdrom /cdrom auto noauto,ro,user,users |
10 |
>>> 0 0 /dev/dvd /dvd auto |
11 |
>>> noauto,ro,user,users 0 0 |
12 |
>>> |
13 |
>>> if you have udev setting those symlinks, else use /dev/sr* instead. |
14 |
>>> |
15 |
>>> But what I think is missing is some feature of the desktop, aka |
16 |
>>> "device actions", possibly sys-apps/gnome-disk-utility and some |
17 |
>>> digging in the gnome-config. |
18 |
>> |
19 |
>>He doesn't have /dev/sr0 so no amount of fstab or automounter fiddling |
20 |
>>will mount a CD that isn't there. This appears to be a missing kernel |
21 |
>>option. |
22 |
> |
23 |
> Hm. Neil, you're right. From the OP though: |
24 |
> |
25 |
> <*> SCSI CDROM support |
26 |
> |
27 |
> which is CONFIG_BLK_DEV_SR which is sr_mod which provides /dev/sr*. So |
28 |
> he has sr_mod built into the kernel. No module to load. Should not |
29 |
> compile without the requires. Hm. Maybe a missing chipset-driver like |
30 |
> pata_atiixp as I use? |
31 |
> |
32 |
> Or systemd-udev etc. is hiccupping, so the kernel (sr_mod) provides |
33 |
> the dev "per se" but there's no /dev/sr* device-node created, so let's |
34 |
> start at the "bottom" and have a look at dmesg and some stuff ... |
35 |
> |
36 |
> @allan gottlieb: |
37 |
|
38 |
GACK the lack of /dev/sr0 is spurious. At the point I looked |
39 |
the (usb) drive was not plugged in. When plugged in we have |
40 |
|
41 |
brw-rw----+ 1 root cdrom 11, 0 Nov 11 14:55 /dev/sr0 |
42 |
|
43 |
Very sorry about that. |
44 |
|
45 |
What is true is that when I insert a known good disk in the drive I do |
46 |
*not* get a media subdirectory of /run. With the old laptop with a |
47 |
built-in drive with the same cdrom media I have /run/media/gottlieb |
48 |
and a subdirectory of that directory has the contents of the drive. |
49 |
|
50 |
All the following are on the new laptop with the drive installed via usb |
51 |
and the known good media inserted |
52 |
|
53 |
> - how is that drive connected? |
54 |
|
55 |
via usb |
56 |
|
57 |
> - Please mail the outputs of |
58 |
> |
59 |
> lsmod |
60 |
|
61 |
Module Size Used by |
62 |
hid_logitech_dj 9504 0 |
63 |
iwlmvm 142993 0 |
64 |
mac80211 425803 1 iwlmvm |
65 |
x86_pkg_temp_thermal 4567 0 |
66 |
iwlwifi 88075 1 iwlmvm |
67 |
|
68 |
|
69 |
> lspci |
70 |
|
71 |
00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI (rev 09) |
72 |
00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 09) |
73 |
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09) |
74 |
00:04.0 Signal processing controller: Intel Corporation Broadwell-U Camarillo Device (rev 09) |
75 |
00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller (rev 03) |
76 |
00:16.0 Communication controller: Intel Corporation Wildcat Point-LP MEI Controller #1 (rev 03) |
77 |
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection (3) I218-LM (rev 03) |
78 |
00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03) |
79 |
00:1c.0 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #1 (rev e3) |
80 |
00:1c.3 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #4 (rev e3) |
81 |
00:1c.4 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #5 (rev e3) |
82 |
00:1d.0 USB controller: Intel Corporation Wildcat Point-LP USB EHCI Controller (rev 03) |
83 |
00:1f.0 ISA bridge: Intel Corporation Wildcat Point-LP LPC Controller (rev 03) |
84 |
00:1f.2 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 03) |
85 |
00:1f.3 SMBus: Intel Corporation Wildcat Point-LP SMBus Controller (rev 03) |
86 |
01:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01) |
87 |
02:00.0 Network controller: Intel Corporation Wireless 7265 (rev 59) |
88 |
|
89 |
> lsscsi | grep -E 'cd|process' |
90 |
|
91 |
Not on my system, what should I emerge? |
92 |
|
93 |
> hwinfo --cdrom |
94 |
> |
95 |
> (the latter is from sys-apps/hwinfo) all run as root. |
96 |
|
97 |
Returns nothing when the (usb) cdrom is out. When plugged in the output |
98 |
is |
99 |
|
100 |
20: SCSI 300.0: 10602 CD-ROM (DVD) |
101 |
[Created at block.249] |
102 |
Unique ID: BobO.5ZGK3_euMPD |
103 |
Parent ID: 1GTX.w_zDrmylnoE |
104 |
SysFS ID: /class/block/sr0 |
105 |
SysFS BusID: 3:0:0:0 |
106 |
SysFS Device Link: /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2/1-1.2:1.0/host3/target3:0:0/3:0:0:0 |
107 |
Hardware Class: cdrom |
108 |
Model: "HL-DT-ST DVDRAM AP70NS50" |
109 |
Vendor: usb 0x0e8d "HL-DT-ST" |
110 |
Device: usb 0x1887 "DVDRAM AP70NS50" |
111 |
Revision: "1.00" |
112 |
Serial ID: "KZ9F1GG3213" |
113 |
Driver: "usb-storage", "sr" |
114 |
Driver Modules: "usb_storage" |
115 |
Device File: /dev/sr0 (/dev/sg2) |
116 |
Device Number: block 11:0 (char 21:2) |
117 |
Features: CD-R, CD-RW, DVD, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL, DVD-RAM, MRW, MRW-W |
118 |
Speed: 480 Mbps |
119 |
Module Alias: "usb:v0E8Dp1887d0000dc00dsc00dp00ic08isc02ip50in00" |
120 |
Config Status: cfg=new, avail=yes, need=no, active=unknown |
121 |
Attached to: #12 (USB Controller) |
122 |
Drive Speed: 24 |
123 |
Volume ID: "COD3E" |
124 |
Application: "NERO BURNING ROM" |
125 |
Creation date: "2007050910420000" |
126 |
|
127 |
> Oh, and please also paste the output of |
128 |
> |
129 |
> zgrep -F -e ATA -e SCSI /proc/config.gz |
130 |
> or |
131 |
> grep -F -e ATA -e SCSI /boot/config-`uname -r` |
132 |
> or |
133 |
> grep -F -e ATA -e SCSI /usr/src/linux/.config |
134 |
> |
135 |
> whatever matches your kernel best ;) |
136 |
|
137 |
CONFIG_ARCH_CLOCKSOURCE_DATA=y |
138 |
# CONFIG_ATARI_PARTITION is not set |
139 |
CONFIG_RELOCATABLE=y |
140 |
# CONFIG_ATALK is not set |
141 |
# CONFIG_ATA_OVER_ETH is not set |
142 |
# SCSI device support |
143 |
CONFIG_SCSI_MOD=y |
144 |
CONFIG_SCSI=y |
145 |
CONFIG_SCSI_DMA=y |
146 |
# CONFIG_SCSI_NETLINK is not set |
147 |
# CONFIG_SCSI_MQ_DEFAULT is not set |
148 |
CONFIG_SCSI_PROC_FS=y |
149 |
# SCSI support type (disk, tape, CD-ROM) |
150 |
CONFIG_SCSI_CONSTANTS=y |
151 |
# CONFIG_SCSI_LOGGING is not set |
152 |
# CONFIG_SCSI_SCAN_ASYNC is not set |
153 |
# SCSI Transports |
154 |
CONFIG_SCSI_SPI_ATTRS=y |
155 |
# CONFIG_SCSI_FC_ATTRS is not set |
156 |
# CONFIG_SCSI_ISCSI_ATTRS is not set |
157 |
# CONFIG_SCSI_SAS_ATTRS is not set |
158 |
# CONFIG_SCSI_SAS_LIBSAS is not set |
159 |
# CONFIG_SCSI_SRP_ATTRS is not set |
160 |
# CONFIG_SCSI_LOWLEVEL is not set |
161 |
# CONFIG_SCSI_LOWLEVEL_PCMCIA is not set |
162 |
# CONFIG_SCSI_DH is not set |
163 |
# CONFIG_SCSI_OSD_INITIATOR is not set |
164 |
CONFIG_ATA=y |
165 |
# CONFIG_ATA_NONSTANDARD is not set |
166 |
CONFIG_ATA_VERBOSE_ERROR=y |
167 |
CONFIG_ATA_ACPI=y |
168 |
CONFIG_SATA_PMP=y |
169 |
CONFIG_SATA_AHCI=y |
170 |
# CONFIG_SATA_AHCI_PLATFORM is not set |
171 |
# CONFIG_SATA_INIC162X is not set |
172 |
# CONFIG_SATA_ACARD_AHCI is not set |
173 |
# CONFIG_SATA_SIL24 is not set |
174 |
CONFIG_ATA_SFF=y |
175 |
# CONFIG_SATA_QSTOR is not set |
176 |
# CONFIG_SATA_SX4 is not set |
177 |
CONFIG_ATA_BMDMA=y |
178 |
# SATA SFF controllers with BMDMA |
179 |
CONFIG_ATA_PIIX=y |
180 |
# CONFIG_SATA_MV is not set |
181 |
# CONFIG_SATA_NV is not set |
182 |
# CONFIG_SATA_PROMISE is not set |
183 |
# CONFIG_SATA_SIL is not set |
184 |
# CONFIG_SATA_SIS is not set |
185 |
# CONFIG_SATA_SVW is not set |
186 |
# CONFIG_SATA_ULI is not set |
187 |
# CONFIG_SATA_VIA is not set |
188 |
# CONFIG_SATA_VITESSE is not set |
189 |
# PATA SFF controllers with BMDMA |
190 |
# CONFIG_PATA_ALI is not set |
191 |
CONFIG_PATA_AMD=y |
192 |
# CONFIG_PATA_ARTOP is not set |
193 |
# CONFIG_PATA_ATIIXP is not set |
194 |
# CONFIG_PATA_ATP867X is not set |
195 |
# CONFIG_PATA_CMD64X is not set |
196 |
# CONFIG_PATA_CYPRESS is not set |
197 |
# CONFIG_PATA_EFAR is not set |
198 |
# CONFIG_PATA_HPT366 is not set |
199 |
# CONFIG_PATA_HPT37X is not set |
200 |
# CONFIG_PATA_HPT3X2N is not set |
201 |
# CONFIG_PATA_HPT3X3 is not set |
202 |
# CONFIG_PATA_IT8213 is not set |
203 |
# CONFIG_PATA_IT821X is not set |
204 |
# CONFIG_PATA_JMICRON is not set |
205 |
# CONFIG_PATA_MARVELL is not set |
206 |
# CONFIG_PATA_NETCELL is not set |
207 |
# CONFIG_PATA_NINJA32 is not set |
208 |
# CONFIG_PATA_NS87415 is not set |
209 |
CONFIG_PATA_OLDPIIX=y |
210 |
# CONFIG_PATA_OPTIDMA is not set |
211 |
# CONFIG_PATA_PDC2027X is not set |
212 |
# CONFIG_PATA_PDC_OLD is not set |
213 |
# CONFIG_PATA_RADISYS is not set |
214 |
# CONFIG_PATA_RDC is not set |
215 |
CONFIG_PATA_SCH=y |
216 |
# CONFIG_PATA_SERVERWORKS is not set |
217 |
# CONFIG_PATA_SIL680 is not set |
218 |
# CONFIG_PATA_SIS is not set |
219 |
# CONFIG_PATA_TOSHIBA is not set |
220 |
# CONFIG_PATA_TRIFLEX is not set |
221 |
# CONFIG_PATA_VIA is not set |
222 |
# CONFIG_PATA_WINBOND is not set |
223 |
# CONFIG_PATA_CMD640_PCI is not set |
224 |
# CONFIG_PATA_MPIIX is not set |
225 |
# CONFIG_PATA_NS87410 is not set |
226 |
# CONFIG_PATA_OPTI is not set |
227 |
# CONFIG_PATA_PCMCIA is not set |
228 |
# CONFIG_PATA_PLATFORM is not set |
229 |
# CONFIG_PATA_RZ1000 is not set |
230 |
# CONFIG_PATA_ACPI is not set |
231 |
# CONFIG_ATA_GENERIC is not set |
232 |
# CONFIG_PATA_LEGACY is not set |
233 |
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may |
234 |
# CONFIG_USB_STORAGE_DATAFAB is not set |
235 |
# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set |
236 |
# CONFIG_ISCSI_IBFT_FIND is not set |
237 |
CONFIG_DEBUG_RODATA=y |
238 |
# CONFIG_DEBUG_RODATA_TEST is not set |
239 |
|
240 |
|
241 |
> And capture the output of 'dmesg' for pasting to e.g. pastebin.org[0], |
242 |
> or better e.g. just the output of |
243 |
> |
244 |
> dmesg | grep -Ei 'ata|sr|scd|scsi' |
245 |
> |
246 |
> and/or mail the complete dmesg output just via PM to me (or Neil??) to |
247 |
> filter out and quote what's relevant (there might be stuff related not |
248 |
> captured by the 'grep -Ei'), no need to blast all that over the 'net. |
249 |
> |
250 |
> -dnh |
251 |
> |
252 |
> [0] has gentoo.org a "paste" service for such stuff? (I'm just lazy) |
253 |
|
254 |
I put the entire dmesg output on my nyu website |
255 |
http://cs.nyu.edu/~gottlieb/dmesg |
256 |
|
257 |
thanks to all for your help and again sorry about looking for /dev/sr0 |
258 |
when the drive was not plugged in. |
259 |
|
260 |
allan |