| PLEX86 | ||
|
Strange modules loading problemHi, I have the following devices in my system: hda: SONY CD-RW CRX195E1, ATAPI CD-DVD-ROM drive hdc: HL-DT-ST GCE-8526B, ATAPI CD-DVD-ROM drive hdd: Toshiba DVD-ROM DSM-1712, ATAPI CD-DVD-ROM drive I want my hda and hdc to be ide-scsi device, while hdd being ide-cd. This is myetc-modules Identifying and editing a variable in memory 4459 On 12 Aug 2005 09:01:36 -0700, Random Penguin staggered into the Black Sun and said: Include context when... $ catetc-modules #etc-modules: kernel modules to load at boot time. # # This file should contain the names of kernel modules that are # to be loaded at boot time, one per line. Comments begin with # a "#", and everything on the line after them are ignored. Identifying and editing a variable in memory 4458 Disclaimer: I have not performed any changes and before I clarify the legalities, this is of academic interest only. Basically I've been buttigned a licence key for my fastest home... ide-cd ignore='hda hdc' ide-detect sdmod ide-scsi Which I think should work. However, after reboot, the result is not what I expected: $ cdrdao scanbus SCSI interface library - (C) Joerg Schilling Paranoia DAE library - (C) Monty Using libscg version 'schily-0.8' 2,0,0 : SONY , CD-RW CRX195E1 , ZYS5 qd=": ERROR: unknow subsystem (scd0) in (-dev-sr0) ATAPI:0,0,0 HL-DT-ST, CD-RW GCE-8526B , 1.03 ATAPI:0,1,0 Toshiba , DVD-ROM SD-M1712, 1808 I.e., my hdc is not ide-scsi but ide-cd. However, if I load modules manually from command line, I get what I want: % rmmod ide-cd ide-scsi; modprobe ide-cd ignore='hda hdc'; modprobe ide-scsi $ cdrdao scanbus SCSI interface library - (C) Joerg Schilling Paranoia DAE library - (C) Monty Identifying and editing a variable in memory i686pclinux This is a solaris system: 809caf7e User Commands hostid(1) NAME hostid - print the numeric identifier of the current host SYNOPSIS usr-bin... Using libscg version 'schily-0.8' 2,0,0 : SONY , CD-RW CRX195E1 , ZYS5 2,1,0 : HL-DT-ST, CD-RW GCE-8526B , 1.03 qd=": ERROR: unknow subsystem (scd0) in (-dev-sr0) qd=": ERROR: unknow subsystem (scd1) in (-dev-sr1) ATAPI:0,1,0 Toshiba , DVD-ROM SD-M1712, 1808 This is very strange! BTW, looking at the dmesg output, I can see that hda & hdc have been successfully ignored by ide-cd: % dmesg grep hd SCSI device sda: 398297088 512-byte hdwr sectors (203928 MB) hda: SONY CD-RW CRX195E1, ATAPI CD-DVD-ROM drive hdc: HL-DT-ST GCE-8526B, ATAPI CD-DVD-ROM drive hdd: Toshiba DVD-ROM DSM-1712, ATAPI CD-DVD-ROM drive ide-cd: ignoring drive hda hdc: attached ide-cdrom driver. hdc: ATAPI 52X CD-ROM CD-R-RW drive, 2048kB Cache hdd: attached ide-cdrom driver. hdd: ATAPI 48X DVD-ROM drive, 192kB Cache hda: attached ide-scsi driver. ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:DMA ide-cd: ignoring drive hda ide-cd: ignoring drive hdc hdd: attached ide-cdrom driver. hdd: ATAPI 48X DVD-ROM drive, 192kB Cache hda: attached ide-scsi driver. hdc: attached ide-scsi driver. How is it happening? What is the fix? Thanks Sorry the post is a bit long. But hope I've covered all that should be covered. PS. my system, Debian Testing $ uname -rm 2.4.27-2-k7 i686 -- Tong (remove underscore(s) to reply) - All free contribution & collection
|
||||
Identifying and editing a variable in memory 4458 Linux groups from Newsgroups The #1 Usenet Provider on the Internet
|
||||