Gentoo Archives: gentoo-user

From: David Haller <gentoo@×××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] reading data cd/dvd
Date: Wed, 11 Nov 2015 19:07:34
Message-Id: 20151111190712.GA9384@grusum.endjinn.de
In Reply to: Re: [gentoo-user] reading data cd/dvd by Neil Bothwick
1 Hello Neil,
2
3 On Wed, 11 Nov 2015, Neil Bothwick wrote:
4 >On Wed, 11 Nov 2015 11:01:10 +0100, David Haller wrote:
5 >> Add the device(s) to fstab like so:
6 >>
7 >> /dev/cdrom /cdrom auto noauto,ro,user,users
8 >> 0 0 /dev/dvd /dvd auto
9 >> noauto,ro,user,users 0 0
10 >>
11 >> if you have udev setting those symlinks, else use /dev/sr* instead.
12 >>
13 >> But what I think is missing is some feature of the desktop, aka
14 >> "device actions", possibly sys-apps/gnome-disk-utility and some
15 >> digging in the gnome-config.
16 >
17 >He doesn't have /dev/sr0 so no amount of fstab or automounter fiddling
18 >will mount a CD that isn't there. This appears to be a missing kernel
19 >option.
20
21 Hm. Neil, you're right. From the OP though:
22
23 <*> SCSI CDROM support
24
25 which is CONFIG_BLK_DEV_SR which is sr_mod which provides /dev/sr*. So
26 he has sr_mod built into the kernel. No module to load. Should not
27 compile without the requires. Hm. Maybe a missing chipset-driver like
28 pata_atiixp as I use?
29
30 Or systemd-udev etc. is hiccupping, so the kernel (sr_mod) provides
31 the dev "per se" but there's no /dev/sr* device-node created, so let's
32 start at the "bottom" and have a look at dmesg and some stuff ...
33
34 @allan gottlieb:
35
36 - how is that drive connected?
37
38 - Please mail the outputs of
39
40 lsmod
41
42 lspci
43
44 lsscsi | grep -E 'cd|process'
45
46 hwinfo --cdrom
47
48 (the latter is from sys-apps/hwinfo) all run as root.
49
50 Oh, and please also paste the output of
51
52 zgrep -F -e ATA -e SCSI /proc/config.gz
53 or
54 grep -F -e ATA -e SCSI /boot/config-`uname -r`
55 or
56 grep -F -e ATA -e SCSI /usr/src/linux/.config
57
58 whatever matches your kernel best ;)
59
60 And capture the output of 'dmesg' for pasting to e.g. pastebin.org[0],
61 or better e.g. just the output of
62
63 dmesg | grep -Ei 'ata|sr|scd|scsi'
64
65 and/or mail the complete dmesg output just via PM to me (or Neil??) to
66 filter out and quote what's relevant (there might be stuff related not
67 captured by the 'grep -Ei'), no need to blast all that over the 'net.
68
69 -dnh
70
71 [0] has gentoo.org a "paste" service for such stuff? (I'm just lazy)
72
73 --
74 Carter: Besides, all we're really doing is plugging your ship into
75 my battery. -- Stargate SG-1, 6x18 - Forsaken

Replies

Subject Author
Re: [gentoo-user] reading data cd/dvd allan gottlieb <gottlieb@×××.edu>