Re: [rhn-users] usb camera removes second cdrom-R/RW

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



First of all, I do not have a solution to this problem.  I have provided
a little info, and some probing questions, to see if we can help solve
this problem.  I wonder if Erik Troan, who wrote updfstab's man page,
reads this list, and has time to offer any suggestions.

(I wonder if the solution to this problem is to shut kudzu off using
command, as root # service kudzu stop ) (Restart kudzu if you decide you
need it for new hardware.)

On Wed, 2002-12-11 at 15:54, Sandor Suta wrote:
> Help me... do anyone have a clue on this, I dont want to reinstall the
> whole RH8.0.

We don't want you to have to reinstall either.  It's better to learn to
fix things, so it's great that you are trying!  Let's try to verify some
of the related packages have not been modified from their original
state, so we know we are all working with the same stuff.  Try these
commands, as any user, and if no output is produce it means the package
is good:

$ rpm -q --verify kudzu
$ rpm -q --verify kernel
$ rpm -q --verify hotplug
S.5....T c /etc/hotplug/usb.usermap

(My system produces one line of output for hotplug, as shown above, and
I expect your will too.)

Also please show version for each of those packages to ensure you are
up2date.

$ rpm -q kudzu kernel hotplug

> > On Tue, 2002-12-10 at 17:51, Sandor Suta wrote:
> > > Yes, my camera also loads the storage device.
> > > I don't know if I have done something wrong when I first was
> > > investigating how the usb-camera worked with Redhat, though I'm a newbie
> > > on redhat and linux. The thing I did was that I connected the camera to
> > > my computer with the power switch off, then I turned on the power first
> > > on my camera then on my computer, so that kudzu would find the new
> > > hardware on bootup... Yes you maybe find this stupid when considering
> > > that I was using a usb with hotplug capability kernel. Well I'm a newbie
> > > and I didn't find any information on how to make it work so I did a
> > > little try and error. 

This sounds fine to me.  I believe I installed RH 8.0 and about a week
later just plugged in my camera and # mount /mnt/camera

Testing today, I find that plugging the camera in, setting to PC connect
and turning its power on, this line is added to /etc/fstab

/dev/sda1  /mnt/camera    auto    noauto,owner,kudzu 0 0

This line is not removed when I unmount/shutoff the camera and unplug
it.  It appears to stay there for good.  You say the line is removed on
your system, correct?

> > > Maybe, I don't know, but if there is any config files or database-file
> > > that kudzu or other writes the systems configuration to, could be
> > > scsi-related, or something else. I don't know really where to start
> > > troubleshooting.
> > > Have you any clue where to start looking or what config-files is
> > > appropriate to look at?
> > > 
> > > Sandor
> > > 
> > > On Mon, 2002-12-09 at 21:39, Brian S. Paskin wrote:
> > > > I have a Sony DSC-P9 digital camera and I do not experience this.  I have 2 
> > > > cdrom drives which are loaded with the scsi driver.  How is the camera 
> > > > loading?  Mine loads as a usb mass storage device.  It is very strange that a 
> > > > usb device would some how be tied to a scsi device.

Let's establish that USB mass storage cameras _do_ look like SCSI
devices:

>From # man updfstab

USB devices look like SCSI devices to user space, so  those  are
supported as well, but are only added if they are currently attached to
the system (having a scsi device assigned to them is not sufficient).

----

My HP PhotoSmart 912 mounts as USB harddrive on /dev/sda1 and is scsi
device 0,0,0

> > > > > On Mon, 2002-12-02 at 22:00, Sandor Suta wrote:
> > > > > > Hi!
> > > > > > I have this problem: When I connect my digital camera (Sony DSC-P5,
> > > > > > cyber-shot 3.2) everything works ok, updfstab updates my fstab and
> > > > > > creates the directory /mnt/camera and I can mount it like a floppy and
> > > > > > do my work.
> > > > > > And now when I turn of my camera the problem begin, updfs removes my
> > > > > > second "cdrom1" from the fstab and folder /mnt/cdrom1. updfstab don't
> > > > > > touch the line for the camera and the folder /mnt/camera, my cdrom1 is
> > > > > > acctually an CD-R/RW and uses like my camera the scsibus (when I run
> > > > > > cdrecord -scanbus, the camera is on scsibus1 as 1,0,0 and my CD-R/RW on
> > > > > > scsibus0 as 0,0,0) I dont know if this info about the scsibus will help
> > > > > > troubleshooting?
> > > > > > When I turn on my camera again the "cdrom1" reappears, strange... and I
> > > > > > can mount my cdrom again without manually change fstab. I have tried to
> > > > > > remove the kudzu from my cdrom1-line in fstab with the result, that,
> > > > > > when turning of and on the camera a "third" "cdrom2" appears in the
> > > > > > system with the same setting s as "cdrom1", what is wrong, how do a
> > > > > > troubleshoot to solve this problem?

Your note about trying to remove the kudzu line from cdrom1 in
/etc/fstab is good.  This is what I would have recommended.

>From # man updfstab:

Devices which updfstab adds to /etc/fstab are  marked  with  the  kudzu
mount option to distinguish them from other devices.  updfstab will not
remove devices from /etc/fstab unless they are marked  with  the  kudzu
mount  option.  It  also  ignores  devices  that  are already listed in
/etc/fstab, or which have multiple partitions on  the  media  currently
inserted.

> > > > > > I have installed Redhat 8.0 and I have most settings as default.
> > > > > >
> > > > > > Do anyone have a clue of what i could do to make this function properly?
> > > > > >
> > > > > > Thanx for your help!

-- 
Powered by Red Hat Linux 8.0



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux