View previous topic :: View next topic |
Author |
Message |
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Fri Aug 02, 2002 6:53 pm Post subject: CDRW/DVD Not Detected on Hot-swap |
|
|
Hi,
I have a Compaq Presario 2800. When I hot swap in the secondary battery or floppy, the kernel detects the device and acts appropriately; in the case of the floppy, the entry is created in the devfs. However, when I hot swap in the CDRW/DVD, nothing -- /dev/cdroms/cdrom0 is not created. Playing with the modules does nothing.
At present, the only solution is to boot up with the CD, in which case everything works fine. I can then swap in the battery or floppy, and they work fine, but I get nothing if I put the CD back in. I then have to reboot.
Any ideas?
BTW, floppy support is built into the kernel, and the ACPI battery and CD drivers are modules. |
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Fri Aug 02, 2002 7:52 pm Post subject: |
|
|
What happens if you try to modprobe your CDRW/DVD after you hotswap it back in? Also are you using the IDE-SCSI emulation support?
Regards,
BonezTheGoon |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Fri Aug 02, 2002 8:02 pm Post subject: |
|
|
BonezTheGoon wrote: | What happens if you try to modprobe your CDRW/DVD after you hotswap it back in? |
modprobing all the related modules, one at a time or in unison, has no effect.
BonezTheGoon wrote: | Also are you using the IDE-SCSI emulation support?
|
Yes. However, that should only be necessary for the CDRW side of things; at the moment, I can't even get the standard ATAPI CDROM driver to recognize the drive, since /dev/cdroms/cdrom0 doesn't even exist! |
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Fri Aug 02, 2002 8:13 pm Post subject: |
|
|
The reason I asked about the IDE-SCSI situation is because according to the kernel help (for the IDE-SCSI) it says that you have to disable support for IDE CD-ROMs. You should check it out next time you are in make menuconfig. At any rate I was wondering (I don't know so I was theorizing) about any SCSI hot-swap settings. I can't even remember if the kernel has any to choose from, or whether they'd even apply to emulated IDE-SCSI anyway--just thinking.
My suggestion (what I would try next if it was my machine, not because I know this will work [I don't] but because it's a hunch) is to try removing the IDE-CDROM support from the kernel all together and compile in IDE-SCSI and SCSI-CDROM and General-SCSI support all directly into the kernel (not modules) and then see how things go. You should still get a /dev/cdroms/cdrom0 but it will then be a symlink to the SCSI device instead of the IDE device, as emulated.
Hope that helps!! Hell, I hope it even makes sense to read!
Regards,
BonezTheGoon |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Fri Aug 02, 2002 8:16 pm Post subject: |
|
|
BonezTheGoon wrote: | My suggestion (what I would try next if it was my machine, not because I know this will work [I don't] but because it's a hunch) is to try removing the IDE-CDROM support from the kernel all together and compile in IDE-SCSI and SCSI-CDROM and General-SCSI support all directly into the kernel (not modules) and then see how things go. You should still get a /dev/cdroms/cdrom0 but it will then be a symlink to the SCSI device instead of the IDE device, as emulated.
|
Something to try -- thanks! |
|
Back to top |
|
|
raylpc Guru
Joined: 07 Aug 2003 Posts: 310 Location: Toronto, Canada
|
Posted: Tue Sep 16, 2003 4:27 am Post subject: |
|
|
Hi Hypno,
did u work that out? I also have the same problem.
Thanks |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Tue Sep 16, 2003 4:34 am Post subject: |
|
|
yes.
Here's the list of relevant modules:
Code: | ide-cd 30036 0 (autoclean)
sr_mod 14392 0 (autoclean) (unused)
cdrom 29504 0 (autoclean) [ide-cd sr_mod]
ide-scsi 8752 0
scsi_mod 83876 2 [sr_mod ide-scsi] |
The modules are listed in reverse order of loading; the order matters, because if you load ide-cd before ide-scsi, then the IDE driver will automatically be loaded via the dependencies.
Hope this works; thanks for searching the old posts and finding me. _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
|