]> git.ozlabs.org Git - yaboot.git/commitdiff
Add extra sanity checks to new ofpath ide resolution code
authorEthan Benson <erbenson@alaska.net>
Sun, 3 Nov 2002 02:00:27 +0000 (02:00 +0000)
committerEthan Benson <erbenson@alaska.net>
Sun, 3 Nov 2002 02:00:27 +0000 (02:00 +0000)
* ofpath: Add a few sanity checks to new ide resolution code.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-37

0arch-timestamps0
ChangeLog
ybin/ofpath

index ac6ea988c1b92079e49c2f350f4251ceae10572d..4ebedb85c029b73f5f85236ee787fa8ff7279756 100644 (file)
-./include/xfs/.arch-ids/=id    1035679942      1017069090
-./include/xfs/.arch-ids/xfs.h.id       1035679942      1017069096
-./include/xfs/.arch-ids        1035973750      1017069096
-./include/xfs/xfs.h    1035679950      1002101334
-./include/xfs  1035973750      1007269244
-./include/.arch-ids/errors.h.id        1035679942      1017069108
-./include/.arch-ids/=id        1035679942      1017027153
-./include/.arch-ids/bootinfo.h.id      1035679942      1017027154
-./include/.arch-ids/byteorder.h.id     1035679942      1017027154
-./include/.arch-ids/cfg.h.id   1035679942      1017027154
-./include/.arch-ids/cmdline.h.id       1035679942      1017027154
-./include/.arch-ids/ctype.h.id 1035679942      1017027155
-./include/.arch-ids/fdisk-part.h.id    1035679942      1017027157
-./include/.arch-ids/file.h.id  1035679942      1017027157
-./include/.arch-ids/fs.h.id    1035679942      1017027157
-./include/.arch-ids/mac-part.h.id      1035679942      1017027159
-./include/.arch-ids/md5.h.id   1035679942      1017027159
-./include/.arch-ids/partition.h.id     1035679942      1017027159
-./include/.arch-ids/prom.h.id  1035679942      1017027159
-./include/.arch-ids/setjm2.h.id        1035679942      1017027160
-./include/.arch-ids/setjmp.h.id        1035679942      1017027160
-./include/.arch-ids/stdlib.h.id        1035679942      1017027161
-./include/.arch-ids/string.h.id        1035679942      1017027161
-./include/.arch-ids/swab.h.id  1035679942      1017027161
-./include/.arch-ids/types.h.id 1035679942      1017027162
-./include/.arch-ids/yaboot.h.id        1035679942      1017027162
-./include/.arch-ids/debug.h.id 1035679942      1017154770
-./include/.arch-ids    1035973750      1017154770
-./include/asm/.arch-ids/=id    1035679942      1017027153
-./include/asm/.arch-ids/elf.h.id       1035679942      1017027153
-./include/asm/.arch-ids/ppc_asm.tmpl.id        1035679942      1017027153
-./include/asm/.arch-ids/processor.h.id 1035679942      1017027154
-./include/asm/.arch-ids        1035973750      1017027154
-./include/asm/elf.h    1035679948      1000991730
-./include/asm/ppc_asm.tmpl     1035679948      1000991730
-./include/asm/processor.h      1035679948      1000991730
-./include/asm  1035973750      1007269243
-./include/et/.arch-ids/=id     1035679942      1017027155
-./include/et/.arch-ids/com_err.h.id    1035679942      1017027155
-./include/et/.arch-ids 1035973750      1017155400
-./include/et/com_err.h 1035679949      1000991731
-./include/et   1035973750      1007269243
-./include/ext2fs/.arch-ids/=id 1035679942      1017027156
-./include/ext2fs/.arch-ids/bitops.h.id 1035679942      1017027156
-./include/ext2fs/.arch-ids/ext2_err.h.id       1035679942      1017027156
-./include/ext2fs/.arch-ids/ext2_io.h.id        1035679942      1017027156
-./include/ext2fs/.arch-ids/ext2fs.h.id 1035679942      1017027156
-./include/ext2fs/.arch-ids     1035973750      1017027156
-./include/ext2fs/bitops.h      1035679949      1003927524
-./include/ext2fs/ext2_err.h    1035679949      1003927524
-./include/ext2fs/ext2_io.h     1035679949      1003927524
-./include/ext2fs/ext2fs.h      1035679949      1003927524
-./include/ext2fs       1035973750      1007269243
-./include/linux/.arch-ids/=id  1035679942      1017027157
-./include/linux/.arch-ids/elf.h.id     1035679942      1017027158
-./include/linux/.arch-ids/ext2_fs.h.id 1035679942      1017027158
-./include/linux/.arch-ids/iso_fs.h.id  1035679942      1017027158
-./include/linux/.arch-ids/stat.h.id    1035679942      1017027158
-./include/linux/.arch-ids/types.h.id   1035679942      1017027159
-./include/linux/.arch-ids      1035973750      1017027159
-./include/linux/elf.h  1035679949      1000991731
-./include/linux/ext2_fs.h      1035679949      1000991731
-./include/linux/iso_fs.h       1035679949      1000991731
-./include/linux/stat.h 1035679949      1000991731
-./include/linux/types.h        1035679949      1000991731
-./include/linux        1035973750      1007269243
-./include/reiserfs/.arch-ids/=id       1035679942      1017027160
-./include/reiserfs/.arch-ids/reiserfs.h.id     1035679942      1017027160
-./include/reiserfs/.arch-ids   1035973750      1017027160
-./include/reiserfs/reiserfs.h  1035679949      1025684115
-./include/reiserfs     1035973750      1025684115
-./include/errors.h     1035679949      1007200690
-./include/bootinfo.h   1035679948      1007200690
-./include/byteorder.h  1035679948      1000991730
-./include/cfg.h        1035679948      1007200690
-./include/cmdline.h    1035679948      1007200690
-./include/ctype.h      1035679948      1003656411
-./include/fdisk-part.h 1035679949      1007200690
-./include/file.h       1035679949      1007200690
-./include/fs.h 1035679949      1007200690
-./include/mac-part.h   1035679949      1007200690
-./include/md5.h        1035679949      1000991730
-./include/partition.h  1035679949      1007200690
-./include/prom.h       1035679949      1007200690
-./include/setjm2.h     1035679950      1000991730
-./include/setjmp.h     1035679950      1000991730
-./include/stdlib.h     1035679950      1000991730
-./include/string.h     1035679950      1002620217
-./include/swab.h       1035679950      1000991730
-./include/types.h      1035679950      1000991730
-./include/yaboot.h     1035679950      1007200690
-./include/debug.h      1035679949      1007200690
-./include      1035973750      1007269244
-./second/.arch-ids/fs_xfs.c.id 1035679942      1017069120
-./second/.arch-ids/=id 1035679942      1017027166
-./second/.arch-ids/cache.S.id  1035679942      1017027167
-./second/.arch-ids/cfg.c.id    1035679942      1017027167
-./second/.arch-ids/cmdline.c.id        1035679942      1017027167
-./second/.arch-ids/crt0.S.id   1035679942      1017027167
-./second/.arch-ids/file.c.id   1035679942      1017027167
-./second/.arch-ids/fs.c.id     1035679942      1017027168
-./second/.arch-ids/fs_ext2.c.id        1035679942      1017027168
-./second/.arch-ids/fs_iso.c.id 1035679942      1017027168
-./second/.arch-ids/fs_of.c.id  1035679942      1017027168
-./second/.arch-ids/fs_reiserfs.c.id    1035679942      1017027169
-./second/.arch-ids/iso_util.c.id       1035679942      1017027170
-./second/.arch-ids/md5.c.id    1035679942      1017027170
-./second/.arch-ids/partition.c.id      1035679942      1017027170
-./second/.arch-ids/prom.c.id   1035679942      1017027170
-./second/.arch-ids/setjmp.S.id 1035679942      1017027171
-./second/.arch-ids/yaboot.c.id 1035679942      1017027171
-./second/.arch-ids     1035973750      1017069120
-./second/fs_xfs.c      1035679952      1032059541
-./second/cache.S       1035679951      1007200690
-./second/cfg.c 1035679951      1007200690
-./second/cmdline.c     1035679951      1032059589
-./second/crt0.S        1035679951      1000991731
-./second/file.c        1035679951      1032059581
-./second/fs.c  1035679951      1032059574
-./second/fs_ext2.c     1035679952      1032059564
-./second/fs_iso.c      1035679952      1007200690
-./second/fs_of.c       1035679952      1032059553
-./second/fs_reiserfs.c 1035679952      1007200690
-./second/iso_util.c    1035679952      1003656415
-./second/md5.c 1035679952      1032059532
-./second/partition.c   1035679952      1032059525
-./second/prom.c        1035679952      1032059515
-./second/setjmp.S      1035679952      1000991732
-./second/yaboot.c      1035679952      1032059504
-./second       1035973750      1032765950
-./.arch-ids/Config.id  1035679942      1017069133
-./.arch-ids/0arch-timestamps0.id       1035679942      1020516949
-./.arch-ids/ChangeLog.id       1035679942      1017026820
-./.arch-ids/BUGS.id    1035679942      1017027147
-./.arch-ids/COPYING.id 1035679942      1017027147
-./.arch-ids/INSTALL.id 1035679942      1017027147
-./.arch-ids/Makefile.id        1035679942      1017027148
-./.arch-ids/README.id  1035679942      1017027148
-./.arch-ids/README.man.patch.id        1035679942      1017027148
-./.arch-ids/THANKS.id  1035679942      1017027148
-./.arch-ids/TODO.id    1035679942      1017027149
-./.arch-ids/changelog.id       1035679942      1017027149
-./.arch-ids/man.patch.id       1035679942      1017027166
-./.arch-ids    1035973750      1020516949
-./doc/.arch-ids/=id    1035679942      1017027149
-./doc/.arch-ids/README.ofboot.id       1035679942      1017027149
-./doc/.arch-ids/README.ofpath.id       1035679942      1017027149
-./doc/.arch-ids/README.rs6000.id       1035679942      1017027150
-./doc/.arch-ids/Makefile.id    1035679942      1017235762
-./doc/.arch-ids/yaboot-howto.sgml.id   1035679942      1017235765
-./doc/.arch-ids/yaboot-howto.de.sgml.id        1035679942      1017238100
-./doc/.arch-ids        1035973750      1017238100
-./doc/examples/.arch-ids/=id   1035679942      1017027150
-./doc/examples/.arch-ids/README.dualboot.chrp.id       1035679942      1017027150
-./doc/examples/.arch-ids/README.mbicons.id     1035679942      1017027150
-./doc/examples/.arch-ids/README.simpleboot.chrp.id     1035679942      1017027150
-./doc/examples/.arch-ids/dualboot.chrp.id      1035679942      1017027151
-./doc/examples/.arch-ids/large-penguin.mbicon.id       1035679942      1017027151
-./doc/examples/.arch-ids/simpleboot.chrp.id    1035679942      1017027151
-./doc/examples/.arch-ids/yaboot.conf.multi-boot.id     1035679942      1017027151
-./doc/examples/.arch-ids/yaboot.conf.rs6000.id 1035679942      1017027152
-./doc/examples/.arch-ids       1035973751      1017236175
-./doc/examples/README.dualboot.chrp    1035679947      1000991730
-./doc/examples/README.mbicons  1035679947      1000991730
-./doc/examples/README.simpleboot.chrp  1035679947      1000991730
-./doc/examples/dualboot.chrp   1035679947      1000991730
-./doc/examples/large-penguin.mbicon    1035679947      1000991730
-./doc/examples/simpleboot.chrp 1035679947      1006347336
-./doc/examples/yaboot.conf.multi-boot  1035679947      1006348765
-./doc/examples/yaboot.conf.rs6000      1035679947      1006348765
-./doc/examples 1035973750      1007269243
-./doc/README.ofboot    1035679947      1000991730
-./doc/README.ofpath    1035679947      1000991730
-./doc/README.rs6000    1035679947      1007200689
-./doc/Makefile 1035679947      1019310768
-./doc/yaboot-howto.sgml        1035679947      1032059987
-./doc/yaboot-howto.de.sgml     1035679947      1032059970
-./doc  1035973750      1032059987
-./etc/.arch-ids/=id    1035679942      1017027152
-./etc/.arch-ids/yaboot.conf.id 1035679942      1017027152
-./etc/.arch-ids        1035973751      1017027152
-./etc/yaboot.conf      1035679947      1006348765
-./etc  1035973751      1007269243
-./first/.arch-ids/=id  1035679942      1017027152
-./first/.arch-ids/ofboot.id    1035679942      1017027152
-./first/.arch-ids      1035973751      1017027152
-./first/ofboot 1035679948      1032060202
-./first        1035973751      1032060202
-./lib/.arch-ids/=id    1035679942      1017027162
-./lib/.arch-ids/ctype.c.id     1035679942      1017027163
-./lib/.arch-ids/libext2fs.a.id 1035679942      1017027163
-./lib/.arch-ids/malloc.c.id    1035679942      1017027163
-./lib/.arch-ids/nosys.c.id     1035679942      1017027163
-./lib/.arch-ids/string.S.id    1035679942      1017027163
-./lib/.arch-ids/strstr.c.id    1035679942      1017027164
-./lib/.arch-ids/strtol.c.id    1035679942      1017027164
-./lib/.arch-ids/vsprintf.c.id  1035679942      1017027164
-./lib/.arch-ids        1035973751      1017027164
-./lib/ctype.c  1035679950      1000991731
-./lib/libext2fs.a      1035679950      1003927524
-./lib/malloc.c 1035679950      1007200690
-./lib/nosys.c  1035679950      1000991731
-./lib/string.S 1035679950      1007200690
-./lib/strstr.c 1035679950      1000991731
-./lib/strtol.c 1035679950      1000991731
-./lib/vsprintf.c       1035679950      1000991731
-./lib  1035973751      1014816709
-./man/.arch-ids/=id    1035679942      1017027164
-./man/.arch-ids/bootstrap.8.id 1035679942      1017027165
-./man/.arch-ids/mkofboot.8.id  1035679942      1017027165
-./man/.arch-ids/ofpath.8.id    1035679942      1017027165
-./man/.arch-ids/yaboot.8.id    1035679942      1017027165
-./man/.arch-ids/yaboot.conf.5.id       1035679942      1017027166
-./man/.arch-ids/yabootconfig.8.id      1035679942      1017027166
-./man/.arch-ids/ybin.8.id      1035679942      1017027166
-./man/.arch-ids        1035973751      1017027166
-./man/bootstrap.8      1035679951      1000991731
-./man/mkofboot.8       1035679951      1006348765
-./man/ofpath.8 1035679951      1000991731
-./man/yaboot.8 1035679951      1006348765
-./man/yaboot.conf.5    1035679951      1004256691
-./man/yabootconfig.8   1035679951      1027929577
-./man/ybin.8   1035679951      1006348765
-./man  1035973751      1027929577
-./util/.arch-ids/=id   1035679942      1017027171
-./util/.arch-ids/addnote.c.id  1035679942      1017027171
-./util/.arch-ids/elfextract.c.id       1035679942      1017027172
-./util/.arch-ids       1035973751      1017027172
-./util/addnote.c       1035679952      1007200691
-./util/elfextract.c    1035679952      1007303237
-./util 1035973751      1014816709
-./ybin/.arch-ids/=id   1035679942      1017027172
-./ybin/.arch-ids/mkofboot.id   1035679942      1017027172
-./ybin/.arch-ids/ofpath.id     1035679942      1017027172
-./ybin/.arch-ids/yabootconfig.id       1035679942      1017027172
-./ybin/.arch-ids/ybin.id       1035679942      1017027173
-./ybin/.arch-ids       1035973751      1017027173
-./ybin/mkofboot        1035679952      1030918600
-./ybin/ofpath  1035973736      1035973727
-./ybin/yabootconfig    1035679952      1033252801
-./ybin/ybin    1035679952      1035678761
-./ybin 1035973751      1035973727
-./Config       1035679946      1002101497
-./0arch-timestamps0    1035680228      1035973751
-./ChangeLog    1035693539      1035680241
-./BUGS 1035679946      1000991730
-./COPYING      1035679946      1000991730
-./INSTALL      1035679946      1000991730
-./Makefile     1035679946      1035678742
-./README       1035679946      1033253141
-./README.man.patch     1035679946      1000991730
-./THANKS       1035679946      1006350263
-./TODO 1035679946      1006527567
-./changelog    1035679946      1033275819
-./man.patch    1035679950      1006348761
-.      1035973750      1035973746
+./include/xfs/.arch-ids/=id    1035973924      1017069090
+./include/xfs/.arch-ids/xfs.h.id       1035973924      1017069096
+./include/xfs/.arch-ids        1036288552      1017069096
+./include/xfs/xfs.h    1035973924      1002101334
+./include/xfs  1036288552      1007269244
+./include/.arch-ids/errors.h.id        1035973922      1017069108
+./include/.arch-ids/=id        1035973922      1017027153
+./include/.arch-ids/bootinfo.h.id      1035973922      1017027154
+./include/.arch-ids/byteorder.h.id     1035973922      1017027154
+./include/.arch-ids/cfg.h.id   1035973922      1017027154
+./include/.arch-ids/cmdline.h.id       1035973922      1017027154
+./include/.arch-ids/ctype.h.id 1035973922      1017027155
+./include/.arch-ids/fdisk-part.h.id    1035973922      1017027157
+./include/.arch-ids/file.h.id  1035973922      1017027157
+./include/.arch-ids/fs.h.id    1035973922      1017027157
+./include/.arch-ids/mac-part.h.id      1035973922      1017027159
+./include/.arch-ids/md5.h.id   1035973922      1017027159
+./include/.arch-ids/partition.h.id     1035973922      1017027159
+./include/.arch-ids/prom.h.id  1035973923      1017027159
+./include/.arch-ids/setjm2.h.id        1035973923      1017027160
+./include/.arch-ids/setjmp.h.id        1035973923      1017027160
+./include/.arch-ids/stdlib.h.id        1035973923      1017027161
+./include/.arch-ids/string.h.id        1035973923      1017027161
+./include/.arch-ids/swab.h.id  1035973923      1017027161
+./include/.arch-ids/types.h.id 1035973923      1017027162
+./include/.arch-ids/yaboot.h.id        1035973923      1017027162
+./include/.arch-ids/debug.h.id 1035973922      1017154770
+./include/.arch-ids    1036288552      1017154770
+./include/asm/.arch-ids/=id    1035973923      1017027153
+./include/asm/.arch-ids/elf.h.id       1035973923      1017027153
+./include/asm/.arch-ids/ppc_asm.tmpl.id        1035973923      1017027153
+./include/asm/.arch-ids/processor.h.id 1035973923      1017027154
+./include/asm/.arch-ids        1036288552      1017027154
+./include/asm/elf.h    1035973923      1000991730
+./include/asm/ppc_asm.tmpl     1035973923      1000991730
+./include/asm/processor.h      1035973923      1000991730
+./include/asm  1036288552      1007269243
+./include/et/.arch-ids/=id     1035973923      1017027155
+./include/et/.arch-ids/com_err.h.id    1035973923      1017027155
+./include/et/.arch-ids 1036288552      1017155400
+./include/et/com_err.h 1035973923      1000991731
+./include/et   1036288552      1007269243
+./include/ext2fs/.arch-ids/=id 1035973923      1017027156
+./include/ext2fs/.arch-ids/bitops.h.id 1035973923      1017027156
+./include/ext2fs/.arch-ids/ext2_err.h.id       1035973923      1017027156
+./include/ext2fs/.arch-ids/ext2_io.h.id        1035973923      1017027156
+./include/ext2fs/.arch-ids/ext2fs.h.id 1035973923      1017027156
+./include/ext2fs/.arch-ids     1036288552      1017027156
+./include/ext2fs/bitops.h      1035973923      1003927524
+./include/ext2fs/ext2_err.h    1035973923      1003927524
+./include/ext2fs/ext2_io.h     1035973924      1003927524
+./include/ext2fs/ext2fs.h      1035973924      1003927524
+./include/ext2fs       1036288552      1007269243
+./include/linux/.arch-ids/=id  1035973924      1017027157
+./include/linux/.arch-ids/elf.h.id     1035973924      1017027158
+./include/linux/.arch-ids/ext2_fs.h.id 1035973924      1017027158
+./include/linux/.arch-ids/iso_fs.h.id  1035973924      1017027158
+./include/linux/.arch-ids/stat.h.id    1035973924      1017027158
+./include/linux/.arch-ids/types.h.id   1035973924      1017027159
+./include/linux/.arch-ids      1036288552      1017027159
+./include/linux/elf.h  1035973924      1000991731
+./include/linux/ext2_fs.h      1035973924      1000991731
+./include/linux/iso_fs.h       1035973924      1000991731
+./include/linux/stat.h 1035973924      1000991731
+./include/linux/types.h        1035973924      1000991731
+./include/linux        1036288552      1007269243
+./include/reiserfs/.arch-ids/=id       1035973924      1017027160
+./include/reiserfs/.arch-ids/reiserfs.h.id     1035973924      1017027160
+./include/reiserfs/.arch-ids   1036288552      1017027160
+./include/reiserfs/reiserfs.h  1035973924      1025684115
+./include/reiserfs     1036288552      1025684115
+./include/errors.h     1035973923      1007200690
+./include/bootinfo.h   1035973923      1007200690
+./include/byteorder.h  1035973923      1000991730
+./include/cfg.h        1035973923      1007200690
+./include/cmdline.h    1035973923      1007200690
+./include/ctype.h      1035973923      1003656411
+./include/fdisk-part.h 1035973924      1007200690
+./include/file.h       1035973924      1007200690
+./include/fs.h 1035973924      1007200690
+./include/mac-part.h   1035973924      1007200690
+./include/md5.h        1035973924      1000991730
+./include/partition.h  1035973924      1007200690
+./include/prom.h       1035973924      1007200690
+./include/setjm2.h     1035973924      1000991730
+./include/setjmp.h     1035973924      1000991730
+./include/stdlib.h     1035973924      1000991730
+./include/string.h     1035973924      1002620217
+./include/swab.h       1035973924      1000991730
+./include/types.h      1035973924      1000991730
+./include/yaboot.h     1035973925      1007200690
+./include/debug.h      1035973923      1007200690
+./include      1036288552      1007269244
+./second/.arch-ids/fs_xfs.c.id 1035973926      1017069120
+./second/.arch-ids/=id 1035973926      1017027166
+./second/.arch-ids/cache.S.id  1035973926      1017027167
+./second/.arch-ids/cfg.c.id    1035973926      1017027167
+./second/.arch-ids/cmdline.c.id        1035973926      1017027167
+./second/.arch-ids/crt0.S.id   1035973926      1017027167
+./second/.arch-ids/file.c.id   1035973926      1017027167
+./second/.arch-ids/fs.c.id     1035973926      1017027168
+./second/.arch-ids/fs_ext2.c.id        1035973926      1017027168
+./second/.arch-ids/fs_iso.c.id 1035973926      1017027168
+./second/.arch-ids/fs_of.c.id  1035973926      1017027168
+./second/.arch-ids/fs_reiserfs.c.id    1035973926      1017027169
+./second/.arch-ids/iso_util.c.id       1035973926      1017027170
+./second/.arch-ids/md5.c.id    1035973926      1017027170
+./second/.arch-ids/partition.c.id      1035973926      1017027170
+./second/.arch-ids/prom.c.id   1035973926      1017027170
+./second/.arch-ids/setjmp.S.id 1035973926      1017027171
+./second/.arch-ids/yaboot.c.id 1035973926      1017027171
+./second/.arch-ids     1036288552      1017069120
+./second/fs_xfs.c      1035973927      1032059541
+./second/cache.S       1035973926      1007200690
+./second/cfg.c 1035973926      1007200690
+./second/cmdline.c     1035973926      1032059589
+./second/crt0.S        1035973926      1000991731
+./second/file.c        1035973926      1032059581
+./second/fs.c  1035973926      1032059574
+./second/fs_ext2.c     1035973926      1032059564
+./second/fs_iso.c      1035973926      1007200690
+./second/fs_of.c       1035973926      1032059553
+./second/fs_reiserfs.c 1035973926      1007200690
+./second/iso_util.c    1035973927      1003656415
+./second/md5.c 1035973927      1032059532
+./second/partition.c   1035973927      1032059525
+./second/prom.c        1035973927      1032059515
+./second/setjmp.S      1035973927      1000991732
+./second/yaboot.c      1035973927      1032059504
+./second       1036288552      1032765950
+./.arch-ids/Config.id  1035973920      1017069133
+./.arch-ids/0arch-timestamps0.id       1035973920      1020516949
+./.arch-ids/ChangeLog.id       1035973920      1017026820
+./.arch-ids/BUGS.id    1035973920      1017027147
+./.arch-ids/COPYING.id 1035973920      1017027147
+./.arch-ids/INSTALL.id 1035973920      1017027147
+./.arch-ids/Makefile.id        1035973920      1017027148
+./.arch-ids/README.id  1035973920      1017027148
+./.arch-ids/README.man.patch.id        1035973920      1017027148
+./.arch-ids/THANKS.id  1035973920      1017027148
+./.arch-ids/TODO.id    1035973920      1017027149
+./.arch-ids/changelog.id       1035973920      1017027149
+./.arch-ids/man.patch.id       1035973920      1017027166
+./.arch-ids    1036288552      1020516949
+./doc/.arch-ids/=id    1035973921      1017027149
+./doc/.arch-ids/README.ofboot.id       1035973921      1017027149
+./doc/.arch-ids/README.ofpath.id       1035973921      1017027149
+./doc/.arch-ids/README.rs6000.id       1035973921      1017027150
+./doc/.arch-ids/Makefile.id    1035973921      1017235762
+./doc/.arch-ids/yaboot-howto.sgml.id   1035973921      1017235765
+./doc/.arch-ids/yaboot-howto.de.sgml.id        1035973921      1017238100
+./doc/.arch-ids        1036288552      1017238100
+./doc/examples/.arch-ids/=id   1035973921      1017027150
+./doc/examples/.arch-ids/README.dualboot.chrp.id       1035973921      1017027150
+./doc/examples/.arch-ids/README.mbicons.id     1035973921      1017027150
+./doc/examples/.arch-ids/README.simpleboot.chrp.id     1035973921      1017027150
+./doc/examples/.arch-ids/dualboot.chrp.id      1035973921      1017027151
+./doc/examples/.arch-ids/large-penguin.mbicon.id       1035973921      1017027151
+./doc/examples/.arch-ids/simpleboot.chrp.id    1035973921      1017027151
+./doc/examples/.arch-ids/yaboot.conf.multi-boot.id     1035973921      1017027151
+./doc/examples/.arch-ids/yaboot.conf.rs6000.id 1035973921      1017027152
+./doc/examples/.arch-ids       1036288552      1017236175
+./doc/examples/README.dualboot.chrp    1035973922      1000991730
+./doc/examples/README.mbicons  1035973922      1000991730
+./doc/examples/README.simpleboot.chrp  1035973922      1000991730
+./doc/examples/dualboot.chrp   1035973922      1000991730
+./doc/examples/large-penguin.mbicon    1035973922      1000991730
+./doc/examples/simpleboot.chrp 1035973922      1006347336
+./doc/examples/yaboot.conf.multi-boot  1035973922      1006348765
+./doc/examples/yaboot.conf.rs6000      1035973922      1006348765
+./doc/examples 1036288552      1007269243
+./doc/README.ofboot    1035973921      1000991730
+./doc/README.ofpath    1035973921      1000991730
+./doc/README.rs6000    1035973921      1007200689
+./doc/Makefile 1035973921      1019310768
+./doc/yaboot-howto.sgml        1035973922      1032059987
+./doc/yaboot-howto.de.sgml     1035973922      1032059970
+./doc  1036288552      1032059987
+./etc/.arch-ids/=id    1035973922      1017027152
+./etc/.arch-ids/yaboot.conf.id 1035973922      1017027152
+./etc/.arch-ids        1036288552      1017027152
+./etc/yaboot.conf      1035973922      1006348765
+./etc  1036288552      1007269243
+./first/.arch-ids/=id  1035973922      1017027152
+./first/.arch-ids/ofboot.id    1035973922      1017027152
+./first/.arch-ids      1036288552      1017027152
+./first/ofboot 1035973922      1032060202
+./first        1036288552      1032060202
+./lib/.arch-ids/=id    1035973925      1017027162
+./lib/.arch-ids/ctype.c.id     1035973925      1017027163
+./lib/.arch-ids/libext2fs.a.id 1035973925      1017027163
+./lib/.arch-ids/malloc.c.id    1035973925      1017027163
+./lib/.arch-ids/nosys.c.id     1035973925      1017027163
+./lib/.arch-ids/string.S.id    1035973925      1017027163
+./lib/.arch-ids/strstr.c.id    1035973925      1017027164
+./lib/.arch-ids/strtol.c.id    1035973925      1017027164
+./lib/.arch-ids/vsprintf.c.id  1035973925      1017027164
+./lib/.arch-ids        1036288552      1017027164
+./lib/ctype.c  1035973925      1000991731
+./lib/libext2fs.a      1035973925      1003927524
+./lib/malloc.c 1035973925      1007200690
+./lib/nosys.c  1035973925      1000991731
+./lib/string.S 1035973925      1007200690
+./lib/strstr.c 1035973925      1000991731
+./lib/strtol.c 1035973925      1000991731
+./lib/vsprintf.c       1035973925      1000991731
+./lib  1036288552      1014816709
+./man/.arch-ids/=id    1035973925      1017027164
+./man/.arch-ids/bootstrap.8.id 1035973925      1017027165
+./man/.arch-ids/mkofboot.8.id  1035973925      1017027165
+./man/.arch-ids/ofpath.8.id    1035973925      1017027165
+./man/.arch-ids/yaboot.8.id    1035973925      1017027165
+./man/.arch-ids/yaboot.conf.5.id       1035973925      1017027166
+./man/.arch-ids/yabootconfig.8.id      1035973925      1017027166
+./man/.arch-ids/ybin.8.id      1035973925      1017027166
+./man/.arch-ids        1036288552      1017027166
+./man/bootstrap.8      1035973925      1000991731
+./man/mkofboot.8       1035973925      1006348765
+./man/ofpath.8 1035973925      1000991731
+./man/yaboot.8 1035973925      1006348765
+./man/yaboot.conf.5    1035973926      1004256691
+./man/yabootconfig.8   1035973926      1027929577
+./man/ybin.8   1035973926      1006348765
+./man  1036288552      1027929577
+./util/.arch-ids/=id   1035973927      1017027171
+./util/.arch-ids/addnote.c.id  1035973927      1017027171
+./util/.arch-ids/elfextract.c.id       1035973927      1017027172
+./util/.arch-ids       1036288552      1017027172
+./util/addnote.c       1035973927      1007200691
+./util/elfextract.c    1035973927      1007303237
+./util 1036288552      1014816709
+./ybin/.arch-ids/=id   1035973927      1017027172
+./ybin/.arch-ids/mkofboot.id   1035973927      1017027172
+./ybin/.arch-ids/ofpath.id     1035973927      1017027172
+./ybin/.arch-ids/yabootconfig.id       1035973927      1017027172
+./ybin/.arch-ids/ybin.id       1035973927      1017027173
+./ybin/.arch-ids       1036288552      1017027173
+./ybin/mkofboot        1035973927      1030918600
+./ybin/ofpath  1036288387      1036288537
+./ybin/yabootconfig    1035973927      1033252801
+./ybin/ybin    1035973927      1035678761
+./ybin 1036288552      1036288537
+./Config       1035973921      1002101497
+./0arch-timestamps0    1035973920      1036288552
+./ChangeLog    1035973937      1035973937
+./BUGS 1035973920      1000991730
+./COPYING      1035973921      1000991730
+./INSTALL      1035973921      1000991730
+./Makefile     1035973921      1035678742
+./README       1035973921      1033253141
+./README.man.patch     1035973921      1000991730
+./THANKS       1035973921      1006350263
+./TODO 1035973921      1006527567
+./changelog    1035973921      1033275819
+./man.patch    1035973925      1006348761
+.      1036288551      1035973963
index f196e364b90b57bcd220678238a254ee6588c38d..84aec12af802f2e5dd149f30faa697f022b34824 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,19 @@
 # tag: automatic-ChangeLog--erbenson@alaska.net--public/yaboot--devel--1.3
 #
 
 # tag: automatic-ChangeLog--erbenson@alaska.net--public/yaboot--devel--1.3
 #
 
+2002-11-03 02:00:27 GMT        Ethan Benson <erbenson@alaska.net>      patch-37
+
+    Summary:
+      Add extra sanity checks to new ofpath ide resolution code
+    Revision:
+      yaboot--devel--1.3--patch-37
+
+    * ofpath: Add a few sanity checks to new ide resolution code.
+
+    modified files:
+     0arch-timestamps0 ChangeLog ybin/ofpath
+
+
 2002-10-30 10:32:14 GMT        Ethan Benson <erbenson@alaska.net>      patch-36
 
     Summary:
 2002-10-30 10:32:14 GMT        Ethan Benson <erbenson@alaska.net>      patch-36
 
     Summary:
index be3f8cd4d8f55f2281acb9f56ffc802feb799cd1..19e9f565ec97d2607350e51fb030513586b845e8 100755 (executable)
@@ -27,7 +27,7 @@
 
 PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"
 PRG="${0##*/}"
 
 PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"
 PRG="${0##*/}"
-VERSION=1.0.3-DEVEL_DO_NOT_DISTRIBUTE-patch-36
+VERSION=1.0.3-DEVEL_DO_NOT_DISTRIBUTE-patch-37
 DEBUG=0
 export LC_COLLATE=C
 
 DEBUG=0
 export LC_COLLATE=C
 
@@ -302,6 +302,10 @@ ide_ofpath()
     fi
 
     local IDEBUS="$(v=`readlink /proc/ide/$DEVNODE` ; echo ${v%%/*} )"
     fi
 
     local IDEBUS="$(v=`readlink /proc/ide/$DEVNODE` ; echo ${v%%/*} )"
+    if [ -z "$IDEBUS" ] ; then
+       echo 1>&2 "$PRG: BUG: IDEBUS == NULL"
+       return 1
+    fi
     local OF1275IDE="/proc/ide/$IDEBUS/devspec"
 
     if [ ! -f "$OF1275IDE" ] ; then
     local OF1275IDE="/proc/ide/$IDEBUS/devspec"
 
     if [ ! -f "$OF1275IDE" ] ; then
@@ -315,10 +319,6 @@ ide_ofpath()
                fi
                ;;
            *)
                fi
                ;;
            *)
-               if [ ! -L "/proc/ide/$DEVNODE" ] ; then
-                   echo "$PRG: /dev/$DEVNODE: Device not configured"
-                   return 1
-               fi
                local CDROM="$(grep "^drive name:" /proc/sys/dev/cdrom/info 2> /dev/null | grep $DEVNODE)"
                if [ -z "$CDROM" ] ; then
                    if [ "$DEVNODE" = hda ] ; then
                local CDROM="$(grep "^drive name:" /proc/sys/dev/cdrom/info 2> /dev/null | grep $DEVNODE)"
                if [ -z "$CDROM" ] ; then
                    if [ "$DEVNODE" = hda ] ; then
@@ -332,8 +332,12 @@ ide_ofpath()
                ;;
        esac
     else
                ;;
        esac
     else
-       local DEVSPEC="$(cat /proc/ide/$IDEBUS/devspec)"
+       local DEVSPEC="$OF1275IDE"
        [ "$DEBUG" = 1 ] && echo 1>&2 "$PRG: DEBUG: DEVSPEC=$DEVSPEC"
        [ "$DEBUG" = 1 ] && echo 1>&2 "$PRG: DEBUG: DEVSPEC=$DEVSPEC"
+       if [ -z "$DEVSPEC" ] ; then
+           echo 1>&2 "$PRG: KERNEL BUG: $OF1275IDE exists, but is empty"
+           return 1
+       fi
        case "$DEVNODE" in
            hda|hdc|hde|hdg|hdi)
                echo "${DEVSPEC}/disk@0:$PARTITION"
        case "$DEVNODE" in
            hda|hdc|hde|hdg|hdi)
                echo "${DEVSPEC}/disk@0:$PARTITION"