From 1f0aaa620e99229cb0777c0e438e89f3d7b6e082 Mon Sep 17 00:00:00 2001 From: Ethan Benson Date: Mon, 10 Nov 2003 08:52:02 +0000 Subject: [PATCH] Detect lack of CONFIG_SCSI_PROC_FS in ofpath on 2.6 systems * ybin/ofpath: Under 2.6 systems detect lack of CONFIG_SCSI_PROC_FS in kernel configuration and print error message indicating its required. git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-57 --- 0arch-timestamps0 | 512 +++++++++++++++++++++++----------------------- ChangeLog | 14 ++ ybin/ofpath | 11 + 3 files changed, 281 insertions(+), 256 deletions(-) diff --git a/0arch-timestamps0 b/0arch-timestamps0 index 3f3842e..36437e3 100644 --- a/0arch-timestamps0 +++ b/0arch-timestamps0 @@ -1,256 +1,256 @@ -./.arch-ids/0arch-timestamps0.id 1068018596 1020516949 -./.arch-ids/BUGS.id 1068018596 1017027147 -./.arch-ids/COPYING.id 1068018596 1017027147 -./.arch-ids/ChangeLog.id 1068018596 1056269021 -./.arch-ids/Config.id 1068018596 1017069133 -./.arch-ids/INSTALL.id 1068018596 1017027147 -./.arch-ids/Makefile.id 1068018596 1017027148 -./.arch-ids/README.id 1068018596 1017027148 -./.arch-ids/README.man.patch.id 1068018596 1017027148 -./.arch-ids/THANKS.id 1068018596 1017027148 -./.arch-ids/TODO.id 1068018596 1017027149 -./.arch-ids/changelog.id 1068018596 1017027149 -./.arch-ids/man.patch.id 1068018596 1017027166 -./.arch-ids 1068103690 1056269021 -./0arch-timestamps0 1068018597 1068103690 -./BUGS 1068018597 1000991730 -./COPYING 1068018597 1000991730 -./ChangeLog 1068103587 1068103684 -./Config 1068018597 1002101497 -./INSTALL 1068018597 1000991730 -./Makefile 1068018597 1068018535 -./README 1068018597 1044766458 -./README.man.patch 1068018597 1000991730 -./THANKS 1068018597 1006350263 -./TODO 1068018597 1044766566 -./changelog 1068018597 1046258737 -./doc/.arch-ids/=id 1068018596 1017027149 -./doc/.arch-ids/Makefile.id 1068018597 1017235762 -./doc/.arch-ids/README.ofboot.id 1068018596 1017027149 -./doc/.arch-ids/README.ofpath.id 1068018596 1017027149 -./doc/.arch-ids/README.rs6000.id 1068018596 1017027150 -./doc/.arch-ids/yaboot-howto.de.sgml.id 1068018597 1017238100 -./doc/.arch-ids/yaboot-howto.sgml.id 1068018597 1017235765 -./doc/.arch-ids 1068103690 1017238100 -./doc/Makefile 1068018597 1019310768 -./doc/README.ofboot 1068018597 1000991730 -./doc/README.ofpath 1068018597 1000991730 -./doc/README.rs6000 1068018597 1007200689 -./doc/examples/.arch-ids/=id 1068018596 1017027150 -./doc/examples/.arch-ids/README.dualboot.chrp.id 1068018596 1017027150 -./doc/examples/.arch-ids/README.mbicons.id 1068018596 1017027150 -./doc/examples/.arch-ids/README.simpleboot.chrp.id 1068018596 1017027150 -./doc/examples/.arch-ids/dualboot.chrp.id 1068018596 1017027151 -./doc/examples/.arch-ids/large-penguin.mbicon.id 1068018596 1017027151 -./doc/examples/.arch-ids/simpleboot.chrp.id 1068018596 1017027151 -./doc/examples/.arch-ids/yaboot.conf.multi-boot.id 1068018596 1017027151 -./doc/examples/.arch-ids/yaboot.conf.rs6000.id 1068018596 1017027152 -./doc/examples/.arch-ids 1068103690 1017236175 -./doc/examples/README.dualboot.chrp 1068018597 1000991730 -./doc/examples/README.mbicons 1068018597 1000991730 -./doc/examples/README.simpleboot.chrp 1068018597 1000991730 -./doc/examples/dualboot.chrp 1068018597 1068017741 -./doc/examples/large-penguin.mbicon 1068018597 1000991730 -./doc/examples/simpleboot.chrp 1068018597 1068017750 -./doc/examples/yaboot.conf.multi-boot 1068018597 1006348765 -./doc/examples/yaboot.conf.rs6000 1068018597 1006348765 -./doc/examples 1068103690 1068017750 -./doc/yaboot-howto.de.sgml 1068018597 1032059970 -./doc/yaboot-howto.sgml 1068018597 1032059987 -./doc 1068103690 1032059987 -./etc/.arch-ids/=id 1068018596 1017027152 -./etc/.arch-ids/yaboot.conf.id 1068018596 1017027152 -./etc/.arch-ids 1068103690 1017027152 -./etc/yaboot.conf 1068018597 1006348765 -./etc 1068103690 1007269243 -./first/.arch-ids/=id 1068018596 1017027152 -./first/.arch-ids/ofboot.id 1068018596 1017027152 -./first/.arch-ids 1068103690 1017027152 -./first/ofboot 1068018597 1065311880 -./first 1068103690 1065311880 -./include/.arch-ids/=id 1068018596 1017027153 -./include/.arch-ids/bootinfo.h.id 1068018596 1017027154 -./include/.arch-ids/byteorder.h.id 1068018596 1017027154 -./include/.arch-ids/cfg.h.id 1068018596 1017027154 -./include/.arch-ids/cmdline.h.id 1068018596 1017027154 -./include/.arch-ids/ctype.h.id 1068018596 1017027155 -./include/.arch-ids/debug.h.id 1068018597 1017154770 -./include/.arch-ids/errors.h.id 1068018596 1017069108 -./include/.arch-ids/fdisk-part.h.id 1068018596 1017027157 -./include/.arch-ids/file.h.id 1068018596 1017027157 -./include/.arch-ids/fs.h.id 1068018596 1017027157 -./include/.arch-ids/mac-part.h.id 1068018596 1017027159 -./include/.arch-ids/md5.h.id 1068018596 1017027159 -./include/.arch-ids/partition.h.id 1068018596 1017027159 -./include/.arch-ids/prom.h.id 1068018596 1017027159 -./include/.arch-ids/setjm2.h.id 1068018596 1017027160 -./include/.arch-ids/setjmp.h.id 1068018596 1017027160 -./include/.arch-ids/stdlib.h.id 1068018596 1017027161 -./include/.arch-ids/string.h.id 1068018596 1017027161 -./include/.arch-ids/swab.h.id 1068018596 1017027161 -./include/.arch-ids/types.h.id 1068018596 1017027162 -./include/.arch-ids/yaboot.h.id 1068018596 1017027162 -./include/.arch-ids 1068103690 1017154770 -./include/asm/.arch-ids/=id 1068018596 1017027153 -./include/asm/.arch-ids/elf.h.id 1068018596 1017027153 -./include/asm/.arch-ids/ppc_asm.tmpl.id 1068018596 1017027153 -./include/asm/.arch-ids/processor.h.id 1068018596 1017027154 -./include/asm/.arch-ids 1068103690 1017027154 -./include/asm/elf.h 1068018597 1000991730 -./include/asm/ppc_asm.tmpl 1068018597 1000991730 -./include/asm/processor.h 1068018597 1000991730 -./include/asm 1068103690 1007269243 -./include/bootinfo.h 1068018597 1007200690 -./include/byteorder.h 1068018597 1000991730 -./include/cfg.h 1068018597 1007200690 -./include/cmdline.h 1068018597 1007200690 -./include/ctype.h 1068018597 1003656411 -./include/debug.h 1068018597 1007200690 -./include/errors.h 1068018597 1007200690 -./include/et/.arch-ids/=id 1068018596 1017027155 -./include/et/.arch-ids/com_err.h.id 1068018596 1017027155 -./include/et/.arch-ids 1068103690 1017155400 -./include/et/com_err.h 1068018597 1000991731 -./include/et 1068103690 1007269243 -./include/ext2fs/.arch-ids/=id 1068018596 1017027156 -./include/ext2fs/.arch-ids/bitops.h.id 1068018596 1017027156 -./include/ext2fs/.arch-ids/ext2_err.h.id 1068018596 1017027156 -./include/ext2fs/.arch-ids/ext2_io.h.id 1068018596 1017027156 -./include/ext2fs/.arch-ids/ext2fs.h.id 1068018596 1017027156 -./include/ext2fs/.arch-ids 1068103690 1017027156 -./include/ext2fs/bitops.h 1068018597 1003927524 -./include/ext2fs/ext2_err.h 1068018597 1003927524 -./include/ext2fs/ext2_io.h 1068018597 1003927524 -./include/ext2fs/ext2fs.h 1068018597 1003927524 -./include/ext2fs 1068103690 1007269243 -./include/fdisk-part.h 1068018597 1007200690 -./include/file.h 1068018597 1007200690 -./include/fs.h 1068018597 1007200690 -./include/linux/.arch-ids/=id 1068018596 1017027157 -./include/linux/.arch-ids/elf.h.id 1068018596 1017027158 -./include/linux/.arch-ids/ext2_fs.h.id 1068018596 1017027158 -./include/linux/.arch-ids/iso_fs.h.id 1068018596 1017027158 -./include/linux/.arch-ids/stat.h.id 1068018596 1017027158 -./include/linux/.arch-ids/types.h.id 1068018596 1017027159 -./include/linux/.arch-ids 1068103690 1017027159 -./include/linux/elf.h 1068018597 1000991731 -./include/linux/ext2_fs.h 1068018597 1000991731 -./include/linux/iso_fs.h 1068018597 1000991731 -./include/linux/stat.h 1068018597 1000991731 -./include/linux/types.h 1068018597 1000991731 -./include/linux 1068103690 1007269243 -./include/mac-part.h 1068018597 1007200690 -./include/md5.h 1068018597 1000991730 -./include/partition.h 1068018597 1007200690 -./include/prom.h 1068018597 1007200690 -./include/reiserfs/.arch-ids/=id 1068018596 1017027160 -./include/reiserfs/.arch-ids/reiserfs.h.id 1068018596 1017027160 -./include/reiserfs/.arch-ids 1068103690 1017027160 -./include/reiserfs/reiserfs.h 1068018597 1025684115 -./include/reiserfs 1068103690 1025684115 -./include/setjm2.h 1068018597 1000991730 -./include/setjmp.h 1068018597 1000991730 -./include/stdlib.h 1068018597 1000991730 -./include/string.h 1068018597 1002620217 -./include/swab.h 1068018597 1000991730 -./include/types.h 1068018597 1000991730 -./include/xfs/.arch-ids/=id 1068018596 1017069090 -./include/xfs/.arch-ids/xfs.h.id 1068018596 1017069096 -./include/xfs/.arch-ids 1068103690 1017069096 -./include/xfs/xfs.h 1068018597 1002101334 -./include/xfs 1068103690 1007269244 -./include/yaboot.h 1068018597 1007200690 -./include 1068103690 1007269244 -./lib/.arch-ids/=id 1068018596 1017027162 -./lib/.arch-ids/ctype.c.id 1068018596 1017027163 -./lib/.arch-ids/libext2fs.a.id 1068018596 1017027163 -./lib/.arch-ids/malloc.c.id 1068018596 1017027163 -./lib/.arch-ids/nosys.c.id 1068018596 1017027163 -./lib/.arch-ids/string.S.id 1068018596 1017027163 -./lib/.arch-ids/strstr.c.id 1068018596 1017027164 -./lib/.arch-ids/strtol.c.id 1068018596 1017027164 -./lib/.arch-ids/vsprintf.c.id 1068018596 1017027164 -./lib/.arch-ids 1068103690 1017027164 -./lib/ctype.c 1068018597 1000991731 -./lib/libext2fs.a 1068018597 1003927524 -./lib/malloc.c 1068018597 1007200690 -./lib/nosys.c 1068018597 1000991731 -./lib/string.S 1068018597 1007200690 -./lib/strstr.c 1068018597 1000991731 -./lib/strtol.c 1068018597 1000991731 -./lib/vsprintf.c 1068018597 1000991731 -./lib 1068103690 1067937235 -./man/.arch-ids/=id 1068018596 1017027164 -./man/.arch-ids/bootstrap.8.id 1068018596 1017027165 -./man/.arch-ids/mkofboot.8.id 1068018596 1017027165 -./man/.arch-ids/ofpath.8.id 1068018596 1017027165 -./man/.arch-ids/yaboot.8.id 1068018596 1017027165 -./man/.arch-ids/yaboot.conf.5.id 1068018596 1017027166 -./man/.arch-ids/yabootconfig.8.id 1068018596 1017027166 -./man/.arch-ids/ybin.8.id 1068018596 1017027166 -./man/.arch-ids 1068103690 1017027166 -./man/bootstrap.8 1068018597 1000991731 -./man/mkofboot.8 1068018597 1006348765 -./man/ofpath.8 1068018597 1000991731 -./man/yaboot.8 1068018597 1006348765 -./man/yaboot.conf.5 1068018597 1004256691 -./man/yabootconfig.8 1068018597 1027929577 -./man/ybin.8 1068018597 1006348765 -./man 1068103690 1027929577 -./man.patch 1068018597 1006348761 -./second/.arch-ids/=id 1068018596 1017027166 -./second/.arch-ids/cache.S.id 1068018596 1017027167 -./second/.arch-ids/cfg.c.id 1068018596 1017027167 -./second/.arch-ids/cmdline.c.id 1068018596 1017027167 -./second/.arch-ids/crt0.S.id 1068018596 1017027167 -./second/.arch-ids/file.c.id 1068018596 1017027167 -./second/.arch-ids/fs.c.id 1068018596 1017027168 -./second/.arch-ids/fs_ext2.c.id 1068018596 1017027168 -./second/.arch-ids/fs_iso.c.id 1068018596 1017027168 -./second/.arch-ids/fs_of.c.id 1068018596 1017027168 -./second/.arch-ids/fs_reiserfs.c.id 1068018596 1017027169 -./second/.arch-ids/fs_xfs.c.id 1068018596 1017069120 -./second/.arch-ids/iso_util.c.id 1068018596 1017027170 -./second/.arch-ids/md5.c.id 1068018596 1017027170 -./second/.arch-ids/partition.c.id 1068018596 1017027170 -./second/.arch-ids/prom.c.id 1068018596 1017027170 -./second/.arch-ids/setjmp.S.id 1068018596 1017027171 -./second/.arch-ids/yaboot.c.id 1068018596 1017027171 -./second/.arch-ids 1068103690 1017069120 -./second/cache.S 1068018597 1007200690 -./second/cfg.c 1068018597 1007200690 -./second/cmdline.c 1068018597 1032059589 -./second/crt0.S 1068018597 1000991731 -./second/file.c 1068018597 1044868693 -./second/fs.c 1068018597 1032059574 -./second/fs_ext2.c 1068018597 1032059564 -./second/fs_iso.c 1068018597 1007200690 -./second/fs_of.c 1068018597 1032059553 -./second/fs_reiserfs.c 1068018597 1007200690 -./second/fs_xfs.c 1068018597 1032059541 -./second/iso_util.c 1068018597 1003656415 -./second/md5.c 1068018597 1032059532 -./second/partition.c 1068018597 1032059525 -./second/prom.c 1068018597 1067937197 -./second/setjmp.S 1068018597 1000991732 -./second/yaboot.c 1068018597 1032059504 -./second 1068103690 1067937235 -./util/.arch-ids/=id 1068018597 1017027171 -./util/.arch-ids/addnote.c.id 1068018597 1017027171 -./util/.arch-ids/elfextract.c.id 1068018597 1017027172 -./util/.arch-ids 1068103690 1017027172 -./util/addnote.c 1068018597 1007200691 -./util/elfextract.c 1068018597 1007303237 -./util 1068103690 1067937235 -./ybin/.arch-ids/=id 1068018597 1017027172 -./ybin/.arch-ids/mkofboot.id 1068018597 1017027172 -./ybin/.arch-ids/ofpath.id 1068018597 1017027172 -./ybin/.arch-ids/yabootconfig.id 1068018597 1017027172 -./ybin/.arch-ids/ybin.id 1068018597 1017027173 -./ybin/.arch-ids 1068103690 1017027173 -./ybin/yabootconfig 1068018597 1044766426 -./ybin/ybin 1068103488 1068018438 -./ybin/mkofboot 1068018596 1067937232 -./ybin/ofpath 1068103477 1068103521 -./ybin 1068103690 1068103521 -. 1068103690 1068103684 +./.arch-ids/0arch-timestamps0.id 1068103704 1020516949 +./.arch-ids/BUGS.id 1068103704 1017027147 +./.arch-ids/COPYING.id 1068103704 1017027147 +./.arch-ids/ChangeLog.id 1068103704 1056269021 +./.arch-ids/Config.id 1068103704 1017069133 +./.arch-ids/INSTALL.id 1068103704 1017027147 +./.arch-ids/Makefile.id 1068103704 1017027148 +./.arch-ids/README.id 1068103704 1017027148 +./.arch-ids/README.man.patch.id 1068103704 1017027148 +./.arch-ids/THANKS.id 1068103704 1017027148 +./.arch-ids/TODO.id 1068103704 1017027149 +./.arch-ids/changelog.id 1068103704 1017027149 +./.arch-ids/man.patch.id 1068103704 1017027166 +./.arch-ids 1068454314 1056269021 +./0arch-timestamps0 1068103704 1068454314 +./BUGS 1068103704 1000991730 +./COPYING 1068103704 1000991730 +./ChangeLog 1068454095 1068454311 +./Config 1068103704 1002101497 +./INSTALL 1068103704 1000991730 +./Makefile 1068103704 1068018535 +./README 1068103704 1044766458 +./README.man.patch 1068103704 1000991730 +./THANKS 1068103704 1006350263 +./TODO 1068103704 1044766566 +./changelog 1068103704 1046258737 +./doc/.arch-ids/=id 1068103704 1017027149 +./doc/.arch-ids/Makefile.id 1068103704 1017235762 +./doc/.arch-ids/README.ofboot.id 1068103704 1017027149 +./doc/.arch-ids/README.ofpath.id 1068103704 1017027149 +./doc/.arch-ids/README.rs6000.id 1068103704 1017027150 +./doc/.arch-ids/yaboot-howto.de.sgml.id 1068103704 1017238100 +./doc/.arch-ids/yaboot-howto.sgml.id 1068103704 1017235765 +./doc/.arch-ids 1068454314 1017238100 +./doc/Makefile 1068103706 1019310768 +./doc/README.ofboot 1068103704 1000991730 +./doc/README.ofpath 1068103704 1000991730 +./doc/README.rs6000 1068103704 1007200689 +./doc/examples/.arch-ids/=id 1068103704 1017027150 +./doc/examples/.arch-ids/README.dualboot.chrp.id 1068103704 1017027150 +./doc/examples/.arch-ids/README.mbicons.id 1068103704 1017027150 +./doc/examples/.arch-ids/README.simpleboot.chrp.id 1068103704 1017027150 +./doc/examples/.arch-ids/dualboot.chrp.id 1068103704 1017027151 +./doc/examples/.arch-ids/large-penguin.mbicon.id 1068103704 1017027151 +./doc/examples/.arch-ids/simpleboot.chrp.id 1068103704 1017027151 +./doc/examples/.arch-ids/yaboot.conf.multi-boot.id 1068103704 1017027151 +./doc/examples/.arch-ids/yaboot.conf.rs6000.id 1068103704 1017027152 +./doc/examples/.arch-ids 1068454314 1017236175 +./doc/examples/README.dualboot.chrp 1068103704 1000991730 +./doc/examples/README.mbicons 1068103704 1000991730 +./doc/examples/README.simpleboot.chrp 1068103704 1000991730 +./doc/examples/dualboot.chrp 1068103704 1068017741 +./doc/examples/large-penguin.mbicon 1068103704 1000991730 +./doc/examples/simpleboot.chrp 1068103704 1068017750 +./doc/examples/yaboot.conf.multi-boot 1068103704 1006348765 +./doc/examples/yaboot.conf.rs6000 1068103704 1006348765 +./doc/examples 1068454314 1068017750 +./doc/yaboot-howto.de.sgml 1068103706 1032059970 +./doc/yaboot-howto.sgml 1068103706 1032059987 +./doc 1068454314 1032059987 +./etc/.arch-ids/=id 1068103704 1017027152 +./etc/.arch-ids/yaboot.conf.id 1068103704 1017027152 +./etc/.arch-ids 1068454314 1017027152 +./etc/yaboot.conf 1068103704 1006348765 +./etc 1068454314 1007269243 +./first/.arch-ids/=id 1068103704 1017027152 +./first/.arch-ids/ofboot.id 1068103704 1017027152 +./first/.arch-ids 1068454314 1017027152 +./first/ofboot 1068103704 1065311880 +./first 1068454314 1065311880 +./include/.arch-ids/=id 1068103704 1017027153 +./include/.arch-ids/bootinfo.h.id 1068103704 1017027154 +./include/.arch-ids/byteorder.h.id 1068103704 1017027154 +./include/.arch-ids/cfg.h.id 1068103704 1017027154 +./include/.arch-ids/cmdline.h.id 1068103704 1017027154 +./include/.arch-ids/ctype.h.id 1068103704 1017027155 +./include/.arch-ids/debug.h.id 1068103704 1017154770 +./include/.arch-ids/errors.h.id 1068103704 1017069108 +./include/.arch-ids/fdisk-part.h.id 1068103704 1017027157 +./include/.arch-ids/file.h.id 1068103704 1017027157 +./include/.arch-ids/fs.h.id 1068103704 1017027157 +./include/.arch-ids/mac-part.h.id 1068103704 1017027159 +./include/.arch-ids/md5.h.id 1068103704 1017027159 +./include/.arch-ids/partition.h.id 1068103704 1017027159 +./include/.arch-ids/prom.h.id 1068103704 1017027159 +./include/.arch-ids/setjm2.h.id 1068103704 1017027160 +./include/.arch-ids/setjmp.h.id 1068103704 1017027160 +./include/.arch-ids/stdlib.h.id 1068103704 1017027161 +./include/.arch-ids/string.h.id 1068103704 1017027161 +./include/.arch-ids/swab.h.id 1068103704 1017027161 +./include/.arch-ids/types.h.id 1068103704 1017027162 +./include/.arch-ids/yaboot.h.id 1068103704 1017027162 +./include/.arch-ids 1068454314 1017154770 +./include/asm/.arch-ids/=id 1068103704 1017027153 +./include/asm/.arch-ids/elf.h.id 1068103704 1017027153 +./include/asm/.arch-ids/ppc_asm.tmpl.id 1068103704 1017027153 +./include/asm/.arch-ids/processor.h.id 1068103704 1017027154 +./include/asm/.arch-ids 1068454314 1017027154 +./include/asm/elf.h 1068103704 1000991730 +./include/asm/ppc_asm.tmpl 1068103705 1000991730 +./include/asm/processor.h 1068103705 1000991730 +./include/asm 1068454314 1007269243 +./include/bootinfo.h 1068103705 1007200690 +./include/byteorder.h 1068103705 1000991730 +./include/cfg.h 1068103705 1007200690 +./include/cmdline.h 1068103705 1007200690 +./include/ctype.h 1068103705 1003656411 +./include/debug.h 1068103706 1007200690 +./include/errors.h 1068103704 1007200690 +./include/et/.arch-ids/=id 1068103704 1017027155 +./include/et/.arch-ids/com_err.h.id 1068103704 1017027155 +./include/et/.arch-ids 1068454314 1017155400 +./include/et/com_err.h 1068103705 1000991731 +./include/et 1068454314 1007269243 +./include/ext2fs/.arch-ids/=id 1068103704 1017027156 +./include/ext2fs/.arch-ids/bitops.h.id 1068103704 1017027156 +./include/ext2fs/.arch-ids/ext2_err.h.id 1068103704 1017027156 +./include/ext2fs/.arch-ids/ext2_io.h.id 1068103704 1017027156 +./include/ext2fs/.arch-ids/ext2fs.h.id 1068103704 1017027156 +./include/ext2fs/.arch-ids 1068454314 1017027156 +./include/ext2fs/bitops.h 1068103705 1003927524 +./include/ext2fs/ext2_err.h 1068103705 1003927524 +./include/ext2fs/ext2_io.h 1068103705 1003927524 +./include/ext2fs/ext2fs.h 1068103705 1003927524 +./include/ext2fs 1068454314 1007269243 +./include/fdisk-part.h 1068103705 1007200690 +./include/file.h 1068103705 1007200690 +./include/fs.h 1068103705 1007200690 +./include/linux/.arch-ids/=id 1068103704 1017027157 +./include/linux/.arch-ids/elf.h.id 1068103704 1017027158 +./include/linux/.arch-ids/ext2_fs.h.id 1068103704 1017027158 +./include/linux/.arch-ids/iso_fs.h.id 1068103704 1017027158 +./include/linux/.arch-ids/stat.h.id 1068103704 1017027158 +./include/linux/.arch-ids/types.h.id 1068103704 1017027159 +./include/linux/.arch-ids 1068454314 1017027159 +./include/linux/elf.h 1068103705 1000991731 +./include/linux/ext2_fs.h 1068103705 1000991731 +./include/linux/iso_fs.h 1068103705 1000991731 +./include/linux/stat.h 1068103705 1000991731 +./include/linux/types.h 1068103705 1000991731 +./include/linux 1068454314 1007269243 +./include/mac-part.h 1068103705 1007200690 +./include/md5.h 1068103705 1000991730 +./include/partition.h 1068103705 1007200690 +./include/prom.h 1068103705 1007200690 +./include/reiserfs/.arch-ids/=id 1068103704 1017027160 +./include/reiserfs/.arch-ids/reiserfs.h.id 1068103704 1017027160 +./include/reiserfs/.arch-ids 1068454314 1017027160 +./include/reiserfs/reiserfs.h 1068103705 1025684115 +./include/reiserfs 1068454314 1025684115 +./include/setjm2.h 1068103705 1000991730 +./include/setjmp.h 1068103705 1000991730 +./include/stdlib.h 1068103705 1000991730 +./include/string.h 1068103705 1002620217 +./include/swab.h 1068103705 1000991730 +./include/types.h 1068103705 1000991730 +./include/xfs/.arch-ids/=id 1068103704 1017069090 +./include/xfs/.arch-ids/xfs.h.id 1068103704 1017069096 +./include/xfs/.arch-ids 1068454314 1017069096 +./include/xfs/xfs.h 1068103704 1002101334 +./include/xfs 1068454314 1007269244 +./include/yaboot.h 1068103705 1007200690 +./include 1068454314 1007269244 +./lib/.arch-ids/=id 1068103704 1017027162 +./lib/.arch-ids/ctype.c.id 1068103704 1017027163 +./lib/.arch-ids/libext2fs.a.id 1068103704 1017027163 +./lib/.arch-ids/malloc.c.id 1068103704 1017027163 +./lib/.arch-ids/nosys.c.id 1068103704 1017027163 +./lib/.arch-ids/string.S.id 1068103704 1017027163 +./lib/.arch-ids/strstr.c.id 1068103704 1017027164 +./lib/.arch-ids/strtol.c.id 1068103704 1017027164 +./lib/.arch-ids/vsprintf.c.id 1068103704 1017027164 +./lib/.arch-ids 1068454314 1017027164 +./lib/ctype.c 1068103705 1000991731 +./lib/libext2fs.a 1068103705 1003927524 +./lib/malloc.c 1068103705 1007200690 +./lib/nosys.c 1068103705 1000991731 +./lib/string.S 1068103705 1007200690 +./lib/strstr.c 1068103705 1000991731 +./lib/strtol.c 1068103705 1000991731 +./lib/vsprintf.c 1068103705 1000991731 +./lib 1068454314 1067937235 +./man/.arch-ids/=id 1068103704 1017027164 +./man/.arch-ids/bootstrap.8.id 1068103704 1017027165 +./man/.arch-ids/mkofboot.8.id 1068103704 1017027165 +./man/.arch-ids/ofpath.8.id 1068103704 1017027165 +./man/.arch-ids/yaboot.8.id 1068103704 1017027165 +./man/.arch-ids/yaboot.conf.5.id 1068103704 1017027166 +./man/.arch-ids/yabootconfig.8.id 1068103704 1017027166 +./man/.arch-ids/ybin.8.id 1068103704 1017027166 +./man/.arch-ids 1068454314 1017027166 +./man/bootstrap.8 1068103705 1000991731 +./man/mkofboot.8 1068103705 1006348765 +./man/ofpath.8 1068103705 1000991731 +./man/yaboot.8 1068103705 1006348765 +./man/yaboot.conf.5 1068103705 1004256691 +./man/yabootconfig.8 1068103705 1027929577 +./man/ybin.8 1068103705 1006348765 +./man 1068454314 1027929577 +./man.patch 1068103705 1006348761 +./second/.arch-ids/=id 1068103704 1017027166 +./second/.arch-ids/cache.S.id 1068103704 1017027167 +./second/.arch-ids/cfg.c.id 1068103704 1017027167 +./second/.arch-ids/cmdline.c.id 1068103704 1017027167 +./second/.arch-ids/crt0.S.id 1068103704 1017027167 +./second/.arch-ids/file.c.id 1068103704 1017027167 +./second/.arch-ids/fs.c.id 1068103704 1017027168 +./second/.arch-ids/fs_ext2.c.id 1068103704 1017027168 +./second/.arch-ids/fs_iso.c.id 1068103704 1017027168 +./second/.arch-ids/fs_of.c.id 1068103704 1017027168 +./second/.arch-ids/fs_reiserfs.c.id 1068103704 1017027169 +./second/.arch-ids/fs_xfs.c.id 1068103704 1017069120 +./second/.arch-ids/iso_util.c.id 1068103704 1017027170 +./second/.arch-ids/md5.c.id 1068103704 1017027170 +./second/.arch-ids/partition.c.id 1068103704 1017027170 +./second/.arch-ids/prom.c.id 1068103704 1017027170 +./second/.arch-ids/setjmp.S.id 1068103704 1017027171 +./second/.arch-ids/yaboot.c.id 1068103704 1017027171 +./second/.arch-ids 1068454314 1017069120 +./second/cache.S 1068103705 1007200690 +./second/cfg.c 1068103705 1007200690 +./second/cmdline.c 1068103705 1032059589 +./second/crt0.S 1068103705 1000991731 +./second/file.c 1068103705 1044868693 +./second/fs.c 1068103705 1032059574 +./second/fs_ext2.c 1068103705 1032059564 +./second/fs_iso.c 1068103705 1007200690 +./second/fs_of.c 1068103705 1032059553 +./second/fs_reiserfs.c 1068103705 1007200690 +./second/fs_xfs.c 1068103704 1032059541 +./second/iso_util.c 1068103705 1003656415 +./second/md5.c 1068103705 1032059532 +./second/partition.c 1068103705 1032059525 +./second/prom.c 1068103705 1067937197 +./second/setjmp.S 1068103705 1000991732 +./second/yaboot.c 1068103705 1032059504 +./second 1068454314 1067937235 +./util/.arch-ids/=id 1068103704 1017027171 +./util/.arch-ids/addnote.c.id 1068103704 1017027171 +./util/.arch-ids/elfextract.c.id 1068103704 1017027172 +./util/.arch-ids 1068454314 1017027172 +./util/addnote.c 1068103705 1007200691 +./util/elfextract.c 1068103705 1007303237 +./util 1068454314 1067937235 +./ybin/.arch-ids/=id 1068103704 1017027172 +./ybin/.arch-ids/mkofboot.id 1068103704 1017027172 +./ybin/.arch-ids/ofpath.id 1068103704 1017027172 +./ybin/.arch-ids/yabootconfig.id 1068103704 1017027172 +./ybin/.arch-ids/ybin.id 1068103704 1017027173 +./ybin/.arch-ids 1068454314 1017027173 +./ybin/yabootconfig 1068103706 1044766426 +./ybin/ybin 1068451451 1068018438 +./ybin/mkofboot 1068103702 1067937232 +./ybin/ofpath 1068453983 1068453925 +./ybin 1068454314 1068453925 +. 1068454314 1068454311 diff --git a/ChangeLog b/ChangeLog index 53d5ce8..54da766 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,20 @@ # arch-tag: automatic-ChangeLog--erbenson@alaska.net--public/yaboot--devel--1.3 # +2003-11-10 08:52:02 GMT Ethan Benson patch-57 + + Summary: + Detect lack of CONFIG_SCSI_PROC_FS in ofpath on 2.6 systems + Revision: + yaboot--devel--1.3--patch-57 + + * ybin/ofpath: Under 2.6 systems detect lack of CONFIG_SCSI_PROC_FS in + kernel configuration and print error message indicating its required. + + modified files: + ./0arch-timestamps0 ./ChangeLog ./ybin/ofpath + + 2003-11-06 07:28:26 GMT Ethan Benson patch-56 Summary: diff --git a/ybin/ofpath b/ybin/ofpath index 6763dfd..e9c29aa 100755 --- a/ybin/ofpath +++ b/ybin/ofpath @@ -187,6 +187,17 @@ scsiinfo() { ## see if system has scsi at all if [ ! -f /proc/scsi/scsi ] ; then + local kver="$(uname -r)" + case "$kver" in + 2.5.*|2.6.*) + if [ -d /sys/bus/scsi/devices -a \ + -n "$(ls /sys/bus/scsi/devices 2>/dev/null)" ] ; then + echo 1>&2 "$PRG: /proc/scsi/scsi does not exist" + echo 1>&2 "$PRG: Make sure you compiled your kernel with CONFIG_SCSI_PROC_FS=n" + fi + return 1 + ;; + esac echo 1>&2 "$PRG: /dev/$DEVNODE: Device not configured" return 1 fi -- 2.39.2