Comment 0 for bug 275345

Intrepid's fdisk command does not recognise the /dev/mmcblk0 device correctly.

'fdisk -l /dev/mmcblk0' shows correct details for it, but it doesn't show up with 'fdisk -l' or even 'sudo fdisk -l'.

The result of this is:

(1) gparted can no longer format cards in this device, because it no longer sees mmcblk0. (parted can see it if you specify /dev/mmcblk0 manually.)

(2) hal no longer automounts the device.

(3) If I try to mount it, nautilus tells me that it cannot automatically mount internal drives, and so I need to provide an authorization to do so.

fdisk -l used to show the device (definitely in Hardy), and it used to auto-mount correctly without requiring any authorization, so this is a regression.

None of the system logs report anything other than detecting the device when it is inserted:

Sep 28 10:38:15 galactica kernel: [ 2703.121974] mmc0: new high speed SD card at address b368
Sep 28 10:38:15 galactica kernel: [ 2703.149186] mmcblk0: mmc0:b368 SDC 1960448KiB
Sep 28 10:38:15 galactica kernel: [ 2703.150592] mmcblk0: p1

I guess this might be a bug in util-linux instead of linux since fdisk is part of util-linux.

Version information:

Intrepid 8.10 kernel 2.6.27-4-generic amd64
(fdisk) util-linux 2.14-1ubuntu2
hal 0.5.11-3~ubuntu8

lspci for mmcblk0 device:

03:09.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
03:09.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
03:09.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
03:09.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
03:09.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev ff)