- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Linux hda Driver
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2003 12:15 AM
тАО10-02-2003 12:15 AM
This is kind of a continuation from the previos post of 'ramdisk'. I loaded ram support into the kernel, added vfat. Now I am experiencing a problem with m cdrom dvd-rw. When I run dmesg I see:
hda: driver not present
how do I check to see the status of the hda driver. And if its not there, how do I resolve this.
10x
RPM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2003 02:57 AM
тАО10-02-2003 02:57 AM
Re: Linux hda Driver
Let me clear this up a bit (for my own sake), if you compile a new kernel without changing anything, you will not get the same kernel as the one delivered with the installation (or erratas).
If you want to just change some settings in a "vanilla" kernel, you should first copy the file /boot/config-`uname -r` to /usr/src/linux-2.4/.config and then run config to change whatever parameters you want.
Btw. In some distros (eg. RHAS/RHES) the config files are located under /usr/src/linux-2.4/configs
Regards
Kjetil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2003 04:14 AM
тАО10-02-2003 04:14 AM
Re: Linux hda Driver
Are your other disk's' ide ?, because hda is the first ide disk ! usualy "make that often" the cd would be "hdc" .
I am guessing your disk are scsi and your cd-rom dvd-rw is a scsi?
can you use your cd dvd at all ?
show here/attach the usefull part of #/var/log/messages
#dmesg
#lsmod
#df
#cat /etc/fstab
J-P Who is willing to help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2003 05:09 AM
тАО10-02-2003 05:09 AM
Re: Linux hda Driver
I am using an ide-dvd-rw.
Here are the files.
[root@pompano etc]# more fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/app /app ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/u01 /u01 ext3 defaults 1 2
/dev/sdb1 /u02 xfs defaults 1 2
/dev/sda3 swap swap defaults 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Attached scsi tape st0 at scsi1, channel 0, id 2, lun 0
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi disk sdb at scsi0, channel 0, id 1, lun 0
sym53c896-0-<0,*>: FAST-40 SCSI 40.0 MB/s (25.0 ns, offset 31)
SCSI device sda: 35566480 512-byte hdwr sectors (18210 MB)
Partition check:
sda: sda1 sda2 sda3
sym53c896-0-<1,*>: FAST-40 SCSI 40.0 MB/s (25.0 ns, offset 31)
SCSI device sdb: 17773524 512-byte hdwr sectors (9100 MB)
sdb: sdb1 sdb2
es1371: version v0.30 time 15:29:51 Oct 1 2003
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
usb.c: registered new driver hub
uhci.c: USB Universal Host Controller Interface driver v1.1
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 16384)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
ds: no socket drivers loaded!
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 136k freed
EXT3 FS 2.4-0.9.17, 10 Jan 2002 on sd(8,1), internal journal
Adding Swap: 871416k swap-space (priority -1)
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.17, 10 Jan 2002 on sd(8,2), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.17, 10 Jan 2002 on sd(8,18), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
XFS mounting filesystem sd(8,17)
Ending clean XFS mount for filesystem: sd(8,17)
[root@pompano etc]# @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 9527936 8287552 756392 92% /
/dev/sda2 7117848 606620 6149656 9% /app
none 127736 0 127736 0% /dev/shm
/dev/sdb2 4031680 32828 3794052 1% /u01
/dev/sdb1 4780016 344 4779672 1% /u02
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
ls mod did not return any data. Running RH9 on an intel E800
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2003 05:40 AM
тАО10-02-2003 05:40 AM
Solutionnot returning anything ?
do you have
loadable modules support to yes in your kernel config file ?
CONFIG_MODULES=Y
if not you need this to have loadable modules in your new kernel and after compilation of kernel you need to do
make modules : make modules install
Have a look at the http://www.redhat.com/docs/manuals/linux/RHL-7-Manual/ref-guide/s1-sysadmin-build-kernel.html
and tell us what you find in your config if you have config_modules=Y
J-P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2003 08:48 AM
тАО10-02-2003 08:48 AM
Re: Linux hda Driver
http://www.linuxheadquarters.com/howto/tuning/kernelcompilation.shtml
also nice as general source of howto/docs
http://www.linuxheadquarters.com/
well I find it usefull, so hopefully others will to.
J-P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2003 11:03 PM
тАО10-02-2003 11:03 PM
Re: Linux hda Driver
then
to use your ide cd/dvd you need to use ide_scsi kernel module this in turn emulates
a scsi host adapter.
To check on your scsi as root do
#cdrecord -scandisk
this will display your scsi disk/lun setup
if you cd/dvd does not appear here
do
#lsmod
you should see something like
ide-scsi 11984 0
if not you can alway load this module
#moprobe ide-scsi
#lsmod
you should now see your "ide-scsi cd/dvd"
#cdrecord -scandisk
display a new entry for "ide-scsi dev/lun"
To write this setup as permanent
for lilo (adapt to your dev/kernel name/version)
append="hdc=ide-scsi"
for grub
kernel /vmlinuz-X.X.X.X ro root=/dev/sda1 hdc=ide-scsi
don't forget write the lilo or grub to boot disk for next boot
Hope I have not forgotten anything.
Tell us how you are progressing.
J-P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-03-2003 12:47 AM
тАО10-03-2003 12:47 AM
Re: Linux hda Driver
CONFIG_IDE=y
CONFIG_IDE_KNOWS=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDECD=m (I suggest module)
CONFIG_BLK_DEV_IDESCSI=m (to be able to write)
Kjetil