HDD Script schlägt fehl

to stream or not to stream
Pilsator
Beiträge: 2
Registriert: Dienstag 26. Dezember 2006, 16:53

HDD Script schlägt fehl

Beitrag von Pilsator »

Habe nach Einbau des Interfaces das Problem das ich die Platte nicht initialisieren kann. Das Script führt zu einem Box Reset.

Hier der Auszug des Log vom Booten:

Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
dboxide: $Id: main.c,v 1.10 2006/10/04 00:36:41 carjay Exp $
ide: late registration of driver.
dboxide: activating cs2
dboxide: address space of DBox2 IDE CPLD is at: 0xc38bb000
Probing IDE interface ide0...
hda: Maxtor 6L080L0, ATA DISK drive
ide0 at 0x010-0x017,0x04e on irq 47
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=158816/16/63
Partition check:
/dev/ide/host0/bus0/target0/lun0: p1 p2

/dev/ide/host0/bus0/target0/lun0/disc:
setting standby to 60 (5 minutes)
setting acoustic management to 128
acoustic = 0 (128=quiet ... 254=fast)

Dann das Script:

[CPlugins] executing /lib/tuxbox/plugins/hddinit.sh
rm: cannot remove `/var/etc/.ext2': No such file or directory
rm: cannot remove `/var/etc/.ext3': No such file or directory
rm: cannot remove `/var/etc/.xfs': No such file or directory
umount: Couldn't umount /hdd: Invalid argument
swapoff: /dev/ide/host0/bus0/target0/lun0/part1: Invalid argument
Checking that no-one is using this disk right now ...
/dev/ide/host0/bus0/target0/lun0: p1 p2
OK
Warning: no primary partition is marked bootable (active)
This does not matter for LILO, but the DOS MBR will not boot this disk.
/dev/ide/host0/bus0/target0/lun0: p1 p2
If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
mke2fs 1.35 (28-Feb-2004)
[sectionsd] getUTC: read: Connection timed out
hda: lost interrupt
hda: status error: status=0x58 { DriveReady SeekComplete DataRequest }

hda: drive not ready for command
hda: status timeout: status=0xd0 { Busy }

hda: drive not ready for command
ide0: reset: success
hda: status timeout: status=0xd0 { Busy }

hda: no DRQ after issuing WRITE
ide0: reset: master: ECC circuitry error
hda: lost interrupt
hda: status error: status=0x58 { DriveReady SeekComplete DataRequest }

hda: drive not ready for command
hda: status timeout: status=0xd0 { Busy }

hda: drive not ready for command
ide0: reset: success
hda: lost interrupt
hda: status error: status=0x58 { DriveReady SeekComplete DataRequest }

hda: drive not ready for command
hda: status timeout: status=0xd0 { Busy }

hda: drive not ready for command
ide0: reset: success
[sectionsd] getUTC: read: Connection timed out
dboxide: outb: fifo not empty?!
CPLD Status is 08125017
dboxide: trace
2c5e8ccf: INB 17 50
c388e274 c3898a30 c389904c c0003a98
2c5e8cbb: INB 17 50
c388e238 c3898a30 c389904c c0003a98
2c5e8c88: OUTB 16 e0
c388d4ec c3898a18 c389904c c0003a98
2c5e8ae8: INB 17 50
c38bdc3c c389900c c0003a98 c0003b9c
2c5e8ab0: INB 17 50
c388e0c8 c3898fd4 c0003a98 c0003b9c
2c5e88f5: OUTSW 10 100
c388d7e8 c388f5d8 c38bdd1c c389900c
2c5e88c3: INB 17 58
c38bdc3c c389900c c0003a98 c0003b9c
2c5e888a: INB 17 58
c388e0c8 c3898fd4 c0003a98 c0003b9c
2c5e86c3: OUTSW 10 100
c388d7e8 c388f5d8 c38bdd1c c389900c
2c5e8653: INB 17 58
c38bdc3c c389900c c0003a98 c0003b9c
2c5e8618: INB 17 58
c388e0c8 c3898fd4 c0003a98 c0003b9c
2c5e8466: OUTSW 10 100
c388d7e8 c388f5d8 c38bdd1c c389900c
2c5e8432: INB 17 58
c38bdc3c c389900c c0003a98 c0003b9c
2c5e83f4: INB 17 58
c388e0c8 c3898fd4 c0003a98 c0003b9c
2c5e8238: OUTSW 10 100
c388d7e8 c388f5d8 c38bdd1c c389900c
2c5e81c5: INB 17 58
c38bdc3c c389900c c0003a98 c0003b9c
2c5e8189: INB 17 58
c388e0c8 c3898fd4 c0003a98 c0003b9c
2c5e7fd2: OUTSW 10 100
c388d7e8 c388f5d8 c38bdd1c c389900c
2c5e7f9f: INB 17 58
c38bdc3c c389900c c0003a98 c0003b9c
2c5e7f69: INB 17 58
c388e0c8 c3898fd4 c0003a98 c0003b9c
2c5e7da1: OUTSW 10 100
c388d7e8 c388f5d8 c38bdd1c c389900c
2c5e7d2e: INB 17 58
c38bdc3c c389900c c0003a98 c0003b9c
2c5e7cf2: INB 17 58
c388e0c8 c3898fd4 c0003a98 c0003b9c
2c5e7b3f: OUTSW 10 100
c388d7e8 c388f5d8 c38bdd1c c389900c
2c5e7b09: INB 17 58
c38bdc3c c389900c c0003a98 c0003b9c
2c5e7acb: INB 17 58
c388e0c8 c3898fd4 c0003a98 c0003b9c
2c5e7901: OUTSW 10 100
c388d7e8 c388f5d8 c38bdd1c c389900c
2c5e7884: INB 17 58
c38bdc3c c389900c c0003a98 c0003b9c
2c5e784b: INB 17 58
c388e0c8 c3898fd4 c0003a98 c0003b9c
2c5e7691: OUTSW 10 100
c388d7e8 c388f5d8 c38bdd1c c389900c
2c5e765f: INB 17 58
c38bdc3c c389900c c0003a98 c0003b9c
trace end.
debug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS
debug: WATCHDOG RESET
debug: BMon V1.0 mID 01
debug: feID dd gtxID 0b


Und wie man sieht wurde resettet....

Wäre für jeden Tip Dankbar

Gruß,
Pilsator
JtG-Riker
Image-Team
Beiträge: 1015
Registriert: Freitag 7. Februar 2003, 18:37

Beitrag von JtG-Riker »

Interrupt Kabel nicht richtig angeschlossen oder defekt.

Frohe Weihnachten

Riker
Pilsator
Beiträge: 2
Registriert: Dienstag 26. Dezember 2006, 16:53

ECC circuitry error

Beitrag von Pilsator »

Kabel hab ich nochmal ein neues aufgelegt.

Diesmal kein lost interrupt, dafür immer noch
hda: no DRQ after issuing WRITE
ide0: reset: master: ECC circuitry error
und dann auch wieder reset.

Nachtrag:
Auch nach mehreren Versuchen, der Lost Interrupt kam nur das eine mal.
Jetzt immer die obige Meldung mit anschliessendem Reset.
Habe mehrfach die Kontakte gesäubert, die Distanzhülsen entfernt und einmal das Kabel zum Modemport gewechselt. Stecker saß aber auch beim 1. mal definitiv mittig.
Beim Booten wird HD erkannt, beim Script zerlegt es sich dann. Festplattengeräusche kommen bei der Formatierung, danach aber der Reboot. Unter Ubuntu konnt ich die Platte problemlos mit fdisk, sfdisk bearbeiten.
thgoldha
Neugieriger
Neugieriger
Beiträge: 9
Registriert: Freitag 29. Dezember 2006, 20:46

Gleiches Problem...

Beitrag von thgoldha »

Nachdem ich den Fehler mit "Walking Bit Test Failed" nach gründlicher Kontaktreinigung beseitigen konnte, habe ich nun ebenfalls das oben beschriebene Problem mit dem "Lost interrupt".

Die Steckkontakte sind definitiv sauber. Entweder hat wohl das "Modem"kabel einen Schuss oder ich bin einfach zu doof dafür. Gibt es eine Möglichkeit, das "Modem"kabel direkt aufzulöten, um Kontaktprobleme auszuschließen?

Hier mal der Vollständigkeit halber das Logfile:

hda: status timeout: status=0xe0 { Busy }

hda: drive not ready for command
ide0: reset: master: error (0x0a?)
hda: lost interrupt
ide0: unexpected interrupt, status=0x58, count=1
p1 p2 <hda: status error: status=0x58 { DriveReady SeekComplete DataRequest }

hda: drive not ready for command
p5 >
OK

Disk /dev/ide/host0/bus0/target0/lun0/disc: 4865 cylinders, 255 heads, 63 sector
s/track
hda: status error: status=0x58 { DriveReady SeekComplete DataRequest }

hda: drive not ready for command
hda: lost interrupt
hda: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }

hda: status timeout: status=0xe0 { Busy }

hda: drive not ready for command
ide0: unexpected interrupt, status=0x80, count=2
ide0: reset: success
hda: lost interrupt
Old situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/ide/host0/bus0/target0/lun0/part1 * 0+ 1023 1024- 8225248+
b W95 FAT32
/dev/ide/host0/bus0/target0/lun0/part2 1024 4864 3841 30852832+
f W95 Ext'd (LBA)
start: (c,h,s) expected (1023,254,63) found (1023,0,1)
/dev/ide/host0/bus0/target0/lun0/part3 0 - 0 0
0 Empty
/dev/ide/host0/bus0/target0/lun0/part4 0 - 0 0
0 Empty
/dev/ide/host0/bus0/target0/lun0/part5 1024+ 4864 3841- 30852801
b W95 FAT32
start: (c,h,s) expected (1023,254,63) found (1023,1,1)
New situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/ide/host0/bus0/target0/lun0/part1 0+ 127 128- 1028159+ 8
2 Linux swap / Solaris
/dev/ide/host0/bus0/target0/lun0/part2 128 4864 4737 38049952+ 8
3 Linux
/dev/ide/host0/bus0/target0/lun0/part3 0 - 0 0
0 Empty
/dev/ide/host0/bus0/target0/lun0/part4 0 - 0 0
0 Empty
Warning: no primary partition is marked bootable (active)
This does not matter for LILO, but the DOS MBR will not boot this disk.
Successfully wrote the new partition table

Re-reading the partition table ...
hda: lost interrupt
hda: lost interrupt
hda: lost interrupt

hda: status error: status=0x58 { DriveReady SeekComplete DataRequest }
thgoldha
Neugieriger
Neugieriger
Beiträge: 9
Registriert: Freitag 29. Dezember 2006, 20:46

Beitrag von thgoldha »

Ich hatte heute mal die Gelegenheit, mein IF in eine andere DBox (Nokia Kabel Avia 600) zu stecken. Und siehe da: Dort funktionierte alles auf Anhieb. Der Fehler mit den Lost Interrupts liegt also definitiv an meiner Box...