LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-15-2005, 05:49 AM   #1
EddyRoth
LQ Newbie
 
Registered: Jul 2005
Posts: 3

Rep: Reputation: 0
Problems with my second hard disk


Hi,

i use Debian/Linux Sarge 3.1 on my computer.
It runs very fine, but Debian can't handle my 2. hard disk.

If i start Knoppix, i can work with the 2.hard disk, but Debian
shows only

"bad superblock"
"hard disk isn't able to get commands "

on any time.

Any idea which problem this is ?
Can somebody help me ?

My second hard disk is a Western 78GB.

Many thanks

EddyRoth
 
Old 07-15-2005, 05:53 AM   #2
fouldsy
Senior Member
 
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
So you run Knoppix (live CD?) and it show all the files correctly, then what filesystem is the 2nd hard drive using and what is running on it (another Linux distro, Windows, just for file storage, etc.)? What have you tried mounting the 2nd hard drive as from Debian?
 
Old 07-15-2005, 10:54 AM   #3
EddyRoth
LQ Newbie
 
Registered: Jul 2005
Posts: 3

Original Poster
Rep: Reputation: 0
yes i use a knoppix live-cd (version 3.7)
and yes knoppix shows me correctly all partions of
hard disk 2.

Actually it is 2 partitions on it.
hdd1 is ext2 and hdd2 is also ext2.And the rest of the disk
is blank. It was also possible to start qparted under knoppix,
but it wasn't possible to start fdisk under debian.

I have execute dmesg under debian, so this would be helpful ?

@Stuppy:~$ dmesg | tail
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
ip_tables: (C) 2000-2002 Netfilter core team
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
heiko@Stuppy:~$ dmesg
Linux version 2.4.27-2-386 (horms@tabatha.lab.ultramonkey.org) (gcc version 3.3.5 (Debian 1:3.3.5-12)) #1 Mon May 16 16:47:51 JST 2005
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000017ffc000 (usable)
BIOS-e820: 0000000017ffc000 - 0000000017fff000 (ACPI data)
BIOS-e820: 0000000017fff000 - 0000000018000000 (ACPI NVS)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
383MB LOWMEM available.
On node 0 totalpages: 98300
zone(0): 4096 pages.
zone(1): 94204 pages.
zone(2): 0 pages.
ACPI disabled because your bios is from 2000 and too old
You can enable it with acpi=force
Kernel command line: root=/dev/hda4 ro
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
Detected 902.081 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1795.68 BogoMIPS
Memory: 382960k/393200k available (1069k kernel code, 9852k reserved, 459k data, 96k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After generic, caps: 0383fbff 00000000 00000000 00000000
CPU: Common caps: 0383fbff 00000000 00000000 00000000
CPU: Intel Pentium III (Coppermine) stepping 06
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
POSIX conformance testing by UNIFIX
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 902.0641 MHz.
..... host bus clock speed is 100.2291 MHz.
cpu: 0, clocks: 1002291, slice: 501145
CPU0<T0:1002288,T1:501136,D:7,S:501145,C:1002291>
ACPI: Subsystem revision 20040326
ACPI: Interpreter disabled.
PCI: PCI BIOS revision 2.10 entry at 0xf0900, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router VIA [1106/0686] at 00:04.0
PCI: Disabling Via external APIC routing
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
COMX: driver version 0.85 (C) 1995-1999 ITConsult-Pro Co. <info@itc.hu>
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
Linux IP multicast router 0.06 plus PIM-SM
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 3692 blocks [1 disk] into ram disk... done.
Freeing initrd memory: 3692k freed
VFS: Mounted root (cramfs filesystem).
Freeing unused kernel memory: 96k freed
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ide: late registration of driver.
VP_IDE: IDE controller at PCI slot 00:04.1
VP_IDE: chipset revision 16
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt82c686a (rev 22) IDE UDMA66 controller on pci00:04.1
ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hdaMA, hdbMA
ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdcMA, hddMA
hda: ST340823A, ATA DISK drive
hdb: LITEON DVD-ROM LTD122, ATAPI CD/DVD-ROM drive
blk: queue d8825b60, I/O limit 4095Mb (mask 0xffffffff)
hdc: R/RW 4x4x32, ATAPI CD/DVD-ROM drive
hdd: WDC WD800BB-00DKA0, ATA DISK drive
hdc: set_drive_speed_status: status=0x40 { DriveReady }
ide1: Drive 0 didn't accept speed setting. Oh, well.
hdc: set_drive_speed_status: status=0x40 { DriveReady }
ide1: Drive 0 didn't accept speed setting. Oh, well.
hdd: set_drive_speed_status: status=0xd0 { Busy }
ide1: Drive 1 didn't accept speed setting. Oh, well.
blk: queue d88260f0, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: 78165360 sectors (40021 MB) w/1024KiB Cache, CHS=77545/16/63, UDMA(33)
hdd: attached ide-disk driver.
hdd: status error: status=0x00 { }

hdd: drive not ready for command
hdd: Host Protected Area detected.
current capacity is 156301488 sectors (80026 MB)
native capacity is 258471147279361 sectors (132337227407 MB)
hdd: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=9729/255/63, UDMA(33)
hdd: status error: status=0x00 { }

hdd: drive not ready for command
Partition check:
/dev/ide/host0/bus0/target0/lun0: [PTBL] [4865/255/63] p1 < p5 p6 > p2 p3 p4
/dev/ide/host0/bus1/target1/lun0:hdd: status error: status=0x00 { }

hdd: drive not ready for command
hdd: status error: status=0x00 { }

hdd: drive not ready for command
hdd: status error: status=0x00 { }

hdd: drive not ready for command
hdd: status error: status=0x00 { }

hdc: DMA disabled
hdd: DMA disabled
hdd: drive not ready for command
ide1: reset timed-out, status=0xa1
hdd: set_multmode: status=0x00 { }
hdd: status error: status=0x00 { }

hdd: drive not ready for command
hdd: status error: status=0x00 { }

hdd: drive not ready for command
hdd: status error: status=0x00 { }

hdd: drive not ready for command
hdd: status error: status=0x00 { }

hdd: drive not ready for command
ide1: reset timed-out, status=0xa1
end_request: I/O error, dev 16:40 (hdd), sector 0
end_request: I/O error, dev 16:40 (hdd), sector 2
end_request: I/O error, dev 16:40 (hdd), sector 4
end_request: I/O error, dev 16:40 (hdd), sector 6
end_request: I/O error, dev 16:40 (hdd), sector 0
end_request: I/O error, dev 16:40 (hdd), sector 2
end_request: I/O error, dev 16:40 (hdd), sector 4
end_request: I/O error, dev 16:40 (hdd), sector 6
unable to read partition table
Adding Swap: 1028152k swap-space (priority -1)
Real Time Clock Driver v1.10f
hdb: attached ide-cdrom driver.
hdb: ATAPI 40X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
hdc: attached ide-cdrom driver.
hdc: ATAPI 32X CD-ROM CD-R/RW drive, 2048kB Cache
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 321M
agpgart: Detected Via Apollo Pro chipset
agpgart: AGP aperture is 128M @ 0xf0000000
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport_pc: Via 686A parallel port: io=0x378
8139too Fast Ethernet driver 0.9.26
PCI: Found IRQ 10 for device 00:0b.0
eth0: RealTek RTL8139 at 0xb000, 00:50:ba:b4:b3:cf, IRQ 10
eth0: Identified 8139 chip type 'RTL-8139C'
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
es1371: version v0.32 time 16:51:39 May 16 2005
PCI: Found IRQ 9 for device 00:05.0
es1371: found chip, vendor id 0x1274 device id 0x1371 revision 0x07
es1371: found es1371 rev 7 at io 0xb800 irq 9
es1371: features: joystick 0x0
ac97_codec: AC97 Audio codec, id: 0x8384:0x7609 (SigmaTel STAC9721/23)
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 16:52:03 May 16 2005
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 5 for device 00:04.2
PCI: Sharing IRQ 5 with 00:04.3
PCI: Sharing IRQ 5 with 00:0a.0
usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 5
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 5 for device 00:04.3
PCI: Sharing IRQ 5 with 00:04.2
PCI: Sharing IRQ 5 with 00:0a.0
usb-uhci.c: USB UHCI at I/O 0xd000, IRQ 5
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
uhci.c: USB Universal Host Controller Interface driver v1.1
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
ip_tables: (C) 2000-2002 Netfilter core team
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
 
Old 07-31-2005, 11:39 AM   #4
johnny2000
LQ Newbie
 
Registered: Jul 2005
Distribution: dabian/testing/sid
Posts: 1

Rep: Reputation: 0
have you solve it?

I am not sure if you solve this problem already, but if not can you tell me how did youmount the second hard drive? thanks.
 
Old 07-31-2005, 12:39 PM   #5
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
What filesystem are you using on the second drive (ext2, ext3, reisferfs, etc), and what are the contents of the fstab file (which will be in the /etc directory)? It may be a simple matter of not having the second hard drive (namely /dev/hdd) listed correctly in that file -- J.W.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Reiser file system / Hard Disk/ Hard Drive Problems Oxyacetylene Linux - Software 4 10-10-2005 02:24 PM
hard disk problems on RH 9 nibbler Linux - Hardware 2 06-25-2005 03:26 AM
Hard disk problems Alucard9 Linux - Hardware 2 03-03-2004 08:07 AM
Serious hard disk problems stephenh Linux - Hardware 3 08-06-2003 02:06 PM
Hard Disk Problems. Madmanator Linux - Software 7 03-11-2002 09:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration