Results 1 to 10 of 10

Thread: Dual PIII boots and runs from 7.2.0 CD but after HD Inst hangs on boot

  1. #1
    Member registered user
    Join Date
    Mar 2010
    Location
    USA
    Posts
    50

    Dual PIII boots and runs from 7.2.0 CD but after HD Inst hangs on boot

    7.2.0 booted and ran fine from the CD.

    I did the HD install, and there were no problems.

    It says to reboot, so I try to reboot, it starts booting, the Grub screen comes up, has KNOPPIX option, but it hangs after "Booting the Kernel".

    I tried adding debug to the boot command, but it says that's invalid...

    Any ideas how to diagnose?

    PS: the drives are SCSI, but I figured if it can see them and format when booted from CD I would think it can see them ok

    thanks
    Last edited by thriftee; 01-01-2016 at 10:52 PM.

  2. #2
    Member registered user
    Join Date
    Mar 2010
    Location
    USA
    Posts
    50
    Here is lspci -v output
    Code:
     00:00.0 Host bridge: Intel Corporation 440GX - 82443GX Host bridge 	Flags: bus master, medium devsel, latency 64 	Memory at f8000000 (32-bit, prefetchable) [size=64M] 	Capabilities: [a0] AGP version 1.0 	Kernel driver in use: agpgart-intel    00:01.0 PCI bridge: Intel Corporation 440GX - 82443GX AGP bridge (prog-if 00 [Normal decode]) 	Flags: bus master, 66MHz, medium devsel, latency 64 	Bus: primary=00, secondary=01, subordinate=01, sec-latency=64 	I/O behind bridge: 0000d000-0000dfff 	Memory behind bridge: fca00000-feafffff 	Prefetchable memory behind bridge: e4800000-f48fffff    00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02) 	Flags: bus master, medium devsel, latency 0    00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) (prog-if 80 [Master]) 	Flags: bus master, medium devsel, latency 64 	[virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8] 	[virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1] 	[virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8] 	[virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1] 	I/O ports at ffa0 [size=16] 	Kernel driver in use: ata_piix    00:07.2 USB controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01) (prog-if 00 [UHCI]) 	Flags: bus master, medium devsel, latency 64, IRQ 9 	I/O ports at ef80 [size=32] 	Kernel driver in use: uhci_hcd    00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02) 	Flags: medium devsel, IRQ 9 	Kernel driver in use: piix4_smbus    00:0e.0 SCSI storage controller: Adaptec AHA-2940U2/U2W / 7890/7891 (rev 01) 	Subsystem: Adaptec 2940U2W SCSI Controller 	Flags: bus master, medium devsel, latency 64, IRQ 10 	BIST result: 00 	I/O ports at e800 [disabled] [size=256] 	Memory at febff000 (64-bit, non-prefetchable) [size=4K] 	Expansion ROM at febc0000 [disabled] [size=128K] 	Capabilities: [dc] Power Management version 1 	Kernel driver in use: aic7xxx    00:0f.0 Multimedia audio controller: Ensoniq Device 4880 (rev 02) 	Subsystem: Ensoniq Device 2003 	Flags: bus master, slow devsel, latency 64, IRQ 10 	I/O ports at ef00 [size=64] 	Capabilities: [dc] Power Management version 1    00:12.0 Ethernet controller: Atheros Communications Inc. AR5212/AR5213 Wireless Network Adapter (rev 01) 	Subsystem: Netgear WG311T 108 Mbps Wireless PCI Adapter (rev.A3) 	Flags: bus master, medium devsel, latency 168, IRQ 5 	Memory at febe0000 (32-bit, non-prefetchable) [size=64K] 	Capabilities: [44] Power Management version 2 	Kernel driver in use: ath5k    01:00.0 VGA compatible controller: NVIDIA Corporation NV34 [GeForce FX 5500] (rev a1) (prog-if 00 [VGA controller]) 	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11 	Memory at fd000000 (32-bit, non-prefetchable) [size=16M] 	Memory at e8000000 (32-bit, prefetchable) [size=128M] 	Expansion ROM at feae0000 [disabled] [size=128K] 	Capabilities: [60] Power Management version 2 	Capabilities: [44] AGP version 3.0
    I did edit it to make it readable but the forum removed it all
    Last edited by thriftee; 01-02-2016 at 03:44 AM.

  3. #3
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    Please use "Go Advanced" for your posting → use the icon "#" (Wrap [CODE] tags around selected text) → now insert the copy of "lspci -v" within the tags.

  4. #4
    Member registered user
    Join Date
    Mar 2010
    Location
    USA
    Posts
    50
    Thanks, Werner, yes that makes it a lot more readable.

    The most important thing is to be able to do the HD install and be able to boot again from the HD with the same drivers (if I'm using the right word). I tried to use the debug option to get it to give me clues where the problem was in the boot, but I don't know the correct syntax to add it to the grub boot line.

    Any help getting it booted to HD would be appreciated. This is the first linux OS where I''ve been able to get the SCSI to boot, the Wireless to connect, and the usb hub and sound card to both appear.

    Thanks

    Code:
    00:00.0 Host bridge: Intel Corporation 440GX - 82443GX Host bridge     
    Flags: bus master, medium devsel, latency 64     
    Memory at f8000000 (32-bit, prefetchable) [size=64M]     
    Capabilities: [a0] AGP version 1.0     
    Kernel driver in use: agpgart-intel    
    
    00:01.0 PCI bridge: Intel Corporation 440GX - 82443GX AGP bridge (prog-if 00 [Normal decode])     
    Flags: bus master, 66MHz, medium devsel, latency 64     
    Bus: primary=00, secondary=01, subordinate=01, sec-latency=64     
    I/O behind bridge: 0000d000-0000dfff     
    Memory behind bridge: fca00000-feafffff     
    Prefetchable memory behind bridge: e4800000-f48fffff    
    
    00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)     
    Flags: bus master, medium devsel, latency 0    
    
    00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) (prog-if 80 [Master])     
    Flags: bus master, medium devsel, latency 64     
    [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]     
    [virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]     
    [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]     
    [virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]     
    I/O ports at ffa0 [size=16]     
    Kernel driver in use: ata_piix    
    
    00:07.2 USB controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01) (prog-if 00 [UHCI])     
    Flags: bus master, medium devsel, latency 64, IRQ 9     
    I/O ports at ef80 [size=32]     
    Kernel driver in use: uhci_hcd    
    
    00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)     
    Flags: medium devsel, IRQ 9     
    Kernel driver in use: piix4_smbus    
    
    00:0e.0 SCSI storage controller: Adaptec AHA-2940U2/U2W / 7890/7891 (rev 01)     
    Subsystem: Adaptec 2940U2W SCSI Controller     
    Flags: bus master, medium devsel, latency 64, IRQ 10     
    BIST result: 00     
    I/O ports at e800 [disabled] [size=256]     
    Memory at febff000 (64-bit, non-prefetchable) [size=4K]     
    Expansion ROM at febc0000 [disabled] [size=128K]     
    Capabilities: [dc] Power Management version 1     
    Kernel driver in use: aic7xxx    
    
    00:0f.0 Multimedia audio controller: Ensoniq Device 4880 (rev 02)     
    Subsystem: Ensoniq Device 2003     
    Flags: bus master, slow devsel, latency 64, IRQ 10     
    I/O ports at ef00 [size=64]     
    Capabilities: [dc] 
    Power Management version 1    
    
    00:12.0 Ethernet controller: Atheros Communications Inc. AR5212/AR5213 Wireless Network Adapter (rev 01)     
    Subsystem: Netgear WG311T 108 Mbps Wireless PCI Adapter (rev.A3)     
    Flags: bus master, medium devsel, latency 168, IRQ 5     
    Memory at febe0000 (32-bit, non-prefetchable) [size=64K]     
    Capabilities: [44] Power Management version 2     
    Kernel driver in use: ath5k    
    
    01:00.0 VGA compatible controller: NVIDIA Corporation NV34 [GeForce FX 5500] (rev a1) (prog-if 00 [VGA controller])     
    Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11     
    Memory at fd000000 (32-bit, non-prefetchable) [size=16M]     
    Memory at e8000000 (32-bit, prefetchable) [size=128M]     
    Expansion ROM at feae0000 [disabled] [size=128K]     
    Capabilities: [60] Power Management version 2     
    Capabilities: [44] AGP version 3.0
    Last edited by thriftee; 01-02-2016 at 04:48 PM.

  5. #5
    Member registered user
    Join Date
    Mar 2010
    Location
    USA
    Posts
    50
    Ok, I had tried "debug" yesterday on the boot command line, but got a syntax error, today I tried verbose and it didn't do anything, so then in a wild random attempt I changed logging level to 5 and added both verbose and debug, and finally it started spitting out what it was doing.

    It is hanging right after: "[2.0802555] Waiting for root device /dev/sdc3..." which is the SCSI drive I loaded knoppix 7.2.0 onto. My guess is that the SCSI driver is not loaded. Is there a way to tell it to load the SCSI driver someplace before here?

  6. #6
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512

    Compile a new kernel or use an initrd

    Hi,

    I suggest you boot Knoppix off the CD and use the command lsmod to find out which kernel modules are to be loaded for your SCSI adaptor.
    These kernel modules have to be offered to the Knoppix kernel at boot time before it can access your SCSI HDD. The usual way to do so is to create an initial root disk and configure the boot loader so that the kernel loads it.
    There are tools in the Debian distribution which help you create the initrd.

    On the other hand, you could compile yourself a Linux kernel which includes the kernel modules needed by your SCSI adaptor.

  7. #7
    Member registered user
    Join Date
    Mar 2010
    Location
    USA
    Posts
    50
    Thanks, klaus Here is the lsmod output while booted from the cd. How can I tell what is loaded when booting from HD? Or is the answer just to guess what is needed?

    Code:
    root@Microknoppix:/home/knoppix# lsmod
    Module                  Size  Used by
    ipv6                  212138  18 
    parport_pc             23972  1 
    ppdev                   4167  0 
    lp                      6185  0 
    parport                21928  3 lp,ppdev,parport_pc
    arc4                    1463  2 
    ath5k                 108297  0 
    ath                    10993  1 ath5k
    mac80211              347664  1 ath5k
    i2c_piix4               6804  0 
    cfg80211              319430  3 ath,ath5k,mac80211
    aic7xxx                98445  0 
    ttm                    38344  0 
    drm_kms_helper         20665  0 
    root@Microknoppix:/home/knoppix#

  8. #8
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    After lsmod has shown the loaded kernel modules you can use the command modinfo to get more information about each kernel module. Example:
    Code:
    modinfo -d aic7xxx
    modinfo -n aic7xxx

  9. #9
    Member registered user
    Join Date
    Mar 2010
    Location
    USA
    Posts
    50
    Klaus,

    I understand the idea, and appreciate the suggestion.

    I spent the evening looking for a good how to or example, and didn't find anything close enough that I could work from.

    Any suggestions for where to find a tutorial or good instructions or example?

    Thanks

  10. #10
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    Hi!

    I suggest that you use the command mkinitramfs to create an initial ramdisk.
    Code:
    sudo mkinitramfs -o /home/knoppix/initrd-$(uname -r)
    Then you have to copy the initrd to the directory where the kernel resides. The configuration file of your bootloader has to be edited so that the kernel makes use of your initrd.

    There exists a manpage for the command mkinitramfs
    Code:
    man mkintramfs
    I hope that helps.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Intel XEON SILVER SILVER 4114 SR3GK PROCESSOR picture

Intel XEON SILVER SILVER 4114 SR3GK PROCESSOR

$19.99



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$331.99



Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture

Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...

$236.99



Intel 6 Core i5-8600 3.1GHZ Desktop Processor SR3X0 picture

Intel 6 Core i5-8600 3.1GHZ Desktop Processor SR3X0

$50.00



Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc... picture

Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc...

$539.99



Intel Core i5-6500 Quad-Core Processor 3.2 GHz 6MB LGA1151 picture

Intel Core i5-6500 Quad-Core Processor 3.2 GHz 6MB LGA1151

$23.99



Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc... picture

Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc...

$399.99



Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ... picture

Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...

$519.99



Intel Core i3-12100F Processor (4.3 GHz, 4 Cores, LGA 1700) Box - BX8071512100F picture

Intel Core i3-12100F Processor (4.3 GHz, 4 Cores, LGA 1700) Box - BX8071512100F

$83.50



AMD EPYC 7282 cpu processor 16 cores 32 threads 2.8GHZ up to 3.2GHZ 120w picture

AMD EPYC 7282 cpu processor 16 cores 32 threads 2.8GHZ up to 3.2GHZ 120w

$78.00