View previous topic :: View next topic |
Author |
Message |
tassilo80 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/17222305741d30fe03c674.jpg)
Joined: 26 Mar 2003 Posts: 346 Location: Koblenz, Germany
|
Posted: Thu Mar 25, 2004 11:24 am Post subject: UDEV doesn't find my cdroms |
|
|
Hi,
I switched to udev some weeks ago. Yesterday I wanted to get rid of ide-scsi for my burner, because burning on my laptop with ide-cd works great. So I activated ATAPI CDROM SUPPORT in the kernel (vanilla 2.6.5_rc2) and deselected IDE-SCSI EMULATION.
Then I installed the new kernel and rebooted. Here's the output od dmesg: Code: | Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:11.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci0000:00:11.1
ide0: BM-DMA at 0xd400-0xd407, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xd408-0xd40f, BIOS settings: hdc:DMA, hdd:DMA
hda: ST320423A, ATA DISK drive
hdb: Maxtor 6Y080L0, ATA DISK drive
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: HL-DT-STDVD-ROM GDR8161B, ATAPI CD/DVD-ROM drive
hdd: AOPEN CD-RW CRW4850 1.01 20020904, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 40011300 sectors (20485 MB) w/512KiB Cache, CHS=39693/16/63, UDMA(66)
hda: hda1 hda2 hda3
hdb: max request size: 128KiB
hdb: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(133)
hdb: hdb1 |
So my DVD-drive is hdc and my burner is hdd. But when I tried to mount a CD or tried "hdparm /dev/hdd" or "hdparm /dev/hdc" I got the error
Quote: | No such device or file |
But /dev/hdd and /dev/hdc were existing (Because of the udev device tarball)!
Then I tried to deactivate RC_DEVICE_TARBALL in /etc/conf.d/rc. I rebooted, and now I only have the devices hotplug/udev finds. No hdc/hdd...
Of course hotplug is in runlevel boot.
Any help? How to get my cdroms working? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Angrybob Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/35621032241461d1e2f77c.gif)
Joined: 19 Apr 2003 Posts: 575
|
Posted: Thu Mar 25, 2004 11:50 am Post subject: |
|
|
don't they show up as /dev/cdroms/cdrom0 and /dev/cdroms/cdrom1 ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tassilo80 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/17222305741d30fe03c674.jpg)
Joined: 26 Mar 2003 Posts: 346 Location: Koblenz, Germany
|
Posted: Thu Mar 25, 2004 12:30 pm Post subject: |
|
|
No they didn't.
But all four drives (2 HDD and the 2 cdroms) show up in /proc/ide/hd{a,b,c,d}... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tassilo80 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/17222305741d30fe03c674.jpg)
Joined: 26 Mar 2003 Posts: 346 Location: Koblenz, Germany
|
Posted: Thu Mar 25, 2004 1:04 pm Post subject: Some additional information |
|
|
Hi,
here are some additional infos:
When I boot I get this message: Quote: | * Starting USB and PCI hotplugging
... no modules for INPUT product 0011/0002/0006/0000
... no modules for INPUT product 0011/0001/0001/ab41 [ OK ] |
But I have the same messages on my laptop and there the burner works with udev and ide-cd.
Another thing is, that the computer freezes if I shutdown with RC_DEVICE_TARBALL="yes" in /etc/conf.d/rc. It says Quote: | Stopping USB and PCI hotplugging... | and then does nothing anymore...
If I comment out RC_DEVICE_TARBALL="yes" it shuts down normally. So it seems that it cannot build the device tarball...
I tried it with updating to the newest udev-023-r1 and hotplug-20040311 but this doesn't help... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Gentree Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/1364161114417d616b9645b.jpg)
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Thu Mar 25, 2004 8:17 pm Post subject: |
|
|
Yep,
second that behaviour on 2.6.4-love.r1
I have an ide CDRW . Appears to detect correctly at boot ad hdd but that's the end of it.
It appears in /proc but not in /dev , neither as a cdrom or hdx
All just as you indicated.
Let me know if you get any further.
I am about to go back to ide-scsi but I would like to know if this is a kernel bug.
regards. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tassilo80 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/17222305741d30fe03c674.jpg)
Joined: 26 Mar 2003 Posts: 346 Location: Koblenz, Germany
|
Posted: Thu Mar 25, 2004 8:54 pm Post subject: |
|
|
Ok,
I really don't know where the bug could be. I have this behavior with vanilla-sources-2.6.4 and 2.6.5_rc2 and with mm-sources-2.6.5-r2.
But I'll keep on testing.
Regards,
Tassilo |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Gentree Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/1364161114417d616b9645b.jpg)
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Fri Mar 26, 2004 1:37 am Post subject: |
|
|
My money's on udev.
It useful to know you have tried several kernel sources, I'm useing 2.6.4 love sources so I have to accept poss instability but its obviously across the board in 2.6
I tried the "only use DMA for disks" option. Same result.
I took out ATAPI CDROM and brought back ide-scsi and the same hardware came up straight away and has just cut two CDs at 8x.
I think it is simply udev not creating the necessary device nodes when it detects a IDE CDROM device.
Maybe the most recent love sources or a cvs udev may sort the pb.
I tried the former but it got stuck during boot , I have not had time to play or check out the second option but I think a bug report is in order on 2.6 sources here. (unless its already in there.)
For the time I will stick with ide-scsi.
Keep us posted ![Cool 8)](images/smiles/icon_cool.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Gentree Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/1364161114417d616b9645b.jpg)
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Fri Mar 26, 2004 11:44 am Post subject: |
|
|
FOUND IT!
dumb-ass: after putting IDE support for CDROMs in kernel and knocking out ide-scsi I forgot that I had hdd=ide-scsi in GRUB.
So hdd came up during boot then got knobbled.
I corrected this and now have both hdd and /dev/cdroms/cdrom1 and cdrom0 as it should be
xcdroast has found the CDRW as ide device . Am now doinga test burn to see if its as reliable as it was as ide-scsi.
Your symptons were so close to mine I am pretty sure you will find the same cure
regards. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tassilo80 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/17222305741d30fe03c674.jpg)
Joined: 26 Mar 2003 Posts: 346 Location: Koblenz, Germany
|
Posted: Fri Mar 26, 2004 3:45 pm Post subject: |
|
|
Hey Gentree,
THAT'S IT!!! I had the same settings in grub.conf. I really wouldn't have thought about this in thousands of years.
Very much thanks,
Tassilo |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Gentree Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/1364161114417d616b9645b.jpg)
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Fri Mar 26, 2004 4:30 pm Post subject: |
|
|
Your welcome,
now we've got our cdroms back , do you have digit audio on yours?
Your system seems similar to mine and I can only get sound of my CDs through a cable connection to the sound card, not through the bus. More cables, annoying.
I have "SoundBlaster" PCI 128 but lspci tells me it is an Ensoniq 1371. I guess its just Creative badge engineering someelse's card.
does your drives work directly?
Regards. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xro n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1805537595413358d46ba40.jpg)
Joined: 05 May 2004 Posts: 26
|
Posted: Mon Aug 30, 2004 3:18 pm Post subject: |
|
|
Gentree wrote: | FOUND IT!
dumb-ass: after putting IDE support for CDROMs in kernel and knocking out ide-scsi I forgot that I had hdd=ide-scsi in GRUB. |
You're not the only one, I made exactly the same mistake.
Thanks for reminding us ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
TheKat n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 24 Jan 2004 Posts: 49
|
Posted: Sun Oct 03, 2004 3:53 am Post subject: |
|
|
This is something that is well known, so I thought it was a coldplug bug. I opened bug 66081 about it. The reply is that coldplug can not know to load ide-cd, so it's not fixable. Load ide-cd manually via /etc/modules.autoload.d/kernel-2.6.
I found the reply curious though. I though this was what coldplug was supposed to specialise at? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bergs Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 10 Jul 2002 Posts: 141 Location: Bern, Switzerland
|
Posted: Fri Oct 15, 2004 7:23 pm Post subject: |
|
|
Thanks TheKat
I've had exactly that problem. After manually loading ide-cd, everything was ok.
Simon |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Kaboosh Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/144638519740c7dd8ba818c.png)
Joined: 10 Jun 2004 Posts: 162 Location: Edmonton, AB - Canada
|
Posted: Tue Oct 19, 2004 10:53 pm Post subject: |
|
|
Gentree wrote: |
xcdroast has found the CDRW as ide device . Am now doinga test burn to see if its as reliable as it was as ide-scsi.
|
Got a question. I tried using ide-cd and the drives came up OK in /dev, but when I tried to use cdrecord for burning it couldn't find them. I tried cdrecord --scanbus and got an error that no devices (/dev/pg*) were found...?
What gives ![Question :?:](images/smiles/icon_question.gif) _________________ "The philosophy of one century is the common sense of the next." - Henry Ward Beecher |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|