Hardy beta boot sequence: Network mounts in fstab is done before network is ready.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sysvinit (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Network mounts in fstab is done before network is ready.
I have redirected documents, desktop etc to samba share on a NAS. After logging in it takes about 30 seconds to open documents on the mounted samba share. My guess is that the mount failed during boot and therefore it takes longer when I am opening the mount.
Looking at the kernel loggs for the boot sequence is seems like the cifs mount in fstab is done before the ethernet port is ready. Se the following:
...
Mar 29 14:04:57 Ubuntu-1 kernel: [ 27.339104] lp0: using parport0 (interrupt-driven).
Mar 29 14:04:57 Ubuntu-1 kernel: [ 27.434308] Adding 1646620k swap on /dev/sda5. Priority:-1 extents:1 across:1646620k
Mar 29 14:04:57 Ubuntu-1 kernel: [ 28.073536] EXT3 FS on sda1, internal journal
Mar 29 14:04:57 Ubuntu-1 kernel: [ 29.363556] ip_tables: (C) 2000-2006 Netfilter Core Team
Mar 29 14:04:57 Ubuntu-1 kernel: [ 29.721116] CIFS VFS: Error connecting to IPv4 socket. Aborting operation
Mar 29 14:04:57 Ubuntu-1 kernel: [ 29.721126] CIFS VFS: cifs_mount failed w/return code = -101
Mar 29 14:04:57 Ubuntu-1 kernel: [ 29.734240] CIFS VFS: Error connecting to IPv4 socket. Aborting operation
Mar 29 14:04:57 Ubuntu-1 kernel: [ 29.734246] CIFS VFS: cifs_mount failed w/return code = -101
Mar 29 14:04:57 Ubuntu-1 kernel: [ 29.735536] CIFS VFS: Error connecting to IPv4 socket. Aborting operation
Mar 29 14:04:57 Ubuntu-1 kernel: [ 29.735541] CIFS VFS: cifs_mount failed w/return code = -101
Mar 29 14:04:57 Ubuntu-1 kernel: [ 29.736675] CIFS VFS: Error connecting to IPv4 socket. Aborting operation
Mar 29 14:04:57 Ubuntu-1 kernel: [ 29.736680] CIFS VFS: cifs_mount failed w/return code = -101
Mar 29 14:04:57 Ubuntu-1 kernel: [ 29.744555] CIFS VFS: Error connecting to IPv4 socket. Aborting operation
Mar 29 14:04:57 Ubuntu-1 kernel: [ 29.744563] CIFS VFS: cifs_mount failed w/return code = -101
Mar 29 14:04:57 Ubuntu-1 kernel: [ 29.746131] CIFS VFS: Error connecting to IPv4 socket. Aborting operation
Mar 29 14:04:57 Ubuntu-1 kernel: [ 29.746136] CIFS VFS: cifs_mount failed w/return code = -101
Mar 29 14:04:57 Ubuntu-1 kernel: [ 29.990355] No dock devices found.
Mar 29 14:04:57 Ubuntu-1 kernel: [ 30.062690] ACPI: \_SB_.PCI0.
Mar 29 14:04:57 Ubuntu-1 kernel: [ 30.062698] ACPI: \_SB_.PCI0.
Mar 29 14:04:57 Ubuntu-1 kernel: [ 30.062750] ACPI: Bay [\_SB_.
Mar 29 14:04:58 Ubuntu-1 kernel: [ 31.586003] apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
Mar 29 14:04:58 Ubuntu-1 kernel: [ 31.586010] apm: disabled - APM is not SMP safe.
Mar 29 14:04:58 Ubuntu-1 kernel: [ 31.726293] ppdev: user-space parallel port driver
Mar 29 14:05:00 Ubuntu-1 kernel: [ 33.433817] Bluetooth: Core ver 2.11
Mar 29 14:05:00 Ubuntu-1 kernel: [ 33.434585] NET: Registered protocol family 31
Mar 29 14:05:00 Ubuntu-1 kernel: [ 33.434590] Bluetooth: HCI device and connection manager initialized
Mar 29 14:05:00 Ubuntu-1 kernel: [ 33.434595] Bluetooth: HCI socket layer initialized
Mar 29 14:05:00 Ubuntu-1 kernel: [ 33.544174] Bluetooth: L2CAP ver 2.9
Mar 29 14:05:00 Ubuntu-1 kernel: [ 33.544180] Bluetooth: L2CAP socket layer initialized
Mar 29 14:05:00 Ubuntu-1 kernel: [ 33.654475] Bluetooth: RFCOMM socket layer initialized
Mar 29 14:05:00 Ubuntu-1 kernel: [ 33.654491] Bluetooth: RFCOMM TTY layer initialized
Mar 29 14:05:00 Ubuntu-1 kernel: [ 33.654494] Bluetooth: RFCOMM ver 1.8
Mar 29 14:05:03 Ubuntu-1 kernel: [ 36.314510] tg3: eth0: Link is up at 1000 Mbps, full duplex.
Mar 29 14:05:03 Ubuntu-1 kernel: [ 36.314515] tg3: eth0: Flow control is on for TX and on for RX.
...
This also seems to go for wifi networks where it takes even longer for the network to be ready.
Regards, Dan
I'm seeing this as well. Also 9 times out of 10 the system hangs on shutdown with hal erros with the CIFS / VFS thing. last apt update was april 12th and its still present for me.