devfs
[Top] [All Lists]

Re: devfs newbie: dissapearing or somtimes not created cdrom

To: devfs <devfs@xxxxxxxxxxx>
Subject: Re: devfs newbie: dissapearing or somtimes not created cdrom
From: C R Johnson <iamcliff@xxxxxxxxxxxxxxxx>
Date: Fri, 28 Sep 2001 13:58:10 -0400
References: <F1456H06Ym8Es5FEnoL00009de3@hotmail.com>
Sender: owner-devfs@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010808
Rob MacGregor wrote:


I suspect you'll find that the cdrom drive support is compiled as a module. When the module hasn't been used for some time it'll be removed and devfs will unregister it. That's what happened to me with my printer and tape drive. However reloading the modules solved this.


Reloading the modules does not work for me.

Here are some things I noticed,

- from /var/log/messages when devfsd unloaded:

Sep 27 23:50:00 pigpen devfsd[19]: action_compat: error unlinking: "cdrom0"^INsuch file or directory

It really looks like that, "^I and all".



- unloading and reloading the cdrom driver changes nothing:

[root@pigpen cliff]# /sbin/modprobe -r sr_mod

[root@pigpen cliff]# /sbin/lsmod
Module Size Used by
tuner 4256 1 (autoclean)
bttv 62288 0 (autoclean) (unused)
i2c-algo-bit 7392 1 (autoclean) [bttv]
videodev 5248 2 (autoclean) [bttv]
ppp_async 6928 1 (autoclean)
ppp_generic 20208 4 (autoclean) [ppp_async]
es1371 31712 0
ac97_codec 8864 0 [es1371]
autofs 12112 1 (autoclean)
8139too 17040 1 (autoclean)
ipchains 41440 0 (unused)
tvaudio 8544 0 (autoclean) (unused)
i2c-core 13008 0 (autoclean) [tuner bttv i2c-algo-bit tvaudio]
sound 64912 0 (autoclean) (unused)
soundcore 4784 6 (autoclean) [es1371 sound]
usb-uhci 22784 0 (unused)
usbcore 51824 1 [usb-uhci]
aic7xxx 136976 3
sd_mod 11712 3
scsi_mod 98176 2 [aic7xxx sd_mod]


[root@pigpen cliff]# /sbin/modprobe sr_mod

[root@pigpen cliff]# /sbin/lsmod
Module Size Used by
sr_mod 15312 0 (unused)
cdrom 28960 0 [sr_mod]
tuner 4256 1 (autoclean)
bttv 62288 0 (autoclean) (unused)
i2c-algo-bit 7392 1 (autoclean) [bttv]
videodev 5248 2 (autoclean) [bttv]
ppp_async 6928 1 (autoclean)
ppp_generic 20208 4 (autoclean) [ppp_async]
es1371 31712 0
ac97_codec 8864 0 [es1371]
autofs 12112 1 (autoclean)
8139too 17040 1 (autoclean)
ipchains 41440 0 (unused)
tvaudio 8544 0 (autoclean) (unused)
i2c-core 13008 0 (autoclean) [tuner bttv i2c-algo-bit tvaudio]
sound 64912 0 (autoclean) (unused)
soundcore 4784 6 (autoclean) [es1371 sound]
usb-uhci 22784 0 (unused)
usbcore 51824 1 [usb-uhci]
aic7xxx 136976 3
sd_mod 11712 3
scsi_mod 98176 3 [sr_mod aic7xxx sd_mod]


[root@pigpen cliff]# mount /cdrom
mount: special device /dev/hdb does not exist

# ls -l /dev/hdb
[root@pigpen cliff]ls: /dev/hdb: No such file or directory

[root@pigpen cliff]# ls -l /dev/cdrom
lr-xr-xr-x 1 root root 13 Sep 28 13:45 /dev/cdrom -> cdroms/cdrom0


[root@pigpen cliff]# ls -l /dev/cdrom
lr-xr-xr-x 1 root root 13 Sep 28 13:45 /dev/cdrom -> cdroms/cdrom0


[root@pigpen cliff]# ls -l /dev/cdroms
total 0

[root@pigpen cliff]# ls -l /dev/ide/cd/
total 0

[root@pigpen cliff]# ls -l /dev/ide/ cd hd host0 host2

[root@pigpen cliff]# ls -l /dev/ide/host0/bus0/target1/lun0/
total 0

Regards,

Cliff


























<Prev in Thread] Current Thread [Next in Thread>