← Back to team overview

kernel-packages team mailing list archive

[Bug 878254] Re: libata-core.c bug

 

[Expired for linux (Ubuntu) because there has been no activity for 60
days.]

** Changed in: linux (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/878254

Title:
  libata-core.c bug

Status in “linux” package in Ubuntu:
  Expired

Bug description:
  Hi,
  I am using kubuntu 11.10 version with it standard kernel, however I tested also the new one 3.1.

  I see from dmesg that my sata II hard disks work like UDMA133, there
  are no jumpers setted on hds or mb.

  
  0.000000]  BIOS-e820: 00000000ddd80000 - 00000000ddd8e000 (ACPI data)
  [    0.000000] Memory: 8086376k/8912896k available (5494k kernel code, 266452k reserved, 2653k data, 720k init, 7439880k highmem)
  [    0.000000]       .data : 0xc155d9b0 - 0xc17f5180   (2653 kB)
  [    0.060003] PEBS disabled due to CPU errata.
  [    0.365693] libata version 3.00 loaded.
  [    0.915948] ata_piix 0000:00:1f.1: version 2.13
  [    0.915966] ata_piix 0000:00:1f.1: PCI INT A -> GSI 18 (level, low) -> IRQ 18
  [    0.916015] ata_piix 0000:00:1f.1: setting latency timer to 64
  [    0.916294] scsi0 : ata_piix
  [    0.916403] scsi1 : ata_piix
  [    0.917442] ata1: PATA max UDMA/100 cmd 0xb480 ctl 0xb400 bmdma 0xac00 irq 18
  [    0.917445] ata2: PATA max UDMA/100 cmd 0x8f0 ctl 0x8f8 bmdma 0xac08 irq 18
  [    0.917470] ata_piix 0000:00:1f.2: PCI INT B -> GSI 22 (level, low) -> IRQ 22
  [    0.917474] ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
  [    0.917505] ata_piix 0000:00:1f.2: setting latency timer to 64
  [    0.917609] ata2: port disabled. ignoring.
  [    0.917765] scsi2 : ata_piix
  [    0.917839] scsi3 : ata_piix
  [    0.919105] ata3: SATA max UDMA/133 cmd 0xc080 ctl 0xc000 bmdma 0xb800 irq 22
  [    0.919108] ata4: SATA max UDMA/133 cmd 0xbc00 ctl 0xb880 bmdma 0xb808 irq 22
  [    1.072760] ata1.00: ATAPI: SAMSUNG DVD-ROM SD-616T, F306, max UDMA/33
  [    1.080463] ata1.00: configured for UDMA/33
  [    1.088428] ata3.00: ATA-8: WDC WD10EARS-00Y5B1, 80.00A80, max UDMA/133
  [    1.088432] ata3.00: 1953525168 sectors, multi 16: LBA48 NCQ (depth 0/32)
  [    1.115607] ata4.00: ATA-8: MAXTOR STM3160813AS, MC1J, max UDMA/133
  [    1.115612] ata4.00: 312581808 sectors, multi 16: LBA48 NCQ (depth 0/32)
  [    1.116016] ata3.01: ATA-7: MAXTOR STM3320820AS, 3.AAE, max UDMA/133
  [    1.116021] ata3.01: 625142448 sectors, multi 16: LBA48 NCQ (depth 0/32)
  [    1.124280] ata3.00: configured for UDMA/133
  [    1.143024] ata4.01: ATA-8: MAXTOR STM3160813AS, MC1J, max UDMA/133
  [    1.143028] ata4.01: 312581808 sectors, multi 16: LBA48 NCQ (depth 0/32)
  [    1.190982] ata3.01: configured for UDMA/133
  [    1.199552] ata4.00: configured for UDMA/133
  [    1.255551] ata4.01: configured for UDMA/133
  [    1.292584] Write protecting the kernel read-only data: 2232k
  [    1.292586] NX-protecting the kernel data: 4744k
  [    1.358978] pata_it821x 0000:03:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
  [    1.358983] pata_it821x: controller in smart mode.
  [    1.359034] pata_it821x 0000:03:00.0: setting latency timer to 64
  [    1.361265] pata_it821x: Firmware 02/09/3030
  [    1.361825] scsi4 : pata_it821x
  [    1.361890] scsi5 : pata_it821x
  [    1.361925] ata5: PATA max UDMA/133 cmd 0xec00 ctl 0xe880 bmdma 0xe400 irq 19
  [    1.361927] ata6: PATA max UDMA/133 cmd 0xe800 ctl 0xe480 bmdma 0xe408 irq 19
  [    2.524205] ata5.00: NODEV after polling detection
  [    3.202274] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)

  
  The data from hdparm about one of my HD is :

  hdparm -i /dev/sda
  /dev/sda:

   Model=WDC WD10EARS-00Y5B1, FwRev=80.00A80, SerialNo=WD-WCAV5C428831
   Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
   RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=50
   BuffType=unknown, BuffSize=unknown, MaxMultSect=16, MultSect=16
   CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=1953525168
   IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
   PIO modes:  pio0 pio3 pio4
   DMA modes:  mdma0 mdma1 mdma2
   UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
   AdvancedPM=no WriteCache=enabled
   Drive conforms to: Unspecified:  ATA/ATAPI-1,2,3,4,5,6,7

   * signifies the current active mode

  hdparm -I /dev/sda
  /dev/sda:

  ATA device, with non-removable media
          Model Number:       WDC WD10EARS-00Y5B1
          Serial Number:      WD-WCAV5C428831
          Firmware Revision:  80.00A80
          Transport:          Serial, SATA 1.0a, SATA II Extensions, SATA
  Rev 2.5, SATA Rev 2.6
  Standards:
          Supported: 8 7 6 5
          Likely used: 8
  Configuration:
          Logical         max     current
          cylinders       16383   16383
          heads           16      16
          sectors/track   63      63
          --
          CHS current addressable sectors:   16514064
          LBA    user addressable sectors:  268435455
          LBA48  user addressable sectors: 1953525168
          Logical/Physical Sector size:           512 bytes
          device size with M = 1024*1024:      953869 MBytes
          device size with M = 1000*1000:     1000204 MBytes (1000 GB)
          cache/buffer size  = unknown
  Capabilities:
          LBA, IORDY(can be disabled)
          Queue depth: 32
          Standby timer values: spec'd by Standard, with device specific
  minimum
          R/W multiple sector transfer: Max = 16  Current = 16
          Recommended acoustic management value: 128, current value: 254
          DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
               Cycle time: min=120ns recommended=120ns
          PIO: pio0 pio1 pio2 pio3 pio4
               Cycle time: no flow control=120ns  IORDY flow control=120ns
  Commands/features:
          Enabled Supported:
             *    SMART feature set
                  Security Mode feature set
             *    Power Management feature set
             *    Write cache
             *    Look-ahead
             *    Host Protected Area feature set
             *    WRITE_BUFFER command
             *    READ_BUFFER command
             *    NOP cmd
             *    DOWNLOAD_MICROCODE
                  Power-Up In Standby feature set
             *    SET_FEATURES required to spinup after power up
                  SET_MAX security extension
                  Automatic Acoustic Management feature set
             *    48-bit Address feature set
             *    Device Configuration Overlay feature set
             *    Mandatory FLUSH_CACHE
             *    FLUSH_CACHE_EXT
             *    SMART error logging
             *    SMART self-test
             *    General Purpose Logging feature set
             *    64-bit World wide name
             *    {READ,WRITE}_DMA_EXT_GPL commands
             *    Segmented DOWNLOAD_MICROCODE
             *    Gen1 signaling speed (1.5Gb/s)
             *    Gen2 signaling speed (3.0Gb/s)
             *    Native Command Queueing (NCQ)
             *    Host-initiated interface power management
             *    Phy event counters
             *    NCQ priority information
                  DMA Setup Auto-Activate optimization
             *    Software settings preservation
             *    SMART Command Transport (SCT) feature set
             *    SCT Features Control (AC4)
             *    SCT Data Tables (AC5)
                  unknown 206[12] (vendor specific)
                  unknown 206[13] (vendor specific)
  Security:
          Master password revision code = 65534
                  supported
          not     enabled
          not     locked
                  frozen
          not     expired: security count
                  supported: enhanced erase
          208min for SECURITY ERASE UNIT. 208min for ENHANCED SECURITY
  ERASE UNIT.
  Logical Unit WWN Device Identifier: 50014ee2046fdd31
          NAA             : 5
          IEEE OUI        : 0014ee
          Unique ID       : 2046fdd31
  Checksum: correct

  speed :
  hdparm -I /dev/sda | grep -i speed

  *    Gen1 signaling speed (1.5Gb/s)
  *    Gen2 signaling speed (3.0Gb/s)

  and also :
  for i in 1 2 3; do sudo hdparm -tT /dev/sda; done

  /dev/sda:
   Timing cached reads:   8474 MB in  2.00 seconds = 4241.24 MB/sec
   Timing buffered disk reads: 300 MB in  3.02 seconds =  99.45 MB/sec

  /dev/sda:
   Timing cached reads:   8064 MB in  2.00 seconds = 4035.54 MB/sec
   Timing buffered disk reads: 306 MB in  3.01 seconds = 101.65 MB/sec

  /dev/sda:
   Timing cached reads:   8292 MB in  2.00 seconds = 4149.71 MB/sec
   Timing buffered disk reads: 308 MB in  3.02 seconds = 102.09 MB/sec

  I think velocity of hd is ok, is like a sataII, but I don't get why
  dmesg report me wrong info

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: linux-image-3.0.0-12-generic-pae 3.0.0-12.20
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic-pae 3.0.4
  Uname: Linux 3.0.0-12-generic-pae i686
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 1.23-0ubuntu3
  Architecture: i386
  ArecordDevices:
   **** List of CAPTURE Hardware Devices ****
   card 0: Intel [HDA Intel], device 0: ALC887-VD Analog [ALC887-VD Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  nobuteru   2437 F.... pulseaudio
  CRDA: Error: [Errno 2] File o directory non esistente
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0xfe9f8000 irq 43'
     Mixer name	: 'Realtek ALC887-VD'
     Components	: 'HDA:10ec0887,10438445,00100302'
     Controls      : 35
     Simple ctrls  : 21
  Date: Wed Oct 19 16:38:42 2011
  HibernationDevice: RESUME=UUID=3207d9fe-e7ca-4642-9214-8b7061d5ceec
  InstallationMedia: Kubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
  MachineType: System manufacturer System Product Name
  ProcEnviron:
   LANGUAGE=
   LANG=it_IT.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic-pae root=UUID=8ecbd316-adfc-4d5f-9cdc-06f9961aa9de ro crashkernel=384M-2G:64M,2G-:128M quiet splash scsi_mod.scan=sync vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.0.0-12-generic-pae N/A
   linux-backports-modules-3.0.0-12-generic-pae  N/A
   linux-firmware                                1.60
  RfKill:
   
  SourcePackage: linux
  UpgradeStatus: Upgraded to oneiric on 2011-10-14 (5 days ago)
  dmi.bios.date: 05/16/2011
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 0803
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: P5G41T-M LX
  dmi.board.vendor: ASUSTeK Computer INC.
  dmi.board.version: Rev X.0x
  dmi.chassis.asset.tag: Asset-1234567890
  dmi.chassis.type: 3
  dmi.chassis.vendor: Chassis Manufacture
  dmi.chassis.version: Chassis Version
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0803:bd05/16/2011:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5G41T-MLX:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
  dmi.product.name: System Product Name
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/878254/+subscriptions