* [gentoo-user] /dev/cdrom has gone!
@ 2005-09-03 10:19 danielhf
2005-09-03 10:36 ` Holly Bostick
2005-09-03 18:35 ` Greg Yasko
0 siblings, 2 replies; 25+ messages in thread
From: danielhf @ 2005-09-03 10:19 UTC (permalink / raw
To: gentoo-user
i upgrade my system to use udev instead of previously known
devfs, and leave the devfs option blank while configure the
kernel, but recently, i found i could not mount my cdrom,
there is no such device at all! the /dev/cdrom and the like has
gone!
i test with my usb disk, and the /dev/ directory could add and
remove the sda1 device node accordingly, it seems that everything
goes well. but where is my cdrom?
i have changed the /etc/conf.d/rc, and replace
RC_DEVICE_TARBALL="yes" with
RC_DEVICE_TARBALL="no" several days ago,
because i think that'll be ok for me, and everything seems working
with the exception of the cdrom i found today!
the rule file under the etc/udev/rules.d/ makes no sense to me,
any ideas please, thanks a lot.
---------------------------------
daniel
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] /dev/cdrom has gone!
2005-09-03 10:19 [gentoo-user] /dev/cdrom has gone! danielhf
@ 2005-09-03 10:36 ` Holly Bostick
2005-09-03 12:08 ` danielhf
2005-09-03 18:35 ` Greg Yasko
1 sibling, 1 reply; 25+ messages in thread
From: Holly Bostick @ 2005-09-03 10:36 UTC (permalink / raw
To: gentoo-user
danielhf@21cn.com schreef:
> i upgrade my system to use udev instead of previously known devfs,
> and leave the devfs option blank while configure the kernel, but
> recently, i found i could not mount my cdrom, there is no such device
> at all! the /dev/cdrom and the like has gone!
>
> i test with my usb disk, and the /dev/ directory could add and remove
> the sda1 device node accordingly, it seems that everything goes
> well. but where is my cdrom?
>
> i have changed the /etc/conf.d/rc, and replace
> RC_DEVICE_TARBALL="yes" with RC_DEVICE_TARBALL="no" several days
> ago, because i think that'll be ok for me, and everything seems
> working with the exception of the cdrom i found today!
>
> the rule file under the etc/udev/rules.d/ makes no sense to me,
>
> any ideas please, thanks a lot.
/dev/cdrom (or in my case, /dev/cdrom, /dev/cdrw, and /dev/dvd) are just
symlinks to the real device anyway.
The real device is hd* (in my case, 'hdc', because the CD/DVD drive is the
master on the second IDE channel, as my hard drive is hda because it's
master on the first channel).
So maybe try looking for the actual device, instead of a symlink (which
has apparently been removed), and see if that gets you any further.
HTH,
Holly
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gentoo-user] Re: /dev/cdrom has gone!
2005-09-03 12:08 ` danielhf
@ 2005-09-03 12:07 ` Sven Köhler
2005-09-03 12:07 ` Sven Köhler
2005-09-03 12:32 ` danielhf
0 siblings, 2 replies; 25+ messages in thread
From: Sven Köhler @ 2005-09-03 12:07 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 142 bytes --]
> unfortunetly, hdc does not exist either.
> and dmesg does not show anything about my
> cdrom or hdc. just odd.
how about modprobe ide-cd ?
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 253 bytes --]
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gentoo-user] Re: /dev/cdrom has gone!
2005-09-03 12:07 ` [gentoo-user] " Sven Köhler
@ 2005-09-03 12:07 ` Sven Köhler
2005-09-03 12:32 ` danielhf
1 sibling, 0 replies; 25+ messages in thread
From: Sven Köhler @ 2005-09-03 12:07 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 142 bytes --]
> unfortunetly, hdc does not exist either.
> and dmesg does not show anything about my
> cdrom or hdc. just odd.
how about modprobe ide-cd ?
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 253 bytes --]
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] /dev/cdrom has gone!
2005-09-03 10:36 ` Holly Bostick
@ 2005-09-03 12:08 ` danielhf
2005-09-03 12:07 ` [gentoo-user] " Sven Köhler
0 siblings, 1 reply; 25+ messages in thread
From: danielhf @ 2005-09-03 12:08 UTC (permalink / raw
To: gentoo-user
unfortunetly, hdc does not exist either.
and dmesg does not show anything about my
cdrom or hdc. just odd.
On Sat, Sep 03, 2005 at 12:36:49PM +0200, Holly Bostick wrote:
> danielhf@21cn.com schreef:
> > i upgrade my system to use udev instead of previously known devfs,
> > and leave the devfs option blank while configure the kernel, but
> > recently, i found i could not mount my cdrom, there is no such device
> > at all! the /dev/cdrom and the like has gone!
> >
> > i test with my usb disk, and the /dev/ directory could add and remove
> > the sda1 device node accordingly, it seems that everything goes
> > well. but where is my cdrom?
> >
> > i have changed the /etc/conf.d/rc, and replace
> > RC_DEVICE_TARBALL="yes" with RC_DEVICE_TARBALL="no" several days
> > ago, because i think that'll be ok for me, and everything seems
> > working with the exception of the cdrom i found today!
> >
> > the rule file under the etc/udev/rules.d/ makes no sense to me,
> >
> > any ideas please, thanks a lot.
>
> /dev/cdrom (or in my case, /dev/cdrom, /dev/cdrw, and /dev/dvd) are just
> symlinks to the real device anyway.
>
> The real device is hd* (in my case, 'hdc', because the CD/DVD drive is the
> master on the second IDE channel, as my hard drive is hda because it's
> master on the first channel).
>
> So maybe try looking for the actual device, instead of a symlink (which
> has apparently been removed), and see if that gets you any further.
>
> HTH,
> Holly
> --
> gentoo-user@gentoo.org mailing list
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] Re: /dev/cdrom has gone!
2005-09-03 12:07 ` [gentoo-user] " Sven Köhler
2005-09-03 12:07 ` Sven Köhler
@ 2005-09-03 12:32 ` danielhf
2005-09-03 12:40 ` danielhf
2005-09-03 17:45 ` Daniel Drake
1 sibling, 2 replies; 25+ messages in thread
From: danielhf @ 2005-09-03 12:32 UTC (permalink / raw
To: gentoo-user
On Sat, Sep 03, 2005 at 02:07:34PM +0200, Sven K?hler wrote:
i alway build it into kernel, i already checked my config file,
the "BLK_DEV_IDECD=y" is just there.
besides, why there is a register dump while i reboot,
the error occures at /etc/init.d/halt.sh right
after "Unmounting filesystems". hehe ;-(. broken...
> > unfortunetly, hdc does not exist either.
> > and dmesg does not show anything about my
> > cdrom or hdc. just odd.
>
> how about modprobe ide-cd ?
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] Re: /dev/cdrom has gone!
2005-09-03 12:32 ` danielhf
@ 2005-09-03 12:40 ` danielhf
2005-09-03 12:53 ` Alex Korshunov
2005-09-03 17:45 ` Daniel Drake
1 sibling, 1 reply; 25+ messages in thread
From: danielhf @ 2005-09-03 12:40 UTC (permalink / raw
To: gentoo-user
On Sat, Sep 03, 2005 at 08:32:56PM +0800, danielhf@21cn.com wrote:
no error on reboot now, but i will try to switch to windows to see
if the cdrom works well....
> On Sat, Sep 03, 2005 at 02:07:34PM +0200, Sven K?hler wrote:
>
> i alway build it into kernel, i already checked my config file,
> the "BLK_DEV_IDECD=y" is just there.
>
> besides, why there is a register dump while i reboot,
> the error occures at /etc/init.d/halt.sh right
> after "Unmounting filesystems". hehe ;-(. broken...
>
> > > unfortunetly, hdc does not exist either.
> > > and dmesg does not show anything about my
> > > cdrom or hdc. just odd.
> >
> > how about modprobe ide-cd ?
>
>
> --
> gentoo-user@gentoo.org mailing list
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] Re: /dev/cdrom has gone!
2005-09-03 12:40 ` danielhf
@ 2005-09-03 12:53 ` Alex Korshunov
2005-09-03 13:20 ` Matt Randolph
2005-09-03 13:28 ` danielhf
0 siblings, 2 replies; 25+ messages in thread
From: Alex Korshunov @ 2005-09-03 12:53 UTC (permalink / raw
To: gentoo-user
danielhf@21cn.com wrote:
>On Sat, Sep 03, 2005 at 08:32:56PM +0800, danielhf@21cn.com wrote:
>
>no error on reboot now, but i will try to switch to windows to see
>if the cdrom works well....
>
>
All my cdroms in /dev/cdroms/cdrom. May be...?
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] Re: /dev/cdrom has gone!
2005-09-03 12:53 ` Alex Korshunov
@ 2005-09-03 13:20 ` Matt Randolph
2005-09-03 13:31 ` danielhf
2005-09-03 13:40 ` [gentoo-user] " John Jolet
2005-09-03 13:28 ` danielhf
1 sibling, 2 replies; 25+ messages in thread
From: Matt Randolph @ 2005-09-03 13:20 UTC (permalink / raw
To: gentoo-user
Alex Korshunov wrote:
> danielhf@21cn.com wrote:
>
>> On Sat, Sep 03, 2005 at 08:32:56PM +0800, danielhf@21cn.com wrote:
>>
>> no error on reboot now, but i will try to switch to windows to see
>> if the cdrom works well....
>>
>>
> All my cdroms in /dev/cdroms/cdrom. May be...?
>
I didn't see the beginning of this thread so my question may be
redundant. Did you (the OP) verify that the drive is still detected by
the BIOS?
--
"Pluralitas non est ponenda sine necessitate" - W. of O.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] Re: /dev/cdrom has gone!
2005-09-03 12:53 ` Alex Korshunov
2005-09-03 13:20 ` Matt Randolph
@ 2005-09-03 13:28 ` danielhf
2005-09-03 14:53 ` Philip Webb
1 sibling, 1 reply; 25+ messages in thread
From: danielhf @ 2005-09-03 13:28 UTC (permalink / raw
To: gentoo-user
my BIOS infomation shows my cdrom is at the third IDE primary,
so i do:
mknod -m 660 hde b 33 0
and later i tried
mknod -m 660 hdc b 23 0
the output:
hdc is not a valid block device
no luck. hde failed either, i give it up. ;-(
thanks for all help.
daniel
On Sat, Sep 03, 2005 at 04:53:57PM +0400, Alex Korshunov wrote:
> danielhf@21cn.com wrote:
>
> >On Sat, Sep 03, 2005 at 08:32:56PM +0800, danielhf@21cn.com wrote:
> >
> >no error on reboot now, but i will try to switch to windows to see
> >if the cdrom works well....
> >
> >
> All my cdroms in /dev/cdroms/cdrom. May be...?
>
> --
> gentoo-user@gentoo.org mailing list
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] Re: /dev/cdrom has gone!
2005-09-03 13:20 ` Matt Randolph
@ 2005-09-03 13:31 ` danielhf
2005-09-04 13:39 ` [gentoo-user] " Greg Yasko
2005-09-03 13:40 ` [gentoo-user] " John Jolet
1 sibling, 1 reply; 25+ messages in thread
From: danielhf @ 2005-09-03 13:31 UTC (permalink / raw
To: gentoo-user
yes, it works just well in WindowsXP.
it even works before i use udev. hehe
i'm not sure it failed due to the udev,
i have no idea now.
On Sat, Sep 03, 2005 at 09:20:42AM -0400, Matt Randolph wrote:
> Alex Korshunov wrote:
>
> >danielhf@21cn.com wrote:
> >
> >>On Sat, Sep 03, 2005 at 08:32:56PM +0800, danielhf@21cn.com wrote:
> >>
> >>no error on reboot now, but i will try to switch to windows to see
> >>if the cdrom works well....
> >>
> >>
> >All my cdroms in /dev/cdroms/cdrom. May be...?
> >
>
> I didn't see the beginning of this thread so my question may be
> redundant. Did you (the OP) verify that the drive is still detected by
> the BIOS?
>
> --
>
> "Pluralitas non est ponenda sine necessitate" - W. of O.
>
> --
> gentoo-user@gentoo.org mailing list
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] Re: /dev/cdrom has gone!
2005-09-03 13:20 ` Matt Randolph
2005-09-03 13:31 ` danielhf
@ 2005-09-03 13:40 ` John Jolet
2005-09-03 13:56 ` danielhf
1 sibling, 1 reply; 25+ messages in thread
From: John Jolet @ 2005-09-03 13:40 UTC (permalink / raw
To: gentoo-user
On Saturday 03 September 2005 08:20, Matt Randolph wrote:
> Alex Korshunov wrote:
> > danielhf@21cn.com wrote:
> >> On Sat, Sep 03, 2005 at 08:32:56PM +0800, danielhf@21cn.com wrote:
> >>
> >> no error on reboot now, but i will try to switch to windows to see
> >> if the cdrom works well....
> >
> > All my cdroms in /dev/cdroms/cdrom. May be...?
>
> I didn't see the beginning of this thread so my question may be
> redundant. Did you (the OP) verify that the drive is still detected by
> the BIOS?
having done some research yesterday on udev, specifically the gentoo udev
howto, it was my understanding that udev did NOT create node files. those
must exist and udev just manages the mappings to those files. that's what
the tar/untar process on shutdown/boot takes care of. devfs, on the other
hand DID take care of those files. the gentoo udev howto specifically gives
a walkthrough on the steps necessary to switch from a hybrid udev/devfs
system to a pure udev system. Have you looked at that document?
Unfortunately, I don't remember the link at this moment, but I linked to it
from the udev stuff at kernel.org.
--
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
john@jolet.net
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] Re: /dev/cdrom has gone!
2005-09-03 13:40 ` [gentoo-user] " John Jolet
@ 2005-09-03 13:56 ` danielhf
0 siblings, 0 replies; 25+ messages in thread
From: danielhf @ 2005-09-03 13:56 UTC (permalink / raw
To: gentoo-user
i did read that document, to find the doc is trivial.
what i got is just similar. the udev just create the device
files which were detected by kernel, and handle the operations
like add or remove dynamically. i tried this feature with my usb
devices already, i really like the way udev works. i could not found
any info from the output of dmesg, so i think perhaps there is a problem
on detecting the device, but not the problem of udev.
thanks
daniel
On Sat, Sep 03, 2005 at 08:40:20AM -0500, John Jolet wrote:
> On Saturday 03 September 2005 08:20, Matt Randolph wrote:
> > Alex Korshunov wrote:
> > > danielhf@21cn.com wrote:
> > >> On Sat, Sep 03, 2005 at 08:32:56PM +0800, danielhf@21cn.com wrote:
> > >>
> > >> no error on reboot now, but i will try to switch to windows to see
> > >> if the cdrom works well....
> > >
> > > All my cdroms in /dev/cdroms/cdrom. May be...?
> >
> > I didn't see the beginning of this thread so my question may be
> > redundant. Did you (the OP) verify that the drive is still detected by
> > the BIOS?
> having done some research yesterday on udev, specifically the gentoo udev
> howto, it was my understanding that udev did NOT create node files. those
> must exist and udev just manages the mappings to those files. that's what
> the tar/untar process on shutdown/boot takes care of. devfs, on the other
> hand DID take care of those files. the gentoo udev howto specifically gives
> a walkthrough on the steps necessary to switch from a hybrid udev/devfs
> system to a pure udev system. Have you looked at that document?
> Unfortunately, I don't remember the link at this moment, but I linked to it
> from the udev stuff at kernel.org.
> --
> John Jolet
> Your On-Demand IT Department
> 512-762-0729
> www.jolet.net
> john@jolet.net
> --
> gentoo-user@gentoo.org mailing list
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] Re: /dev/cdrom has gone!
2005-09-03 13:28 ` danielhf
@ 2005-09-03 14:53 ` Philip Webb
0 siblings, 0 replies; 25+ messages in thread
From: Philip Webb @ 2005-09-03 14:53 UTC (permalink / raw
To: gentoo-user
050903 danielhf@21cn.com wrote:
> my BIOS infomation shows my cdrom is at the third IDE primary,
> so i do: 'mknod -m 660 hde b 33 0' ...
What happened in that case ? That ought to be what you want.
> ... and later i tried 'mknod -m 660 hdc b 23 0'
> the output: "hdc is not a valid block device"
I changed over a couple of days ago & have the correct devices in /dev .
Are you using an upto-date kernel ( 2.6.12-gentoo-r<nn> ) ?
--
========================,,============================================
SUPPORT ___________//___, Philip Webb : purslow@chass.utoronto.ca
ELECTRIC /] [] [] [] [] []| Centre for Urban & Community Studies
TRANSIT `-O----------O---' University of Toronto
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] Re: /dev/cdrom has gone!
2005-09-03 12:32 ` danielhf
2005-09-03 12:40 ` danielhf
@ 2005-09-03 17:45 ` Daniel Drake
2005-09-04 3:06 ` danielhf
2005-09-04 5:21 ` danielhf
1 sibling, 2 replies; 25+ messages in thread
From: Daniel Drake @ 2005-09-03 17:45 UTC (permalink / raw
To: gentoo-user
danielhf@21cn.com wrote:
> i alway build it into kernel, i already checked my config file,
> the "BLK_DEV_IDECD=y" is just there.
Are you really really sure? What do you have in /sys/bus/ide/drivers ?
Daniel
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gentoo-user] Re: /dev/cdrom has gone!
2005-09-03 10:19 [gentoo-user] /dev/cdrom has gone! danielhf
2005-09-03 10:36 ` Holly Bostick
@ 2005-09-03 18:35 ` Greg Yasko
2005-09-05 13:56 ` danielhf
1 sibling, 1 reply; 25+ messages in thread
From: Greg Yasko @ 2005-09-03 18:35 UTC (permalink / raw
To: gentoo-user
On Sat, 03 Sep 2005 18:19:37 +0800, danielhf wrote:
> i upgrade my system to use udev instead of previously known
> devfs, and leave the devfs option blank while configure the
> kernel, but recently, i found i could not mount my cdrom,
> there is no such device at all! the /dev/cdrom and the like has
> gone!
>
> any ideas please, thanks a lot.
>
> ---------------------------------
> daniel
I had the same problem several months ago when I upgraded to the 2.6
kernel and udev.
Just boot off the livecd, mount the / partition and delete .devfsd from
the /dev directory. That should do it.
Hope this helps.
-G.Y.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] Re: /dev/cdrom has gone!
2005-09-03 17:45 ` Daniel Drake
@ 2005-09-04 3:06 ` danielhf
2005-09-04 5:21 ` danielhf
1 sibling, 0 replies; 25+ messages in thread
From: danielhf @ 2005-09-04 3:06 UTC (permalink / raw
To: gentoo-user
there are two items there:
ide-cdrom & ide-disk
but just empty directories. ??
On Sat, Sep 03, 2005 at 06:45:21PM +0100, Daniel Drake wrote:
> danielhf@21cn.com wrote:
> >i alway build it into kernel, i already checked my config file,
> >the "BLK_DEV_IDECD=y" is just there.
>
> Are you really really sure? What do you have in /sys/bus/ide/drivers ?
>
> Daniel
> --
> gentoo-user@gentoo.org mailing list
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] Re: /dev/cdrom has gone!
2005-09-03 17:45 ` Daniel Drake
2005-09-04 3:06 ` danielhf
@ 2005-09-04 5:21 ` danielhf
2005-09-04 13:13 ` Sven Köhler
1 sibling, 1 reply; 25+ messages in thread
From: danielhf @ 2005-09-04 5:21 UTC (permalink / raw
To: gentoo-user
i discover a something while examine my dmesg output.
-->Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
-->ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
-->Probing IDE interface ide0...
-->hda: ST380817AS, ATA DISK drive
-->Probing IDE interface ide1...
-->Probing IDE interface ide2...
-->Probing IDE interface ide3... <--- there should be a cdrom detected here
-->Probing IDE interface ide4...
-->Probing IDE interface ide5...
-->ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
-->hda: max request size: 1024KiB
-->hda: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=16383/255/63
-->hda: cache flushes supported
--> hda: hda1 hda2 < hda5 hda6 hda7 hda8 hda9 hda10 hda11 hda12 hda13 >
now, maybe i can say it's a problem of detecting my driver for sure?
there have been a lot of problems around since i use a SATA hard drive,
and a common ATA cdrom, i spent a lot of time to find out the right CMOS
configuration:
P-ATA only | S-ATA only | P-ATA & S-ATA etc and some others.
i use a Native Mode, so that my disk can be recognized as /dev/hdaXX
instead of /dev/sdaXX. and P-ATA only but with S-ATA enabled.
is there any advice on how to config such stuff correctly?
WindowsXP works with them just perfectly, and it's ok on my gentoo box
before the udev comes out maybe. i remember...
many thanks
daniel
On Sat, Sep 03, 2005 at 06:45:21PM +0100, Daniel Drake wrote:
> danielhf@21cn.com wrote:
> >i alway build it into kernel, i already checked my config file,
> >the "BLK_DEV_IDECD=y" is just there.
>
> Are you really really sure? What do you have in /sys/bus/ide/drivers ?
>
> Daniel
> --
> gentoo-user@gentoo.org mailing list
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gentoo-user] Re: /dev/cdrom has gone!
2005-09-04 5:21 ` danielhf
@ 2005-09-04 13:13 ` Sven Köhler
0 siblings, 0 replies; 25+ messages in thread
From: Sven Köhler @ 2005-09-04 13:13 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 381 bytes --]
> P-ATA only | S-ATA only | P-ATA & S-ATA etc and some others.
> i use a Native Mode, so that my disk can be recognized as /dev/hdaXX
> instead of /dev/sdaXX. and P-ATA only but with S-ATA enabled.
What's wrong about /dev/sdaX ? That's exactly how it should be. So
disable that strange "native-mode" and instead enable the SATA driver in
the SCSCI-driver section of your kernel.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 253 bytes --]
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gentoo-user] Re: Re: /dev/cdrom has gone!
2005-09-03 13:31 ` danielhf
@ 2005-09-04 13:39 ` Greg Yasko
0 siblings, 0 replies; 25+ messages in thread
From: Greg Yasko @ 2005-09-04 13:39 UTC (permalink / raw
To: gentoo-user
> yes, it works just well in WindowsXP.
> it even works before i use udev. hehe
>
> i'm not sure it failed due to the udev,
> i have no idea now.
I had the exact same problem when switching to the 2.6 kernel and udev
several months ago. After deleting .devfsd from the devices directory my
CD burner was properly detected upon reboot, and the directory was
populated with devices that were missing. There was a line in dmesg about
.devfsd blocking at startup.
Is .devfsd in your /dev directory? Run an "ls -al /dev | grep devfsd". If
so, boot off a livecd and delete the file. Be sure that you aren't using a
hybrid of devfs and udev before doing this.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] Re: /dev/cdrom has gone!
2005-09-03 18:35 ` Greg Yasko
@ 2005-09-05 13:56 ` danielhf
2005-09-05 14:31 ` Robert Crawford
0 siblings, 1 reply; 25+ messages in thread
From: danielhf @ 2005-09-05 13:56 UTC (permalink / raw
To: gentoo-user
thanks to all...
i finally get the cdrom work, not perfectly though, i change
the BIOS setting that use S-ATA only instead and keep P-ATA
enabled, which makes cdrom the primary 1st, the sata drive
recognized as primary third. (i hate such layout !! i prefer
the hard disk to be the primary first and recognized as hda).
at last, the sata drive was recognized as sda, so that's the
whole story,
now i'm wondering what on earth are the changes made with those
BIOS settings, and how it affect the kernel? (because whatever i
configure, the M$ Windows just works perfectly).
i would not think the problem solved already, i'll take a look at
this later.
thanks again.
daniel
On Sat, Sep 03, 2005 at 02:35:51PM -0400, Greg Yasko wrote:
> On Sat, 03 Sep 2005 18:19:37 +0800, danielhf wrote:
>
> > i upgrade my system to use udev instead of previously known
> > devfs, and leave the devfs option blank while configure the
> > kernel, but recently, i found i could not mount my cdrom,
> > there is no such device at all! the /dev/cdrom and the like has
> > gone!
> >
> > any ideas please, thanks a lot.
> >
> > ---------------------------------
> > daniel
>
> I had the same problem several months ago when I upgraded to the 2.6
> kernel and udev.
>
> Just boot off the livecd, mount the / partition and delete .devfsd from
> the /dev directory. That should do it.
>
> Hope this helps.
>
> -G.Y.
>
> --
> gentoo-user@gentoo.org mailing list
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] Re: /dev/cdrom has gone!
2005-09-05 13:56 ` danielhf
@ 2005-09-05 14:31 ` Robert Crawford
2005-09-05 14:51 ` Steve Evans
0 siblings, 1 reply; 25+ messages in thread
From: Robert Crawford @ 2005-09-05 14:31 UTC (permalink / raw
To: gentoo-user
On Monday 05 September 2005 09:56 am, danielhf@21cn.com wrote:
> thanks to all...
>
> i finally get the cdrom work, not perfectly though, i change
> the BIOS setting that use S-ATA only instead and keep P-ATA
> enabled, which makes cdrom the primary 1st, the sata drive
> recognized as primary third. (i hate such layout !! i prefer
> the hard disk to be the primary first and recognized as hda).
>
> at last, the sata drive was recognized as sda, so that's the
> whole story,
>
> now i'm wondering what on earth are the changes made with those
> BIOS settings, and how it affect the kernel? (because whatever i
> configure, the M$ Windows just works perfectly).
>
> i would not think the problem solved already, i'll take a look at
> this later.
>
> thanks again.
> daniel
>
> On Sat, Sep 03, 2005 at 02:35:51PM -0400, Greg Yasko wrote:
> > On Sat, 03 Sep 2005 18:19:37 +0800, danielhf wrote:
> > > i upgrade my system to use udev instead of previously known
> > > devfs, and leave the devfs option blank while configure the
> > > kernel, but recently, i found i could not mount my cdrom,
> > > there is no such device at all! the /dev/cdrom and the like has
> > > gone!
> > >
> > > any ideas please, thanks a lot.
> > >
> > > ---------------------------------
> > > daniel
> >
> > I had the same problem several months ago when I upgraded to the 2.6
> > kernel and udev.
> >
> > Just boot off the livecd, mount the / partition and delete .devfsd from
> > the /dev directory. That should do it.
> >
> > Hope this helps.
> >
> > -G.Y.
I just had a similar problem after I updated udev (I think). I run ~x86
systems, always kept current, so I expect a few minor hiccups, even though
I'm extremely careful with etc-update. There seems to be some weird stuff
going on with udev, at least on my system, but after a lot of reading on the
formum, and trying many things, I tried changing my fstab line
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,rw,user 0 0
to this.
/dev/hdc /mnt/cdrom iso9660 noauto,rw,user 0 0
I think some rule in the new udev changed, and it wasn't creating cdroms and
cdrom0 anymore- only /dev/hdc.
I looked in /dev, and sure enough, the cdrom and cdrw links point to the hdc
block device.
Anyway, whatever it was, changing the fstab line now lets me mount cdroms
normally, as before.
Robert Crawford
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] Re: /dev/cdrom has gone!
2005-09-05 14:31 ` Robert Crawford
@ 2005-09-05 14:51 ` Steve Evans
2005-09-05 17:17 ` Robert Crawford
2005-09-05 17:55 ` Robert Crawford
0 siblings, 2 replies; 25+ messages in thread
From: Steve Evans @ 2005-09-05 14:51 UTC (permalink / raw
To: gentoo-user
On Monday 05 Sep 2005 15:31, Robert Crawford wrote:
> I just had a similar problem after I updated udev (I think). I run ~x86
> systems, always kept current, so I expect a few minor hiccups, even though
> I'm extremely careful with etc-update. There seems to be some weird stuff
> going on with udev, at least on my system, but after a lot of reading on
> the formum, and trying many things, I tried changing my fstab line
>
> /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,rw,user 0 0
>
> to this.
>
> /dev/hdc /mnt/cdrom iso9660 noauto,rw,user 0 0
>
> I think some rule in the new udev changed, and it wasn't creating cdroms
> and cdrom0 anymore- only /dev/hdc.
>
> I looked in /dev, and sure enough, the cdrom and cdrw links point to the
> hdc block device.
>
> Anyway, whatever it was, changing the fstab line now lets me mount cdroms
> normally, as before.
>
> Robert Crawford
I assume that as you are running ~x86 you have upgraded to gentoo-sources
version 2.6.13. In that version devfs has been removed (well the config
option has gone, the code is still there). The /dev/cdroms/cdrom0 style of
device file name is a part of devfs, so if with earlier kernels you still had
devfs enabled in the kernel, despite running udev, then you would have gotten
the /dev/cdroms/cdrom0 link.
I am running x86 and running with udev but with devfs still in the kernel.
Yesterday I disabled devfs on one of the machines so that I could see what
would break in preparation for 2.6.13 moving to x86. I experienced exactly
your problem of /dev/cdroms/cdrom0 disappearing. Fortunately the solution is
simple, as you describe above.
Steve
--
____________________________________________________________________
Steve Evans E-mail: mailto:stevee@gorbag.com
WEB: http://www.gorbag.com
Registered Linux user #217906: http://counter.li.org
Public Encryption Key: http://www.gorbag.com/public-key.html
____________________________________________________________________
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] Re: /dev/cdrom has gone!
2005-09-05 14:51 ` Steve Evans
@ 2005-09-05 17:17 ` Robert Crawford
2005-09-05 17:55 ` Robert Crawford
1 sibling, 0 replies; 25+ messages in thread
From: Robert Crawford @ 2005-09-05 17:17 UTC (permalink / raw
To: gentoo-user
On Monday 05 September 2005 10:51 am, Steve Evans wrote:
> On Monday 05 Sep 2005 15:31, Robert Crawford wrote:
> > I just had a similar problem after I updated udev (I think). I run ~x86
> > systems, always kept current, so I expect a few minor hiccups, even
> > though I'm extremely careful with etc-update. There seems to be some
> > weird stuff going on with udev, at least on my system, but after a lot of
> > reading on the formum, and trying many things, I tried changing my fstab
> > line
> >
> > /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,rw,user 0 0
> >
> > to this.
> >
> > /dev/hdc /mnt/cdrom iso9660 noauto,rw,user 0 0
> >
> > I think some rule in the new udev changed, and it wasn't creating cdroms
> > and cdrom0 anymore- only /dev/hdc.
> >
> > I looked in /dev, and sure enough, the cdrom and cdrw links point to the
> > hdc block device.
> >
> > Anyway, whatever it was, changing the fstab line now lets me mount cdroms
> > normally, as before.
> >
> > Robert Crawford
>
> I assume that as you are running ~x86 you have upgraded to gentoo-sources
> version 2.6.13. In that version devfs has been removed (well the config
> option has gone, the code is still there). The /dev/cdroms/cdrom0 style of
> device file name is a part of devfs, so if with earlier kernels you still
> had devfs enabled in the kernel, despite running udev, then you would have
> gotten the /dev/cdroms/cdrom0 link.
>
> I am running x86 and running with udev but with devfs still in the kernel.
> Yesterday I disabled devfs on one of the machines so that I could see what
> would break in preparation for 2.6.13 moving to x86. I experienced exactly
> your problem of /dev/cdroms/cdrom0 disappearing. Fortunately the solution
> is simple, as you describe above.
>
> Steve
> --
> ____________________________________________________________________
> Steve Evans E-mail: mailto:stevee@gorbag.com
> WEB: http://www.gorbag.com
> Registered Linux user #217906: http://counter.li.org
> Public Encryption Key: http://www.gorbag.com/public-key.html
> ____________________________________________________________________
Steve,
What you say makes perfect sense, but I'm still not sure I have an
understanding of what has changed. I always compile my own kernels from
vanilla, and patches, so I haven't used gentoo-sources in at least 2 years.
My current kernel is 2.6.13-gvivid (based on 2.6.13 final), which works
great, and is where I first noticed this cdrom problem. I did notice that
devfs had finally been removed.
However, when I boot with other previous kernels (2.6.12.x- vivid and nitro,
and 2.6.12.3 vanilla), the problem remains. This leads me to believe that
somehow it's the newest udev version causing and some kind of compatibility
issue with recent kernels. I haven't investigated this much, but it didn't
happen with the previous udev version.
Anyway, for now I'm content with the fstab hdc edit resolution, and happy to
be rid of devfs..
Robert
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [gentoo-user] Re: /dev/cdrom has gone!
2005-09-05 14:51 ` Steve Evans
2005-09-05 17:17 ` Robert Crawford
@ 2005-09-05 17:55 ` Robert Crawford
1 sibling, 0 replies; 25+ messages in thread
From: Robert Crawford @ 2005-09-05 17:55 UTC (permalink / raw
To: gentoo-user
Page 5-6 of a long udev thread is good reading on recent udev problems.
Robert
http://forums.gentoo.org/viewtopic-t-355069-postdays-0-postorder-asc-start-100.html
On Monday 05 September 2005 10:51 am, Steve Evans wrote:
> On Monday 05 Sep 2005 15:31, Robert Crawford wrote:
> > I just had a similar problem after I updated udev (I think). I run ~x86
> > systems, always kept current, so I expect a few minor hiccups, even
> > though I'm extremely careful with etc-update. There seems to be some
> > weird stuff going on with udev, at least on my system, but after a lot of
> > reading on the formum, and trying many things, I tried changing my fstab
> > line
> >
> > /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,rw,user 0 0
> >
> > to this.
> >
> > /dev/hdc /mnt/cdrom iso9660 noauto,rw,user 0 0
> >
> > I think some rule in the new udev changed, and it wasn't creating cdroms
> > and cdrom0 anymore- only /dev/hdc.
> >
> > I looked in /dev, and sure enough, the cdrom and cdrw links point to the
> > hdc block device.
> >
> > Anyway, whatever it was, changing the fstab line now lets me mount cdroms
> > normally, as before.
> >
> > Robert Crawford
>
> I assume that as you are running ~x86 you have upgraded to gentoo-sources
> version 2.6.13. In that version devfs has been removed (well the config
> option has gone, the code is still there). The /dev/cdroms/cdrom0 style of
> device file name is a part of devfs, so if with earlier kernels you still
> had devfs enabled in the kernel, despite running udev, then you would have
> gotten the /dev/cdroms/cdrom0 link.
>
> I am running x86 and running with udev but with devfs still in the kernel.
> Yesterday I disabled devfs on one of the machines so that I could see what
> would break in preparation for 2.6.13 moving to x86. I experienced exactly
> your problem of /dev/cdroms/cdrom0 disappearing. Fortunately the solution
> is simple, as you describe above.
>
> Steve
> --
> ____________________________________________________________________
> Steve Evans E-mail: mailto:stevee@gorbag.com
> WEB: http://www.gorbag.com
> Registered Linux user #217906: http://counter.li.org
> Public Encryption Key: http://www.gorbag.com/public-key.html
> ____________________________________________________________________
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 25+ messages in thread
end of thread, other threads:[~2005-09-05 17:59 UTC | newest]
Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-03 10:19 [gentoo-user] /dev/cdrom has gone! danielhf
2005-09-03 10:36 ` Holly Bostick
2005-09-03 12:08 ` danielhf
2005-09-03 12:07 ` [gentoo-user] " Sven Köhler
2005-09-03 12:07 ` Sven Köhler
2005-09-03 12:32 ` danielhf
2005-09-03 12:40 ` danielhf
2005-09-03 12:53 ` Alex Korshunov
2005-09-03 13:20 ` Matt Randolph
2005-09-03 13:31 ` danielhf
2005-09-04 13:39 ` [gentoo-user] " Greg Yasko
2005-09-03 13:40 ` [gentoo-user] " John Jolet
2005-09-03 13:56 ` danielhf
2005-09-03 13:28 ` danielhf
2005-09-03 14:53 ` Philip Webb
2005-09-03 17:45 ` Daniel Drake
2005-09-04 3:06 ` danielhf
2005-09-04 5:21 ` danielhf
2005-09-04 13:13 ` Sven Köhler
2005-09-03 18:35 ` Greg Yasko
2005-09-05 13:56 ` danielhf
2005-09-05 14:31 ` Robert Crawford
2005-09-05 14:51 ` Steve Evans
2005-09-05 17:17 ` Robert Crawford
2005-09-05 17:55 ` Robert Crawford
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox