Skip to contentSkip to conversation

mount /mnt/cdrom = segfault

DISCUSSION Tommasi Marc 4 participants 4 messages Nov 14, 2001 – Nov 15, 2001

lore
Share & tools
lore
#0 lore raw

Hello,
I cannot explain why the mount command issues with a segmentation
fault.
Kernel messages indicates

Nov 14 20:44:38 marion kernel: devfs: devfs_register(): device already
registered: "cd"
Nov 14 20:44:38 marion kernel: hdc: ide_cdrom_setup failed to register
device with the cdrom driver.
Nov 14 20:44:38 marion kernel: Unable to handle kernel NULL pointer
dereference at virtual address 00000028
Nov 14 20:44:38 marion kernel:  printing eip:
Nov 14 20:44:38 marion kernel: c018ba8f
Nov 14 20:44:38 marion kernel: *pde = 00000000
Nov 14 20:44:38 marion kernel: Oops: 0000
Nov 14 20:44:38 marion kernel: CPU:    0
Nov 14 20:44:38 marion kernel: EIP:   
0010:[ide_revalidate_disk+223/272]
Nov 14 20:44:38 marion kernel: EIP:    0010:[<c018ba8f>]
Nov 14 20:44:38 marion kernel: EFLAGS: 00010212
Nov 14 20:44:38 marion kernel: eax: 00000000   ebx: 00001600   ecx:
00001600   edx: 00000000
Nov 14 20:44:38 marion kernel: esi: c03591d0   edi: 00001100   ebp:
00000040   esp: c813dec8
Nov 14 20:44:38 marion kernel: ds: 0018   es: 0018   ss: 0018
Nov 14 20:44:38 marion kernel: Process mount (pid: 2502,
stackpage=c813d000)
Nov 14 20:44:38 marion kernel: Stack: 16000330 00000000 00000330
00000000 c0359498 00000330 c018bb0a 00001600
Nov 14 20:44:38 marion kernel:        00000001 c03591d0 ce8cfc60
00000000 ce8cfc60 c018bbd4 c149a5a0 ce8cfc60
Nov 14 20:44:38 marion kernel:        c0138a38 ce8cfc60 c82447a0
c14c3240 00000000 c14c3244 c015d7df ce8cfc60
Nov 14 20:44:38 marion kernel: Call Trace: [revalidate_drives+74/128]
[ide_open+52/240] [blkdev_open+72/128] [devfs_open+191/416]
[dentry_open+192/336]
Nov 14 20:44:38 marion kernel: Call Trace: [<c018bb0a>] [<c018bbd4>]
[<c0138a38>] [<c015d7df>] [<c0131d60>]
Nov 14 20:44:38 marion kernel:    [filp_open+75/96] [getname+95/160]
[sys_open+54/176] [system_call+51/64]
Nov 14 20:44:38 marion kernel:    [<c0131c8b>] [<c013b45f>] [<c0131f76>]
[<c0106ec3>]
Nov 14 20:44:38 marion kernel:
Nov 14 20:44:38 marion kernel: Code: 8b 40 28 85 c0 74 04 56 ff d0 5b 80

a6 ae 00 00 00 fb 8d 86

I have tried no boot with devfs=nomount but I have still the same kind of message.
I whish to be cc'ed the answers.
Thanks a lot.

Marc.

#1 lore raw
Quoted 51 lines · Tommasi Marc

Hello,
I cannot explain why the mount command issues with a segmentation
fault.
Kernel messages indicates

Nov 14 20:44:38 marion kernel: devfs: devfs_register(): device already
registered: "cd"
Nov 14 20:44:38 marion kernel: hdc: ide_cdrom_setup failed to register
device with the cdrom driver.
Nov 14 20:44:38 marion kernel: Unable to handle kernel NULL pointer
dereference at virtual address 00000028
Nov 14 20:44:38 marion kernel:  printing eip:
Nov 14 20:44:38 marion kernel: c018ba8f
Nov 14 20:44:38 marion kernel: *pde = 00000000
Nov 14 20:44:38 marion kernel: Oops: 0000
Nov 14 20:44:38 marion kernel: CPU:    0
Nov 14 20:44:38 marion kernel: EIP:   0010:[ide_revalidate_disk+223/272]
Nov 14 20:44:38 marion kernel: EIP:    0010:[<c018ba8f>]
Nov 14 20:44:38 marion kernel: EFLAGS: 00010212
Nov 14 20:44:38 marion kernel: eax: 00000000   ebx: 00001600   ecx:
00001600   edx: 00000000
Nov 14 20:44:38 marion kernel: esi: c03591d0   edi: 00001100   ebp:
00000040   esp: c813dec8
Nov 14 20:44:38 marion kernel: ds: 0018   es: 0018   ss: 0018
Nov 14 20:44:38 marion kernel: Process mount (pid: 2502,
stackpage=c813d000)
Nov 14 20:44:38 marion kernel: Stack: 16000330 00000000 00000330
00000000 c0359498 00000330 c018bb0a 00001600
Nov 14 20:44:38 marion kernel:        00000001 c03591d0 ce8cfc60
00000000 ce8cfc60 c018bbd4 c149a5a0 ce8cfc60
Nov 14 20:44:38 marion kernel:        c0138a38 ce8cfc60 c82447a0
c14c3240 00000000 c14c3244 c015d7df ce8cfc60
Nov 14 20:44:38 marion kernel: Call Trace: [revalidate_drives+74/128]
[ide_open+52/240] [blkdev_open+72/128] [devfs_open+191/416]
[dentry_open+192/336]
Nov 14 20:44:38 marion kernel: Call Trace: [<c018bb0a>] [<c018bbd4>]
[<c0138a38>] [<c015d7df>] [<c0131d60>]
Nov 14 20:44:38 marion kernel:    [filp_open+75/96] [getname+95/160]
[sys_open+54/176] [system_call+51/64]
Nov 14 20:44:38 marion kernel:    [<c0131c8b>] [<c013b45f>] [<c0131f76>]
[<c0106ec3>]
Nov 14 20:44:38 marion kernel:
Nov 14 20:44:38 marion kernel: Code: 8b 40 28 85 c0 74 04 56 ff d0 5b 80

a6 ae 00 00 00 fb 8d 86

I have tried no boot with devfs=nomount but I have still the same kind of message. I whish to be cc'ed the answers.
Thanks a lot.

Quoted 7 lines

Marc.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Kernel version and box features could help....
Please read the Howto Oops in the kernel documentation, and resubmit the Oops.

Signature · 13 lines
%-------------------------------------------------------------------------%
% FORT David,                                                  0668373331 %
% 5 boulevard de solférino                                     0299679330 %
% 35000 Rennes, France                             [email protected] %
% ICU:78064991 								  %
%--LINUX-HTTPD-PIOGENE----------------------------------------------------%
%  -datamining <-/                        |   .~.                         %
%  -networking/PHP/java/JSPs              |   /V\        L  I  N  U  X    %
%  -opensource                            |  // \\     >Fear the Penguin< %
%  -GNOME/enlightenment/GIMP              | /(   )\                       %
%           feel enlightened....          |  ^^-^^                        %
%                              HomePage: http://www.enlightened-popo.net  %
%---------- -- This was sent by Djinn running Linux 2.4.13 -- ------------%
#2 lore raw
In reply to Tommasi Marc
Quoted 2 lines · Tommasi Marc

I have tried no boot with devfs=nomount but I have still the same kind of message.

Please reproduce with devfs=nomount and send in that oops instead, thanks.

Signature · 1 line
Jens Axboe
#3 lore raw

Jens Axboe writes:

 ---| On Wed, Nov 14 2001, Tommasi Marc wrote:
 ---| > I have tried no boot with devfs=nomount but I have still the same kind
 ---| > of message. 
 ---| 
 ---| Please reproduce with devfs=nomount and send in that oops instead,
 ---| thanks.
 ---| 
 ---| -- 
 ---| Jens Axboe

Hello,

please aplogies. I have an Athlon 800, with kernel 2.4.8 (Mandrake 8.1). It seems that the message is very similar after rebooting with devfs=nomount, but maybe I am wrong.

Nov 15 20:41:39 marion kernel: ide-floppy driver 0.97
Nov 15 20:41:39 marion kernel: hdc: ATAPI 40X DVD-ROM drive, 512kB Cache, UDMA(33)
Nov 15 20:41:39 marion kernel: devfs: devfs_register(): device already registered: "cd"
Nov 15 20:41:39 marion kernel: hdc: ide_cdrom_setup failed to register device with the cdrom driver.
Nov 15 20:41:39 marion kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000028
Nov 15 20:41:39 marion kernel:  printing eip:
Nov 15 20:41:39 marion kernel: c018ba8f
Nov 15 20:41:39 marion kernel: *pde = 00000000
Nov 15 20:41:39 marion kernel: Oops: 0000
Nov 15 20:41:39 marion kernel: CPU:    0
Nov 15 20:41:39 marion kernel: EIP:    0010:[ide_revalidate_disk+223/272]
Nov 15 20:41:39 marion kernel: EIP:    0010:[<c018ba8f>]
Nov 15 20:41:39 marion kernel: EFLAGS: 00010212
Nov 15 20:41:39 marion kernel: eax: 00000000   ebx: 00001600   ecx: 00001600   edx: 00000000
Nov 15 20:41:39 marion kernel: esi: c03591d0   edi: 00001100   ebp: 00000040   esp: c68d7ee8
Nov 15 20:41:39 marion kernel: ds: 0018   es: 0018   ss: 0018
Nov 15 20:41:39 marion kernel: Process mount (pid: 2168, stackpage=c68d7000)
Nov 15 20:41:39 marion kernel: Stack: 16000330 00000000 00000330 00000000 c0359498 00000330 c018bb0a 00001600
Nov 15 20:41:39 marion kernel:        00000001 c03591d0 cf675760 00000000 c148a070 c018bbd4 c149a2a0 cf675760
Nov 15 20:41:39 marion kernel:        c0138a38 cf675760 c6973680 c6973680 cf675760 c1447320 c0131d60 cf675760
Nov 15 20:41:39 marion kernel: Call Trace: [revalidate_drives+74/128] [ide_open+52/240] [blkdev_open+72/128] [dentry_open+192/336] [filp_open+75/96]
Nov 15 20:41:39 marion kernel: Call Trace: [<c018bb0a>] [<c018bbd4>] [<c0138a38>] [<c0131d60>] [<c0131c8b>]
Nov 15 20:41:39 marion kernel:    [getname+95/160] [sys_open+54/176] [system_call+51/64]
Nov 15 20:41:39 marion kernel:    [<c013b45f>] [<c0131f76>] [<c0106ec3>]
Nov 15 20:41:39 marion kernel:
Nov 15 20:41:39 marion kernel: Code: 8b 40 28 85 c0 74 04 56 ff d0 5b 80 a6 ae 00 00 00 fb 8d 86