#9457 BLOC Not Tri: XO-1.5 OS30 boot scripts are quite right

Zarro Boogs per Child bugtracker at laptop.org
Fri Sep 18 12:06:38 EDT 2009


#9457: XO-1.5 OS30 boot scripts are quite right
-------------------------------+--------------------------------------------
           Reporter:  wad      |       Owner:  dsaxena      
               Type:  defect   |      Status:  new          
           Priority:  blocker  |   Milestone:  Not Triaged  
          Component:  kernel   |     Version:  not specified
         Resolution:           |    Keywords:               
        Next_action:  design   |    Verified:  0            
Deployment_affected:           |   Blockedby:               
           Blocking:           |  
-------------------------------+--------------------------------------------

Comment(by dsaxena):

 If running modern udev (which I believe our Fedora base is running), we
 get:

 {{{
 ls -lR /dev/disk

 /dev/disk/:
 total 0
 drwxr-xr-x 2 root root 300 2009-09-18 08:52 by-id
 drwxr-xr-x 2 root root  80 2009-09-17 02:09 by-label
 drwxr-xr-x 2 root root 180 2009-09-18 08:52 by-path
 drwxr-xr-x 2 root root 120 2009-09-18 01:34 by-uuid

 /dev/disk/by-id:
 total 0
 lrwxrwxrwx 1 root root  9 2009-09-17 02:09 ata-
 FUJITSU_MHW2160BJ_G1_K314T8425D31 -> ../../sda
 lrwxrwxrwx 1 root root 10 2009-09-17 02:09 ata-
 FUJITSU_MHW2160BJ_G1_K314T8425D31-part1 -> ../../sda1
 lrwxrwxrwx 1 root root 10 2009-09-17 02:09 ata-
 FUJITSU_MHW2160BJ_G1_K314T8425D31-part2 -> ../../sda2
 lrwxrwxrwx 1 root root 10 2009-09-17 02:09 ata-
 FUJITSU_MHW2160BJ_G1_K314T8425D31-part3 -> ../../sda3
 lrwxrwxrwx 1 root root 10 2009-09-17 02:09 ata-
 FUJITSU_MHW2160BJ_G1_K314T8425D31-part5 -> ../../sda5
 lrwxrwxrwx 1 root root 10 2009-09-17 02:09 ata-
 FUJITSU_MHW2160BJ_G1_K314T8425D31-part6 -> ../../sda6
 lrwxrwxrwx 1 root root 13 2009-09-18 08:52 mmc-SD02G_0xab51e41d ->
 ../../mmcblk0
 lrwxrwxrwx 1 root root  9 2009-09-17 09:10 scsi-
 SATA_FUJITSU_MHW2160_K314T8425D31 -> ../../sda
 lrwxrwxrwx 1 root root 10 2009-09-17 09:10 scsi-
 SATA_FUJITSU_MHW2160_K314T8425D31-part1 -> ../../sda1
 lrwxrwxrwx 1 root root 10 2009-09-17 09:10 scsi-
 SATA_FUJITSU_MHW2160_K314T8425D31-part2 -> ../../sda2
 lrwxrwxrwx 1 root root 10 2009-09-17 09:10 scsi-
 SATA_FUJITSU_MHW2160_K314T8425D31-part3 -> ../../sda3
 lrwxrwxrwx 1 root root 10 2009-09-17 09:10 scsi-
 SATA_FUJITSU_MHW2160_K314T8425D31-part5 -> ../../sda5
 lrwxrwxrwx 1 root root 10 2009-09-17 09:10 scsi-
 SATA_FUJITSU_MHW2160_K314T8425D31-part6 -> ../../sda6

 /dev/disk/by-label:
 total 0
 lrwxrwxrwx 1 root root 10 2009-09-17 02:09 ServiceV002 -> ../../sda1
 lrwxrwxrwx 1 root root 10 2009-09-17 02:09 SW_Preload -> ../../sda2

 /dev/disk/by-path:
 total 0
 lrwxrwxrwx 1 root root  9 2009-09-17 02:09 pci-0000:00:1f.2-scsi-0:0:0:0
 -> ../../sda
 lrwxrwxrwx 1 root root 10 2009-09-17 02:09
 pci-0000:00:1f.2-scsi-0:0:0:0-part1 -> ../../sda1
 lrwxrwxrwx 1 root root 10 2009-09-17 02:09
 pci-0000:00:1f.2-scsi-0:0:0:0-part2 -> ../../sda2
 lrwxrwxrwx 1 root root 10 2009-09-17 02:09
 pci-0000:00:1f.2-scsi-0:0:0:0-part3 -> ../../sda3
 lrwxrwxrwx 1 root root 10 2009-09-17 02:09
 pci-0000:00:1f.2-scsi-0:0:0:0-part5 -> ../../sda5
 lrwxrwxrwx 1 root root 10 2009-09-17 02:09
 pci-0000:00:1f.2-scsi-0:0:0:0-part6 -> ../../sda6
 lrwxrwxrwx 1 root root 13 2009-09-18 08:52 pci-mmc0:ab93 -> ../../mmcblk0

 /dev/disk/by-uuid:
 total 0
 lrwxrwxrwx 1 root root 10 2009-09-17 02:09 9A26528C26526971 -> ../../sda2
 lrwxrwxrwx 1 root root 10 2009-09-17 02:09 ab7984dc-4359-4950-a8ad-
 2abc5ce10614 -> ../../sda6
 lrwxrwxrwx 1 root root 10 2009-09-17 02:09 ade95b8c-147d-4b0f-a5aa-
 a2805c9c45b2 -> ../../sda5
 lrwxrwxrwx 1 root root 10 2009-09-17 02:09 E8B44ED9B44EAA40 -> ../../sda1
 }}}

 hmm...I wonder if the pci-mmc[01].. label can be used to tell
 kernel/initramfs what to mount as root? I'm not sure where the :ab93 comes
 from or whether the [01] part of pci-mmc changes with slot (since my
 laptop only has one slot). Can someone run "ls -lR /dev/disk" on XO with
 just internal, just external, and both slots full?

-- 
Ticket URL: <http://dev.laptop.org/ticket/9457#comment:7>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list