segmentation fault when mount cddroms
Linux: Xandros 1.0 (Debian based)
Because my aha152x is not automaticly detected,
I had to add to /etc/modutils/1devfsd the following:
# All CD-ROMs
alias scsi_hostadapter aha152x
options aha152x aha152x=0x140,10,7
probeall /dev/cdroms scsi_hostadapter sr_mod ide-probe-mod ide-cd cdrom
alias /dev/cdroms/* /dev/cdroms
alias /dev/cdrom /dev/cdroms
Ran "update-modules" and rebooted.
After rebooting i see that the aha152x driver is loaded and the 2 scsi cdroms are available
( part of my dmesg )
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
aha152x: BIOS test: passed, detected 1 controller(s)
aha152x: resetting bus...
aha152x1: vital data: rev=1, io=0x140 (0x140/0x140), irq=10, scsiid=7, reconnect=enabled, parity=enabled, synchronous=disabled, delay=1000, extended translation=disabled
aha152x1: trying software interrupt, ok.
scsi1 : Adaptec 152x SCSI driver; $Revision: 2.5 $
Vendor: PIONEER Model: CD-ROM DR-U32X Rev: 1.00
Type: CD-ROM ANSI SCSI revision: 02
Vendor: PHILIPS Model: CDD3600 CD-R/RW Rev: 2.00
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi1, channel 0, id 0, lun 0
Attached scsi CD-ROM sr1 at scsi1, channel 0, id 4, lun 0
sr0: scsi3-mmc drive: 32x/32x cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
sr1: scsi3-mmc drive: 2x/6x writer cd/rw xa/form2 cdda tray
But when i place a cdrom in the tray and the automounter start, i just get a segmentation fault. Manualy mounting mount /dev/cdroms/cdrom0 /mnt/cdrom gives also a segmentation fault.
What can be causing this? Where can i start to debug this problem and find a solution.