Bug#262865: With two network interfaces after reboot uses the wrong one
Package: installation-reports
INSTALL REPORT
powerpc 20040724 businesscard OldWorld PowerMac kernel-2.6
Debian-installer-version: <Fill in date and from where you got the image>
sid_d-i/powerpc/20040731/sarge-powerpc-businesscard.iso
uname -a: <The result of running uname -a on a shell prompt>
Linux debian 2.6.7-powerpc #1 Sat Jul 10 03:47:45 CEST 2004 ppc GNU/Linux
Date: <Date and time of the install>
August 1, 2004
Method:
How did you install?
businesscard CD-ROM
What did you boot off?
MacOS-9 via BootX
If network install, from where? </etc/apt/sources.list>
#deb ftp://debian.uchicago.edu/debian/ sarge main
deb ftp://debian.uchicago.edu/debian/ testing main
deb-src ftp://debian.uchicago.edu/debian/ testing main
Proxied?
No
Machine:
OldWorld PowerMac G3 beige minitower, with two NICs
Processor:
G3
Memory:
384 MB
Root Device:
IDE /dev/hdg Root on /dev/hdg11
Root Size/partition table:
debian:~# mac-fdisk -l /dev/hdg
/dev/hdg
# type name length base ( size ) system
/dev/hdg1 Apple_partition_map Apple 63 @ 1 ( 31.5k) Partition map
/dev/hdg2 Apple_Driver43 Macintosh 54 @ 64 ( 27.0k) Driver 4.3
/dev/hdg3 Apple_Driver43 Macintosh 74 @ 118 ( 37.0k) Driver 4.3
/dev/hdg4 Apple_Driver_IOKit Macintosh 512 @ 192 (256.0k) Unknown
/dev/hdg5 Apple_Patches Patch Partition 512 @ 704 (256.0k) Unknown
/dev/hdg6 Apple_HFS MacOS9 2097152 @ 1216 ( 1.0G) HFS
/dev/hdg7 Apple_UNIX_SVR2 unused 19531251 @ 2098368 ( 9.3G) Linux native
/dev/hdg8 Apple_UNIX_SVR2 swap 1953126 @ 21629619 (953.7M) Linux swap
/dev/hdg9 Apple_UNIX_SVR2 unused 19531251 @ 23582745 ( 9.3G) Linux native
/dev/hdg10 Apple_UNIX_SVR2 unused 19531251 @ 43113996 ( 9.3G) Linux native
/dev/hdg11 Apple_UNIX_SVR2 root 19531251 @ 62645247 ( 9.3G) Linux native
/dev/hdg12 Apple_Free Extra 237996558 @ 82176498 (113.5G) Free space
Block size=512, Number of Blocks=320173056
DeviceType=0x0, DeviceId=0x0
Drivers-
1: @ 64 for 23, type=0x1
2: @ 118 for 36, type=0xffff
debian:~#
Script done on Sun Aug 1 20:02:17 2004
Output of lspci and lspci -n:
debian:~# lspci
0000:00:00.0 Host bridge: Motorola MPC106 [Grackle] (rev 40)
0000:00:0d.0 Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 10)
0000:00:0e.0 SCSI storage controller: Artop Electronic Corp ATP865 (rev 06)
0000:00:10.0 ff00: Apple Computer Inc. Heathrow Mac I/O (rev 01)
0000:00:12.0 VGA compatible controller: ATI Technologies Inc 3D Rage I/II 215GT [Mach64 GT] (rev 9a)
debian:~# lspci -n
0000:00:00.0 0600: 1057:0002 (rev 40)
0000:00:0d.0 0200: 1186:1300 (rev 10)
0000:00:0e.0 0100: 1191:0009 (rev 06)
0000:00:10.0 ff00: 106b:0010 (rev 01)
0000:00:12.0 0300: 1002:4754 (rev 9a)
debian:~#
Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it
Initial boot worked: [o]
Configure network HW: [o] Note 1
Config network: [?] Note 1
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: [?] Note 2
Comments/Problems:
<Description of the install, in prose, and any thoughts, comments
and ideas you had during the initial install.>
Note 1: This machine has two network interfaces. The first is the
10BaseT "bmac" controller that is standard on the
motherboard. The second is a D-Link 10/100-BaseT "DFE-530TX+"
PCI adapter card. For the present installation, I want to
ignore the first interface and use the second because it's faster.
The configure Network Hardware phase saw both interfaces and
installed modules for each. bmac for the onboard and 8139too
for the D-Link.
The Configure Network phase asked which one I wanted to use as
"primary". I told it to use the D-Link. It. It asked if I
wanted to use DHCP, I said no. I answered the questions about
network addresses etc (letting it take the default address for
the DNS server, which is the only way I have discovered to
make it work on this machine -- see Bug#261460). After the
last question, it proceeded automatically to load installer
modules. It never asked about the other interface.
All went well for the rest of the install until it came time
for the reboot...
Note 2: After the reboot, it installed the bmac module for the onboard
NIC, and ignored the D-Link NIC entirely! Since there was no
ethernet connected to the onboard interface, this didn't work
too well. After some casting about, I determined that the
problem was that the /etc/modules file had a "bmac" in it but
no "8139too" for the D-Link. I fixed that (so that it now had
an "8139too" but no "bmac") and rebooted again. All went well
after that.
Bottom line: When the machine has two NICs and you want to use the
second and ignore the first, you're out of luck, unless you
have the expertise to manually diddle the configuration files.
Install logs and other status info is available in /var/log/debian-installer/.
Once you have filled out this report, mail it to submit@bugs.debian.org.
Reply to: