* Re: grub-pc: installation failure under linux + udev [not found] <20080103221423.GA6243@example.org> @ 2008-01-03 23:54 ` Robert Millan 2008-01-05 1:31 ` Yoshinori K. Okuji 0 siblings, 1 reply; 4+ messages in thread From: Robert Millan @ 2008-01-03 23:54 UTC (permalink / raw) To: Pascal A. Dupuis; +Cc: grub-devel On Thu, Jan 03, 2008 at 11:14:23PM +0100, Pascal A. Dupuis wrote: > Hello, > > this is a copy of debian bug 450709 > (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=450709) at > debian maintainer's (Robert Millan <rmh at aybabtu dot com>) request: Thanks Pascal. > But ... util/biosdisk.c has another issue with detecting udev. The > routine has_devfs searchs for /dev/.devfsd, which cames from deprecated > devfs. Enclosed is a synthetic patch, I compiled and ran it fine on my > machine. Could you check ? The off-by-5 bug is already fixed in CVS. As for the devfs part, I think I figured out what you're doing. You setup udev to emulate devfs-style devices, right? I think the right fix for this is not to check for /dev/.udev, but rather just probe for devfs-style devices unconditionally. As it happens there are other ways in which one could have this layout, including other /dev implementations such as userdevfs. What does everyone else think? -- Robert Millan <GPLv2> I know my rights; I want my phone call! <DRM> What use is a phone call, if you are unable to speak? (as seen on /.) ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: grub-pc: installation failure under linux + udev 2008-01-03 23:54 ` grub-pc: installation failure under linux + udev Robert Millan @ 2008-01-05 1:31 ` Yoshinori K. Okuji 2008-01-05 12:01 ` Robert Millan 0 siblings, 1 reply; 4+ messages in thread From: Yoshinori K. Okuji @ 2008-01-05 1:31 UTC (permalink / raw) To: grub-devel; +Cc: Pascal A. Dupuis, Robert Millan On Friday 04 January 2008 00:54, Robert Millan wrote: > On Thu, Jan 03, 2008 at 11:14:23PM +0100, Pascal A. Dupuis wrote: > > Hello, > > > > this is a copy of debian bug 450709 > > (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=450709) at > > debian maintainer's (Robert Millan <rmh at aybabtu dot com>) request: > > Thanks Pascal. > > > But ... util/biosdisk.c has another issue with detecting udev. The > > routine has_devfs searchs for /dev/.devfsd, which cames from deprecated > > devfs. Enclosed is a synthetic patch, I compiled and ran it fine on my > > machine. Could you check ? > > The off-by-5 bug is already fixed in CVS. As for the devfs part, I think > I figured out what you're doing. You setup udev to emulate devfs-style > devices, right? > > I think the right fix for this is not to check for /dev/.udev, but rather > just probe for devfs-style devices unconditionally. > > As it happens there are other ways in which one could have this layout, > including other /dev implementations such as userdevfs. > > What does everyone else think? As long as it works fine, no problem. :) Okuji ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: grub-pc: installation failure under linux + udev 2008-01-05 1:31 ` Yoshinori K. Okuji @ 2008-01-05 12:01 ` Robert Millan [not found] ` <20080107173959.GB4680@example.org> 0 siblings, 1 reply; 4+ messages in thread From: Robert Millan @ 2008-01-05 12:01 UTC (permalink / raw) To: The development of GRUB 2; +Cc: Pascal A. Dupuis On Sat, Jan 05, 2008 at 02:31:51AM +0100, Yoshinori K. Okuji wrote: > On Friday 04 January 2008 00:54, Robert Millan wrote: > > On Thu, Jan 03, 2008 at 11:14:23PM +0100, Pascal A. Dupuis wrote: > > > Hello, > > > > > > this is a copy of debian bug 450709 > > > (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=450709) at > > > debian maintainer's (Robert Millan <rmh at aybabtu dot com>) request: > > > > Thanks Pascal. > > > > > But ... util/biosdisk.c has another issue with detecting udev. The > > > routine has_devfs searchs for /dev/.devfsd, which cames from deprecated > > > devfs. Enclosed is a synthetic patch, I compiled and ran it fine on my > > > machine. Could you check ? > > > > The off-by-5 bug is already fixed in CVS. As for the devfs part, I think > > I figured out what you're doing. You setup udev to emulate devfs-style > > devices, right? > > > > I think the right fix for this is not to check for /dev/.udev, but rather > > just probe for devfs-style devices unconditionally. > > > > As it happens there are other ways in which one could have this layout, > > including other /dev implementations such as userdevfs. > > > > What does everyone else think? > > As long as it works fine, no problem. :) Ok, fixed. -- Robert Millan <GPLv2> I know my rights; I want my phone call! <DRM> What use is a phone call, if you are unable to speak? (as seen on /.) ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <20080107173959.GB4680@example.org>]
* Re: grub-pc: installation failure under linux + udev [not found] ` <20080107173959.GB4680@example.org> @ 2008-01-07 18:55 ` Robert Millan 0 siblings, 0 replies; 4+ messages in thread From: Robert Millan @ 2008-01-07 18:55 UTC (permalink / raw) To: Pascal A. Dupuis; +Cc: The development of GRUB 2 On Mon, Jan 07, 2008 at 06:39:59PM +0100, Pascal A. Dupuis wrote: > On Sat, Jan 05, 2008 at 01:01:39PM +0100, Robert Millan wrote: > > > > > > > > What does everyone else think? > > > > > > As long as it works fine, no problem. :) > > > > Ok, fixed. > > > > I guess was I sent was the simplest test. Otherwise you should have > to start other processes, like: > ps ax| grep udev > udevinfo --query=all --name="dev of the root drive" > > OTOH, you could also apply the Open Source Motto, 'release early, release > often', so that others may further optimise my patch, if required. Actually, what I did was not checking for devfs at all, and probe for devfs-style devices unconditionally. -- Robert Millan <GPLv2> I know my rights; I want my phone call! <DRM> What use is a phone call, if you are unable to speak? (as seen on /.) ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-01-07 18:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20080103221423.GA6243@example.org>
2008-01-03 23:54 ` grub-pc: installation failure under linux + udev Robert Millan
2008-01-05 1:31 ` Yoshinori K. Okuji
2008-01-05 12:01 ` Robert Millan
[not found] ` <20080107173959.GB4680@example.org>
2008-01-07 18:55 ` Robert Millan
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.