I have an ubuntu dapper system with a peculiar problem. When the system boots, the loopback interface does not configure correctly. The physical adapter is OK, but not the lo.
Using GRUB I have booted into the recovery mode. This attempts to start the network. The eth0 interface comes up, but lo does not; running ifconfig yields no into for the loopback. Running 'ifup lo' gets me a message that says the interface is already configured.
At that point, if I run 'ifdown lo' and then 'ifup lo' it's fine, and I change my runlevel to boot.
Some files:
Code:
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
auto eth0
iface eth0 inet static
address 192.168.1.10
netmask 255.255.255.0
gateway 192.168.1.254
auto eth0:0
iface eth0:0 inet static
address 172.16.1.1
netmask 255.255.255.0
NOTE: I have also tried commenting out the address and netmask lines above, as well as the eth0 and eth0:0 portions. Same problems.
ifconfig result when it's working:
Code:
eth0 Link encap:Ethernet HWaddr 00:0F:B5:8D:74:F3
inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20f:b5ff:fe8d:74f3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12607 errors:0 dropped:0 overruns:0 frame:0
TX packets:13980 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2392457 (2.2 MiB) TX bytes:8144640 (7.7 MiB)
Interrupt:201 Base address:0xa000
eth0:0 Link encap:Ethernet HWaddr 00:0F:B5:8D:74:F3
inet addr:172.16.1.1 Bcast:172.16.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:201 Base address:0xa000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:9798 errors:0 dropped:0 overruns:0 frame:0
TX packets:9798 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15051534 (14.3 MiB) TX bytes:15051534 (14.3 MiB)
Note that when the system comes up, this result is just missing the lo portion.
Last is some of the dmesg result (too long for all):
(There's some problems at the end I don't get, some problem mounting /var/run too, but it's there, so I am not sure what's up...
Code:
[17179580.496000] Attempting manual resume
[17179580.508000] kjournald starting. Commit interval 5 seconds
[17179580.508000] EXT3-fs: mounted filesystem with ordered data mode.
[17179580.564000] usb 5-3.3: new low speed USB device using ehci_hcd and address 4
[17179580.680000] usbcore: registered new driver hiddev
[17179580.680000] input: Logitech Optical USB Mouse as /class/input/input1
[17179580.680000] input: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-0000:00:1d.7-3.1
[17179580.684000] input: HID 1267:0103 as /class/input/input2
[17179580.684000] input: USB HID v1.10 Keyboard [HID 1267:0103] on usb-0000:00:1d.7-3.3
[17179580.688000] input: HID 1267:0103 as /class/input/input3
[17179580.688000] input: USB HID v1.10 Device [HID 1267:0103] on usb-0000:00:1d.7-3.3
[17179580.688000] usbcore: registered new driver usbhid
[17179580.688000] drivers/usb/input/hid-core.c: v2.6:USB HID core driver
[17179580.864000] ieee1394: Host added: ID:BUS[0-00:1023] GUID[001485000012704c]
[17179590.108000] ts: Compaq touchscreen protocol output
[17179590.172000] sd 0:0:0:0: Attached scsi generic sg0 type 0
[17179590.172000] sd 0:0:1:0: Attached scsi generic sg1 type 0
[17179590.172000] sd 1:0:0:0: Attached scsi generic sg2 type 0
[17179591.980000] Linux agpgart interface v0.101 (c) Dave Jones
[17179592.000000] agpgart: Detected an Intel 945G Chipset.
[17179592.004000] agpgart: Detected 7932K stolen memory.
[17179592.020000] agpgart: AGP aperture is 256M @ 0xd0000000
[17179592.520000] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[17179592.556000] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[17179592.564000] input: PC Speaker as /class/input/input4
[17179592.572000] hw_random: RNG not detected
[17179592.700000] Floppy drive(s): fd0 is 1.44M
[17179592.752000] FDC 0 is a post-1991 82077
[17179592.828000] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level, low) -> IRQ 169
[17179592.828000] PCI: Setting latency timer of device 0000:00:1b.0 to 64
[17179592.836000] parport: PnPBIOS parport detected.
[17179592.836000] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
[17179593.212000] hda_codec: Unknown model for ALC882, trying auto-probe from BIOS...
[17179593.456000] r8169 Gigabit Ethernet driver 2.2LK loaded
[17179593.456000] ACPI: PCI Interrupt 0000:02:01.0[A] -> GSI 19 (level, low) -> IRQ 201
[17179593.456000] eth0: Identified chip type is 'RTL8169s/8110s'.
[17179593.456000] eth0: RTL8169 at 0xf8a1a000, 00:0f:b5:8d:74:f3, IRQ 201
[17179593.672000] lp0: using parport0 (interrupt-driven).
[17179593.720000] sbp2: $Rev: 1306 $ Ben Collins <bcollins@debian.org>
[17179593.720000] ieee1394: sbp2: Driver forced to serialize I/O (serialize_io=1)
[17179593.720000] ieee1394: sbp2: Try serialize_io=0 for better performance
[17179593.776000] Adding 1518068k swap on /dev/hda6. Priority:-1 extents:1 across:1518068k
[17179593.824000] EXT3 FS on hda3, internal journal
[17179594.052000] device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
[17179594.348000] cdrom: open failed.
[17179594.504000] device-mapper: dm-linear: Device lookup failed
[17179594.504000] device-mapper: error adding target to table
[17179594.504000] device-mapper: dm-linear: Device lookup failed
[17179594.504000] device-mapper: error adding target to table
[17179594.504000] device-mapper: dm-linear: Device lookup failed
[17179594.504000] device-mapper: error adding target to table
[17179594.504000] device-mapper: dm-linear: Device lookup failed
[17179594.504000] device-mapper: error adding target to table
[17179594.504000] device-mapper: dm-linear: Device lookup failed
[17179594.504000] device-mapper: error adding target to table
[17179594.504000] device-mapper: dm-linear: Device lookup failed
[17179594.504000] device-mapper: error adding target to table
[17179594.504000] device-mapper: dm-linear: Device lookup failed
[17179594.504000] device-mapper: error adding target to table
[17179594.508000] device-mapper: dm-linear: Device lookup failed
[17179594.508000] device-mapper: error adding target to table
[17179595.660000] ACPI: Power Button (FF) [PWRF]
[17179595.660000] ACPI: Power Button (CM) [PWRB]
[17179595.744000] ibm_acpi: ec object not found
[17179595.784000] pcc_acpi: loading...
[17179596.180000] acpi-cpufreq: CPU0 - ACPI performance management activated.
[17179596.180000] acpi-cpufreq: CPU1 - ACPI performance management activated.
[17179600.516000] NET: Registered protocol family 10
[17179600.516000] lo: Disabled Privacy Extensions
[17179600.516000] IPv6 over IPv4 tunneling driver
[17179603.448000] ppdev: user-space parallel port driver
[17179603.864000] apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
[17179603.864000] apm: disabled - APM is not SMP safe.
[17179604.788000] [drm] Initialized drm 1.0.1 20051102
[17179604.912000] ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 169
[17179604.912000] [drm] Initialized i915 1.4.0 20060119 on minor 0
[17179615.824000] ip_tables: (C) 2000-2002 Netfilter core team
[17179616.056000] Netfilter messages via NETLINK v0.30.
[17179616.064000] ip_conntrack version 2.4 (8127 buckets, 65016 max) - 232 bytes per conntrack
[17179656.636000] r8169: eth0: link up
[17179667.324000] eth0: no IPv6 routers present
[17179669.220000] apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
[17179669.220000] apm: disabled on user request.
[17179689.280000] Bluetooth: Core ver 2.8
[17179689.280000] NET: Registered protocol family 31
[17179689.280000] Bluetooth: HCI device and connection manager initialized
[17179689.280000] Bluetooth: HCI socket layer initialized
[17179689.284000] Bluetooth: L2CAP ver 2.8
[17179689.284000] Bluetooth: L2CAP socket layer initialized
[17179689.296000] Bluetooth: RFCOMM socket layer initialized
[17179689.296000] Bluetooth: RFCOMM TTY layer initialized
[17179689.296000] Bluetooth: RFCOMM ver 1.7
[17179689.484000] ibm_acpi: ec object not found
[17179693.292000] apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
[17179693.292000] apm: disabled on user request.
[17179698.432000] NET: Registered protocol family 17