Link to home
Start Free TrialLog in
Avatar of liedekef
liedekef

asked on

Creating device /dev/sonycd with MAKEDEV

Hi,

I found out that the Redhat 4.0 Linux installation had a problem recognizing my CD. So I installed it from my hard drive. After that I tried to get my CD (Sony, type CDU33A) to work, but when I tried to mount my cd, I always get the
error: "....does not recognize cdu31a as a valid block device". Trying to fill in /etc/conf.modules with kernelcfg works (and my kernel is comiled modular), but I still had the same error. Then I checked the /dev/ directory for my device: size of sonycd (and cdu31a) defvices are 0. For the
moment I can access my CD via a line in rc.local:
  /sbin/modprobe cdu31a.o cdu31a_port=0x340 cdu31a_irq=0
and then mounting it (my mount point does exist).
But I want to try the clean way and remaking my device, so I want to use "MAKEDEV sonycd". But this comes bak with the error:
 'device: unknown major number for device cdu31a'
Is this an old version of MAKEDEV? Because I think MAKEDEV makes all devices when installing Linux, and some of those devices are of size 0, which is not very normal.
ASKER CERTIFIED SOLUTION
Avatar of pc012197
pc012197

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial