You are not logged in.
Mr Green wrote:/me kicks box.....
I am running stock kernel not the pimped out rides you guys use lol
There is a pkg for the stock kernel in [extra] for crying out loud! You do know this right?! Is it not working for you?! :cry:
tomk wrote:Then dtw can get back to sorting out my problems.
I made some marginal changes...it should at least error out now if it fails to copy modules. Give it a try would you
dtw don't cry man chill out 8)
I do not know anything about linux or Arch I like to keep it that way
Mr Green
Offline
OK, I went to bed with this in my head. This is the way it is currently:
kernel_dir="$workdir/archieroot/lib/modules/*/kernel"
[ ! -d $workdir/archieroot/lib/modules/ ] && kernel_dir="$archroot/lib/modules/*/kernel"
And this is my fix:
kernel_dir="$workdir/archroot/lib/modules/*/kernel"
[ ! -d $workdir/archroot/lib/modules/ ] && kernel_dir="$archieroot/lib/modules/*/kernel"
Logically this makes more sense. The problem occurs, it seems, if the kernel is installed to the target partition before unionfs mounts the "live" layer. Previously the check would return true whether the kernel was installed before or after, which caused the error. Now it checks to see if it has been installed before and uses files from the normal target partition mount if it has. If it can't find kernel files that were installed before the mount it then checks for files installed after the mount: these can be read properly.
This means that whether you are creating a system from a prebuilt partition, with an installed kernel, or installing a kernel on the fly to a "live" partition care of --buildiso, it should now work properly. I imagine that was the idea all along.
Can some check my sanity?
Offline
It occurs to me now that this solution is not anywhere near good enough. Any kernel module installed to the target partition before the mount will cause the kernel_dir to be set to the target partition, even if there is not a full kernel there.
I think the only way around this is a simliar test before each attempt to copy the module i.e. we need to check for drivers/ide before copying ide modules.
Sound better?
Offline
Two things.
First - we both jumped all over Mr G for not using the stock unionfs package, without first checking what the script might actually do with it - which happens to be nothing, because check_unionfs only looks in the kernel config for CONFIG_UNION_FS=y/m, which is not in config26. Maybe add another check that looks in modprobe -l? Anyway, sorry Mr G.
Another thought (probably not practical) - if the root cause of this problem is the unrequired kernel install on the target, maybe there's some way to prevent it being installed (I haven't thought of a way yet, otherwise it would be here)? Or if not, at the very least the script could check for it, and if necessary remove it with -Rd before create_initramfs.
Offline
First - we both jumped all over Mr G for not using the stock unionfs package, without first checking what the script might actually do with it - which happens to be nothing, because check_unionfs only looks in the kernel config for CONFIG_UNION_FS=y/m, which is not in config26. Maybe add another check that looks in modprobe -l?
I fully suspected that to be the problem, although I had not mentioned it - I said detection was flaky! It's also worth noting that unionfs-auto won't mean an entry in config.gz either - so that needs some serious fixing. I sent Mr. G some instruction earlier which I hope will bear fruit i.e. modprobe unionfs befor eyou even start I think some jumping was warranted for the confusing and unecessarily obtuse presentation of the problem But I'm also sorry for any distress caused
Another thought (probably not practical)...[snip]
It's not sadly. You can use mkliveiso to create a live-cd from an exisiting complete Arch installation, which would include a kernel. I had attempted to outline the need to account for that situation above but I hope that is clearer now.
I have made some fixes, which I cannot commit from work but I think they will work just fine.
Offline
modprobe unionfs befor eyou even start
But that's still not going to satisfy check_unionfs, is it? All it does is look at /proc/config.gz, so how would it know what modules are loaded, or available to be loaded?
You can use mkliveiso to create a live-cd from an exisiting complete Arch installation
Ahh... yes. I completely forgot about that - thanks.
Offline
But that's still not going to satisfy check_unionfs, is it? All it does is look at /proc/config.gz, so how would it know what modules are loaded, or available to be loaded?
Whoops! Good point :oops:
/me looks suitably embarressed
Offline
I fixed this hours ago but forgot to post - I think I have fixed everything identified so far...not sure my module solution is sound but unionfs detection is very fixed - thanks tomk!
Well, my module solution seems to work! Tomk, please try it with a build you hope will complete - if that works try it with the old installing wlan-ng to target partition first and see if you still get the module errors.
Offline
I'm running a "default" build now i.e. no extra packages, so that should be fine. I'll do another in the morning with my wlan-ng26 + beyond dep added in.
OK - it works perfectly and very quickly - i was thrown by the black background on startup!
The last build boots successfully, and looks like it launches X, but ends up as a completely black screen - it doesn't even have a cursor. I can't get to a console with Ctrl+Alt+Fn, and I can't kill X with Ctrl+Alt+Backspace.
Is that what you meant by "the black background"?
Offline
Mine did have a cursor - I could right click and get an openbox menu up. That doesn't sound like what you have though. Positive thing is no mkliveiso errors! Looking forward to seeing how your "complex" build goes.
Before you build next time make sure you have the latest version from CVS adn add an option to archie.conf (in both places!)
splashvox="verbose"
That should give you a verbose but pretty startup - might help with debugging
Offline
The default build completed successfully, as expected - starting the complex one now, with splashvox set.
...........
And it has now completed create_initramfs with no errors - nice one!
Offline
And it has now completed create_initramfs with no errors - nice one!
Couldn't have done it without you! Got there in the end, eh?
OK, now mkliveiso is debugged it might be worth someone/anyone trying the xfce ISO - that is the most tested and reliable ISO build. The Openbox builld is hardly bullet-proof being less than a week old! It was worth it for the shorter build time though! The XFCE ISO is pretty huge these days, thanks to the inclusion of nautilus! We'll get that replace with thunar though
Offline
I'll test the xfce iso as soon as thunar gets in.
Offline
OK - I have replaced nautilus with thunar and removed loads of programmes with a multitude of gnome deps. Not sure ziggy will be very happy but we can always revert it later...
You can't build at the moment though because exo-devel conflicts with exo and exo gets dragged in as a dep but xfce pkgs. The only solution is to install exo-devel in to the arch partition first. You _could_ do this using the --install2arch command but this is currently implemented _after_ the --buildiso section. I have moved the command in my local copy and I hope it has commited correctly to the CVS Server but I am at work so it may not have worked very well.
So, add the command --install2arch exo-devel, to your mkliveiso command (with --buildiso XFCE of course) and you should be ok.
NOTE: you'll need to copy $CVSROOT/src/archie-scripts/modules/xfce to /etc/archie/modules/xfce
HTH
Offline
we still talking -beyond only atm?
Mr Green
Offline
we still talking -beyond only atm?
Not anymore - you are following this thread, aren't you?
unionfs detection is very fixed
Offline
Ok its a long one (the thread that is!) lol ... will check it out ;-)
Mr Green
Offline
Finally got to burn and test that last obarchie build - still nothing. Blank screen, no cursor, nothing to do except a hard reboot - ah well, let's give xfce a shot.
Offline
Did you get the verbose startup though? And did you see any errors? Presuemably something maybe crashing on X startup - what with the new modularized X (never been used in Archie before) you could be missing an input driver, which is killing the system. That might be a first line of enquiry I think.
As the Xorg stuff is so hard to track I wonder if we might add a separate xorg pkglist that can be used by all ISOs that use X, that way we'll miss less.
Offline
Verbose startup - yes. Errors - nothing relevant. Missing X driver - yeah, that's what I'm thinking.
If I could Just see the logs.........
Anyway, I'm running the xfce build now - I'll try OB again later, with some extra X stuff in --install2arch.
Offline
Archie-xfce does the same as Archie-ob i.e. blank screen, no cursor, etc. So I tried them both on my desktop, and they both worked.
IOW, Archie doesn't like this laptop - although previous versions did just fine with it. My installed Arch only has
xf86-input-evdev
xf86-input-keyboard
xf86-input-mouse
xf86-video-ati
installed, and Archie has all of them, so I don't know where to go from there. :?
Offline
Why not build a stock arch no desktop (you may need to edit inittab!).... at least then you will be able to log in.... & provided network is up you can install & fix what you need
qemu is your friend when testing iso's
HTH
Mr Green
Offline
HI guys,
i´m reading this thread some times. And i´m looking forward to see the first screenshots of openbox-archie :-D
I think you are doin great work. Rock on!!
LEgout
Offline
Why not build a stock arch no desktop (you may need to edit inittab!).... at least then you will be able to log in.... & provided network is up you can install & fix what you need
Good idea - whenever I get the time.
qemu is your friend when testing iso's
I doubt it, in my particular case. As explained above, the discs boot fine on my desktop, and I'd expect them to boot fine in qemu also. The trouble starts on the laptop only.
Offline
Quick question, anyone - why doesn't Archie have logs, like regular Arch? The syslog-ng package is there, syslog-ng.conf is there, it's listed in rc.conf DAEMONS, but /var/log has almost nothing in it - in particular, no everything.log, and no Xorg.0.log when I try to start X.
Is there anything I can do to get the logs going?
Offline