Unable to open /dev/hda

FreeBSD, Gentoo, openSUSE, CentOS, Ubuntu, Debian
stefanpropehan
Posts: 335
Joined: 2002-12-17 22:25
Location: Berlin
 

Unable to open /dev/hda

Post by stefanpropehan »

Hallo,
habe folgendes Problem... ich betreibe einen Server mit einem HW Raid 5. Da die Platten nun aber dummerweise voll sind und ich zeitweise zur Ã?berbrückung (bis ich größere SCSI Platten kaufen kann) noch ne normale IDE Platte dazu hängen muss.

Leider bekomme ich die IDE Platte nicht eingebunden... er findet zwar die Platte aber im /dev/ Dateisystem ist sie nicht vorhanden..
Mar 9 00:33:14 localhost kernel: Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
Mar 9 00:33:14 localhost kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Mar 9 00:33:14 localhost kernel: PIIX4: IDE controller at PCI slot 0000:00:07.1
Mar 9 00:33:14 localhost kernel: PIIX4: chipset revision 1
Mar 9 00:33:14 localhost kernel: PIIX4: not 100%% native mode: will probe irqs later
Mar 9 00:33:14 localhost kernel: ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
Mar 9 00:33:14 localhost kernel: Probing IDE interface ide0...
Mar 9 00:33:14 localhost kernel: hda: SAMSUNG SP1213N, ATA DISK drive
Mar 9 00:33:14 localhost kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
#fdisk /dev/hda

Unable to open /dev/hda
Hat jemand evtl. eine Idee... denn Intel Treiber für denn Chipsatz und denn universellen Treiber habe ich beide schon probiert... hier noch einmal ein aktuelles log

Linux version 2.6.10-grsec (root@vserv) (gcc-Version 3.3.5 (Debian 1:3.3.5-8)) #1 SMP Wed Mar 9 15:50:53 CET 2005
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
BIOS-e820: 000000001fff0000 - 000000001fff3000 (ACPI NVS)
BIOS-e820: 000000001fff3000 - 0000000020000000 (ACPI data)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
511MB LOWMEM available.
found SMP MP-table at 000f5b40
On node 0 totalpages: 131056
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 126960 pages, LIFO batch:16
HighMem zone: 0 pages, LIFO batch:1
DMI 2.1 present.
ACPI: RSDP (v000 GBT ) @ 0x000f7150
ACPI: RSDT (v001 GBT AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x1fff3000
ACPI: FADT (v001 GBT AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x1fff3040
ACPI: MADT (v001 GBT 0x00000000 0x00000000) @ 0x1fff5900
ACPI: DSDT (v001 GBT AWRDACPI 0x00001000 MSFT 0x01000007) @ 0x00000000
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 6:7 APIC version 17
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Processor #1 6:7 APIC version 17
Using ACPI for processor (LAPIC) configuration information
Intel MultiProcessor Specification v1.1
Virtual Wire compatibility mode.
OEM ID: OEM00000 Product ID: PROD00000000 APIC at: 0xFEE00000
I/O APIC #2 Version 17 at 0xFEC00000.
Enabling APIC mode: Flat. Using 1 I/O APICs
Processors: 2
Built 1 zonelists
Kernel command line: auto BOOT_IMAGE=Linux ro root=3001
mapped APIC to ffffd000 (fee00000)
mapped IOAPIC to ffffc000 (fec00000)
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 32768 bytes)
Detected 448.871 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 516096k/524224k available (1524k kernel code, 7652k reserved, 259k data, 476k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 880.64 BogoMIPS (lpj=440320)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 0387fbff 00000000 00000000 00000000
CPU: After vendor identify, caps: 0387fbff 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
CPU serial number disabled.
CPU: After all inits, caps: 0383fbff 00000000 00000000 00000040
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
CPU0: Intel Pentium III (Katmai) stepping 03
per-CPU timeslice cutoff: 1464.52 usecs.
task migration cache decay timeout: 2 msecs.
Booting processor 1/1 eip 2000
Initializing CPU#1
Calibrating delay loop... 894.97 BogoMIPS (lpj=447488)
CPU: After generic identify, caps: 0387fbff 00000000 00000000 00000000
CPU: After vendor identify, caps: 0387fbff 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
CPU serial number disabled.
CPU: After all inits, caps: 0383fbff 00000000 00000000 00000040
CPU1: Intel Pentium III (Katmai) stepping 03
Total of 2 processors activated (1775.61 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 pin1=2 pin2=0
checking TSC synchronization across 2 CPUs: passed.
Brought up 2 CPUs
CPU0:
domain 0: span 3
groups: 1 2
CPU1:
domain 0: span 3
groups: 2 1
NET: Registered protocol family 16
EISA bus registered
PCI: PCI BIOS revision 2.10 entry at 0xfb290, last bus=1
PCI: Using configuration type 1
Linux Plug and Play Support v0.97 (c) Adam Belay
PnPBIOS: Scanning system for PnP BIOS support...
PnPBIOS: Found PnP BIOS installation structure at 0xc00fbea0
PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0xbec8, dseg 0xf0000
PnPBIOS: 14 nodes reported by PnP BIOS; 14 recorded by driver
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router PIIX/ICH [8086/7110] at 0000:00:07.0
PCI->APIC IRQ transform: (B0,I9,P0) -> 17
PCI->APIC IRQ transform: (B0,I10,P0) -> 18
PCI->APIC IRQ transform: (B0,I12,P0) -> 16
PCI->APIC IRQ transform: (B0,I12,P1) -> 16
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
Initializing Cryptographic API
Limiting direct PCI/PCI transfers.
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
DAC960: ***** DAC960 RAID Driver Version 2.5.47 of 14 November 2002 *****
DAC960: Copyright 1998-2001 by Leonard N. Zubkoff <lnz@dandelion.com>
DAC960#0: Configuring Mylex DAC960PD PCI RAID Controller
DAC960#0: Firmware Version: 3.52-0-02, Channels: 3, Memory Size: 16MB
DAC960#0: PCI Bus: 0, Device: 10, Function: 0, I/O Address: 0xD800
DAC960#0: PCI Address: 0xE7102000 mapped at 0xE0800000, IRQ Channel: 18
DAC960#0: Controller Queue Depth: 64, Maximum Blocks per Command: 128
DAC960#0: Driver Queue Depth: 63, Scatter/Gather Limit: 17 of 17 Segments
DAC960#0: Stripe Size: 64KB, Segment Size: 8KB, BIOS Geometry: 255/63
DAC960#0: Physical Devices:
DAC960#0: 0:0 Vendor: IBM Model: DDRS-34560D Revision: DC1B
DAC960#0: Serial Number: RD3D2183
DAC960#0: Disk Status: Online, 8923136 blocks
DAC960#0: 0:1 Vendor: IBM Model: DDRS-34560D Revision: DC1B
DAC960#0: Serial Number: RD149470
DAC960#0: Disk Status: Online, 8923136 blocks
DAC960#0: 0:2 Vendor: IBM Model: DDRS-34560D Revision: DC1B
DAC960#0: Serial Number: RDHN3297
DAC960#0: Disk Status: Online, 8923136 blocks
DAC960#0: 0:3 Vendor: IBM Model: DDRS-34560D Revision: DC1B
DAC960#0: Serial Number: RD3B7551
DAC960#0: Disk Status: Online, 8923136 blocks
DAC960#0: 0:4 Vendor: IBM Model: DDRS-34560D Revision: DC1B
DAC960#0: Serial Number: RDHN2076
DAC960#0: Disk Status: Online, 8923136 blocks
DAC960#0: Logical Drives:
DAC960#0: /dev/rd/c0d0: RAID-5, Online, 35692544 blocks, Write Thru
elevator: using anticipatory as default io scheduler
/dev/rd/host0/target0: p1 p2 < p5 >
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> and others
eth0: 0000:00:09.0, 00:90:27:91:77:1C, IRQ 17.
Board assembly 721383-007, Physical connectors present: RJ45
Primary interface chip i82555 PHY #1.
General self-test: passed.
Serial sub-system self-test: passed.
Internal registers self-test: passed.
ROM checksum self-test: passed (0x04f4518b).
e100: Intel(R) PRO/100 Network Driver, 3.2.3-k2-NAPI
e100: Copyright(c) 1999-2004 Intel Corporation
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Probing IDE interface ide0...
hda: SAMSUNG SP1213N, ATA DISK drive
Probing IDE interface ide1...
ide1: Wait for ready failed before probe !
Probing IDE interface ide2...
ide2: Wait for ready failed before probe !
Probing IDE interface ide3...
ide3: Wait for ready failed before probe !
Probing IDE interface ide4...
ide4: Wait for ready failed before probe !
Probing IDE interface ide5...
ide5: Wait for ready failed before probe !
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard on isa0060/serio0
input: PS/2 Generic Mouse on isa0060/serio1
EISA: Probing bus 0 at eisa0
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
NET: Registered protocol family 1
NET: Registered protocol family 17
Starting balanced_irq
EXT2-fs warning (device rd/c0d0p1): ext2_fill_super: mounting ext3 filesystem as ext2

VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 476k freed
Adding 763048k swap on /dev/rd/c0d0p5. Priority:-1 extents:1
NET: Registered protocol family 10
Disabled Privacy Extensions on device c0345160(lo)
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present
Vielen Dank im Vorraus - Stefan
superuser1
Posts: 291
Joined: 2003-11-26 18:43
Location: earth
 

Re: Unable to open /dev/hda

Post by superuser1 »

Hi...

hättest du eventuell noch deine aktuelle Kernel-Config zur Hand? (Link genügt)

:roll:
stefanpropehan
Posts: 335
Joined: 2002-12-17 22:25
Location: Berlin
 

Re: Unable to open /dev/hda

Post by stefanpropehan »

superuser1 wrote: hättest du eventuell och deine aktuelle Kernel-Config zur Hand? (Link genügt)
yo natürlich hier ist sie..

http://www.sspace.de/config.txt
superuser1
Posts: 291
Joined: 2003-11-26 18:43
Location: earth
 

Re: Unable to open /dev/hda

Post by superuser1 »

Hi...

also grundsätzlich würde ich bei einem Board mit Intel-Chipsatz auch den entsprechenden Treiber laden.

Zudem noch CONFIG_BLK_DEV_IDEDISK=y und CONFIG_IDEDISK_MULTI_MODE=y setzen.

Hast du einen Grund CONFIG_IDEDMA_ONLYDISK=y zu setzen?

:roll:

PS: Ist das eine neue (frische) Platte oder wurde die schonmal benutzt?
Last edited by superuser1 on 2005-03-09 18:38, edited 1 time in total.
stefanpropehan
Posts: 335
Joined: 2002-12-17 22:25
Location: Berlin
 

Re: Unable to open /dev/hda

Post by stefanpropehan »

Bin gerade beim Compilieren...

CONFIG_BLK_DEV_IDEDISK hatte ich vergessen... da ja vorher nur SCSI Platten drin waren... das könnte es gewesen sein - schaun wa mal

CONFIG_IDEDMA_ONLYDISK war eingestellt weil kein anderes Gerät am IDE Bus hängt als eine Platte... habe es jetzt aber nicht mehr mit drin

Die Platte war vorher in einem anderen Linux Rechner... da lief sie ohne Probleme.

Also gebe nach der Compilierung bescheid... ;-)

Vielen Dank schon einmal für die Mühe... Stefan
stefanpropehan
Posts: 335
Joined: 2002-12-17 22:25
Location: Berlin
 

Re: Unable to open /dev/hda

Post by stefanpropehan »

Yuup es geht... sogar mit DMA Support ;-)

Also was ich vergessen hatte war "CONFIG_BLK_DEV_IDEDISK"... Asche auf mein Haupt - manchmal sieht man halt den Wald vor lauter Bäumen nicht.

Vielen Dank noch einmal! Stefan