Re: Debugging hotplug



On Jan 25, 2008 12:55 PM, ritz <khadgaray gmail com> wrote:
> > > Looks rather odd to me. Which distro are you using ?

Using Gentoo Linux.

> > > Does disabling nm help ?

Doesn't seem it helps... I've tried and still Gnome doesn't recognize drive.

> Additionally, i would suggest you to try monitoring system and session
> bus.
>
>  $ man 1 dbus-monitor
>

I already did. This is what I get from system logs:
Jan 30 22:48:56 euler usb 5-1: new high speed USB device using
ehci_hcd and address 8
Jan 30 22:48:56 euler usb 5-1: configuration #1 chosen from 1 choice
Jan 30 22:48:56 euler hub 5-1:1.0: USB hub found
Jan 30 22:48:56 euler hub 5-1:1.0: 4 ports detected
Jan 30 22:48:56 euler hub 1-0:1.0: over-current change on port 2
Jan 30 22:48:56 euler usb 5-1.2: new high speed USB device using
ehci_hcd and address 9
Jan 30 22:48:56 euler usb 5-1.2: configuration #1 chosen from 1 choice
Jan 30 22:48:56 euler scsi5 : SCSI emulation for USB Mass Storage devices
Jan 30 22:48:56 euler usb-storage: device found at 9
Jan 30 22:48:56 euler usb-storage: waiting for device to settle before scanning
Jan 30 22:49:01 euler usb 1-2: new full speed USB device using
uhci_hcd and address 5
Jan 30 22:49:01 euler usb 1-2: not running at top speed; connect to a
high speed hub
Jan 30 22:49:01 euler usb 1-2: configuration #1 chosen from 1 choice
Jan 30 22:49:01 euler scsi6 : SCSI emulation for USB Mass Storage devices
Jan 30 22:49:01 euler usb-storage: device found at 5
Jan 30 22:49:01 euler usb-storage: waiting for device to settle before scanning
Jan 30 22:49:01 euler scsi 5:0:0:0: Direct-Access     Kingston
DataTraveler 2.0 6.50 PQ: 0 ANSI: 0 CCS
Jan 30 22:49:01 euler SCSI device sda: 1970175 512-byte hdwr sectors (1009 MB)
Jan 30 22:49:01 euler sda: Write Protect is off
Jan 30 22:49:01 euler sda: Mode Sense: 45 00 00 08
Jan 30 22:49:01 euler sda: assuming drive cache: write through
Jan 30 22:49:01 euler SCSI device sda: 1970175 512-byte hdwr sectors (1009 MB)
Jan 30 22:49:01 euler sda: Write Protect is off
Jan 30 22:49:01 euler sda: Mode Sense: 45 00 00 08
Jan 30 22:49:01 euler sda: assuming drive cache: write through
Jan 30 22:49:01 euler sda: sda1
Jan 30 22:49:01 euler sd 5:0:0:0: Attached scsi removable disk sda
Jan 30 22:49:01 euler sd 5:0:0:0: Attached scsi generic sg0 type 0
Jan 30 22:49:01 euler usb-storage: device scan complete
Jan 30 22:49:06 euler scsi 6:0:0:0: Direct-Access     WDC WD12
00UE-00KVT0      0000 PQ: 0 ANSI: 0
Jan 30 22:49:06 euler SCSI device sdb: 234441648 512-byte hdwr sectors
(120034 MB)
Jan 30 22:49:06 euler sdb: Write Protect is off
Jan 30 22:49:06 euler sdb: Mode Sense: 27 00 00 00
Jan 30 22:49:06 euler sdb: assuming drive cache: write through
Jan 30 22:49:06 euler SCSI device sdb: 234441648 512-byte hdwr sectors
(120034 MB)
Jan 30 22:49:06 euler sdb: Write Protect is off
Jan 30 22:49:06 euler sdb: Mode Sense: 27 00 00 00
Jan 30 22:49:06 euler sdb: assuming drive cache: write through
Jan 30 22:49:06 euler sdb: sdb1
Jan 30 22:49:06 euler sd 6:0:0:0: Attached scsi disk sdb
Jan 30 22:49:06 euler sd 6:0:0:0: Attached scsi generic sg1 type 0
Jan 30 22:49:06 euler usb-storage: device scan complete

and this is from dbus-monitor --session:

signal sender=:1.5 -> dest=(null destination)
path=/org/gnome/GnomeVFS/Daemon; interface=org.gnome.GnomeVFS.Daemon;
member=DriveConnectedSignal
   struct {
      int32 6
      int32 3
      array [
      ]
      string "/dev/sda"
      string ""
      string "Kingston DataTraveler 2.0"
      string "gnome-dev-removable-usb"
      string "/org/freedesktop/Hal/devices/storage_serial_Kingston_DataTraveler_2_0_0F714B6150C388C7_0_0"
      boolean false
      boolean true
      boolean false
   }

and dbus-monitor --system:
signal sender=:1.1 -> dest=(null destination)
path=/org/freedesktop/Hal/Manager;
interface=org.freedesktop.Hal.Manager; member=DeviceAdded
   string "/org/freedesktop/Hal/devices/usb_device_1058_701_DEF103C306F1"
signal sender=:1.1 -> dest=(null destination)
path=/org/freedesktop/Hal/Manager;
interface=org.freedesktop.Hal.Manager; member=DeviceAdded
   string "/org/freedesktop/Hal/devices/usb_device_1058_701_DEF103C306F1_if0"
signal sender=:1.1 -> dest=(null destination)
path=/org/freedesktop/Hal/Manager;
interface=org.freedesktop.Hal.Manager; member=DeviceAdded
   string "/org/freedesktop/Hal/devices/usb_device_1058_701_DEF103C306F1_usbraw"
signal sender=:1.1 -> dest=(null destination)
path=/org/freedesktop/Hal/Manager;
interface=org.freedesktop.Hal.Manager; member=DeviceAdded
   string "/org/freedesktop/Hal/devices/usb_device_1058_701_DEF103C306F1_if0_scsi_host"
signal sender=:1.1 -> dest=(null destination)
path=/org/freedesktop/Hal/Manager;
interface=org.freedesktop.Hal.Manager; member=DeviceAdded
   string "/org/freedesktop/Hal/devices/usb_device_1058_701_DEF103C306F1_if0_scsi_host_scsi_device_lun0"
signal sender=:1.1 -> dest=(null destination)
path=/org/freedesktop/Hal/Manager;
interface=org.freedesktop.Hal.Manager; member=DeviceAdded
   string "/org/freedesktop/Hal/devices/storage_serial_WDC_WD12_00UE_00KVT0_DEF103C306F1_0_0"
signal sender=:1.1 -> dest=(null destination)
path=/org/freedesktop/Hal/Manager;
interface=org.freedesktop.Hal.Manager; member=DeviceAdded
   string "/org/freedesktop/Hal/devices/usb_device_1058_701_DEF103C306F1_if0_scsi_host_scsi_device_lun0_scsi_generic"
signal sender=:1.1 -> dest=(null destination)
path=/org/freedesktop/Hal/Manager;
interface=org.freedesktop.Hal.Manager; member=DeviceAdded
   string "/org/freedesktop/Hal/devices/volume_uuid_8b15f11e_1008_4964_bc2f_4b5b3029d19f"

Any ideas what can be going wrong?

Cheers,

Paulo Matos


> >
> > NM shouldn't actually touch anything that's not a network device, even
> > though it will log the insert.  So it'll show up here but NM will just
> > ignore it unless it has HAL network device properties.
> Nice. I was not aware of this.
>
> >
> > Dan
> >
> >
> --
> Ritesh Khadgaray
> ॐ मणि पद्मे हूँ
> Desktop LinuX N Stuff
> Ph: +919970164885
> Eat Right, Exercise, Die Anyway.
> Fedora is the best of what works today.  Enterprise Linux is the best of
> what will work consistently for the next seven years.
>
>
> _______________________________________________
> gnome-list mailing list
> gnome-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-list
>



-- 
Paulo Jorge Matos - pocm at soton.ac.uk
http://www.personal.soton.ac.uk/pocm
PhD Student @ ECS
University of Southampton, UK


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