Bug 236481 - skip 'flash' bootloader partition of PS3 storage.
skip 'flash' bootloader partition of PS3 storage.
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Anaconda Maintenance Team
:
Depends On:
Blocks: 235611
  Show dependency treegraph
 
Reported: 2007-04-14 18:58 EDT by David Woodhouse
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-04-17 10:50:28 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
patch (1.84 KB, patch)
2007-04-15 12:17 EDT, David Woodhouse
no flags Details | Diff

  None (edit)
Description David Woodhouse 2007-04-14 18:58:57 EDT
The PS3 has an unpartitioned SCSI 'disk', usually /dev/sdb, which contains the
bootloader and information shared with Game OS. The installer currently reports
that it does not contain a valid partition table and offers to initialise it. It
would be good to automatically skip it.

The device in question appears as 'Direct-Access-RBC' in /proc/scsi/scsi -- the
type in /sys/block/sdb/device/type is '14'. That's how the Sony tools check for
it when they want to access it.

Vendor and Model reported in /proc/scsi/scsi are 'SCEI' and 'Flash-5' resp., if
those are a better way to identify it. They appear in
/sys/block/$dev/device/{vendor,model}
Comment 1 David Woodhouse 2007-04-15 12:17:19 EDT
Created attachment 152651 [details]
patch

Here's a hack which works. Someone who actually understands python could surely
do a lot better.
Comment 2 David Woodhouse 2007-04-15 12:18:57 EDT
Oops, I meant to drop the EARLY_SWAP_RAM hunk, but it's not as if you were going
to use the patch as-is anyway, so I'll not file an updated patch.
Comment 3 Paul Nasrat 2007-04-17 10:50:28 EDT
Blacklist as we do with iSeries is better fix, commited.

>>> peddev = parted.PedDevice.get("/dev/sdb")
>>> peddev.model
'SCEI Flash-5'

Note You need to log in before you can comment on or make changes to this bug.