[SLE] Compilied kernel since 2.6.7 makes ide problems with hda6

From: Enno Bartels (ennobartels_at_t-online.de)
Date: 09/25/04

  • Next message: sjb: "[SLE] network bridge"
    To: suse-linux-e@suse.com
    Date: Sat, 25 Sep 2004 12:12:29 +0200
    
    

    Hi

    I have bought a new laptop.
    It's a GERICOM Hummer with a pentium 4
    (hyperthreading) and 80GB HD with winxp.

    So I have installed SuSE Linux 9.1 also on it.

    I did also buy a usb mouse for it. But it didn't work.
    After some investigation I did understand that the
    hole usb system was not working.
    (rccoldplug restart and rchotplug restart could not help!!!)

    I did get the following error messages from /var/log/messages
      kernel: usb 1-3: new low speed USB device using address 4
      kernel: usb 1-3: config 1 has an invalid interface number: 1 but max is 0
      kernel: usb 1-3: can't read configurations, error -22
    those errors were also posted in some other messages:

    http://forum.hardware.fr/hardwarefr/OSAlternatifs/sujet-41318-1.htm
     and also
    http://lists.debian.org/debian-user/2004/06/msg04134.html
     and the follow up
    http://lists.debian.org/debian-user/2004/06/msg03866.html
     and I tried the advice to
     compile a newer kernel.

    But I did get some bad harddisc problems.
     
    Look inside dmesg file. It can be found at:
     http://www.nwn.de/ebartels/linux/2.6.9_rc2_mm3_2h20_short.txt
    I did reduce the error messages. The
    original file is 7095 lines long.

    Those errors were gone if i did boot the default
    suse kernel or the 2.6.6 kernel again.

    The hard disc did I split up like this:
     fdisk -l /dev/hda:
    ----------------------
    Disk /dev/hda: 80.0 GB, 80026361856 bytes
    16 heads, 63 sectors/track, 155061 cylinders
    Units = cylinders of 1008 * 512 = 516096 bytes

       Device Boot Start End Blocks Id System
    /dev/hda1 * 1 33936 17103712+ 7 HPFS/NTFS (-> ntfs /windows)
    /dev/hda2 33937 33961 12600 83 Linux (-> ext2 /boot)
    /dev/hda3 33962 36041 1048320 82 Linux swap (-> swap - )
    /dev/hda4 36042 155061 59986080 f W95 Ext'd (LBA) (-> - - )
    /dev/hda5 36042 96376 30408808+ 83 Linux (-> reiserfs / )
    /dev/hda6 96377 155061 29577208+ 83 Linux (-> reiserfs /home)
    ----------------------

    I'am using grub as bootloader
     grub -v -> 0.94

    I did tests with following kernels:
    -----------------------------------

    Nu. Kernel Compiled hda6_problem usb_system
    --------------------------------------------------------------
    1. 2.6.5-7.108-smp (SuSE) N Okay Not working
    2. 2.6.6 (Vanila) Y Okay Not working
    3. 2.6.7 (Vanila) Y error - SUM Not sure !
    4. 2.6.8.1 (Vanila) Y error - SUM Okay
    5. 2.6.9-rc2 (Vanila) Y error - SUM Okay
    6. 2.6.9-rc2-mm2 (Vanila) Y error - SUM Okay
    7. 2.6.9-rc2-mm3 (Vanila) Y error - SUM Okay

    SUM = single user mode

    Following things I did to solve the problem:
    --------------------------------------------
    1. reiserfsprog new version installed
       old : 3.6.13
       new : 3.6.18
       -> did not help

    2. fstab options changed from "acl,user_xattr" to "default"
       -> did not help

    3. DMA deactivated
       and tried to mount /home again -> same errors
       -> did not help

    4. reiserfsck /dev/hda5 -> no errors found
       reiserfsck /dev/hda6 -> no errors found
       -> did not help
     
    5. reiserfsck --rebuild-sb /dev/hda5 -> no errors found
       reiserfsck --rebuild-sb /dev/hda6 -> no errors found
       -> did not help

    6. reiserfsck --clean-attributes /dev/hda5 -> no errors found
       reiserfsck --clean-attributes /dev/hda6 -> no errors found
       -> did not help

    7. Booting with the failsave options:
       ide=nodma apm=off acpi=off vga=normal noresume nosmp noapic maxcpus=0
       -> did not help

    8. Test loop: Finding the partions and print them on screen
       Started on the shell at an default kernel of suse (2.6.5-7.108-smp)

       gpart v0.1h (c) 1999-2001 Michail Brzitwa <michail@brzitwa.de>.

    ---------
    surprise:/> gpart /dev/hda

    Begin scan...
    Possible partition(Windows NT/W2K FS), size(16701mb), offset(0mb)
    Possible partition(Linux ext2), size(12mb), offset(16702mb)
    Possible partition(Linux swap), size(1023mb), offset(16715mb)
    Possible extended partition at offset(17738mb)

    * Warning: short read near sector(156301299), 64512 bytes instead of 66048. Skipping...
    End scan.

    Checking partitions...
    Partition(OS/2 HPFS, NTFS, QNX or Advanced UNIX): primary
    Partition(Linux ext2 filesystem): primary
    Partition(Linux swap or Solaris/x86): primary
    Ok.

    Guessed primary partition table:
    Primary partition(1)
       type: 007(0x07)(OS/2 HPFS, NTFS, QNX or Advanced UNIX)
       size: 16701mb #s(34205680) s(63-34205742)
       chs: (0/1/1)-(1023/15/63)d (0/1/1)-(33934/4/19)r

    Primary partition(2)
       type: 131(0x83)(Linux ext2 filesystem)
       size: 12mb #s(25200) s(34207488-34232687)
       chs: (1023/15/63)-(1023/15/63)d (33936/0/1)-(33960/15/63)r

    Primary partition(3)
       type: 130(0x82)(Linux swap or Solaris/x86)
       size: 1023mb #s(2096640) s(34232688-36329327)
       chs: (1023/15/63)-(1023/15/63)d (33961/0/1)-(36040/15/63)r

    Primary partition(4)
       type: 005(0x05)(Extended DOS)
       size: 58580mb #s(119972160) s(36329328-156301487)
       chs: (1023/15/63)-(1023/15/63)d (36041/0/1)-(155060/15/63)r
    -----------------------------------

       Why could gpart not found the 2 partions in the extended partition ?
       Does it only work with old reiserfs partions ?

    9. If I did the reiserfsck program on the /dev/hda6 partions
       at the kernels 2.6.7 - 2.6.9-rc2-mm3 it gives all the
       errors as seen below in the dmesg output
       and so I could not check that partion with those kernels.

    It seems to be a hardware problem of the harddisc but after
    booting with the default SuSE9.1 Kernel all hda6 errors are
    gone. Everything was mount fine. So I thing this can't be a
    harddisc problem!?

    Is there something wrong with the ide driver ?
    Is there something wrong with the reiserfs driver ?
    Is there something wrong with .. ? What else ?

    But why can the system boot the root partion?
    It is also an reiserfs partition!

    Does somebody know what I can to, test, analyse, solve this error ?

    My dmesg messages file of kernel 2.6.9-rc2-mm3 can be found at:
    http://www.nwn.de/ebartels/linux/2.6.9_rc2_mm3_2h20_short.txt

    Thanks for listening!

    Enno

    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: sjb: "[SLE] network bridge"

    Relevant Pages