[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    looks like ppa is broke in 2.0.3[4|5]
From:       "David E. Smith" <dave () bureau42 ! ml ! org>
Date:       1998-07-14 17:12:52
[Download RAW message or body]

bureau42:~$ sudo insmod scsi_mod
(whee. it works.)

bureau42:~$ sudo insmod ppa
(and here, it returns all the stuff it should)

ppa: Version 1.42
ppa: Probing port 03bc
ppa: Probing port 0378
ppa:     SPP port present
ppa:     ECP with a 16 byte FIFO present
ppa:     PS/2 bidirectional port present
ppa:     Passed Intel bug check.
ppa:     EPP 1.9 with hardware direction protocol
ppa: Found device at ID 6, Attempting to use EPP 32 bit
ppa: Communication established with ID 6 using EPP 32 bit
ppa: Probing port 0278
scsi0 : Iomega parport ZIP drive
scsi : 1 host.
  Vendor:           Model:                   Rev:
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 6, lun 0

bureau42:~$ sudo mount /dev/sda1 /iomega -t ext2
(this dumps all these friendly things...)

sda:<1>Unable to handle kernel NULL pointer dereference at virtual address c000004b
current->tss.cr3 = 00c25000, %cr3 = 00c25000
*pde = 00102067
*pte = 00000000
Oops: 0000
CPU:    0
EIP:    0010:[<0184592b>]
EFLAGS: 00010046
eax: 00000000   ebx: 00000000   ecx: 0015be08   edx: 00b2ae98
esi: 00de6a18   edi: 00000046   ebp: 00000000   esp: 00ab6e08
ds: 0018   es: 0018   fs: 002b   gs: 002b   ss: 0018
Process insmod (pid: 124, process nr: 34, stackpage=00ab6000)
Stack: 00000206 00de6a18 00ab6e38 00000800 0015be2d 00000000 00123f84 001cef3c 
       00000000 01848284 00000010 00000800 00aa8810 00de6a48 00125419 00de6a18 
       00de6a18 0015cf2b 00000800 00000000 00000400 00000000 01848284 00000800 
Call Trace: [<0015be2d>] [<00123f84>] [<01848284>] [<00125419>] [<0015cf2b>] \
                [<01848284>] [<01848284>] 
       [<0015d27e>] [<01848284>] [<01848284>] [<01848284>] [<0015d2de>] [<01848284>] \
                [<018476f9>] [<01848284>] 
       [<01848224>] [<018474a7>] [<0183cdc1>] [<01848224>] [<0183cf10>] [<01848224>] \
                [<0184781a>] [<01848224>] 
       [<00114cf2>] [<0011ea01>] [<01847804>] [<01847820>] [<00111824>] [<0011730f>] \
                [<0183a1f0>] [<0010a6c5>] 
Code: f6 43 4b 40 74 2f f6 43 4a 02 74 25 83 3d 34 68 1a 00 00 75 

Using `/System.map.35' to map addresses to symbols.

Trace: 15be2d <ide_do_request+a9/5f0>
Trace: 123f84 <sync_buffers+74/1a0>
Trace: 1848284
Trace: 125419 <breada+ad/174>
Trace: 15cf2b <ide_ioctl+4ab/87c>
Trace: 1848284
Trace: 1848284
Trace: 15d27e <ide_ioctl+7fe/87c>
Trace: 1848284
Trace: 1848284
Trace: 1848284
Trace: 15d2de <ide_ioctl+85e/87c>
Trace: 1848284
Trace: 18476f9
Trace: 1848284
Trace: 1848224
Trace: 18474a7
Trace: 183cdc1
Trace: 1848224
Trace: 183cf10
Trace: 1848224
Trace: 184781a
Trace: 1848224
Trace: 114cf2 <sys_init_module+3de/410>
Trace: 11ea01 <vmalloc+45/64>
Trace: 1847804
Trace: 1847820
Trace: 111824 <timer_bh+f8/334>
Trace: 11730f <do_bottom_half+3b/60>
Trace: 183a1f0
Trace: 10a6c5 <system_call+55/80>

Code: 
Code:  f6 43 4b 40    	testb  $0x40,0x4b(%ebx)
Code:  74 2f          	je     35 <_EIP+35>
Code:  f6 43 4a 02    	testb  $0x2,0x4a(%ebx)
Code:  74 25          	je     31 <_EIP+31>
Code:  83 3d 34 68 1a 	cmpl   $0x0,0x1a6834
Code:  00 00 
Code:  75 00          	jne    15 <_EIP+15>
Code:  90             	nop    
Code:  90             	nop    
Code:  90             	nop    

Mind you, I'm not sure why all sorts of ide_* things are being called; the
parallel Zip drive is supposed to be handled as a SCSI device. And I'm no
code wizard by a long shot, but the fact that about half the unresolved
symbols in the trace "1848284" just happens to be the same as one of the
values sitting on the stack seems eerie.

Anyway, after that, I can unload the ppa module, but sd_mod (which I'm not
even sure what it is) won't unload.

bureau42:~$ more /proc/modules
sd_mod             4  (uninitialized)
scsi_mod           7    [sd_mod]        1
nfs               12            5 (autoclean)
bureau42:~$ sudo rmmod sd_mod
sd_mod: Device or resource busy

bureau42:/root/linux$ grep "[y|m]" .config
# Automatically generated by make menuconfig: don't edit
# Code maturity level options
CONFIG_EXPERIMENTAL=y
# Loadable module support
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KERNELD=y
CONFIG_NET=y
CONFIG_SYSVIPC=y
CONFIG_BINFMT_AOUT=m
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_JAVA=m
CONFIG_KERNEL_ELF=y
CONFIG_M486=y
# Floppy, IDE, and other block devices
CONFIG_BLK_DEV_FD=m
CONFIG_BLK_DEV_IDE=y
CONFIG_INET=y
CONFIG_SYN_COOKIES=y
CONFIG_IP_ACCT=y
CONFIG_IP_NOSR=y
CONFIG_SKB_LARGE=y
CONFIG_SCSI=m
CONFIG_BLK_DEV_SD=m
CONFIG_SCSI_PPA=m
CONFIG_SCSI_PPA_HAVE_PEDANTIC=y
CONFIG_NETDEVICES=y
CONFIG_DUMMY=m
CONFIG_PPP=y
# ISDN subsystem
CONFIG_CD_NO_IDESCSI=y
CONFIG_CDU31A=y
# Filesystems
CONFIG_QUOTA=y
CONFIG_MINIX_FS=m
CONFIG_EXT2_FS=y
CONFIG_NLS=m
CONFIG_ISO9660_FS=m
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
CONFIG_NLS_CODEPAGE_437=m
CONFIG_NLS_CODEPAGE_850=m
CONFIG_NLS_ISO8859_1=m
CONFIG_PROC_FS=y
CONFIG_NFS_FS=m
CONFIG_SERIAL=y
CONFIG_PRINTER=m
CONFIG_SOUND=y
CONFIG_SB=y
CONFIG_ADLIB=y
CONFIG_MPU401=y
CONFIG_MSS=y
CONFIG_AUDIO=y
CONFIG_MIDI=y
CONFIG_YM3812=y

For the time being, I'm going back to 2.0.33 which, well, it works.

...dave


---- David E. Smith, P O Box 324, Cape Girardeau MO 63702-0324
http://bureau42.base.org/people/dave/     dave@bureau42.ml.org

A partial list of people I don't speak for: Monolith, SEMO, CBM,
The Capaha Arrow, Bureau 42, CEA, and the Circle of Eunuchs...


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic