LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Why does Redhat 9 search for drives that dont exist during bootup? (https://www.linuxquestions.org/questions/linux-newbie-8/why-does-redhat-9-search-for-drives-that-dont-exist-during-bootup-85483/)

glenn69 08-25-2003 09:10 AM

Why does Redhat 9 search for drives that dont exist during bootup?
 
I have Redhat 9 installed. During bootup all the checks go well and fast until it starts checking hard drives. hda checks ok, hdb checks ok, then the computer takes about 45 seconds to check hdc and give an error message then takes 45 more seconds to check hdg. Can i tell Linux not to check for these drives?

My system has 2 hard drives first one is Windows ME with 2 partitions, second drive is all linux. Here's a copy of my boot log with notations of places that hang :

Linux version 2.4.20-8 (bhcompile@stripples.devel.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:18:24 EST 2003
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)
0MB HIGHMEM available.
511MB LOWMEM available.
On node 0 totalpages: 131056
zone(0): 4096 pages.
zone(1): 126960 pages.
zone(2): 0 pages.
Kernel command line: ro root=LABEL=/ hdc=ide-scsi
ide_setup: hdc=ide-scsi
Initializing CPU#0
Detected 1830.012 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 3643.80 BogoMIPS
Memory: 511400k/524224k available (1312k kernel code, 10260k reserved, 996k data, 128k 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: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: 0383fbff c1c3fbff 00000000 00000000
CPU: Common caps: 0383fbff c1c3fbff 00000000 00000000
CPU: AMD Athlon™ XP 2500+ stepping 00
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfb420, last bus=2
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Discovered primary peer bus ff [IRQ]
PCI: Using IRQ router default [10de/01e0] at 00:00.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
pty: 2048 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS0 at 0x03f8 (irq = 4) is a 16550A
ttyS1 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10e
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
NET4: Frame Diverter 0.46
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE2: IDE controller at PCI slot 00:09.0
NFORCE2: chipset revision 162
NFORCE2: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
SiI3112 Serial ATA: IDE controller at PCI slot 01:0b.0
SiI3112 Serial ATA: chipset revision 2
SiI3112 Serial ATA: not 100% native mode: will probe irqs later
ide2: MMIO-DMA at 0xe080d000-0xe080d007, BIOS settings: hde:pio, hdf:pio
ide3: MMIO-DMA at 0xe080d008-0xe080d00f, BIOS settings: hdg:pio, hdh:pio
hda: Maxtor 6E030L0, ATA DISK drive
hdb: WDC WD102AA, ATA DISK drive
blk: queue c03be900, I/O limit 4095Mb (mask 0xffffffff)
blk: queue c03bea44, I/O limit 4095Mb (mask 0xffffffff)
hdc: 52X24X52 CD-RW 1.04 20021127, ATAPI CD/DVD-ROM drive
hdd: LTN485S, ATAPI CD/DVD-ROM drive

***** PAUSES HERE FOR ABOUT 45 SECONDS *******

hde: no response (status = 0xfe)

***** PAUSES HERE AGAIN FOR ABOUT 45 SECONDS ******

hdg: no response (status = 0xfe)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: host protected area => 1
hda: 60058656 sectors (30750 MB) w/2048KiB Cache, CHS=3738/255/63, UDMA(33)
hdb: host protected area => 1
hdb: 20044080 sectors (10263 MB) w/2048KiB Cache, CHS=1247/255/63, UDMA(33)
ide-floppy driver 0.99.newide
Partition check:
hda: hda1 hda2 < hda5 >
hdb: hdb1 hdb2 hdb3
ide-floppy driver 0.99.newide
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
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
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 146k freed
VFS: Mounted root (ext2 filesystem).
Journalled Block Device driver loaded
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 128k freed
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Setting latency timer of device 00:02.0 to 64
usb-ohci.c: USB OHCI at membase 0xe084b000, IRQ 5
usb-ohci.c: usb-00:02.0, PCI device 10de:0067 (nVidia Corporation)
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 3 ports detected
PCI: Setting latency timer of device 00:02.1 to 64
usb-ohci.c: USB OHCI at membase 0xe084d000, IRQ 10
usb-ohci.c: usb-00:02.1, PCI device 10de:0067 (nVidia Corporation)
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 3 ports detected
PCI: Setting latency timer of device 00:02.2 to 64
ehci-hcd 00:02.2: PCI device 10de:0068 (nVidia Corporation)
ehci-hcd 00:02.2: irq 11, pci mem e0855000
usb.c: new USB bus registered, assigned bus number 3
PCI: 00:02.2 PCI cache line size set incorrectly (0 bytes) by BIOS/FW.
PCI: 00:02.2 PCI cache line size corrected to 64.
ehci-hcd 00:02.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Jan-22
hub.c: USB hub found
hub.c: 6 ports detected
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,67), internal journal
Adding Swap: 1044216k swap-space (priority -1)
hub.c: new USB device 00:02.0-2, assigned address 2
input0: USB HID v1.10 Joystick [Logitech Logitech Freedom 2.4] on usb1:2.0
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,65), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
ohci1394: $Rev: 693 $ Ben Collins <bcollins@debian.org>
PCI: Setting latency timer of device 00:0d.0 to 64
ohci1394_0: OHCI-1394 1.1 (PCI): IRQ=[5] MMIO=[e0084000-e00847ff] Max Packet=[2048]
ieee1394: SelfID completion called outside of bus reset!
hdd: ATAPI 48X CD-ROM drive, 120kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: Model: 52X24X52 CD-RW Rev: 1.04
Type: CD-ROM ANSI SCSI revision: 02
:confused:

fancypiper 08-25-2003 09:45 AM

How do you have your drives partitioned?
# How are the hard drives partitioned
fdisk -l
Code:

[root@uilleann root]# fdisk -l

Disk /dev/hdc: 255 heads, 63 sectors, 1027 cylinders
Units = cylinders of 16065 * 512 bytes

  Device Boot    Start      End    Blocks  Id  System
/dev/hdc1  *        1      1027  8249346    c  Win95 FAT32 (LBA)

Disk /dev/hda: 255 heads, 63 sectors, 4865 cylinders
Units = cylinders of 16065 * 512 bytes

  Device Boot    Start      End    Blocks  Id  System
/dev/hda1  *        1      1215  9755991    c  Win95 FAT32 (LBA)
/dev/hda2          1215      2429  9751455    7  HPFS/NTFS
/dev/hda3          2429      2441    99855  83  Linux
/dev/hda4          2442      4865  19470780    5  Extended
/dev/hda5          2442      2504    506016  82  Linux swap
/dev/hda6          2505      2931  3429846  83  Linux
/dev/hda7          2932      3358  3429846  83  Linux
/dev/hda8          3359      3785  3429846  83  Linux
/dev/hda9          3786      4212  3429846  83  Linux
/dev/hda10        4213      4865  5245191  83  Linux

Disk /dev/hdb: 255 heads, 63 sectors, 9729 cylinders
Units = cylinders of 16065 * 512 bytes

  Device Boot    Start      End    Blocks  Id  System
/dev/hdb1  *        1      1244  9986917+  83  Linux
/dev/hdb2          1244      2518  10238886  83  Linux
/dev/hdb3          2519      3793  10241437+  83  Linux
/dev/hdb4          3794      9729  47680920  83  Linux

What do you have in /etc/fstab? Mine for a sample:
Code:

# Duron 950 Red Hat 7.3 /etc/fstab file
/dev/hda7        /              reiserfs        defaults                1 1
/dev/hda3        /boot          ext3                defaults                1 2
none            /dev/pts        devpts                gid=5,mode=620                0 0
/dev/hda9        /home          reiserfs        defaults                1 2
/dev/hdc1        /mnt/storage    vfat                defaults                0 0
/dev/hda1        /mnt/win98        vfat                defaults                0 0
/dev/hda2        /mnt/win2k        ntfs                defaults                0 0
none            /proc          proc                defaults                0 0
none            /dev/shm        tmpfs                defaults                0 0
/dev/hdb4        /pub            ext3                defaults                1 2
/dev/hda10        /snd            reiserfs        defaults                1 2
/dev/hda5        swap            swap                defaults                0 0
/dev/cdrom        /mnt/cdrom        iso9660                noauto,owner,kudzu,ro  0 0
/dev/fd0        /mnt/floppy    auto                noauto,owner,kudzu        0 0

# Red Hat links
Red Hat Linux Manuals
Get your mp3 support here
Maximum RPM
rpmfind
Easier software management: apt4rpm - Red Carpet
Red Hat 8.0 Tips & Tricks

# Red Hat 7.3 down configuration commands
setup leads to several configuration tools

# Red Hat 7.3 up configuration commands
Configure soundcard:
redhat-config-soundcard
Configure X server:
redhat-config-xfree86
Configure network:
redhat-config-network
Manage software:
redhat-config-packages

# Handling NTFS
New Technology FileSystem (NTFS) HOWTOs
Linux NTFS project

glenn69 08-25-2003 09:25 PM

my disk data is...
 
when I try to run fdisk it gives an error of command not found, but my fstab file is below.....

P.S. how do you display screen shots like you did in the first reply...I just CTRL+C the text and copy it here...is there a better way?

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdb2 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0


Thanks

fancypiper 08-25-2003 09:36 PM

You can do the normal linux copy/paste with the mouse from one app to another by left clicking and swiping text in one, switch focus to app you wish to paste into, and middle click will paste the text that was swiped in the first app into the other app at the cursor position.

I paste it into the code tags as well to preserve the formatting.

You need to be root in order to use some commands. To change to the root account, use these commands from your user account. Note the change in the prompt.
Code:

[fancy@tinwhistle fancy]$ su -
Password:
[root@tinwhistle root]#


fancypiper 08-25-2003 09:42 PM

Quote:

ide3: MMIO-DMA
Do you have a RAID array?

BTW, kudzu is the service that does new hardware probes if that might possibly be your problem. You can turn that off if you aren't changing hardware and run it manually if needed.

glenn69 08-26-2003 07:50 PM

OK I switched to su - and fdisk worked here's the results....
(I dont have a RAID array although my BIOS checks for one each time I bootup) In fact I'm not really sure if I'm supposed to disable something in BIOS because I don't have one.

Also, what is a code tag ?

-----------------------------------------------------------------------------
[root@localhost root]# fdisk -l

Disk /dev/hda: 30.7 GB, 30750031872 bytes
255 heads, 63 sectors/track, 3738 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 2537 20378421 c Win95 FAT32 (LBA)
/dev/hda2 2538 3738 9647032+ f Win95 Ext'd (LBA)
/dev/hda5 2538 3738 9647001 b Win95 FAT32

Disk /dev/hdb: 10.2 GB, 10262568960 bytes
255 heads, 63 sectors/track, 1247 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 13 104391 83 Linux
/dev/hdb2 14 143 1044225 82 Linux swap
/dev/hdb3 144 1247 8867880 83 Linux

glenn69 09-01-2003 11:40 PM

Still trying to find an answer to why bootup searches for drives e and g when they don't exist. This adds about 90 seconds to my bootup.

Hayate 08-12-2004 10:36 AM

I'm having the exact same problem, NForce2 Mobo, but I've got a SATA HD plugged in, and it only has issues with HDE. So HDE is the other SATA port, and what you have to do is to disable it. I've been looking around a bit on these forums, and I've found a couple of ways to fix it. What you have to do is edit lilo.conf or grub.conf and put in either "hde=none" or "hde=noprobe" and see if that fixes it. As soon as I restart my computer, I'll see if it works. :D

michaelk 08-12-2004 10:57 AM

Check your motherboards BIOS settings. Can you disable the channels or configure them for automatic detection?

Hayate 08-12-2004 01:48 PM

image=/boot/kernel-2.6.7-r13
label=gentoo
read-only
root=/dev/hdb3
append="noapic hde=none"

This is what I changed my gentoo entry in /etc/lilo.conf to. And it solved the problem!

Instead of just disabling all support for SATA in the bios, tell the kernel that there is no drive there, and it won't go looking for it. Do this for hde and hdg if it's having issues with both of them. I can't remember how to do the same thing for grub, but I know it's really sumilar.

*edit * I don't have the same problem with hdg, because I have a hard drive plugged in there. *edit*


All times are GMT -5. The time now is 06:19 PM.