My CD/DVD drive is not showing any more. The physical drive is okay; for testing, i'm running knoppix off a CD in this drive right now.
The machine normally runs Ubuntu 7.04 with kernel 2.6.17-12-386. I should have /dev/cdrom symlink to /dev/hdc, but hdc is missing. The drive is identified as LTN486S, found by the kernel but followed by "ERROR, PORTS ALREADY IN USE" and other suspicious claims. The relevant snippet of dmesg is below. The main hard drive hda, containing / and /home, works fine, though suspicious statements are made about ide0 too. There are no other ide devices. I vaguely suspect some sorta kernel module problem.
In trying various potential solutions, it's possible i screwed up something; make no assumptions! Several people in various linux/ubuntu forums have the similar problems, but i have found no solution yet. Any good ideas for further diagnostics?
[ 46.138383] md: raid6 personality registered for level 6
[ 46.141565] ICH4: IDE controller at PCI slot 0000:00:1f.1
[ 46.141640] ICH4: chipset revision 2
[ 46.141687] ICH4: not 100% native mode: will probe irqs later
[ 46.141746] ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda

MA, hdb

io
[ 46.141882] ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc

MA, hdd

io
[ 46.142013] Probing IDE interface ide0...
[ 46.189319] ieee1394: Initialized config rom entry `ip1394'
[ 46.204986] md: raid10 personality registered for level 10
[ 46.246664] ide0: I/O resource 0x3F6-0x3F6 not free.
[ 46.246719] ide0: ports already in use, skipping probe
[ 46.246769] Probing IDE interface ide1...
[ 46.255735] usb 1-1: new low speed USB device using uhci_hcd and address 2
[ 46.430156] hda: ST340015A, ATA DISK drive
[ 46.433268] usb 1-1: configuration #1 chosen from 1 choice
[ 46.685758] usb 2-1: new full speed USB device using uhci_hcd and address 2
[ 46.870782] usb 2-1: configuration #1 chosen from 1 choice
[ 46.981653] hdc: LTN486S, ATAPI CD/DVD-ROM drive
[ 47.101672] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[ 47.102068] ide1: I/O resource 0x376-0x376 not free.
[ 47.102122] hdc: ERROR, PORTS ALREADY IN USE
[ 47.102183] ide1 at 0x170-0x177,0x376 on irq 15
[ 47.102350] PCI: Setting latency timer of device 0000:00:1d.7 to 64
[ 47.102355] ehci_hcd 0000:00:1d.7: EHCI Host Controller
[ 47.102687] ehci_hcd 0000:00:1d.7: new USB bus registered, assigne