[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Possibly erroneous "device not present" message during boot



On Thu 20 Apr 2017 at 07:51:47 (+0200), Pascal Hambourg wrote:
> Le 20/04/2017 à 04:10, David Wright a écrit :
> >
> >AFAICT cards that can boot appear later as:
> >
> >$ ls -l /dev/disk/by-id/ [edited]
> >usb-General_Combo_CardMMC_SD_000012345678-0:0 -> ../../sdb
> >usb-General_Combo_CardMMC_SD_000012345678-0:0-part1 -> ../../sdb1
> >usb-General_Combo_CardMMC_SD_000012345678-0:0-part2 -> ../../sdb2
> >$ cat /sys/bus/usb/devices/1-4:1.0/uevent
> >DEVTYPE=usb_interface
> >DRIVER=usb-storage
> >PRODUCT=1025/5d/16b
> >TYPE=0/0/0
> >INTERFACE=8/6/80
> >MODALIAS=usb:v1025p005Dd016Bdc00dsc00dp00ic08isc06ip50in00
> 
> I had the same impression, but it is not always true according to
> Brian's counterexample.

What Brian was demonstrating (not every card that appears as USB can
be seen in the CMOS and boot) is not what interests me. The example
I would be interested in seeing is the opposite, an SD card that
appears as mmcblk to linux but is also visible in the CMOS screens
and is therefore likely bootable. If so, how is it described in
the CMOS—you rarely see this sort of stuff well documented.

IOW how is a card like this one described in the CMOS?

$ ls -l /dev/disk/by-id/
mmc-SE32G_0x0109e2ec -> ../../mmcblk0
mmc-SE32G_0x0109e2ec-part1 -> ../../mmcblk0p1
$ cat /sys/bus/mmc/devices/mmc0\:aaaa/uevent
DRIVER=mmcblk
MMC_TYPE=SD
MMC_NAME=SE32G
MODALIAS=mmc:block
$

(To give myself the best chance of answering this, I now leave an
SD card in my laptop in case I ever manage to get into the CMOS again.)

Cheers,
David.


Reply to: