A little trouble with scsi, and /proc.

Brent M. Smith smitten en nextreality.net
Jue Ene 27 16:34:38 CST 2000


I thought this was cool.

[root en smitten]:/proc# ls
1/    201/  56/   79/  bus/         kcore       scsi/  scsi/  scsi/  self@
132/  202/  58/   83/  cmdline      kmsg        scsi/  scsi/  scsi/
slabinfo
133/  238/  582/  88/  cpuinfo      ksyms       scsi/  scsi/  scsi/  sound
134/  239/  583/  89/  devices      loadavg     scsi/  scsi/  scsi/  stat
141/  3/    584/  90/  dma          locks       scsi/  scsi/  scsi/  swaps
147/  4/    585/  91/  driver/      meminfo     scsi/  scsi/  scsi/  sys/
155/  410/  598/  92/  execdomains  misc        scsi/  scsi/  scsi/
sysvipc/
156/  411/  60/   93/  fb           modules     scsi/  scsi/  scsi/  tty/
157/  412/  62/   94/  filesystems  mounts      scsi/  scsi/  scsi/
uptime
161/  415/  64/   95/  fs/          mtrr        scsi/  scsi/  scsi/
version
162/  427/  649/  96/  ide/         net/        scsi/  scsi/  scsi/
197/  49/   67/   97/  interrupts   partitions  scsi/  scsi/  scsi/
2/    5/    69/   98/  iomem        pci         scsi/  scsi/  scsi/
200/  53/   71/   apm  ioports      scsi/       scsi/  scsi/  scsi/
[root en smitten]:/proc# 

I've been trying to get my scsi host adapter emulation to work for my
cdrom writer in 2.3.41-3.... everytime I modprobe ide-scsi i'm getting:

[root en smitten]:/proc# modprobe ide-scsi
/lib/modules/2.3.41/scsi/scsi_mod.o: init_module: Device or resource busy
/lib/modules/2.3.41/scsi/scsi_mod.o: insmod
/lib/modules/2.3.41/scsi/scsi_mod.o failed
/lib/modules/2.3.41/scsi/scsi_mod.o: insmod ide-scsi failed

And one more entry appears in the proc filesystem...

additionally,

[root en smitten]:/proc# cd scsi/
[root en smitten]:/proc/scsi# cat scsi
Segmentation fault
[root en smitten]:/proc/scsi# 

I have absolutely no idea what's going on... I don't see how there could
be any conflicts with the drive...

Here's the .config, trimmed by grep.
====================================

CONFIG_X86=y
CONFIG_ISA=y
CONFIG_UID16=y
CONFIG_EXPERIMENTAL=y
CONFIG_M586TSC=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_TSC=y
CONFIG_NOHIGHMEM=y
CONFIG_MTRR=y
CONFIG_MODULES=y
CONFIG_KMOD=y
CONFIG_NET=y
CONFIG_PCI=y
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_NAMES=y
CONFIG_SYSVIPC=y
CONFIG_SYSCTL=y
CONFIG_KCORE_ELF=y
CONFIG_BINFMT_ELF=y
CONFIG_PARPORT=y
CONFIG_PARPORT_PC=y
CONFIG_PARPORT_PC_FIFO=y
CONFIG_PARPORT_1284=y
CONFIG_APM=y
CONFIG_BLK_DEV_FD=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_BLK_DEV_IDECD=m
CONFIG_BLK_DEV_IDESCSI=m
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_IDEDMA_PCI_EXPERIMENTAL=y
CONFIG_BLK_DEV_ALI15X3=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_IDEDMA_AUTO=y
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_IDE_MODES=y
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_SKB_LARGE=y
CONFIG_SCSI=m
CONFIG_BLK_DEV_SR=m
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=m
CONFIG_SCSI_CONSTANTS=y
CONFIG_NETDEVICES=y
CONFIG_DUMMY=m
CONFIG_NET_ETHERNET=y
CONFIG_NET_EISA=y
CONFIG_NE2K_PCI=y
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_SERIAL_CONSOLE=y
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
CONFIG_PRINTER=m
CONFIG_MOUSE=y
CONFIG_PSMOUSE=y
CONFIG_QUOTA=y
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_PROC_FS=y
CONFIG_DEVPTS_FS=y
CONFIG_EXT2_FS=y
CONFIG_UDF_FS=y
CONFIG_NFS_FS=y
CONFIG_NFSD=y
CONFIG_NFSD_V3=y
CONFIG_SUNRPC=y
CONFIG_LOCKD=y
CONFIG_MSDOS_PARTITION=y
CONFIG_NLS=y
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_ISO8859_1=y
CONFIG_VGA_CONSOLE=y
CONFIG_VIDEO_SELECT=y
CONFIG_FB=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_VIDEO_SELECT=y
CONFIG_FB_ATY128=y
CONFIG_FBCON_CFB8=y
CONFIG_FBCON_CFB16=y
CONFIG_FBCON_CFB24=y
CONFIG_FBCON_CFB32=y
CONFIG_FBCON_FONTS=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
CONFIG_FONT_SUN8x16=y
CONFIG_SOUND=y
CONFIG_SOUND_OSS=y
CONFIG_SOUND_DMAP=y
CONFIG_SOUND_SB=y
CONFIG_SB_BASE=220
CONFIG_SB_IRQ=5
CONFIG_SB_DMA=1
CONFIG_SB_DMA2=5
CONFIG_SB_MPU_BASE=330
CONFIG_SB_MPU_IRQ=-1
CONFIG_SOUND_YM3812=y
CONFIG_MAGIC_SYSRQ=y

-- 
    Brent M. Smith, <smitten en nextreality.net>
    http://www.nextreality.net/


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda