LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 03-18-2006, 11:06 PM   #16
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 55

Make sure you save a copy of xorg.conf now that you have it configured correctly! Or next time you make a change you might have to learn this all over!

For the USB drive try this (as root):

mkdir /mnt/sda1 # if you don't already have a directory you want to use
mount /dev/sda1 /mnt/sda1
 
Old 03-19-2006, 12:43 AM   #17
.nu
Member
 
Registered: Mar 2006
Distribution: Slackware 10.2
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Randux
Make sure you save a copy of xorg.conf now that you have it configured correctly! Or next time you make a change you might have to learn this all over!

For the USB drive try this (as root):

mkdir /mnt/sda1 # if you don't already have a directory you want to use
mount /dev/sda1 /mnt/sda1
Alright, i will save.

does sda1 refer to usb drives? My linux partition, ex2, is sd6.

Anywyas, i opened fstab and took the noauto in the cd rom drive.

then i did mount -a

then i checked with 'mount' and got this:

/dev/sd6 on / type ext2 (rw)
proc on /proc type proc (rw)
devpts on /devpts type devpts (rw, gid=5, mode=620)
usbfs on proc/bus/usb type usbfs(rw)

I see the USB there, but when i plug my thumb drive, it doesn't work.
Also, i saw that the cdrom isnt mounted, but why didnt it mount with mount -a?
i check mnt/cdrom and it's empty

Last edited by .nu; 03-19-2006 at 01:27 AM.
 
Old 03-23-2006, 04:11 AM   #18
-=Graz=-
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358

Rep: Reputation: 31
Quote:
Originally Posted by .nu
Alright, i will save.
does sda1 refer to usb drives? My linux partition, ex2, is sd6.
/dev/sd6 on / type ext2 (rw)
proc on /proc type proc (rw)
devpts on /devpts type devpts (rw, gid=5, mode=620)
usbfs on proc/bus/usb type usbfs(rw)
SO you have SCSI hard Drives in your PC .nu? you must i guess? ..
My partitions show as /dev/hda instead of /dev/sdx

I have enabled in my kernel 'SCSI Support' and also 'USB Mass Storage' which i beleive required the generic SCSI support.
OKay so the idea is you mount a file system to a location. So make sure you have somewhere to mount it (i,e, /mnt/usb)
Now we need to see where you USB drive deteced and assigned. When i plug mine it it seems to create sda and sda1 and sg0 (for generic scsi).
Do you have hotplug enabled when your pc boots?
Plug your USB Key into the port and then type this in a console window: tail -s 3 -f /var/log/messages
you should see a device node created which will be your key. could be sda sda1 sdb1 etc...
now type in console: mount /dev/sd(whatever it lists above) /mnt/usb
** make sure you have a location called /mnt/usb first
when i type tail -s 3 -f /var/log/messages i see:

root@Slack700m:~# tail -s 3 -f /var/log/messages
Mar 23 19:43:18 Slack700m kernel: SCSI device sda: 1014784 512-byte hdwr sectors (520 MB)
Mar 23 19:43:18 Slack700m kernel: sda: Write Protect is off
Mar 23 19:43:18 Slack700m kernel: sda: sda1
Mar 23 19:43:18 Slack700m kernel: sd 2:0:0:0: Attached scsi removable disk sda
Mar 23 19:43:18 Slack700m kernel: sd 2:0:0:0: Attached scsi generic sg0 type 0
Mar 23 19:43:18 Slack700m udev[5554]: creating device node '/dev/sda'
Mar 23 19:43:18 Slack700m udev[5556]: configured rule in '/etc/udev/rules.d/udev.rules' at line 24 applied, 'sg0' becomes '%k'
Mar 23 19:43:18 Slack700m udev[5556]: creating device node '/dev/sg0'
Mar 23 19:43:18 Slack700m udev[5557]: creating device node '/dev/sda1'
Mar 23 19:55:28 Slack700m -- MARK --

You will not be able to see your drive in KDE untill you sucessfully mount it. Once you have done so, all you need to do is go into the same place you can see your hard drive and click 'devices' on the left hand side. you will see your USB key. drag it onto the desktop and 'create link'
 
Old 03-23-2006, 04:16 AM   #19
-=Graz=-
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358

Rep: Reputation: 31
Post the output of: tail -s 3 -f /var/log/messages - please

Did you compile your kernel yourself or is it stock? I beleive USB Mass storage support must be enabled for the key to work?
 
Old 03-24-2006, 08:45 AM   #20
.nu
Member
 
Registered: Mar 2006
Distribution: Slackware 10.2
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by -=Graz=-
Post the output of: tail -s 3 -f /var/log/messages - please

Did you compile your kernel yourself or is it stock? I beleive USB Mass storage support must be enabled for the key to work?
it's stock. I downloaded 10.2 and just installed with sata.i kernel.


output of: tail -s 3 -f /var/log/messages:


Mar 23 17:14 darskrar kernel: pci_hotplug: PCI Hot Plug PCI Core Version: 0.5
Mar 23 17:14 darskrar kernel: pcihelp: PCI Express Hot Plug Controller Driver Version 0.5

Mar 23 17:14 darskrar kernel: usb.c: registered new driver usbdevfs
Mar 23 17:14 darskrar kernel: usb.c: registered new driver hub
Mar 23 17:14 darskrar kernel: uhci.c: USB Universal Host Controller Interf driver v1.1

Mar 23 17:14 darskrar kernel: usb-uhci.c: $revision: 1.275 $ time 18:53:41n 5 2005
Mar 23 17:14 darskrar kernel: usb-uhci.c High Bandwidth mode enabled
Mar 23 17:14 darskrar kernel: usb-uhci.c: v1.275:USB Universal Host Controller Interface Driver
Mar 23 17:14 darskrar logger: /etc/rc.d/rc.hotplug start (exiting script)
Mar 23 17:14 darskrar sshd[3830]: Server listening on 0.0.0.0 port 22

USB must be enabled if my keyboard and mouse is working. (these are the USB in the back of the pc, i was plugging the jumpdrive in the front)

thanks

Last edited by .nu; 03-24-2006 at 08:49 AM.
 
Old 03-26-2006, 01:03 PM   #21
dr.jupiter
LQ Newbie
 
Registered: Mar 2005
Location: Herakleion,Greece
Distribution: slack 10.2, zenwalk
Posts: 15

Rep: Reputation: 0
apart from usb storage u also need to insmod usbcore.
when u do that, replug the usb stick and then do dmesg | more as root
and see at which device the stick is attached.
From that point u can mount the specified device on the folder u prefer...

Last edited by dr.jupiter; 03-26-2006 at 01:04 PM.
 
Old 03-28-2006, 04:36 PM   #22
.nu
Member
 
Registered: Mar 2006
Distribution: Slackware 10.2
Posts: 60

Original Poster
Rep: Reputation: 15
It says usbcore is already running. and when i do dmesg | more, so much stuff shows up.

Mainly messages like
no IRQ found for device... (something of this sort)
 
Old 03-28-2006, 05:45 PM   #23
dr.jupiter
LQ Newbie
 
Registered: Mar 2005
Location: Herakleion,Greece
Distribution: slack 10.2, zenwalk
Posts: 15

Rep: Reputation: 0
if u have usb-storage,usb-core and hid modules loaded, the drive should work...
when u replug the drive run dmesg | more and read patiently the output...
there u will find the name of the device on which it is attached...
for me it is /dev/sdb1 for example...

Besides u won't manage to use linux without reading and patience...
 
  


Reply



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
USB mouse not working on the ARM board. manjunathk Linux - Hardware 1 07-12-2005 05:06 PM
YUM finds 4 updates while up2date finds 29? guest Linux - Newbie 3 03-15-2005 09:01 PM
slackware 9.1 USB mouse and other usb devices not working jimMC Linux - Hardware 11 01-24-2004 10:58 AM
Gaim 0.71: pkg-config finds 2.2.3, ./configure finds 2.2.1 GreenPenInc Linux - Software 3 10-23-2003 08:00 PM
There's 2 partitions on HDA, but slackware only finds 1 of them. Seph64 Slackware 4 05-01-2003 03:50 PM

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

All times are GMT -5. The time now is 03:31 PM.

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
Open Source Consulting | Domain Registration