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

Re: Udev failed to create /dev/sda?



Anthony Campbell a écrit :
On 19 Sep 2007, Chris Lale wrote:
Romain JACQUET wrote:
Kevin Mark a écrit :
On Mon, Sep 17, 2007 at 09:32:14AM +0200, Romain JACQUET wrote:
After upgrading my distro (unstable), my digital camera stop working.
The device /dev/sda1 is never created. The gnome-system monitor show
that a process makes 100% I/O latency.
[...]
I'm currently using a custom 2.6.22 build with debian patchs. But I have
try with a debian kernel like linux-image-2.6.18-4-k7 and it does not
work. That is why, I think the problem involved Udev.
Perhaps you could try running udevtrigger with the camera plugged in? Just a
shot in the dark. From man page: "Trigger kernel device uevents to replay
missing events at system  coldplug".

I had a similar problem yesterday when my printer stopped working owing
to a failure of udev to make /dev/lp0. Following a pointer on the
archives for this list I found a bug report about it, which suggested
adding parport_pc and /dev/lp0 to /etc/modules. This worked, so perhaps
you could try adding /dev/sda1?

Anthony

Thanks for your answers.

I have try to solve the problem by compile all required modules in the kernel. But nothing has changed. I have made a new trace with scsi debug and usb debug activated:

Sep 20 21:41:45 SilentBox kernel: usb 2-3: new full speed USB device using ohci_hcd and address 2
Sep 20 21:41:46 SilentBox kernel: usb 2-3: Product: NIKON DSC E2000
Sep 20 21:41:46 SilentBox kernel: usb 2-3: Manufacturer: NIKON
Sep 20 21:41:46 SilentBox kernel: usb 2-3: configuration #1 chosen from 1 choice Sep 20 21:41:46 SilentBox kernel: scsi0 : SCSI emulation for USB Mass Storage devices Sep 20 21:41:51 SilentBox kernel: scsi 0:0:0:0: Direct-Access NIKON DSC E2000 1.00 PQ: 0 ANSI: 2 Sep 20 21:41:51 SilentBox kernel: sd 0:0:0:0: [sda] 1000945 512-byte hardware sectors (512 MB)
Sep 20 21:41:51 SilentBox kernel: sd 0:0:0:0: [sda] Write Protect is off
Sep 20 21:41:51 SilentBox kernel: sd 0:0:0:0: [sda] 1000945 512-byte hardware sectors (512 MB)
Sep 20 21:41:51 SilentBox kernel: sd 0:0:0:0: [sda] Write Protect is off
Sep 20 21:41:51 SilentBox kernel:  sda:<7>usb-storage: queuecommand called
Sep 20 21:41:51 SilentBox kernel:  sda1
Sep 20 21:41:51 SilentBox kernel: sd 0:0:0:0: [sda] Attached SCSI removable disk Sep 20 21:42:22 SilentBox kernel: usb 2-3: reset full speed USB device using ohci_hcd and address 2
Sep 20 21:42:58 SilentBox last message repeated 2 times
Sep 20 21:42:59 SilentBox kernel: usb 2-3: reset full speed USB device using ohci_hcd and address 2
Sep 20 21:43:17 SilentBox kernel: usb 2-3: USB disconnect, address 2
Sep 20 21:43:17 SilentBox kernel: scsi 0:0:0:0: [sda] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK Sep 20 21:43:17 SilentBox kernel: end_request: I/O error, dev sda, sector 1000944


The log seems to tell that the device had a problem. But it is not true, because the device had previously worked under Linux and still run under Windows.

Any suggestions?



Reply to: