CD-RW help 2 (Re: [Nottingham] Request for CDW help)

Martin nottingham at mailman.lug.org.uk
Tue Jun 17 12:37:01 2003


Derek Huskisson wrote:
>> [...]
>>I've followed examples playing with various permutations of:
>>"hdg=ide-scsi hde=ide-scsi" or one or neither in the lilo append line;
>>along with
>>"options ide-cd ignore="hdg"" or not in modules.conf.
>>
>>Depending on the permutation, I get a complete system freeze at one of
>>the two points as described below. Leaving disks in the DVD and cd-rom
>>doesn't clear the freeze up. The only changes noted during multiple
>>rebootings is that the number of files in /dev changes. Not found any
>>pertinent messages in the logs (:-((. So, I'm stumped.
>>
>>
>>Help?
>>
>>Martin
>>
>>
> 
> 
> One similar problem I had a few years ago was caused by the BIOS setting
> for the CD-ROM drive being set incorrectly, although the system booted
> OK putting a CD in the drive froze the system, but I can't remember any
> more details than that.
> 
> Number of files in /dev changing -- using devfs or hot-plugging ??



Reading the onscreen boot messages, devfs is about the first thing 
started up.

All the strangeness I've been clobbered by seems to be around the 
ide-scsi kernal module and how to get it to load. Playing with the lilo 
append line, /etc/modules, and /etc/modules.conf, or following fixes for 
old linux systems, causes a variety of severe slowdowns, complete 
freezes, or segmentation fault errors during the boot up scripts.

I can reliably get ide-scsi to load by using insmod from the command 
prompt. Trying modprobe ide-scsi fails unless it is already loaded! 
Using lsmod shows that ide-cd is stubbornly always loaded.

And in the midst of all this, the sound output has been silenced.


I'm also a little bemused by how these loaded modules tie together and 
how devfs generates the /dev entries... So far I've failed to see 
anything more than an empty /dev/scsi...

I'd rather not have to boot over the Windoze just to use my CD-RW.

Any clues or pointers would be greatly welcome. I can post the relevant 
files if any gurus out there welcome a detective challenge! So far, the 
mandrake newsnet group have come up blank.

?!
Martin




Further details:

Mandrake 9.1 on an MSI K7T266 Pro2 RU (MS-6380 V2.0), AMD AthlonXP
(Palomino core), onboard Promise RAID, hda=disk1, hdc=disk0,
hde=DVD-Rom, hdg=CD-RW. Also, onboard sound, USB1.1 and USB2.


Part of boot.log for when hdg=ide-scsi is on the append line:
(ide0 and ide1 are an on-board Promise RAID ide controller, ide2 is the 
motherboard primary, cdrom, ide3 the secondary channel CD-RW)


kernel: VP_IDE: VIA vt8233 (rev 00) IDE UDMA100 controller on pci00:11.1
kernel:     ide2: BM-DMA at 0xfc00-0xfc07, BIOS settings: hde:DMA, hdf:pio
kernel:     ide3: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdg:DMA, hdh:pio
kernel: hda: FUJITSU MPE3084AE, ATA DISK drive
kernel: blk: queue c03cb420, I/O limit 4095Mb (mask 0xffffffff)
kernel: hdc: IC35L080AVVA07-0, ATA DISK drive
kernel: blk: queue c03cb86c, I/O limit 4095Mb (mask 0xffffffff)
kernel: hde: Pioneer DVD-ROM ATAPIModel DVD-106S 012, ATAPI CD/DVD-ROM drive
kernel: hde: DMA disabled
kernel: hdg: SONY CD-RW CRX140E, ATAPI CD/DVD-ROM drive
kernel: hdg: DMA disabled
kernel: ide0 at 0xec00-0xec07,0xe802 on irq 17
kernel: ide1 at 0xe400-0xe407,0xe002 on irq 17
kernel: ide2 at 0x1f0-0x1f7,0x3f6 on irq 14
kernel: ide3 at 0x170-0x177,0x376 on irq 15
kernel: hda: 16514064 sectors (8455 MB) w/512KiB Cache, CHS=16383/16/63, 
UDMA(33)
kernel: hdc: host protected area => 1
kernel: hdc: 160836480 sectors (82348 MB) w/1863KiB Cache, 
CHS=159560/16/63, UDMA(100)
kernel: Partition check:
kernel:  /dev/ide/host0/bus0/target0/lun0:<6> [PTBL] [1027/255/63] p1 p2 
< p5 p6 p7 p8 p9 >
kernel:  /dev/ide/host0/bus1/target0/lun0:<6> [PTBL] [10011/255/63] p1 
p2 < p5 p6 p7 p8 p9 p10 > p3
kernel: md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
kernel: md: Autodetecting RAID arrays.
kernel: md: autorun ...
kernel: md: ... autorun DONE.



-- 
----------------
Martin Lomas
martin@ml1.co.uk
----------------