[ltp] T30 2.6.17.8, Ububntu Dapper, /dev/hdc not created??
kaens
linux-thinkpad@linux-thinkpad.org
Fri, 1 Sep 2006 18:22:27 -0400
another clue: cat /var/log/syslog | grep CD has this line in it:
localhost NetworkManager: <debug info>^I[1157145816.816341]
nm_hal_device_removed (): Device removed (hal udi is
'/org/freedesktop/Hal/devices/storage_model_HL_DT_STCD_RW/DVD_DRIVE_GCC_4240N')
which means hal is removing my /dev/hdc? ... Now I need to figure out
how to find out why it's doing that, and how to fix it (also why
that's reported by NetworkManager??)
On 9/1/06, kaens <apatheticagnostic@gmail.com> wrote:
> I thought that as well. . . I don't know my way around configuring
> udev too well yet though. . .l
> cat /etc/udev/rules.d/* | grep -i cd produces:
>
> *********************************************************************************************
> # Packet CD devices, group under /dev/pktcdvd
> KERNEL=="pktcdvd", NAME="pktcdvd/control"
> KERNEL=="pktcdvd[0-9]*", NAME="pktcdvd/%k"
> # SCSI CD-ROM devices use /dev/scdN now
> BUS=="scsi", KERNEL=="sr[0-9]*", NAME="scd%n"
> KERNEL=="hd[a-z]|pcd[0-9]*", \
> IMPORT{program}="cdrom_id --export $tempnode"
> ENV{ID_CDROM}=="?*", GROUP="cdrom"
> # Packet CD devices, group under /dev/pktcdvd
> KERNEL=="pktcdvd", MODE="0644"
> KERNEL=="pktcdvd[0-9]*", GROUP="cdrom"
> SYSFS{type}=="5", GROUP="cdrom"
> # Emprex PCD3600
> # Mitek CD10
> # Mitek CD30P
> # RCA CDS1005
> # Sony MVC-CD300 (PTP mode)
> # Sony MVC-CD500 (PTP mode)
> # Compatibility symlinks for /dev/scd* devices
> # Create /dev/cdrom* symlinks for CD-ROM devices
> BUS=="ide", KERNEL=="hd[a-z]|pcd[0-9]*", ACTION=="add", \
> IMPORT{program}="cdrom_id --export $tempnode"
> IMPORT{program}="cdrom_id --export $tempnode"
> ENV{ID_CDROM}=="?*", SYMLINK+="cdrom"
> ENV{ID_CDROM_CD_RW}=="?*", SYMLINK+="cdrw"
> ENV{ID_CDROM_DVD}=="?*", SYMLINK+="dvd"
> ENV{ID_CDROM_DVD_R}=="?*", SYMLINK+="dvdrw"
> BUS=="ide", DRIVER!="ide-cdrom", SYSFS{removable}="1", GOTO="persistent_end"
> ENV{IDE_MEDIA}=="cdrom", RUN+="/sbin/modprobe -Qba ide-cd"
> ENV{VIO_TYPE}=="viocd", RUN+="/sbin/modprobe -Qba viocd"
> ****************************************************************************************
>
> The only thing I could see that might be causing a problem was:
>
> ENV{IDE_MEDIA}=="cdrom", RUN+="/sbin/modprobe -Qba ide-cd"
>
> as I do not have ide-cd compiled as a module, it's part of the kernel.
> Commenting it out didn't help anything though. Any suggesstions?
>
> On 9/1/06, Alex Deucher <alexdeucher@gmail.com> wrote:
> > On 9/1/06, kaens <apatheticagnostic@gmail.com> wrote:
> > > Hey everyone, I'm running kernel 2.6.17.8 on a Thinkpad T30 with
> > > Ubuntu Dapper installed. Everything was working fine for awhile, but
> > > the other day, /dev/hdc ceased to be created on boot. I've booted a
> > > livecd with the drive since then, so it's not hardware, and dmesg |
> > > grep CD outputs:
> > >
> > > hdc: HL-DT-STCD-RW/DVD DRIVE GCC-4240N, ATAPI CD/DVD-ROM drive
> > > hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache
> > >
> > > so it is detected by the kernel, right?
> > >
> > > So why wouldn't /dev/hdc create?
> >
> > Sounds like a udev problem.
> >
> > Alex
> >
> > >
> > > I've searched around, and I can't find anything like a solution to
> > > this. Any help would be appreciated, and just mention it if you need
> > > more info.
> > --
> > The linux-thinkpad mailing list home page is at:
> > http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
> >
>