Skip to main content
Welcome guest. | Register | Login | Post

EasyLFS release

64 replies [Last post]
Offline
Joined: 2006-03-28
Please let me know if your

Please let me know if your USB-keyboard and everything else works.

libervisco's picture
Offline
Joined: 2006-05-04
Unfortunately I still seem

Unfortunately I still seem to be having a bad luck with EasyLFS. Sad

I booted the CD, saw a very nice looking grub screen, picked EasyLFS SMP and started booting. As it came to "waiting for USB devices" it took a while, but my USB keyboard and mouse didn't react.

But that doesn't seem to be the only trouble. Here I wrote down what it said:

* waiting for USB devices
* starting PCMCIA cardbus support
* waiting for PCMCIA devices...
Fatal Error occured - EasyLFS data not found.
You are maybe using an unsupported boot device (eg. SCSI or old PCMCIA).
Workaround: Copy the directory EasyLFS from your boot device to an IDE/SATA disk, eg. to /mnt/hda1/EasyLFS or C:/EasyLFS. Then try to boot again.
* Something went wrong and we can't continue. This should never happen.
* Please reboot your computer with Ctrl+Alt+Delete ...

Rebooting with those keys didn't work as my keyboard wasn't activated though. The fatal error seems quite peculiar though. I checked if I burned the CD right by looking up the md5sum of the downloaded iso and comparing it to the md5sum of the burned CD and it checks out, so the burn was fine (I didn't find an md5sum online to check the download, bus iso worked fine and my CD contains two folders; boot and EasyLFS.

About that workaround it mentioned, I am not sure how to do it. I guess I would have to put the EasyLFS folder to one of my partitions and then somehow modify a grub line to check there as root partition and on CD as boot partition, right?

Still, the reason why it doesn't work evades me.. The CD drive is a on a normal IDE interface and connected to the JMicron Parallel ATA controller on the motherboard (which I mentioned in an earlier blog entry). Maybe despite the fact that the kernel used by EasyLFS supports it (the infamous JMicron) the Linux Live scripts still don't?

Or maybe it isn't enabled in the default kernel... (I mentioned the necessary kernel settings in that blog entry).

Anyway.. here is my lspci:

00:00.0 Host bridge: Intel Corporation 82P965/G965 Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82P965/G965 PCI Express Root Port (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI #2 (rev 02)

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI #1 (rev 02)

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HB/HR (ICH8/R) LPC Interface Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801HR/HO/HH (ICH8R/DO/DH) SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc R430 [Radeon X800 (PCIE)]
01:00.1 Display controller: ATI Technologies Inc R430 [Radeon X800 (PCIE) Secondary]
03:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
03:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
04:00.0 Ethernet controller: Marvell Technology Group Ltd. Unknown device 4364 (rev 12)
05:00.0 Network controller: Techsan Electronics Co Ltd B2C2 FlexCopII DVB chip / Technisat SkyStar2 DVB card (rev 02)

I have highlighted what may be the relevant parts (USB and JMicron stuff). Also here is lsusb, although that might not be too useful..

Bus 007 Device 001: ID 0000:0000 
Bus 006 Device 001: ID 0000:0000 
Bus 005 Device 003: ID 03f0:0122 Hewlett-Packard
Bus 005 Device 002: ID 046d:c03d Logitech, Inc.
Bus 005 Device 001: ID 0000:0000 
Bus 004 Device 001: ID 0000:0000 
Bus 001 Device 003: ID 0403:6001 Future Technology Devices International, Ltd 8-bit FIFO
Bus 001 Device 001: ID 0000:0000 
Bus 002 Device 001: ID 0000:0000 
Bus 003 Device 003: ID 03f0:7404 Hewlett-Packard
Bus 003 Device 001: ID 0000:0000 

The HPs are my HP keyboard and an HP printer. The HP keyboard model is HP 6512-UK, but that's probably just a standard issue.

Also the CD/DVD drive is Optiarc AD-5170A (by Sony-NEC).

I'm willing to give it a few more tries with maybe some workarounds. If you've got any suggestions feel free to post it.

Thanks

Offline
Joined: 2006-03-28
I just had a quick look and

I just had a quick look and the JMicron-module is there. The problem might be that it might not get copied into the InitRD. I will check for this now.

It's quite strange that your keyboard isn't detected. I had a friend testing this and his report was that it worked.
I guess I'll really have to try to find a USB-keyboard and check around with that too.

Offline
Joined: 2006-03-28
Just checked. Neither the

Just checked.
Neither the drivers for USB-HID nor for any kind of storage-hardware ({P,S,}ATA, SCSI) gets copied to the Initial RAMDisk. This will most probably also result in problems with CD-drivers over SCSI/SATA and other PATA-controllers.

That the keyboard does not work at that point should be no problem as long everything else works. It should work after switching from the Init-system to the real system, where you never get because the data is not found.

Thanks a lot for your testing. I guess not many have that kind of "special setup" yet, so the bug stayed alive for quite some time.
Now I can directly target it and add the drivers to the InitRD.

tbuitenh's picture
Offline
Joined: 2005-12-21
I'll check it out sometime

I'll check it out sometime after I come back from iSummit. Too busy right now... Also, I have a USB keyboard (PS2 actually, but using a PS2 to USB converter because I have only USB ports), which appears to still be problematic for others.

Keep up the good work!

Offline
Joined: 2006-03-28
EasyLFS goes Wireless, and more info about the next release

Currently I'm planning on what to include in the next release of EasyLFS.
Since I want to enhance network-support I intend to integrate the Wireless-tools, pppd (including the PPPoE-plugin) and maybe even BlueZ for Bluetooth-support.

By using Fedora on my new notebook I became aware of sdparm, the SATA-alternative of hdparm, which also will be included in the next release.

Also I want to check if the InitRD calls UDev, if so it should be no problem to include more modules into it so that libervisco should finally be able to enjoy EasyLFS too. ;-)
So far I figure that the final problem now should be your ATA-controller, which does only work on ATA, but not with a normal IDE-driver. I think if you'd get past that point even your keyboard should work.
Therefor I'll try to tinker a bit with the InitRD to include more drivers, which will anyway be necessary for the eventually planned support for LVM.

Did anybody else test the CD? Or maybe even installed it? Any problems and/or comments?

I don't know yet if the next release will be 0.4 already. It actually sounds like a pretty big step to go from 0,3 to 0.4 without a release in between. But when I think about what I want to do I might go for it, take some more time and also implement some other features I've been thinking about which I'd like to have for 0.4, like the half-automatic kernel-configuration and rearranging the install-scripts for easier maintenance.

As said, comments and ideas are welcome, even blackmail. ;-)

libervisco's picture
Offline
Joined: 2006-05-04
Cool stuff. My connection

Cool stuff. Smiling My connection needs pppd to work, as well as support for SkyStar DVB cards for satellite DSL access. About ATA, I'm having similar issues with puppy as well, which I wanted to give a quick try these days (a guy in a net culture group I was with on saturday introduced me to it quite enthusiastically and gave me a CD).

I get a similar error with puppy as I do with EasyLFS:

cannot find Puppy on 'idecd' boot media.
PUPMODE=1 PDEV=
Exited to initial-ramdisk (initramfs) command line...
(the Linux-guru can now debug, 'e3' editor is available)

I tried enabling legacy support for SATA although my logic says that, since this is a PATA drive over a PATA JMicron controller it shouldn't be relation, but it didn't help anyway. It's a bit strage as some livecd's (debian, ubuntu, fedora (although I had a corrupt burn with it) etc.) seem to work while puppy and EasyLFS so far didn't. I guess it has something to do with the way those work.

Anyway, I hope we'll have more luck with EasyLFS 0.4. Smiling

Cheers

Offline
Joined: 2006-03-28
Hmm, I didn't have a look

Hmm, I didn't have a look at Puppy.
Did you try Slax? That would be interesting because maybe it's a problem of the Linux-Live-Scripts, what I suspect at this time.
I had a look into the InitRD and there are no special drivers at all, meaning that they expect the CD-drive to work with the standard IDE-driver.
This seems to work on most systems, but as you experienced, not on all.

As said, I'll play around a little with the script that creates the InitRD and try to enhance it by adding drivers to it and, if necessary, even UDev.
Running UDev inside the InitRD must be possible, Fedora does it too.

libervisco's picture
Offline
Joined: 2006-05-04
I didn't try slax yet. I

I didn't try slax yet. I will once I return from Dubrovnik. It makes sense though that the problem might be with Linux Live scripts if all these distros which don't work here use that (so it fits a pattern).

That at least moves us closer to a solution I suppose.

Offline
Joined: 2006-03-28
Until the next release

Until the next release there probably will be a new release of the scripts and I'll see what has changed. If there's better hardware-support it'll safe me some work, but I expect I'll have to change a few things there.
If so, I'll send them back to the developer (forgot his name right now ;-) ) as suggestion for inclusion.

Offline
Joined: 2006-03-28
Well, some work has been

Well, some work has been done during the last few days and it seems to be not so easy to include more modules into the InitRD and have them loaded.
One problem here could be that there is no UDev on the InitRD and that including it was not successful.
Now I'm trying to include a more static kernel for the CD, which contains all the IDE-,SCSI- and ATA-drivers. That should make it possible to run the CD on more machines.

@libervisco: If you have a little time I might prepare a Beta-CD (which mostly still is 0.3, with just few changes) for you to try to boot up. Knowing that this measure was a success would really help me to sleep better. ;-)

libervisco's picture
Offline
Joined: 2006-05-04
reptiler
reptiler wrote:

@libervisco: If you have a little time I might prepare a Beta-CD (which mostly still is 0.3, with just few changes) for you to try to boot up. Knowing that this measure was a success would really help me to sleep better. ;-)

Sure, just post it when you're ready and I'll test drive it when as soon as possible. Smiling

Offline
Joined: 2006-03-28
I think I can have a CD

I think I can have a CD ready by saturday. I'll let you know when and where it will be available.

By the way: Since I was playing around a little with InitRamFs for the last couple of days I will most probably be able to offer some really cool new features in EasyLFS 0.4.
These would be: Booting from a RAID, booting from a partition in LVM and booting from an encrypted partition.
I managed to get this running manually with EasyLFS 0.3 and will work on getting it done automatically for 0.4.

libervisco's picture
Offline
Joined: 2006-05-04
Goody. In that case I'll

Goody. Smiling

In that case I'll probably give it a spin in saturday, if I'm at home.. If not, and I download it before I go to the local net culture club, I might be able to try to boot it on one of the computers of the club. Smiling

Well, we'll see..

Cheers

Offline
Joined: 2006-03-28
I think I might have found

I think I might have found something new: Dynamic creation of /etc/fstab in InitRamFs.
Using partition-labels I detect the root-partition, mount it, create the fstab and boot the system. Is there any distro that does this? Except for LiveCDs maybe.
This gives some nice flexibility because the root-device can move to another partition (given you make sure it also will be labeled "root") or help with mobile disks, like connected to USB (which not always get the same device-number).
Seems to work pretty cool so far and I plan to implement it for EasyLFS 0.4. If this isn't used in other distros this would really be an outstanding feature of EasyLFS.
So, does anybody know if this method is already used by somebody else? If not maybe I should patent it. ;-) No, just kidding. But if this is new and if others think it's useful I would really enjoy being the first to have this and then see it spread.
This might be something that could help giving EasyLFS a little popularity-boost.

Also I'm working on an english version of the installation manual. I decided to use my website (don't be afraid of the .de-TLD, it's english), or better said the forum of my website, for this. Part of it is done already and I plan to finally finish it this weekend.

libervisco's picture
Offline
Joined: 2006-05-04
I wouldn't know if it's

I wouldn't know if it's unique or not as I haven't fiddled with the insides of many livecds, but it does sound interesting. Added flexibility is always great. Looking forward to trying..

Well.. I received your PM actually so I'll be downloading and trying the beta as soon as my download speed gets back up tonight.

Cheers

Offline
Joined: 2006-03-28
That feature isn't

That feature isn't implemented on the CD yet. Right now I'm just testing around in image-files, but all it looks really promising. Especially when I can automatically detect the root-device, and also other devices.
I was thinking about having 3 partitions detected in the InitRamFs, /, /boot and the swap-partition.
I think going through all devices and checking if there's a label would be too much, but since I can look for known labels with fsfind it's pretty easy to detect these.
Also with LVM it's easy to determine the root-partition since I can just call the volume root.
The only problem I see so far are encrypted partitions, and maybe RAID. For that I'll still have to check.
These might make it necessary to have a static fstab.

libervisco's picture
Offline
Joined: 2006-05-04
Sorry for the delay. I

Sorry for the delay. I moved to a new place so was busy with that. Getting settled now I decided to give EasyLFS beta a spin, but unfortunately with not much luck with the keyboard. :\

I see the error your warned me about which I should just dismiss by pressing enter, but the trouble is, I can't press it because the keyboard isn't working again. I'm really sorry for having to bring bad news again..

I tried connecting it through an USB-to-PS/2 converter to a PS/2 port but it didn't work there either.

Offline
Joined: 2006-03-28
Hmm, too bad. By now I

Hmm, too bad.
By now I figured out the problem. I don't know the exact reason but one of the boot-scripts causes this problem when booting from CD. It works fine when it boots from HD. Since this script doesn't do anything anyway I just removed it so the problem is gone too.

If you like I could upload another version tomorrow.

But that you came that far should be a good sign because this means it found your CD-drive, which in turn also means that the driver for your controller works.

libervisco's picture
Offline
Joined: 2006-05-04
Yeah, so some progress has

Yeah, so some progress has been made then. Smiling Feel free to upload anytime to libernod (our server), but I probably wont be able to download it for a while. I only have basic EDGE connection here and am waiting to get ADSL. When I get that I'll be able to download easily.

Cheers

Offline
Joined: 2006-03-28
Then I guess the best

Then I guess the best option will be that you let me know when you have a better line again since much work is being done on EasyLFS. Then I'll get you a fresh image when you are ready to go.

Offline
Joined: 2006-03-28
It's finally done: I just

It's finally done: I just finished the english version of the Installation Manual.
Over the next days and weeks I will transfer more information into the forum of my little website and hope to be able to reach a wider audience with EasyLFS by spreading the word in english.

libervisco's picture
Offline
Joined: 2006-05-04
It's a deal. I did a

It's a deal.

I did a request for a phone line and ADSL yesterday and now I'm just waiting for a call from a technician who'll come and check if everything's fine and if there's capacity. I hope not to wait for too long.

Cheers

tbuitenh's picture
Offline
Joined: 2005-12-21
All these links lead to

All these links lead to blank pages Puzzled

Offline
Joined: 2006-03-28
Thanks for the info. I have

Thanks for the info. I have updated my session-handling today to avoid having session-ids showing up when Yahoo comes around (already got some on Google, but it's getting better now with the adjusted code) and had an extra ] causing this problem.
It's fixed now so everything should be accessible now.

tbuitenh's picture
Offline
Joined: 2005-12-21
In another post I saw you

In another post I saw you mention EasyLFS uses LILO. LiLo is problematic on my system (very slow, doesn't depend on the distribution, and I don't know why) and also I prefer GrUB because it is easier to fix configureation mistakes and it doesn't need to be run each time the kernel is updated.

So here comes the obvious question: is there an option to use GrUB?

Offline
Joined: 2006-03-28
So far there's no option

So far there's no option for Grub yet, though it is planned to be offered at some not yet defined point.
The problems are that I've never worked with Grub yet, so I'll have to look into it first before I can implement it, and that I know that Grub doesn't use /dev/hdXY to address devices but something like hd0(0) or so, which I would then have to somehow resolve from the real device-name, which I'll also have to figure out first.

But as said, it is planned since I know that some people prefer Grub. But since I prefer Lilo and since it was easier for me to configure it by script it's the bootloader in use right now.

The only option to use Grub would be installing it manually after installation. That should be no problem at all.

libervisco's picture
Offline
Joined: 2006-05-04
Btw, if you'd like you can

Btw, if you'd like you can continue this thread in another thread. It's already on the second page which makes it heavy and it's not paging very well.

Cheers

Offline
Joined: 2006-03-28
Good idea, on next thing

Good idea, on next thing that comes up regarding EasyLFS I'll open a new topic.
Or if anybody has a question regarding EasyLFS he can also just open one.

tbuitenh's picture
Offline
Joined: 2005-12-21
Yes, installing grub later

Yes, installing grub later would work, as long as lilo is installed to the partition rather than the disk MBR. Lilo consists of only a few files so even removing it should be no problem if I should want to do so.

Converting linux device names to grub device names is not too difficult, the scheme below should work but please check with someone who has a sd rather than a hd:

/dev/AdB -- (XdY)
/dev/AdBC -- (XdY,Z)

with

if A == f:
X = f
Y = B
Z = undefined

else if A in {h, s}:
X = h
Y = B - a (a -- 0, b -- 1, c -- 2 etc)
Z = C - 1 (1 -- 0, 2 -- 1, 3 -- 2 etc)
endif

I have no clue what happens when one has both a hda and a sda.

By the way, I suggest moving the grub and lilo related posts to a new thread.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.