Bug 159839

Summary: kudzu segfaults on Dell Inspiron 510m
Product: Red Hat Enterprise Linux 3 Reporter: Mike Leech <mike.leech>
Component: kudzuAssignee: Bill Nottingham <notting>
Status: CLOSED ERRATA QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2005-667 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-10-05 16:57:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 156320, 156322    
Attachments:
Description Flags
strace output from kudzu
none
/lib/modules/2.4.21-32.EL/modules.usbmap none

Description Mike Leech 2005-06-08 15:45:29 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.8) Gecko/20050512 Red Hat/1.0.4-1.4.1 Firefox/1.0.4

Description of problem:
Installation of Enterprise linux 3 Update 5 works fine. On reboot kudzu fails with error message:

/etc/rc5.b/S05kudzu: line 97: 514 Segmentation fault /usr/sbin/kudzu $KUDZU_ARGS -t 30

Only ext3 and jbd modules are loaded.

Subsequently running kudzu also segfaults.

I've tried on two identical machines, both show the same problem.
Enterprise linux 3 update 4 works fine!
I've tried turning all the hardware I can off in the BIOS (wirless lan, modem), same problem.


Version-Release number of selected component (if applicable):
kudzu-1.1.22.11-1

How reproducible:
Always

Steps to Reproduce:
1. Install Enterprise Linux 3 U5 via network kickstart on Dell Inspiron 510m
2. Click Exit at end of install to reboot
  

Actual Results:  kudzu segfaults during boot

Expected Results:  kudzu should detect hardware and boot should continue

Additional info:

Comment 1 Bill Nottingham 2005-06-08 16:21:58 UTC
Can you attach a strace?

Comment 2 Mike Leech 2005-06-09 09:10:18 UTC
Created attachment 115254 [details]
strace output from kudzu

Comment 3 Bill Nottingham 2005-06-09 14:49:58 UTC
Can you attach your modules.usbmap?

Comment 4 Mike Leech 2005-06-09 16:10:24 UTC
Created attachment 115266 [details]
/lib/modules/2.4.21-32.EL/modules.usbmap

Comment 5 Bill Nottingham 2005-06-09 17:52:13 UTC
Hm, it's not segfaulting with that for me when I test it on a U5-ish box with that.

If you install
http://people.redhat.com/notting/kudzu/kudzu-debuginfo-1.1.22.11-1.i386.rpm

and run kudzu under gdb, what's the backtrace?



Comment 6 Bill Nottingham 2005-06-09 18:06:17 UTC
Wait, according to your strace, modules.pcimap/modules.usbmap is empty, not what
you attached.

That's what's causing the segfault.


Comment 9 Mike Leech 2005-06-10 15:10:40 UTC
(In reply to comment #6)
> Wait, according to your strace, modules.pcimap/modules.usbmap is empty, not what
> you attached.
> 
> That's what's causing the segfault.

Your not wrong! On the laptop the strace came from all the
/lib/modules/2.4.21-32.EL/*.* files are zero size! I'm a bit embarrassed to say
that I sent you the /lib/modules/2.4.21-32.EL/modules.usbmap file from a
different laptop. However, the two lappies were installed identically and this
one also segfaults, but this time its on reading
/lib/modules/2.4.21-32.EL/modules.isapnpmap which is zero size!

I can send you the backtrace if you like, but it only confirms that the file is
zero size. It's also a bit of a pain getting files on and off the machine as I
have to boot with knoppix.

Any ideas why these files might get wiped? I'll reinstall the machine and see if
they're zero size on install or modified later. I might also install from cdrom
instead of a kickstarted network install, but I don't think I'm doing anything
stupid (famous last words).


Comment 10 Bill Nottingham 2005-06-10 19:01:49 UTC
Perhaps it ran out of space when depmod ran? depmod is what writes the files.

Comment 11 Mike Leech 2005-06-13 08:36:39 UTC
Ah, I can run depmode -a and these files are indeed created. Kudzu now runs
without segfaulting and I can use most of the hardware.

There's plenty of space on the drive so why are the files initialy created
empty? I'll dig a bit more.

Comment 15 Bill Nottingham 2005-07-13 01:51:22 UTC
Fixed in 1.1.95.13-1/1.1.22.13-1.

Comment 18 Red Hat Bugzilla 2005-09-28 18:24:15 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2005-666.html


Comment 19 Red Hat Bugzilla 2005-10-05 16:57:35 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2005-667.html