View previous topic :: View next topic |
Author |
Message |
eurabilis n00b
Joined: 22 Jun 2010 Posts: 66 Location: Warwick, Rhode island, USA
|
Posted: Fri Aug 23, 2013 2:48 am Post subject: No optical drive found. K3b did not find any optical device |
|
|
Just what the title says. My burner is in dmesg here..
Code: | dmesg | grep DVD
[ 1.775169] hdc: PIONEER DVD-RW DVR-118L, ATAPI CD/DVD-ROM drive
[ 3.971314] ide-cd: hdc: ATAPI 40X DVD-ROM DVD-R/RAM CD-R/RW drive, 2000kB Cache |
And cdrecord -scanbus returns..
Code: |
scsibus1001:
1001,0,0 100100) 'PIONEER ' 'DVD-RW DVR-118L' '1.01' Removable CD-ROM
1001,1,0 100101) *
1001,2,0 100102) *
1001,3,0 100103) *
1001,4,0 100104) *
1001,5,0 100105) *
1001,6,0 100106) *
1001,7,0 100107) *
mike@gentoo ~ $ |
But when I start k3b I cant get it to see the burner. Any suggestions? Thanks. I should also note that searching for help says I need to enable HALD but hald has long since been deprecated shoudlnt udev be finding this? |
|
Back to top |
|
|
massimo Veteran
Joined: 22 Jun 2003 Posts: 1226
|
Posted: Fri Aug 23, 2013 6:13 am Post subject: |
|
|
Maybe your user needs to be in the cdrom and/or cdrw group... _________________ Hello 911? How are you? |
|
Back to top |
|
|
piewie Guru
Joined: 26 Sep 2002 Posts: 489 Location: old Europe
|
|
Back to top |
|
|
eurabilis n00b
Joined: 22 Jun 2010 Posts: 66 Location: Warwick, Rhode island, USA
|
Posted: Fri Aug 23, 2013 3:06 pm Post subject: err |
|
|
I Definitely didn't put my user in the cdrom group, let me do that and post back. And this is a spankin new installation. Thanks. edit-- No that didnt do it for me, I didnt think it would as previously I tried doing it as root for a second and it still didnt work.. Where would it be in /dev? I have no /dev/cdrom or dev/sr0
Code: | gentoo dev # ls
adsp full hdg lpfcmgmt rfkill tty1 tty25 tty40 tty56 usbmon0 vcs8
agpgart fuse hdg1 mapper root tty10 tty26 tty41 tty57 usbmon1 vcs9
audio hda hpet mcelog rtc tty11 tty27 tty42 tty58 usbmon2 vcsa
autofs hda1 initctl md0 rtc0 tty12 tty28 tty43 tty59 usbmon3 vcsa1
block hda2 input megadev0 sda tty13 tty29 tty44 tty6 usbmon4 vcsa10
bsg hda3 kmem mem sequencer tty14 tty3 tty45 tty60 usbmon5 vcsa11
bus hda4 kmsg mixer sequencer2 tty15 tty30 tty46 tty61 vcs vcsa12
char hda5 log mpt2ctl sg0 tty16 tty31 tty47 tty62 vcs1 vcsa2
console hda6 loop-control network_latency shm tty17 tty32 tty48 tty63 vcs10 vcsa3
core hda7 loop0 network_throughput snapshot tty18 tty33 tty49 tty7 vcs11 vcsa4
cpu hda8 loop1 null snd tty19 tty34 tty5 tty8 vcs12 vcsa5
cpu_dma_latency hda9 loop2 nvram stderr tty2 tty35 tty50 tty9 vcs2 vcsa6
disk hdc loop3 oldmem stdin tty20 tty36 tty51 ttyS0 vcs3 vcsa7
dri hdd loop4 port stdout tty21 tty37 tty52 ttyS1 vcs4 vcsa8
dsp hdd1 loop5 ptmx tgt tty22 tty38 tty53 ttyS2 vcs5 vcsa9
fb0 hde loop6 pts tty tty23 tty39 tty54 ttyS3 vcs6 vga_arbiter
fd hde1 loop7 random tty0 tty24 tty4 tty55 urandom vcs7 zero
gentoo dev #
|
|
|
Back to top |
|
|
piewie Guru
Joined: 26 Sep 2002 Posts: 489 Location: old Europe
|
Posted: Fri Aug 23, 2013 4:04 pm Post subject: |
|
|
Code: | dmesg | grep DVD
[ 1.775169] hdc: PIONEER DVD-RW DVR-118L, ATAPI CD/DVD-ROM drive
[ 3.971314] ide-cd: hdc: ATAPI 40X DVD-ROM DVD-R/RAM CD-R/RW drive, 2000kB Cache |
looks like /dev/hdc.
ide-cd: are you using the deprecated ATA device driver and no libata driver?
What gives lspci? |
|
Back to top |
|
|
eurabilis n00b
Joined: 22 Jun 2010 Posts: 66 Location: Warwick, Rhode island, USA
|
Posted: Fri Aug 23, 2013 5:14 pm Post subject: |
|
|
I think I have most of it it not both selected i just tried enabling shit until things worked sometimes because im almost barely over my head here especially since it seems they are moving everything around a lot lately! But heres lspci and a snippet from make menuconfig. If you want to take the time to tell me what I should and should not have selected id appreciate it. I have an IDE disk which is gentoo and my burner and two sata drives for storage. I can do most of the kernel hacking myself but it does get tedious with a lot of it shifting and being deprecated etc. right now i have all my stuff working except my cdrom but the kernel does notice it.
Code: | Misc devices ---> │ │
│ │ <*> ATA/ATAPI/MFM/RLL support (DEPRECATED) ---> │ │
│ │ SCSI device support ---> │ │
│ │ <*> Serial ATA and Parallel ATA drivers --->
|
Code: | --- ATA/ATAPI/MFM/RLL support (DEPRECATED) │ │
│ │ *** Please see Documentation/ide/ide.txt for help/info on IDE drives *** │ │
│ │ [*] Support for SATA (deprecated; conflicts with libata SATA driver) │ │
│ │ <*> generic ATA/ATAPI disk support │ │
│ │ [*] ATA disk support |
Code: | gentoo mike # lspci
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:02.0 Display controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
00:06.0 System peripheral: Intel Corporation 82865G/PE/P Processor to I/O Memory Interface (rev 02)
00:1d.0 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
01:01.0 Ethernet controller: 3Com Corporation 3c980-TX Fast Etherlink XL Server Adapter [Cyclone] (rev 30)
01:02.0 Multimedia audio controller: C-Media Electronics Inc CMI8788 [Oxygen HD Audio]
01:03.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV280 [Radeon 9200 PRO] (rev 01)
01:03.1 Display controller: Advanced Micro Devices [AMD] nee ATI RV280 [Radeon 9200 PRO] (Secondary) (rev 01)
gentoo mike #
|
thanks |
|
Back to top |
|
|
piewie Guru
Joined: 26 Sep 2002 Posts: 489 Location: old Europe
|
Posted: Fri Aug 23, 2013 5:32 pm Post subject: |
|
|
ok, disable:
< > ATA/ATAPI/MFM/RLL support (DEPRECATED) --->
and enable
--- Serial ATA and Parallel ATA drivers
[*] ATA BMDMA support │ │
│ │ *** SATA SFF controllers with BMDMA *** │ │
│ │ <*> Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
rebuild and start new kernel |
|
Back to top |
|
|
eurabilis n00b
Joined: 22 Jun 2010 Posts: 66 Location: Warwick, Rhode island, USA
|
Posted: Fri Aug 23, 2013 6:03 pm Post subject: |
|
|
I did that and it caused a kernel panic I had to reboot the old kernel. Think it mentioned a mount root error |
|
Back to top |
|
|
piewie Guru
Joined: 26 Sep 2002 Posts: 489 Location: old Europe
|
Posted: Fri Aug 23, 2013 6:12 pm Post subject: |
|
|
seems, that another kernel module was missing.
Code: | zgrep CONFIG_ATA /proc/config.gz
CONFIG_ATA=y
# CONFIG_ATA_NONSTANDARD is not set
CONFIG_ATA_VERBOSE_ERROR=y
CONFIG_ATA_ACPI=y
CONFIG_ATA_SFF=y
CONFIG_ATA_BMDMA=y
CONFIG_ATA_PIIX=y
|
Code: | grep CONFIG_IDE .config
# CONFIG_IDE is not set |
independently from the libata/pata driver you should use, check permissions of the drive and put yourself in cdrom & cdrw group as massimo told you. I think plugdev and disk are also candidates. You have to login again.
Then I would read this two links:
http://forum.kde.org/viewtopic.php?f=153&t=111168&sid=a4072771f4d6e64dc35f3307c2eebace
https://forums.gentoo.org/viewtopic-t-858965-highlight-.html
Have you already tried:
Code: | $ solid-hardware list
$ udisks --enumerate
|
|
|
Back to top |
|
|
piewie Guru
Joined: 26 Sep 2002 Posts: 489 Location: old Europe
|
Posted: Fri Aug 23, 2013 6:18 pm Post subject: |
|
|
The kernel panics results from the new device name, I think. There should be sda and sdb (instead of hda and hdb) for disks and sr0 for cdrom - you would need some device renaming in /etc/fstab. Also check menu.lst. |
|
Back to top |
|
|
eurabilis n00b
Joined: 22 Jun 2010 Posts: 66 Location: Warwick, Rhode island, USA
|
Posted: Fri Aug 23, 2013 6:23 pm Post subject: |
|
|
Code: | gentoo / # solid-hardware list
udi = '/org/kde/solid/udev/sys/devices/LNXSYSTM:00/LNXCPU:00'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1e.0/0000:01:01.0/net/eth0'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1e.0/0000:01:02.0/sound/card0'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1e.0/0000:01:02.0/sound/card0/adsp'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1e.0/0000:01:02.0/sound/card0/audio'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1e.0/0000:01:02.0/sound/card0/dsp'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1e.0/0000:01:02.0/sound/card0/mixer'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1e.0/0000:01:02.0/sound/card0/pcmC0D0c'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1e.0/0000:01:02.0/sound/card0/pcmC0D0p'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1e.0/0000:01:02.0/sound/card0/pcmC0D1c'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1e.0/0000:01:02.0/sound/card0/pcmC0D1p'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1e.0/0000:01:02.0/sound/card0/controlC0'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS0'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS1'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS2'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS3'
udi = '/org/kde/solid/udev/sys/devices/virtual/net/lo'
udi = '/org/kde/solid/udev/sys/devices/virtual/net/sit0'
udi = '/org/kde/solid/udev/sys/devices/virtual/sound/seq'
udi = '/org/kde/solid/udev/sys/devices/virtual/sound/sequencer'
udi = '/org/kde/solid/udev/sys/devices/virtual/sound/sequencer2'
udi = '/org/kde/solid/udev/sys/devices/virtual/sound/timer'
udi = '/org/freedesktop/UDisks2/block_devices/hda8'
udi = '/org/freedesktop/UDisks2/block_devices/hda2'
udi = '/org/freedesktop/UDisks2/block_devices/hda4'
udi = '/org/freedesktop/UDisks2/block_devices/hda6'
udi = '/org/freedesktop/UDisks2/block_devices/hda5'
udi = '/org/freedesktop/UDisks2/block_devices/hdg'
udi = '/org/freedesktop/UDisks2/block_devices/hda3'
udi = '/org/freedesktop/UDisks2/block_devices/hde'
udi = '/org/freedesktop/UDisks2/block_devices/hda1'
udi = '/org/freedesktop/UDisks2/block_devices/md0'
udi = '/org/freedesktop/UDisks2/block_devices/hda'
udi = '/org/freedesktop/UDisks2/block_devices/hdd'
udi = '/org/freedesktop/UDisks2/block_devices/hdc'
udi = '/org/freedesktop/UDisks2/block_devices/loop1'
udi = '/org/freedesktop/UDisks2/block_devices/loop7'
udi = '/org/freedesktop/UDisks2/block_devices/loop6'
udi = '/org/freedesktop/UDisks2/block_devices/loop5'
udi = '/org/freedesktop/UDisks2/block_devices/loop4'
udi = '/org/freedesktop/UDisks2/block_devices/loop3'
udi = '/org/freedesktop/UDisks2/block_devices/loop2'
udi = '/org/freedesktop/UDisks2/block_devices/hdd1'
udi = '/org/freedesktop/UDisks2/block_devices/loop0'
udi = '/org/freedesktop/UDisks2/block_devices/hdg1'
udi = '/org/freedesktop/UDisks2/block_devices/sdb'
udi = '/org/freedesktop/UDisks2/block_devices/hde1'
udi = '/org/freedesktop/UDisks2/block_devices/sda'
udi = '/org/freedesktop/UDisks2/block_devices/hda9'
udi = '/org/freedesktop/UDisks2/block_devices/hda7'
udi = '/org/freedesktop/UDisks2/drives/Linux_File_CD_Gadget_HT24JW404094'
udi = '/org/freedesktop/UDisks2/drives/Linux_scsi_debug_2000'
udi = '/org/freedesktop/UPower'
udi = '/org/kde/fstab'
gentoo / #
|
I dont appear to have a /proc/config.gz or udisks, where do i get them?
Code: | gentoo / # udisks
bash: udisks: command not found
gentoo / #
|
Code: | gentoo / # zgrep CONFIG_ATA /proc/config.gz
gzip: /proc/config.gz: No such file or directory
gentoo / #
|
|
|
Back to top |
|
|
piewie Guru
Joined: 26 Sep 2002 Posts: 489 Location: old Europe
|
Posted: Fri Aug 23, 2013 6:38 pm Post subject: |
|
|
/proc/config.gz results from
General setup
<*> Kernel .config support
you can also grep in /usr/src/linux/.config
solid-hardware looks ok. Probably udisks (emerge) is not necessary. |
|
Back to top |
|
|
eurabilis n00b
Joined: 22 Jun 2010 Posts: 66 Location: Warwick, Rhode island, USA
|
Posted: Fri Aug 23, 2013 6:39 pm Post subject: |
|
|
Code: | * Messages for package sys-fs/udisks-2.1.0:
* CONFIG_IDE: should not be set. But it is.
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.
>>> Auto-cleaning packages...
|
should i unset that, |
|
Back to top |
|
|
eurabilis n00b
Joined: 22 Jun 2010 Posts: 66 Location: Warwick, Rhode island, USA
|
Posted: Fri Aug 23, 2013 6:45 pm Post subject: |
|
|
I unset config_ide i enabled proc/gz or whatever it was and im trying to get a kernel like that i can actually get into by temporarily enabling whatever it is that borked it give me a few minutes to catch up. thanks for your help. i installed udisks too but i still get command not found. |
|
Back to top |
|
|
eurabilis n00b
Joined: 22 Jun 2010 Posts: 66 Location: Warwick, Rhode island, USA
|
Posted: Fri Aug 23, 2013 6:59 pm Post subject: |
|
|
Ok im in a bootable kernel again. heres this.
Code: | gentoo mike # zgrep CONFIG_ATA /proc/config.gz
# CONFIG_ATARI_PARTITION is not set
# CONFIG_ATALK is not set
# CONFIG_ATA_OVER_ETH is not set
CONFIG_ATA=y
# CONFIG_ATA_NONSTANDARD is not set
# CONFIG_ATA_VERBOSE_ERROR is not set
# CONFIG_ATA_ACPI is not set
CONFIG_ATA_SFF=y
CONFIG_ATA_BMDMA=y
CONFIG_ATA_PIIX=y
# CONFIG_ATA_GENERIC is not set
gentoo mike #
|
But I no longer have my sata disks because i believe i didnt enable this.
Code: |
│ │ [ ] Support for SATA (deprecated; conflicts with libata SATA driver) │ │ |
and in order to get the kernel bootable i had to enable these..
Code: |
--- ATA/ATAPI/MFM/RLL support (DEPRECATED) │ │
│ │ *** Please see Documentation/ide/ide.txt for help/info on IDE drives *** │ │
│ │ [ ] Support for SATA (deprecated; conflicts with libata SATA driver) │ │
│ │ <*> generic ATA/ATAPI disk support │ │
│ │ [*] ATA disk support │ │
│ │ [ ] ATAPI floppy support │ │
│ │ < > PCMCIA IDE support │ │
│ │ < > Cardbus IDE support (Delkin/ASKA/Workbit) │ │
│ │ <*> Include IDE/ATAPI CDROM support │ │
│ │ < > Include IDE/ATAPI TAPE support │ │
│ │ [*] IDE ACPI support │ │
│ │ [*] IDE Taskfile Access │ │
│ │ [*] legacy /proc/ide/ support │ │
│ │ *** IDE chipset support/bugfixes *** │ │
│ │ <*> generic/default IDE chipset support │ │
│ │ < > Platform driver for IDE interfaces │ │
│ │ < > CMD640 chipset bugfix/support │ │
│ │ < > PNP EIDE support │ │
│ │ *** PCI IDE chipsets support *** │ │
│ │ [*] Probe IDE PCI devices in the PCI bus order (DEPRECATED)
│ │ <*> Intel PIIX/ICH chipsets support │ │
|
thanks. what would you like me to do now? |
|
Back to top |
|
|
piewie Guru
Joined: 26 Sep 2002 Posts: 489 Location: old Europe
|
Posted: Fri Aug 23, 2013 7:14 pm Post subject: |
|
|
the sata devices should come from:
Device Drivers --->
<*> Serial ATA and Parallel ATA drivers --->
put the intel stuff in your kernel.
check for this module and build it into kernel (not as module)
Code: | #
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)
|
|
|
Back to top |
|
|
eurabilis n00b
Joined: 22 Jun 2010 Posts: 66 Location: Warwick, Rhode island, USA
|
Posted: Fri Aug 23, 2013 7:21 pm Post subject: |
|
|
thanks i have the asrock p4i65gv |
|
Back to top |
|
|
piewie Guru
Joined: 26 Sep 2002 Posts: 489 Location: old Europe
|
Posted: Fri Aug 23, 2013 7:22 pm Post subject: |
|
|
perhaps:
Code: | <*> Intel PATA old PIIX support
<*> Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support |
|
|
Back to top |
|
|
piewie Guru
Joined: 26 Sep 2002 Posts: 489 Location: old Europe
|
Posted: Fri Aug 23, 2013 7:25 pm Post subject: |
|
|
don't forget to change hda to sda in /etc/fstab |
|
Back to top |
|
|
eurabilis n00b
Joined: 22 Jun 2010 Posts: 66 Location: Warwick, Rhode island, USA
|
Posted: Fri Aug 23, 2013 7:26 pm Post subject: |
|
|
yup that gave me sdb1 and sdc1 i have my sata disks now thanks. now what would the cdrom be? |
|
Back to top |
|
|
piewie Guru
Joined: 26 Sep 2002 Posts: 489 Location: old Europe
|
Posted: Fri Aug 23, 2013 7:29 pm Post subject: |
|
|
I would expect /dev/sr0
Code: | dmesg | grep -i dvd
[ 2.373472] ata1.00: ATAPI: Optiarc DVD RW AD-7280S, 1.01, max UDMA/100
[ 2.379116] scsi 1:0:0:0: CD-ROM Optiarc DVD RW AD-7280S 1.01 PQ: 0 ANSI: 5
[ 2.382162] sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
[ 2.859934] sr1: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
[ 4.875069] ata6.00: ATAPI: PLEXTOR DVDR PX-760A, 1.07, max UDMA/66
[ 4.878744] scsi 6:0:0:0: CD-ROM PLEXTOR DVDR PX-760A 1.07 PQ: 0 ANSI: 5
|
|
|
Back to top |
|
|
eurabilis n00b
Joined: 22 Jun 2010 Posts: 66 Location: Warwick, Rhode island, USA
|
Posted: Fri Aug 23, 2013 7:32 pm Post subject: |
|
|
I dont get it its still Code: | gentoo dev # dmesg | grep -i dvd
[ 1.768170] hdc: PIONEER DVD-RW DVR-118L, ATAPI CD/DVD-ROM drive
[ 2.188088] ide-cd: hdc: ATAPI 40X DVD-ROM DVD-R/RAM CD-R/RW drive, 2000kB Cache
gentoo dev #
|
|
|
Back to top |
|
|
piewie Guru
Joined: 26 Sep 2002 Posts: 489 Location: old Europe
|
Posted: Fri Aug 23, 2013 7:41 pm Post subject: |
|
|
ok, check your bios, if there a compatibiliy mode or similar for your cdrom. switch to sata or try ahci |
|
Back to top |
|
|
eurabilis n00b
Joined: 22 Jun 2010 Posts: 66 Location: Warwick, Rhode island, USA
|
Posted: Fri Aug 23, 2013 7:56 pm Post subject: |
|
|
There was it was called onboard ide operate mode and it was set to enhanced. but when i selected compatibility mode the kernel panicked again I had to set it back. There was nothing for just the cdrom though.
Last edited by eurabilis on Fri Aug 23, 2013 8:09 pm; edited 3 times in total |
|
Back to top |
|
|
piewie Guru
Joined: 26 Sep 2002 Posts: 489 Location: old Europe
|
Posted: Fri Aug 23, 2013 8:06 pm Post subject: |
|
|
ok, how about AHCI mode and
Device Drivers --->
SCSI device support --->
-*- SCSI device support
<*> SCSI CDROM support
[*] Enable vendor-specific extensions (for SCSI CDROM)
<*> SCSI generic support |
|
Back to top |
|
|
|