Re: generally successful install report from usb keychain
Am Die, den 30.12.2003 schrieb Joey Hess um 22:00:
> Some ugly things during boot:
>
> - discover decided I should have a i810_rng module, but this module
> failed to load with "No such device".
According to pci.lst these devices need the i810_rng module:
80862418 bridge i810_rng 82801AA PCI Bridge
80862428 bridge i810_rng 82801AB PCI Bridge
80862430 bridge i810_rng 82801AB PCI Bridge
80862448 bridge i810_rng 82815 PCI Bridge
8086244e unknown i810_rng 82820 820 (Camino 2) Chipset PCI
8086245e unknown i810_rng 82801E PCI Bridge
Which one matches the pci id on your device?
> exim4 has a very strange default mail name:
> 127.0.0.1 localhost
> What on earth? Taking a look at /etc/mailname, I see:
>
> 127.0.0.1 localhost
> 192.168.1.1 debian. debian
>
> Something is _very_ broken here. FWIW, my /etc/hosts has the same.
> /etc/hostname has "debian."; I don't know why the period is there.
>
I don't know where the dot comes from neither...
I'm wondering where /etc/hostname comes from at all...
The wired /etc/mailname comes from my totaly wrong fix for the mailname
issue (prebaseconfig copied /etc/hosts to /target/etc/mailname).
The patch I attached should fix this in theory, but as I only have a
modem connection atm I'm unable to test it. I will try to do at least
half of an install.
Gaudenz
Index: netcfg-common.c
===================================================================
RCS file: /cvsroot/d-i/debian-installer/tools/netcfg/netcfg-common.c,v
retrieving revision 1.9
diff -u -u -r1.9 netcfg-common.c
--- netcfg-common.c 27 Dec 2003 02:47:13 -0000 1.9
+++ netcfg-common.c 30 Dec 2003 22:33:30 -0000
@@ -455,7 +455,9 @@
di_system_prebaseconfig_append(prebaseconfig, "cp %s %s\n",
HOSTS_FILE, "/target" HOSTS_FILE);
di_system_prebaseconfig_append(prebaseconfig, "cp %s %s\n",
- HOSTS_FILE, "/target" MAIL_FILE);
+ HOSTNAME_FILE, "/target" MAILNAME_FILE);
+ di_system_prebaseconfig_append(prebaseconfig, "cp %s %s\n",
+ HOSTNAME_FILE, "/target" HOSTNAME_FILE);
}
if ((fp = file_open(RESOLV_FILE, "w"))) {
Index: netcfg.h
===================================================================
RCS file: /cvsroot/d-i/debian-installer/tools/netcfg/netcfg.h,v
retrieving revision 1.15
diff -u -u -r1.15 netcfg.h
--- netcfg.h 24 Dec 2003 00:13:46 -0000 1.15
+++ netcfg.h 30 Dec 2003 22:33:30 -0000
@@ -9,7 +9,8 @@
#define DHCPCD_DIR "/etc/dhcpc"
#define INTERFACES_FILE "/etc/network/interfaces"
#define HOSTS_FILE "/etc/hosts"
-#define MAIL_FILE "/etc/mailname"
+#define MAILNAME_FILE "/etc/mailname"
+#define HOSTNAME_FILE "/etc/hostname"
#define NETWORKS_FILE "/etc/networks"
#define RESOLV_FILE "/etc/resolv.conf"
#define DHCPCD_FILE "/etc/dhcpc/config"
Reply to: