Am I the only person in the world who can't configure ide-scsi? The ide-scsi module is loaded according to lsmod and boot.msg but hdc and hdd keep on working as atapi devices. ( unless I make the hdc scd0 and hdd scd1links when they become 'unknown devices' Can anyone help, I'm desperate Peter
What does your append line look like? Did you look in /var/log/boot.msg to see if there were any errors during startup? Anders On Wednesday 29 August 2001 21.37, Peter Dixson wrote:
Am I the only person in the world who can't configure ide-scsi? The ide-scsi module is loaded according to lsmod and boot.msg but hdc and hdd keep on working as atapi devices. ( unless I make the hdc scd0 and hdd scd1links when they become 'unknown devices' Can anyone help, I'm desperate Peter
Hi; I had a similar problem, here's the solution I received (note if you already have a value in INITRD_MODULES just add the extra term in the quotation marks after a space): Go to /etc/rc.config and edit the variable INITRD_MODULES(or something similar). Add "ide-scsi" to the value. Save it and run after this "mk_initrd" and "lilo". Both of them must run !!! Thanks to Alexander Kern for originally providing me with this one. On Wednesday 29 August 2001 7:37 pm, Peter Dixon wrote:
Am I the only person in the world who can't configure ide-scsi? The ide-scsi module is loaded according to lsmod and boot.msg but hdc and hdd keep on working as atapi devices. ( unless I make the hdc scd0 and hdd scd1links when they become 'unknown devices' Can anyone help, I'm desperate Peter
-- ---------- Darren Harmon http://users.breathemail.net//darren.harmon1/
Peter Dixson wrote:
Am I the only person in the world who can't configure ide-scsi? The ide-scsi module is loaded according to lsmod and boot.msg but hdc and hdd keep on working as atapi devices. ( unless I make the hdc scd0 and hdd scd1links when they become 'unknown devices' Can anyone help, I'm desperate Peter
Lilo needs this append line: append="hdd=ide-scsi" Don't forget to re-run Lilo. Matt
On Wednesday 29 August 2001 03:37 pm, Peter Dixson wrote:
Am I the only person in the world who can't configure ide-scsi? The ide-scsi module is loaded according to lsmod and boot.msg but hdc and hdd keep on working as atapi devices. ( unless I make the hdc scd0 and hdd scd1links when they become 'unknown devices' Can anyone help, I'm desperate Peter
You may need parameters similar to these on your LILO append line, or manually typed at the LILO boot prompt (test them that way first): hdg=ide-scsi max_scsi_luns=8 This marks my /dev/hdg drive (in this case, a Yamaha IDE CD burner) to operate under ide-scsi. You can repeat the first part of this for multiple drives, e.g., hdg=ide-scsi hdh=ide-scsi and so on. Regards, Scott -- ------------------------------------------------------------ "I don't mind Microsoft making money. I mind them having a bad operating system." -- Linus Torvalds, in the NY Times Scott Courtney http://www.4th.com/
On Thursday 30 August 2001 16:47, Peter Dixson wrote:
...although the ide-scsi module is loaded, nothing prevents the ide-cd drivers from taking over hdc & hdd. I thought the append line in /etc/lilo.config was supposed to do this. In boot.msg I get the line '<6>scsi1 : SCSI host adaptor emulation for IDE ATAPI devices' but no mention of scd0, scd1 because earlier in the boot process the ide drivers have loaded.
I had the same trouble with my ATAPI cd-writer. As far as I can make out, the problem is due to having ide-scsi compiled as module and ide-cd compiled into the kernel. The documentation says that in this case, the ide-cd code always takes precedence. The way that I resolved it was to rebuild the kernel with ide-cd support built as a module. I ran "make xconfig", selected "m" for the entries "Include IDE/ATAPI CDROM support", "SCSI emulation support", "SCSI CD-ROM support", and "SCSI generic support". You will also need to add some lines to the /etc/modules.conf file: alias scsi_hostadapter ide-scsi options ide-cd ignore=hdc (assuming your CD-RW showed up before as /dev/hdc). I've been told on this list that a kernel rebuild isn't necessary, but I haven't been able to get it to work otherwise. Once I went through the trouble, I could see the device with "cdrecord -scanbus", and it has worked well ever since. Daniel ps -- sorry if you're seeing this twice. I've been having some mailer problems.
On Friday 31 August 2001 18.13, Daniel Prosser wrote:
On Thursday 30 August 2001 16:47, Peter Dixson wrote:
...although the ide-scsi module is loaded, nothing prevents the ide-cd drivers from taking over hdc & hdd. I thought the append line in /etc/lilo.config was supposed to do this. In boot.msg I get the line '<6>scsi1 : SCSI host adaptor emulation for IDE ATAPI devices' but no mention of scd0, scd1 because earlier in the boot process the ide drivers have loaded.
I had the same trouble with my ATAPI cd-writer. As far as I can make out, the problem is due to having ide-scsi compiled as module and ide-cd compiled into the kernel. The documentation says that in this case, the ide-cd code always takes precedence.
Which documentation would that be? I've been running ide-scsi emulation for a while, and all I had to do was add hdc=ide-scsi on the append line. This is with the SuSE default kernel, and as far as I can tell, it has ide-cd built in, and not as a module Anders
On 31 Aug 2001 12:18:01 -0400, Anders Johansson wrote:
On Friday 31 August 2001 18.13, Daniel Prosser wrote:
On Thursday 30 August 2001 16:47, Peter Dixson wrote:
...although the ide-scsi module is loaded, nothing prevents the ide-cd drivers from taking over hdc & hdd. I thought the append line in /etc/lilo.config was supposed to do this. In boot.msg I get the line '<6>scsi1 : SCSI host adaptor emulation for IDE ATAPI devices' but no mention of scd0, scd1 because earlier in the boot process the ide drivers have loaded.
I had the same trouble with my ATAPI cd-writer. As far as I can make out, the problem is due to having ide-scsi compiled as module and ide-cd compiled into the kernel. The documentation says that in this case, the ide-cd code always takes precedence.
Which documentation would that be? I've been running ide-scsi emulation for a while, and all I had to do was add hdc=ide-scsi on the append line.
This is with the SuSE default kernel, and as far as I can tell, it has ide-cd built in, and not as a module
Anders
The documentation I was thinking of was the configuration help text in the kernel sources: "SCSI emulation support CONFIG_BLK_DEV_IDESCSI ... If both this SCSI emulation and native ATAPI support are compiled into the kernel, the native support will be used...." (Okay, seems I was a bit off-the-mark, as it actually says this is the case when both are in the kernel.) I also read the "CD-Writing Howto", which recommends building the IDE drivers as modules and the SCSI drivers as either modules or into the kernel, if you are having trouble getting ide-scsi emulation working. In any case, I had the same trouble as Peter did and just using the append line in /etc/lilo.conf didn't help me out either. Daniel
Howto", which recommends building the IDE drivers as modules and the SCSI drivers as either modules or into the kernel, if you are having trouble getting ide-scsi emulation working.
In any case, I had the same trouble as Peter did and just using the append line in /etc/lilo.conf didn't help me out either.
Daniel
Daniel, can I ask you if you have any genuine scsi devices on your system and if so is your cdwriter on scsi0 or scsi1? Peter
participants (6)
-
Anders Johansson
-
Daniel Prosser
-
Darren Harmon
-
Peter Dixson
-
Scott Courtney
-
StarTux