LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-02-2012, 04:28 AM   #1
rasidrasid
Member
 
Registered: Jan 2012
Posts: 96

Rep: Reputation: Disabled
Where are my devices?


Hello,

I installed Debian sarge via debootstrap on an old pc (on a stick). I canít find my devices sd* in /dev. When I type mount, then I get /dev/sda1 but where are this sda1? I canít find it in dev. Everytime when I put a second stick on it, I can see sdb1 and sdc1 but where are these sd*? I cant find there anywhere?

Regards


Code:
dmesg
Linux version 2.4.31-wyse (root@phaser) (gcc version 3.3.6 (Debian 
1:3.3.6-7)) #24 Fri Nov 18 23:02:28 CET 2005
BIOS-provided physical RAM map:
  BIOS-e801: 0000000000000000 - 000000000009f000 (usable)
  BIOS-e801: 0000000000100000 - 0000000001c00000 (usable)
28MB LOWMEM available.
On node 0 totalpages: 7168
zone(0): 4096 pages.
zone(1): 3072 pages.
zone(2): 0 pages.
DMI not present.
Kernel command line:  root=/dev/sda1 lang=us quiet tz=Europe/Amsterdam 
video=nscfb:vmode:1024x768-16,vfreq:75 splash=silent reboot=bios
bootsplash: silent mode.
Initializing CPU#0
Working around Cyrix MediaGX virtual DMA bugs.
Detected 300.684 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 470.22 BogoMIPS
Memory: 25160k/28672k available (1863k kernel code, 3124k reserved, 555k 
data, 96k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Working around Cyrix MediaGX virtual DMA bugs.
CPU:     After generic, caps: 00808131 00818131 00000000 00000001
CPU:             Common caps: 00808131 00818131 00000000 00000001
CPU: NSC Geode(TM) Integrated Processor by National Semi stepping 01
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Fixup for MediaGX/Geode Slave Disconnect Boundary (0x41=0x9c)
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Journalled Block Device driver loaded
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
National Geode FrameBuffer Driver Version 2.7.7
Geode Processor Detected (Type = 1,Version = 8.1)
Looking for splash picture... no good signature found.
Console: switching to colour frame buffer device 128x48
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ 
SERIAL_PCI enabled
Real Time Clock Driver v1.10f
Non-volatile memory driver v1.2
scx200: NatSemi SCx200 Driver
sc1200wdt: build 20020303<7>scx200_wdt: NatSemi SCx200 Watchdog Driver
keyboard: Timeout - AT keyboard not present?(ed)
keyboard: Timeout - AT keyboard not present?(f4)
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
ThunderLAN driver v1.15
TLAN: 0 devices installed, PCI: 0  EISA: 0
natsemi dp8381x driver, version 1.07+LK1.0.17, Sep 27, 2002
   originally by Donald Becker <becker@scyld.com>
   http://www.scyld.com/network/natsemi.html
   2.4.x kernel port by Jeff Garzik, Tjeerd Mulder
PCI: Setting latency timer of device 00:0f.0 to 64
eth0: NatSemi DP8381[56] at 0xc2a94000, 00:80:64:12:d3:2e, IRQ 10.
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
CS5530: IDE controller at PCI slot 00:12.2
CS5530: chipset revision 0
CS5530: not 100% native mode: will probe irqs later
PCI: Setting latency timer of device 00:12.0 to 64
     ide0: BM-DMA at 0xfb00-0xfb07, BIOS settings: hda:pio, hdb:pio
     ide1: BM-DMA at 0xfb08-0xfb0f, BIOS settings: hdc:pio, hdd:pio
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Setting latency timer of device 00:13.0 to 64
host/usb-ohci.c: USB OHCI at membase 0xc00cc000, IRQ 6
host/usb-ohci.c: usb-00:13.0, Compaq Computer Corporation ZFMicro 
Chipset USB
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
Initializing Cryptographic API
IPv6 v0.8 for NET4.0
IPv6 over IPv4 tunneling driver
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 1k freed
VFS: Mounted root (ext2 filesystem).
hub.c: new USB device 00:13.0-1, assigned address 2
scsi0 : SCSI emulation for USB Mass Storage devices
   Vendor: USB2.0    Model: Flash disk        Rev: 2.10
   Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 1988608 512-byte hdwr sectors (1018 MB)
sda: Write Protect is off
Partition check:
  sda: sda1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
VFS: Mounted root (ext2 filesystem).
Trying to move old root to /initrd ... okay
Freeing unused kernel memory: 96k freed
hub.c: new USB device 00:13.0-2, assigned address 3
scsi1 : SCSI emulation for USB Mass Storage devices
   Vendor:           Model:                   Rev: 8.07
   Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sdb at scsi1, channel 0, id 0, lun 0
SCSI device sdb: 15175680 512-byte hdwr sectors (7770 MB)
sdb: Write Protect is off
  sdb: sdb1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
Adding Swap: 131064k swap-space (priority -1)
eth0: link up.
eth0: Setting full-duplex based on negotiated link capability.
eth0: no IPv6 routers present
usb.c: USB disconnect on device 00:13.0-2 address 3
hub.c: new USB device 00:13.0-2, assigned address 4
scsi2 : SCSI emulation for USB Mass Storage devices
   Vendor: USB 2.0   Model: Flash Drive       Rev: 0.00
   Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sdc at scsi2, channel 0, id 0, lun 0
SCSI device sdc: 3938824 512-byte hdwr sectors (2017 MB)
sdc: Write Protect is off
  sdc: sdc1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 4
 
Old 08-02-2012, 06:16 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,360

Rep: Reputation: 2983Reputation: 2983Reputation: 2983Reputation: 2983Reputation: 2983Reputation: 2983Reputation: 2983Reputation: 2983Reputation: 2983Reputation: 2983Reputation: 2983
What type of devices do you have in /dev/?

I don't think you get much from dmesg other than what you know must have happened.

"scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: USB2.0 Model: Flash disk Rev: 2.10
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 1988608 512-byte hdwr sectors (1018 MB)
sda: Write Protect is off"

You know all happened since it booted.
 
Old 08-03-2012, 09:20 AM   #3
rasidrasid
Member
 
Registered: Jan 2012
Posts: 96

Original Poster
Rep: Reputation: Disabled
Unhappy

Hello jefro,

but where are and what is sdb and sdc? I can't found scsi0, scsi1..... even too. I my opinion, the linux is mounting it internally but how and where, how can I find it?

Code:
/dev# la
.        audioctl  full     loop4   midi02  mixer3      ram    ram15  ram8       shm      stdout  tty6
..       console   initctl  loop5   midi03  mpu401data  ram0   ram16  ram9       smpte0   tty     urandom
MAKEDEV  core      kmem     loop6   midi1   mpu401stat  ram1   ram2   random     smpte1   tty0    xconsole
agpgart  dsp       log      loop7   midi2   null        ram10  ram3   rmidi0     smpte2   tty1    zero
audio    dsp1      loop0    mem     midi3   port        ram11  ram4   rmidi1     smpte3   tty2
audio1   dsp2      loop1    midi0   mixer   ppp         ram12  ram5   rmidi2     sndstat  tty3
audio2   dsp3      loop2    midi00  mixer1  ptmx        ram13  ram6   rmidi3     stderr   tty4
audio3   fd        loop3    midi01  mixer2  pts         ram14  ram7   sequencer  stdin    tty5


/initrd/dev# la
.        core  loop0  loop3  loop6  null  ram0    sda    sda11  sda14  sda3  sda6  sda9  tty1
..       full  loop1  loop4  loop7  port  ram1    sda1   sda12  sda15  sda4  sda7  tty   urandom
console  kmem  loop2  loop5  mem    ram   random  sda10  sda13  sda2   sda5  sda8  tty0  zero
I can't see it

Kind regards
Rasid
 
Old 08-03-2012, 10:51 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,630
Blog Entries: 26

Rep: Reputation: 4575Reputation: 4575Reputation: 4575Reputation: 4575Reputation: 4575Reputation: 4575Reputation: 4575Reputation: 4575Reputation: 4575Reputation: 4575Reputation: 4575
Try running cat /etc/mtab. That will display the list of drives mounted in your mtab file (mount table).

You might also try cat /etc/fstab, which will display your fstab file (file system table).

Here's a good article how Linux handles drives and mounts: http://www.tuxfiles.org/linuxhelp/fstab.html
 
Old 08-04-2012, 04:22 AM   #5
rasidrasid
Member
 
Registered: Jan 2012
Posts: 96

Original Poster
Rep: Reputation: Disabled
Hello,

thank you. I did MAKEDEV generic and this generate all the devices. Now I can mount the further devices as sdb.....

Thank you for your help.

Regards
 
  


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
SW RAID - Raid devices larger than Total Devices tkrin Linux - Server 2 12-10-2010 12:01 PM
mdadm shrinking RAID5 array from 6 devices to 5 devices Qwerty9119 Linux - Software 4 02-16-2010 06:48 PM
system calls to devices?Talking to devices. kiruxa Linux - Hardware 6 12-09-2006 06:46 PM
what is the different btw raw devices and block devices yenonn Linux - General 2 02-10-2006 10:34 PM
Devices Sophic Linux - General 0 03-31-2004 10:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:33 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