Subject: Re: Cd rom interface
To: None <danielh@uol.com.br>
From: Joel Reicher <void@yoyo.cc.monash.edu.au>
List: port-i386
Date: 06/07/1997 09:08:00
>
> The boot-up says that the atapibus was added to wdc0 but I think it is
> the First ide port not the second where my cd is logged into.
This is most likely the same problem I had, if by "second port" you mean
the secondary IDE channel. From the driver's point of view, there is an
atapibus for every IDE channel, regardless of whether there's an atapi
device on it or not. If you're not getting two atapi buses it's probably
because you don't have your secondary IDE channel configured. That
channel comes up as wdc1, and it's commented out of the GENERIC kernel
config and the installation kernels too, I think. Uncomment it, and make
sure you specify a valid IRQ, because the driver does not like not
knowing that in advance. :)
Then just make sure that your atapibus and acd lines are still the
wildcard ones, ie. they have *'s and ?'s indicating the driver should
probe. Build, rename your old kernel just in case, copy the new one over,
and reboot. You can even cross your fingers if you like. :)
>
> How can I make the devices under /dev directory? What are the major and
> minor numbers ?
>
mknod is the appropriate util. Read the man page and then don't be afraid
to experiment a little. As long as you're not overwriting any other
inodes, you won't break anything. At least, I don't think you will. :)
- Joel