View previous topic :: View next topic |
Author |
Message |
maxalken n00b
Joined: 28 Jul 2003 Posts: 26 Location: Australia
|
Posted: Sun Sep 07, 2003 10:13 am Post subject: HPT370 boot problem |
|
|
Hi. I've tried to install Gentoo 1.4 on /dev/hde which is an IDE channel controled by HPT370 chip. I'm sure the htp370 are enabled in the kernel (gentoo-sources), But it bounced lots of "lost interupt" when booting, then kernel panic.
After searching articles in this forum and google, I disabled I/O APIC function in the kernel, but things seem getting worse. When I boot with this kernel, the booting proccess stoped before check devices attached to HTP370 IDE controller and the HDD LED is on; it indicates the booting process is accessing /dev/hde, but i couldn't see any information displayed on monitor.
I use the same kernel settings with my Debian system, and it works perfect. I can even enable I/O APIC with it. I don't know what are the differences between the Gentoo and Debian kernel sources relevant to HPT370. Can anyone introduce me some way to resolve this problem?
Thanx a lot |
|
Back to top |
|
|
jpmythic n00b
Joined: 05 Sep 2003 Posts: 26 Location: UK
|
Posted: Sun Sep 07, 2003 12:27 pm Post subject: |
|
|
I've run into similar problems before, ( about a year ago, not with Gentoo). Currently not using the Controller yet.
Not enough information to really help, but one question comes to mind:
Are you using Grub OR Lilo as bootloader? Any other OS's on the HD or System? Where is Grub/Lilo installed too? _________________ <<< LOCATION >>>>
[Outside Dragon's Lair]
(Mythic) -- Okay boys, If Plan A fails goto Plan B.
(Stilgar) -- What's Plan B?
(Mythic) -- Run
(Dragon) -- What's Plan C? |
|
Back to top |
|
|
maxalken n00b
Joined: 28 Jul 2003 Posts: 26 Location: Australia
|
Posted: Sun Sep 07, 2003 1:55 pm Post subject: |
|
|
There is only one harddisk while testing, and no other OS installed.
The following is my configuration files.. The harddisk is hdg
my fstab
Code: |
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hdg1 /boot ext3 noauto,noatime 1 1
/dev/vg01/root / reiserfs noatime 0 0
/dev/vg01/swap none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
|
Yes, my root is a LVM partition. But I tested this partition strategy with VMWare, it works. Thus I don't think LVM is the problem.
My lilo.conf
Code: |
lba32
boot = /dev/hdg
map = /boot/.map
install = /boot/boot-menu.b
menu-scheme=Wb
image = /boot/kernel-2.4.20-gentoo-r5
root = /dev/vg01/root
initrd = /boot/initrd-lvm-2.4.20-gentoo-r5.gz
label = Gentoo
append = "ramdisk_size=8192"
|
The partial console output looks like this (I/O APIC disabled test):
Code: |
HPT370: IDE controller at PCI slot 00:0e.0
HPT370: chipset revision 3
HPT370: not 100% native mode: will probe irqs later
HPT37X: using 33MHz PCI clock
ide2: BM-DMA at 0xec00-0xec07, BIOS settings: hde:DMA, hdf:pio
ide3: BM-DMA at 0xec08-0xec0f, BIOS settings: hdg:pio, hdh:pio
hda: CD-540E, ATAPI CD/DVD-ROM drive
hdc: SONY DVD-ROM DDU1211, ATAPI CD/DVD-ROM drive
hdd: CD-W54E, ATAPI CD/DVD-ROM drive
|
The boot process stopped here without any information about hdg supposed to display as next 2 lines.
hdg: MAXTOR 6L080L4, ATA DISK drive
blk: queue c038ddbc, I/O limit 4095Mb (mask 0xffffffff)
There must be something wrong with the kernel |
|
Back to top |
|
|
jpmythic n00b
Joined: 05 Sep 2003 Posts: 26 Location: UK
|
Posted: Sun Sep 07, 2003 2:21 pm Post subject: |
|
|
Okay, let's see if I got this right.
1: Booted from LiveCD and detected Controller and HD attached at that point.
2: Partitioned / Installed / Compiled / Rebooted (Now fails to see HD on HPT370).
This seems to say, Hardware okay.
Differences are Kernels and Settings during Compile.
Hit a spot that's got me, but at least I think I can see where it's happening. Your choice of kernels and settings for kernel would appear to be the culprit. One or the other OR Both.
I wish I could help you furhter. If it's the Kernel's, then one of them may have an Older version of the HPT370 driver.
By the way are you loading the Driver as a Module? Or compiled in? Try it both ways.
Try one of the other Kernels as well.
Best I can do. _________________ <<< LOCATION >>>>
[Outside Dragon's Lair]
(Mythic) -- Okay boys, If Plan A fails goto Plan B.
(Stilgar) -- What's Plan B?
(Mythic) -- Run
(Dragon) -- What's Plan C? |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Sep 07, 2003 4:28 pm Post subject: |
|
|
maxalken wrote: | I'm sure the htp370 are enabled in the kernel (gentoo-sources), But it bounced lots of "lost interupt" when booting, then kernel panic. |
Try passing "acpi=off" to your kernel when you boot. ACPI, APIC, IO-APIC can all cause IRQ problems depending on your hardware.
Another alternative would be to use ac-sources instead of gentoo-sources. ac-sources has more recent drivers for HPT37x controller chips. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|