Kingston SDC4 don't work with OM2008.9's kernel

SuperNoa acd.capobianco at gmail.com
Sat Jan 24 21:27:25 CET 2009


Hi Andy, i'v formatted and partioned another time the SD, but i don't tink
the problem is the partition table.
I'm now using SHR with
uImage-2.6.28-oe1+gitr34240a1c06ae36180dee695aa25bbae869b2aa26-r2-om-gta02.bin

is there is no way to use this SD?

# fdisk output #
root at om-gta02 ~ $ fdisk -l /dev/mmcblk0
omitting empty partition (8)

Disk /dev/mmcblk0: 4114 MB, 4114612224 bytes
127 heads, 62 sectors/track, 1020 cylinders
Units = cylinders of 7874 * 512 = 4031488 bytes

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1               1           4       15717   83  Linux
/dev/mmcblk0p2               5         271     1051179   83  Linux
/dev/mmcblk0p3             272         402      515747   83  Linux
/dev/mmcblk0p4             403        1020     2433066    5  Extended
/dev/mmcblk0p5             403         669     1051148   83  Linux
/dev/mmcblk0p6             670         800      515716   83  Linux
/dev/mmcblk0p7             801         931      515716   83  Linux

P.S.
mmcblk0p1 formatted using fat
mmcblk0p6  formatted using ext3
everything else using ext2

the partition /dev/mmcblk0p8 exist but in not visible by fdisk, i don't know
why!


#df -h output#
root at om-gta02 ~ $ df -h
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root               252544     94936    157608  38% /
none                     60400        56     60344   0% /dev
shmfs                    60400         0     60400   0% /dev/shm
/dev/mmcblk0p1           15668         0     15668   0% /media/card
/dev/mmcblk0p2         1034612      1304    980752   0% /media/mmcblk0p2
volatile                 60400       108     60292   0% /var/volatile

#dmesg output#
root at om-gta02 ~ $ dmesg
regulator: memldo: 1800 mV normal 
[21474540.085000] TCP cubic registered
[21474540.085000] NET: Registered protocol family 17
[21474540.090000] Bridge firewalling registered
[21474540.110000] glamo-mci glamo-mci.0: powered (vdd = 20) clk: 0kHz
div=255 (req: 0kHz). Bus width=0
[21474540.125000] pcf50633-rtc pcf50633-rtc: setting system clock to
2009-01-24 19:48:03 UTC (1232826483)
[21474543.135000] RCU detected CPU 0 stall (t=4294908627/600 jiffies)
[21474543.135000] [<c002fcdc>] (dump_stack+0x0/0x14) from [<c007416c>]
(__rcu_pending+0x80/0x21c)
[21474543.135000] [<c00740ec>] (__rcu_pending+0x0/0x21c) from [<c0074320>]
(rcu_pending+0x18/0x50)
[21474543.135000]  r7:0000001e r6:c781c020 r5:00000000 r4:00000000
[21474543.135000] [<c0074308>] (rcu_pending+0x0/0x50) from [<c004fb78>]
(update_process_times+0x40/0x64)
[21474543.135000] [<c004fb38>] (update_process_times+0x0/0x64) from
[<c002f39c>] (timer_tick+0xec/0x114)
[21474543.135000]  r6:00000000 r5:00000000 r4:c03c4bc4
[21474543.135000] [<c002f2b0>] (timer_tick+0x0/0x114) from [<c003b4f4>]
(s3c2410_timer_interrupt+0x10/0x18)
[21474543.135000]  r5:00000000 r4:c03c23d4
[21474543.135000] [<c003b4e4>] (s3c2410_timer_interrupt+0x0/0x18) from
[<c00717c4>] (handle_IRQ_event+0x2c/0x68)
[21474543.135000] [<c0071798>] (handle_IRQ_event+0x0/0x68) from [<c0073478>]
(handle_edge_irq+0x124/0x174)
[21474543.135000]  r7:c03c5d24 r6:c03c23d4 r5:0000001e r4:c03c5cf0
[21474543.135000] [<c0073354>] (handle_edge_irq+0x0/0x174) from [<c002b064>]
(__exception_text_start+0x64/0x84)
[21474543.135000]  r7:00000003 r6:00004000 r5:00000000 r4:0000001e
[21474543.135000] [<c002b000>] (__exception_text_start+0x0/0x84) from
[<c002b9f8>] (__irq_svc+0x38/0xc8)
[21474543.135000] Exception stack(0xc781fae8 to 0xc781fb30)
[21474543.135000] fae0:                   00000001 000000ea c781c020
00000000 c063f0f8 c781c488 
[21474543.135000] fb00: 00000000 00000000 c79743f0 60000013 00000000
c781fb5c c781fb20 c781fb30 
[21474543.135000] fb20: c0064110 c0066b10 20000013 ffffffff                                     
[21474543.135000]  r5:f4000000 r4:ffffffff
[21474543.135000] [<c00668f8>] (lock_acquired+0x0/0x230) from [<c02dabe8>]
(_spin_lock+0x74/0x7c)
[21474543.135000] [<c02dab74>] (_spin_lock+0x0/0x7c) from [<c01db420>]
(nand_get_device+0x50/0xfc)
[21474543.135000]  r6:c79743e0 r5:c79b8cbc r4:c79b8cbc
[21474543.135000] [<c01db3d0>] (nand_get_device+0x0/0xfc) from [<c01dd458>]
(nand_read+0x6c/0xbc)
[21474543.135000] [<c01dd3ec>] (nand_read+0x0/0xbc) from [<c01cdc48>]
(part_read+0xa0/0xd4)
[21474543.135000] [<c01cdba8>] (part_read+0x0/0xd4) from [<c014e8b8>]
(jffs2_flash_read+0x84/0x248)
[21474543.135000]  r7:00000000 r6:0cd5f800 r5:c7a97424 r4:c781fc8c
[21474543.135000] [<c014e834>] (jffs2_flash_read+0x0/0x248) from
[<c0148124>] (jffs2_fill_scan_buf+0x2c/0x4c)
[21474543.135000] [<c01480f8>] (jffs2_fill_scan_buf+0x0/0x4c) from
[<c01483cc>] (jffs2_scan_medium+0x288/0x1550)
[21474543.135000]  r4:c7aa0000
[21474543.135000] [<c0148144>] (jffs2_scan_medium+0x0/0x1550) from
[<c014b6b4>] (jffs2_do_mount_fs+0x18c/0x584)
[21474543.135000] [<c014b528>] (jffs2_do_mount_fs+0x0/0x584) from
[<c014d9b8>] (jffs2_do_fill_super+0x134/0x21c)
[21474543.135000] [<c014d884>] (jffs2_do_fill_super+0x0/0x21c) from
[<c014e09c>] (jffs2_fill_super+0xc8/0x104)
[21474543.135000]  r7:00000000 r6:00000001 r5:c7a35000 r4:c7a3ec00
[21474543.135000] [<c014dfd4>] (jffs2_fill_super+0x0/0x104) from
[<c01cd00c>] (get_sb_mtd_aux+0x60/0xc4)
[21474543.135000]  r7:00000000 r6:00008000 r5:c7a35000 r4:c7a35000
[21474543.135000] [<c01ccfac>] (get_sb_mtd_aux+0x0/0xc4) from [<c01cd0d0>]
(get_sb_mtd_nr+0x60/0x70)
[21474543.135000] [<c01cd070>] (get_sb_mtd_nr+0x0/0x70) from [<c01cd210>]
(get_sb_mtd+0x130/0x18c)
[21474543.135000]  r7:00008000 r6:c03c9954 r5:c7a3d000 r4:01f00006
[21474543.135000] [<c01cd0e0>] (get_sb_mtd+0x0/0x18c) from [<c014dda4>]
(jffs2_get_sb+0x24/0x30)
[21474543.135000] [<c014dd80>] (jffs2_get_sb+0x0/0x30) from [<c00a1ab4>]
(vfs_kern_mount+0x58/0xac)
[21474543.135000] [<c00a1a5c>] (vfs_kern_mount+0x0/0xac) from [<c00a1b68>]
(do_kern_mount+0x40/0xdc)
[21474543.135000]  r8:c03c9954 r7:c7a3b000 r6:00000000 r5:c7a3d000
r4:00008000
[21474543.135000] [<c00a1b28>] (do_kern_mount+0x0/0xdc) from [<c00b6378>]
(do_mount+0x65c/0x6cc)
[21474543.135000]  r8:c7a3b000 r7:c7a3c000 r6:c7a3d000 r5:00000000
r4:00000000
[21474543.135000] [<c00b5d1c>] (do_mount+0x0/0x6cc) from [<c00b6478>]
(sys_mount+0x90/0xdc)
[21474543.135000] [<c00b63e8>] (sys_mount+0x0/0xdc) from [<c0008ddc>]
(mount_block_root+0xf8/0x29c)
[21474543.135000]  r7:c78fa000 r6:00000000 r5:c78fa006 r4:c78fa000
[21474543.135000] [<c0008ce4>] (mount_block_root+0x0/0x29c) from
[<c0008fd4>] (mount_root+0x54/0x6c)
[21474543.135000] [<c0008f80>] (mount_root+0x0/0x6c) from [<c0009164>]
(prepare_namespace+0x178/0x1dc)
[21474543.135000]  r5:c0027838 r4:c03e5688
[21474543.135000] [<c0008fec>] (prepare_namespace+0x0/0x1dc) from
[<c000877c>] (kernel_init+0xb0/0xd8)
[21474543.135000]  r5:c0025e70 r4:c03e5678
[21474543.135000] [<c00086cc>] (kernel_init+0x0/0xd8) from [<c0048784>]
(do_exit+0x0/0x6d4)
[21474543.135000]  r5:00000000 r4:00000000
[21474543.690000] VFS: Mounted root (jffs2 filesystem).
[21474543.695000] Freeing init memory: 140K
[21474543.710000] pcf50633 0-0073: INT1=0x80 INT2=0x00 INT3=0x00 INT4=0x40
INT5=0x00
[21474543.790000] pcf50633 0-0073: INT1=0x80 INT2=0x00 INT3=0x40 INT4=0x00
INT5=0x00
[21474543.825000] pcf50633 0-0073: adc result = 6
[21474543.875000] pcf50633 0-0073: usb curlim to 1000 mA
[21474543.980000] SD power -> 3200mV
[21474543.990000] glamo-mci glamo-mci.0: powered (vdd = 20) clk: 195kHz
div=255 (req: 195kHz). Bus width=0
[21474543.995000] glamo-mci glamo-mci.0: powered (vdd = 20) clk: 195kHz
div=255 (req: 195kHz). Bus width=0
[21474544.000000] glamo-mci glamo-mci.0: powered (vdd = 20) clk: 195kHz
div=255 (req: 195kHz). Bus width=0
[21474544.005000] glamo-mci glamo-mci.0: Error after cmd: 0x8120
[21474544.010000] glamo-mci glamo-mci.0: Error after cmd: 0x120
[21474544.015000] pcf50633 0-0073: INT1=0x00 INT2=0x00 INT3=0x00 INT4=0x00
INT5=0x00
[21474544.025000] glamo-mci glamo-mci.0: Error after cmd: 0x8120
[21474544.035000] glamo-mci glamo-mci.0: Error after cmd: 0x120
[21474544.065000] pcf50633 0-0073: INT1=0x80 INT2=0x00 INT3=0x00 INT4=0x00
INT5=0x00
[21474544.085000] SD power -> 2700mV
[21474544.090000] glamo-mci glamo-mci.0: powered (vdd = 15) clk: 195kHz
div=255 (req: 195kHz). Bus width=0
[21474544.095000] glamo-mci glamo-mci.0: powered (vdd = 15) clk: 195kHz
div=255 (req: 195kHz). Bus width=0
[21474544.100000] glamo-mci glamo-mci.0: powered (vdd = 15) clk: 195kHz
div=255 (req: 195kHz). Bus width=0
[21474544.135000] glamo-mci glamo-mci.0: powered (vdd = 15) clk: 195kHz
div=255 (req: 195kHz). Bus width=0
[21474544.155000] glamo-mci glamo-mci.0: powered (vdd = 15) clk: 195kHz
div=255 (req: 195kHz). Bus width=0
[21474544.160000] glamo-mci glamo-mci.0: powered (vdd = 15) clk: 16666kHz
div=2 (req: 16666kHz). Bus width=0
[21474544.165000] glamo-mci glamo-mci.0: powered (vdd = 15) clk: 16666kHz
div=2 (req: 16666kHz). Bus width=2
[21474544.170000] mmc1: new high speed SDHC card at address 0002
[21474544.190000] mmcblk0: mmc1:0002 SD4GB 3.83 GiB 
[21474544.195000]  mmcblk0: p1 p2 p3 p4 < >
[21474550.460000] udevd version 124 started
[21474565.860000] g_ether gadget: using random self ethernet address
[21474565.905000] g_ether gadget: using random host ethernet address
[21474565.945000] usb0: MAC 8e:e6:40:36:b1:42
[21474566.015000] usb0: HOST MAC ae:80:e6:3a:57:68
[21474566.045000] g_ether gadget: Ethernet Gadget, version: Memorial Day
2008
[21474566.110000] g_ether gadget: g_ether ready
[21474566.140000] gta02_udc_command S3C2410_UDC_P_ENABLE
[21474566.545000] g_ether gadget: full speed config #1: CDC Ethernet (ECM)
[21474566.740000] FAT: invalid media value (0x00)
[21474566.745000] VFS: Can't find a valid FAT filesystem on dev mmcblk0.
[21474566.760000] VFS: Can't find ext4 filesystem on dev mmcblk0.
[21474566.765000] EXT4-fs: Update your userspace programs to mount using
ext4
[21474566.770000] EXT4-fs: ext4dev backwards compatibility will go away by
2.6.31
[21474566.900000] VFS: Can't find ext4 filesystem on dev mmcblk0.
[21474567.005000] FAT: invalid media value (0x00)
[21474567.010000] VFS: Can't find a valid FAT filesystem on dev mmcblk0.
[21474569.565000] pcf50633 0-0073: usb curlim to 500 mA
[21474570.370000] Bluetooth: Core ver 2.13
[21474570.595000] NET: Registered protocol family 31
[21474570.600000] Bluetooth: HCI device and connection manager initialized
[21474570.605000] Bluetooth: HCI socket layer initialized
[21474572.515000] Bluetooth: L2CAP ver 2.11
[21474572.545000] Bluetooth: L2CAP socket layer initialized
[21474572.695000] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[21474573.340000] FAT: bogus number of reserved sectors
[21474573.345000] VFS: Can't find a valid FAT filesystem on dev mmcblk0p3.
[21474573.355000] EXT4-fs warning (device mmcblk0p3): ext4_fill_super:
extents feature not enabled on this filesystem, use tune2fs.
[21474573.360000] 
[21474573.370000] ext4: No journal on filesystem on mmcblk0p3
[21474573.375000] EXT4-fs: Update your userspace programs to mount using
ext4
[21474573.380000] EXT4-fs: ext4dev backwards compatibility will go away by
2.6.31
[21474573.400000] EXT4-fs warning (device mmcblk0p3): ext4_fill_super:
extents feature not enabled on this filesystem, use tune2fs.
[21474573.405000] 
[21474573.420000] ext4: No journal on filesystem on mmcblk0p3
[21474573.445000] FAT: bogus number of reserved sectors
[21474573.450000] VFS: Can't find a valid FAT filesystem on dev mmcblk0p3.
[21474573.475000] FAT: bogus number of reserved sectors
[21474573.480000] VFS: Can't find a valid FAT filesystem on dev mmcblk0p4.
[21474573.485000] attempt to access beyond end of device
[21474573.490000] mmcblk0p4: rw=0, want=4, limit=2
[21474573.495000] EXT4-fs: unable to read superblock
[21474573.500000] EXT4-fs: Update your userspace programs to mount using
ext4
[21474573.505000] EXT4-fs: ext4dev backwards compatibility will go away by
2.6.31
[21474573.590000] attempt to access beyond end of device
[21474573.595000] mmcblk0p4: rw=0, want=4, limit=2
[21474573.615000] EXT4-fs: unable to read superblock
[21474573.620000] glamo-mci glamo-mci.0: Error after cmd: 0x20
[21474573.620000] glamo-mci glamo-mci.0: Error after cmd: 0x122
[21474573.625000] mmcblk0: error -84 sending read/write command
[21474573.630000] end_request: I/O error, dev mmcblk0, sector 3165348
[21474573.635000] FAT: unable to read boot sector
[21474574.420000] NET: Registered protocol family 10
[21474574.605000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[21474574.610000] s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
[21474574.620000] s3c2410-ohci s3c2410-ohci: new USB bus registered,
assigned bus number 1
[21474574.635000] s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
[21474574.720000] usb usb1: configuration #1 chosen from 1 choice
[21474574.725000] hub 1-0:1.0: USB hub found
[21474574.730000] hub 1-0:1.0: 2 ports detected
[21474574.785000] usb usb1: New USB device found, idVendor=1d6b,
idProduct=0001
[21474574.830000] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[21474574.855000] usb usb1: Product: S3C24XX OHCI
[21474574.890000] usb usb1: Manufacturer: Linux 2.6.28-rc4 ohci_hcd
[21474574.910000] usb usb1: SerialNumber: s3c24xx
[21474575.120000] usb 1-1: new full speed USB device using s3c2410-ohci and
address 2
[21474575.410000] usb 1-1: configuration #1 chosen from 1 choice
[21474575.430000] usb 1-1: New USB device found, idVendor=0a12,
idProduct=0001
[21474575.435000] usb 1-1: New USB device strings: Mfr=0, Product=0,
SerialNumber=0
[21474575.445000] Bluetooth: RFCOMM socket layer initialized
[21474575.455000] Bluetooth: RFCOMM TTY layer initialized
[21474575.460000] Bluetooth: RFCOMM ver 1.10
[21474576.265000] Bluetooth: Generic Bluetooth USB driver ver 0.3
[21474576.275000] usbcore: registered new interface driver btusb
[21474577.190000] ASoC version 0.13.2
[21474577.480000] WM8753 Audio Codec 0.16
[21474577.510000] asoc: WM8753 HiFi <-> s3c24xx-i2s mapping ok
[21474577.515000] asoc: WM8753 Voice <-> Bluetooth mapping ok
[21474589.870000] fbcon_event_notify action=1, data=c7e2ddd0
[21474589.980000] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[21474589.980000] Bluetooth: BNEP filters: protocol multicast
[21474590.650000] usb0: no IPv6 routers present
[21474595.725000] pcf50633 0-0073: Masking IRQ 6
[21474595.755000] pcf50633 0-0073: Unmasking IRQ 6
[21474658.310000] fbcon_event_notify action=9, data=c7e2dde8
[21474658.310000] jbt6k74 spi2.0: **** jbt6k74 vsync suspend
[21474662.715000] fbcon_event_notify action=12, data=c7e2ddac
[21474662.715000] jbt6k74 spi2.0: **** jbt6k74 unblank
[21474662.820000] fbcon_event_notify action=9, data=c7e2dde8
[21474662.820000] jbt6k74 spi2.0: **** jbt6k74 unblank
[21474663.100000] pcf50633 0-0073: INT1=0x80 INT2=0x00 INT3=0x00 INT4=0x40
INT5=0x00
[21474663.120000] pcf50633 0-0073: INT1=0x00 INT2=0x00 INT3=0x00 INT4=0x00
INT5=0x00
[21474663.140000] pcf50633 0-0073: INT1=0x00 INT2=0x00 INT3=0x00 INT4=0x00
INT5=0x00
[21474680.295000] neo1973-pm-bt neo1973-pm-bt.0: __gta02_pm_bt_toggle_radio
0
[21474680.320000] usb 1-1: USB disconnect, address 2
[21474680.320000] btusb_intr_complete: hci0 urb c7fc4460 failed to resubmit
(19)
[21474680.330000] neo1973-pm-bt neo1973-pm-bt.0: __gta02_pm_bt_toggle_radio
0
[21474680.385000] btusb_send_frame: hci0 urb c7fc4460 submission failed
[21474680.730000] debug_hdr_ptr: 0x800018b0
[21474681.215000] pcf50633 0-0073: INT1=0x88 INT2=0x00 INT3=0x00 INT4=0x00
INT5=0x00
[21474681.235000] pcf50633 0-0073: usb curlim to 0 mA
[21474681.335000] pcf50633 0-0073: INT1=0x80 INT2=0x00 INT3=0x00 INT4=0x00
INT5=0x00
[21474681.355000] pcf50633 0-0073: INT1=0x00 INT2=0x00 INT3=0x00 INT4=0x00
INT5=0x00
[21474683.495000] ar6000_wow interrupt
[21474688.325000] mmc0: card 0001 removed
[21474688.330000] s3c2440-sdi s3c2440-sdi: powered down.
[21474688.330000] s3c2440-sdi s3c2440-sdi: powered down.
[21474735.710000] pcf50633 0-0073: INT1=0x84 INT2=0x00 INT3=0x00 INT4=0x00
INT5=0x00
[21474735.785000] pcf50633 0-0073: INT1=0x00 INT2=0x00 INT3=0x00 INT4=0x00
INT5=0x00
[21474735.820000] pcf50633 0-0073: INT1=0x00 INT2=0x00 INT3=0x00 INT4=0x00
INT5=0x00
[21474735.950000] g_ether gadget: full speed config #1: CDC Ethernet (ECM)
[21474738.730000] pcf50633 0-0073: usb curlim to 500 mA
[21474788.660000] fbcon_event_notify action=9, data=c7e2dde8
[21474788.660000] jbt6k74 spi2.0: **** jbt6k74 vsync suspend
[21474793.730000] fbcon_event_notify action=9, data=c7e2dde8
[21474793.730000] jbt6k74 spi2.0: **** jbt6k74 hsync suspend
[21474798.800000] fbcon_event_notify action=9, data=c7e2dde8
[21474798.800000] jbt6k74 spi2.0: **** jbt6k74 powerdown
[  449.360000] pcf50633 0-0073: Masking IRQ 6
[  449.400000] pcf50633 0-0073: Unmasking IRQ 6
[  791.920000] fbcon_event_notify action=12, data=c7e2ddac
[  791.920000] jbt6k74 spi2.0: **** jbt6k74 unblank
[  792.045000] fbcon_event_notify action=9, data=c7e2dde8
[  792.045000] jbt6k74 spi2.0: **** jbt6k74 unblank
[  792.275000] pcf50633 0-0073: INT1=0x80 INT2=0x00 INT3=0x00 INT4=0x40
INT5=0x00
[  792.295000] pcf50633 0-0073: INT1=0x00 INT2=0x00 INT3=0x00 INT4=0x00
INT5=0x00
[  792.315000] pcf50633 0-0073: INT1=0x00 INT2=0x00 INT3=0x00 INT4=0x00
INT5=0x00
[  822.075000] fbcon_event_notify action=9, data=c7e2dde8
[  822.075000] jbt6k74 spi2.0: **** jbt6k74 vsync suspend
[  827.145000] fbcon_event_notify action=9, data=c7e2dde8
[  827.145000] jbt6k74 spi2.0: **** jbt6k74 hsync suspend
[  832.210000] fbcon_event_notify action=9, data=c7e2dde8
[  832.210000] jbt6k74 spi2.0: **** jbt6k74 powerdown


Andy Green wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Looks like the it doesn't parse the extended partition table
> correctly... but there's a limit of 8 partitions per SD Card according
> to top of drivers/mmc/card/block.c  Or, maybe there's something funky
> about your partition table.
> 
> We just select PC BIOS / MS DOS partition support, it should be enough
> for extended partitions AFAIK.
> 
> - -Andy
> 
> 

-- 
View this message in context: http://n2.nabble.com/Kingston-SDC4-don%27t-work-with-OM2008.9%27s-kernel-tp2109232p2210418.html
Sent from the Openmoko Kernel mailing list archive at Nabble.com.




More information about the openmoko-kernel mailing list