[lkml]   [2005]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    SubjectRe: 2.6.12-mm1
    On Sun, 2005-06-19 at 23:30 -0700, Andrew Morton wrote:
    > - Someone broke /proc/device-tree on ppc64. It's being looked into.

    I did, the breakage is in 2.6.12, and no, it's not broken :)

    The problem is that the "ofpath" script that is part of the yaboot
    package has a stupid bug where for some reason, when booting from SCSI
    (or libata in this case), it decides to check wether there are any
    symlinks in /proc/device-tree, and if not, decides it's broken and
    aborts. It doesn't actually make any use of the symlinks that were there
    though (and they were useless and partially broken anyway, which is why
    I removed them).

    So it's a bug in "ofpath", a bit annoying, but at the same time, you
    don't need to run it when changing kernels, so it's not too harmful.

    The fix is :

    --- ofpath 2005-06-20 16:56:12.000000000 +1000
    +++ ofpath.patched 2005-06-20 16:57:00.000000000 +1000
    @@ -425,14 +425,6 @@
    case "$DEVNODE" in
    - if ls -l /proc/device-tree | grep -q ^lr ; then
    - true
    - else
    - echo 1>&2 "$PRG: /proc/device-tree is broken. Do not use BootX to boot, use yaboot."
    - echo 1>&2 "$PRG: The yaboot HOWTO can be found here:"
    - return 1
    - fi
    ## use common scsiinfo function to get info we need.
    scsiinfo || return 1

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-06-20 09:04    [W:0.043 / U:0.028 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site