Kirjoittaja Aihe: [RATKAISTU]Ongelma kiintolevyn kanssa  (Luettu 1475 kertaa)

Phoenixs

  • Käyttäjä
  • Viestejä: 2
    • Profiili
[RATKAISTU]Ongelma kiintolevyn kanssa
« : 22.05.09 - klo:04.54 »
Elikkäs ongelma on tämä:

Minulla on koneessa 2 eri kiintolevyä, toinen on kokonaan ubuntun (9.04) käytössä, ja toinen alustettuna ext3. Kytkennät ovat IDE ja Sata.
Koneeni specsit ovat tässä:

Koodia: [Valitse]

MICRO-STAR INTERNATIONAL CO.,LTD
Intel Core 2 Duo E8400 @ 4.00GHz (Overclocked)
4072MB RAM
220 GB Total HD
NVIDIA GeForce 8800 GT
HD1: WDC WD1600AAJS-0 (150GB, sata)
HD2: SAMSUNG SP0802N (70gb, IDE)

Bootin aikana näyttöön tulee tämännäköinen viesti (Kernelin lokitiedostosta)

Koodia: [Valitse]
May 22 03:28:20 Phoenix kernel: [   34.816024] ata7.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
May 22 03:28:20 Phoenix kernel: [   34.816068] ata7.01: cmd a0/01:00:00:80:00/00:00:00:00:00/b0 tag 0 dma 16512 in
May 22 03:28:20 Phoenix kernel: [   34.816069]          cdb 5a 00 2a 00 00 00 00 00  80 00 00 00 00 00 00 00
May 22 03:28:20 Phoenix kernel: [   34.816069]          res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout)

Tämä viesti toistuu kolme kertaa pienen viiveen jälkeen, jonka jälkeen vihdoin pääsen login-ruutuun. Molemmat levyt toimivat muuten virheettömästi.

Kun laitan biosista JMicron 363 ATA Controller asetuksen pois IDE modesta niin ongelmaa ei enää tule, ja boottaa nopeasti ilman virheitä, mutta eipä tunnista myöskään Samsungin läpyskää.

Koittelin tuossa jo googletella jonkin aikaa mutta enpä oikein vastausta saanut vaikka samanlaisia threadeja näytti löytyvän.

Tässä (ainakin omasta mielestä) tärkeä kokonaisuus kernelin lokista:

Koodia: [Valitse]
May 22 03:28:20 Phoenix kernel: [    4.152603] ata7.00: ATA-7: SAMSUNG SP0802N, TK100-24, max UDMA/100
May 22 03:28:20 Phoenix kernel: [    4.152604] ata7.00: 156368016 sectors, multi 16: LBA48
May 22 03:28:20 Phoenix kernel: [    4.152623] ata7.01: ATAPI: HL-DT-ST GCE-8525B, 1.03, max UDMA/33
May 22 03:28:20 Phoenix kernel: [    4.160615] ata7.00: configured for UDMA/100
May 22 03:28:20 Phoenix kernel: [    4.176495] ata7.01: configured for UDMA/33
May 22 03:28:20 Phoenix kernel: [    4.343299] scsi 6:0:0:0: Direct-Access     ATA      SAMSUNG SP0802N  TK10 PQ: 0 ANSI: 5
May 22 03:28:20 Phoenix kernel: [    4.343343] sd 6:0:0:0: [sdb] 156368016 512-byte hardware sectors: (80.0 GB/74.5 GiB)
May 22 03:28:20 Phoenix kernel: [    4.343351] sd 6:0:0:0: [sdb] Write Protect is off
May 22 03:28:20 Phoenix kernel: [    4.343352] sd 6:0:0:0: [sdb] Mode Sense: 00 3a 00 00
May 22 03:28:20 Phoenix kernel: [    4.343366] sd 6:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
May 22 03:28:20 Phoenix kernel: [    4.343392] sd 6:0:0:0: [sdb] 156368016 512-byte hardware sectors: (80.0 GB/74.5 GiB)
May 22 03:28:20 Phoenix kernel: [    4.343400] sd 6:0:0:0: [sdb] Write Protect is off
May 22 03:28:20 Phoenix kernel: [    4.343401] sd 6:0:0:0: [sdb] Mode Sense: 00 3a 00 00
May 22 03:28:20 Phoenix kernel: [    4.343414] sd 6:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
May 22 03:28:20 Phoenix kernel: [    4.343416]  sdb: sdb1
May 22 03:28:20 Phoenix kernel: [    4.345600] sd 6:0:0:0: [sdb] Attached SCSI disk
May 22 03:28:20 Phoenix kernel: [    4.345619] sd 6:0:0:0: Attached scsi generic sg1 type 0
May 22 03:28:20 Phoenix kernel: [    4.345898] scsi 6:0:1:0: CD-ROM            HL-DT-ST CD-RW GCE-8525B  1.03 PQ: 0 ANSI: 5
May 22 03:28:20 Phoenix kernel: [   34.816024] ata7.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
May 22 03:28:20 Phoenix kernel: [   34.816068] ata7.01: cmd a0/01:00:00:80:00/00:00:00:00:00/b0 tag 0 dma 16512 in
May 22 03:28:20 Phoenix kernel: [   34.816069]          cdb 5a 00 2a 00 00 00 00 00  80 00 00 00 00 00 00 00
May 22 03:28:20 Phoenix kernel: [   34.816069]          res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout)
May 22 03:28:20 Phoenix kernel: [   34.816187] ata7.01: status: { DRDY }
May 22 03:28:20 Phoenix kernel: [   39.856005] ata7: link is slow to respond, please be patient (ready=0)
May 22 03:28:20 Phoenix kernel: [   44.840005] ata7: device not ready (errno=-16), forcing hardreset
May 22 03:28:20 Phoenix kernel: [   44.840012] ata7: soft resetting link
May 22 03:28:20 Phoenix kernel: [   45.021126] ata7.00: configured for UDMA/100
May 22 03:28:20 Phoenix kernel: [   45.036506] ata7.01: configured for UDMA/33
May 22 03:28:20 Phoenix kernel: [   45.036726] ata7: EH complete
May 22 03:28:20 Phoenix kernel: [   75.804523] ata7.01: limiting speed to UDMA/25:PIO4
May 22 03:28:20 Phoenix kernel: [   75.804525] ata7.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
May 22 03:28:20 Phoenix kernel: [   75.804567] ata7.01: cmd a0/01:00:00:80:00/00:00:00:00:00/b0 tag 0 dma 16512 in
May 22 03:28:20 Phoenix kernel: [   75.804568]          cdb 5a 00 2a 00 00 00 00 00  80 00 00 00 00 00 00 00
May 22 03:28:20 Phoenix kernel: [   75.804568]          res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout)
May 22 03:28:20 Phoenix kernel: [   75.804687] ata7.01: status: { DRDY }
May 22 03:28:20 Phoenix kernel: [   80.844506] ata7: link is slow to respond, please be patient (ready=0)
May 22 03:28:20 Phoenix kernel: [   85.828506] ata7: device not ready (errno=-16), forcing hardreset
May 22 03:28:20 Phoenix kernel: [   85.828513] ata7: soft resetting link
May 22 03:28:20 Phoenix kernel: [   86.008626] ata7.00: configured for UDMA/100
May 22 03:28:20 Phoenix kernel: [   86.025006] ata7.01: configured for UDMA/25
May 22 03:28:20 Phoenix kernel: [   86.025230] ata7: EH complete
May 22 03:28:20 Phoenix kernel: [   86.025240] sd 6:0:0:0: [sdb] 156368016 512-byte hardware sectors: (80.0 GB/74.5 GiB)
May 22 03:28:20 Phoenix kernel: [  116.820023] ata7.01: limiting speed to PIO4
May 22 03:28:20 Phoenix kernel: [  116.820025] ata7.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
May 22 03:28:20 Phoenix kernel: [  116.820067] ata7.01: cmd a0/01:00:00:80:00/00:00:00:00:00/b0 tag 0 dma 16512 in
May 22 03:28:20 Phoenix kernel: [  116.820068]          cdb 5a 00 2a 00 00 00 00 00  80 00 00 00 00 00 00 00
May 22 03:28:20 Phoenix kernel: [  116.820068]          res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout)
May 22 03:28:20 Phoenix kernel: [  116.820186] ata7.01: status: { DRDY }
May 22 03:28:20 Phoenix kernel: [  121.860006] ata7: link is slow to respond, please be patient (ready=0)
May 22 03:28:20 Phoenix kernel: [  126.844006] ata7: device not ready (errno=-16), forcing hardreset
May 22 03:28:20 Phoenix kernel: [  126.844013] ata7: soft resetting link
May 22 03:28:20 Phoenix kernel: [  127.029125] ata7.00: configured for UDMA/100
May 22 03:28:20 Phoenix kernel: [  127.048438] ata7.01: configured for PIO4
May 22 03:28:20 Phoenix kernel: [  127.048658] ata7: EH complete

Tämähän ei siis mikään kauhea ongelma ole, kun kone on muutenkin lähes 24/7 pyörimässä mutta ärsyttävä silti. Kiitoksia jo näin etukäteen :)
« Viimeksi muokattu: 23.05.09 - klo:13.33 kirjoittanut Viitapiru »

jussike

  • Käyttäjä
  • Viestejä: 979
    • Profiili
Vs: Ongelma kiintolevyn kanssa
« Vastaus #1 : 22.05.09 - klo:10.57 »
Tuossahan tapahtuu sellainen juttu, että pata(ide)-väylä toimii jostakin syystä niin hitaasti, että kernel joutuu kahteen kertaan tiputtamaan nopeutta ennen kuin väylä toimii oikein. Tuo operaatio nyt ilmeisesti rajoittaa IDE-levysi siirtonopeuden PIO4:ksi, eli 16,6 megatavua sekunnissa.

Tuohon on varmaan montakin mahdollista syytä miksi noin käy.

a) bios-asetukset (näitä olitkin jo ihmetelly)
b) ide-levyn kaapelissa vikaa
c) ide-levyssä vikaa
d) joku muu ihmeellinen sata/ide -yhteensopivuusongelma
e) jne..

Jos ongelman varsinainen syy ei löydy, niin tuota voisi yrittää pakottaa suosiolla tuohon nopeuteen millä se toimii. Google kertonee onko se mahdollista.

---

Jos et muuta keksi ni kokeile tätä:

Koodia: [Valitse]
sudo apt-get install hdparm
Muokkaa /etc/hdparm.conf
Koodia: [Valitse]
gksudo gedit /etc/hdparm.conf
Vaihda sdb:n tilalle IDE-levysi laitetunnus. Tarkista, esim sudo fdisk -l
Koodia: [Valitse]
/dev/sdb {
         transfer_mode = 12
         dma = on
         }

Ton pitäs kertoo koneelle suoraan mitä nopeutta käytetään, ettei tarvitse arpoa. Mutta se ei ratkaise sitä ongelmaa, jos se toimii hitaammalla nopeudella kuin pitäisi. Tosin en katsonut missä vaiheessa boottia tuo luetaan, että ehtiikö asetus ennen tuota kernelin ihmettelyä aiheesta.
« Viimeksi muokattu: 22.05.09 - klo:11.38 kirjoittanut jussike »

Phoenixs

  • Käyttäjä
  • Viestejä: 2
    • Profiili
Vs: Ongelma kiintolevyn kanssa
« Vastaus #2 : 23.05.09 - klo:13.32 »
Ongelma ratkaistu. Kattelin noita kytkentöjä ja olin vetänyt yhteen IDE-kaapeliin kiinni tämän Samsungin levyn sekä polttavan cd aseman. Otin cd aseman irti, boottasin ja kappas, boottas nopeasti ja tunnisti molemmat kovot.

Johtuukohan kenties jumppereista? Anyways, ratkaistu. :)