Skip to contentSkip to conversation

Absence notice

DISCUSSION Vladimir 'phcoder' Serbinenko 3 participants 7 messages Jul 2, 2009 – Jul 4, 2009

lore
Share & tools
lore
#0 lore raw

Hello. Tomorrow I go on my travel to France (RMLL) and won't be active till 14 July. I'll stay in contact but will not be able to review patches. I know that it doesn't change my status a lot right now - last week was pretty busy too. When I come back I'll catch up with the progress. If someone needs any of my patches in the trunk feel free to commit.
Could someone review nested partition patch? It changes sufficiently a lot to need a peer review and I need for clear network naming support (I plan to use a syntax like (ftp,192.168.1.1,21,user,pass)/grub.cfg ) @Pavel: thank you very much for being so active and pushing project forward.Keep up with the good work

Signature · 4 lines
Regards
Vladimir 'phcoder' Serbinenko

Personal git repository: http://repo.or.cz/w/grub2/phcoder.git
#1 lore raw
Quoted 2 lines · Vladimir 'phcoder' Serbinenko

Hello. Tomorrow I go on my travel to France (RMLL) and won't be active till 14 July.

Bon voyage! :-)

Quoted 6 lines

I'll stay in contact but will not be able to review
patches. I know that it doesn't change my status a lot right now - last week was pretty busy too. When I come back I'll catch up with the progress. If someone needs any of my patches in the trunk feel free to commit.
Could someone review nested partition patch?

It doesn't apply in loader/i386/pc/chainloader.c at all.

I think some parts could be split and applied separately. I don't think there are any objections against supporting nested partitions. But I think it would be better to support letters for BSD partitions if it's not too hard.

Quoted 3 lines

It changes sufficiently a
lot to need a peer review and I need for clear network naming support (I plan to use a syntax like (ftp,192.168.1.1,21,user,pass)/grub.cfg )

I think the networking is better split from GRUB as a separate project under GPLv2. It would be a huge effort to reimplement networking under GPLv3. And I don't see it as a priority. The priority should be supplanting GRUB1, yaboot and other bootloaders currently in use.

Quoted 2 lines

@Pavel: thank you very much for being so active and pushing project forward.Keep up with the good work

Thanks!

Signature · 2 lines
Regards,
Pavel Roskin
#2 lore raw
Quoted 5 lines · Pavel Roskin
Quoted 2 lines · Vladimir 'phcoder' Serbinenko

Hello. Tomorrow I go on my travel to France (RMLL) and won't be active till 14 July.

Bon voyage! :-)

Thanks

Quoted 9 lines
Quoted 7 lines

 I'll stay in contact but will not be able to review patches. I know that it doesn't change my status a lot right now - last week was pretty busy too. When I come back I'll catch up with the progress. If someone needs any of my patches in the trunk feel free to commit.
Could someone review nested partition patch?

It doesn't apply in loader/i386/pc/chainloader.c at all.

Ok, I'll rediff.

Quoted 2 lines

I think some parts could be split and applied separately.

I'll look but afair it's not possible without breaking something

Quoted 2 lines

 I don't think
there are any objections against supporting nested partitions.

Yes but I thought someone may have comments like "let's shave ths part from the kernel". The patch doesn't increase the core.img because increase of kernel size is compensated by pc.mod/bsdlabel.mod split. It the cases when bsdlabel.mod is used usually no modules like raid or lvm are used

Quoted 3 lines

But I
think it would be better to support letters for BSD partitions if it's not too hard.

It's done. THe patch treats 'a' and 1 completely alike

Quoted 8 lines
Quoted 4 lines

 It changes sufficiently a
lot to need a peer review and I need for clear network naming support (I plan to use a syntax like (ftp,192.168.1.1,21,user,pass)/grub.cfg )

I think the networking is better split from GRUB as a separate project under GPLv2.  It would be a huge effort to reimplement networking under GPLv3.

You wrong on this point because of http://www.sics.se/~adam/lwip/.
It's a complete TCP/IP stack with loads of features suited for preboot environment and under 3-clause BSD license. I'll use it as a base. We can import hw drivers from gPXE (most are GPLv3+-compatible) and FreeBSD then

Quoted 3 lines

 And I don't see it as a priority.  The priority should be supplanting GRUB1, yaboot and other bootloaders currently in use.

It's my priority. Solaris folks are willing to move to grub2 but are uncomfortable to lose netboot. (nested partitions and zfs were for them too) Additionaly I have a laptop without CD-ROM and want to push distributors to have completely network-based installation. For this a FTP or HTTP supportin grub would be very nice

Quoted 10 lines

--
Regards,
Pavel Roskin

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

Signature · 4 lines
Regards
Vladimir 'phcoder' Serbinenko

Personal git repository: http://repo.or.cz/w/grub2/phcoder.git
#3 lore raw
Quoted 2 lines · Vladimir 'phcoder' Serbinenko
Quoted 1 line

It doesn't apply in loader/i386/pc/chainloader.c at all.

Ok, I'll rediff.

Take your time.

Actually, the chainloader patch refers to "disk->parition" (misspelled "partition"), so i doubt that it was even compile tested.

Quoted 2 lines
Quoted 1 line

I think some parts could be split and applied separately.

I'll look but afair it's not possible without breaking something

We'll see when we have a working patch.

Quoted 7 lines
Quoted 2 lines

I don't think
there are any objections against supporting nested partitions.

Yes but I thought someone may have comments like "let's shave ths part from the kernel". The patch doesn't increase the core.img because increase of kernel size is compensated by pc.mod/bsdlabel.mod split. It the cases when bsdlabel.mod is used usually no modules like raid or lvm are used

Such objections may be raised once there is a patch that compiles. Distributors must consider worst case scenarios.

Quoted 4 lines
Quoted 3 lines

But I
think it would be better to support letters for BSD partitions if it's not too hard.

It's done. THe patch treats 'a' and 1 completely alike

Good!

Quoted 4 lines
Quoted 4 lines
Quoted 3 lines

It changes sufficiently a
lot to need a peer review and I need for clear network naming support (I plan to use a syntax like (ftp,192.168.1.1,21,user,pass)/grub.cfg )

Quoted 8 lines
Quoted 3 lines

I think the networking is better split from GRUB as a separate project under GPLv2. It would be a huge effort to reimplement networking under GPLv3.

You wrong on this point because of http://www.sics.se/~adam/lwip/.
It's a complete TCP/IP stack with loads of features suited for preboot environment and under 3-clause BSD license. I'll use it as a base. We can import hw drivers from gPXE (most are GPLv3+-compatible) and FreeBSD then

OK, good to know.

Quoted 8 lines
Quoted 3 lines

And I don't see it as a priority. The priority should be
supplanting GRUB1, yaboot and other bootloaders currently in use.

It's my priority. Solaris folks are willing to move to grub2 but are uncomfortable to lose netboot. (nested partitions and zfs were for them too) Additionaly I have a laptop without CD-ROM and want to push distributors to have completely network-based installation. For this a FTP or HTTP supportin grub would be very nice

I see.

Signature · 2 lines
Regards,
Pavel Roskin
#4 lore raw
Quoted 9 lines · Pavel Roskin
Quoted 2 lines · Vladimir 'phcoder' Serbinenko
Quoted 1 line

It doesn't apply in loader/i386/pc/chainloader.c at all.

Ok, I'll rediff.

Take your time.

Actually, the chainloader patch refers to "disk->parition" (misspelled "partition"), so i doubt that it was even compile tested.

My bad. Normally I test my patches and perhaps I just compiled wrong directory (I build externally and may have forgotten configure). I don't remember what exactly happened but I clearly did a big mistake /me feels ashamed

Quoted 11 lines
Quoted 7 lines
Quoted 2 lines

I don't think
there are any objections against supporting nested partitions.

Yes but I thought someone may have comments like "let's shave ths part from the kernel". The patch doesn't increase the core.img because increase of kernel size is compensated by pc.mod/bsdlabel.mod split. It the cases when bsdlabel.mod is used usually no modules like raid or lvm are used

Such objections may be raised once there is a patch that compiles. Distributors must consider worst case scenarios.

If worst-case scenarios don't fit into mbr gap we may consider another approaches
1) progressive loading (e.g. FS-parsing bootsectors in worst case bring some kind of stage1.5 back)
2) replace lzma with xz
3) use another embedding areas. E.g. lvm has to divide PV in PE of equal length. This often results in last block of space being smaller then PE. This space is reported by pvdisplay as unusable and we may use it w/o problems. I'm not an lvm expert though so don't rely on my word

Quoted 1 line

OK, good to know.

Well it's still a considerable effort but not as hge as implementing TCP/IP stack from scratch

Signature · 4 lines
Regards
Vladimir 'phcoder' Serbinenko

Personal git repository: http://repo.or.cz/w/grub2/phcoder.git
#5 lore raw
Quoted 8 lines · Vladimir 'phcoder' Serbinenko
Quoted 8 lines
Quoted 7 lines
Quoted 2 lines

I don't think
there are any objections against supporting nested partitions.

Yes but I thought someone may have comments like "let's shave ths part from the kernel". The patch doesn't increase the core.img because increase of kernel size is compensated by pc.mod/bsdlabel.mod split. It the cases when bsdlabel.mod is used usually no modules like raid or lvm are used

Quoted 7 lines
Quoted 3 lines

Such objections may be raised once there is a patch that compiles. Distributors must consider worst case scenarios.

If worst-case scenarios don't fit into mbr gap we may consider another approaches
1) progressive loading (e.g. FS-parsing bootsectors in worst case bring some kind of stage1.5 back)

I don't think this would be very popular.

Quoted 1 line

2) replace lzma with xz

I'm afraid it's the same thing essentially.

Quoted 5 lines

3) use another embedding areas. E.g. lvm has to divide PV in PE of equal length. This often results in last block of space being smaller then PE. This space is reported by pvdisplay as unusable and we may use it w/o problems. I'm not an lvm expert though so don't rely on my word

Or just use a separate partition.

Actually, it's a fair game not to support some especially convoluted configurations.

Signature · 2 lines
Regards,
Pavel Roskin
#6 lore raw
In reply to Vladimir 'phcoder' Serbinenko
Quoted 10 lines · Vladimir 'phcoder' Serbinenko

If worst-case scenarios don't fit into mbr gap we may consider another approaches
1) progressive loading (e.g. FS-parsing bootsectors in worst case bring some kind of stage1.5 back)
2) replace lzma with xz
3) use another embedding areas. E.g. lvm has to divide PV in PE of equal length. This often results in last block of space being smaller then PE. This space is reported by pvdisplay as unusable and we may use it w/o problems. I'm not an lvm expert though so don't rely on my word

Please, strive for simplicity. We're not compelled to engineer such kind of complicated solutions (except for changing our compressor) just because some of our users insist in giving us crappy disk layouts and want us to support them.

We don't have to support everything at all cost. Some problems are much more easily solved by just saying no.

Signature · 5 lines
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."