e-sata hotplug management on feisty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
linux-source-2.6.20 (Ubuntu) |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: linux-source-2.6.20
Hi,
I have an external combo USD + e-sata hard drive enclosure, model Cooler Master X Craft RX-S3B, described here:
http://
Seagate SATA 500GB disk inside.
It works fine as USB drive (20-25MB/s write) + USB hub under feisty herd 3 with all updates.
I plugged in the provided eSATA bracket and connected the external HD via an eSATA cable, set the BIOS SATA handling of to AHCI (motherboard Gigabyte GA-965GM-S2 with Intel G965 Express chipset). Internal SATA HDD (pc2 /dev/sdb 500GB) was recognized, a small USB external hard drive was also recognized too (LACIE /dev/sdc 120GB).
The external eSATA drive was not mounted as is. So I powered if off.
Then here is what I did, and impact on /var/log/messages:
# turn on power of esata disk enclosure
Feb 12 23:13:13 pc2 kernel: [ 2387.088119] SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Feb 12 23:13:13 pc2 kernel: [ 2387.088385] SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
Feb 12 23:13:13 pc2 kernel: [ 2387.088400] sda: Write Protect is off
Feb 12 23:13:13 pc2 kernel: [ 2387.088665] SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Feb 12 23:13:13 pc2 kernel: [ 2387.088672] sda: sda1
Feb 12 23:13:13 pc2 kernel: [ 2387.109996] sd 1:0:0:0: Attached scsi disk sda
Feb 12 23:13:13 pc2 kernel: [ 2387.110040] sd 1:0:0:0: Attached scsi generic sg0 type 0
# I added the following line to /etc/fstab:
#$ grep xcraft /etc/fstab
#LABEL=xcraft /mnt/xcraft ext3 defaults,
#$ mount -a
Feb 12 23:13:22 pc2 kernel: [ 2395.588863] kjournald starting. Commit interval 5 seconds
Feb 12 23:13:22 pc2 kernel: [ 2395.589199] EXT3 FS on sda1, internal journal
Feb 12 23:13:22 pc2 kernel: [ 2395.589205] EXT3-fs: mounted filesystem with ordered data mode.
# icon "xcraft" appears on desktop
# right click and choose "unmount volume" says "You are not privileged to unmount the volume 'xcraft'."
# Details: "umount: only root can unmount LABEL=xcraft from /mnt/xcraft
#$ umount /mnt/xcraft
# icon "xcraft" disappears from desktop
# unplug disk e-sata cable
Feb 12 23:15:28 pc2 kernel: [ 2521.745511] ata1: soft resetting port
Feb 12 23:15:28 pc2 kernel: [ 2521.745522] ata1: SATA link down (SStatus 0 SControl 300)
Feb 12 23:15:28 pc2 kernel: [ 2521.745532] ata1: failed to recover some devices, retrying in 5 secs
Feb 12 23:15:34 pc2 kernel: [ 2527.253004] ata1: hard resetting port
Feb 12 23:15:34 pc2 kernel: [ 2527.975895] ata1: SATA link down (SStatus 0 SControl 300)
Feb 12 23:15:34 pc2 kernel: [ 2527.975907] ata1: failed to recover some devices, retrying in 5 secs
Feb 12 23:15:40 pc2 kernel: [ 2533.483379] ata1: hard resetting port
Feb 12 23:15:41 pc2 kernel: [ 2534.207767] ata1: SATA link down (SStatus 0 SControl 300)
Feb 12 23:15:41 pc2 kernel: [ 2534.207779] ata1.00: disabled
Feb 12 23:15:41 pc2 kernel: [ 2534.710984] ata1: EH complete
Feb 12 23:15:41 pc2 kernel: [ 2534.710997] ata1.00: detaching (SCSI 1:0:0:0)
Feb 12 23:15:41 pc2 kernel: [ 2534.711155] Synchronizing SCSI cache for disk sda:
Feb 12 23:15:41 pc2 kernel: [ 2534.713274] FAILED
Feb 12 23:15:41 pc2 kernel: [ 2534.713276] status = 0, message = 00, host = 4, driver = 00
# replug disk e-sata cable
Feb 12 23:16:17 pc2 kernel: [ 2534.713277] <3>ata1: exception Emask 0x10 SAct 0x0 SErr 0x4050000 action 0x2 frozen
Feb 12 23:16:18 pc2 kernel: [ 2571.110746] ata1: waiting for device to spin up (8 secs)
Feb 12 23:16:26 pc2 kernel: [ 2579.303487] ata1: soft resetting port
Feb 12 23:16:26 pc2 kernel: [ 2579.475243] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
Feb 12 23:16:26 pc2 kernel: [ 2579.476085] ata1.00: ATA-7, max UDMA/133, 976773168 sectors: LBA48 NCQ (depth 31/32)
Feb 12 23:16:26 pc2 kernel: [ 2579.477064] ata1.00: configured for UDMA/133
Feb 12 23:16:26 pc2 kernel: [ 2579.477072] ata1: EH complete
Feb 12 23:16:26 pc2 kernel: [ 2579.477317] scsi 1:0:0:0: Direct-Access ATA ST3500641AS 3.AA PQ: 0 ANSI: 5
Feb 12 23:16:26 pc2 kernel: [ 2579.478181] SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
Feb 12 23:16:26 pc2 kernel: [ 2579.478209] sda: Write Protect is off
Feb 12 23:16:26 pc2 kernel: [ 2579.478262] SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Feb 12 23:16:26 pc2 kernel: [ 2579.478525] SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
Feb 12 23:16:26 pc2 kernel: [ 2579.478540] sda: Write Protect is off
Feb 12 23:16:26 pc2 kernel: [ 2579.478807] SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Feb 12 23:16:26 pc2 kernel: [ 2579.478815] sda: sda1
Feb 12 23:16:26 pc2 kernel: [ 2579.487320] sd 1:0:0:0: Attached scsi disk sda
Feb 12 23:16:26 pc2 kernel: [ 2579.487358] sd 1:0:0:0: Attached scsi generic sg0 type 0
#$ mount -a
Feb 12 23:16:37 pc2 kernel: [ 2590.668968] kjournald starting. Commit interval 5 seconds
Feb 12 23:16:37 pc2 kernel: [ 2590.669285] EXT3 FS on sda1, internal journal
Feb 12 23:16:37 pc2 kernel: [ 2590.669291] EXT3-fs: mounted filesystem with ordered data mode.
Write performance of the mounted esata disk is 50MB/s, two times the USB one.
So in the end it worked with some manual config file editing and root access.
My question: how to make it work without editing /etc/fstab and without requiring root to mount/unmount?
Low priority of course but it would be nice to have this working just like USB :).
PS: information about my system:
$ cat /proc/version
Linux version 2.6.20-6-generic (root@yellow) (gcc version 4.1.2 20070106 (prerelease) (Ubuntu 4.1.1-21ubuntu7)) #2 SMP Wed Jan 31 19:04:30 UTC 2007
$ lspci
00:00.0 Host bridge: Intel Corporation 82P965/G965 Memory Controller Hub (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82G965 Integrated Graphics Controller (rev 02)
00:03.0 Communication controller: Intel Corporation 82P965/G965 HECI Controller (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HB/HR (ICH8/R) LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801H (ICH8 Family) 4 port SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801H (ICH8 Family) 2 port SATA IDE Controller (rev 02)
02:00.0 Ethernet controller: Marvell Technology Group Ltd. Unknown device 4364 (rev 12)
03:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
03:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
04:07.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)
$ dmesg
[ 0.000000] Linux version 2.6.20-6-generic (root@yellow) (gcc version 4.1.2 20070106 (prerelease) (Ubuntu 4.1.1-21ubuntu7)) #2 SMP Wed Jan 31 19:04:30 UTC 2007 (Ubuntu 2.6.20-
[ 0.000000] Command line: root=UUID=
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
[ 0.000000] BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 00000000cf7f0000 (usable)
[ 0.000000] BIOS-e820: 00000000cf7f0000 - 00000000cf7f3000 (ACPI NVS)
[ 0.000000] BIOS-e820: 00000000cf7f3000 - 00000000cf800000 (ACPI data)
[ 0.000000] BIOS-e820: 00000000d0000000 - 00000000e0000000 (reserved)
[ 0.000000] BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
[ 0.000000] BIOS-e820: 0000000100000000 - 000000012c000000 (usable)
[ 0.000000] Entering add_active_range(0, 0, 159) 0 entries of 3200 used
[ 0.000000] Entering add_active_range(0, 256, 849904) 1 entries of 3200 used
[ 0.000000] Entering add_active_range(0, 1048576, 1228800) 2 entries of 3200 used
[ 0.000000] end_pfn_map = 1228800
[ 0.000000] DMI 2.3 present.
[ 0.000000] ACPI: RSDP (v000 GBT ) @ 0x00000000000f6cd0
[ 0.000000] ACPI: RSDT (v001 GBT AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x00000000cf7f3040
[ 0.000000] ACPI: FADT (v001 GBT AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x00000000cf7f30c0
[ 0.000000] ACPI: MCFG (v001 GBT AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x00000000cf7f8200
[ 0.000000] ACPI: MADT (v001 GBT AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x00000000cf7f8100
[ 0.000000] ACPI: SSDT (v001 PmRef Cpu0Ist 0x00003000 INTL 0x20040311) @ 0x00000000cf7f8280
[ 0.000000] ACPI: SSDT (v001 PmRef CpuPm 0x00003000 INTL 0x20040311) @ 0x00000000cf7f8710
[ 0.000000] ACPI: DSDT (v001 GBT AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x0000000000000000
[ 0.000000] No NUMA configuration found
[ 0.000000] Faking a node at 000000000000000
[ 0.000000] Entering add_active_range(0, 0, 159) 0 entries of 3200 used
[ 0.000000] Entering add_active_range(0, 256, 849904) 1 entries of 3200 used
[ 0.000000] Entering add_active_range(0, 1048576, 1228800) 2 entries of 3200 used
[ 0.000000] Bootmem setup node 0 000000000000000
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0 -> 4096
[ 0.000000] DMA32 4096 -> 1048576
[ 0.000000] Normal 1048576 -> 1228800
[ 0.000000] early_node_map[3] active PFN ranges
[ 0.000000] 0: 0 -> 159
[ 0.000000] 0: 256 -> 849904
[ 0.000000] 0: 1048576 -> 1228800
[ 0.000000] On node 0 totalpages: 1030031
[ 0.000000] DMA zone: 56 pages used for memmap
[ 0.000000] DMA zone: 1076 pages reserved
[ 0.000000] DMA zone: 2867 pages, LIFO batch:0
[ 0.000000] DMA32 zone: 14280 pages used for memmap
[ 0.000000] DMA32 zone: 831528 pages, LIFO batch:31
[ 0.000000] Normal zone: 2464 pages used for memmap
[ 0.000000] Normal zone: 177760 pages, LIFO batch:31
[ 0.000000] ACPI: PM-Timer IO Port: 0x408
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[ 0.000000] Processor #0 (Bootup-CPU)
[ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
[ 0.000000] Processor #1
[ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] disabled)
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] dfl dfl lint[0x1])
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x02] dfl dfl lint[0x1])
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x03] dfl dfl lint[0x1])
[ 0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
[ 0.000000] IOAPIC[0]: apic_id 2, address 0xfec00000, GSI 0-23
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.000000] ACPI: IRQ0 used by override.
[ 0.000000] ACPI: IRQ2 used by override.
[ 0.000000] ACPI: IRQ9 used by override.
[ 0.000000] Setting APIC routing to physical flat
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] Nosave address range: 000000000009f000 - 00000000000a0000
[ 0.000000] Nosave address range: 00000000000a0000 - 00000000000f0000
[ 0.000000] Nosave address range: 00000000000f0000 - 0000000000100000
[ 0.000000] Nosave address range: 00000000cf7f0000 - 00000000cf7f3000
[ 0.000000] Nosave address range: 00000000cf7f3000 - 00000000cf800000
[ 0.000000] Nosave address range: 00000000cf800000 - 00000000d0000000
[ 0.000000] Nosave address range: 00000000d0000000 - 00000000e0000000
[ 0.000000] Nosave address range: 00000000e0000000 - 00000000fec00000
[ 0.000000] Nosave address range: 00000000fec00000 - 0000000100000000
[ 0.000000] Allocating PCI resources starting at e2000000 (gap: e0000000:1ec00000)
[ 0.000000] SMP: Allowing 4 CPUs, 2 hotplug CPUs
[ 0.000000] PERCPU: Allocating 34048 bytes of per cpu data
[ 0.000000] Built 1 zonelists. Total pages: 1012155
[ 0.000000] Kernel command line: root=UUID=
[ 0.000000] Initializing CPU#0
[ 0.000000] PID hash table entries: 4096 (order: 12, 32768 bytes)
[ 26.350551] Console: colour VGA+ 80x25
[ 26.352253] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[ 26.354263] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 26.354516] Checking aperture...
[ 26.354525] Calgary: detecting Calgary via BIOS EBDA area
[ 26.354526] Calgary: Unable to locate Rio Grande table in EBDA - bailing!
[ 26.354528] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 26.390096] Placing software IO TLB between 0x164c000 - 0x564c000
[ 26.422495] Memory: 3969716k/4915200k available (2197k kernel code, 150408k reserved, 1141k data, 300k init)
[ 26.499194] Calibrating delay using timer specific routine.. 4803.61 BogoMIPS (lpj=9607228)
[ 26.499237] Security Framework v1.0.0 initialized
[ 26.499241] SELinux: Disabled at boot.
[ 26.499260] Mount-cache hash table entries: 256
[ 26.499380] CPU: L1 I cache: 32K, L1 D cache: 32K
[ 26.499381] CPU: L2 cache: 4096K
[ 26.499383] CPU 0/0 -> Node 0
[ 26.499385] using mwait in idle threads.
[ 26.499386] CPU: Physical Processor ID: 0
[ 26.499387] CPU: Processor Core ID: 0
[ 26.499393] CPU0: Thermal monitoring enabled (TM2)
[ 26.499401] SMP alternatives: switching to UP code
[ 26.499528] ACPI: Core revision 20060707
[ 26.545183] Using local APIC timer interrupts.
[ 26.586787] result 16667139
[ 26.586788] Detected 16.667 MHz APIC timer.
[ 26.587184] SMP alternatives: switching to SMP code
[ 26.587205] Booting processor 1/2 APIC 0x1
[ 26.598066] Initializing CPU#1
[ 26.674925] Calibrating delay using timer specific routine.. 4800.45 BogoMIPS (lpj=9600905)
[ 26.674930] CPU: L1 I cache: 32K, L1 D cache: 32K
[ 26.674932] CPU: L2 cache: 4096K
[ 26.674934] CPU 1/1 -> Node 0
[ 26.674935] CPU: Physical Processor ID: 0
[ 26.674936] CPU: Processor Core ID: 1
[ 26.674941] CPU1: Thermal monitoring enabled (TM2)
[ 26.675348] Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz stepping 06
[ 26.678937] Brought up 2 CPUs
[ 26.678975] testing NMI watchdog ... OK.
[ 26.718950] time.c: Using 3.579545 MHz WALL PM GTOD PIT/TSC timer.
[ 26.718951] time.c: Detected 2400.067 MHz processor.
[ 26.764936] migration_cost=17
[ 26.765187] NET: Registered protocol family 16
[ 26.765250] ACPI: bus type pci registered
[ 26.767249] PCI: Using MMCONFIG at d0000000
[ 26.774389] ACPI: Interpreter enabled
[ 26.774391] ACPI: Using IOAPIC for interrupt routing
[ 26.774837] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 26.774840] PCI: Probing PCI hardware (bus 00)
[ 26.774997] Boot video device is 0000:00:02.0
[ 26.775318] PCI quirk: region 0400-047f claimed by ICH6 ACPI/GPIO/TCO
[ 26.775321] PCI quirk: region 0480-04bf claimed by ICH6 GPIO
[ 26.775800] PCI: Transparent bridge - 0000:00:1e.0
[ 26.775830] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[ 26.791161] ACPI: PCI Interrupt Routing Table [\_SB_.
[ 26.791327] ACPI: PCI Interrupt Routing Table [\_SB_.
[ 26.791492] ACPI: PCI Interrupt Routing Table [\_SB_.
[ 26.792334] ACPI: PCI Interrupt Routing Table [\_SB_.
[ 26.795090] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
[ 26.795280] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 11 12 *14 15)
[ 26.795468] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
[ 26.795659] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 11 12 14 *15)
[ 26.795847] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 *10 11 12 14 15)
[ 26.796035] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
[ 26.796226] ACPI: PCI Interrupt Link [LNK0] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
[ 26.796416] ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 5 *6 7 9 10 11 12 14 15)
[ 26.796573] Linux Plug and Play Support v0.97 (c) Adam Belay
[ 26.796579] pnp: PnP ACPI init
[ 26.799300] pnp: PnP ACPI: found 15 devices
[ 26.799336] PCI: Using ACPI for IRQ routing
[ 26.799338] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
[ 26.799412] PCI-GART: No AMD northbridge found.
[ 26.799768] pnp: 00:0b: ioport range 0x400-0x4bf could not be reserved
[ 26.799969] PCI: Ignore bogus resource 6 [0:0] of 0000:00:02.0
[ 26.799974] PCI: Bridge: 0000:00:1c.0
[ 26.799976] IO window: 5000-5fff
[ 26.799978] MEM window: disabled.
[ 26.799980] PREFETCH window: disabled.
[ 26.799983] PCI: Bridge: 0000:00:1c.1
[ 26.799985] IO window: 6000-6fff
[ 26.799988] MEM window: f0000000-f1ffffff
[ 26.799990] PREFETCH window: f4300000-f43fffff
[ 26.799993] PCI: Bridge: 0000:00:1c.2
[ 26.799994] IO window: 7000-8fff
[ 26.799997] MEM window: f4000000-f40fffff
[ 26.799999] PREFETCH window: disabled.
[ 26.800002] PCI: Bridge: 0000:00:1e.0
[ 26.800004] IO window: 9000-9fff
[ 26.800006] MEM window: f2000000-f3ffffff
[ 26.800009] PREFETCH window: f4400000-f44fffff
[ 26.800021] ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 16 (level, low) -> IRQ 16
[ 26.800025] PCI: Setting latency timer of device 0000:00:1c.0 to 64
[ 26.800034] ACPI: PCI Interrupt 0000:00:1c.1[B] -> GSI 17 (level, low) -> IRQ 17
[ 26.800038] PCI: Setting latency timer of device 0000:00:1c.1 to 64
[ 26.800047] ACPI: PCI Interrupt 0000:00:1c.2[C] -> GSI 18 (level, low) -> IRQ 18
[ 26.800050] PCI: Setting latency timer of device 0000:00:1c.2 to 64
[ 26.800055] PCI: Setting latency timer of device 0000:00:1e.0 to 64
[ 26.800080] NET: Registered protocol family 2
[ 26.842941] IP route cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 26.843191] TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
[ 26.844743] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[ 26.845262] TCP: Hash tables configured (established 262144 bind 65536)
[ 26.845264] TCP reno registered
[ 26.859132] checking if image is initramfs... it is
[ 27.348190] Freeing initrd memory: 6484k freed
[ 27.351033] audit: initializing netlink socket (disabled)
[ 27.351048] audit(117131602
[ 27.351186] VFS: Disk quotas dquot_6.5.1
[ 27.351202] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 27.351243] io scheduler noop registered
[ 27.351245] io scheduler anticipatory registered
[ 27.351246] io scheduler deadline registered
[ 27.351256] io scheduler cfq registered (default)
[ 27.351497] PCI: Setting latency timer of device 0000:00:1c.0 to 64
[ 27.351519] assign_
[ 27.351547] Allocate Port Service[
[ 27.351573] Allocate Port Service[
[ 27.351599] Allocate Port Service[
[ 27.351657] PCI: Setting latency timer of device 0000:00:1c.1 to 64
[ 27.351678] assign_
[ 27.351694] Allocate Port Service[
[ 27.351721] Allocate Port Service[
[ 27.351745] Allocate Port Service[
[ 27.351805] PCI: Setting latency timer of device 0000:00:1c.2 to 64
[ 27.351826] assign_
[ 27.351842] Allocate Port Service[
[ 27.351868] Allocate Port Service[
[ 27.351890] Allocate Port Service[
[ 27.368154] Real Time Clock Driver v1.12ac
[ 27.368198] Linux agpgart interface v0.101 (c) Dave Jones
[ 27.368200] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[ 27.368307] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 27.368408] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[ 27.368762] 00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 27.368901] 00:07: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[ 27.369065] mice: PS/2 mouse device common for all mice
[ 27.369514] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[ 27.369591] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[ 27.369594] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[ 27.369755] PNP: PS/2 Controller [PNP0303:
[ 27.369925] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 27.369928] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 27.370004] TCP cubic registered
[ 27.370013] NET: Registered protocol family 1
[ 27.370017] NET: Registered protocol family 8
[ 27.370018] NET: Registered protocol family 20
[ 27.370109] ACPI: (supports S0 S3 S4 S5)
[ 27.370142] drivers/
[ 27.370213] Freeing unused kernel memory: 300k freed
[ 27.389134] input: AT Translated Set 2 keyboard as /class/input/input0
[ 28.500543] Capability LSM initialized
[ 28.519957] ACPI: Processor [CPU0] (supports 2 throttling states)
[ 28.520131] ACPI (exconfig-0455): Dynamic SSDT Load - OemId [ PmRef] OemTableId [ Cpu1Ist] [20060707]
[ 28.520163] ACPI: Processor [CPU1] (supports 2 throttling states)
[ 28.520169] ACPI Exception (acpi_processor
[ 28.520173] ACPI Exception (acpi_processor
[ 28.741550] usbcore: registered new interface driver usbfs
[ 28.741567] usbcore: registered new interface driver hub
[ 28.751376] usbcore: registered new device driver usb
[ 28.751958] ACPI: PCI Interrupt 0000:00:1a.7[C] -> GSI 18 (level, low) -> IRQ 18
[ 28.751970] PCI: Setting latency timer of device 0000:00:1a.7 to 64
[ 28.751972] ehci_hcd 0000:00:1a.7: EHCI Host Controller
[ 28.752065] ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 1
[ 28.752088] PCI: cache line size of 32 is not supported by device 0000:00:1a.7
[ 28.752096] ehci_hcd 0000:00:1a.7: irq 18, io mem 0xf4206000
[ 28.755969] ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[ 28.755981] USB Universal Host Controller Interface driver v3.0
[ 28.756055] usb usb1: configuration #1 chosen from 1 choice
[ 28.756074] hub 1-0:1.0: USB hub found
[ 28.756078] hub 1-0:1.0: 4 ports detected
[ 28.814200] ieee1394: Initialized config rom entry `ip1394'
[ 28.860231] ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 23
[ 28.860246] PCI: Setting latency timer of device 0000:00:1d.7 to 64
[ 28.860249] ehci_hcd 0000:00:1d.7: EHCI Host Controller
[ 28.860272] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 2
[ 28.860300] PCI: cache line size of 32 is not supported by device 0000:00:1d.7
[ 28.860309] ehci_hcd 0000:00:1d.7: irq 23, io mem 0xf4205000
[ 28.864202] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[ 28.864253] usb usb2: configuration #1 chosen from 1 choice
[ 28.864270] hub 2-0:1.0: USB hub found
[ 28.864275] hub 2-0:1.0: 6 ports detected
[ 28.969302] JMB363: IDE controller at PCI slot 0000:03:00.1
[ 28.969317] ACPI: PCI Interrupt 0000:03:00.1[B] -> GSI 19 (level, low) -> IRQ 19
[ 28.969326] JMB363: chipset revision 2
[ 28.969327] JMB363: 100% native mode on irq 19
[ 28.969333] ide2: BM-DMA at 0x8000-0x8007, BIOS settings: hde:pio, hdf:pio
[ 28.969342] ide3: BM-DMA at 0x8008-0x800f, BIOS settings: hdg:pio, hdh:pio
[ 28.969348] Probing IDE interface ide2...
[ 28.969599] ACPI: PCI Interrupt 0000:00:1a.0[A] -> GSI 16 (level, low) -> IRQ 16
[ 28.969604] PCI: Setting latency timer of device 0000:00:1a.0 to 64
[ 28.969607] uhci_hcd 0000:00:1a.0: UHCI Host Controller
[ 28.969626] uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 3
[ 28.969647] uhci_hcd 0000:00:1a.0: irq 16, io base 0x0000a400
[ 28.969710] usb usb3: configuration #1 chosen from 1 choice
[ 28.969728] hub 3-0:1.0: USB hub found
[ 28.969732] hub 3-0:1.0: 2 ports detected
[ 29.073819] ACPI: PCI Interrupt 0000:00:1a.1[B] -> GSI 21 (level, low) -> IRQ 21
[ 29.073827] PCI: Setting latency timer of device 0000:00:1a.1 to 64
[ 29.073831] uhci_hcd 0000:00:1a.1: UHCI Host Controller
[ 29.073851] uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 4
[ 29.073876] uhci_hcd 0000:00:1a.1: irq 21, io base 0x0000b400
[ 29.073961] usb usb4: configuration #1 chosen from 1 choice
[ 29.073995] hub 4-0:1.0: USB hub found
[ 29.073999] hub 4-0:1.0: 2 ports detected
[ 29.210747] usb 2-4: new high speed USB device using ehci_hcd and address 2
[ 29.344179] usb 2-4: configuration #1 chosen from 1 choice
[ 29.350552] usbcore: registered new interface driver libusual
[ 29.356428] SCSI subsystem initialized
[ 29.357246] Initializing USB Mass Storage driver...
[ 29.357293] scsi0 : SCSI emulation for USB Mass Storage devices
[ 29.357324] usbcore: registered new interface driver usb-storage
[ 29.357326] USB Mass Storage support registered.
[ 29.357382] usb-storage: device found at 2
[ 29.357383] usb-storage: waiting for device to settle before scanning
[ 29.536677] Probing IDE interface ide3...
[ 30.104477] ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 23
[ 30.104486] PCI: Setting latency timer of device 0000:00:1d.0 to 64
[ 30.104489] uhci_hcd 0000:00:1d.0: UHCI Host Controller
[ 30.104648] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 5
[ 30.104670] uhci_hcd 0000:00:1d.0: irq 23, io base 0x0000a800
[ 30.105022] usb usb5: configuration #1 chosen from 1 choice
[ 30.105149] hub 5-0:1.0: USB hub found
[ 30.105155] hub 5-0:1.0: 2 ports detected
[ 30.107549] libata version 2.00 loaded.
[ 30.209269] ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 19
[ 30.209278] PCI: Setting latency timer of device 0000:00:1d.1 to 64
[ 30.209281] uhci_hcd 0000:00:1d.1: UHCI Host Controller
[ 30.209302] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 6
[ 30.209326] uhci_hcd 0000:00:1d.1: irq 19, io base 0x0000ac00
[ 30.209412] usb usb6: configuration #1 chosen from 1 choice
[ 30.209443] hub 6-0:1.0: USB hub found
[ 30.209448] hub 6-0:1.0: 2 ports detected
[ 30.309608] ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18
[ 30.309615] PCI: Setting latency timer of device 0000:00:1d.2 to 64
[ 30.309618] uhci_hcd 0000:00:1d.2: UHCI Host Controller
[ 30.309636] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 7
[ 30.309657] uhci_hcd 0000:00:1d.2: irq 18, io base 0x0000b000
[ 30.309734] usb usb7: configuration #1 chosen from 1 choice
[ 30.309750] hub 7-0:1.0: USB hub found
[ 30.309754] hub 7-0:1.0: 2 ports detected
[ 30.414213] ACPI: PCI Interrupt 0000:04:07.0[A] -> GSI 23 (level, low) -> IRQ 23
[ 30.464280] ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[23] MMIO=[f3004000-
[ 30.464790] r8169 Gigabit Ethernet driver 2.2LK loaded
[ 30.464809] ACPI: PCI Interrupt 0000:04:00.0[A] -> GSI 20 (level, low) -> IRQ 20
[ 30.464926] eth0: RTL8169s/8110s at 0xffffc20000046000, 00:40:f4:a6:66:c9, IRQ 20
[ 30.467829] ahci 0000:03:00.0: version 2.0
[ 30.467846] ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 18 (level, low) -> IRQ 18
[ 31.468554] PCI: Setting latency timer of device 0000:03:00.0 to 64
[ 31.468563] ahci 0000:03:00.0: AHCI 0001.0000 32 slots 2 ports 3 Gbps 0x3 impl SATA mode
[ 31.468567] ahci 0000:03:00.0: flags: 64bit ncq pm led clo pmp pio slum part
[ 31.468635] ata1: SATA max UDMA/133 cmd 0xFFFFC20000048100 ctl 0x0 bmdma 0x0 irq 18
[ 31.468692] ata2: SATA max UDMA/133 cmd 0xFFFFC20000048180 ctl 0x0 bmdma 0x0 irq 18
[ 31.468699] scsi1 : ahci
[ 31.734919] ieee1394: Host added: ID:BUS[0-00:1023] GUID[0016e60000
[ 31.951601] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 31.952439] ata1.00: ATA-7, max UDMA/133, 976773168 sectors: LBA48 NCQ (depth 31/32)
[ 31.952443] ata1.00: ata1: dev 0 multi count 16
[ 31.953438] ata1.00: configured for UDMA/133
[ 31.953446] scsi2 : ahci
[ 32.266162] ata2: SATA link down (SStatus 0 SControl 300)
[ 32.266252] scsi 1:0:0:0: Direct-Access ATA ST3500641AS 3.AA PQ: 0 ANSI: 5
[ 32.266526] ata_piix 0000:00:1f.2: version 2.00ac7
[ 32.266530] ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
[ 32.266547] ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19
[ 32.267690] PCI: Setting latency timer of device 0000:00:1f.2 to 64
[ 32.267709] ata3: SATA max UDMA/133 cmd 0xB800 ctl 0xBC02 bmdma 0xC800 irq 19
[ 32.267725] ata4: SATA max UDMA/133 cmd 0xC000 ctl 0xC402 bmdma 0xC808 irq 19
[ 32.267731] scsi3 : ata_piix
[ 32.433374] ATA: abnormal status 0x7F on port 0xB807
[ 32.433381] scsi4 : ata_piix
[ 32.753520] ata4.00: ATAPI, max UDMA/33
[ 33.071420] ata4.00: configured for UDMA/33
[ 33.072335] scsi 4:0:0:0: CD-ROM TSSTcorp CD/DVDW SH-S183A SB02 PQ: 0 ANSI: 5
[ 33.072648] ata_piix 0000:00:1f.5: MAP [ P0 P2 P1 P3 ]
[ 33.072671] ACPI: PCI Interrupt 0000:00:1f.5[B] -> GSI 19 (level, low) -> IRQ 19
[ 33.072679] PCI: Setting latency timer of device 0000:00:1f.5 to 64
[ 33.072699] ata5: SATA max UDMA/133 cmd 0xD400 ctl 0xD802 bmdma 0xE400 irq 19
[ 33.072716] ata6: SATA max UDMA/133 cmd 0xDC00 ctl 0xE002 bmdma 0xE408 irq 19
[ 33.072720] scsi5 : ata_piix
[ 33.239201] ATA: abnormal status 0x7F on port 0xD407
[ 33.239209] scsi6 : ata_piix
[ 33.401363] ata6.00: ATA-7, max UDMA/133, 976771055 sectors: LBA48 NCQ (depth 0/32)
[ 33.401367] ata6.00: ata6: dev 0 multi count 16
[ 33.409410] ata6.00: configured for UDMA/133
[ 33.409474] scsi 6:0:0:0: Direct-Access ATA ST3500641AS 3.AA PQ: 0 ANSI: 5
[ 33.415645] SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
[ 33.415741] sda: Write Protect is off
[ 33.415743] sda: Mode Sense: 00 3a 00 00
[ 33.415755] SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 33.415791] SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
[ 33.415798] sda: Write Protect is off
[ 33.415799] sda: Mode Sense: 00 3a 00 00
[ 33.415809] SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 33.415813] sda: sda1
[ 33.431150] sd 1:0:0:0: Attached scsi disk sda
[ 33.431272] SCSI device sdb: 976771055 512-byte hdwr sectors (500107 MB)
[ 33.431283] sdb: Write Protect is off
[ 33.431285] sdb: Mode Sense: 00 3a 00 00
[ 33.431301] SCSI device sdb: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 33.431342] SCSI device sdb: 976771055 512-byte hdwr sectors (500107 MB)
[ 33.431349] sdb: Write Protect is off
[ 33.431350] sdb: Mode Sense: 00 3a 00 00
[ 33.431360] SCSI device sdb: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 33.431362] sdb:sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
[ 33.439369] Uniform CD-ROM driver Revision: 3.20
[ 33.439401] sr 4:0:0:0: Attached scsi CD-ROM sr0
[ 33.445831] sdb1 sdb2 < sdb5 >
[ 33.463767] sd 6:0:0:0: Attached scsi disk sdb
[ 33.465809] sd 1:0:0:0: Attached scsi generic sg0 type 0
[ 33.465823] sr 4:0:0:0: Attached scsi generic sg1 type 5
[ 33.465834] sd 6:0:0:0: Attached scsi generic sg2 type 0
[ 33.683342] Attempting manual resume
[ 33.706653] kjournald starting. Commit interval 5 seconds
[ 33.706658] EXT3-fs: mounted filesystem with ordered data mode.
[ 34.349475] usb-storage: device scan complete
[ 34.349848] scsi 0:0:0:0: Direct-Access SAMSUNG HM120JC YL10 PQ: 0 ANSI: 2
[ 34.350955] SCSI device sdc: 234441648 512-byte hdwr sectors (120034 MB)
[ 34.351833] sdc: Write Protect is off
[ 34.351834] sdc: Mode Sense: 53 00 00 08
[ 34.351835] sdc: assuming drive cache: write through
[ 34.352702] SCSI device sdc: 234441648 512-byte hdwr sectors (120034 MB)
[ 34.353579] sdc: Write Protect is off
[ 34.353581] sdc: Mode Sense: 53 00 00 08
[ 34.353582] sdc: assuming drive cache: write through
[ 34.353584] sdc: sdc1
[ 34.795592] sd 0:0:0:0: Attached scsi disk sdc
[ 34.795643] sd 0:0:0:0: Attached scsi generic sg3 type 0
[ 40.123137] r8169: eth1: link down
[ 41.422239] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 41.458997] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 41.469817] iTCO_vendor_
[ 41.470507] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.01 (11-Nov-2006)
[ 41.470570] iTCO_wdt: Found a ICH8 or ICH8R TCO device (Version=2, TCOBASE=0x0460)
[ 41.470603] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[ 41.476102] agpgart: Detected an Intel 965G Chipset.
[ 41.476840] agpgart: Unknown page table size, assuming 512KB
[ 41.476843] agpgart: Detected 7676K stolen memory.
[ 41.489255] agpgart: AGP aperture is 256M @ 0xe0000000
[ 41.489516] input: PC Speaker as /class/input/input1
[ 41.663731] ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 17 (level, low) -> IRQ 17
[ 41.663741] PCI: Setting latency timer of device 0000:02:00.0 to 64
[ 41.663791] sky2 v1.10 addr 0xf1000000 irq 17 Yukon-EC Ultra (0xb4) rev 2
[ 41.664030] sky2 eth0: addr 00:16:e6:8b:f1:fd
[ 41.687660] parport: PnPBIOS parport detected.
[ 41.687701] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
[ 41.725446] NET: Registered protocol family 17
[ 41.843030] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22
[ 41.843046] PCI: Setting latency timer of device 0000:00:1b.0 to 64
[ 41.896483] logips2pp: Detected unknown logitech mouse model 62
[ 42.051925] hda_codec: Unknown model for ALC883, trying auto-probe from BIOS...
[ 42.289065] fuse init (API version 7.8)
[ 42.301421] lp0: using parport0 (interrupt-driven).
[ 42.362995] Adding 11839864k swap on /dev/disk/
[ 42.401220] input: ImExPS/2 Logitech Explorer Mouse as /class/input/input2
[ 42.588261] EXT3 FS on sdb1, internal journal
[ 49.036931] No dock devices found.
[ 49.046097] input: Power Button (FF) as /class/input/input3
[ 49.046115] ACPI: Power Button (FF) [PWRF]
[ 49.046139] input: Power Button (CM) as /class/input/input4
[ 49.046150] ACPI: Power Button (CM) [PWRB]
[ 49.154215] ibm_acpi: ec object not found
[ 49.195111] Using specific hotkey driver
[ 49.251503] toshiba_acpi: Unknown parameter `hotkeys_over_acpi'
[ 50.092226] NET: Registered protocol family 10
[ 50.092296] lo: Disabled Privacy Extensions
[ 50.092323] ADDRCONF(
[ 50.633350] tun: Universal TUN/TAP device driver, 1.6
[ 50.633353] tun: (C) 1999-2004 Max Krasnyansky <email address hidden>
[ 50.852978] ppdev: user-space parallel port driver
[ 50.977691] [drm] Initialized drm 1.1.0 20060810
[ 50.978874] ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
[ 50.978908] [drm] Initialized i915 1.6.0 20060119 on minor 0
[ 55.101549] sky2 eth0: enabling interface
[ 55.103782] sky2 eth0: ram buffer 0K
[ 55.103943] ADDRCONF(
[ 55.320685] Installing knfsd (copyright (C) 1996 <email address hidden>).
[ 55.412700] NFSD: Using /var/lib/
[ 55.423781] NFSD: starting 90-second grace period
[ 56.514159] Bluetooth: Core ver 2.11
[ 56.514211] NET: Registered protocol family 31
[ 56.514213] Bluetooth: HCI device and connection manager initialized
[ 56.514216] Bluetooth: HCI socket layer initialized
[ 56.536010] Bluetooth: L2CAP ver 2.8
[ 56.536014] Bluetooth: L2CAP socket layer initialized
[ 56.792404] Bluetooth: RFCOMM socket layer initialized
[ 56.792419] Bluetooth: RFCOMM TTY layer initialized
[ 56.792421] Bluetooth: RFCOMM ver 1.8
[ 57.689657] sky2 eth0: Link is up at 1000 Mbps, full duplex, flow control both
[ 57.689675] ADDRCONF(
[ 71.953416] eth0: no IPv6 routers present
Exactly what is the bug here? The fact that you had to mount and unmount the disk manually? (Sorry if this sounds like a dumb question, I'm just trying to digest the amount of information you presented.)
BTW, how are you "hotunplugging" your esata disk? Just yanking the cable out? You should be using a tool like scsiadd to properly tell the kernel it is going to go away.
Cheers,
Kyle