PDA

View Full Version : Problems with my server... HD is gone?



giacco
01-10-2006, 08:01 PM
Hello, i'm new on linux,
i have a server in a webfarm, with Fedora core 4

it started having problems, and on boot it tells "unable to find boot... etc etc... insert disc in drive a"

webfarm staff installed KNOPPIX in the RAM... to let me access via SSH and check if the HD is broken.

but i'm not able!!!!

i paste the output of lspci -v:





root@0[/]# lspci -v
0000:00:00.0 Host bridge: Silicon Integrated Systems [SiS] 746 Host (rev 02)
Flags: bus master, medium devsel, latency 0
Memory at d0000000 (32-bit, non-prefetchable) [size=64M]
Capabilities: [c0] AGP version 2.0

0000:00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SG86C202 (prog-if 00 [
Normal decode])
Flags: bus master, fast devsel, latency 64
Bus: primary=00, secondary=01, subordinate=02, sec-latency=64
Memory behind bridge: cdd00000-cfefffff
Prefetchable memory behind bridge: bda00000-cdbfffff

0000:00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media I
O] (rev 25)
Flags: bus master, medium devsel, latency 0

0000:00:02.1 SMBus: Silicon Integrated Systems [SiS]: Unknown device 0016
Flags: medium devsel
I/O ports at 0c00 [size=32]

0000:00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (prog-if
80 [Master])
Subsystem: Silicon Integrated Systems [SiS] SiS5513 EIDE Controller (A,B
step)
Flags: bus master, medium devsel, latency 128
I/O ports at ff00 [size=16]

0000:00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] Sound
Controller (rev a0)
Subsystem: C-Media Electronics Inc: Unknown device 0300
Flags: bus master, medium devsel, latency 64, IRQ 10
I/O ports at dc00 [size=256]
I/O ports at d800 [size=128]
Capabilities: [48] Power Management version 2

0000:00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller
(rev 0f) (prog-if 10 [OHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 5470
Flags: bus master, medium devsel, latency 64, IRQ 10
Memory at cfffe000 (32-bit, non-prefetchable) [size=4K]

0000:00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller
(rev 0f) (prog-if 10 [OHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 5470
Flags: bus master, medium devsel, latency 64, IRQ 5
Memory at cffff000 (32-bit, non-prefetchable) [size=4K]

0000:00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
(prog-if 20 [EHCI])
Subsystem: Silicon Integrated Systems [SiS] USB 2.0 Controller
Flags: bus master, medium devsel, latency 64, IRQ 5
Memory at cffdf000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [50] Power Management version 2

0000:00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fa
st Ethernet (rev 90)
Subsystem: Silicon Integrated Systems [SiS] SiS900 10/100 Ethernet Adapt
er
Flags: bus master, medium devsel, latency 64, IRQ 5
I/O ports at d400 [size=256]
Memory at cffdc000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at cffa0000 [disabled] [size=128K]
Capabilities: [40] Power Management version 2

0000:01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX
400] (rev b2) (prog-if 00 [VGA])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 8826
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
Memory at ce000000 (32-bit, non-prefetchable) [size=16M]
Memory at c0000000 (32-bit, prefetchable) [size=128M]
Expansion ROM at cfef0000 [disabled] [size=64K]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 2.0

root@0[/]#







tkanks,
Simone
[/quote]

UnderScore
01-10-2006, 08:20 PM
lspci is only going to list the PCI devices such as the motherboard chipset, USB controllers, IDE controllers. It will never list attached storage devices like IDE, SCSI or USB flash drives.

Use the command dmesg to get device info from the kernel messages and send that through a filter called grep:
dmesg | grep -i ide
dmesg | grep -i hd

This is the output of those commands on my machine:
-bash-2.05b# dmesg | grep -i ide
BIOS-provided physical RAM map:
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 00:07.1
ide0: BM-DMA at 0x1060-0x1067, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0x1068-0x106f, BIOS settings: hdc:DMA, hdd:pio
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hdb: attached ide-disk driver.
ide-floppy driver 0.99.newide
ide-floppy driver 0.99.newide
EXT3-fs: ide0(3,1): orphan cleanup on readonly fs
EXT3-fs: ide0(3,1): 9 orphan inodes deleted
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,65), internal journal

-bash-2.05b# dmesg | grep -i hd
ide0: BM-DMA at 0x1060-0x1067, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0x1068-0x106f, BIOS settings: hdc:DMA, hdd:pio
hda: Maxtor 83201D6, ATA DISK drive
hdb: WDC AC22500L, ATA DISK drive
hdc: MATSHITA CR-5850, ATAPI CD/DVD-ROM drive
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 6267744 sectors (3209 MB) w/256KiB Cache, CHS=777/128/63, UDMA(33)
hdb: attached ide-disk driver.
hdb: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
hdb: task_no_data_intr: error=0x04 { DriveStatusError }
hdb: 4999680 sectors (2560 MB) w/256KiB Cache, CHS=620/128/63, DMA
hda: hda1 hda3
hdb: hdb1
-bash-2.05b#
The important data is the hd?? such as hda or hdb1.
In my system:
hda is a hard drive on the master IDE drive on the Primary IDE controller channel
hdb is a hard drive on the slave IDE drive on the Primary IDE controller channel
hdc is a CDROM drive on the master IDE drive on the Secondary IDE controller channel

hda1 is the root / of the system
hda3 is the swap partition
hdb1 is a /home partition for user data

giacco
01-10-2006, 08:28 PM
THANKS! i paste the results:


//////////////////////////////////////////////////////////////////////////////////////////////////////////////

root@1[~]# dmesg | grep -i ide
BIOS-provided physical RAM map:
CPU: After generic identify, caps: 0383f9ff c1cbf9ff 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 0383f9ff c1cbf9ff 00000000 00000000 00000000 00000000 00000000
Boot video device is 0000:01:00.0
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SIS5513: IDE controller at PCI slot 0000:00:02.5
SIS5513: SiS 962/963 MuTIOL IDE UDMA133 controller
ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
Probing IDE interface ide1...
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide0...
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
root@1[~]#


/////////////////////////////////////////////////////////////////////////////////////////////



root@1[~]# dmesg | grep -i hd
ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdc:DMA, hdd:DMA
hdc: SAMSUNG CD-ROM SC-152L, ATAPI CD/DVD-ROM drive
hdc: ATAPI 52X CD-ROM drive, 128kB Cache
root@1[~]#

giacco
01-10-2006, 10:47 PM
anybody knows?? if my HD is broken?

please help! :(