Package: linux-2.6 Version: 2.6.26-21lenny4 Severity: normal This is one of the infamous drives that spins down after a period of inactivity. The kernel supports restarting the drive when it is accessed after this happens. These drives are now widespread in the marketplace.
I have repartitioned this drive (GPT) and installed various filesystems, including ext3 and lvm. In all cases, after the kernel restarts the drive from its sleep after it spins down, the mount point looks like an empty directory. When I then unmount the drive and remount it, the filesystem comes back, but with errors. With ext3 partitions, the file system still seems usable, and I have not noticed any data loss yet. Nevertheless, I am currently using the drive with a keep-alive script that touches the drive every 5 min. to keep it from spinning down. In the case of lvm, which does not support journalling itself but only in the filesystem it contains, the damage is extensive. Once I had an ext3 filesystem in a regular file mounted with a loop device. The regular file was inside an ext3 filesystem on an lvm partition. When the drive spun down, the filesystem in the loop device was totally destroyed. After rebuilding the filesystem with fsck, data that had been in the filesystem (several GB) was available only as scattered fragments in lost+found. -- Package-specific info: ** Version: Linux version 2.6.26-2-686 (Debian 2.6.26-21lenny4) (da...@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Tue Mar 9 17:35:51 UTC 2010 ** Command line: root=/dev/mapper/gershon-root ro quiet ** Not tainted ** Kernel log: [ 5.885079] No dock devices found. [ 5.903628] SCSI subsystem initialized [ 5.929046] libata version 3.00 loaded. [ 6.012161] usb 1-1: new full speed USB device using uhci_hcd and address 2 [ 6.067760] hdb: max request size: 128KiB [ 6.069455] hdb: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63 [ 6.069469] hdb: cache flushes not supported [ 6.069615] hdb: hdb1 hdb2 [ 6.113111] hdd: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache [ 6.113128] Uniform CD-ROM driver Revision: 3.20 [ 6.171487] usb 1-1: configuration #1 chosen from 1 choice [ 6.173939] usb 1-1: New USB device found, idVendor=03f0, idProduct=2a12 [ 6.173951] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 6.173955] usb 1-1: Product: Officejet J4500 series [ 6.173959] usb 1-1: Manufacturer: HP [ 6.173962] usb 1-1: SerialNumber: CN84511FPZ052T [ 6.412148] usb 1-2: new full speed USB device using uhci_hcd and address 3 [ 6.575965] usb 1-2: configuration #1 chosen from 1 choice [ 6.580838] usb 1-2: New USB device found, idVendor=0bc2, idProduct=3008 [ 6.580848] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 6.580852] usb 1-2: Product: FreeAgent [ 6.580856] usb 1-2: Manufacturer: Seagate [ 6.580859] usb 1-2: SerialNumber: 2HC015KJ [ 6.630054] Initializing USB Mass Storage driver... [ 6.836379] scsi0 : SCSI emulation for USB Mass Storage devices [ 6.837458] usbcore: registered new interface driver usb-storage [ 6.837471] USB Mass Storage support registered. [ 6.842844] usb-storage: device found at 3 [ 6.842852] usb-storage: waiting for device to settle before scanning [ 6.996567] device-mapper: uevent: version 1.0.3 [ 6.999788] device-mapper: ioctl: 4.13.0-ioctl (2007-10-18) initialised: dm-de...@redhat.com [ 7.348956] PM: Starting manual resume from disk [ 7.460273] kjournald starting. Commit interval 5 seconds [ 7.460323] EXT3-fs: mounted filesystem with ordered data mode. [ 10.185071] udevd version 125 started [ 11.841582] usb-storage: device scan complete [ 11.844571] scsi 0:0:0:0: Direct-Access Seagate FreeAgent 0138 PQ: 0 ANSI: 4 [ 12.831689] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 [ 12.852189] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4 [ 12.940264] Linux agpgart interface v0.103 [ 12.991725] agpgart: Detected VIA P4M266x/P4N266 chipset [ 12.996488] agpgart: AGP aperture is 64M @ 0xe0000000 [ 13.456140] NET: Registered protocol family 23 [ 13.680490] input: Power Button (FF) as /class/input/input1 [ 13.709881] ACPI: Power Button (FF) [PWRF] [ 13.710028] input: Power Button (CM) as /class/input/input2 [ 13.732193] ACPI: Power Button (CM) [PWRB] [ 13.732354] input: Sleep Button (CM) as /class/input/input3 [ 13.759916] ACPI: Sleep Button (CM) [SLPB] [ 15.519252] usblp0: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x03F0 pid 0x2A12 [ 15.519323] usbcore: registered new interface driver usblp [ 15.596486] input: PC Speaker as /class/input/input4 [ 16.528672] gameport: NS558 PnP Gameport is pnp00:0e/gameport0, io 0x201, speed 828kHz [ 16.592167] Driver 'sd' needs updating - please use bus_type methods [ 16.597694] sd 0:0:0:0: [sda] 1953525166 512-byte hardware sectors (1000205 MB) [ 16.600697] sd 0:0:0:0: [sda] Write Protect is off [ 16.600709] sd 0:0:0:0: [sda] Mode Sense: 1c 00 00 00 [ 16.600715] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 16.605664] sd 0:0:0:0: [sda] 1953525166 512-byte hardware sectors (1000205 MB) [ 16.608658] sd 0:0:0:0: [sda] Write Protect is off [ 16.608671] sd 0:0:0:0: [sda] Mode Sense: 1c 00 00 00 [ 16.608678] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 16.608761] sda: sda1 sda2 sda3 sda4 sda5 sda6 sda7 [ 16.708452] sd 0:0:0:0: [sda] Attached SCSI disk [ 16.859280] input: ImPS/2 Generic Wheel Mouse as /class/input/input5 [ 16.891153] parport_pc 00:0a: reported by Plug and Play ACPI [ 16.891211] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE] [ 17.707497] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11 [ 17.707512] ACPI: PCI Interrupt 0000:00:11.5[C] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11 [ 17.707678] PCI: Setting latency timer of device 0000:00:11.5 to 64 [ 21.584354] EXT3 FS on dm-0, internal journal [ 22.061686] loop: module loaded [ 24.168791] fuse init (API version 7.9) [ 24.646442] kjournald starting. Commit interval 5 seconds [ 24.648249] EXT3 FS on dm-2, internal journal [ 24.648268] EXT3-fs: mounted filesystem with ordered data mode. [ 24.779942] Adding 1798136k swap on /dev/mapper/gershon-swap_1. Priority:-1 extents:1 across:1798136k [ 26.246188] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 [ 31.599576] NET: Registered protocol family 10 [ 31.600603] lo: Disabled Privacy Extensions [ 32.274143] lp0: using parport0 (interrupt-driven). [ 32.332981] ppdev: user-space parallel port driver [ 42.268035] eth0: no IPv6 routers present [23414.117821] FAT: bogus number of reserved sectors [23414.117821] VFS: Can't find a valid FAT filesystem on dev sda. [23495.961956] kjournald starting. Commit interval 5 seconds [23495.970562] EXT3 FS on sda5, internal journal [23495.970562] EXT3-fs: mounted filesystem with ordered data mode. [23560.555726] kjournald starting. Commit interval 5 seconds [23560.566289] EXT3 FS on sda5, internal journal [23560.566289] EXT3-fs: mounted filesystem with ordered data mode. [23732.812671] kjournald starting. Commit interval 5 seconds [23732.821214] EXT3 FS on sda5, internal journal [23732.821214] EXT3-fs: mounted filesystem with ordered data mode. [23815.760663] kjournald starting. Commit interval 5 seconds [23815.769723] EXT3 FS on sda5, internal journal [23815.769723] EXT3-fs: mounted filesystem with ordered data mode. [23857.222381] kjournald starting. Commit interval 5 seconds [23857.233973] EXT3 FS on sda5, internal journal [23857.233973] EXT3-fs: mounted filesystem with ordered data mode. ** Model information not available ** Loaded modules: Module Size Used by vfat 9152 0 fat 40864 1 vfat nls_base 6820 2 vfat,fat ppdev 6468 0 lp 8164 0 ipv6 235396 16 ext2 54504 1 fuse 42908 1 loop 12748 0 snd_cs4232 11380 0 snd_via82xx 20664 0 snd_opl3_lib 9344 1 snd_cs4232 snd_ac97_codec 88452 1 snd_via82xx snd_hwdep 6212 1 snd_opl3_lib snd_cs4231_lib 20512 1 snd_cs4232 ac97_bus 1728 1 snd_ac97_codec snd_pcm_oss 32800 0 snd_mixer_oss 12320 1 snd_pcm_oss snd_pcm 62660 4 snd_via82xx,snd_ac97_codec,snd_cs4231_lib,snd_pcm_oss snd_page_alloc 7816 3 snd_via82xx,snd_cs4231_lib,snd_pcm snd_seq_dummy 2660 0 snd_mpu401 6152 0 sd_mod 22200 2 ns558 3712 0 snd_mpu401_uart 6368 3 snd_cs4232,snd_via82xx,snd_mpu401 gameport 10700 3 snd_via82xx,ns558 parport_pc 22500 1 parport 30988 3 ppdev,lp,parport_pc serio_raw 4740 0 psmouse 32336 0 snd_seq_oss 24992 0 snd_seq_midi 5728 0 snd_rawmidi 18496 2 snd_mpu401_uart,snd_seq_midi pcspkr 2432 0 usblp 10592 0 snd_seq_midi_event 6432 2 snd_seq_oss,snd_seq_midi snd_seq 41456 7 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event snd_timer 17800 4 snd_opl3_lib,snd_cs4231_lib,snd_pcm,snd_seq snd_seq_device 6380 6 snd_opl3_lib,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq snd 45636 17 snd_cs4232,snd_via82xx,snd_opl3_lib,snd_ac97_codec,snd_hwdep,snd_cs4231_lib,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401,snd_mpu401_uart,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device soundcore 6368 1 snd button 6096 0 via_ircc 15732 0 irda 95512 1 via_ircc crc_ccitt 2080 1 irda i2c_viapro 6836 0 via_agp 7744 1 i2c_core 19828 1 i2c_viapro agpgart 28808 1 via_agp shpchp 25528 0 pci_hotplug 23460 1 shpchp evdev 8000 4 ext3 105576 3 jbd 39476 1 ext3 mbcache 7108 2 ext2,ext3 dm_mirror 15136 0 dm_log 8452 1 dm_mirror dm_snapshot 14340 0 dm_mod 46216 10 dm_mirror,dm_log,dm_snapshot usb_storage 77120 1 ide_cd_mod 27684 0 cdrom 30176 1 ide_cd_mod ide_disk 10496 3 ata_generic 4676 0 libata 140448 1 ata_generic scsi_mod 129548 3 sd_mod,usb_storage,libata dock 8304 1 libata ide_pci_generic 3908 0 [permanent] floppy 47844 0 uhci_hcd 18672 0 usbcore 118192 4 usblp,usb_storage,uhci_hcd 8139cp 16800 0 via82cxxx 6948 0 [permanent] ide_core 96168 4 ide_cd_mod,ide_disk,ide_pci_generic,via82cxxx 8139too 20384 0 mii 4896 2 8139cp,8139too thermal 15228 0 processor 32576 2 thermal fan 4196 0 thermal_sys 10856 3 thermal,processor,fan ** PCI devices: 00:00.0 Host bridge [0600]: VIA Technologies, Inc. P4M266 Host Bridge [1106:3148] Subsystem: VIA Technologies, Inc. P4M266 Host Bridge [1106:3148] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx- Latency: 8 Region 0: Memory at e0000000 (32-bit, prefetchable) [size=64M] Capabilities: <access denied> Kernel driver in use: agpgart-via Kernel modules: via-agp 00:01.0 PCI bridge [0604]: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP] [1106:b091] (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx- Latency: 0 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 0000c000-0000cfff Memory behind bridge: e4000000-e6ffffff Prefetchable memory behind bridge: 20000000-200fffff Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR- BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities: <access denied> Kernel modules: shpchp 00:08.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ [10ec:8139] (rev 10) Subsystem: Realtek Semiconductor Co., Ltd. RT8139 [10ec:8139] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 32 (8000ns min, 16000ns max) Interrupt: pin A routed to IRQ 5 Region 0: I/O ports at d000 [size=256] Region 1: Memory at e8000000 (32-bit, non-prefetchable) [size=256] [virtual] Expansion ROM at 20100000 [disabled] [size=64K] Capabilities: <access denied> Kernel driver in use: 8139too Kernel modules: 8139too, 8139cp 00:11.0 ISA bridge [0601]: VIA Technologies, Inc. VT8233A ISA Bridge [1106:3147] Subsystem: PC Partner Limited Device [174b:3147] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Capabilities: <access denied> Kernel modules: via-ircc, i2c-viapro 00:11.1 IDE interface [0101]: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE [1106:0571] (rev 06) (prog-if 8a [Master SecP PriP]) Subsystem: PC Partner Limited Device [174b:0571] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 32 Interrupt: pin A routed to IRQ 11 Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8] Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1] Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8] Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1] Region 4: I/O ports at d400 [size=16] Capabilities: <access denied> Kernel driver in use: VIA_IDE Kernel modules: via82cxxx 00:11.2 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller [1106:3038] (rev 23) (prog-if 00 [UHCI]) Subsystem: First International Computer, Inc. VA-502 Mainboard [0925:1234] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 32, Cache Line Size: 32 bytes Interrupt: pin D routed to IRQ 5 Region 4: I/O ports at d800 [size=32] Capabilities: <access denied> Kernel driver in use: uhci_hcd Kernel modules: uhci-hcd 00:11.3 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller [1106:3038] (rev 23) (prog-if 00 [UHCI]) Subsystem: First International Computer, Inc. VA-502 Mainboard [0925:1234] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 32, Cache Line Size: 32 bytes Interrupt: pin D routed to IRQ 5 Region 4: I/O ports at dc00 [size=32] Capabilities: <access denied> Kernel driver in use: uhci_hcd Kernel modules: uhci-hcd 00:11.5 Multimedia audio controller [0401]: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller [1106:3059] (rev 40) Subsystem: Avance Logic Inc. Device [4005:4730] Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Interrupt: pin C routed to IRQ 11 Region 0: I/O ports at e000 [size=256] Capabilities: <access denied> Kernel driver in use: VIA 82xx Audio Kernel modules: snd-via82xx 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc 3D Rage LT Pro AGP-133 [1002:4c42] (rev dc) (prog-if 00 [VGA controller]) Subsystem: ATI Technologies Inc Rage LT Pro AGP 2X [1002:0044] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 32 (2000ns min), Cache Line Size: 32 bytes Interrupt: pin A routed to IRQ 11 Region 0: Memory at e4000000 (32-bit, non-prefetchable) [size=16M] Region 1: I/O ports at c000 [size=256] Region 2: Memory at e6000000 (32-bit, non-prefetchable) [size=4K] [virtual] Expansion ROM at 20000000 [disabled] [size=128K] Capabilities: <access denied> ** USB devices: Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 003: ID 0bc2:3008 Seagate RSS LLC Bus 001 Device 002: ID 03f0:2a12 Hewlett-Packard Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub -- System Information: Debian Release: 5.0.4 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages linux-image-2.6.26-2-686 depends on: ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy ii initramfs-tools [linux-initra 0.92o tools for generating an initramfs ii module-init-tools 3.4-1 tools for managing Linux kernel mo Versions of packages linux-image-2.6.26-2-686 recommends: ii libc6-i686 2.7-18lenny2 GNU C Library: Shared libraries [i Versions of packages linux-image-2.6.26-2-686 suggests: ii grub 0.97-47lenny2 GRand Unified Bootloader (Legacy v pn linux-doc-2.6.26 <none> (no description available) Versions of packages linux-image-2.6.26-2-686 is related to: pn firmware-bnx2 <none> (no description available) pn firmware-bnx2x <none> (no description available) pn firmware-ipw2x00 <none> (no description available) pn firmware-ivtv <none> (no description available) pn firmware-iwlwifi <none> (no description available) pn firmware-linux <none> (no description available) pn firmware-linux-nonfree <none> (no description available) pn firmware-qlogic <none> (no description available) pn firmware-ralink <none> (no description available) -- debconf information: linux-image-2.6.26-2-686/postinst/bootloader-error-2.6.26-2-686: shared/kernel-image/really-run-bootloader: true linux-image-2.6.26-2-686/postinst/old-dir-initrd-link-2.6.26-2-686: true linux-image-2.6.26-2-686/preinst/overwriting-modules-2.6.26-2-686: true linux-image-2.6.26-2-686/postinst/bootloader-test-error-2.6.26-2-686: linux-image-2.6.26-2-686/postinst/depmod-error-2.6.26-2-686: false linux-image-2.6.26-2-686/preinst/bootloader-initrd-2.6.26-2-686: true linux-image-2.6.26-2-686/preinst/abort-overwrite-2.6.26-2-686: linux-image-2.6.26-2-686/preinst/abort-install-2.6.26-2-686: linux-image-2.6.26-2-686/postinst/depmod-error-initrd-2.6.26-2-686: false linux-image-2.6.26-2-686/postinst/create-kimage-link-2.6.26-2-686: true linux-image-2.6.26-2-686/preinst/failed-to-move-modules-2.6.26-2-686: linux-image-2.6.26-2-686/preinst/initrd-2.6.26-2-686: linux-image-2.6.26-2-686/preinst/lilo-has-ramdisk: linux-image-2.6.26-2-686/prerm/would-invalidate-boot-loader-2.6.26-2-686: true linux-image-2.6.26-2-686/postinst/kimage-is-a-directory: linux-image-2.6.26-2-686/postinst/old-initrd-link-2.6.26-2-686: true linux-image-2.6.26-2-686/preinst/elilo-initrd-2.6.26-2-686: true linux-image-2.6.26-2-686/preinst/lilo-initrd-2.6.26-2-686: true linux-image-2.6.26-2-686/prerm/removing-running-kernel-2.6.26-2-686: true linux-image-2.6.26-2-686/postinst/old-system-map-link-2.6.26-2-686: true -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100429144051.4407.89040.report...@gershon.sefer.org