Opened 14 years ago
Last modified 5 years ago
#7645 assigned bug
BFS: support writing in a different endian mode than host
Reported by: | Wizard | Owned by: | mmu_man |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | File Systems/BFS | Version: | R1/Development |
Keywords: | image | Cc: | Wizard |
Blocked By: | Blocking: | ||
Platform: | PowerPC |
Description
Creating image fails when building ppc on pcc (os x leopard and debian squeeze hosts tested). Error is:
InitScript1 generated/haiku.image-extract-files BuildHaikuImage1 generated/haiku.image Creating image ... Populating image ... Error: Failed to make directory "/myfs/system": Read-only file system Error: Command failed: Read-only file system Error: Command was: mkdir -p /myfs/system/add-ons/kernel/bus_managers /myfs/system/add-ons/kernel/busses/agp_gart /myfs/system/add-ons/kernel/busses/ata /myfs/system/add-ons/kernel/busses/scsi /myfs/system/add-ons/kernel/busses/usb /myfs/system/add-ons/kernel/console /myfs/system/add-ons/kernel/debugger /myfs/system/add-ons/kernel/file_systems /myfs/system/add-ons/kernel/generic /myfs/system/add-ons/kernel/partitioning_systems /myfs/system/add-ons/kernel/interrupt_controllers /myfs/system/add-ons/kernel/drivers/disk/scsi /myfs/system/add-ons/kernel/drivers/power /myfs/system/add-ons/kernel/drivers/bin /myfs/system/add-ons/kernel/drivers/dev/audio/hmulti /myfs/system/add-ons/kernel/drivers/dev/midi /myfs/system/add-ons/kernel/drivers/dev/bus /myfs/system/add-ons/kernel/drivers/dev/disk/usb /myfs/system/add-ons/kernel/drivers/dev/printer/usb /myfs/system/add-ons/kernel/drivers/dev/disk/virtual /myfs/system/add-ons/kernel/drivers/dev/dvb /myfs/system/add-ons/kernel/drivers/dev/input /myfs/system/add-ons/kernel/drivers/dev/misc /myfs/system/add-ons/kernel/drivers/dev/net /myfs/system/lib /myfs/system/data/locale/catalogs/system /myfs/system/data/locale/catalogs/x-vnd.Haiku-libtracker /myfs/system/servers /myfs/system/data/locale/catalogs/x-vnd.Haiku-mount_server /myfs/system/data/locale/catalogs/x-vnd.Haiku-notification_server /myfs/system/data/locale/catalogs/x-vnd.Be-PSRV /myfs/system/data/locale/catalogs/x-vnd.haiku-registrar /myfs/system/data/locale/catalogs/x-vnd.Haiku-SystemLogger /myfs/system/data/locale/catalogs/x-vnd.Be-TSKB /myfs/system/data/locale/catalogs/x-vnd.Be-TRAK /myfs/system/bin /myfs/system/data/locale/catalogs/x-vnd.Haiku-cmd-dstconfig /myfs/system/data/locale/catalogs/x-vnd.mmu_man.filepanel /myfs/system/data/locale/catalogs/x-vnd.Haiku-ReadOnlyBootPrompt /myfs/system/data/locale/catalogs/x-vnd.Haiku.screenblanker /myfs/system/data/locale/catalogs/x-vnd.haiku-screenshot-cli /myfs/system/apps /myfs/system/data/locale/catalogs/x-vnd.Haiku-About /myfs/system/data/locale/catalogs/x-vnd.Haiku-ActivityMonitor /myfs/system/data/locale/catalogs/x-vnd.Haiku-CharacterMap /myfs/system/data/locale/catalogs/x-vnd.Haiku-CodyCam /myfs/system/data/locale/catalogs/x-vnd.Haiku-DeskCalc /myfs/system/data/locale/catalogs/x-vnd.Haiku-Devices /myfs/system/data/locale/catalogs/x-vnd.Haiku-DiskProbe /myfs/system/data/locale/catalogs/x-vnd.Haiku-DiskUsage /myfs/system/data/locale/catalogs/x-vnd.Haiku-DriveSetup /myfs/system/data/locale/catalogs/x-vnd.Haiku-CDPlayer /myfs/system/data/locale/catalogs/x-vnd.Haiku-Expander /myfs/system/data/locale/catalogs/x-vnd.haiku-icon_o_matic /myfs/system/data/locale/catalogs/x-vnd.Haiku-Installer /myfs/system/data/locale/catalogs/x-vnd.Haiku-LaunchBox /myfs/system/data/locale/catalogs/x-vnd.Haiku-Magnify /myfs/system/data/locale/catalogs/x-vnd.Be-MAIL /myfs/system/data/locale/catalogs/x-vnd.Haiku-MediaConverter /myfs/system/data/locale/catalogs/x-vnd.Haiku-MediaPlayer /myfs/system/data/locale/catalogs/x-vnd.Haiku-MidiPlayer /myfs/system/data/locale/catalogs/x-vnd.Haiku-NetworkStatus /myfs/system/data/locale/catalogs/x-vnd.Haiku-PackageInstaller /myfs/system/data/locale/catalogs/x-vnd.Be-PEPL /myfs/system/data/locale/catalogs/x-vnd.Haiku-PoorMan /myfs/system/data/locale/catalogs/x-vnd.Haiku-PowerStatus /myfs/system/data/locale/catalogs/x-vnd.Haiku-ProcessController /myfs/system/data/locale/catalogs/x-vnd.haiku-screenshot /myfs/system/data/locale/catalogs/x-vnd.Haiku-ShowImage /myfs/system/data/locale/catalogs/x-vnd.Haiku-SoundRecorder /myfs/system/data/locale/catalogs/x-vnd.Haiku-StyledEdit /myfs/system/data/locale/catalogs/x-vnd.Haiku-Terminal /myfs/system/data/locale/catalogs/x-vnd.Haiku.TextSearch /myfs/system/data/locale/catalogs/x-vnd.Haiku.TV /myfs/system/data/locale/catalogs/x-vnd.Be-WORK /myfs/system/preferences /myfs/system/data/locale/catalogs/x-vnd.Haiku-Appearance /myfs/system/data/locale/catalogs/x-vnd.Haiku-Backgrounds /myfs/system/data/locale/catalogs/x-vnd.Haiku-CPUFrequencyPref /myfs/system/data/locale/catalogs/x-vnd.Haiku-DataTranslations /myfs/system/data/locale/catalogs/x-vnd.Haiku-DeskbarPreferences /myfs/system/data/locale/catalogs/x-vnd.Haiku-Mail /myfs/system/data/locale/catalogs/x-vnd.Haiku-FileTypes /myfs/system/data/locale/catalogs/x-vnd.Haiku-Fonts /myfs/system/data/locale/catalogs/x-vnd.Haiku-Keyboard /myfs/system/data/locale/catalogs/x-vnd.Haiku-Keymap /myfs/system/data/locale/catalogs/x-vnd.Haiku-Locale /myfs/system/data/locale/catalogs/x-vnd.Haiku-Media /myfs/system/data/locale/catalogs/x-vnd.Haiku-Mouse /myfs/system/data/locale/catalogs/x-vnd.Haiku-Network /myfs/system/data/locale/catalogs/x-vnd.Haiku-Notifications /myfs/system/data/locale/catalogs/x-vnd.Haiku-OpenGL /myfs/system/data/locale/catalogs/x-vnd.Be-PRNT /myfs/system/data/locale/catalogs/x-vnd.Haiku-Screen /myfs/system/data/locale/catalogs/x-vnd.Haiku-ScreenSaver /myfs/system/data/locale/catalogs/x-vnd.Haiku-Shortcuts /myfs/system/data/locale/catalogs/x-vnd.Haiku-Sounds /myfs/system/data/locale/catalogs/x-vnd.Haiku-Time /myfs/system/data/locale/catalogs/x-vnd.Haiku-Touchpad /myfs/system/data/locale/catalogs/x-vnd.Haiku-TrackerPreferences /myfs/system/data/locale/catalogs/x-vnd.Haiku-VirtualMemory /myfs/system/demos /myfs/system/data/locale/catalogs/x-vnd.Haiku-Clock /myfs/system/data/locale/catalogs/x-vnd.Haiku-GLTeapot /myfs/system/data/locale/catalogs/x-vnd.Haiku-Mandelbrot /myfs/system/data/locale/catalogs/x-vnd.Haiku-OverlayImage /myfs/system/data/locale/catalogs/x-vnd.Haiku-Pairs /myfs/system/data/locale/catalogs/x-vnd.Haiku-Pulse /myfs/system/data/locale/catalogs/x-vnd.Haiku-Sudoku /myfs/common/data/optional-packages /myfs/home/Desktop /myfs/home/mail/draft /myfs/home/mail/in /myfs/home/mail/out /myfs/home/config/be/Applications /myfs/home/config/be/Desktop\ applets /myfs/home/config/be/Preferences /myfs/home/config/be/Demos /myfs/system/boot /myfs/home/config/boot/launch /myfs/system/data/artwork /myfs/system/data/sounds /myfs/home/config/settings/Mail/ProviderInfo /myfs/system/data/spell_check/word_dictionary /myfs/common/etc /myfs/system/data/fortunes /myfs/system/data/fonts/psfonts /myfs/system/data/fonts/ttfonts /myfs/system/data/Canna/default /myfs/system/data/Canna/dic/canna /myfs/system/data/Canna/dic/group /myfs/system/data/Canna/dic/user /myfs/system/data/Keymaps /myfs/system/data/KeyboardLayouts /myfs/home/config/settings/kernel/drivers /myfs/common/settings/network /myfs/common/boot/post_install /myfs/system/add-ons/kernel/boot /myfs/system/add-ons/accelerants /myfs/system/add-ons/opengl /myfs/system/add-ons/Translators /myfs/system/data/locale/catalogs/x-vnd.Haiku-BMPTranslator /myfs/system/data/locale/catalogs/x-vnd.Haiku-EXRTranslator /myfs/system/data/locale/catalogs/x-vnd.Haiku-GIFTranslator /myfs/system/data/locale/catalogs/x-vnd.Haiku-HVIFTranslator /myfs/system/data/locale/catalogs/x-vnd.Haiku-ICOTranslator /myfs/system/data/locale/catalogs/x-vnd.Haiku-JPEGTranslator /myfs/system/data/locale/catalogs/x-vnd.Haiku-JPEG2000Translator /myfs/system/data/locale/catalogs/x-vnd.Haiku-PCXTranslator /myfs/system/data/locale/catalogs/x-vnd.Haiku-PNGTranslator /myfs/system/data/locale/catalogs/x-vnd.Haiku-PPMTranslator /myfs/system/data/locale/catalogs/x-vnd.Haiku-RAWTranslator /myfs/system/data/locale/catalogs/x-vnd.Haiku-RTFTranslator /myfs/system/data/locale/catalogs/x-vnd.Haiku-SGITranslator /myfs/system/data/locale/catalogs/x-vnd.Haiku-STXTTranslator /myfs/system/data/locale/catalogs/x-vnd.Haiku-TGATranslator /myfs/system/data/locale/catalogs/x-vnd.Haiku-TIFFTranslator /myfs/system/data/locale/catalogs/x-vnd.Haiku-WebPTranslator /myfs/system/data/locale/catalogs/x-vnd.Haiku-WonderBrushTranslator /myfs/system/add-ons/locale/catalogs /myfs/system/add-ons/mail_daemon/inbound_protocols /myfs/system/add-ons/mail_daemon/outbound_protocols /myfs/system/add-ons/mail_daemon/inbound_filters /myfs/system/add-ons/mail_daemon/outbound_filters /myfs/system/add-ons/media/plugins /myfs/system/add-ons/Tracker /myfs/system/data/locale/catalogs/x-vnd.haiku.zip-o-matic /myfs/system/add-ons/input_server/devices /myfs/system/data/locale/catalogs/x-vnd.Haiku-KeyboardInputServerDevice /myfs/system/add-ons/input_server/filters /myfs/system/add-ons/kernel/network/devices /myfs/system/add-ons/kernel/network/datalink_protocols /myfs/system/add-ons/kernel/network/ppp /myfs/system/add-ons/kernel/network/protocols /myfs/system/add-ons/Print/transport /myfs/system/add-ons/Screen\ Savers /myfs/system/data/locale/catalogs/x-vnd.Haiku-ButterflyScreensaver /myfs/system/data/locale/catalogs/x-vnd.Haiku-DebugNowScreensaver /myfs/system/data/locale/catalogs/x-vnd.Haiku-Flurry /myfs/system/data/locale/catalogs/x-vnd.Haiku-IconsScreensaver /myfs/system/data/locale/catalogs/x-vnd.Haiku-IFSScreensaver /myfs/system/data/locale/catalogs/x-vnd.Haiku-LeavesScreensaver /myfs/system/data/locale/catalogs/x-vnd.Haiku-MessageScreensaver /myfs/system/data/locale/catalogs/x-vnd.Haiku-SpiderScreensaver /myfs/system/add-ons/disk_systems /myfs/system/data/locale/catalogs/x-vnd.Haiku-IntelDiskAddOn /myfs/system/data/locale/catalogs/x-vnd.Haiku-BFSAddOn /myfs/home/config/add-ons/decorators /myfs/common/bin /myfs/common/include /myfs/common/lib /myfs/home/config/bin /myfs/home/config/lib /myfs/common/var/empty /myfs/common/var/log /myfs/common/cache/tmp /myfs/home/config/add-ons/kernel/drivers/bin /myfs/home/config/add-ons/kernel/drivers/dev /myfs/home/config/add-ons/input_server/devices /myfs/home/config/add-ons/input_server/filters /myfs/home/config/add-ons/input_server/methods /myfs/home/config/add-ons/media/plugins /myfs/home/config/add-ons/Tracker /myfs/home/config/add-ons/Print /myfs/home/config/add-ons/Screen\ Savers /myfs/home/config/add-ons/Translators /myfs/system/data/synth /myfs/system/add-ons/input_server/methods /myfs/optional/system/add-ons/input_server/methods /myfs/home/config/settings/printers/Preview /myfs/home/config/settings/printers/Save\ as\ PDF /myfs/system/data/PDF\ Writer /myfs/common/data/gutenprint /myfs/home/config/settings/Media/dvb /myfs/system/data/licenses /myfs/system/documentation/diskusage /myfs/system/documentation/pdflib /myfs/develop/sample-code/pdflib export imagePath="generated/haiku.image" export isImage="1" export isVMwareImage="" build/scripts/build_haiku_image generated/haiku.image-init-vars generated/haiku.image-make-dirs generated/haiku.image-copy-files generated/haiku.image-extract-files ...failed BuildHaikuImage1 generated/haiku.image ... ...removing generated/haiku.image BUILD FAILURE: ...failed updating 1 target(s)... ...updated 10506 target(s)...
Also, bfs_shell seems to hang:
$ ps ax | grep bfs 53382 s001 S 0:00.01 generated/objects/darwin/ppc/release/tools/bfs_shell/bfs_shell -n generated/haiku.image
Change History (7)
comment:1 by , 14 years ago
Component: | Build System → File Systems/BFS |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:3 by , 10 years ago
Milestone: | R1 → Unscheduled |
---|
Moving non-x86 related tickets out of R1 milestone.
comment:4 by , 6 years ago
Summary: | creating image fails → BFS: support writing in a different endian mode than host |
---|
comment:5 by , 5 years ago
Owner: | changed from | to
---|
comment:6 by , 5 years ago
It can now be built, but that does not change the fact that Volume.cpp still prevents from writing to the volume.
This ticket asks to be able to write to big endian BFS; its title is a bit misleading.
Basically, it just needs testing, and probably some minor fixes.
Note:
See TracTickets
for help on using tickets.
It looks like on big-endian architectures BFS can be mounted read-only only (cf. bfs_endian.h and Volume.cpp).