Re: [gentoo-user] reading data cd/dvd
On Wed, Nov 11 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 autonoauto,ro,user,users >> 0 0 /dev/dvd/dvdauto >> noauto,ro,user,users0 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. That was my thought as well. > Is this a built in optical drive or a USB one? Interesting question. The old (successful) laptop has a built in optical drive The new (unsuccessful) laptop has a USB optical drive *However* My desktop machine (not mentioned previously) has a built in optical and has the same problem as the new laptop Thank you all allan
Re: [gentoo-user] reading data cd/dvd
On Wed, 11 Nov 2015 11:01:10 +0100, David Haller wrote: > Add the device(s) to fstab like so: > > /dev/cdrom /cdrom autonoauto,ro,user,users > 0 0 /dev/dvd/dvdauto > noauto,ro,user,users0 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. Is this a built in optical drive or a USB one? -- Neil Bothwick Q. How many radical feminists does it take to change a light bulb? A. Two - one to change the bulb and one to write a book about the passive role of the socket. pgpF4oWckajPy.pgp Description: OpenPGP digital signature
Re: [gentoo-user] reading data cd/dvd
Hello, On Wed, 11 Nov 2015, Philip Webb wrote: >151110 allan gottlieb wrote: >> All my machines run gentoo / systemd / gnome3 >> On my older laptop when I plug in a data cd I get a popup >> suggesting that I open it with files. All is well >> On my newer laptop the disk spins up but no popup appears. >> What must I configure? >> On the old machine there is a dir /run/media/ with a subdir gottlieb. >> The data cd is mounted there. Looking at df gives >> /dev/sr0286490 286490 0 100% /run/media/gottlieb/COD3E >> The new machine does not even have /dev/sr0. >> Am I missing a kernel option ? > >My note from recently installing Gentoo on a newly built machine : >"for DVD drive, use BLK_DEV_SR to create /dev/sr0 ". That's the "SCSI CDROM support" he already has. >BTW I try to do things as simply as possible : >using Fluxbox + Openrc, I mount /dev/sr0 on /mnt/dvd (as root), >then (as user) 'cd /mnt/dvd' & use Most/Mupdf/Feh/etc to look at the files. >Quick, effective, foolproof ... (smile) Add the device(s) to fstab like so: /dev/cdrom /cdrom autonoauto,ro,user,users0 0 /dev/dvd/dvdautonoauto,ro,user,users0 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. I do not use gnome. HTH, -dnh -- > Wenn er SSH sperrt aber Telnet offen läßt ist er kein Admin. Sondern ein Bonfigt? -- J. Nieveler u. S. Posner in dasr
Re: [gentoo-user] reading data cd/dvd
On Wed, Nov 11, 2015 at 04:05:29AM -0500, Philip Webb wrote > My note from recently installing Gentoo on a newly built machine : > "for DVD drive, use BLK_DEV_SR to create /dev/sr0 ". > Use 'make menuconfig' + search to find that string, then set the option. > > BTW I try to do things as simply as possible : > using Fluxbox + Openrc, I mount /dev/sr0 on /mnt/dvd (as root), > then (as user) 'cd /mnt/dvd' & use Most/Mupdf/Feh/etc to look at the files. > Quick, effective, foolproof ... (smile) In my /etc/fstab, I have... /dev/cdrom /mnt/cdrom iso9660 noauto,users,ro 0 0 /dev/sr0/mnt/dvdauto noauto,users,ro 0 0 ...to handle the 2 devices on my system. The corresponding lines will probably be different on your system. The advantage is that I can mount and umount as a regular user. BTW, I run ICEWM. -- Walter DnesI don't run "desktop environments"; I run useful applications
Re: [gentoo-user] reading data cd/dvd
151110 allan gottlieb wrote: > All my machines run gentoo / systemd / gnome3 > On my older laptop when I plug in a data cd I get a popup > suggesting that I open it with files. All is well > On my newer laptop the disk spins up but no popup appears. > What must I configure? > On the old machine there is a dir /run/media/ with a subdir gottlieb. > The data cd is mounted there. Looking at df gives > /dev/sr0286490 286490 0 100% /run/media/gottlieb/COD3E > The new machine does not even have /dev/sr0. > Am I missing a kernel option ? My note from recently installing Gentoo on a newly built machine : "for DVD drive, use BLK_DEV_SR to create /dev/sr0 ". Use 'make menuconfig' + search to find that string, then set the option. BTW I try to do things as simply as possible : using Fluxbox + Openrc, I mount /dev/sr0 on /mnt/dvd (as root), then (as user) 'cd /mnt/dvd' & use Most/Mupdf/Feh/etc to look at the files. Quick, effective, foolproof ... (smile) -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
Re: [gentoo-user] reading data cd/dvd
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 autonoauto,ro,user,users >>> 0 0 /dev/dvd/dvdauto >>> noauto,ro,user,users0 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 iwlmvm142993 0 mac80211 425803 1 iwlmvm x86_pkg_temp_thermal 4567 0 iwlwifi88075 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/pci:00/: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:v0E8Dp1887ddc00dsc00dp00ic08isc02ip50in00" 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: "200705091042" > Oh, and please also paste the output
Re: [gentoo-user] reading data cd/dvd
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 autonoauto,ro,user,users >> 0 0 /dev/dvd/dvdauto >> noauto,ro,user,users0 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: - how is that drive connected? - Please mail the outputs of lsmod lspci lsscsi | grep -E 'cd|process' hwinfo --cdrom (the latter is from sys-apps/hwinfo) all run as root. 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 ;) 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) -- Carter: Besides, all we're really doing is plugging your ship into my battery. -- Stargate SG-1, 6x18 - Forsaken
[gentoo-user] reading data cd/dvd
All my machines run gentoo / systemd / gnome3 On my older laptop when I plug in a data cd I get a popup suggesting that I open it with files. All is well On my newer laptop the disk spins up but no popup appears. What must I configure? On the old machine there is a directory /run/media/ with a subdirectory gottlieb. The data cd is mounted there. Looking at df gives /dev/sr0286490 286490 0 100% /run/media/gottlieb/COD3E The new machine does not even have /dev/sr0. Am I missing a kernel option I have the following in scsi device support. < > RAID Transport Class -*- SCSI device support [ ] SCSI: use blk-mq I/O path by default [*] legacy /proc/scsi/ support *** SCSI support type (disk, tape, CD-ROM) *** <*> SCSI disk support < > SCSI tape support < > SCSI OnStream SC-x0 tape support <*> SCSI CDROM support [*] Enable vendor-specific extensions (for SCSI CDROM) <*> SCSI generic support < > SCSI media changer support [*] Verbose SCSI error reporting (kernel size +=12K) [ ] SCSI logging facility [ ] Asynchronous SCSI scanning SCSI Transports ---> [ ] SCSI low-level drivers [ ] PCMCIA SCSI adapter support < > SCSI Device Handlers < > OSD-Initiator library Thanks in advance for any help. allan