realtek firmware not being installed by hw-detect/load_firmware

Bug #774474 reported by Pete Ashdown
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
base-installer (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: base-installer

Trying to install Natty 11.04 via PXE. The ethernet is a Realtek RTL8168d/8111d gigabit. It DHCPs and configures just fine. Then it downloads what it needs for partitioning and does that. After partitioning, it runs net/hw-detect.hotplug which discovers the interface as new, then strips it of any address/network configuration so the installer can not download anymore packages or proceed further.

Is there any way to disable this secondary hotplug detection of the ethernet interface?

Revision history for this message
Pete Ashdown (pashdown-xmission) wrote :

After more investigation, I found the root of the problem is that the firmware files "rtl_nic/rtl8168d-2.fw" and "rtl_nic/rtl8168d-1.fw" were not being properly installed by "d-i hw-detect/load_firmware boolean true". Without the firmware loaded, the interface has the unfortunate tendency to go down repeatedly.

Although these files are located in "ubuntu/pool/main/l/linux-firmware/linux-firmware_1.52.tar.gz" and "ubuntu/pool/main/l/linux-firmware/linux-firmware_1.52_all.deb", they are not included in "ubuntu/pool/main/l/linux-firmware/nic-firmware_1.52_all.udeb", which I believe may be the root of the problem.

I did a workaround for this by creating a tar file of the required firmwares and downloading it with the following preseed commands:

d-i preseed/early_command string cd /lib/firmware; \
wget http://pxeserver/pxe/ubuntu/11.04/desktop/common/realtek-firmware.tgz; \
tar zxvpf realtek-firmware.tgz; \
modprobe -r r8169; \
modprobe r8169; \
udhcpc

summary: - hotplug deconfigures ethernet
+ realtek firmware not being installed by hw-detect/load_firmware
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.