diskquota bug? causes segmentation fault

Rikard Bosnjakovic (bos@hack.org)
Tue, 22 Jun 1999 20:25:13 +0200


Hi.

When I was using quotas I couldn't change password for a user, I got
segmentation fault all time. When I turned quotas off, then I could
change password.

I'm sending you a bunch of logfiles which I think is relevant. I've
missed to send something you need, please tell me about it.

-------------------------------------------------[disk quota
problem]-------------------------------------------------
[root@a214 rc.d]# passwd testbos
Changing password for user testbos
New UNIX password:
Retype new UNIX password:
Segmentation fault
[root@a214 rc.d]# /sbin/quotaoff -avug
/dev/hdb3: group quotas turned off
/dev/hdb3: user quotas turned off
[root@a214 rc.d]# passwd testbos
Changing password for user testbos
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully
[root@a214 rc.d]# /sbin/quotaon -avug
/dev/hdb3: group quotas turned on
/dev/hdb3: user quotas turned on
[root@a214 rc.d]# passwd testbos
Changing password for user testbos
New UNIX password:
BAD PASSWORD: it is too short
Retype new UNIX password:
Segmentation fault

Jun 22 20:17:15 a214 kernel: Unable to handle kernel NULL pointer
dereference at virtual address 00000024
Jun 22 20:17:15 a214 kernel: current->tss.cr3 = 06eb6000, %cr3 =
06eb6000
Jun 22 20:17:15 a214 kernel: *pde = 00000000
Jun 22 20:17:15 a214 kernel: Oops: 0000
Jun 22 20:17:15 a214 kernel: CPU: 1
Jun 22 20:17:15 a214 kernel: EIP: 0010:[load_aout_binary+1409/1548]
Jun 22 20:17:15 a214 kernel: EFLAGS: 00010206
Jun 22 20:17:15 a214 kernel: eax: 00000024 ebx: c498bb60 ecx:
c71a283c edx: 00000000
Jun 22 20:17:15 a214 kernel: esi: c498bb00 edi: ffffffff ebp:
00000000 esp: c448bf6c
Jun 22 20:17:15 a214 kernel: ds: 0018 es: 0018 ss: 0018
Jun 22 20:17:15 a214 kernel: Process passwd (pid: 18056, process nr: 58,
stackpage=c448b000)
Jun 22 20:17:15 a214 kernel: Stack: ffffffff 00000000 c5139260 c0e1c770
c0137534 c498bb60 00000000 00000000
Jun 22 20:17:15 a214 kernel: bfffba10 bffffa10 c01270f8 00000000
ffffffff 00000000 00000000 00000000
Jun 22 20:17:15 a214 kernel: 00000000 c448a000 c012712b 00000000
c448a000 c0107a50 40043c88 4003b8a0
Jun 22 20:17:15 a214 kernel: Call Trace: [clear_entry+8/104]
[sys_write+260/292] [do_readv_writev+19/468] [sys_sigsuspend+128/168]
Jun 22 20:17:15 a214 kernel: Code: 8b 34 90 66 8b 43 2c a8 01 74 0d 53
e8 0a ff ff ff 83 c4 04

[bos@a214 bos]$ cat /proc/version
Linux version 2.2.7 (root@a214.ryd.student.liu.se) (gcc version
egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #7 SMP Sat Jun 12
23:15:52 CEST 1999

[bos@a214 bos]$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 5
model name : Pentium II (Deschutes)
stepping : 2
cpu MHz : 350.802846
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 mmx osfxsr
bogomips : 350.62

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 5
model name : Pentium II (Deschutes)
stepping : 2
cpu MHz : 350.802846
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 mmx osfxsr
bogomips : 349.80

[bos@a214 bos]$ cat /proc/modules
serial 19124 0 (autoclean) (unused)
ne 6512 2 (autoclean)
8390 6660 0 (autoclean) [ne]
es1371 26572 0
soundcore 2340 4 [es1371]

[bos@a214 bos]$ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 06 Lun: 00
Vendor: PLEXTOR Model: CD-R PX-R412C Rev: 1.06
Type: CD-ROM ANSI SCSI revision: 02

[bos@a214 /proc]$ cat partitions
major minor #blocks name

3 0 1255920 hda
3 1 657184 hda1
3 2 264096 hda2
3 3 102816 hda3
3 4 229824 hda4
3 64 14114520 hdb
3 65 2104483 hdb1
3 66 2104515 hdb2
3 67 9904072 hdb3
22 0 4233600 hdc
22 1 4233096 hdc1
-------------------------------------------------[disk quota
problem]-------------------------------------------------

-- 
// Rikard Bosnjakovic - http://a214.ryd.student.liu.se/ - ICQ: 1158217

---------------------------------------------------------------------- Before you criticize someone, walk a mile in his shoes. That way, if he gets angry, he'll be a mile away - and barefoot. ----------------------------------------------------------------------

- 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.tux.org/lkml/