[OpenIndiana-discuss] SDHC card support in OI?

Bryan N Iotti ironsides.medvet at runbox.com
Tue Sep 24 18:21:40 UTC 2013


Hi, sorry it took so long to answer.

rmformat does not see the reader.

Inserting a regular SD card makes no difference compared to a SDHC card.

/var/adm/messages contains this line:
 Sep 24 20:09:17 Spook pci_pci: [ID 370704 kern.info] PCI-device: pci103c,30dc at 9,1, sdhost0 

and the same PCI ID is used in these lines:
Sep 24 20:09:17 Spook blkdev: [ID 348765 kern.info] Block device: blkdev at 0, blkdev0
Sep 24 20:09:17 Spook genunix: [ID 936769 kern.info] blkdev0 is /pci at 0,0/pci 8086,2448 at 1e/pci103c,30dc at 9,1/blkdev at 0
Sep 24 20:09:17 Spook genunix: [ID 408114 kern.info] /pci at 0,0/pci8086,2448 at 1e/pci103c,30dc at 9,1/blkdev at 0 (blkdev0) online
Sep 24 20:09:22 Spook devfsadmd[463]: [ID 937045 daemon.error] failed to lookup dev name for /pci at 0,0/pci8086,2448 at 1e/pci103c,30dc at 9,1/blkdev at 0

My interpretation would be that the drive is recognized and bound to a block device but devfsadm can't use it because it doesn't know what /dev it points to.

Interesting, as I've often used a reconfigure boot, but to no avail I guess.

Thank you James for suggesting I check the logs. Any other ideas as to what I can try?

   Bryan

On Tue, 17 Sep 2013 16:27:24 -0400
James Carlson <carlsonj at workingcode.com> wrote:

> On 09/17/13 15:44, Bryan N Iotti wrote:
> > Hi all,
> > 
> > I was experimenting with the less used ports on my laptop today and I found out that if I insert an SDHC (Secure Digital High Capacity) card it isn't seen by the system, even after a reconfiguration boot.
> > 
> > Now, I've read the sdhost and sdcard man pages and they claim support for SDHC cards.
> > 
> > I've noticed that the reader is not picked up by the Device Driver Utility, while it is reported by prtconf -D as:
> > 
> > pci103c,30dc, instance #0 (driver name: sdhost)
> 
> OK, so something is attaching to the device.  That's good.
> 
> Does "rmformat" see it?
> 
> > and by scanpci -v as:
> > pci bus 0x0086 cardnum 0x09 function 0x01: vendor 0x1180 device 0x0822
> >  Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter
> >  CardVendor 0x103c card 0x30dc (Hewlett-Packard Company, Card unknown)
> >   STATUS    0x0210  COMMAND 0x0006
> >   CLASS     0x08 0x05 0x00  REVISION 0x25
> 
> I would look for errors in /var/adm/messages.  The driver should be
> logging something if it has decided that it doesn't want to talk to that
> device.
> 
> >   BIST      0x00  HEADER 0x80  LATENCY 0x00  CACHE 0x10
> >   BASE0     0xd0001900 SIZE 256  MEM
> >   BASEROM   0x00000000  addr 0x00000000
> >   MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x02  INT_LINE 0x0a
> > 
> > There's an old Oracle security report complaining about that same vendor and device ID as a security issue in older versions of OpenSolaris (http://download.oracle.com/sunalerts/1020487.1.html).
> 
> That same report says that it was fixed in snv_109, which was _way_
> before any fork, so the fix would certainly be in OpenIndiana, if it
> were related.
> 
> I doubt that it is related, given that the PCI IDs are different, even
> if the string appears to be the same.
> 
> -- 
> James Carlson         42.703N 71.076W         <carlsonj at workingcode.com>
> 
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
> 


-- 
Bryan N Iotti

+39 366 3708436
ironsides.medvet at runbox.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 486 bytes
Desc: not available
URL: <http://openindiana.org/pipermail/openindiana-discuss/attachments/20130924/aa2f727d/attachment.bin>


More information about the OpenIndiana-discuss mailing list