On Thursday 28 October 2004 10:38, Anne Wilson wrote:
> I haven't got around to changing to udev yet, so it may not be a factor at
> all.  I have 2.6.1-12 with supermount, and I'm still seeing the problem.

When kaj ran "tail -f /var/log/messages" whilst plugging in the camera there 
were some strange entries on sda's size and sort.
What does your's say?

>From what I've seen until now, I'd eliminate "supermount" as the culprit.
I take this a new 10.1 install you're talking about as 10.0 used devfs and 
keeps it when you upgrade

I haven't got my camera here at this box, but for comparison here's what I get 
when attaching my USB stick (which works exactly the same as my camera):
Oct 28 10:52:54 triade1 su(pam_unix)[7057]: session opened for user root by 
triade(uid=501)
Oct 28 10:53:04 triade1 kernel: usb 2-2.1: new full speed USB device using 
address 3
Oct 28 10:53:05 triade1 kernel: SCSI subsystem initialized
Oct 28 10:53:05 triade1 kernel: Initializing USB Mass Storage driver...
Oct 28 10:53:05 triade1 kernel: scsi0 : SCSI emulation for USB Mass Storage 
devices
Oct 28 10:53:05 triade1 kernel:   Vendor: Generic   Model: USB Flash Disk    
Rev: 2.00
Oct 28 10:53:05 triade1 kernel:   Type:   Direct-Access                      
ANSI SCSI revision: 02
Oct 28 10:53:05 triade1 kernel: usbcore: registered new driver usb-storage
Oct 28 10:53:05 triade1 kernel: USB Mass Storage support registered.
Oct 28 10:53:06 triade1 scsi.agent[7145]: disk 
at /devices/pci0000:00/0000:00:1f.4/usb2/2-2/2-2.1/2-2.1:1.0/host0/0:0:0:0
Oct 28 10:53:06 triade1 kernel: sda: Unit Not Ready, sense:
Oct 28 10:53:06 triade1 kernel: Current : sense key Unit Attention
Oct 28 10:53:06 triade1 kernel: Additional sense: Not ready to ready change, 
medium may have changed
Oct 28 10:53:06 triade1 kernel: sda : READ CAPACITY failed.
Oct 28 10:53:06 triade1 kernel: sda : status=1, message=00, host=0, driver=08
Oct 28 10:53:06 triade1 kernel: Current sd: sense key Unit Attention
Oct 28 10:53:06 triade1 kernel: Additional sense: Not ready to ready change, 
medium may have changed
Oct 28 10:53:06 triade1 kernel: sda: Write Protect is off
Oct 28 10:53:06 triade1 kernel: sda: assuming drive cache: write through

*******************
This has the effect of it not getting mounted or being able to mount it, I'll 
spare you the details:)
pulling the stick and reinserting it again works fine with the following lines 
leading to success:

Oct 28 10:57:50 triade1 kernel: usb 2-2.1: new full speed USB device using 
address 6
Oct 28 10:57:51 triade1 kernel: scsi1 : SCSI emulation for USB Mass Storage 
devices
Oct 28 10:57:51 triade1 kernel:   Vendor: Generic   Model: USB Flash Disk    
Rev: 2.00
Oct 28 10:57:51 triade1 kernel:   Type:   Direct-Access                      
ANSI SCSI revision: 02
Oct 28 10:57:52 triade1 kernel: SCSI device sda: 255488 512-byte hdwr sectors 
(131 MB)
Oct 28 10:57:52 triade1 kernel: sda: Write Protect is off
Oct 28 10:57:52 triade1 kernel: sda: assuming drive cache: write through
Oct 28 10:57:52 triade1 kernel:  /dev/scsi/host1/bus0/target0/lun0: p1
Oct 28 10:57:52 triade1 kernel: Attached scsi removable disk sda at scsi1, 
channel 0, id 0, lun 0
Oct 28 10:57:52 triade1 scsi.agent[7509]: disk 
at /devices/pci0000:00/0000:00:1f.4/usb2/2-2/2-2.1/2-2.1:1.0/host1/1:0:0:0
Oct 28 10:57:53 triade1 perl: drakupdate_fstab called with --auto 
--add /dev/sda1
*************

Frankly I always run tail -f /var/log/messages when expecting trouble with USB 
that way I know where to find the thing.......plugging into another port 
might call it /dev/sb1 or whatever.
I've got quite a few devices on USB like an external DVD/CD-burner, gps 
reciever, palm device, USB stick, camera, wireless card, mouse, printer and 
keyboard.
All work but some do sometimes need re-initiation like the usb-stick above.

Be sure to disable harddrake at boot time if these devices aren't permanently 
connected. If you don't change your system around  a lot you don't need it 
anyway...just a waste of time at boot.
-- 
Good luck,
HarM

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to