block devices?

R. David Whitlock ryandav at u.washington.edu
Fri Feb 4 18:22:11 PST 2000


OK, well, according to the info at that dir (thanks richard) my main
problem is that the driver isn't actually loading.  

ide-cd.o doesn't exist on the system. I'm looking in
/lib/modules/2.2.14-15mdk 
and 
/lib/modules/2.2.14-15mdksecure 
and neither have ide-cd.o or anything like it.  I'm not sure what to make
of this...

[root at cartman cdrom]# ls -l 
total 324 
-rw-r--r-- 1 root root 39120 Jan 4	12:30 aztcd.o 
-rw-r--r-- 1 root root 34196 Jan 4 	12:30 cdu31a.o 
-rw-r--r-- 1 root root 23544 Jan 4 	12:30 cm206.o 
-rw-r--r-- 1 root root  9536 Jan 4  	12:30 gscd.o 
-rw-r--r-- 1 root root 5716  Jan 4 	12:30 isp16.o 
-rw-r--r-- 1 root root 20304 Jan 4 	12:30 mcd.o
-rw-r--r-- 1 root root 21612 Jan 4 	12:30 mcdx.o
-rw-r--r-- 1 root root 27752 Jan 4 	12:30 optcd.o
-rw-r--r-- 1 root root 79984 Jan 4 	12:30 sbpcd.o
-rw-r--r-- 1 root root 25512 Jan 4 	12:30 sjcd.o
-rw-r--r-- 1 root root 20188 Jan 4 	12:30 sonycd535.o        

These are the only ones I have.  Where do I get the driver?  I find it
hard to believe that I would have to recompile the kernel for a standard
install just to get a working ide-cd module.

Later,
 David

On Fri, 4 Feb 2000,
Richard M. Lotz wrote: 
> The message you are getting is most likely just the kernel telling you
> what is on the IDE bus, and its model/vendor info. Ideally the kernel
> should be auto-loading the modules for you (when you try to access
>/dev/hdc). Instead try issuing an `insmod ide-cd && insmod cdrom` to
> manually install them. If that doesn't work you may want to recompile the 
> stock kernel and add ide cdrom support (not as a module).
> 
> You can also poke around /proc to see what is loaded, kernel 2.3.42 has a
> and ide directory that lists the devices attached to each channel.
> /proc/ide/ide1/hdc should have files in there telling you about the
> device.  Kernel 2.2 may be setup differently.
> 
> -richard
> 
> -----------------------------------------------------------
> Richard Lotz				http://sidereus.net
> rlotz at u.washington.edu			ICQ: 12348088
> 
> On Fri, 4 Feb 2000, R. David Whitlock wrote:
> 
> > After installing fresh to someone's machine, no problems with using the
> > cdrom or anything, I get the following:
> > 
> > [root at cartman ~]# mount /dev/cdrom
> > mount: /dev/hdc is not a valid block device                                     
> > 
> > dmesg reports every time I try to mount that the driver is not present.
> > 
> > [root at cartman ~]# lsmod 
> > Module 		Size 	Used by 
> > ne2k-pci 	4256 	1 (autoclean)
> > 8390 		6436 	0 (autoclean) [ne2k-pci] 
> > nls_iso8859-1 	2052 	1 (autoclean)
> > nls_cp437 	3580 	1 (autoclean) 
> > vfat 		11004 	1 (autoclean)
> > fat             33120   1  (autoclean) [vfat]                            
> > 
> > dmesg reports the following in bootup:
> > 
> > hda: IBM-DPTA-371360, ATA DISK drive 
> > hdc: CR-4804TE, ATAPI CDROM drive
> > ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15
> > hda: IBM-DPTA-371360, 13042MB w/1961kB Cache, CHS=1662/255/63                   
> > 
> > explicitly stating that the hdc has been located, and I thought, added.
> > 
> > Anyone got any ideas why /dev/hdc appears to not be a block device (or
> > why the heck that error comes up) ?
> > 
> > Later,
> >  David
> > 
> > 
> 
> 




More information about the Linux mailing list