Skip to contentSkip to conversation

2.4.21-pre1 broke the ide-tape driver

DISCUSSION Mikael Pettersson 2 participants 2 messages Dec 15, 2002 – Dec 16, 2002

lore
Share & tools
lore
#0 lore raw
Quoted 6 lines · Marc-Christian Petersen
Quoted 5 lines

Kernel 2.4.21-pre1 broke the ide-tape driver: the driver now hangs during initialisation. 2.2 kernels (with Andre's IDE patch) and 2.4 up to 2.4.20 do not have this problem. My box has a Seagate STT8000A ATAPI tape drive as hdd; hdc is a Philips CD-RW, and the controller is ICH2 (i850 chipset).

http://linux.bkbits.net:8080/linux-2.4/[email protected]?nav=index.html|ChangeSet@-7d|[email protected]

Addendum: this patch fixes the init-time hang, and ide-tape does seem to work fine, but 'rmmod ide-tape' oopses -- 2.4.20-ac2 also oopses on 'rmmod ide-tape'.

/Mikael

Unable to handle kernel NULL pointer dereference at virtual address 000000c4
d08a8048
*pde = 00000000
Oops: 0000
CPU:    0
EIP:    0010:[<d08a8048>]    Not tainted

Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010202
eax: 00000000 ebx: 00000000 ecx: c0241ea0 edx: 00000128
esi: 00000014 edi: d08aa9c0 ebp: bfffeb08 esp: ce825f88
ds: 0018 es: 0018 ss: 0018
Process rmmod.old (pid: 614, stackpage=ce825000)

Stack: d08a1000 fffffff0 d08a1000 c0116a53 d08a1000 fffffff0 ce7d5000 bfffeb08 
       c0115ef7 d08a1000 00000000 ce824000 bffffc85 00000001 c0106c17 bffffc85 
       08060ac8 00000100 bffffc85 00000001 bfffeb08 00000081 0000002b 0000002b 
Call Trace:    [<c0116a53>] [<c0115ef7>] [<c0106c17>]
Code: 8b 83 c4 00 00 00 85 c0 74 0e 68 a4 a8 8a d0 50 e8 1f ce 8d 
Quoted 6 lines
Quoted 6 lines

EIP; d08a8048 <END_OF_CODE+8be8/????> <=====

ecx; c0241ea0 <chrdevs+0/7f8>
edi; d08aa9c0 <END_OF_CODE+b560/????>
ebp; bfffeb08 Before first symbol
esp; ce825f88 <_end+e5c4db8/10620e90>

Trace; c0116a53 <free_module+17/98>
Trace; c0115ef7 <sys_delete_module+f3/1b0>
Trace; c0106c17 <system_call+33/38>

Code; d08a8048 <END_OF_CODE+8be8/????>
00000000 <_EIP>:
Code; d08a8048 <END_OF_CODE+8be8/????> <=====
0: 8b 83 c4 00 00 00 mov 0xc4(%ebx),%eax <=====
Code; d08a804e <END_OF_CODE+8bee/????>
6: 85 c0 test %eax,%eax
Code; d08a8050 <END_OF_CODE+8bf0/????>
8: 74 0e je 18 <_EIP+0x18>
Code; d08a8052 <END_OF_CODE+8bf2/????>
a: 68 a4 a8 8a d0 push $0xd08aa8a4
Code; d08a8057 <END_OF_CODE+8bf7/????>
f: 50 push %eax
Code; d08a8058 <END_OF_CODE+8bf8/????>
10: e8 1f ce 8d 00 call 8dce34 <_EIP+0x8dce34>

#1 lore raw
Quoted 7 lines · Mikael Pettersson
Quoted 5 lines · Marc-Christian Petersen
Quoted 5 lines

Kernel 2.4.21-pre1 broke the ide-tape driver: the driver now hangs during initialisation. 2.2 kernels (with Andre's IDE patch) and 2.4 up to 2.4.20 do not have this problem. My box has a Seagate STT8000A ATAPI tape drive as hdd; hdc is a Philips CD-RW, and the controller is ICH2 (i850 chipset).

Quoted 5 lines
Quoted 1 line

http://linux.bkbits.net:8080/linux-2.4/[email protected]?nav=index.html|ChangeSet@-7d|[email protected]

Addendum: this patch fixes the init-time hang, and ide-tape does seem to work fine, but 'rmmod ide-tape' oopses -- 2.4.20-ac2 also oopses on 'rmmod ide-tape'.

I don't unfortunately have any ide-tape devices. I'll take a look though