You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when putting the Root FS on a external hard disk
on of the cheapest options is a http://www.amazon.co.uk/gp/product/B007HMDB4Q
however this has a cypress chipset which is compiled as a module and thus will not work.
2379c2379
< CONFIG_USB_STORAGE_CYPRESS_ATACB=m
CONFIG_USB_STORAGE_CYPRESS_ATACB=y
will fix the issue, though making the kernel bigger .
other device option in the same area may be worth considering
Can you confirm this module is actually required to be built in to the kernel for you to boot? Looking at the help text for that option, it looks to me like your drive would be supported fine as a usb mass storage device - you'd just get extra functionality (hdparm/smartctl).
yes it is required to boot ,
even with root_delay and bootdealy options set uncomfortably high
the kernel will not find the device until the module is loaded so it needs to be built in.
<< the kernel will not find the device until the module is loaded >>
Roll yourself an initrd. This is exactly what initrd is intended for. See the ramfsfile and ramfsaddr params in config.txt, and the initrd kernel param (add it to cmdline.txt). e.g. config.txt
ramfsfile=initrd.gz
ramfsaddr=0xa00000
and cmdline.txt
initrd=0xa00000,0x279dfd
where 0x279dfd is the size of the initrd.gz file in hex
Unless you absolutely can't afford to use a bigger kernel, it's just easier to compile the driver into core.
An initrd image is just a (optionally compressed) cpio archive with a particular directory structure, I know there is a package in Debian called initramfs-tools that can be used to do most of the work, but I don't know if such package exists in any other distributions.
I can, and do , build my own kernels, as this adapter is so cheap , it will [IMO] become popular for RaspberryPis it's the only one that I've hit a problem with moving the root FS onto it .
I have an external USB-2,5"-SATA-HDD-case that looks EXACTLY like the one from amazon you posted the link to and I'm using it for the root-fs for my RPi. Works without any problems using the normal USB-mass-media-support in the Linux-kernel.
I'll try to see if I can get some photos or chipset-information from the enclosure.
just a FYI
on the latest 3.2.27 kernel release [raspbian + all updates] the system still hangs at the same point - building with the module as in the 1st post fixes it.
Without evidence of a significant number of people wanting this, I'm going to reject it.
Moving modules into the kernel and causing a (perhaps modest) memory hit for hundreds of thousands of users doesn't seem to weigh up in making life easier for one.
Activity
asb commentedon Aug 20, 2012
Can you confirm this module is actually required to be built in to the kernel for you to boot? Looking at the help text for that option, it looks to me like your drive would be supported fine as a usb mass storage device - you'd just get extra functionality (hdparm/smartctl).
RaTTuS-BIG commentedon Aug 21, 2012
even with root delays it would not boot, I will test again today as I have an opportunity so will post again in a few hours
RaTTuS-BIG commentedon Aug 21, 2012
yes it is required to boot ,
even with root_delay and bootdealy options set uncomfortably high
the kernel will not find the device until the module is loaded so it needs to be built in.
idlemoor commentedon Aug 21, 2012
<< the kernel will not find the device until the module is loaded >>
Roll yourself an initrd. This is exactly what initrd is intended for. See the ramfsfile and ramfsaddr params in config.txt, and the initrd kernel param (add it to cmdline.txt). e.g. config.txt
ramfsfile=initrd.gz
ramfsaddr=0xa00000
and cmdline.txt
initrd=0xa00000,0x279dfd
where 0x279dfd is the size of the initrd.gz file in hex
RaTTuS-BIG commentedon Aug 21, 2012
umm someone will have to hold my hand on this one ...
how do I go about making an initrd for this
Ferroin commentedon Aug 21, 2012
Unless you absolutely can't afford to use a bigger kernel, it's just easier to compile the driver into core.
An initrd image is just a (optionally compressed) cpio archive with a particular directory structure, I know there is a package in Debian called initramfs-tools that can be used to do most of the work, but I don't know if such package exists in any other distributions.
RaTTuS-BIG commentedon Aug 22, 2012
I can, and do , build my own kernels, as this adapter is so cheap , it will [IMO] become popular for RaspberryPis it's the only one that I've hit a problem with moving the root FS onto it .
kripton commentedon Aug 22, 2012
I have an external USB-2,5"-SATA-HDD-case that looks EXACTLY like the one from amazon you posted the link to and I'm using it for the root-fs for my RPi. Works without any problems using the normal USB-mass-media-support in the Linux-kernel.
I'll try to see if I can get some photos or chipset-information from the enclosure.
RaTTuS-BIG commentedon Aug 22, 2012
Chip set here is
Medi
MA6116a
CO423c-1207
MAN 32037 1
http://imgur.com/ZqJxL
I only come though this because rootfs would not boot - on my other usb HD adapter [with the same HD] it booted this one was cheaper and smaller
RaTTuS-BIG commentedon Aug 24, 2012
just a FYI
on the latest 3.2.27 kernel release [raspbian + all updates] the system still hangs at the same point - building with the module as in the 1st post fixes it.
popcornmix commentedon Sep 9, 2012
Without evidence of a significant number of people wanting this, I'm going to reject it.
Moving modules into the kernel and causing a (perhaps modest) memory hit for hundreds of thousands of users doesn't seem to weigh up in making life easier for one.
RaTTuS-BIG commentedon Sep 10, 2012
it's not a problem as I know how to fix it I just have to be careful when I do updates.
slub: missing test for partial pages flush work in flush_all()
crypto: caam - remove duplicated sg copy functions
10 remaining items
virtio-balloon: fix managed page counts when migrating pages between …
virtio-balloon: fix managed page counts when migrating pages between …
x86/xen: avoid warning in Xen pv guest with CONFIG_AMD_MEM_ENCRYPT en…
x86/xen: avoid warning in Xen pv guest with CONFIG_AMD_MEM_ENCRYPT en…
x86/hyperv: Fix NULL deref in set_hv_tscchange_cb() if Hyper-V setup …
x86/hyperv: Fix NULL deref in set_hv_tscchange_cb() if Hyper-V setup …
x86/hyperv: Fix NULL deref in set_hv_tscchange_cb() if Hyper-V setup …
io_uring: Fix a null-ptr-deref in io_tctx_exit_cb()
io_uring: Fix a null-ptr-deref in io_tctx_exit_cb()
io_uring: Fix a null-ptr-deref in io_tctx_exit_cb()
Merge pull request raspberrypi#75 from sched-ext/scx-fix-rust_sched_deps
bpf: Prevent inlining of bpf_fentry_test7()
perf record --off-cpu: Add --off-cpu-thresh option
smb: smbdirect: avoid recursive listen.lock during cleanup
nvme-multipath: revalidate head zones after unfreezing the head queue