Bug 65889
Summary: | adding cdrw drive after installation doesn't enable ide-scsi | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Glen A. Foster <glen.foster> | ||||
Component: | kudzu | Assignee: | Bill Nottingham <notting> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Brian Brock <bbrock> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.2 | CC: | notting, rvokal | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2003-01-30 06:02:18 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Glen A. Foster
2002-06-03 20:27:27 UTC
Created attachment 59444 [details]
Output of dmesg
cdrecord: No such file or directory. Cannot open SCSI driver. this is because it seems you're not using the ide-scsi mechanism. In Linux, cd burners need to emulate a scsi device (atapi, the cdrom protocol, is basically scsi over a ide cable). Change your /etc/grub/grub.conf to have the kernel line to be something like this: kernel /vmlinuz-2.4.9-31 ro root=/dev/hda6 hdc=ide-scsi (the root=/dev/hdaX you should leave as is in your file, on my laptop it's hda6, it's the hdc=ide-scsi that you should add.) Voila! Now cdrecord recognizes the burner: # cdrecord -scanbus Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jvrg Schilling Linux sg driver version: 3.1.20 Using libscg version 'schily-0.5' scsibus0: 0,0,0 0) 'MATSHITA' 'UJDA340 ' '1.50' Removable CD-ROM 0,1,0 1) * 0,2,0 2) * 0,3,0 3) * 0,4,0 4) * 0,5,0 5) * 0,6,0 6) * 0,7,0 7) * # dmesg | grep hdc Kernel command line: ro root=/dev/hda5 hdc=ide-scsi ide_setup: hdc=ide-scsi ide1: BM-DMA at 0x1c28-0x1c2f, BIOS settings: hdc:pio, hdd:pio hdc: UJDA340, ATAPI CD/DVD-ROM drive Pardon the ignorant question, but now what? Is this now NOTABUG and I need to somehow change a configuration file/parameter somewhere? Do I just add the hdc=ide-scsi to grub.conf? If so, what about when I take the burner out and put in a floppy drive? Normally, anaconda will detect the burner and automatically add the grub.conf bits. For a burner that is added later I'd think kudzu could/should this automatically.... the ide-scsi bit is harmless if the hdc device doesn't exist; only if you put in another ide device then it becomes relevant (but afaik not with disks, with tape streamers it does matter though) Thanks for the timely reply, Arjan. So... it this a bug or not? If it is, should the defect be reassigned to kudzu? The net effect to a customer is that the CD/RW does not function _as a burner_ if/when (while the laptop is powered off) the device is inserted and the system is powered up. ... and it's quite doubtful I'll insert a streaming tape drive as "hdc". It would be a nice kudzu enhancement if kudzu did this Done as part of updfstab in 0.99.91-1. |