Bug#224620: dhcp & lvm problems, partconf & GRUB wishlist

2003-12-26 Thread Martin Michlmayr
* tbm <[EMAIL PROTECTED]> [2003-12-23 15:08]:
> We could not obtain an IP address from the network
> through DHCP.  DHCP is a system to automatically obtain IP addresses
> from a central server on your network.  Sometimes, DHCP servers are
> slow, so perhaps you might want to try this again.  Alternatively, if
> there is no DHCP server on your network, you can specify an IP address
> manually.
> 
>

Bug #221533 says this screen should also "say something about
connecting cables and/or consulting with system administrator about
configuration. As it is there's no context: what exactly are you
retrying?"

-- 
Martin Michlmayr
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#224620: dhcp & lvm problems, partconf & GRUB wishlist

2003-12-23 Thread David Nusinow
On Tue, Dec 23, 2003 at 03:08:46PM +0100, Martin Michlmayr wrote:
> Perhaps something like
> 
> We could not obtain an IP address from the network
> through DHCP.  DHCP is a system to automatically obtain IP addresses
> from a central server on your network.  Sometimes, DHCP servers are
> slow, so perhaps you might want to try this again.  Alternatively, if
> there is no DHCP server on your network, you can specify an IP address
> manually.
> 
>
> 
> 
> Something like that, just with better english...

This is very good. The only typo I see is "specify stasis IP address"
should be "specify static IP address".

 - David Nusinow


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#224620: dhcp & lvm problems, partconf & GRUB wishlist

2003-12-23 Thread Martin Michlmayr
* Gaudenz Steinlin <[EMAIL PROTECTED]> [2003-12-21 12:05]:
> _Description: Do you want to retry DHCP network configuration?
>  No IP address was offered during DHCP network configuration.  DHCP
> servers are sometimes really slow. If you wish, you can retry.
> 
> Do you have any suggestions on how this could be improved?

Perhaps something like

We could not obtain an IP address from the network
through DHCP.  DHCP is a system to automatically obtain IP addresses
from a central server on your network.  Sometimes, DHCP servers are
slow, so perhaps you might want to try this again.  Alternatively, if
there is no DHCP server on your network, you can specify an IP address
manually.

   


Something like that, just with better english...
-- 
Martin Michlmayr
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#224620: dhcp & lvm problems, partconf & GRUB wishlist

2003-12-21 Thread Gaudenz Steinlin
Am Sam, den 20.12.2003 schrieb Martin Michlmayr um 18:33:
> Package: installation-reports

> 
> Why do you ask for the debconf priority at the beginning?  I think it
> should just be "high" by default and people who want something lower can
> pass "DEBCONF_PRIORITY".  I guess/hope this is currently only asked for
> testing, and that it will be disabled later.  I chose "high".
I agree with you. This dialog was not written to be the second question
of the installer and should never be asked by default. Instead we should
try to provide good defaults so that almost any computer can be
installed with priority=high.

> 
> Apparently, it looks for DHCP automatically.  While the PC had a network
> card, it was not connected anywhere.  So I got the following error:
> 
>   Configure the network using dynamic addressing (DHCP)
>  Error
>   An error occured and the network configuration process has been aborted.
>   ...
> 
> Since I didn't chose DHCP, it would be good if a short explanation could be
> offered.  What DHCP is and why we tried to use it.  Some people might not
> know what DHCP is.
> 
> Since I didn't have or want a network, I wanted to choose "Detect and mount
> CD-ROM" next.  However, that would show the DHCP error again.  I could only
> continue after manually configuring an IP address.  Please don't assume I
> want a network just because I have a network card.  Also, why is the
> "manually configure network" so much further down the menu?

Some of the problems you describe are solved in CVS. The latest upload
of netcfg is currently stuck in the new queue. If you have the time
please test with netcfg from CVS (use the netcfg udeb instead of
netcfg-static and netcfg-dhcp)

The CVS version currently shows the following message when DHCP fails:
_Description: Do you want to retry DHCP network configuration?
 No IP address was offered during DHCP network configuration.  DHCP
servers are sometimes really slow. If you wish, you can retry.

Do you have any suggestions on how this could be improved?

I'm not completely sure why it tries to do DHCP all over again, but i
could imagine the following: After cdrom-detect the priority is bumped
to high again and main-menu automatically chooses dhcp again because it
is the default. 

Increasing the debconf-priority should be done with a smarter algorithm
that checks if the failed step now succeeded and not simply increases
the priority after some (possibly unrelated) step succeeded. 

Gaudenz



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#224620: dhcp & lvm problems, partconf & GRUB wishlist

2003-12-21 Thread Martin Michlmayr
* Glenn McGrath <[EMAIL PROTECTED]> [2003-12-21 09:02]:
> Its only logical that setting the priority should happen after the user
> has choosen a language, that way they have a better chance of
> understanding the issue.

Most users simply won't need it at all; and those you do can read
about it in the (translated) manual.

-- 
Martin Michlmayr
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#224620: dhcp & lvm problems, partconf & GRUB wishlist

2003-12-20 Thread Martin Michlmayr
* Denis Barbier <[EMAIL PROTECTED]> [2003-12-20 21:24]:
> > Why do you ask for the debconf priority at the beginning?  I think it
> > should just be "high" by default and people who want something lower can
> > pass "DEBCONF_PRIORITY".  I guess/hope this is currently only asked for
> > testing, and that it will be disabled later.  I chose "high".
> 
> I disagree, passing command line arguments is very painful when keyboard
> layout is not qwerty.

I'd like to see the command like argument "expert" recognized and to
mean "DEBCONF_PRIORITY=medium" (since this is really quite hard to
type and remember).  In fact, it would be great if F2 or something
like this would be "expert mode" and pass the DEBCONF_PRIORITY
argument to the kernel.

-- 
Martin Michlmayr
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#224620: dhcp & lvm problems, partconf & GRUB wishlist

2003-12-20 Thread Glenn McGrath
On Sat, 20 Dec 2003 18:33:56 +0100
Martin Michlmayr <[EMAIL PROTECTED]> wrote:

> Why do you ask for the debconf priority at the beginning?  I think it
> should just be "high" by default and people who want something lower
> can pass "DEBCONF_PRIORITY".  I guess/hope this is currently only
> asked for testing, and that it will be disabled later.  I chose
> "high".

Its only logical that setting the priority should happen after the user
has choosen a language, that way they have a better chance of
understanding the issue.


Glenn


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#224620: dhcp & lvm problems, partconf & GRUB wishlist

2003-12-20 Thread Martin Michlmayr
* tbm <[EMAIL PROTECTED]> [2003-12-20 18:33]:
> At some point I went into the partition a hard drive menu.  It showed me:
> 
> Finish
> I chose my hard drive, got into cfdisk, did my stuff and quit.  After that,
> the menu was on the hard drive again.  I think it should be one menu item
> further down (on "Finish" in my case, or on the 2nd hard drive if I had one).

218610: Skipping to the next partition in the list would be better

> /etc/mailname was "(none)" even though /etc/hosts contained the name of my
> machine.  Also, /etc/hostname contained "localhost" instead of the correct
> name.

182446: does not create /etc/hostname
212143: selected hostname is not retained after reboot

> I chose GRUB this time; it asked me on which device I want to install it.
> It gave me (hd0) as default and had some info about GRUB having a different
> device schema as Linux.  Who cares?  It would be much nicer if it would
> display a list of hard drives (a la partconf) and then translated it to
> GRUB's name itself.

220120: grub should use "select" question

> I chose reiserfs for the root partition this time.  After reboot, I saw:
> fsck.reiserfs: not found
> I guess reiserfsprogs should be installed if any reiserfs partition is
> used.

220282: should apt-install userspace tools for created filesystems

-- 
Martin Michlmayr
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#224620: dhcp & lvm problems, partconf & GRUB wishlist

2003-12-20 Thread Martin Michlmayr
* tbm <[EMAIL PROTECTED]> [2003-12-20 18:33]:
> Since I didn't have or want a network, I wanted to choose "Detect and mount
> CD-ROM" next.  However, that would show the DHCP error again.  I could only
> continue after manually configuring an IP address.  Please don't assume I
> want a network just because I have a network card.  Also, why is the
> "manually configure network" so much further down the menu?

Same as in #220264

-- 
Martin Michlmayr
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#224620: dhcp & lvm problems, partconf & GRUB wishlist

2003-12-20 Thread Denis Barbier
On Sat, Dec 20, 2003 at 06:33:56PM +0100, Martin Michlmayr wrote:
[...]
> Why do you ask for the debconf priority at the beginning?  I think it
> should just be "high" by default and people who want something lower can
> pass "DEBCONF_PRIORITY".  I guess/hope this is currently only asked for
> testing, and that it will be disabled later.  I chose "high".

I disagree, passing command line arguments is very painful when keyboard
layout is not qwerty.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#224620: dhcp & lvm problems, partconf & GRUB wishlist

2003-12-20 Thread Martin Michlmayr
Package: installation-reports

INSTALL REPORT

Debian-installer-version: daily built from 17-Dec-2003
http://people.debian.org/~manty/testing/netinst/i386/daily/
sarge-i386-netinst.iso  17-Dec-2003 07:34   120M
uname -a: 2.4.22
Date: Sat Dec 20 18:07:00 CET 2003
Method: boot from IDE CD-ROM, using netinst ISO

Machine: No-name desktop PC
Processor: K6-2 400 MHz
Memory: 128 MB
Root Device: IDE, also has a SCSI CD-ROM

Base System Installation Checklist:

Initial boot worked:[O]
Configure network HW:   [O]
Config network: [E]
Detect CD:  [O]
Load installer modules: [O]
Detect hard drives: [O]
Partition hard drives:  [O]
Create file systems:[O]
Mount partitions:   [O]
Install base system:[O]
Install boot loader:[O]
Reboot: [O]
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Comments/Problems:

Why do you ask for the debconf priority at the beginning?  I think it
should just be "high" by default and people who want something lower can
pass "DEBCONF_PRIORITY".  I guess/hope this is currently only asked for
testing, and that it will be disabled later.  I chose "high".

Apparently, it looks for DHCP automatically.  While the PC had a network
card, it was not connected anywhere.  So I got the following error:

  Configure the network using dynamic addressing (DHCP)
 Error
  An error occured and the network configuration process has been aborted.
  ...

Since I didn't chose DHCP, it would be good if a short explanation could be
offered.  What DHCP is and why we tried to use it.  Some people might not
know what DHCP is.

Since I didn't have or want a network, I wanted to choose "Detect and mount
CD-ROM" next.  However, that would show the DHCP error again.  I could only
continue after manually configuring an IP address.  Please don't assume I
want a network just because I have a network card.  Also, why is the
"manually configure network" so much further down the menu?

At some point I went into the partition a hard drive menu.  It showed me:

Finish
I chose my hard drive, got into cfdisk, did my stuff and quit.  After that,
the menu was on the hard drive again.  I think it should be one menu item
further down (on "Finish" in my case, or on the 2nd hard drive if I had one).

Before formating the hard drive, I got:
WARNING: This will destroy all data on the partitions you have assigned
file systems to.
...
Ready to create file systems and mount partitions

I told partconf to format one partition (/dev/hda1) while leaving the rest
alone (/dev/hda5 was to be mounted as /home; this was a hard drive which
had some Linux stuff on it already).  So obviously it is only going to
format _one_ partition, while mounting more than one.  It would be nice if
this warning would show me exactly which partitions it is going to format.
   e.g.
   Formating and mounting:
   /dev/hda1 (ext3)
   Just mounting:
   /dev/hda5

(It did the right thing, though, and only formated the first partition.)

Why is LILO installed by default?  I thought the decision was to go with
GRUB?

After rebooting:

/etc/mailname was "(none)" even though /etc/hosts contained the name of my
machine.  Also, /etc/hostname contained "localhost" instead of the correct
name.

The  key does not work in debconf to go to the last menu item.  I never
noticed this before, but this is really annoying.

No install-report.template file was in /root.

---

OK, then I tried another installation on the same box, this time with
debconf priority "medium".

I chose the lvm udeb, but when I wanted to create LVM partitions it told
me: The current kernel doesn't support the Logical Volume Manager.
And yes, there was no lvm-mod module anywhere.

Also, why is lvm10 used instead of lvm2?  2.4.23-1 will have the
device-mapper patch included so I hope we can switch to lvm2 then.

I chose GRUB this time; it asked me on which device I want to install it.
It gave me (hd0) as default and had some info about GRUB having a different
device schema as Linux.  Who cares?  It would be much nicer if it would
display a list of hard drives (a la partconf) and then translated it to
GRUB's name itself.

I chose reiserfs for the root partition this time.  After reboot, I saw:
fsck.reiserfs: not found
I guess reiserfsprogs should be installed if any reiserfs partition is
used.

Also, from LVM I got "modprobe: modprobe: Can't locate module block-major-114".
dmesg said:
loop: loaded (max 8 devices)
md: md driver 9.90.0 MAX_MD_DEVS=256, MD_SB_DISK=27
modprobe: modprobe: Can't locate module block-major-114
[repeat ~40-50 times]
vgcan -- "/etc/lvmtab" and "/etc/lvmtab.d" succesfully created

-- 
Martin Michlmayr
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]