Re: [Cooker] 8.2 ; segmentation fault in rc.modules

2002-03-19 Thread Luc Roseberry

It was fixed in 8.2rc1 but it is back.
Here's the content of /etc/rc.d/rc.modules (I added #SEG FAULT# to the
line causing the segmentation fault):
#!/bin/sh
# (c) MandrakeSoft, Chmouel Boudjnah [EMAIL PROTECTED]
# $Id: rc.modules,v 1.1.1.1 2000/07/30 05:07:38 chmouel Exp $
# description: launch modules specified in /etc/modules inspired by a
# Debian idea.

[ -f /etc/modules ] || exit 0

# Loop over every line in /etc/modules.
(cat /etc/modules; echo) | while read module args
do
  case $module in
  \#*|) continue ;;
  esac
  initlog -s Loading module: $module
  modprobe $module $args /dev/null 21  #SEG FAULT#
done

and of /etc/modules:
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line.  Comments begin with
# a `#', and everything on the line after them are ignored.

scsi_hostadapter

As you see nothing related to probeall my_scsi_adapter my_scsi_adapter

Luc

Le mar 19/03/2002 à 08:39, Frederic Crozat a écrit :
 On Tue, 19 Mar 2002 14:33:54 +0100, Luc Roseberry wrote:
 
  After upgrading from 8.2rc1 to 8.2 I have an error message at boot time.
   Line 17 of /etc/rc.d/rc.modules is causing a segmentation fault.
 
 It has been fixed in final but since you upgrade, it didn't fixed the
 problem on your system.
 
 There is probably the following lines
 probeall scsi_adapter my_scsi_adapter
 probeall my_scsi_adapter my_scsi_adapter
 
 Remove the second line and modprobe will no longer core dump..
 
 -- 
 Frédéric Crozat
 MandrakeSoft
 
-- 
Luc Roseberry
Consultant Tivoli certifié / Certified Tivoli Consultant
Facilité Informatique Canada 





Re: [Cooker] 8.2 ; segmentation fault in rc.modules

2002-03-19 Thread Luc Roseberry

Thanks.
Luc

Le mar 19/03/2002 à 10:44, Frederic Crozat a écrit :
 On Tue, 19 Mar 2002 16:31:20 +0100, Luc Roseberry wrote:
 
  Should have had a look at /etc/modules.conf (instead of trying to
  install a Domino server on that server). Here's the file: alias
  usb-interface usb-uhci
  alias sound-slot-0 emu10k1
  probeall scsi_hostadapter aic7xxx ide-scsi 
  alias eth0 via-rhine 
  probeall aic7xxx aic7xxx ide-scsi
 
 
 Remove the probeall aic7xxx aic7xxx ide-scsi line, this will fix the
 problem..
 
 -- 
 Frédéric Crozat
 MandrakeSoft
 
-- 
Luc Roseberry
Consultant Tivoli certifié / Certified Tivoli Consultant
Facilité Informatique Canada 





Re: [Cooker] 8.2 ; segmentation fault in rc.modules

2002-03-19 Thread Frederic Crozat

On Tue, 19 Mar 2002 16:31:20 +0100, Luc Roseberry wrote:

 Should have had a look at /etc/modules.conf (instead of trying to
 install a Domino server on that server). Here's the file: alias
 usb-interface usb-uhci
 alias sound-slot-0 emu10k1
 probeall scsi_hostadapter aic7xxx ide-scsi 
 alias eth0 via-rhine 
 probeall aic7xxx aic7xxx ide-scsi


Remove the probeall aic7xxx aic7xxx ide-scsi line, this will fix the
problem..

-- 
Frédéric Crozat
MandrakeSoft




Re: [Cooker] 8.2 ; segmentation fault in rc.modules

2002-03-19 Thread Luc Roseberry

Should have had a look at /etc/modules.conf (instead of trying to
install a Domino server on that server). Here's the file:
alias usb-interface usb-uhci
alias sound-slot-0 emu10k1
probeall scsi_hostadapter aic7xxx ide-scsi
alias eth0 via-rhine
probeall aic7xxx aic7xxx ide-scsi

Thanks,
Luc

Le mar 19/03/2002 à 09:23, Frederic Crozat a écrit :
 
 Give us your /etc/modules.conf ..
 -- 
 Frédéric Crozat
 MandrakeSoft
 
-- 
Luc Roseberry
Consultant Tivoli certifié / Certified Tivoli Consultant
Facilité Informatique Canada