You are not logged in.
Pages: 1
I have a USB card reader/writer by Digital Concepts and is not being detected. Regular usb flash drives though works every time I plug them in. Using 3.0 stable version
I know it is not broken coz every time I plug it in on my other computer that is running Linux Mint XFCE, it works just fine.
Any help will be appreciated. Thanks in advance.
check if this is your case:
http://vanilla.slitaz.org/index.php?p=/discussion/comment/12245#Comment_12245
Offline
Thanks ernia! The topic on the link you gave me is the solution to my problem. Unfortunately, I am not an experienced guy when it comes to building kernel. For now, I guess, I will have to keep changing the MAX_LUNs to 8 or until I figure it out how to make and where to put the script so it is automatically executed every time I boot the pc.
The lib.mmc was missing too so I had to install that.
the place you are looking for is
/etc/init.d/local.sh
which get executed at every boot.
please, may you share how you dinamically change MAX_LUNs to 8?
i would like to be able to do that.
Offline
The file that I edit is the /sys/module/scsi_mod/parameters/max_luns... I execute this command on terminal: "echo 8 > /sys/module/scsi_mod/parameters/max_luns", plug in my card reader/writer and it works. Or you can simply open the file as a root and change 1 to 8 and save.
Also found this link:
http://www.cs.sfu.ca/~ggbaker/personal/cf-linux
Here, they claimed that all I have to do is edit my "/etc/modules.conf" and add this line "options scsi_mod max_scsi_luns=8" then everything should work. SliTaz doesn't have this file so I created it and tried rebooting the system but was a failure. Didn't work. Any clue?
thanks for your answer, did not think about /sys/module...
you could boot adding the
scsi_mod.max_luns=8
to your boot parameters in grub, or put
"echo 8 > /sys/module/scsi_mod/parameters/max_luns"
in /etc/init.d/local.sh
Offline
Okay. I tried adding the line in "/etc/init.d/local.sh". It changed the MAX_LUN to 8 but I still have to unplug and plug the reader/writer back in for the media to be read.
I also tried building a kernel with the help from this site: http://doc.slitaz.org/en:guides:kernel
This is what I did:
* made sure the /usr/src/linux/.config file has CONFIG_SCSI_MULTI_LUN=y set. (Line No: 1115)
* file /usr/src/linux/drivers/scsi/Kconfig has "default y" (Line Nos: 197-208)
* When I executed "make menuconfig", made sure I selected "Probe all SCSI....",EHCI, OHCI, UHCI
* copied arch/x86/boot/baImage to /boot
Am I missing something? Should I copy something else besides bzImage?
i'm not in 3.0 but bzimage should be copied in /boot with the same name that the bootloader uses (e.g. vmlinuz-2.6.37-slitaz for cooking release)
are you sure that you are using the brand new kernel?
Offline
I copied bzImage as vmlinuz-2.6.30.6-slitaz to /boot and still did not work. I am totally lost here.
I see CONFIG_SCSI_WAIT_SCAN=m but don't see that when running "make menuconfig". What is this?
Also, after running "make menuconfig" I check my .config file and it shows "CONFIG_SCSI_MULTI_LUN=y".
But my zcat /proc/config.gz | grep CONFIG_SCSI_MULTI_LUN still says IT IS NOT SET...
Pages: 1
[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]