We can not install Ubuntu server without the Problems.

Bug #1423419 reported by souhalt
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu
Expired
Undecided
Unassigned

Bug Description

How can we install Ubuntu server without the Problems?

* Problems of installation (for ubuntu-14.10-server-amd64, Broadcom 57780;tg3)

1. Why do the following problems occur during installation? How would those problems be resolved?

(1) Why is not the Ethernet controller (Broadcom 57780) detected in the configuring of "Detect network hardware", and is not the device driver (tg3.ko) used?

  When the installer's device driver (tg3.ko) is binary-compared with the installed device driver (tg3.ko), they are exactly the same.
  When the system has been booted after installation, the network (eth0) can be enabled, and the device driver (tg3.ko) is used.
  See "How to install Ubuntu server from iso file on HDD" and "System conditions" shown below.

(2) Why does the installer fail to download a file from the archive mirror (jp.archive.ubuntu.com) in the configuring of "Download installer components"?

  If the network (eth0) can be enabled during installation, would that succeed?
  When the system has been booted after installation, the network (eth0) can be enabled, and ping to the archive mirror (jp.archive.ubuntu.com) succeeds.
  See "System conditions" shown below.

(3) Why is the system powered off forcibly in the configuring of "Install or Enlist with Ubuntu MAAS Server"?

(4) Why is not a user name asked during creation of "a normal user account" in the configuring of "Set up users and passwords"?

(5) Why does the installer fail to download a file from the archive mirror (jp.archive.ubuntu.com) in the configuring of "Detect disks"?

  This is similar to 1. (2).

(6) Why does the installation step fail in the configuring of "Build LTSP chroot"?

  If the network (eth0) can be enabled during installation, would that succeed?

2. (How) is it possible to "make" (compile, build) the device driver (tg3.ko), and to let the installer load the driver?

(1) Why does it fail to "make" (compile, build) the device driver (tg3.ko)? How would this problem be resolved?

  Are some packages missing? If so, which additional packages have to be installed?
  See "make conditions" and "make.log" shown below.

(2) (How) is it possible to let the installer load the device driver (tg3.ko) in the configuring of "Load drivers from removable media" or "Detect virtual driver disks from hardware manufacturer"?

  (How) does the device driver (tg3.ko) have to be packaged?
  Even though the device driver (tg3.ko) was copied to the root directory of a partition on an external USB HDD, it was not loaded.

Note: See the following detailed informations.

Note: Refer to the following link for the Japanese edition.

https://forums.ubuntulinux.jp/viewtopic.php?id=17263

* Hardware specifications (for FMV-BIBLO NF/G70)

http://www.fmworld.net/fmv/pcpm1001/nf/method/#NFG70

* Download #1 (for ubuntu-14.10-server-amd64)

https://www.ubuntulinux.jp/ubuntu/mirrors#imagemirror
Ubuntu Releases
http://ubuntutym2.u-toyama.ac.jp/ubuntu/
ubuntu-14.10-server-amd64.iso
http://ubuntutym2.u-toyama.ac.jp/ubuntu/14.10/ubuntu-14.10-server-amd64.iso
 ubuntu-14.10-server-amd64.iso 610,271,232 bytes Ubuntu 14.10 (Utopic Unicorn)

https://www.ubuntulinux.jp/ubuntu/mirrors#archivemirror
Index of /ubuntu
http://ubuntutym.u-toyama.ac.jp/ubuntu/
vmlinuz
http://ubuntutym.u-toyama.ac.jp/ubuntu/dists/utopic/main/installer-amd64/current/images/hd-media/vmlinuz
 vmlinuz 6,403,032 bytes for utopic (Ubuntu 14.10), amd64, hd-media (FAT32 HDD), not gtk

initrd.gz
http://ubuntutym.u-toyama.ac.jp/ubuntu/dists/utopic/main/installer-amd64/current/images/hd-media/initrd.gz
 initrd.gz 11,849,040 bytes for utopic (Ubuntu 14.10), amd64, hd-media (FAT32 HDD), not gtk

* menu.lst for Grub4dos

# Load grub2 installed in the PBR of /dev/sdb12
title ubuntu-14.10-server-amd64 on (hd?,11)
root (hd1,11) || root (hd0,11)
chainloader +1

title ISO file [\\LINUX\\ubuntu-14.10-server-amd64.iso]
ls /LINUX/ubuntu-14.10-server-amd64.iso || find --set-root --ignore-floppies --ignore-cd /LINUX/ubuntu-14.10-server-amd64.iso
# Use vmlinuz (6,403,032 bytes) for utopic (Ubuntu 14.10), amd64, hd-media (FAT32 HDD), not gtk
# http://ubuntutym.u-toyama.ac.jp/ubuntu/dists/utopic/main/installer-amd64/current/images/hd-media/
#kernel /LINUX/utopic/amd64/hd-media/vmlinuz debian-installer/quiet=false debian-installer/splash=false file=/cdrom/preseed/ubuntu-server.seed vga=788 priority=critical auto=true
#kernel /LINUX/utopic/amd64/hd-media/vmlinuz debian-installer/quiet=false debian-installer/splash=false file=/cdrom/preseed/ubuntu-server.seed vga=788
#kernel /LINUX/utopic/amd64/hd-media/vmlinuz debian-installer/quiet=false debian-installer/splash=false file=/cdrom/preseed/ubuntu-server.seed vga=788 priority=high
#kernel /LINUX/utopic/amd64/hd-media/vmlinuz debian-installer/quiet=false debian-installer/splash=false file=/cdrom/preseed/ubuntu-server.seed vga=788 priority=medium
 kernel /LINUX/utopic/amd64/hd-media/vmlinuz debian-installer/quiet=false debian-installer/splash=false file=/cdrom/preseed/ubuntu-server.seed vga=788 priority=low
#kernel /LINUX/utopic/amd64/hd-media/vmlinuz debian-installer/quiet=false debian-installer/splash=false file=/cdrom/preseed/ubuntu-server.seed vga=788 priority=low rescue/enable=true
# Use initrd.gz (11,849,040 bytes) for utopic (Ubuntu 14.10), amd64, hd-media (FAT32 HDD), not gtk
# http://ubuntutym.u-toyama.ac.jp/ubuntu/dists/utopic/main/installer-amd64/current/images/hd-media/
 initrd /LINUX/utopic/amd64/hd-media/initrd.gz

* Batch to edit BCD for Grub4dos

@echo off
setlocal enabledelayedexpansion
if "%~1"=="-d" (
 for /F "usebackq tokens=1-2 delims={} " %%F in ("%~n0.log") do (
  set _ST=
  if not "%%~dpF"=="" set _ST= /store "%%~dpFBoot\BCD"
  echo GUID {%%G} to be deleted in "%%~dpFBoot\BCD"
  bcdedit!_ST! /delete {%%G}
 )
 if not !errorlevel!==0 echo Delete "%~n0.log" manually.
) else (
 if "%~dp1"=="" echo Usage: %~n0 [-d^|C:\^|D:\^|..]
 set _ST=
 if not "%~dp1"=="" set _ST= /store "%~dp1Boot\BCD"
 for /F "usebackq tokens=2 delims={}" %%G in (
  `bcdedit!_ST! /create /d "Grub4dos @BT" /application bootsector`
 ) do (
  echo "%~dp1" {%%G}>> "%~n0.log"
  echo GUID {%%G} created in "%~dp1Boot\BCD"
  bcdedit!_ST! /set {%%G} device boot
  bcdedit!_ST! /set {%%G} path "\grldr.mbr"
rem bcdedit!_ST! /set {bootmgr} displayorder {%%G} /addlast
  bcdedit!_ST! /set {bootmgr} displayorder {%%G} /addfirst
 )
)
endlocal

* How to install Ubuntu server from iso file on HDD (main points only)

Warning:

  In the case that grub2 has been installed in the PBR (Partition Boot Record), the installer may hang up during "Partitions formatting".
  In this case, it may not hang up if pre-formatted with GParted etc.

GParted -- Download
http://gparted.org/download.php

-? Choose language
--? Language:
--> English - English
--? Country, territory or area:
--> other
--? Continent or region:
--> Asia
--? Country, territory or area:
--> Japan
--? Country to base default locale setting on:
--> United States - en_US.UTF-8
--? Additional locales:
--> [Choose "ja_JP.EUC-JP", "ja_JP.UTF-8"]
--? System locale:
--> en_US.UTF-8

-? Load debconf preconfiguration file
[Skip if not to enter OEM mode]

-? Execute a shell
~# lspci | grep -i net
18:00.0 Ethernet controller: Broadcom Corporation NetLink BCM57780 Gigabit Ethernet PCIe (rev 01)

-? Detect network hardware
--- No Ethernet card was detected. ...
--? Driver needed by your Ethernet card:
--> none of the above
 or
--> tg3: Broadcom Tigon3 Gigabit Ethernet [case of tg3]

-? Execute a shell
~# dmesg | grep mdio
[ 119.686746] libphy: tg3 mdio bus: probed

-? Choose a mirror of the Ubuntu archive
--? Protocol for file downloads:
--> http
--? Ubuntu archive mirror country:
--> Japan
--? Ubuntu archive mirror:
--> jp.archive.ubuntu.com

-? Download installer components
--- The installer failed to download a file from the mirror. ...
--? Downloading a file failed:
--> Cancel

-? Install or Enlist with Ubuntu MAAS Server
[Skip, otherwise somehow powered off forcibly]

-? Set up users and passwords
--? Enable shadow passwords?
--> <Yes>
--? Allow login as root?
--> <Yes>
--? Create a normal user account now?
--> <No>

-? Detect disks
--- The installer failed to download a file from the mirror. ...
--? Downloading a file failed:
--> Cancel

-? Install the system
--? Type of installation:
--> normal
--? Kernel to install:
--> linux-generic [linux-headers-* included]
--? Drivers to include in the initrd:
--> generic: include all available drivers

[Execute as follows unless in OEM mode]
-? Execute a shell
~# nano /etc/network/interfaces [Edit as follows]
>
> auto eth0
> iface eth0 inet dhcp
~# cp /etc/network/interfaces /target/etc/network/interfaces
~# cmp /lib/modules/3.16.0-23-generic/kernel/drivers/net/ethernet/broadcom/tg3.ko /target/lib/modules/3.16.0-23-generic/kernel/drivers/net/ethernet/broadcom/tg3.ko

-? Select and install software
--? How do you want to manage upgrades on this system?
--> No automatic updates
--? Download language support?
--> <Yes>
--? Choose software to install:
--> [Choose the items except for the "Mail server"]

-? Build LTSP chroot
--? Set up an LTSP chroot environment?
--> <Yes>
--- An installation step failed. ...
--> <Continue>

* Boot conditions

-? Ubuntu
-> Enter [to boot]
-> Ctrl+Alt+F1 [if the login prompt has not displayed]
-> Alt+PrtSc+R+S+E+I+U+B [only if the system is frozen]
-? login:

* System conditions (for Broadcom 57780;tg3, 3.16.0-23-generic)

~# lspci | grep -i net
18:00.0 Ethernet controller: Broadcom Corporation NetLink BCM57780 Gigabit Ethernet PCIe (rev 01)
~# lshw -C network | grep driver
       configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.137 duplex=full firmware=sb ip=192.168.0.3 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
~# ping -c 4 jp.archive.ubuntu.com [OK]
~# uname -srvmpio
Linux 3.16.0-23-generic #31-Ubuntu SMP Tue Oct 21 17:56:17 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

* Download #2 (for Broadcom 57780;tg3)

http://ja.broadcom.com/
Ethernet NIC Driver Downloads | Broadcom
http://ja.broadcom.com/support/ethernet_nic/downloaddrivers.php
> NetLink 57xx
> Download drivers for the following current generation Ethernet chipsets:
> 5784, 5785, 57780, 57781, 57785, 57785x, 57788, 57790, 57791, 57795
Ethernet NIC NetLink Driver Downloads | Broadcom
http://ja.broadcom.com/support/ethernet_nic/netlink_k57.php
> Below you will find the latest drivers for Broadcom's NetLink Ethernet controllers:
> 5784, 5785, 57780, 57781, 57785, 57790, 57795
> Linux (tg3) 3.136h 08/19/14
Download Zip File
http://ja.broadcom.com/support/license.php?file=570x/linux-3.136h.zip
 linux-3.136h.zip 3,701,883 bytes
unzip-> tg3-3.136h.tar.gz 359,234 bytes

* make conditions (for 3.16.0-23-generic)

~# aptitude update
~# aptitude install make
~# aptitude install gcc
~# aptitude safe-upgrade linux-headers-3.16.0-23-generic [0 packages updated]
~# aptitude safe-upgrade linux-headers-3.16.0-23 [0 packages updated]

~# make clean
~# make > make.log 2>&1

* make.log (for Broadcom 57780;tg3, 3.16.0-23-generic)

sh makeflags.sh /lib/modules/3.16.0-23-generic/build > tg3_flags.h
make -C /lib/modules/3.16.0-23-generic/build SUBDIRS=/home/ubuntu/tg3-3.136h modules
make[1]: Entering directory '/usr/src/linux-headers-3.16.0-23-generic'
  CC [M] /home/ubuntu/tg3-3.136h/tg3.o
/home/ubuntu/tg3-3.136h/tg3.c:15159:2: error: unknown field ‘get_rxfh_indir’ specified in initializer
  .get_rxfh_indir = tg3_get_rxfh_indir,
  ^
/home/ubuntu/tg3-3.136h/tg3.c:15159:2: warning: initialization from incompatible pointer type
/home/ubuntu/tg3-3.136h/tg3.c:15159:2: warning: (near initialization for ‘tg3_ethtool_ops.get_rxfh’)
/home/ubuntu/tg3-3.136h/tg3.c:15160:2: error: unknown field ‘set_rxfh_indir’ specified in initializer
  .set_rxfh_indir = tg3_set_rxfh_indir,
  ^
/home/ubuntu/tg3-3.136h/tg3.c:15160:2: warning: initialization from incompatible pointer type
/home/ubuntu/tg3-3.136h/tg3.c:15160:2: warning: (near initialization for ‘tg3_ethtool_ops.set_rxfh’)
scripts/Makefile.build:263: recipe for target '/home/ubuntu/tg3-3.136h/tg3.o' failed
make[2]: *** [/home/ubuntu/tg3-3.136h/tg3.o] Error 1
Makefile:1345: recipe for target '_module_/home/ubuntu/tg3-3.136h' failed
make[1]: *** [_module_/home/ubuntu/tg3-3.136h] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.16.0-23-generic'
Makefile:91: recipe for target 'default' failed
make: *** [default] Error 2

Tags: bot-comment
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1423419/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu:
status: New → Confirmed
Paul White (paulw2u)
Changed in ubuntu:
status: Confirmed → Invalid
status: Invalid → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Ubuntu because there has been no activity for 60 days.]

Changed in ubuntu:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.