On Wed, Nov 11 2015, David Haller wrote: > Hello Neil, > > On Wed, 11 Nov 2015, Neil Bothwick wrote: >>On Wed, 11 Nov 2015 11:01:10 +0100, David Haller wrote: >>> Add the device(s) to fstab like so: >>> >>> /dev/cdrom /cdrom auto noauto,ro,user,users >>> 0 0 /dev/dvd /dvd auto >>> noauto,ro,user,users 0 0 >>> >>> if you have udev setting those symlinks, else use /dev/sr* instead. >>> >>> But what I think is missing is some feature of the desktop, aka >>> "device actions", possibly sys-apps/gnome-disk-utility and some >>> digging in the gnome-config. >> >>He doesn't have /dev/sr0 so no amount of fstab or automounter fiddling >>will mount a CD that isn't there. This appears to be a missing kernel >>option. > > Hm. Neil, you're right. From the OP though: > > <*> SCSI CDROM support > > which is CONFIG_BLK_DEV_SR which is sr_mod which provides /dev/sr*. So > he has sr_mod built into the kernel. No module to load. Should not > compile without the requires. Hm. Maybe a missing chipset-driver like > pata_atiixp as I use? > > Or systemd-udev etc. is hiccupping, so the kernel (sr_mod) provides > the dev "per se" but there's no /dev/sr* device-node created, so let's > start at the "bottom" and have a look at dmesg and some stuff ... > > @allan gottlieb:
GACK the lack of /dev/sr0 is spurious. At the point I looked the (usb) drive was not plugged in. When plugged in we have brw-rw----+ 1 root cdrom 11, 0 Nov 11 14:55 /dev/sr0 Very sorry about that. What is true is that when I insert a known good disk in the drive I do *not* get a media subdirectory of /run. With the old laptop with a built-in drive with the same cdrom media I have /run/media/gottlieb and a subdirectory of that directory has the contents of the drive. All the following are on the new laptop with the drive installed via usb and the known good media inserted > - how is that drive connected? via usb > - Please mail the outputs of > > lsmod Module Size Used by hid_logitech_dj 9504 0 iwlmvm 142993 0 mac80211 425803 1 iwlmvm x86_pkg_temp_thermal 4567 0 iwlwifi 88075 1 iwlmvm > lspci 00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI (rev 09) 00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 09) 00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09) 00:04.0 Signal processing controller: Intel Corporation Broadwell-U Camarillo Device (rev 09) 00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller (rev 03) 00:16.0 Communication controller: Intel Corporation Wildcat Point-LP MEI Controller #1 (rev 03) 00:19.0 Ethernet controller: Intel Corporation Ethernet Connection (3) I218-LM (rev 03) 00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03) 00:1c.0 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #1 (rev e3) 00:1c.3 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #4 (rev e3) 00:1c.4 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #5 (rev e3) 00:1d.0 USB controller: Intel Corporation Wildcat Point-LP USB EHCI Controller (rev 03) 00:1f.0 ISA bridge: Intel Corporation Wildcat Point-LP LPC Controller (rev 03) 00:1f.2 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 03) 00:1f.3 SMBus: Intel Corporation Wildcat Point-LP SMBus Controller (rev 03) 01:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01) 02:00.0 Network controller: Intel Corporation Wireless 7265 (rev 59) > lsscsi | grep -E 'cd|process' Not on my system, what should I emerge? > hwinfo --cdrom > > (the latter is from sys-apps/hwinfo) all run as root. Returns nothing when the (usb) cdrom is out. When plugged in the output is 20: SCSI 300.0: 10602 CD-ROM (DVD) [Created at block.249] Unique ID: BobO.5ZGK3_euMPD Parent ID: 1GTX.w_zDrmylnoE SysFS ID: /class/block/sr0 SysFS BusID: 3:0:0:0 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 Hardware Class: cdrom Model: "HL-DT-ST DVDRAM AP70NS50" Vendor: usb 0x0e8d "HL-DT-ST" Device: usb 0x1887 "DVDRAM AP70NS50" Revision: "1.00" Serial ID: "KZ9F1GG3213" Driver: "usb-storage", "sr" Driver Modules: "usb_storage" Device File: /dev/sr0 (/dev/sg2) Device Number: block 11:0 (char 21:2) 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 Speed: 480 Mbps Module Alias: "usb:v0E8Dp1887d0000dc00dsc00dp00ic08isc02ip50in00" Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #12 (USB Controller) Drive Speed: 24 Volume ID: "COD3E" Application: "NERO BURNING ROM" Creation date: "2007050910420000" > Oh, and please also paste the output of > > zgrep -F -e ATA -e SCSI /proc/config.gz > or > grep -F -e ATA -e SCSI /boot/config-`uname -r` > or > grep -F -e ATA -e SCSI /usr/src/linux/.config > > whatever matches your kernel best ;) CONFIG_ARCH_CLOCKSOURCE_DATA=y # CONFIG_ATARI_PARTITION is not set CONFIG_RELOCATABLE=y # CONFIG_ATALK is not set # CONFIG_ATA_OVER_ETH is not set # SCSI device support CONFIG_SCSI_MOD=y CONFIG_SCSI=y CONFIG_SCSI_DMA=y # CONFIG_SCSI_NETLINK is not set # CONFIG_SCSI_MQ_DEFAULT is not set CONFIG_SCSI_PROC_FS=y # SCSI support type (disk, tape, CD-ROM) CONFIG_SCSI_CONSTANTS=y # CONFIG_SCSI_LOGGING is not set # CONFIG_SCSI_SCAN_ASYNC is not set # SCSI Transports CONFIG_SCSI_SPI_ATTRS=y # CONFIG_SCSI_FC_ATTRS is not set # CONFIG_SCSI_ISCSI_ATTRS is not set # CONFIG_SCSI_SAS_ATTRS is not set # CONFIG_SCSI_SAS_LIBSAS is not set # CONFIG_SCSI_SRP_ATTRS is not set # CONFIG_SCSI_LOWLEVEL is not set # CONFIG_SCSI_LOWLEVEL_PCMCIA is not set # CONFIG_SCSI_DH is not set # CONFIG_SCSI_OSD_INITIATOR is not set CONFIG_ATA=y # CONFIG_ATA_NONSTANDARD is not set CONFIG_ATA_VERBOSE_ERROR=y CONFIG_ATA_ACPI=y CONFIG_SATA_PMP=y CONFIG_SATA_AHCI=y # CONFIG_SATA_AHCI_PLATFORM is not set # CONFIG_SATA_INIC162X is not set # CONFIG_SATA_ACARD_AHCI is not set # CONFIG_SATA_SIL24 is not set CONFIG_ATA_SFF=y # CONFIG_SATA_QSTOR is not set # CONFIG_SATA_SX4 is not set CONFIG_ATA_BMDMA=y # SATA SFF controllers with BMDMA CONFIG_ATA_PIIX=y # CONFIG_SATA_MV is not set # CONFIG_SATA_NV is not set # CONFIG_SATA_PROMISE is not set # CONFIG_SATA_SIL is not set # CONFIG_SATA_SIS is not set # CONFIG_SATA_SVW is not set # CONFIG_SATA_ULI is not set # CONFIG_SATA_VIA is not set # CONFIG_SATA_VITESSE is not set # PATA SFF controllers with BMDMA # CONFIG_PATA_ALI is not set CONFIG_PATA_AMD=y # CONFIG_PATA_ARTOP is not set # CONFIG_PATA_ATIIXP is not set # CONFIG_PATA_ATP867X is not set # CONFIG_PATA_CMD64X is not set # CONFIG_PATA_CYPRESS is not set # CONFIG_PATA_EFAR is not set # CONFIG_PATA_HPT366 is not set # CONFIG_PATA_HPT37X is not set # CONFIG_PATA_HPT3X2N is not set # CONFIG_PATA_HPT3X3 is not set # CONFIG_PATA_IT8213 is not set # CONFIG_PATA_IT821X is not set # CONFIG_PATA_JMICRON is not set # CONFIG_PATA_MARVELL is not set # CONFIG_PATA_NETCELL is not set # CONFIG_PATA_NINJA32 is not set # CONFIG_PATA_NS87415 is not set CONFIG_PATA_OLDPIIX=y # CONFIG_PATA_OPTIDMA is not set # CONFIG_PATA_PDC2027X is not set # CONFIG_PATA_PDC_OLD is not set # CONFIG_PATA_RADISYS is not set # CONFIG_PATA_RDC is not set CONFIG_PATA_SCH=y # CONFIG_PATA_SERVERWORKS is not set # CONFIG_PATA_SIL680 is not set # CONFIG_PATA_SIS is not set # CONFIG_PATA_TOSHIBA is not set # CONFIG_PATA_TRIFLEX is not set # CONFIG_PATA_VIA is not set # CONFIG_PATA_WINBOND is not set # CONFIG_PATA_CMD640_PCI is not set # CONFIG_PATA_MPIIX is not set # CONFIG_PATA_NS87410 is not set # CONFIG_PATA_OPTI is not set # CONFIG_PATA_PCMCIA is not set # CONFIG_PATA_PLATFORM is not set # CONFIG_PATA_RZ1000 is not set # CONFIG_PATA_ACPI is not set # CONFIG_ATA_GENERIC is not set # CONFIG_PATA_LEGACY is not set # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may # CONFIG_USB_STORAGE_DATAFAB is not set # CONFIG_USB_STORAGE_CYPRESS_ATACB is not set # CONFIG_ISCSI_IBFT_FIND is not set CONFIG_DEBUG_RODATA=y # CONFIG_DEBUG_RODATA_TEST is not set > And capture the output of 'dmesg' for pasting to e.g. pastebin.org[0], > or better e.g. just the output of > > dmesg | grep -Ei 'ata|sr|scd|scsi' > > and/or mail the complete dmesg output just via PM to me (or Neil??) to > filter out and quote what's relevant (there might be stuff related not > captured by the 'grep -Ei'), no need to blast all that over the 'net. > > -dnh > > [0] has gentoo.org a "paste" service for such stuff? (I'm just lazy) I put the entire dmesg output on my nyu website http://cs.nyu.edu/~gottlieb/dmesg thanks to all for your help and again sorry about looking for /dev/sr0 when the drive was not plugged in. allan

