Tetyl
May 2nd, 2008, 07:37 PM
Since upgrading to 8.04 I've had much slower startups. It takes nearly a minute on the splash screen compared to less than 10 seconds before the upgrade.
By turning off the splash screen and inspecting what part of the the boot is taking so long, and then crawling through the syslog it appears that the problem is that Ubuntu creates a device /dev/sdc and tries to mount it. I only have 2 HDDs, sda and sdb, so there shouldn't be any sdc at all. Sure enough though, when I do lshw, I get this mysterious entry:
*-disk:2
description: SCSI Disk
physical id: 1
bus info: scsi@5:0.0.0
logical name: /dev/sdc
size: 320KiB (327KB)
The relevant syslog entries include (the last 3 entries repeat for a while):
May 2 17:06:26 Jon-Ubuntu kernel: [ 51.253156] sd 5:0:0:0: [sdc] 640 512-byte hardware sectors (0 MB)
May 2 17:06:26 Jon-Ubuntu kernel: [ 51.253163] sd 5:0:0:0: [sdc] Write Protect is off
May 2 17:06:26 Jon-Ubuntu kernel: [ 51.253165] sd 5:0:0:0: [sdc] Mode Sense: 00 3a 00 00
May 2 17:06:26 Jon-Ubuntu kernel: [ 51.253176] sd 5:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
May 2 17:06:26 Jon-Ubuntu kernel: [ 51.253202] sd 5:0:0:0: [sdc] 640 512-byte hardware sectors (0 MB)
May 2 17:06:26 Jon-Ubuntu kernel: [ 51.253213] sd 5:0:0:0: [sdc] Write Protect is off
May 2 17:06:26 Jon-Ubuntu kernel: [ 51.253215] sd 5:0:0:0: [sdc] Mode Sense: 00 3a 00 00
May 2 17:06:26 Jon-Ubuntu kernel: [ 51.253226] sd 5:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
May 2 17:06:26 Jon-Ubuntu kernel: [ 51.253228] sdc:<3>ata6.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
May 2 17:06:26 Jon-Ubuntu kernel: [ 81.183284] ata6.00: cmd c4/00:08:00:00:00/00:00:00:00:00/e0 tag 0 pio 4096 in
May 2 17:06:26 Jon-Ubuntu kernel: [ 81.183286] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
May 2 17:06:26 Jon-Ubuntu kernel: [ 81.183289] ata6.00: status: { DRDY }
May 2 17:06:26 Jon-Ubuntu kernel: [ 81.183298] ata6: soft resetting link
May 2 17:06:26 Jon-Ubuntu kernel: [ 86.367712] ata6: port is slow to respond, please be patient (Status 0xd0)
May 2 17:06:26 Jon-Ubuntu kernel: [ 91.173000] ata6: SRST failed (errno=-16)
May 2 17:06:26 Jon-Ubuntu kernel: [ 91.173003] ata6: soft resetting link
May 2 17:06:26 Jon-Ubuntu kernel: [ 96.358440] ata6: port is slow to respond, please be patient (Status 0xd0)
May 2 17:06:26 Jon-Ubuntu kernel: [ 101.163729] ata6: SRST failed (errno=-16)
May 2 17:06:26 Jon-Ubuntu kernel: [ 101.163732] ata6: soft resetting link
May 2 17:06:26 Jon-Ubuntu kernel: [ 106.347174] ata6: port is slow to respond, please be patient (Status 0xd0)
May 2 17:06:26 Jon-Ubuntu kernel: [ 136.128789] ata6: SRST failed (errno=-16)
May 2 17:06:26 Jon-Ubuntu kernel: [ 136.128794] ata6: soft resetting link
May 2 17:06:26 Jon-Ubuntu kernel: [ 141.145606] ata6: SRST failed (errno=-16)
May 2 17:06:26 Jon-Ubuntu kernel: [ 141.145608] ata6: reset failed, giving up
May 2 17:06:26 Jon-Ubuntu kernel: [ 141.145611] ata6.00: disabled
May 2 17:06:26 Jon-Ubuntu kernel: [ 141.145622] ata6: EH complete
May 2 17:06:26 Jon-Ubuntu kernel: [ 141.145634] sd 5:0:0:0: [sdc] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK
May 2 17:06:26 Jon-Ubuntu kernel: [ 141.145638] end_request: I/O error, dev sdc, sector 0
May 2 17:06:26 Jon-Ubuntu kernel: [ 141.145640] Buffer I/O error on device sdc, logical block 0
Any one have any ideas about how to get this behavior to stop? Maybe some way for Ubuntu just to ignore the device, or anything else that will help.
Thanks.
By turning off the splash screen and inspecting what part of the the boot is taking so long, and then crawling through the syslog it appears that the problem is that Ubuntu creates a device /dev/sdc and tries to mount it. I only have 2 HDDs, sda and sdb, so there shouldn't be any sdc at all. Sure enough though, when I do lshw, I get this mysterious entry:
*-disk:2
description: SCSI Disk
physical id: 1
bus info: scsi@5:0.0.0
logical name: /dev/sdc
size: 320KiB (327KB)
The relevant syslog entries include (the last 3 entries repeat for a while):
May 2 17:06:26 Jon-Ubuntu kernel: [ 51.253156] sd 5:0:0:0: [sdc] 640 512-byte hardware sectors (0 MB)
May 2 17:06:26 Jon-Ubuntu kernel: [ 51.253163] sd 5:0:0:0: [sdc] Write Protect is off
May 2 17:06:26 Jon-Ubuntu kernel: [ 51.253165] sd 5:0:0:0: [sdc] Mode Sense: 00 3a 00 00
May 2 17:06:26 Jon-Ubuntu kernel: [ 51.253176] sd 5:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
May 2 17:06:26 Jon-Ubuntu kernel: [ 51.253202] sd 5:0:0:0: [sdc] 640 512-byte hardware sectors (0 MB)
May 2 17:06:26 Jon-Ubuntu kernel: [ 51.253213] sd 5:0:0:0: [sdc] Write Protect is off
May 2 17:06:26 Jon-Ubuntu kernel: [ 51.253215] sd 5:0:0:0: [sdc] Mode Sense: 00 3a 00 00
May 2 17:06:26 Jon-Ubuntu kernel: [ 51.253226] sd 5:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
May 2 17:06:26 Jon-Ubuntu kernel: [ 51.253228] sdc:<3>ata6.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
May 2 17:06:26 Jon-Ubuntu kernel: [ 81.183284] ata6.00: cmd c4/00:08:00:00:00/00:00:00:00:00/e0 tag 0 pio 4096 in
May 2 17:06:26 Jon-Ubuntu kernel: [ 81.183286] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
May 2 17:06:26 Jon-Ubuntu kernel: [ 81.183289] ata6.00: status: { DRDY }
May 2 17:06:26 Jon-Ubuntu kernel: [ 81.183298] ata6: soft resetting link
May 2 17:06:26 Jon-Ubuntu kernel: [ 86.367712] ata6: port is slow to respond, please be patient (Status 0xd0)
May 2 17:06:26 Jon-Ubuntu kernel: [ 91.173000] ata6: SRST failed (errno=-16)
May 2 17:06:26 Jon-Ubuntu kernel: [ 91.173003] ata6: soft resetting link
May 2 17:06:26 Jon-Ubuntu kernel: [ 96.358440] ata6: port is slow to respond, please be patient (Status 0xd0)
May 2 17:06:26 Jon-Ubuntu kernel: [ 101.163729] ata6: SRST failed (errno=-16)
May 2 17:06:26 Jon-Ubuntu kernel: [ 101.163732] ata6: soft resetting link
May 2 17:06:26 Jon-Ubuntu kernel: [ 106.347174] ata6: port is slow to respond, please be patient (Status 0xd0)
May 2 17:06:26 Jon-Ubuntu kernel: [ 136.128789] ata6: SRST failed (errno=-16)
May 2 17:06:26 Jon-Ubuntu kernel: [ 136.128794] ata6: soft resetting link
May 2 17:06:26 Jon-Ubuntu kernel: [ 141.145606] ata6: SRST failed (errno=-16)
May 2 17:06:26 Jon-Ubuntu kernel: [ 141.145608] ata6: reset failed, giving up
May 2 17:06:26 Jon-Ubuntu kernel: [ 141.145611] ata6.00: disabled
May 2 17:06:26 Jon-Ubuntu kernel: [ 141.145622] ata6: EH complete
May 2 17:06:26 Jon-Ubuntu kernel: [ 141.145634] sd 5:0:0:0: [sdc] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK
May 2 17:06:26 Jon-Ubuntu kernel: [ 141.145638] end_request: I/O error, dev sdc, sector 0
May 2 17:06:26 Jon-Ubuntu kernel: [ 141.145640] Buffer I/O error on device sdc, logical block 0
Any one have any ideas about how to get this behavior to stop? Maybe some way for Ubuntu just to ignore the device, or anything else that will help.
Thanks.