Public bug reported:

Binary package hint: udev

In up-to-date Karmic, when I attach my iPod Classic 80GB (USB), /dev/sdg
is created, but /dev/sdg2 isn't.

I've just tested it on a different system and works correctly.

# ls /dev/sdg*
/dev/sdg

# dmesg
[152134.400024] usb 2-4: reset high speed USB device using ehci_hcd and address 
2
[152162.345423] sdg: detected capacity change from 80026361856 to 0
[152174.163170] usb 2-6: USB disconnect, address 4
[152203.770036] usb 2-6: new high speed USB device using ehci_hcd and address 5
[152203.948591] usb 2-6: configuration #1 chosen from 2 choices
[152203.948940] scsi10 : SCSI emulation for USB Mass Storage devices
[152203.949052] usb-storage: device found at 5
[152203.949054] usb-storage: waiting for device to settle before scanning
[152208.950364] usb-storage: device scan complete
[152208.951008] scsi 10:0:0:0: Direct-Access     Apple    iPod             1.62 
PQ: 0 ANSI: 0
[152208.951354] sd 10:0:0:0: Attached scsi generic sg7 type 0
[152208.953009] sd 10:0:0:0: [sdg] 39075372 2048-byte logical blocks: (80.0 
GB/74.5 GiB)
[152208.954136] sd 10:0:0:0: [sdg] Write Protect is off
[152208.954140] sd 10:0:0:0: [sdg] Mode Sense: 68 00 00 08
[152208.954143] sd 10:0:0:0: [sdg] Assuming drive cache: write through
[152208.956006] sd 10:0:0:0: [sdg] 39075372 2048-byte logical blocks: (80.0 
GB/74.5 GiB)
[152208.957132] sd 10:0:0:0: [sdg] Assuming drive cache: write through
[152208.957136]  sdg: sdg1 sdg2
[152209.003764] sd 10:0:0:0: [sdg] 39075372 2048-byte logical blocks: (80.0 
GB/74.5 GiB)
[152209.005005] sd 10:0:0:0: [sdg] Assuming drive cache: write through
[152209.005009] sd 10:0:0:0: [sdg] Attached SCSI removable disk

# udevadm monitor
KERNEL[1255864972.682904] add      /devices/pci0000:00/0000:00:1d.7/usb2/2-6 
(usb)
KERNEL[1255864972.683342] add      
/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0 (usb)
KERNEL[1255864972.683360] add      
/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host10 (scsi)
KERNEL[1255864972.683373] add      
/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host10/scsi_host/host10 
(scsi_host)
UDEV  [1255864972.732825] add      /devices/pci0000:00/0000:00:1d.7/usb2/2-6 
(usb)
UDEV  [1255864972.733051] add      
/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0 (usb)
UDEV  [1255864972.733661] add      
/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host10 (scsi)
UDEV  [1255864972.733678] add      
/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host10/scsi_host/host10 
(scsi_host)
KERNEL[1255864977.685677] add      
/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host10/target10:0:0 (scsi)
KERNEL[1255864977.685700] add      
/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host10/target10:0:0/10:0:0:0 
(scsi)
KERNEL[1255864977.685712] add      
/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host10/target10:0:0/10:0:0:0/scsi_disk/10:0:0:0
 (scsi_disk)
UDEV  [1255864977.685722] add      
/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host10/target10:0:0 (scsi)
KERNEL[1255864977.685734] add      
/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host10/target10:0:0/10:0:0:0/scsi_device/10:0:0:0
 (scsi_device)
KERNEL[1255864977.685746] add      
/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host10/target10:0:0/10:0:0:0/scsi_generic/sg7
 (scsi_generic)
UDEV  [1255864977.686100] add      
/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host10/target10:0:0/10:0:0:0 
(scsi)
UDEV  [1255864977.687964] add      
/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host10/target10:0:0/10:0:0:0/scsi_device/10:0:0:0
 (scsi_device)
UDEV  [1255864977.688321] add      
/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host10/target10:0:0/10:0:0:0/scsi_disk/10:0:0:0
 (scsi_disk)
KERNEL[1255864977.688844] change   
/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host10/target10:0:0/10:0:0:0 
(scsi)
UDEV  [1255864977.688875] add      
/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host10/target10:0:0/10:0:0:0/scsi_generic/sg7
 (scsi_generic)
UDEV  [1255864977.689002] change   
/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host10/target10:0:0/10:0:0:0 
(scsi)
KERNEL[1255864977.727564] add      
/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host10/target10:0:0/10:0:0:0/block/sdg
 (block)
KERNEL[1255864977.727594] add      
/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host10/target10:0:0/10:0:0:0/block/sdg/sdg1
 (block)
KERNEL[1255864977.727611] add      
/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host10/target10:0:0/10:0:0:0/block/sdg/sdg2
 (block)
KERNEL[1255864977.727625] add      /devices/virtual/bdi/8:96 (bdi)
UDEV  [1255864977.727690] add      /devices/virtual/bdi/8:96 (bdi)

# fdisk -l /dev/sdg
fdisk -l /dev/sdg
Note: sector size is 2048 (not 512)

Disk /dev/sdg: 80.0 GB, 80026361856 bytes
84 heads, 62 sectors/track, 7502 cylinders
Units = cylinders of 5208 * 2048 = 10665984 bytes
Disk identifier: 0x20202020

   Device Boot      Start         End      Blocks   Id  System
/dev/sdg1               1          13      128394    0  Empty
Partition 1 does not end on cylinder boundary.
/dev/sdg2              13        7503    78022222    b  W95 FAT32

# uname -a
Linux dijkstra 2.6.31-14-generic #47-Ubuntu SMP Thu Oct 15 03:42:30 UTC 2009 
x86_64 GNU/Linux

** Affects: udev (Ubuntu)
     Importance: Undecided
         Status: New

-- 
udev doesn't create device files for iPod partitions
https://bugs.launchpad.net/bugs/454596
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to