IBM ThinkPad: floppy I/O error causing Kernel Panic when installing Linux

IBM ThinkPad: floppy I/O error causing Kernel Panic when installing Linux

Post by Urban Braendstro » Wed, 17 Aug 1994 03:31:10



Hi there,

/* Disclaimer: As far as I know this is NOT a FAQ */

I am trying to install Linux (Slackware 2.0.0) on an IBM ThinkPad 750C. When I
insert the root-floppy (the second disk) some floppy I/O errors occurs
resulting in a Kernel panic. (The same thing happens with a variety of root-
disks including an older SLS boot-disk, btw. the boot and rootfloppies works
fine on other machines.)

I think the problem is related to the 2.88 MB 3.5" floppy drive on the
IBM ThinkPad.

There are some rumours on Internet that people managed to install Linux on IBM
ThinkPad(s). For example there is a FAQ about hard disk problems on a ThinkPad.

So if anyone out there knows something about this - Please Help!

Many thanks in advance

Urban Braendstroem (Currently out of magic :)

A typical boot attempt might look like this:
(booting the ThinkPad on a boot floppy with scsi, modern, ncr or some other
boot kernel)
LILO
Welcome to the slackware linux 2.0.0
(and so on....)
boot: ramdisk hd=914,15,49 (my hard disk parameters)
(Linux uncompresses, detects things and finally asks me to insert the root
floppy and press enter, everything OK so far. Inserting a root-floppy with
color144)
RAMDISK 1474560 bytes starting at 0x1e8000
floppy I/O error
dev 021C, sector 2
(repeated a number of times with diffrent sector numbers)
RAMDISK: I/O error while looking for superblock!
VFS: Insert root floppy and press ENTER (pressing ENTER)
floppy I/O error
dev 021C, sector xxx
(continuing like this for a while...)
isofs_read_super: bread failed, dev 0x21c
VFS: Wrong blocksize on device 2/28
il_rw_block: only 1024 chars blocks implemented (512)
HPFS: map_sector: read error
Kernel panic: VFS: Unable to mount root.
(and system hangs)
(help! :( )

-------------------------------------------------------------------------------

     /    /--\  Urban Braendstroem                  Phone:  +46 (0)980 79 126
    /    /   /  IRF, Institutet foer rymdfysik        Fax:  +46 (0)980 79 050
   /    /-----\ Swedish Institute of Space Physics  Telex:  8754 IRF S


                Sweden

                -There is always one more bug(g)!

-------------------------------------------------------------------------------

 
 
 

IBM ThinkPad: floppy I/O error causing Kernel Panic when installing Linux

Post by Tom Vaugh » Wed, 17 Aug 1994 04:21:04


: Hi there,

: /* Disclaimer: As far as I know this is NOT a FAQ */

: I am trying to install Linux (Slackware 2.0.0) on an IBM ThinkPad 750C. When I
: insert the root-floppy (the second disk) some floppy I/O errors occurs
: resulting in a Kernel panic. (The same thing happens with a variety of root-
: disks including an older SLS boot-disk, btw. the boot and rootfloppies works
: fine on other machines.)

: I think the problem is related to the 2.88 MB 3.5" floppy drive on the
: IBM ThinkPad.

: There are some rumours on Internet that people managed to install Linux on IBM
: ThinkPad(s). For example there is a FAQ about hard disk problems on a ThinkPad.

: So if anyone out there knows something about this - Please Help!

: Many thanks in advance

: Urban Braendstroem (Currently out of magic :)

: A typical boot attempt might look like this:
: (booting the ThinkPad on a boot floppy with scsi, modern, ncr or some other
: boot kernel)
: LILO
: Welcome to the slackware linux 2.0.0
: (and so on....)
: boot: ramdisk hd=914,15,49 (my hard disk parameters)
: (Linux uncompresses, detects things and finally asks me to insert the root
: floppy and press enter, everything OK so far. Inserting a root-floppy with
: color144)
: RAMDISK 1474560 bytes starting at 0x1e8000
: floppy I/O error
: dev 021C, sector 2
: (repeated a number of times with diffrent sector numbers)
: RAMDISK: I/O error while looking for superblock!
: VFS: Insert root floppy and press ENTER (pressing ENTER)
: floppy I/O error
: dev 021C, sector xxx
: (continuing like this for a while...)
: isofs_read_super: bread failed, dev 0x21c
: VFS: Wrong blocksize on device 2/28
: il_rw_block: only 1024 chars blocks implemented (512)
: HPFS: map_sector: read error
: Kernel panic: VFS: Unable to mount root.
: (and system hangs)
: (help! :( )

: -------------------------------------------------------------------------------

:      /    /--\  Urban Braendstroem                  Phone:  +46 (0)980 79 126
:     /    /   /  IRF, Institutet foer rymdfysik        Fax:  +46 (0)980 79 050
:    /    /-----\ Swedish Institute of Space Physics  Telex:  8754 IRF S


:                 Sweden

:                 -There is always one more bug(g)!

: -------------------------------------------------------------------------------

 I have Linux installed on my 750C. You need to get a kernel that has the
 thinkpad image compiled to include the floppy for 2.88MB. There is one on
 sunsite.unc.edu. If that won't do the job for you I can try getting one to
 you somehow. Good luck and don't give up. It took me a couple of weeks to
 get it up and going. Bernardo Lam sent let me ftp a boot disk from him that
 included the floppy fix ( YEA Bernardo! ). I booted his boot disk and then
 created my own kernel by patching the floppy.c file.

 Tom

 
 
 

1. Floppy access causing kernel panic in schedule()

Hardware:
    Brand new 486DX2-66, 16MB, VLB I/O card

Software:
    Linux 1.1.18 (also happens on 1.0.9)

Scenario:
    Any extensive reading from or writing to /dev/fd0

Error:
    Oops: 0000
    EIP: 0010:0010ce07
    EFLAGS: 00010202
    eax: 00000000  ebx: 00000000  ecx: 0018f39c  edx: fffffc18
    esi: 00000001  edi: 00001000  ebp: 0018f34c  esp: 0018f344
    ds: 0018  es: 0018  fs: 002b  gs: 002b  ss: 0018
    Process swapper (pid: 0, process nr: 0, stackpage=0018e39c)
    Stack: 0018f39c 001be0f0 001a7dc4 00111deb 0010e1d9
    Code: 83 bb 20 03 00 00 00 74 63 39 b3 20 03 00 00 77 40 6a 01 53
    task[0] (swapper) killed: unable to recover
    Kernel panic: Trying to free up swapper memory space
    In swapper task - not syncing

The above EIP falls in the routine schedule(), as the following values
from zSystem indicate:

    0010cda4 T _schedule
    0010cf94 T _sys_pause

Here is what comes out at boot time (from dmesg):

    Console: colour EGA+ 80x25, 8 virtual consoles
    Serial driver version 4.00 with no serial options enabled
    tty00 at 0x03f8 (irq = 4) is a 16450
    tty01 at 0x02f8 (irq = 3) is a 16450
    lp_init: lp1 exists, using polling driver
    Calibrating delay loop.. ok - 33.22 BogoMips
    Memory: 15228k/16384k available (576k kernel code, 384k reserved, 196k data)
    This processor honours the WP bit even when in supervisor mode. Good.
    Floppy drive(s): fd0 is 1.44M
    Swansea University Computer Society NET3.014
    IP Protocols: ICMP, UDP, TCP
    PPP: version 0.2.7 (4 channels) NEW_TTY_DRIVERS OPTIMIZE_FLAGS
    TCP compression code copyright 1989 Regents of the University of California
    PPP line discipline registered.
    SLIP: version 0.7.5-NET3.014-NEWTTY (4 channels)
    CSLIP: code copyright 1989 Regents of the University of California
    Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.

    Partition check:
      hda: hda1 hda2 hda3
    VFS: Mounted root (ext2 filesystem) readonly.
    Adding Swap: 33176k swap-space

I have tried it when the swap partition is disabled.  Same problem.
Sometimes I get a "General protection: 0000" instead of "Oops".

This problem has existed from day one.  I needed to use the Slackware
"MODERN" boot image to install Slackware.  That is based on 1.1.18,
but now 1.1.18 doesn't work.

So, does anyone know what is wrong?  I imagine it may be a sub-optimal
setting of jumpers on the VLB I/O card.  I am new to PC's, so don't
know much about these things.

2. Apache: "SetEnv SERVER_ADMIN" or "ServerAdmin" for directory

3. SOLVED - Floppy access causing kernel panic in schedule()

4. mousewheel not working.

5. Kernel panic on reboot, IBM Thinkpad 570 + RH8

6. Root Password Help

7. Floppy access causing kernel panic in schedule()

8. Remote Control using X Window

9. Kernel panic on reboot, IBM Thinkpad 570 + RH8

10. floppy kernel PANIC should cause system problems?

11. Installing on IBM Thinkpad 750C with Doc I and 2.88M floppy

12. IBM TP500 - "floppy=thinkpad" - what kernel needed?

13. Solaris Express NV24 on a Dell D400: "format" causes disk errors, kernel panic.