[bug] Wrong machtype argument passed for fuloong-2f

2011-10-29 Thread David Kuehling
hi, according to my /proc/cmdline grub passes machtype=lemote-fuloong-2f-unknown as first argument to the linux kernel. This is determined in linux.c: http://bzr.savannah.gnu.org/lh/grub/trunk/grub/annotate/head:/grub-core/loader/mips/linux.c however, Linux only understands lemote-fuloong-2f-bo

Re: [PATCH] Fix module relocation errors on PowerPC

2011-10-29 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 18.10.2011 07:49, Anton Blanchard wrote: > Hi, > >> Modules (and therefore the heap) need to be close to the executable to >> avoid requiring more complicated relocations. This patch uses the same >> method sparc does and puts the heap directly above the executable. > Sparc doesn't appear to cla

Re: #Patch : additional suffix for initrd files.

2011-10-29 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 29.10.2011 08:33, crocket wrote: > The patch is attached to this message and just modifies one line, so > it can be applied manually. > And it is against revision 3455. Where are such suffixes used? > > > ___ > Grub-devel mailing list > Grub-devel@gnu.

AFS and BFS removed. Unacceptable license.

2011-10-29 Thread Vladimir 'φ-coder/phcoder' Serbinenko
An unfortunate discovery has been done: our AFS code is based on fsys_afs.c and afs.h from Syllable GRUB Legacy. The files in question are not under FSF copyright, not licence-compatible and it wasn't announced what's the code based on when the patch was sent or committed. While first one is a mino

Re: [bug] Wrong machtype argument passed for fuloong-2f

2011-10-29 Thread Andreas Barth
* David Kuehling (dvdkh...@gmx.de) [111029 11:37]: > according to my /proc/cmdline grub passes > machtype=lemote-fuloong-2f-unknown as first argument to the linux > kernel. Did you see any issues because of that in Linux? Fallback within linux is MACH_LEMOTE_FL2F which is the one used with the arg

Re: [bug] Wrong machtype argument passed for fuloong-2f

2011-10-29 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 29.10.2011 12:37, Andreas Barth wrote: > * David Kuehling (dvdkh...@gmx.de) [111029 11:37]: >> according to my /proc/cmdline grub passes >> machtype=lemote-fuloong-2f-unknown as first argument to the linux >> kernel. > Did you see any issues because of that in Linux? Fallback within linux > is M

Re: [bug] Wrong machtype argument passed for fuloong-2f

2011-10-29 Thread Andreas Barth
* Vladimir 'φ-coder/phcoder' Serbinenko (phco...@gmail.com) [111029 12:42]: > On 29.10.2011 12:37, Andreas Barth wrote: > > * David Kuehling (dvdkh...@gmx.de) [111029 11:37]: > >> according to my /proc/cmdline grub passes > >> machtype=lemote-fuloong-2f-unknown as first argument to the linux > >> k

Re: [bug] Wrong machtype argument passed for fuloong-2f

2011-10-29 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 29.10.2011 12:45, Andreas Barth wrote: > * Vladimir 'φ-coder/phcoder' Serbinenko (phco...@gmail.com) [111029 12:42]: >> On 29.10.2011 12:37, Andreas Barth wrote: >>> * David Kuehling (dvdkh...@gmx.de) [111029 11:37]: according to my /proc/cmdline grub passes machtype=lemote-fuloong-2f-

Re: [bug] Wrong machtype argument passed for fuloong-2f

2011-10-29 Thread David Kuehling
> "Andreas" == Andreas Barth writes: > * David Kuehling (dvdkh...@gmx.de) [111029 11:37]: >> according to my /proc/cmdline grub passes >> machtype=lemote-fuloong-2f-unknown as first argument to the linux >> kernel. > Did you see any issues because of that in Linux? No, don't think so. (We

Re: [bug] Wrong machtype argument passed for fuloong-2f

2011-10-29 Thread Andreas Barth
* David Kuehling (dvdkh...@gmx.de) [111029 13:43]: > I didn't find a method to make linux report the actual mach type that it > is running with, so I don't know what it fell back to, and I just went > the safe route of patching my version of grub. It's displayed as part of /proc/cpuinfo. Andi _

Re: [bug] Wrong machtype argument passed for fuloong-2f

2011-10-29 Thread Andreas Barth
* Vladimir 'φ-coder/phcoder' Serbinenko (phco...@gmail.com) [111029 12:55]: > On 29.10.2011 12:45, Andreas Barth wrote: > > I personally don't see how we could correctly > > find out the different variants the linux kernel detects without using > > the information the kernel uses, i.e. the command

Re: AFS and BFS removed. Unacceptable license.

2011-10-29 Thread Dee Sharpe
Ok, so I'd assume that the AFS driver needs to be rewritten. Is it absolutely mandatory that copyright be assigned to the FSF? A. Demetrious Sharpe It's not a question of why I'm better than you, it's a question of why you're not as good as me. The fact that you fail to see the difference betwee

Re: AFS and BFS removed. Unacceptable license.

2011-10-29 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 29.10.2011 17:22, Dee Sharpe wrote: > Ok, so I'd assume that the AFS driver needs to be rewritten. Is it absolutely > mandatory that copyright be assigned to the FSF? > They need to be rewritten. Assignment can be discussed. I've already done a part of BFS (using "practical file system design"

Re: [bug] Wrong machtype argument passed for fuloong-2f

2011-10-29 Thread David Kuehling
> "Andreas" == Andreas Barth writes: > * David Kuehling (dvdkh...@gmx.de) [111029 11:37]: >> according to my /proc/cmdline grub passes >> machtype=lemote-fuloong-2f-unknown as first argument to the linux >> kernel. > Did you see any issues because of that in Linux? Fallback within linux > is

Re: [bug] Wrong machtype argument passed for fuloong-2f

2011-10-29 Thread Andreas Barth
* David Kuehling (dvdkh...@gmx.de) [111029 22:46]: > BTW it looks like it is impossible to override machtype= parameter from > the kernel command line configured in boot/grub/grub.cfg, since linux > code in loongson/common/machtype.c uses the first occurence of > "machtype=" in arcs_cmdline[]. Is t

Re: #Patch : additional suffix for initrd files.

2011-10-29 Thread crocket
Slackware's mkinitrd utility generates .gz files. 2011/10/29 Vladimir 'φ-coder/phcoder' Serbinenko : > On 29.10.2011 08:33, crocket wrote: >> The patch is attached to this message and just modifies one line, so >> it can be applied manually. >> And it is against revision 3455. > Where are such suf

Re: [bug] Wrong machtype argument passed for fuloong-2f

2011-10-29 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 29.10.2011 22:54, Andreas Barth wrote: > * David Kuehling (dvdkh...@gmx.de) [111029 22:46]: >> BTW it looks like it is impossible to override machtype= parameter from >> the kernel command line configured in boot/grub/grub.cfg, since linux >> code in loongson/common/machtype.c uses the first occ