* Re: [9fans] Booting from gefs on RPi without the dance?
[not found] <17487636450.cBdFF3.22084@composer.9fans.topicbox.com>
@ 2025-06-01 12:08 ` Steve Simon
[not found] ` <CA+POUVgw7sr3kcAxaG1JsXph+APfntC9A+y4GqdcuS39q1w4DQ@mail.gmail.com>
0 siblings, 1 reply; 8+ messages in thread
From: Steve Simon @ 2025-06-01 12:08 UTC (permalink / raw)
To: 9fans; +Cc: 9fans
[-- Attachment #1: Type: text/html, Size: 1694 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [9fans] Booting from gefs on RPi without the dance?
[not found] ` <17488460910.40Bb4F3.22637@composer.9fans.topicbox.com>
@ 2025-06-02 6:38 ` Paul Lalonde
0 siblings, 0 replies; 8+ messages in thread
From: Paul Lalonde @ 2025-06-02 6:38 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 1419 bytes --]
I'm afraid I'm still 36 hours away from being able to test this for real,
but you should be able to, in your command line, just put that argument in
single quotes:
>
> nobootprompt='local!/dev/sdN0/fs -A'
If even doing it in your plan9.ini didn't work, then there's likely
something more than just the -A option causing your grief.
Paul
On Mon, Jun 2, 2025 at 8:36 AM <experimentech@gmail.com> wrote:
> On Sunday, June 01, 2025, at 5:40 PM, flux wrote:
>
> The workaround, such as it is, is to put the offending nobootargs into a
> plan9.ini file
>
> If I understand you correctly, the part of cmdline.txt with nobootprompt=local!/dev/sdN0/fs
> -A should be moved to a newly created file called plan9.ini in the FAT
> partition.
> I'm just confirming because I just tried that and it doesn't work.
> *9fans <https://9fans.topicbox.com/latest>* / 9fans / see discussions
> <https://9fans.topicbox.com/groups/9fans> + participants
> <https://9fans.topicbox.com/groups/9fans/members> + delivery options
> <https://9fans.topicbox.com/groups/9fans/subscription> Permalink
> <https://9fans.topicbox.com/groups/9fans/T9327ef41fef3598f-Mcc24d31b9445cc2afdcf87f0>
>
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9327ef41fef3598f-Mc307c24a33e4148ff8bd5c1d
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
[-- Attachment #2: Type: text/html, Size: 2259 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [9fans] Booting from gefs on RPi without the dance?
2025-06-02 17:41 ` Romano
@ 2025-06-05 6:45 ` experimentech
0 siblings, 0 replies; 8+ messages in thread
From: experimentech @ 2025-06-05 6:45 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 372 bytes --]
Sorry, I hadn't checked back in for a few days.
I confirm the single quotes in CMDLINE.TXT works correctly.
Thank you for the help, everybody.
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9327ef41fef3598f-Mc323d2834f0c74ce3bb174ba
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
[-- Attachment #2: Type: text/html, Size: 872 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [9fans] Booting from gefs on RPi without the dance?
[not found] <93D1D572701A48861BA076FBE40B010A@eigenstate.org>
@ 2025-06-02 17:41 ` Romano
2025-06-05 6:45 ` experimentech
0 siblings, 1 reply; 8+ messages in thread
From: Romano @ 2025-06-02 17:41 UTC (permalink / raw)
To: 9fans
experimentech@gmail.com: my mail delivery from this list is delayed so forgive if you have already confirmed it works. This was my cmdline.txt on my pi4 which worked:
console=0 sysname=pipi service=cpu nvram=/dev/sdU5888f/nvram bootargs='local!/dev/sdU5888f/fscache -a tcp!*!564'
So as has been said, the quoting should work.
On Mon, Jun 2, 2025, at 6:22 AM, ori@eigenstate.org wrote:
> no, the raspberry pi bootloader is a special snowflake, so we need
> to use commandline.txt there.
>
> The solution is to quote the arguments in commandline.txt. As Paul
> said:
>
> nobootprompt='local!/dev/sdN0/fs -A'
>
> is most likely the way you do that. I don't currently have a
> raspberry pi set up to bood plan 9, so I can't test.
>
> Quoth experimentech@gmail.com:
>> On Sunday, June 01, 2025, at 5:40 PM, flux wrote:
>> > The workaround, such as it is, is to put the offending nobootargs into a plan9.ini file
>> If I understand you correctly, the part of cmdline.txt with nobootprompt=local!/dev/sdN0/fs -A should be moved to a newly created file called plan9.ini in the FAT partition.
>> I'm just confirming because I just tried that and it doesn't work.
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9327ef41fef3598f-M36c9ab48b9af8762960eb500
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [9fans] Booting from gefs on RPi without the dance?
2025-05-28 4:57 ` experimentech
@ 2025-05-29 22:45 ` ori
0 siblings, 0 replies; 8+ messages in thread
From: ori @ 2025-05-29 22:45 UTC (permalink / raw)
To: 9fans
Quoth experimentech@gmail.com:
> So I have no idea what happened to it but many of the system executables were missing. Too much functionality was lost so I backed up the files I'd changed and reinstalled. Same issue so we might as well pretend it didn't happen. it just caused a delay in my replying.
> ori, cmdline.txt has:
> console=0 user=glenda nobootprompt=local!/dev/sdN0/fs -A
That looks lke the 'local!... -A' argument isn't quoted, which means it'll get split
and won't work. Figure out how cmdline.txt quotes args, and I bet it'd start working.
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9327ef41fef3598f-M704dec03ef37236c613cabe2
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [9fans] Booting from gefs on RPi without the dance?
2025-05-26 17:48 ` Stuart Morrow
@ 2025-05-28 4:57 ` experimentech
2025-05-29 22:45 ` ori
0 siblings, 1 reply; 8+ messages in thread
From: experimentech @ 2025-05-28 4:57 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 977 bytes --]
So I have no idea what happened to it but many of the system executables were missing. Too much functionality was lost so I backed up the files I'd changed and reinstalled. Same issue so we might as well pretend it didn't happen. it just caused a delay in my replying.
ori, cmdline.txt has:
console=0 user=glenda nobootprompt=local!/dev/sdN0/fs -A
The -A doesn't seem to matter because it just runs into /srv/gefs already existing. Unless I delete that, which I have to do every time, I can't boot it.
Stuart Morrow, Thanks for that. Am I just supposed to be removing the ctl entries, or the other gefs related ones too. It definitely helps. Depending on what I'm doing I can actually hit OOM errors because of gefs stuff not being freed up.
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9327ef41fef3598f-M983a2c9a1393a46cf2e76f93
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
[-- Attachment #2: Type: text/html, Size: 1763 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [9fans] Booting from gefs on RPi without the dance?
[not found] <17482394280.5CCF2ef7.20263@composer.9fans.topicbox.com>
2025-05-26 13:22 ` ori
@ 2025-05-26 17:48 ` Stuart Morrow
2025-05-28 4:57 ` experimentech
1 sibling, 1 reply; 8+ messages in thread
From: Stuart Morrow @ 2025-05-26 17:48 UTC (permalink / raw)
To: 9fans
When you do rm /srv/gefs* you also need to kill the running gefs or
it'll hang around hoarding its 1GB of memory or whatever it is. So
something like
cd proc
grep gefs */args
echo kill | sed '
w 210/ctl
w 211/ctl
[etc]'
(sed w being the closest thing to tee).
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9327ef41fef3598f-M1988cfed6bb6bb93a48885c4
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [9fans] Booting from gefs on RPi without the dance?
[not found] <17482394280.5CCF2ef7.20263@composer.9fans.topicbox.com>
@ 2025-05-26 13:22 ` ori
2025-05-26 17:48 ` Stuart Morrow
1 sibling, 0 replies; 8+ messages in thread
From: ori @ 2025-05-26 13:22 UTC (permalink / raw)
To: 9fans
what are the contents of your commandline.txt(?) (I think that's
the place where you configure your command line). The '-A' that
you're adding there should be present.
from what I remember, the commandline.txt format puts all args
on one line, so perhaps there's some quoting needed?
Quoth experimentech@gmail.com:
> The only way I can get my Pi4 to boot from the gefs partition is to delete everything from /srv/gefs first.
>
> Using -Ac or even just -c doesn't help. It just churns through entries then after a couple of pages fails with a broken pipe.
>
> This is what I'm faced with every boot. I haven't got a clue how to fix it and haven't had any luck on finding information. Can someone help me with it? It was a huge pain to even set it up with gefs on Pi, and if I can, I want to be able to save it.
>
> /dev/sdN0: BCM SD Host Controller 02 Version 10
> /dev/sdN0/data
> /dev/sdN0/dos dos
> /dev/sdN0/fs gefs
> /dev/sdN0/nvram
> /dev/sdN0/plan9
> /dev/sdN1: BCM SD Host Controller 02 Version 10
> /dev/sdN2: BCM SD Host Controller 02 Version 10
> bootargs is (tcp, tls, il, local!device)[local!/dev/sdN0/fs]
>
>
> load /dev/sdN0/fs:
> snaptree: (2bfd70000,547c831736d04994,-1)
> narenas: 8
> features: 0
> nextqid: 30755
> lastqgen: 213212
> nextgen: 25862
> blocksize: 16384
> cachesz: 2024 MiB
> mount: auth_proxy: auth_proxy read fd: authread -- auth protocol not finished
> mount: mount /root: authread -- auth protocol not finished
> mount /srv/boot /root: mount 1127: mount
>
> /dev/sdN0: BCM SD Host Controller 02 Version 10
> /dev/sdN0/data
> /dev/sdN0/dos dos
> /dev/sdN0/fs gefs
> /dev/sdN0/nvram
> /dev/sdN0/plan9
> /dev/sdN1: BCM SD Host Controller 02 Version 10
> /dev/sdN2: BCM SD Host Controller 02 Version 10
>
> bootargs is (tcp, tls, il, local!device)[local!/dev/sdN0/fs] local!/dev/sdN0/fs -A
> load /dev/sdN0/fs:
> snaptree: (2bfd70000,547c831736d04994,-1)
> narenas: 8
> features: 0
> nextqid: 30755
> lastqgen: 213212
> nextgen: 25862
> blocksize: 16384
> cachesz: 2024 MiB
> gefs: create /srv/gefs: file already exists: '/srv/gefs'
> mount: sys: write on closed pipe pc=0x1b088
> mount /srv/boot /root: mount 1404: sys: write on closed pipe pc=0x1b088
>
> /dev/sdN0: BCM SD Host Controller 02 Version 10
> /dev/sdN0/data
> /dev/sdN0/dos dos
> /dev/sdN0/fs gefs
> /dev/sdN0/nvram
> /dev/sdN0/plan9
> /dev/sdN1: BCM SD Host Controller 02 Version 10
> /dev/sdN2: BCM SD Host Controller 02 Version 10
> bootargs is (tcp, tls, il, local!device)[local!/dev/sdN0/fs] !rc
> % rm -f /srv/gefs*
> % exit
>
> bootargs is (tcp, tls, il, local!device)[local!/dev/sdN0/fs] local!/dev/sdN0/fs -A
> load /dev/sdN0/fs:
> snaptree: (2bfd70000,547c831736d04994,-1)
> narenas: 8
> features: 0
> nextqid: 30755
> lastqgen: 213212
> nextgen: 25862
> blocksize: 16384
> cachesz: 2024 MiB
>
> init: starting /bin/rc
>
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9327ef41fef3598f-M5ae09bb35b24ee8736e8f16f
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2025-06-05 6:55 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <17487636450.cBdFF3.22084@composer.9fans.topicbox.com>
2025-06-01 12:08 ` [9fans] Booting from gefs on RPi without the dance? Steve Simon
[not found] ` <CA+POUVgw7sr3kcAxaG1JsXph+APfntC9A+y4GqdcuS39q1w4DQ@mail.gmail.com>
[not found] ` <17488460910.40Bb4F3.22637@composer.9fans.topicbox.com>
2025-06-02 6:38 ` Paul Lalonde
[not found] <93D1D572701A48861BA076FBE40B010A@eigenstate.org>
2025-06-02 17:41 ` Romano
2025-06-05 6:45 ` experimentech
[not found] <17482394280.5CCF2ef7.20263@composer.9fans.topicbox.com>
2025-05-26 13:22 ` ori
2025-05-26 17:48 ` Stuart Morrow
2025-05-28 4:57 ` experimentech
2025-05-29 22:45 ` ori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).