Skip to contentSkip to conversation

grub2 bug and question

DISCUSSION Sergey Matveychuk 2 participants 4 messages Mar 11, 2004 – Mar 13, 2004

lore
Share & tools
lore
#0 lore raw

Hello.

I've begun work with grub2 sources. There is some progress.

I've found a bug:
util/pupa-emu.c:main() - grub2 can't guess a root device because pupa_guess_root_device() called before pupa_util_biosdisk_init().

pupa_guess_root_device() use map[] before it's filled in pupa_util_biosdisk_init().

Question: it's looks like a root command get only disk name (root (hd0)) and don't understand old syntax: root (hd0,1,a)?

---
Sem.

#2 lore raw
In reply to M. Gerards

Hi, Marco!

Quoted 2 lines · M. Gerards

Thanks for the report. I will have a look at this problem in the weekend. Can you descibe how I can reproduce your problem?

I'm waiting for your "normal mode patch" to confirm this problem if it will be staied there.

Signature · 1 line
Sem.
#1 lore raw
In reply to Sergey Matveychuk

Quoting Sergey Matveychuk <[email protected]>:

Quoted 10 lines

Hello.

I've begun work with grub2 sources. There is some progress.

I've found a bug:
util/pupa-emu.c:main() - grub2 can't guess a root device because pupa_guess_root_device() called before pupa_util_biosdisk_init().

pupa_guess_root_device() use map[] before it's filled in pupa_util_biosdisk_init().

Thanks for the report. I will have a look at this problem in the weekend. Can you descibe how I can reproduce your problem?

Quoted 2 lines

Question: it's looks like a root command get only disk name (root (hd0)) and don't understand old syntax: root (hd0,1,a)?

My guess is that no one worked on BSD support. There is something there, but I am not sure if it is tested.

The root command will be removed and variables will be used instead. For example:

root=(hd0,1)

--
Marco

#3 lore raw
In reply to Sergey Matveychuk

Sergey Matveychuk <[email protected]> writes:

Hi Sergey,

Quoted 6 lines
Quoted 2 lines · M. Gerards

Thanks for the report. I will have a look at this problem in the weekend. Can you descibe how I can reproduce your problem?

I'm waiting for your "normal mode patch" to confirm this problem if it will be staied there.

Okuji told me it would be ok to check this patch in. I am quite busy this week so I did not have the time to have a look at the patch, make one required modification and commit it.

Hopefully I will commit the patch this evening, otherwise it will be tomorrow evening.

--
Marco