realtek firmware not being installed by hw-detect/load_firmware
Bug #774474 reported by
Pete Ashdown
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-
Is there any way to disable this secondary hotplug detection of the ethernet interface?
To post a comment you must log in.
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; \ pxeserver/ pxe/ubuntu/ 11.04/desktop/ common/ realtek- firmware. tgz; \ firmware. tgz; \
wget http://
tar zxvpf realtek-
modprobe -r r8169; \
modprobe r8169; \
udhcpc