8G SD Card - Slackware

This is a discussion on 8G SD Card - Slackware ; Maybe somebody can point me in the right direction. I got an 8G SD card. During use on my laptop, I get the following error, and the entire system becomes unstable. 'reset high speed USB device using ehci_hcd' it repeats ...

+ Reply to Thread
Results 1 to 9 of 9

Thread: 8G SD Card

  1. 8G SD Card

    Maybe somebody can point me in the right direction. I got an 8G SD card. During use on my laptop, I get the following error, and the entire system becomes unstable.

    'reset high speed USB device using ehci_hcd'

    it repeats over and over again, and often requires a hard reset to use the computer.

    The same card works perfectly on my desktop PC which has the same Slackware version (12) and the same kernel (2.6.21.5-smp).

    I realize the hardware is different, but I have no idea what to look at first to try and fix the issue.

    --
    dmiller

  2. Re: 8G SD Card

    On Sun, 09 Dec 2007 10:10:26 -0500, dmiller wrote:

    > Maybe somebody can point me in the right direction. I got an 8G SD
    > card. During use on my laptop, I get the following error, and the
    > entire system becomes unstable.
    > 'reset high speed USB device using ehci_hcd'
    > it repeats over and over again, and often requires a hard reset to use
    > the computer.
    > The same card works perfectly on my desktop PC which has the same
    > Slackware version (12) and the same kernel (2.6.21.5-smp).
    > I realize the hardware is different, but I have no idea what to look at
    > first to try and fix the issue.


    upgrade the kernel to latest stable (2.6.23.9), see if it is still an
    issue. that way, you have basically updated to the latest stable driver.
    btw have any other sd cards? do they work properly on laptop?

  3. Re: 8G SD Card

    On Sun, 9 Dec 2007 10:10:26 -0500, dmiller wrote:
    > Maybe somebody can point me in the right direction. I got an 8G SD card. During use on my laptop,
    > I get the following error, and the entire system becomes unstable.
    >
    > 'reset high speed USB device using ehci_hcd'
    >
    > it repeats over and over again, and often requires a hard reset to use the computer.
    >
    > The same card works perfectly on my desktop PC which has the same Slackware version (12) and the
    > same kernel (2.6.21.5-smp).
    >
    > I realize the hardware is different, but I have no idea what to look at first to try and fix the issue.
    >


    Check your dmesg on your laptop to see what USB Controllers you have. In
    the past I had problems unless only the right USB modules loaded.

    kprims@bud:/usr/src/linux$ grep -i hci_hcd bud
    CONFIG_USB_EHCI_HCD=m
    CONFIG_USB_OHCI_HCD=m
    CONFIG_USB_UHCI_HCD=m

    kprims@bud:/usr/src/linux$ dmesg |grep -i hci_hcd

    uhci_hcd 0000:00:1a.0: UHCI Host Controller
    ..
    uhci_hcd 0000:00:1a.1: UHCI Host Controller
    ..
    ehci_hcd 0000:00:1a.7: EHCI Host Controller

    kprims@bud:/usr/src/linux$ /sbin/lsmod

    usbhid 42496 0
    ehci_hcd 35468 0
    uhci_hcd 25868 0
    --
    Ken P



  4. Re: 8G SD Card


    "Ken P" wrote in message
    news:13loaguf98sj7ff@corp.supernews.com...
    > On Sun, 9 Dec 2007 10:10:26 -0500, dmiller wrote:
    >> Maybe somebody can point me in the right direction. I got an 8G SD
    >> card. During use on my laptop,
    >> I get the following error, and the entire system becomes unstable.
    >>
    >> 'reset high speed USB device using ehci_hcd'
    >>
    >> it repeats over and over again, and often requires a hard reset to
    >> use the computer.
    >>
    >> The same card works perfectly on my desktop PC which has the same
    >> Slackware version (12) and the
    >> same kernel (2.6.21.5-smp).
    >>
    >> I realize the hardware is different, but I have no idea what to look
    >> at first to try and fix the issue.
    >>

    >
    > Check your dmesg on your laptop to see what USB Controllers you have.
    > In
    > the past I had problems unless only the right USB modules loaded.
    >
    > kprims@bud:/usr/src/linux$ grep -i hci_hcd bud
    > CONFIG_USB_EHCI_HCD=m
    > CONFIG_USB_OHCI_HCD=m
    > CONFIG_USB_UHCI_HCD=m
    >
    > kprims@bud:/usr/src/linux$ dmesg |grep -i hci_hcd
    >
    > uhci_hcd 0000:00:1a.0: UHCI Host Controller
    > .
    > uhci_hcd 0000:00:1a.1: UHCI Host Controller
    > .
    > ehci_hcd 0000:00:1a.7: EHCI Host Controller
    >
    > kprims@bud:/usr/src/linux$ /sbin/lsmod
    >
    > usbhid 42496 0
    > ehci_hcd 35468 0
    > uhci_hcd 25868 0
    > --
    > Ken P


    I think if you look at your SD card's literature, you will
    find it tells you the 8 Gb card (anything larger than 2
    Gb among SD cards) works different from the smaller cards
    in that it wants a special mounting. I believe this is
    because the card has DRM software builtin. I do not know
    if there is a way to defeat and remove that DRM stuff,
    but if there is and word gets around, I'm interested. A
    4 Gb SD card that I purchased for backing-up files would
    not work in my machine, for a like reason. I don't know
    why the card works in one machine for you, and not
    another.

    Cheers -- Martha Adams
    [alt.os.linux.slackware 2007 Dec 09]


  5. Re: 8G SD Card

    Martha Adams wrote:


    > I think if you look at your SD card's literature, you will
    > find it tells you the 8 Gb card (anything larger than 2
    > Gb among SD cards) works different from the smaller cards
    > in that it wants a special mounting. I believe this is
    > because the card has DRM software builtin.


    If Wikipedia is correct it is not a DRM issue. The original SD spec was
    addressable to 2GB using byte addressing, whereas SDHC is sector
    addressable for a limit of 2048GB.
    http://en.wikipedia.org/wiki/Secure_Digital_card#SDHC

    >I do not know
    > if there is a way to defeat and remove that DRM stuff,
    > but if there is and word gets around, I'm interested.


    All you need to do is acquire a reader that uses the newer standard.

    --
    Ed

  6. Re: 8G SD Card

    I've tried a few cards (different brands/sizes). Anything over 2G in capacity gives me trouble.

    On Sun, 9 Dec 2007 16:06:43 +0000 (UTC)
    Mad-Eye Moody wrote:

    > On Sun, 09 Dec 2007 10:10:26 -0500, dmiller wrote:
    >
    > btw have any other sd cards? do they work properly on laptop?



    --
    dmiller

  7. Re: 8G SD Card

    Snagged two 4G Cruzers at Costco @$35 each, converting my gateway server to
    mostly flash boot/system on an older nForce2/Sempron motherboard. No
    issues other than it gets seen twice (once as a CD-ROM) but this seems not
    to be a problem.

    I did zero the device before doing anything else.

    Cheers,

    .....
    00:02.1 USB Controller: nVidia Corporation MCP2A USB Controller (rev a1)
    (prog-if 10 [OHCI])
    Subsystem: Micro-Star International Co., Ltd. Unknown device 5700
    Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 9
    Memory at e4001000 (32-bit, non-prefetchable) [size=4K]
    Capabilities: [44] Power Management version 2

    00:02.2 USB Controller: nVidia Corporation MCP2A USB Controller (rev a2)
    (prog-if 20 [EHCI])
    Subsystem: Micro-Star International Co., Ltd. Unknown device 5700
    Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 3
    Memory at e4002000 (32-bit, non-prefetchable) [size=256]
    Capabilities: [44] Debug port
    Capabilities: [80] Power Management version 2

    ....
    scsi3 : SCSI emulation for USB Mass Storage devices
    Vendor: SanDisk Model: U3 Cruzer Micro Rev: 3.27
    Type: Direct-Access ANSI SCSI revision: 02
    Vendor: SanDisk Model: U3 Cruzer Micro Rev: 3.27
    Type: CD-ROM ANSI SCSI revision: 02
    Attached scsi removable disk sda at scsi3, channel 0, id 0, lun 0
    SCSI device sda: 8013454 512-byte hdwr sectors (4103 MB)
    sda: Write Protect is off
    sda: sda1 sda2
    scsi4 : SCSI emulation for USB Mass Storage devices
    Vendor: SanDisk Model: U3 Cruzer Micro Rev: 3.27
    Type: Direct-Access ANSI SCSI revision: 02
    Vendor: SanDisk Model: U3 Cruzer Micro Rev: 3.27
    Type: CD-ROM ANSI SCSI revision: 02
    Attached scsi removable disk sdb at scsi4, channel 0, id 0, lun 0
    SCSI device sdb: 8013454 512-byte hdwr sectors (4103 MB)
    sdb: Write Protect is off
    sdb: sdb1 sdb2
    ....
    C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
    I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
    E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms
    T: Bus=01 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
    D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
    P: Vendor=0781 ProdID=5406 Rev= 0.10
    S: Manufacturer=SanDisk Corporation
    S: Product=U3 Cruzer Micro
    S: SerialNumber=00001673A67020CE
    C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=200mA
    I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
    E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
    E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
    T: Bus=01 Lev=01 Prnt=01 Port=05 Cnt=02 Dev#= 3 Spd=480 MxCh= 0
    D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
    P: Vendor=0781 ProdID=5406 Rev= 0.10
    S: Manufacturer=SanDisk Corporation
    S: Product=U3 Cruzer Micro
    S: SerialNumber=00001673A6700746
    C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=200mA
    I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
    E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
    E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
    ....

    > cat /proc/mdstat

    Personalities : [raid0] [raid1]
    read_ahead 1024 sectors
    md10 : active raid0 sdb2[1] sda2[0]
    7968000 blocks 16k chunks

    md0 : active raid1 sdb1[1] sda1[0]
    15936 blocks [2/2] [UU]

    > sudo fdisk -l /dev/sda


    Disk /dev/sda: 4102 MB, 4102888448 bytes
    255 heads, 63 sectors/track, 498 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 1 2 16033+ fd Linux raid autodetect
    /dev/sda2 3 498 3984120 fd Linux raid autodetect

    > sudo hdparm -tT /dev/md0 /dev/md10


    /dev/md0:
    Timing cached reads: 1856 MB in 2.00 seconds = 928.00 MB/sec
    Timing buffered disk reads: 14 MB in 0.92 seconds = 15.22 MB/sec

    /dev/md10:
    Timing cached reads: 1876 MB in 2.00 seconds = 938.00 MB/sec
    Timing buffered disk reads: 86 MB in 3.01 seconds = 28.57 MB/sec

  8. Re: 8G SD Card

    lazardo wrote:

    > Snagged two 4G Cruzers at Costco @$35 each, converting my gateway server
    > to
    > mostly flash boot/system on an older nForce2/Sempron motherboard. No
    > issues other than it gets seen twice (once as a CD-ROM) but this seems not
    > to be a problem.
    >
    > I did zero the device before doing anything else.


    I was thinking of using some CF cards with CF-ATA adapters and then plugging
    that into a RAID card. Unfortunately the price of CF as compared to say USB
    sticks is quite significant. Also I was going to do this for my workstation
    and frankly i use too much disk space for it to be worth it so I bought
    myself a 320GB PATA Drive instead. However I am building a server and might
    again try the FLASH option. Where are you putting the Cruzers? In the case
    or outside?

    > /dev/md0:
    > Timing cached reads: 1856 MB in 2.00 seconds = 928.00 MB/sec
    > Timing buffered disk reads: 14 MB in 0.92 seconds = 15.22 MB/sec
    >
    > /dev/md10:
    > Timing cached reads: 1876 MB in 2.00 seconds = 938.00 MB/sec
    > Timing buffered disk reads: 86 MB in 3.01 seconds = 28.57 MB/sec


    $ sudo hdparm /dev/hda

    /dev/hda:
    multcount = 0 (off)
    IO_support = 1 (32-bit)
    unmaskirq = 1 (on)
    using_dma = 1 (on)
    keepsettings = 0 (off)
    readonly = 0 (off)
    readahead = 256 (on)
    geometry = 38913/255/63, sectors = 625142448, start = 0

    $ sudo hdparm -tT /dev/hda

    /dev/hda:
    Timing cached reads: 1706 MB in 2.00 seconds = 853.17 MB/sec
    Timing buffered disk reads: 220 MB in 3.01 seconds = 73.06 MB/sec

    Not much different to your flash solution, I wonder why that is?

    Richard James

  9. Re: 8G SD Card

    Richard James wrote:

    > $ sudo hdparm -tT /dev/hda
    >
    > /dev/hda:
    > Timing cached reads: 1706 MB in 2.00 seconds = 853.17 MB/sec
    > Timing buffered disk reads: 220 MB in 3.01 seconds = 73.06 MB/sec
    >
    > Not much different to your flash solution, I wonder why that is?


    hdparm does sequential reads so the benefit of using flash is not evident in
    the test.

    Richard James

+ Reply to Thread