Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/dev/sda1 missing? [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
fr3sh
n00b
n00b


Joined: 25 Jul 2005
Posts: 55

PostPosted: Wed Nov 16, 2005 7:37 pm    Post subject: /dev/sda1 missing? [solved] Reply with quote

I have a Problem with my MP3 Player on my fresh installed gentoo.

First i tried to mount this device under Gnome and then with the mount command. All my tries failed.

After that i noticed that my /dev/sda1 device was not there.

Code:

ls -l /dev | grep sda

sda10
sda11
sda12
sda13
sda14
sda15
sda2
sda3
sda4
sda5
sda6
sda7
sda8
sda9


what happened ???


can somebody help me???


Last edited by fr3sh on Tue Nov 22, 2005 8:48 pm; edited 2 times in total
Back to top
View user's profile Send private message
rev138
l33t
l33t


Joined: 19 Jun 2003
Posts: 848
Location: Vermont, USA

PostPosted: Wed Nov 16, 2005 7:40 pm    Post subject: Reply with quote

Perhaps it's not sda1

Plug in your player and then check dmesg.
Back to top
View user's profile Send private message
fr3sh
n00b
n00b


Joined: 25 Jul 2005
Posts: 55

PostPosted: Wed Nov 16, 2005 7:45 pm    Post subject: Reply with quote

this are the last lines in dmesg:

Code:

usb 1-2: new high speed USB device using ehci_hcd and address 4
usb 1-2: configuration #1 chosen from 2 choices


???
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Nov 16, 2005 8:22 pm    Post subject: Reply with quote

Looks like you don't have scsi disk support, but the rest of the relevant dmesg would help to diagnose the problem.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
fr3sh
n00b
n00b


Joined: 25 Jul 2005
Posts: 55

PostPosted: Wed Nov 16, 2005 8:44 pm    Post subject: Reply with quote

the message before was:

Code:

SCSI subsystem initialized
usb 1-2: new high speed USB device using ehci_hcd and address 5
usb 1-2: configuration #1 chosen from 2 choices



it seems not to be the missing scsi support :-(
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Nov 16, 2005 9:05 pm    Post subject: Reply with quote

Well, can you paste the relevant part of your kernel config? It does have SCSI support, but I still don't see SCSI *disk* support.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
fr3sh
n00b
n00b


Joined: 25 Jul 2005
Posts: 55

PostPosted: Thu Nov 17, 2005 9:38 am    Post subject: Reply with quote

Im at work at the moment, but i watched my kernel-config and all required scsi things are compiled in my kernel, including the scsi disk support.

I think the problem is the missing sda1 device.

I tried to create it by my own with
Code:
mknod -m 660 /dev/sda1 b 8 1

and added this device manually to the "disk" group.

After this, the device was there, but did not work for me.

A also emerged a newer udev version from the portage tree... didnt work, too!


Just to say: my usb wlan-dongle works fine!
Back to top
View user's profile Send private message
zeekec
n00b
n00b


Joined: 24 Feb 2004
Posts: 56
Location: Athens, GA, USA

PostPosted: Thu Nov 17, 2005 2:38 pm    Post subject: Reply with quote

Silly question: :?: Do you have USB storage support enabled? :?:
_________________
Against stupidity the very gods
Themselves contend in vain.
-Johann Christoph Friedrich von Schiller (1801)
Back to top
View user's profile Send private message
fr3sh
n00b
n00b


Joined: 25 Jul 2005
Posts: 55

PostPosted: Fri Nov 18, 2005 9:55 am    Post subject: Reply with quote

Yep... it was enabled!

I solved my Problem with a new Install of Gentoo... took a lot of Time but my sda1 device is now there again.
Note: it was exact the same Kernel and same config file!



thanks for help!
Back to top
View user's profile Send private message
fr3sh
n00b
n00b


Joined: 25 Jul 2005
Posts: 55

PostPosted: Sun Nov 20, 2005 7:31 pm    Post subject: Reply with quote

after the installation, every thing works fine... after the first "world" update the sda and sda1 devices are missing again!

I think, this guy here has the same problem:

https://forums.gentoo.org/viewtopic-t-401327.html


seems not to be only my specific problem :(
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Sun Nov 20, 2005 8:19 pm    Post subject: Reply with quote

Very strange indeed. Can you try
Code:
touch /dev/sda
to see what happens?
Can you also post your "/etc/conf.d/rc" ? That's a shot in the dark but we never know.
Back to top
View user's profile Send private message
fr3sh
n00b
n00b


Joined: 25 Jul 2005
Posts: 55

PostPosted: Mon Nov 21, 2005 9:37 am    Post subject: Reply with quote

Last time i created the sda1 device by hand with:
Code:
mknod -m 660 /dev/sda1 b 8 1

didnt work for me :(


when i'm at home, i'll give your suggestion
Code:
touch /dev/sda

a try...


thanks
Back to top
View user's profile Send private message
praveen
n00b
n00b


Joined: 08 Jun 2005
Posts: 43

PostPosted: Mon Nov 21, 2005 10:16 am    Post subject: Reply with quote

I think you need something like hotplug to automatically create these nodes when you plugin new hardware. Do you have hotplug and have you put it in the boot runlevel.
Back to top
View user's profile Send private message
fr3sh
n00b
n00b


Joined: 25 Jul 2005
Posts: 55

PostPosted: Mon Nov 21, 2005 5:03 pm    Post subject: Reply with quote

its all there and all was correct before emergeing -u world


hotplug is automatically started by coldplug on my system
Back to top
View user's profile Send private message
fr3sh
n00b
n00b


Joined: 25 Jul 2005
Posts: 55

PostPosted: Tue Nov 22, 2005 6:39 am    Post subject: Reply with quote

Again i have created the nods with
Code:

mknod -m 660 /dev/sda b 8 0

and
Code:

mknod -m 660 /dev/sda1 b 8 1


Doesn't help me...

when i'm at home, i will post my conf.d/rc file


:(
Back to top
View user's profile Send private message
fr3sh
n00b
n00b


Joined: 25 Jul 2005
Posts: 55

PostPosted: Tue Nov 22, 2005 3:33 pm    Post subject: Reply with quote

this is my /etc/conf.d/rc file


Code:

fr3sh@enigma ~ $ cat /etc/conf.d/rc

# /etc/conf.d/rc: Global config file for the Gentoo RC System
# $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/conf.d/rc,v 1.20.2.7 2005/05/17 00:12:03 vapier Exp $

# This is the number of tty's used in most of the rc-scripts (like
# consolefont, numlock, etc ...)

RC_TTY_NUMBER=11

# Set to "yes" if you want the rc system to try and start services
# in parallel for a slight speed improvement.

RC_PARALLEL_STARTUP="no"

# RC_NET_STRICT_CHECKING allows some flexibility with the 'net' service.
# The following values are allowed:
#  none  - The 'net' service is always considered up.
#  no    - This basically means that at least one net.* service besides net.lo
#          must be up.  This can be used by notebook users that have a wifi and
#          a static nic, and only wants one up at any given time to have the
#          'net' service seen as up.
#  lo    - This is the same as the 'no' option, but net.lo is also counted.
#          This should be useful to people that do not care about any specific
#          interface being up at boot.
#  yes   - For this ALL network interfaces MUST be up for the 'net' service to
#          be considered up.

RC_NET_STRICT_CHECKING="no"

# RC_VOLUME_ORDER allows you to specify, or even remove the volume setup
# for various volume managers (MD, EVMS2, LVM, DM, etc).  Note that the are
# stopped in reverse order.

RC_VOLUME_ORDER="raid evms lvm dm"

# RC_USE_FSTAB allows you to override the default mount options for the
# standard /proc, /sys, /dev, and /dev/pts mount points.  Note that this
# is the new way for selecting ramfs/tmpfs/etc... for udev mounting.

RC_USE_FSTAB="no"

# RC_FORCE_AUTO tries its best to prevent user interaction during the boot and
# shutdown process.  For example, fsck will automatically be run or volumes
# remounted to create proper directory trees.  This feature can be dangerous
# and is meant ONLY for headless machines where getting a physical console
# hooked up is a huge pita.

RC_FORCE_AUTO="no"

# Use this variable to control the /dev management behavior.
#  auto   - let the scripts figure out what's best at boot
#  devfs  - use devfs (requires sys-fs/devfsd)
#  udev   - use udev (requires sys-fs/udev)
#  static - let the user manage /dev

RC_DEVICES="auto"

# UDEV OPTION:
# Set to "yes" if you want to save /dev to a tarball on shutdown
# and restore it on startup.  This is useful if you have a lot of
# custom device nodes that udev does not handle/know about.

RC_DEVICE_TARBALL="yes"





#
# Controlling start-stop-daemon behavior
#
# NOTE: most of these are not in use yet!!
#

# Set to "yes" if stop-daemon() should always retry killing the
# service if it fails the first time.

RC_RETRY_KILL="yes"


# Set the amount of seconds stop-daemon() should wait between
# retries.  $RC_RETRY_KILL should be set to "yes".

RC_RETRY_TIMEOUT=1


# Set the amount of times stop-daemon() should try to kill
# a service before giving up.  $RC_RETRY_KILL should be set to "yes".

RC_RETRY_COUNT=5


# Set to "yes" if stop-daemon() should fail if the service
# is marked as started, but not actually running on stop.

RC_FAIL_ON_ZOMBIE="no"





#
# Internal configuration variables
#
# NB:  These are for advanced users, and you should really
#      know what you are doing before changing them!
#


# rc-scripts dep-cache directory
#
# NOTE:  Do not remove the next line, as its needed by the baselayout ebuild!
#
#  svcdir="/var/lib/init.d"

svcdir="/var/lib/init.d"


# Should we mount $svcdir in a ram disk for some speed increase
# for slower machines, or for the more extreme setups ?

svcmount="no"


# FS type that should be used for $svcdir.  Note that you need
# $svcmount above set to "yes" for this to work ...  Currently
# tmpfs, ramfs, and ramdisk are supported (tmpfs is the default).

svcfstype="tmpfs"


# Size of $svcdir in KB.  Note that ramfs doesn't support this
# due to kernel limitations.

svcsize=2048




hope this could help someone...



fr3sh
Back to top
View user's profile Send private message
fr3sh
n00b
n00b


Joined: 25 Jul 2005
Posts: 55

PostPosted: Tue Nov 22, 2005 8:47 pm    Post subject: Reply with quote

now my problem is solved... i've updated udev and hal to a masked version...

now it works like it should be!


thanks anyway :)



fr3sh
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum