Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: hanging on bootup: scanning for harddisk partitions

  1. #1
    Junior Member
    Join Date
    Jul 2005
    Posts
    7

    hanging on bootup: scanning for harddisk partitions

    Knoppix 3.7..3.9 hang on my Toshiba Satellite 1800-400 laptop by booting:
    My harddisk partioning table looks corrupt. Only winxp en winme have no problems
    by knoppix 3.7 with kernel 2.6 (knoppix26) don't hang and with fdisk I can see the harddisk table only mounting is not posible
    With knoppix 3.9 failsafe works but with fdisk I can't see /dev/hda only in low resolution
    Perhaps there is a solution for this problem

  2. #2
    Senior Member registered user
    Join Date
    Feb 2005
    Location
    Saint Louis, MO, USA
    Posts
    376

    Re: hanging on bootup: scanning for harddisk partitions

    Can you boot with boot: knoppix 3? Do you get a shell prompt? If you do, can you post the results of 'cat /proc/partitions'?

    Regards,
    - Robert
    http://www.cwelug.org/

  3. #3
    Junior Member
    Join Date
    Jul 2005
    Posts
    7

    Knoppix 3.2 /proc/partitions

    With Knoppix 3.2 there where no problems. The harddisk was fully accessable.
    The contents of /proc/partitions was:


    Code:
    major minor  #blocks  name
    
       3     0   14749056 hda
       3     1    6160896 hda1
       3     2          1 hda2
       3     5    5630751 hda5
       3     6    2955928 hda6
    ~
    ~
    With later versions of Knoppix I have problems with accessing my harddisk
    with 3.8 and 3.9 knoppix hang by booting on: "scanning for Harddisk partitions and creating /etc/fstab..."

    Hopefully there is an option by booting

    Hans

  4. #4
    Senior Member registered user
    Join Date
    Feb 2005
    Location
    Saint Louis, MO, USA
    Posts
    376

    Re: Knoppix 3.2 /proc/partitions

    Quote Originally Posted by mln
    With Knoppix 3.2 there where no problems. The harddisk was fully accessable.
    The contents of /proc/partitions was:
    Code:
    major minor  #blocks  name
    
       3     0   14749056 hda
       3     1    6160896 hda1
       3     2          1 hda2
       3     5    5630751 hda5
       3     6    2955928 hda6
    If I understand you correctly, the above was created with Knoppix 3.2. However ...
    Quote Originally Posted by mln
    With later versions of Knoppix I have problems with accessing my harddisk
    with 3.8 and 3.9 knoppix hang by booting on: "scanning for Harddisk partitions and creating /etc/fstab..."
    ... you were not even able to get to a shell with Knoppix 3.8 or 3.9. Is that correct?
    Quote Originally Posted by mln
    Hopefully there is an option by booting
    Probably. Your partitions do not look out of the ordinary. So, I suspect it may be something other than your harddrive, but that's just a guess.

    To troubleshoot this, let's stick with Knoppix 3.8 for now. Try booting with boot: knoppix debug -b 3 Using that boot command will cause Knoppix to pause at various stages in the boot process. Just type 'exit' at each shell prompt to move on to the next stage. You will know that you are at the final stage when typing 'exit' does not do anything. If you get that far, type 'init 5' to go into graphics mode.

    How far do you get?

    Regards,
    - Robert
    http://www.cwelug.org/

  5. #5
    Junior Member
    Join Date
    Jul 2005
    Posts
    7

    boot: knoppix debug -b 3

    With knoppix 3.8 and 3.9, I must stop at stage 3 else the computer hang on the known failure point.
    In stage 3, I can give command: init 5 ; startx
    To go to X11. But startx stops with error message
    When I give the command: cat /proc/partitions the output is:

    Code:
    major minor  #blocks  name
    
       3     0   14749056 hda 
     240    0    1966656  cloop0
    when I give the command: fdisk /dev/hda
    The computer hangs and display continuely: "hda: lost interrupt"

    When I boot knoppix 3.9 with the command: failsafe
    Knoppix startup very quickly in grafical mode
    Only the harddisk is not recognized.
    The commands: 'cat /proc/partitions' and ' fdisk /dev/hda'
    gives the same output as above.
    Now I can break simple the console application: fdisk

    Sorry not a possitiive result

    regarts:
    Hans

  6. #6
    Senior Member registered user
    Join Date
    Feb 2005
    Location
    Saint Louis, MO, USA
    Posts
    376

    Re: boot: knoppix debug -b 3

    Quote Originally Posted by mln
    With knoppix 3.8 and 3.9, I must stop at stage 3 else the computer hang on the known failure point.
    So with the knoppix boot label you only get to stage 3 ...
    Quote Originally Posted by mln
    When I boot knoppix 3.9 with the command: failsafe
    Knoppix startup very quickly in grafical mode
    ... but with failsafe you get all the way into graphics mode. So one or more of the cheatcodes that's in the failsafe kernel label helps you boot. My guess would be some combination of nodma, noapm, noapci, acpi=off, but that's just a guess.

    Try booting with boot: failsafe debug -b 3. As before, just type 'exit' at each shell prompt to move on to the next stage. When you are at the final stage, type
    Code:
    hdparm -Cbvg /dev/hda
    dmesg | tail
    Can you post the output of both of those commands?

    Regards,
    - Robert
    http://www.cwelug.org/

  7. #7
    Junior Member
    Join Date
    Jul 2005
    Posts
    7
    Hello Robert,


    1.
    Here the requested outputs of knoppix 3.9 after:

    Code:
    hdparm -Cbvg /dev/hda
    multcount    = 16 (on)
    IOSupport    = 0 (default 16 bits)
    Unmaskirq    = 0 (off)
    Using dma    = 0 (off)
    Keepsettings = 0 (off)
    Readonly     = 0 (off)
    Readahead    = 256(on)
    Geometry     = 29264/16/63, sectors = 29418912, start = 0
    Drive state is: active/idle
    Busstate     = 1 (on)
    dmesg | tail
    Code:
    FAT: invalid media value (0xcd)
    VFS: Can’t find a valid filesystem on dev hda.
    .... the rest is for other things such as CD: ISO9660 memory etc ...

    2.
    When I start up knoppix 3.9 with option ‘no dma’:
    Knoppix fb1024x768 screen=1024x768 no dma
    Then the laptop startup normally but the harddisk is not accessable

    hdparm -Cbvg /dev/hda
    Code:
    multcount    = 16 (on)
     IO_support   =  0 (default 16-bit)
     unmaskirq    =  0 (off)
     using_dma    =  1 (on)
     keepsettings =  0 (off)
     readonly     =  0 (off)
     readahead    = 256 (on)
     geometry     = 29264/16/63, sectors = 29498112, start = 0
     drive state is:  active/idle
     busstate     =  1 (on)
    dmesg (not interesting parts are removed)
    Code:
    Linux version 2.6.11 (root@Knoppix) (gcc-Version 3.3.5 (Debian 1:3.3.5-12)) #2 SMP Thu May 26 20:53:11 CEST 2005
    ........
    ........
    ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
    ALI15X3: IDE controller at PCI slot 0000:00:04.0
    ACPI: PCI Interrupt 0000:00:04.0[A]: no GSI
    ALI15X3: chipset revision 195
    ALI15X3: not 100% native mode: will probe irqs later
        ide0: BM-DMA at 0xeff0-0xeff7, BIOS settings: hda:DMA, hdb:pio
        ide1: BM-DMA at 0xeff8-0xefff, BIOS settings: hdc:DMA, hdd:pio
    Probing IDE interface ide0...
    hda: TOSHIBA MK1517GAP, ATA DISK drive
    ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    Probing IDE interface ide1...
    hdc: TOSHIBA DVD-ROM SD-C2502, ATAPI CD/DVD-ROM drive
    ide1 at 0x170-0x177,0x376 on irq 15
    Probing IDE interface ide2...
    Probing IDE interface ide3...
    Probing IDE interface ide4...
    Probing IDE interface ide5...
    hda: max request size: 128KiB
    hda: 29498112 sectors (15103 MB), CHS=29264/16/63
    hda: cache flushes not supported
     hda:hda: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
    hda: task_in_intr: error=0x04 { DriveStatusError }
    ide: failed opcode was: unknown
    hda: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
    hda: task_in_intr: error=0x04 { DriveStatusError }
    ide: failed opcode was: unknown
    hda: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
    hda: task_in_intr: error=0x04 { DriveStatusError }
    ide: failed opcode was: unknown
     unknown partition table
    hdc: ATAPI 24X DVD-ROM drive, 128kB Cache
    Uniform CD-ROM driver Revision: 3.20
    .......
    .......

    3.
    Now when I do the same with knoppix 3.2 (may 2003)
    The three partitions are accessable now.
    failsafe debug -b 3.  No debugger (normal booting knoppix 3.2)

    after booting: knoppix screen=1024x768 The output of:
    hdparm -Cbvg /dev/hda
    Code:
     multcount    = 16 (on)
     IO_support   =  0 (default 16-bit)
     unmaskirq    =  0 (off)
     using_dma    =  1 (on)
     keepsettings =  0 (off)
     readonly     =  0 (off)
     readahead    =  8 (on)
     geometry     = 1836/255/63, sectors = 29498112, start = 0
     drive state is:  active/idle
     busstate     =  1 (on)

    and

    dmesg (not interesting parts are removed)
    Code:
     Linux version 2.4.20-xfs (root@Knoppix) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 SMP Mit Mär 26 15:37:36 CET 2003
    ...
    ide_setup: hda=scsi
    ide_setup: hdb=scsi
    ide_setup: hdc=scsi
    ide_setup: hdd=scsi
    ide_setup: hde=scsi
    ide_setup: hdf=scsi
    ide_setup: hdg=scsi
    ide_setup: hdh=scsi
    ....
    ....
    PCI: No IRQ known for interrupt pin A of device 00:04.0. Please try using pci=biosirq.
    ALI15X3: chipset revision 195
    ALI15X3: not 100% native mode: will probe irqs later
        ide0: BM-DMA at 0xeff0-0xeff7, BIOS settings: hda:DMA, hdb:pio
        ide1: BM-DMA at 0xeff8-0xefff, BIOS settings: hdc:DMA, hdd:pio
    hda: TOSHIBA MK1517GAP, ATA DISK drive
    hdc: TOSHIBA DVD-ROM SD-C2502, ATAPI CD/DVD-ROM drive
    ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    ide1 at 0x170-0x177,0x376 on irq 15
    blk: queue c032bfc4, I/O limit 4095Mb (mask 0xffffffff)
    hda: 29498112 sectors (15103 MB), CHS=1836/255/63, UDMA(33)
    ide-cd: passing drive hdc to ide-scsi emulation.
    Partition check:
     hda: hda1 hda2 < hda5 hda6 >
    .....
    .....


    Greetings
    Hans

  8. #8
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    Just a thought.
    The Cheat Code to disable DMA is 'nodma' not 'no dma'.

  9. #9
    Junior Member
    Join Date
    Jul 2005
    Posts
    7
    Sorry but with the command: knoppix nodma the system is hanging on the same point.
    But with the command: knoppix no dma the system is booting so as told

  10. #10
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    As seen in your post:
    Quote Originally Posted by mln
    When I start up knoppix 3.9 with option ‘no dma’:[/b]
    Knoppix fb1024x768 screen=1024x768 no dma
    Then the laptop startup normally but the harddisk is not accessable

    hdparm -Cbvg /dev/hda
    multcount = 16 (on)
    IO_support = 0 (default 16-bit)
    unmaskirq = 0 (off)
    using_dma = 1 (on)
    keepsettings = 0 (off)
    readonly = 0 (off)
    readahead = 256 (on)
    geometry = 29264/16/63, sectors = 29498112, start = 0
    drive state is: active/idle
    busstate = 1 (on)
    Emphasis mine.
    OK, so to summarize:
    To turn on/enable DMA: knoppix dma
    To turn off/disable DMA: knoppix nodma

    'knoppix no dma' with a space between 'no' and 'dma' does not disable DMA but instead enables it. None of the Cheat Codes have spaces in it.

Page 1 of 2 12 LastLast

Similar Threads

  1. Bootup hanging after scanning for hard disk partitions?
    By bonez318ti in forum Hardware & Booting
    Replies: 2
    Last Post: 07-27-2009, 06:22 PM
  2. Mount harddisk partitions at startup
    By s-m-n in forum Hardware & Booting
    Replies: 2
    Last Post: 08-30-2006, 06:51 PM
  3. Scanning for partitions
    By pasi in forum Hardware & Booting
    Replies: 0
    Last Post: 06-09-2006, 06:11 PM
  4. stuck on "scanning for harddisk partitions..."
    By soofsoof in forum General Support
    Replies: 1
    Last Post: 11-13-2004, 02:47 AM
  5. Hangs when scanning harddisks partitions
    By Jaster in forum General Support
    Replies: 3
    Last Post: 07-21-2004, 03:42 PM

Posting Permissions

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


Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD picture

Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD

$208.99



Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config picture

Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config

$489.99



Dell Poweredge R730xd 3.5 2x E5-2690 v3 2.6ghz 64gb H730 14x Trays 2x 1100w picture

Dell Poweredge R730xd 3.5 2x E5-2690 v3 2.6ghz 64gb H730 14x Trays 2x 1100w

$489.99



NetApp FAS8060 Server Dual Controller (4x E5-2658 2.10GHz 128GB RAM) NO HDDs picture

NetApp FAS8060 Server Dual Controller (4x E5-2658 2.10GHz 128GB RAM) NO HDDs

$199.99



Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330 picture

Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330

$182.65



Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays picture

Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays

$167.99



HP ProLiant DL360 G9 Server 2x E5-2690v3 2.60Ghz 24-Core 256GB P440ar picture

HP ProLiant DL360 G9 Server 2x E5-2690v3 2.60Ghz 24-Core 256GB P440ar

$302.90



HP ProLiant MicroServer Gen8 Server Xeon E3-1220L 8GB RAM No HDD's picture

HP ProLiant MicroServer Gen8 Server Xeon E3-1220L 8GB RAM No HDD's

$229.99



Dell PowerEdge R640 Server  2 x Intel Gold 6138 NO RAM or HDD See Description picture

Dell PowerEdge R640 Server 2 x Intel Gold 6138 NO RAM or HDD See Description

$475.00



HPE ProLiant DL360 Gen9 4LFF 2x E5-2667v3 3.2GHz =16 Cores 32GB P440AR 4xRJ45 picture

HPE ProLiant DL360 Gen9 4LFF 2x E5-2667v3 3.2GHz =16 Cores 32GB P440AR 4xRJ45

$202.00