LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-05-2005, 12:17 AM   #1
banj0
LQ Newbie
 
Registered: Aug 2004
Posts: 14

Rep: Reputation: 0
precompiled kernel choice for scsi support(solved)


Will one of the precompiled kernel choices on the Slack 10.1 install CD provide SCSI support enabling me to mount a USB multi card reader with out having to recompile after installing?If so which one?

I installed Slack 10.1 for the first time and everything worked perfectly. Sound, USB printer, Matrox video, dual boot, etc. all worked.

Except my USB multi card reader was not recognized. So following instructions from a post on this forum I recompiled my kernel to enable SCSI/USB. I managed to break a lot of stuff that didn't need breaking and fixed nothing.

Sooo... I am wondering if I use one of those precompiled babies on a fresh install can I then just mount the card reader?

I have an intel IDE system but also have an adaptec scsi card for my film scanner.

thanks in advance

Last edited by banj0; 09-05-2005 at 04:36 AM.
 
Old 09-05-2005, 12:51 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Fedora, Gentoo, Ubuntu (all servers at work are openSUSE)
Posts: 6,931

Rep: Reputation: 128Reputation: 128
The default kernel should work fine for the USB card reader.
Please boot your computer, then open a terminal. Next insert
the card reader, then in the terminal issue "dmesg | tail" and
post the output here. You might also want to post the output
of "dmesg | grep -i usb" and all information about the card
reader, such as manufacturer and model. And the output of
"/sbin/lspci" would be helpful, also.

For the Adaptec SCSI card you might need the adaptec.s kernel
that's available when you install. From CD1, Slackware-HOWTO:
Quote:
mingdao@titus:~$ less /home/mingdao/HOWTOs/Slackware-HOWTO
<snip>
adaptec.s This kernel supports most Adaptec SCSI controllers,
including these models:
AHA-1510, AHA-1520, AHA-1522, AHA-1522, AHA-1740,
and AHA-2825. The AIC7xxx models, which include the
274x EISA cards; 284x VLB cards; 2902, 2910, 293x,
294x, 394x, 3985 and several other PCI and motherboard
based SCSI controllers from Adaptec.
Adaptec's I2O based RAID controllers (including OEM
Adaptec RAID controllers used by HP and Dell,
Adaptec branded AAC964/5400 RAID controllers,
and DPT SmartRaid V cards)
<snip>
Insert the first CD and you can read the file Slackware-HOWTO in
it's entirety. Loads of good information there.
 
Old 09-05-2005, 03:26 AM   #3
banj0
LQ Newbie
 
Registered: Aug 2004
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks for the reply Chinaman,

I reinstalled using the adaptec.s kernel and here are outputs;

root@tux:~# dmesg
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi3 : SCSI emulation for USB Mass Storage devices
Vendor: Generic Model: STORAGE DEVICE Rev: 0128
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi3, channel 0, id 0, lun 0
sda: Unit Not Ready, sense:
Current 00:00: sns = 70 2
ASC=3a ASCQ= 0
Raw sense data:0x70 0x00 0x02 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x3a 0x00 0x00 0x00 0x00 0x00
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Current sd00:00: sns = 70 2
ASC=3a ASCQ= 0
Raw sense data:0x70 0x00 0x02 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x3a 0x00 0x00 0x00 0x00 0x00
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
USB Mass Storage support registered.

root@tux:~# dmesg | tail
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP]
parport0: irq 7 detected
lp0: using parport0 (polling).

root@tux:~# dmesg | grep -i usb
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
uhci.c: USB Universal Host Controller Interface driver v1.1
uhci.c: USB UHCI at I/O 0xd400, IRQ 9
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: new USB device 00:04.2-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x4a9/0x1094) is not claimed by any active driver.
hub.c: new USB device 00:04.2-2, assigned address 3
usb.c: USB device 3 (vend/prod 0x5e3/0x760) is not claimed by any active driver.
usb.c: registered new driver usblp
printer.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04A9 pid 0x1094
printer.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi3 : SCSI emulation for USB Mass Storage devices
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
USB Mass Storage support registered.

root@tux:~# /sbin/lspci
00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 02)
00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 02)
00:04.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
00:04.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
00:04.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
00:04.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:09.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
00:0a.0 SCSI storage controller: Adaptec AHA-7850 (rev 03)
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 82)


The card reader is as generic as they get, both reader and driver cd show only this;
USB Multi-Card Reader/Writer USB 2.0

(edited to add)
I attached my scanner and got this output;

root@tux:~# cat /proc/scsi/scsi
Attached devices:
Host: scsi1 Channel: 00 Id: 02 Lun: 00
Vendor: Nikon Model: LS-2000 Rev: 1.31
Type: Scanner ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 00
Vendor: Generic Model: STORAGE DEVICE Rev: 0128
Type: Direct-Access ANSI SCSI revision: 02

Last edited by banj0; 09-05-2005 at 03:52 AM.
 
Old 09-05-2005, 04:35 AM   #4
banj0
LQ Newbie
 
Registered: Aug 2004
Posts: 14

Original Poster
Rep: Reputation: 0
Hey it works!

Thanks again Chinaman,
for helping find the right kernel and I figured the rest out
 
Old 09-05-2005, 04:56 AM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Fedora, Gentoo, Ubuntu (all servers at work are openSUSE)
Posts: 6,931

Rep: Reputation: 128Reputation: 128
You're welcome. Don't think you'll need it with that scanner,
but you might want to setup the card reader so that you can
mount and read/write to it as a normal user. From this box:
Code:
mingdao@titus:~$ cat /etc/fstab
/dev/sda1        /mnt/hd          vfat        noauto,users,rw,umask=1000  0  0
I changed the default settings so users can mount and also
read/write whatever USB devices I plug in. This works for my
camera, USB flash disks, etc.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slack 10.1 kernel(2.4.29) rebuild with SMP and SCSI support amphiBian Slackware 8 02-28-2005 11:25 PM
do i need a kernel with scsi support to get a ide cd-rw working? Necronomicom Linux - Newbie 4 08-19-2004 07:02 AM
Do I need a new Kernel - SCSI support? the_rydster Slackware 5 02-24-2004 02:44 PM
HowDo I replace my existing kernel with a precompiled distro kernel ? gmartin Slackware 1 01-06-2004 10:46 PM
Recompiling kernel for IDE-SCSI support jspaceman Slackware 4 10-03-2003 07:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration