[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: gpt is not working on -current
On Dec 23, 8:55pm, jakllsch%kollasch.net@localhost wrote:
} On Sun, Aug 02, 2009 at 01:18:09PM -0700, John Nemeth wrote:
} > On Dec 23, 4:18pm, "S.P.Zeidler" wrote:
} > } Thus wrote John Nemeth (jnemeth%victoria.tc.ca@localhost):
} > } > On Dec 23, 3:27pm, "S.P.Zeidler" wrote:
} > } > }
} > } > } I have:
} > } > } sd0: GPT GUID: 3f818534-7f4e-11de-9ff5-00016ccbbc94
} > } > } dk0 at sd0: 3f818552-7f4e-11de-9ff5-00016ccbbc94
} > } > } dk0: 7815101 blocks at 34, type: ffs
} > } > }
} > } > } tucana# gpt show sd0
} > } > } gpt: unable to open device 'rsd0d': Invalid argument
} > } >
} > } > What does 'drvctl -p sd0' show?
} > }
} > } tucana# drvctl -p sd0
} > } Properties for device `sd0':
} > } <?xml version="1.0" encoding="UTF-8"?>
} > } <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
} > } "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
} > } <plist version="1.0">
} > } <dict>
} > } <key>device-driver</key>
} > } <string>sd</string>
} > } <key>device-unit</key>
} > } <integer>0x0</integer>
} > } </dict>
} > } </plist>
} > Yuck! Somebody broke the setup of the drive properties. I'll
} > look at fixing it in a little while. But, if I recall the
} > circumstances, you'll need to cause sd0 to be opened somehow (i.e.
} > dd if=/dev/rsd0d of=/dev/null count=1), then you should be able to use
} > gpt.
} That may have been me in sd.c 1.288. Someone else poked me directly
Yes, it was you.
} about it too. I'd like to just do away with gpt(8)'s drvctl(4)
} dependency and use DIOCGDISKINFO instead. I actually have a patch
} worked up already. Probably better discussed on tech-userlevel.
This is orthogonal to the fact that you broke the driver with an
obviously untested change!
Petra, I have fixed the bug (feel free to brick Jonathan). You
will need version 1.289 of sys/dev/scsipi/sd.c.
}-- End of excerpt from jakllsch%kollasch.net@localhost
Main Index |
Thread Index |