You are not logged in.

#1 2006-12-06 20:43:57

lumiwa
Member
Registered: 2005-12-26
Posts: 712

hooks

I am not sure for what I need to have in mkinitcpio.conf (hooks):

I have IDE hard disk and IDE Ccdrom/dvd writer., I use also USB mLohitech mouse and USB memory card reader for camera. Everything work.
in mkinitcpio.conf I have:

HOOKS="base udev autodetect pata scsi sata filesystems"

fstab looks:

none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0

/dev/cdrom             /mnt/cd   iso9660   ro,user,noauto,unhide   0      0
/dev/dvd               /mnt/dvd  udf       ro,user,noauto,unhide   0      0
/dev/fd0               /mnt/fl   vfat      user,noauto             0      0

/dev/sda3 / ext3 defaults 0 1
/dev/sda1 /boot ext2 defaults 0 1
/dev/sda2 swap swap defaults 0 0

Do I need in mkinitcpio.conf in the hooks section all three: pata, sata and scsi?

Thanks in advance,

Mitja

Offline

#2 2006-12-06 20:52:54

yankees26
Member
From: Connecticut, USA
Registered: 2006-09-29
Posts: 190

Re: hooks

Since you only have an IDE hard disk and IDE cd/dvd drive then you should only need pata and not sata and scsi, but if you experience any boot hickups you could try using ide but then /dev/sdaX would become /dev/hdaX (I believe) which would mean changing your fstab entries, or you could go the safer route and use persistent naming http://wiki.archlinux.org/index.php/Per … ice_naming

Offline

#3 2006-12-06 21:37:22

lumiwa
Member
Registered: 2005-12-26
Posts: 712

Re: hooks

yankees26 wrote:

Since you only have an IDE hard disk and IDE cd/dvd drive then you should only need pata and not sata and scsi, but if you experience any boot hickups you could try using ide but then /dev/sdaX would become /dev/hdaX (I believe) which would mean changing your fstab entries, or you could go the safer route and use persistent naming http://wiki.archlinux.org/index.php/Per … ice_naming

...or if I want to keep fstab entries which I have than I could safely remove sata and scsi from my mkinitcpio.conf - hooks section?

Offline

#4 2006-12-06 21:41:05

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: hooks

Yes, scsi and sata are only for scsi and sata smile

Offline

#5 2006-12-07 11:49:19

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: hooks

scsi and sata modules will not be included because of autodetect hook.


to live is to die

Offline

#6 2006-12-07 11:54:59

lumiwa
Member
Registered: 2005-12-26
Posts: 712

Re: hooks

Romashka wrote:

scsi and sata modules will not be included because of autodetect hook.

Thanks to everyone for help...
I have now:
HOOKS="base udev autodetect pata filesystems"

and it works same as before: very good smile but message about CDROM is still here when I open KsCD.

Offline

#7 2006-12-07 11:58:25

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: hooks

lumiwa wrote:

but message about CDROM is still here when I open KsCD.

What message?


to live is to die

Offline

#8 2006-12-07 13:01:42

lumiwa
Member
Registered: 2005-12-26
Posts: 712

Re: hooks

Romashka wrote:
lumiwa wrote:

but message about CDROM is still here when I open KsCD.

What message?

sr0: CDROM not ready. Make sure there is a disc in the drive

This message flooding my logs and I get it when I open KsCD. I had KsCD all the time in the panel and I never had a problem.
When I open KsCD and try:
lsof | grep sr0
kscd      11433 ajtim   10r   BLK       11,0            3412 /dev/sr0

if maybe help you.
Thanks.

P.S.
I don't have hal or dbus in my rc.conf

Offline

#9 2006-12-07 13:07:52

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: hooks

modprobe sg

to live is to die

Offline

#10 2006-12-07 13:32:44

lumiwa
Member
Registered: 2005-12-26
Posts: 712

Re: hooks

Romashka wrote:
modprobe sg

No, it doesn't help. I had sg also in rc.conf but was same. And BTW I didn't change nothing just update kernel from testing.

Offline

#11 2006-12-07 15:15:00

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: hooks

lumiwa wrote:

No, it doesn't help. I had sg also in rc.conf but was same. And BTW I didn't change nothing just update kernel from testing.

On private conversation on ICQ today one user reported  that he fixed the same issue by setting write permisssions on /dev/sr0 to all users.


to live is to die

Offline

#12 2006-12-07 16:05:00

lumiwa
Member
Registered: 2005-12-26
Posts: 712

Re: hooks

Romashka wrote:
lumiwa wrote:

No, it doesn't help. I had sg also in rc.conf but was same. And BTW I didn't change nothing just update kernel from testing.

On private conversation on ICQ today one user reported  that he fixed the same issue by setting write permisssions on /dev/sr0 to all users.

I did try - same. When is CD in and playing is okay, when stop and eject, flooding is back.

Offline

#13 2006-12-07 16:39:49

lumiwa
Member
Registered: 2005-12-26
Posts: 712

Re: hooks

I don't know why  I never tried to use Amarok for CD. It is much better and I don't have messages about CDROM.

Thanks for help.

Mitja
-----
http://www.flickr.com/photos/starikarp

Offline

Board footer

Powered by FluxBB