Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#308579 - 26/03/2008 17:49 hdb: irq timeout while running fsck
jondle
new poster

Registered: 19/08/2005
Posts: 38
Loc: San Diego, CA, USA
I was trying to upload some new music and I got irq timeout on the display. So I logged into the console to run a fsck. I ran it on /dev/hda4 and it came back clean. Then I ran it on /dev/hdc4 and I ran into the irq errors.

I'm using hijack 440 prebuilt by Mike Comb with ext3 support on my MKII.

Below is the capture of the boot and the fsck. Does this look like a bad hard drive or something worse? What is hdb? I haven't done Linux admin in about 3 years, but I seem to remember that hda1 where "a" is the drive enumeration and "1" is the partition enumeration. Why is the Toshiba drive set to hdb while booting, but the /drive1 comes from hdc?

Thanks in advance for any help you can provide.

empeg-car bootstrap v1.02 20001106 (hugo@empeg.com)
If there is anyone present who wants to upgrade the flash, let them speak now,
or forever hold their peace...it seems not. Let fly the Penguins of Linux!

e000 v1.04
Copying kernel...
Calling linux kernel...
Uncompressing Linux....................................... done, booting the kernel.
Linux version 2.2.17-rmk5-np17-empeg52-hijack-v440 (mcomb@grovepc) (gcc version 2.95.3 20010315 (release)) #5 Fri Sep 30 14:44:26 PDT 2005
Processor: Intel StrongARM-1100 revision 11
Checking for extra DRAM:
c1000000: wrote ffffffff, read e91ba9f0
NetWinder Floating Point Emulator V0.94.1 (c) 1998 Corel Computer Corp.
empeg-car player (hardware revision 9, serial number 30103119) 16MB DRAM
Command line: mem=16m
Calibrating delay loop... 207.67 BogoMIPS
Memory: 14952k/16M available (1044k code, 20k reserved, 364k data, 4k init)
Dentry hash table entries: 2048 (order 2, 16k)
Buffer cache hash table entries: 16384 (order 4, 64k)
Page cache hash table entries: 4096 (order 2, 16k)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
TCP: Hash tables configured (ehash 16384 bhash 16384)
IrDA (tm) Protocols for Linux-2.2 (Dag Brattli)
Starting kswapd v 1.5
SA1100 serial driver version 4.27 with no serial options enabled
ttyS00 at 0xf8010000 (irq = 15) is a SA1100 UART
ttyS01 at 0xf8050000 (irq = 17) is a SA1100 UART
ttyS02 at 0xf8030000 (irq = 16) is a SA1100 UART
Signature is 206f6972 'rio '
Tuner: loopback=0, ID=-1
empeg display initialised.
empeg dsp audio initialised
empeg dsp mixer initialised
empeg dsp initialised
empeg audio-in initialised, CS4231A revision a0
empeg remote control/panel button initialised.
empeg usb initialised, PDIUSBD12 id 1012
empeg state support initialised 0089/88c1 (save to d0004580).
empeg RDS driver initialised
empeg power-pic driver initialised (first boot)
RAM disk driver initialized: 16 RAM disks of 4096K size

empeg single channel IDE
Probing primary interface...
hdb: TOSHIBA MK4025GAS, ATA DISK drive
hda: FUJITSU MHL2300AT, ATA DISK drive
hdb: TOSHIBA MK4025GAS, ATA DISK drive
ide0 at 0x000-0x007,0x038 on irq 6
hda: FUJITSU MHL2300AT, 28615MB w/2048kB Cache, CHS=58140/16/63
hdb: TOSHIBA MK4025GAS, 38154MB w/0kB Cache, CHS=4864/255/63

empeg-flash driver initialized
smc chip id/revision 0x3349
smc9194.c:v0.12 03/06/96 by Erik Stahlman (erik@vt.edu)
SMC9194: SMC91C94(r:9) at 0x4008000 IRQ:7 INTF:TP MEM:6144b MAC 00:02:d7:26:0c:2f

Partition check:
hda: hda1 < hda5 hda6 > hda2 hda3 hda4
hdb: hdb1 < hdb5 hdb6 > hdb2 hdb3 hdb4

RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 320 blocks [1 disk] into ram disk... |/-\|/-\|/-\|/-\|/-\done.
EXT2-fs warning: checktime reached, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
empeg-pump v0.03 (19980601)
Press Ctrl-A to enter pump...VFS: Mounted root (ext2 filesystem) readonly.
change_root: old root has d_count=1
Trying to unmount old root ... okay
Freeing unused kernel memory: 4k initempeg init 0.8
I see this is a developer image!
Mounting proc
Mounting first music partition
Tried to mount /dev/hda4 as reiserfs but got empeg-EXT3: changing mount type for:/dev/hda4
error 19
EXT3-fs: mounted filesystem with ordered data mode.
Mounting second music partition
empeg-EXT3: changing mount type for:/dev/hdc4
EXT3-fs: mounted filesystem with ordered data mode.
Remounting first music partition read-only
Remounting second music partition read-only
Press 'q' now to go into development mode. You Have Zero Seconds To Comply...
Starting player
Timezone: PST8PDT

Hijack: intercepting config.ini

hijack: removed menu entry: "Hard Disk Detection"
hijack: removed menu entry: "Serial Port Assignment"
khttpd: listening on port 80
kftpd: listening on port 21
player.cpp : 385:empeg-car 2.00 2003/04/01.
Prolux 4 empeg car - 2.1434 Mar 26 2003
Vcb: 0x40894000

q
Restored terminal settings
Remounting first music partition read-only
Remounting second music partition read-only
Player exited normally: 0
Switching to shell-player loop
Starting bash.

empeg:/empeg/bin# cat /etc/fstab
#
# /etc/fstab
#
# <device> <mountpoint> <filesystemtype> <options> <dump> <fsckorder>
/dev/hda5 / ext2 defaults,ro 1 1
/dev/hda4 /drive0 ext3 defaults,ro 1 1
/dev/hdc4 /drive1 ext3 defaults,ro 1 1
none /proc proc defaults

empeg:/empeg/bin# umount /dev/hdc4
empeg:/empeg/bin# e2fsck -c -f /dev/hdc4
e2fsck 1.29 (24-Sep-2002)
Checking for bad blocks (read-only test): 0/ 38965657
2512/ 38965657
...
38964128/ 38965657
done

Pass 1: Checking inodes, blocks, and sizes
Inode 65662 has illegal block(s). Clear<y>? yes

Illegal block #41 (429496no room for private writable mapping
7295) in error: -12
inode 65662. CLEARED.
no room for private writable mapping
error: -12
Error allocating block bitmap (3): Memory allocation failed
e2fsck: aborted
/dev/hdc4: ***** FILE SYSTEM WAS MODIFIED *****
/dev/hdc4: 5503/304448 files (24.4% non-contiguous), 14212196/38965657 blocks
VM: do_try_to_free_pages failed for e2fsck...
VM: do_try_to_free_pages failed for e2fsck...
VM: do_try_to_free_pages failed for e2fsck...
VM: do_try_to_free_pages failed for e2fsck...
VM: do_try_to_free_pages failed for e2fsck...
VM: do_try_to_free_pages failed for e2fsck...
VM: do_try_to_free_pages failed for e2fsck...
VM: do_try_to_free_pages failed for e2fsck...
VM: do_try_to_free_pages failed for e2fsck...
VM: do_try_to_free_pages failed for e2fsck...
VM: do_try_to_free_pages failed for e2fsck...
VM: do_try_to_free_pages failed for e2fsck...
VM: do_try_to_free_pages failed for e2fsck...
VM: do_try_to_free_pages failed for e2fsck...
VM: do_try_to_free_pages failed for e2fsck...
VM: do_try_to_free_pages failed for e2fsck...
VM: do_try_to_free_pages failed for e2fsck...
VM: do_try_to_free_pages failed for e2fsck...
VM: do_try_to_free_pages failed for e2fsck...
VM: do_try_to_free_pages failed for e2fsck...
VM: do_try_to_free_pages failed for e2fsck...
VM: do_try_to_free_pages failed for e2fsck...
VM: do_try_to_free_pages failed for e2fsck...

hdb: irq timeout: status=0xd0
ide0: reset: success
hdb: irq timeout: status=0xd0
ide0: reset: success
hdb: irq timeout: status=0xd0
end_request: I/O error, dev 03:44 (hdb), sector 2
hdb: status timeout: status=0xd0
hdb: drive not ready for command
ide0: reset: success
hdb: irq timeout: status=0xd0
ide0: reset: success
hdb: irq timeout: status=0xd0
ide0: reset: success
hdb: irq timeout: status=0xd0
end_request: I/O error, dev 03:44 (hdb), sector 16386
hdb: status timeout: status=0xd0
hdb: drive not ready for command
ide0: reset: success
hdb: irq timeout: status=0xd0
ide0: reset: success
hdb: irq timeout: status=0xd0
ide0: reset: success
hdb: irq timeout: status=0xd0
end_request: I/O error, dev 03:44 (hdb), sector 49154
hdb: status timeout: status=0xd0
hdb: drive not ready for command
ide0: reset: success
hdb: irq timeout: status=0xd0
ide0: reset: success
hdb: irq timeout: status=0xd0
ide0: reset: success
hdb: irq timeout: status=0xd0
end_request: I/O error, dev 03:44 (hdb), sector 81922
hdb: status timeout: status=0xd0
hdb: drive not ready for command
ide0: reset: success
hdb: irq timeout: status=0xd0
ide0: reset: success
hdb: irq timeout: status=0xd0
ide0: reset: success
hdb: irq timeout: status=0xd0
end_request: I/O error, dev 03:44 (hdb), sector 114690
hdb: status timeout: status=0xd0
hdb: drive not ready for command
ide0: reset: success
hdb: irq timeout: status=0xd0
ide0: reset: success
hdb: irq timeout: status=0xd0
ide0: reset: success
hdb: irq timeout: status=0xd0
end_request: I/O error, dev 03:44 (hdb), sector 147458
hdb: status timeout: status=0xd0
hdb: drive not ready for command
ide0: reset: success
hdb: irq timeout: status=0xd0
ide0: reset: success
hdb: irq timeout: status=0xd0
ide0: reset: success
hdb: irq timeout: status=0xd0
end_request: I/O error, dev 03:44 (hdb), sector 409602
hdb: status timeout: status=0xd0
hdb: drive not ready for command
ide0: reset: success
hdb: irq timeout: status=0xd0
ide0: reset: success
hdb: irq timeout: status=0xd0
ide0: reset: success
hdb: irq timeout: status=0xd0
end_request: I/O error, dev 03:44 (hdb), sector 442370
hdb: status timeout: status=0xd0
hdb: drive not ready for command
ide0: reset: success
hdb: irq timeout: status=0xd0
ide0: reset: success
hdb: irq timeout: status=0xd0
ide0: reset: success
hdb: irq timeout: status=0xd0
end_request: I/O error, dev 03:44 (hdb), sector 802818
hdb: status timeout: status=0xd0
hdb: drive not ready for command
ide0: reset: success
hdb: irq timeout: status=0xd0
ide0: reset: success
hdb: irq timeout: status=0xd0
ide0: reset: success
hdb: irq timeout: status=0xd0
end_request: I/O error, dev 03:44 (hdb), sector 1327106
hdb: status timeout: status=0xd0
hdb: drive not ready for command
ide0: reset: success
hdb: irq timeout: status=0xd0
ide0: reset: success
hdb: irq timeout: status=0xd0
ide0: reset: success
hdb: irq timeout: status=0xd0
end_request: I/O error, dev 03:44 (hdb), sector 2048002
hdb: status timeout: status=0xd0
hdb: drive not ready for command
ide0: reset: success
hdb: irq timeout: status=0xd0
ide0: reset: success
hdb: irq timeout: status=0xd0
ide0: reset: success
hdb: irq timeout: status=0xd0
end_request: I/O error, dev 03:44 (hdb), sector 3981314
hdb: status timeout: status=0xd0
hdb: drive not ready for command
ide0: reset: success
hdb: irq timeout: status=0xd0
ide0: reset: success
hdb: irq timeout: status=0xd0
ide0: reset: success
hdb: irq timeout: status=0xd0
ide0: reset: success
hdb: irq timeout: status=0xd0
end_request: I/O error, dev 03:44 (hdb), sector 10240002
hdb: status timeout: status=0xd0
hdb: drive not ready for command
ide0: reset: success
hdb: irq timeout: status=0xd0
ide0: reset: success

empeg:/empeg/bin#
_________________________
Mark IIa -- #30103119 -- 70 gig w/ ext3 fs-- Eutronix Light Kit -- Greenlight buttons

Top
#308587 - 26/03/2008 18:45 Re: hdb: irq timeout while running fsck [Re: jondle]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4180
Loc: Cambridge, England
Originally Posted By: jondle
Why is the Toshiba drive set to hdb while booting, but the /drive1 comes from hdc?

Because we cheated, to make things the same between Mark 1 (which has hda and hdc) and Mark 2 (which has hda and hdb). The second drive in a Mark 2 "is" hdb, but the device nodes /dev/hdc* are the ones which would normally refer to hdb.

Quote:
no room for private writable mapping

You should enable swap ("swapon /swapfile") before running fsck, you'll get out-of-memory errors like that one otherwise. However, that's not your main problem; it couldn't cause those IRQ errors. Either the second drive is failing, or -- much more likely -- there's a problem with the IDE cable, perhaps where it's attached to the second drive. Dismantle the player and check all the connections are bedded-in properly.

Peter

Top
#308588 - 26/03/2008 19:17 Re: hdb: irq timeout while running fsck [Re: peter]
jondle
new poster

Registered: 19/08/2005
Posts: 38
Loc: San Diego, CA, USA
Thanks for the quick response.

Originally Posted By: peter
You should enable swap ("swapon /swapfile") before running fsck, you'll get out-of-memory errors like that one otherwise.


Ah....the little things you forget when you haven't logged into the console of your empeg in a couple years.

Originally Posted By: peter
there's a problem with the IDE cable

I've replaced the cable before, but it was mailed to me from support. Do you know where to get a pre-made one now, or do I have to find a laptop one and cut it down? Either way, I'll take it appart when I get home from work and just double check the seating.

Thanks again.
_________________________
Mark IIa -- #30103119 -- 70 gig w/ ext3 fs-- Eutronix Light Kit -- Greenlight buttons

Top
#308595 - 26/03/2008 20:28 Re: hdb: irq timeout while running fsck [Re: jondle]
AndrewT
old hand

Registered: 16/02/2002
Posts: 867
Loc: Oxford, UK
Don't forget to check the IDE header connector on the mainboard for dry joints - link.

Top
#308598 - 26/03/2008 22:15 Re: hdb: irq timeout while running fsck [Re: jondle]
oliver
addict

Registered: 02/04/2002
Posts: 691
Originally Posted By: jondle
I've replaced the cable before, but it was mailed to me from support. Do you know where to get a pre-made one now
Eutronix has replacement IDE cables.
_________________________
Oliver mk1 30gb: 129 | mk2a 30gb: 040104126

Top
#308639 - 27/03/2008 18:55 Re: hdb: irq timeout while running fsck [Re: oliver]
jondle
new poster

Registered: 19/08/2005
Posts: 38
Loc: San Diego, CA, USA
I took the unit apart. I checked for dry joints (thanks AndrewT) by using a multi-meter and testing connectivity from the tip of the solder to the top of the pin. All pins checked out.

I then used a small mallet and beat the connectors on the ide cable together to make sure the connectors were making good contact with the wire. Then I reseated everything, obviously since I had to pull the cable to beat on it.

After putting it back together, I ran the fsck again and it came back with a lot of bad blocks. The drive is probably going bad as well, but it looks like the reseating everything fixed the irq issue, at least for now. I haven't had time to add songs or do any write tests. The fsck didn't finish last night so I had to put the player back together this morning so I could have music on the way to work.
_________________________
Mark IIa -- #30103119 -- 70 gig w/ ext3 fs-- Eutronix Light Kit -- Greenlight buttons

Top