* IDE on linux-2.4.18 @ 2002-03-11 16:01 Richard B. Johnson 2002-03-11 16:29 ` Alan Cox 0 siblings, 1 reply; 8+ messages in thread From: Richard B. Johnson @ 2002-03-11 16:01 UTC (permalink / raw) To: Linux kernel Hello IDE gurus, I tried to install Linux-2.4.18 on a machine with IDE drives. The machine ran fine with Linux-2.4.1. It won't mount the root file-system because: hda: Cannot handle device with more than 16 heads giving up. That's a real nice help. The device has 1024 cylinders, 255 heads and 63 sectors. This is 6,422 MB. An attempt to set 16 heads in the BIOS will allow access to only 528 MB, which is wrong. So what is the magic incantation necessary to get the IDE subsystem to work like it used to? Cheers, Dick Johnson Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips). Bill Gates? Who? ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: IDE on linux-2.4.18 2002-03-11 16:01 IDE on linux-2.4.18 Richard B. Johnson @ 2002-03-11 16:29 ` Alan Cox 2002-03-11 16:37 ` Richard B. Johnson 0 siblings, 1 reply; 8+ messages in thread From: Alan Cox @ 2002-03-11 16:29 UTC (permalink / raw) To: root; +Cc: Linux kernel > hda: Cannot handle device with more than 16 heads giving up. You enabled the old ST506 driver not the newer IDE one ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: IDE on linux-2.4.18 2002-03-11 16:29 ` Alan Cox @ 2002-03-11 16:37 ` Richard B. Johnson 2002-03-11 17:08 ` Alan Cox 0 siblings, 1 reply; 8+ messages in thread From: Richard B. Johnson @ 2002-03-11 16:37 UTC (permalink / raw) To: Alan Cox; +Cc: Linux kernel On Mon, 11 Mar 2002, Alan Cox wrote: > > hda: Cannot handle device with more than 16 heads giving up. > > You enabled the old ST506 driver not the newer IDE one > I don't think so. If I put append= "hda=1024,255,63" in LILO it works, although I think I'm working around something that's broken. Here's `dmesg` after the hack. Linux version 2.4.18 (root@blackhole) (gcc version 2.96 20000731 (Red Hat Linux 7.0)) #12 SMP Mon Mar 11 09:56:04 EST 2002 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 0000000007ffc000 (usable) BIOS-e820: 0000000007ffc000 - 0000000007fff000 (ACPI data) BIOS-e820: 0000000007fff000 - 0000000008000000 (ACPI NVS) BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) On node 0 totalpages: 32764 zone(0): 4096 pages. zone(1): 28668 pages. zone(2): 0 pages. Local APIC disabled by BIOS -- reenabling. Found and enabled local APIC! Kernel command line: auto BOOT_IMAGE=new root=305 BOOT_FILE=/boot/vmlinuz-2.4.18 nmi_watchdog=0 hda=1024,255,63 ide_setup: hda=1024,255,63 Initializing CPU#0 Detected 752.835 MHz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 1500.77 BogoMIPS Memory: 126440k/131056k available (1012k kernel code, 4228k reserved, 232k data, 116k init, 0k highmem) Dentry-cache hash table entries: 16384 (order: 5, 131072 bytes) Inode-cache hash table entries: 8192 (order: 4, 65536 bytes) Mount-cache hash table entries: 2048 (order: 2, 16384 bytes) Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes) Page-cache hash table entries: 32768 (order: 5, 131072 bytes) CPU: Before vendor init, caps: 0383fbff 00000000 00000000, vendor = 0 CPU: L1 I cache: 16K, L1 D cache: 16K CPU: L2 cache: 256K CPU: After vendor init, caps: 0383fbff 00000000 00000000 00000000 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU: After generic, caps: 0383fbff 00000000 00000000 00000000 CPU: Common caps: 0383fbff 00000000 00000000 00000000 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX CPU: Before vendor init, caps: 0383fbff 00000000 00000000, vendor = 0 CPU: L1 I cache: 16K, L1 D cache: 16K CPU: L2 cache: 256K CPU: After vendor init, caps: 0383fbff 00000000 00000000 00000000 Intel machine check reporting enabled on CPU#0. CPU: After generic, caps: 0383fbff 00000000 00000000 00000000 CPU: Common caps: 0383fbff 00000000 00000000 00000000 CPU0: Intel Pentium III (Coppermine) stepping 03 per-CPU timeslice cutoff: 732.05 usecs. SMP motherboard not detected. 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 752.8208 MHz. ..... host bus clock speed is 100.3760 MHz. cpu: 0, clocks: 1003760, slice: 501880 CPU0<T0:1003760,T1:501872,D:8,S:501880,C:1003760> Waiting on wait_init_idle (map = 0x0) All processors have done init_idle PCI: PCI BIOS revision 2.10 entry at 0xf0890, last bus=1 PCI: Using configuration type 1 PCI: Probing PCI hardware Unknown bridge resource 0: assuming transparent PCI: Using IRQ router VIA [1106/0596] at 00:04.0 Activating ISA DMA hang workarounds. Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd VFS: Diskquotas version dquot_6.4.0 initialized pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A Real Time Clock Driver v1.10e block: 128 slots per queue, batch=32 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx VP_IDE: IDE controller on PCI bus 00 dev 21 VP_IDE: chipset revision 16 VP_IDE: not 100% native mode: will probe irqs later VP_IDE: VIA vt82c596b (rev 23) IDE UDMA66 controller on pci00:04.1 ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:DMA, hdb:DMA hda: QUANTUM FIREBALL EX10.2A, ATA DISK drive hdb: FX4830T, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hda: 20044080 sectors (10263 MB) w/418KiB Cache, CHS=1024/255/63, UDMA(33) Partition check: hda: hda1 hda2 < hda5 hda6 > hd: unable to get major 3 for hard disk Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 8192 bind 8192) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. RAMDISK: Compressed image found at block 0 Freeing initrd memory: 421k freed VFS: Mounted root (ext2 filesystem). SCSI subsystem driver Revision: 1.00 VFS: Mounted root (ext2 filesystem) readonly. change_root: old root has d_count=2 Trying to unmount old root ... okay Freeing unused kernel memory: 116k freed Adding Swap: 72252k swap-space (priority -1) ohci1394: $Revision: 1.80 $ Ben Collins <bcollins@debian.org> PCI: Found IRQ 5 for device 00:0a.0 ohci1394_0: OHCI-1394 1.0 (PCI): IRQ=[5] MMIO=[df800000-df800800] Max Packet=[2048] ieee1394: Device added: node 1:1023, GUID 080028500000ffff raw1394: /dev/raw1394 device initialized 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 PCI: Found IRQ 10 for device 00:0b.0 eth0: PCI device 8086:1229, 00:02:B3:03:3B:BE, IRQ 10. Board assembly 721383-016, 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). Analogic(tm) GPIB Driver: No GPIB device at (0x0300) Analogic(tm) GPIB Driver: Initialization complete loop: loaded (max 8 devices) Cheers, Dick Johnson Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips). Bill Gates? Who? ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: IDE on linux-2.4.18 2002-03-11 16:37 ` Richard B. Johnson @ 2002-03-11 17:08 ` Alan Cox 2002-03-11 17:12 ` Richard B. Johnson 0 siblings, 1 reply; 8+ messages in thread From: Alan Cox @ 2002-03-11 17:08 UTC (permalink / raw) To: root; +Cc: Alan Cox, Linux kernel > hda: 20044080 sectors (10263 MB) w/418KiB Cache, CHS=1024/255/63, UDMA(33) > Partition check: > hda: hda1 hda2 < hda5 hda6 > > hd: unable to get major 3 for hard disk ^^^^^^^^^^^^^^^^^^ Case dismissed ;) ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: IDE on linux-2.4.18 2002-03-11 17:08 ` Alan Cox @ 2002-03-11 17:12 ` Richard B. Johnson 2002-03-11 17:31 ` Alan Cox 2002-03-11 17:58 ` Gunther Mayer 0 siblings, 2 replies; 8+ messages in thread From: Richard B. Johnson @ 2002-03-11 17:12 UTC (permalink / raw) To: Alan Cox; +Cc: Linux kernel On Mon, 11 Mar 2002, Alan Cox wrote: > > hda: 20044080 sectors (10263 MB) w/418KiB Cache, CHS=1024/255/63, UDMA(33) > > Partition check: > > hda: hda1 hda2 < hda5 hda6 > > > hd: unable to get major 3 for hard disk > > ^^^^^^^^^^^^^^^^^^ > > Case dismissed ;) I haven't a clue what you are saying. Every IDE option that is allowed is enabled in .config. The IDE drive(s) are found, but you imply, no state, that I did something wrong. You state that I haven't enabled something? I enabled everything that 'make config` allowed me to enable. Now what is it? Cheers, Dick Johnson Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips). Bill Gates? Who? ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: IDE on linux-2.4.18 2002-03-11 17:12 ` Richard B. Johnson @ 2002-03-11 17:31 ` Alan Cox 2002-03-11 17:58 ` Gunther Mayer 1 sibling, 0 replies; 8+ messages in thread From: Alan Cox @ 2002-03-11 17:31 UTC (permalink / raw) To: root; +Cc: Alan Cox, Linux kernel > > > hda: hda1 hda2 < hda5 hda6 > > > > hd: unable to get major 3 for hard disk > > > > ^^^^^^^^^^^^^^^^^^ > > > > Case dismissed ;) > > I haven't a clue what you are saying. Every IDE option that is allowed > is enabled in .config. The IDE drive(s) are found, but you imply, no You have the old hd driver enabled which is what caused your problem ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: IDE on linux-2.4.18 2002-03-11 17:12 ` Richard B. Johnson 2002-03-11 17:31 ` Alan Cox @ 2002-03-11 17:58 ` Gunther Mayer 2002-03-11 18:06 ` Richard B. Johnson 1 sibling, 1 reply; 8+ messages in thread From: Gunther Mayer @ 2002-03-11 17:58 UTC (permalink / raw) To: root; +Cc: Alan Cox, Linux kernel "Richard B. Johnson" wrote: > On Mon, 11 Mar 2002, Alan Cox wrote: > > > > hda: 20044080 sectors (10263 MB) w/418KiB Cache, CHS=1024/255/63, UDMA(33) > > > Partition check: > > > hda: hda1 hda2 < hda5 hda6 > > > > hd: unable to get major 3 for hard disk > > > > ^^^^^^^^^^^^^^^^^^ > > > > Case dismissed ;) > > I haven't a clue what you are saying. Every IDE option that is allowed > is enabled in .config. The IDE drive(s) are found, but you imply, no > state, that I did something wrong. You state that I haven't enabled > something? I enabled everything that 'make config` allowed me to > enable. Now what is it? You enabled too much(see hd.c): dep_bool ' Use old disk-only driver on primary interface' CONFIG_BLK_DEV_HD_IDE will hog "major 3" (which is needed by IDE driver later). ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: IDE on linux-2.4.18 2002-03-11 17:58 ` Gunther Mayer @ 2002-03-11 18:06 ` Richard B. Johnson 0 siblings, 0 replies; 8+ messages in thread From: Richard B. Johnson @ 2002-03-11 18:06 UTC (permalink / raw) To: Gunther Mayer; +Cc: Alan Cox, Linux kernel On Mon, 11 Mar 2002, Gunther Mayer wrote: > "Richard B. Johnson" wrote: > > > On Mon, 11 Mar 2002, Alan Cox wrote: > > > > > > hda: 20044080 sectors (10263 MB) w/418KiB Cache, CHS=1024/255/63, UDMA(33) > > > > Partition check: > > > > hda: hda1 hda2 < hda5 hda6 > > > > > hd: unable to get major 3 for hard disk > > > > > > ^^^^^^^^^^^^^^^^^^ > > > > > > Case dismissed ;) > > > > I haven't a clue what you are saying. Every IDE option that is allowed > > is enabled in .config. The IDE drive(s) are found, but you imply, no > > state, that I did something wrong. You state that I haven't enabled > > something? I enabled everything that 'make config` allowed me to > > enable. Now what is it? > > You enabled too much(see hd.c): > > dep_bool ' Use old disk-only driver on primary interface' > CONFIG_BLK_DEV_HD_IDE > > will hog "major 3" (which is needed by IDE driver later). > Okay. Thanks. I will try without CONFIG_BLK_DEV_HD_IDE > Cheers, Dick Johnson Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips). Bill Gates? Who? ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2002-03-11 18:04 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2002-03-11 16:01 IDE on linux-2.4.18 Richard B. Johnson 2002-03-11 16:29 ` Alan Cox 2002-03-11 16:37 ` Richard B. Johnson 2002-03-11 17:08 ` Alan Cox 2002-03-11 17:12 ` Richard B. Johnson 2002-03-11 17:31 ` Alan Cox 2002-03-11 17:58 ` Gunther Mayer 2002-03-11 18:06 ` Richard B. Johnson
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®