Re: [gentoo-user] grub hell
> > > Get easy, one-click access to your favorites. > > > Make Yahoo! your homepage. > > > http://www.yahoo.com/r/hs > > > > > > do you have a space in between (hd1) and (hd0) in > > map (hd1) (hd0) > > ? > > space or no space makes no difference. > > The thing is, tab completion finds only hd0 which grub > doesn't seem to realize is the SECOND drive. Using hd1 > gives error 21: Selected disk does not exist. Although > it appears in device.map, dmesg, fdisk etc. > > Maybe it's a bug in grub.Gonna send a note to > [EMAIL PROTECTED] see what happens. > I had something similar happen like this on a box I just recently built. I had two hard disks but the system could only see one. It turned out I had the jumpers on the hard drive set for cable select and was using the proper cable but it was not reading right. Once I set the hard drives jumpers in a master/slave configuration the computer could see both hard drives and everything worked fine. Have you messed with this stuff at all? Trying different disc plugged in using different cables into different points. I don't know if it will make a difference but if grub isn't seeing one of the drives I would suspect the controller. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] i586 install
On 8/23/07, James <[EMAIL PROTECTED]> wrote: > Hello, > > I seem to be having trouble installing > grub on i586 systems. > > What I use is the > "install-x86-minmal-2006.0.iso" cd to boot the system > and follow the hadbook install guide. But I use the stage3 tarfile: > stage3-i586-2006.1.tar.bz2 > > Everything runs fine until I try to reboot off the hard drive. > I get this > > Grub loading stage1.5 > > Grub loading, please waite... > Error 16 > > It's repeatable on (2) different (amd k6) systems. > > Googling mostly reveals suggestions about file system > being corrupt. I ran file system chekcs (reiserfsck) > per previous instuctions and /boot and / come back > clean and happy. > > The ide disk setup is very simple: > fdisk /dev/hda > # Device BootStartEnd Blocks Id System > # /dev/hda1 * 1 50 401593+ 83 Linux > # /dev/hda2 51 185 1084387+ 82 Linux swap > # /dev/hda3 * 186 243418065092+ 83 Linux > > and grub > > default 0 > fallback 1 > timeout 30 > > #0 > title=kernel-2.6.21-gentoo-r4 > root(hd0,1) > kernel /boot/kernel-2.6.21-gentoo-r4 root=/dev/hda3 > #0 > title=kernel-2.6.21-gentoo-r4 > root(hd0,1) > kernel /boot/kernel-2.6.21-gentoo-r4 root=/dev/hda1 > > Grub method of numbering has always confused me but I thought that root(hd0,1) would point to the hda2 partition which is the swap partition. Shouldn't it be root(hd0,0) to point it to the hda1 partition? I could easily be wrong but that is what I would try. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] OT: Postfix mail sorting and filtering with virtual users
On 9/26/06, Jiri Cincura <[EMAIL PROTECTED]> wrote: Hi *, is there any how-to or manual how to create something like mail filtering/sorting i.e. via procmail (or something like procmail), but for virtual users (there's no users with unix accounts)? Thanks for any hints. Maildrop http://gentoo-wiki.com/HOWTO_Email_Virtual_Server_Maildrop_and_Spam_Assasin This helped me out. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Sharing a CUPS printer
On 9/18/06, Mark Knecht <[EMAIL PROTECTED]> wrote: On 9/18/06, Sarpy Sam <[EMAIL PROTECTED]> wrote: > > Maybe port 631 will work here, I have it set to Listen *.631 Changed it to Listen *:631 and restarted CUPS on the server. > > On the client mahines you want to comment out the listen localhost:631 > line in cupsd.conf. Then you want to make a file in /etc/cups called > client.conf. Insert in it > > ServerName * Ah! OK, that makes sense. I changed it appropriately, restarted CUPS on the client machine and now I get this far: [EMAIL PROTECTED] ~ $ lpq HP is ready no entries [EMAIL PROTECTED] ~ $ lpstat -a HP accepting requests since Jan 01 00:00 [EMAIL PROTECTED] ~ $ So far this looks OK. However, if I go into the CUPS manager on the client and try to print a test page it's telling me the printer is not available. Any ideas? I guess you can print a test page from within the CUPS manager on the client? Thanks a lot for this much. It's helpful. I messed around some more with mine now and found out a few more things. I also added the following to the cupsd.conf on the print server machine. # Show shared printers on the local network. Browsing On BrowseOrder allow,deny BrowseAllow 192.168.2.* BrowseAllow @LOCAL # Restrict access to the server... Order allow,deny Allow localhost Allow From 192.168.2.* The 192.168.2.* is my local subnet I was trying to allow printing from. With a restart of the cups server on the machine with the printer that client machine saw the peinter no problem. I also now discovered that when I use the CUPS manager on the client machine itr just forwards me to the CUPS manager on the Server machine. Since in cupsd.conf I haven't allowed a client machine access to change anything I can't change any of the parameters of the CUPS manager but I am able to print a test page. I also finished setting up KDE and everything is now working fine on the client with the setup I have described. Sorry about forgetting to tell you about the other two lines I changed in cupsd.conf. Hope these changes help you. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Sharing a CUPS printer
So far this looks OK. However, if I go into the CUPS manager on the client and try to print a test page it's telling me the printer is not available. Any ideas? I guess you can print a test page from within the CUPS manager on the client? I never tried to print a test page from the client CUPS manager, but I could print from the webbrowser which is what I was going for. I personally can't even get to the CUPS manager in the client machine since the Listen localhost:631 has been commented out so there is no manager to get to. Your seeing the printer though. That's a start. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Sharing a CUPS printer
On 9/18/06, Mark Knecht <[EMAIL PROTECTED]> wrote: Hi, Sorry. This has got to be me just not seeing the right way about this. What do I have to do on my Gentoo AMD64 machine with a working CUPS printer to share it with other Gentoo desktop machines here at home? I have a working CUPS printer on my machine. I want to print to it from my wife and son's machines. I've been trying to figure out how to set that up but cannot get the right configuration. It seems that the Gentoo Printing Guide is somewhat silent on this. http://www.gentoo.org/doc/en/printing-howto.xml On the machine with the printer I've done what I think the guide has asked for, modified for my network IP addresses: Order Deny,Allow Deny From All Allow From 127.0.0.1 Allow From 192.168.1.* Port 631 (make sure the next two lines are commented out) #Listen 127.0.0.1:631 #Listen localhost:631 Maybe port 631 will work here, I have it set to Listen *.631 At this point I believe I'm supposed to set up IPP printing on the remote machines but everything I've tried there results in messages about the printer not being found, not responding, not existing, etc. I'm telling CUPS that it's an IPP printer and trying addresses like: ipp://lightning/ipp ipp://lightning/ipp/port1 etc. On the client mahines you want to comment out the listen localhost:631 line in cupsd.conf. Then you want to make a file in /etc/cups called client.conf. Insert in it ServerName * Add whatever the name or ip address of the server machine is. Somewhere I read that you have to use the server name as defined in /etc/host, you might have to add it to the file if you haven't done this all ready. I did it that way and restrated cups and it worked. lpstat -a Epson accepting requests since Mon Sep 18 12:19:08 2006 hp_photosmart_7700_series_USB_1 accepting requests since Wed Jul 26 20:25:52 2006 The lpstat command will show if you are seeing the printer or not. I just figured this out last night. Hope it works for you. However when I try to print to it I get messages in CUPS like: "Destination printer does not exist!" I'm sure it's just me not understanding the right way to input the printer's address. Thanks in advance, Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] minicom && usb-serrial cable config
On 8/3/06, James <[EMAIL PROTECTED]> wrote: Hello, I recently got an HP 8000 laptop with any 9-pin serial ports. I got a Entrega USB-to-serail cable. lsusb sees the device: Bus 003 Device 002: ID 046d:c01b Logitech, Inc. MX310 Optical Mouse Bus 003 Device 001: ID : Bus 002 Device 003: ID 1645:8003 Entrega [hex] Bus 002 Device 001: ID : Bus 001 Device 001: ID : When I compile the Entrega usb driver into the kernel is shows up in dmesg: drivers/usb/serial/usb-serial.c: USB Serial support registered for Xircom / Entrega PGS - (prerenumeration) and I can go to /dev/bus/usb/002/ and see with ls: 001 003 But when I go to minicom and go to set the serial port config, I do not know how to designate the port: With an ordinary (16550) serial port it would be something like: /dev/ttyS1 or/dev/ttyS0 What would it be with this Entrega device? I also tried with the driver configured as a loadable model, but with no success. Any ideas? My usb to serial cable gets recognized as /dev/ttyUSB1 Hope that helps. Kirby -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] qmailscanner problem
On 7/14/06, Suranga Kasthuriarachchi <[EMAIL PROTECTED]> wrote: Dear all, im very new to qmail. im using qmail on gentoo. and clamav with qmailscanner, im receiving a message like below, please help me on this matter. " *Subject: * Cron <[EMAIL PROTECTED]> test -x /usr/sbin/run-crons && /usr/sbin/run-crons *From: * "Cron Daemon" <[EMAIL PROTECTED] > * Date: * Tue, July 11, 2006 6:20 am *To: * [EMAIL PROTECTED] * Priority: * Normal *Options: * View Full Header< http://mail.kananlanka.com/src/view_header.php?mailbox=INBOX&passed_id=3&passed_ent_id=0 > | View Printable Version error: stat of /var/spool/qmailscan/qmail-queue.log failed: No such file or directory error: stat of /var/spool/qmailscan/mailstats .csv failed: No such file or directory X-Qmail-Scanner-2.01st:[] cannot create /var/spool/qscan/tmp - No such file or directory " http://bugs.gentoo.org/show_bug.cgi?id=135636 I masked qmail-scanner 2.01 in package.mask until this bug got fixed. Qmail-scanner 1.25 doesn't have this problem. Sam -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cannot print after changing CUPS printer
On 6/28/06, Michael [Plouj] Ploujnikov <[EMAIL PROTECTED]> wrote: On 6/28/06, Mick <[EMAIL PROTECTED]> wrote: > Did you by any chance change your /etc/cups/cupsd.conf file settings > from the default? I think this is all I changed: --- /etc/cups/cupsd.conf(revision 367) +++ /etc/cups/cupsd.conf(revision 413) @@ -533,7 +533,7 @@ #BrowseAddress x.y.255.255 #BrowseAddress x.255.255.255 #BrowseAddress 255.255.255.255 -#BrowseAddress @LOCAL +BrowseAddress @LOCAL #BrowseAddress @IF(name) # @@ -768,6 +768,7 @@ Order Deny,Allow Deny From All Allow From 127.0.0.1 +Allow From 10.1.1.* # > How is your pdfprint connected to the PC? please ignore pdfprint for the sake of this thread. I am only concerned with the other printer - gray-deskjet: parallel:/dev/lp0 > If they are both connected via your parallel port, have you configured it > correctly in your kernel? There is only one parallel port printer attached to my system, that is the printer in question here: gray-deskjet: parallel:/dev/lp0 Yes, I compiled the kernel properly. That is how other machines on my LAN can print to this printer, and I can print a test page using CUPS web interface. > Sorry for stating the obvious but the error > seems to point to an incorrect route (path) to the printer. have you > tried via USB? This printer does not have a USB connection, unfortunately. The printer model is HP 710c, for your information. -- gentoo-user@gentoo.org mailing list I'm sorry if I have missed it but have you looked in your cups error log for any messages. Also set your log level to debug and restart cups to get more detailed messages. Sam -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] pam-login
On 3/20/06, Mingfeng Yang <[EMAIL PROTECTED]> wrote: > emerge -uDvp system gave me > > [blocks B ] sys-apps/pam-login (is blocking sys-apps/shadow-4.0.14-r3) > [ebuild U ] app-shells/bash-3.1_p11 [3.1_p10] USE="nls -afs -bashlogger > -build" 1 kB > [ebuild U ] sys-libs/readline- 5.1_p3 [5.1_p2] 1,984 kB > [ebuild U ] sys-devel/gnuconfig-20060227 [20051223] 38 kB > [ebuild U ] sys-devel/binutils-2.16.1-r2 [2.16.1-r1] USE="nls -multislot > -multitarget -test -vanilla%" 12,297 kB > [ebuild U ] sys-apps/groff-1.19.2-r1 [1.19.2] USE="X" 2,835 kB > [ebuild U ] sys-apps/portage-2.1_pre6-r4 [2.1_pre6-r2] USE="-build -doc" > 0 kB > .. > > Then I unmerged pam-login imprudently. Ooops, then I could not login from > console anymore, though login by ssh or gdm is still fine. > So what's the problem here? How to resolve the confliction between pam-login > and shadow? > Good explanation here: http://planet.gentoo.org/developers/flameeyes/2006/03/19/the_shadow_and_pam_login_conflict about how it's not needed anymore and can be unmerged. Kirby -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] newbie livecd installation dual boot problems
On 3/9/06, TN <[EMAIL PROTECTED]> wrote: > Sarpy Sam wrote: > > I am assuming the kernel is built with JFS support compiled in and not > > as a module. > > > > I am not a genkernel user but couldn't you boot the machine like this, > > > > > > root (hd0,1) > > kernel /boot/kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/hda2 > > > > This will test if it's a kernel problem or a boot splash problem. > > > > Kirby > > > > > I gave that a go , but still no luck. I'm having one of those days. > > I think I'll reinstall using reiser - I thought that jfs would be fine All you have to do is chroot back in and rebuild your kernel with JFS built in, not as a module. it's not that difficult. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] newbie livecd installation dual boot problems
I am assuming the kernel is built with JFS support compiled in and not as a module. I am not a genkernel user but couldn't you boot the machine like this, root (hd0,1) kernel /boot/kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/hda2 This will test if it's a kernel problem or a boot splash problem. Kirby -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] newbie livecd installation dual boot problems
On 3/9/06, TN <[EMAIL PROTECTED]> wrote: > I'm attempting to install Gentoo with the GUI livecd 2006 utility, and > I'm installing it on a laptop which was dual booting happily with debian > & winxp. > > I wiped the debian installation, and carefully made sure that Gentoo > wasn't going to wipe out the winxp partition which is the first. I made > /dev/hda2 one partition for gentoo, and it's JFS. > > The installation process finished without errors, but when I reboot the > machine I have 2 problems: > > (i) the grub installation doesn't show the winxp entry (easy enough > fixed, but still an installation bug) > > (ii) gentoo starts booting, but fails when trying to mount the root device. > >> Determining root device... > >> Mounting root... > mount : Mounting /dev/hda2 on /newroot failed: Invalid argument > !! Could not mount specified ROOT, try again > !! The root block device is unspecified or not detected. > > > The grub boot lines are: > root (hd0,1) > kernel /boot/kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0 > init=/linuxrc ramdisk=8192 real_root=/dev/hda2 > initrd /boot/initramfs-genkernel-x86-2.6.15-gentoo-r5 > > This was how the installer set it up, so what needs to change to fix it ? > > thanks! >From the gentoo handbook located here http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10 Note: If your root filesystem is JFS, you must add " ro" to the kernel line since JFS needs to replay its log before it allows read-write mounting. I don't use JFS so I dobn't know exactly how to do it but this is what I got from searching google. Kirby -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] mysql DB file
On 2/21/06, Nick Smith <[EMAIL PROTECTED]> wrote: > where is the actual mysql DB file stored? what it the name as well? > found info on the net that pointed to either /usr/local/mysql/data or > /usr/local/var neither of which contain a mysql dir, the latter doesnt > even exsist on gentoo. > /var/lib/mysql Kirby -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: CUPS not allowing configuration from browser
On 2/9/06, Mark Knecht <[EMAIL PROTECTED]> wrote: > On 2/9/06, Harry Putnam <[EMAIL PROTECTED]> wrote: > > Mark Knecht <[EMAIL PROTECTED]> writes: > > > > > Hi, > > >In the past I've been able to give root/password info when > > > configuring printers from within http://localhost:631 but now it no > > > longer works. This is true on both of our Gentoo machines. > > > > > >Has something changed about this in a recent update? I'm assuming > > > some recent update has botched things up. > > > > > >How do I get it enabled again so taht it asked for the admin passowrd? > > > > You do have cupsd running when this happens eh? > > > > /etc/init.d/cupsd status to find out > > /etc/init.d/cupsd start to start it. > > Yes, CUPS is running: > > [EMAIL PROTECTED] ~ $ /etc/init.d/cupsd status > * status: started > [EMAIL PROTECTED] ~ $ > > It used to be that if I was in Firefox and tried to do something that > required administrator privileges then CUPS/Frefox popped up a dialog > box, I typed in root and root's password, and I was able to make the > change I needed. > > It is no longer working on both of our machines and I cannot configure CUPS. > > Also, and I find this VERY strange, but the printers we had configured > are still there and I can still print to them, but they are no longer > in printers.conf. How can I have printers working if they are not in > printers.conf? Has Gnome taken all this stuff over and hidden it from > me? > > dragonfly ~ # cat /etc/cups/printers.conf > # Printer configuration file for CUPS v1.1.23 > # Written by cupsd on Fri Feb 3 21:26:10 2006 > dragonfly ~ # > > Since there's a date of Feb. 3rd in this file I had been assuming > something happened at that time, but I don't know that's when this > problem specifically happened. I looked at /var/log/emerge and nothing > was emerged on that day. I had emerges on Jan. 30th, and then again on > Feb. 5th. > > I don't get it. > > Thanks for answering. > I am not saying it will work but I had a problem like this one time and I fianlly had to re-emerge cups to fix the problem. How that fixed it I don't know, but it did. I was allowed in again. Kirby -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problems Upgrading to Slotted MYSQL
On 2/8/06, Josh Pryor <[EMAIL PROTECTED]> wrote: > Kirby: > > I ran into the same problem upgrading 5.0.18 > 5.0.18-r30. Copying > the /var/lib/mysql directory to /var/lib/mysql-500 is correct, but you also > need to change the owner/group of the new directory: > > chown mysql:mysql -R /var/lib/mysql-500 > > Then after completing the rest of the guide you should be ready to go. hth, > Is that where I messed up? I never thought about the permissions. I will give it a try this weekend when my server load is low. Thanks. Kirby -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problems Upgrading to Slotted MYSQL
> you need to rename /etc/mysql to something like /etc/mysql-999 or delete if > you are going to unmerge 5.0.18 > then use eselect mysql to set your desired version > check my.cnf is it to your likings and /etc/conf.d/mysql points to correct > version at mycnf= > start server > > few weeks ago here was email about sloted mysql explaining all > > m Maybe I didn't make myself clear. I am following the guide given by Gentoo. I am having trouble and am looking for help. At the point in the guide where it states. Important: If you are upgrading between version revisions (ie. dev-db/mysql-5.0.18 to dev-db/mysql-5.0.18-r30), you can simply stop the database, move from one data directry to the other, and restart the server. This allows you to skip this section entirely. I am not sure what to do, the guide does not state how to do this, and am looking for help. I cannot move on to the point of deleting databases or unmerging things or setting eselect mysql until I get past the point I am having trouble. Hopefully I made myself clear enough now. Kirby -- gentoo-user@gentoo.org mailing list
[gentoo-user] Problems Upgrading to Slotted MYSQL
I presented this problem on the forums and have made no head way so I present it here to see if I can find a solution. I am going to ask a real stupid question here so bear with me. I currently have mysql 5.0.18 installed and am trying to upgrade to the slotted version 5.0.18-r30. I am following the upgrade guide found at: http://www.gentoo.org/doc/en/mysql-upgrade-slotted.xml I am having trouble at step 3 Important: If you are upgrading between version revisions (ie. dev-db/mysql-5.0.18 to dev-db/mysql-5.0.18-r30), you can simply stop the database, move from one data directry to the other, and restart the server. This allows you to skip this section entirely. Can somebody please tell me how I "move from one data directry to the other." I am not quite sure what that means or how to do it. Thanks. Somebody on the forums asked if I copied the contents of /var/lib/mysql to /var/lib/mysql-500. I tried this but then mysql-500 failed to start like the procedure said. The error I got in the log was; In the /var/log/mysql-500/mysqld.err 060205 13:01:32 [Warning] No argument was provided to --log-bin, and --log-bin-index was not used; so replication may break when this MySQL server acts as a master and has his hostname changed!! Please use '--log-bin=host-bin' to avoid this problem. /usr/sbin/mysqld-500: File './host-bin.index' not found (Errcode: 13) 060205 13:01:32 [ERROR] Aborting 060205 13:01:32 [Note] /usr/sbin/mysqld-500: Shutdown complete So now where do I go and what do I do? I will add the host-bin.index file is in the directory. Thanks for any help. Kirby -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: loopback device (lo, net.lo) cannot be brought up sucessfully at first try: SIOCSIFADDR: File exists/SIOCSIFFLAGS: Cannot assign requested address ...
I had the same problem. I did an emerge sync and emerge -uDva world. There was a new version of baselayout from the one this morning when I did an update so I installed it and everything works fine now. On 9/1/05, John Jolet <[EMAIL PROTECTED]> wrote: > > On Sep 1, 2005, at 4:57 PM, Alexander Skwar wrote: > > > Hello! > > > > Since recently, I cannot bring up the loopback device at > > the first attempt. Running net.lo fails like this: > > > > [EMAIL PROTECTED] ~ $ sudo /etc/init.d/net.lo start > > * Starting lo > > * Bringing up lo > > * 127.0.0.1/8 > > SIOCSIFADDR: File exists > > SIOCSIFFLAGS: Cannot assign requested address > > SIOCSIFNETMASK: Cannot assign requested address > > SIOCSIFBRDADDR: Cannot assign requested address > > SIOCSIFFLAGS: Cannot assign requested > > address [ !! ] > um, why are you having to start loopback by hand? does it fail to > start on boot? > -- > gentoo-user@gentoo.org mailing list > > -- Sarpy Sam Thoughts from the Middle of Nowhere http://nowherethoughts.net/sarpysam -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Static resolv.conf
> > > > > Yes, but after a reboot (I daily boot and shut down my computer) the > file's content is refreshed by the DHCP server. (nameserver 192.168.0.1) > -- > gentoo-user@gentoo.org mailing list > > I fixed this problem by adding the following flags to /etc/conf.d/net on the dhcpcd_eth0="-R -N -Y" line. -R Prevents dhcpcd from replacing existing /resolv.conf file. -Y Prevents dhcpcd from replacing existing /yp.conf file. Domainname is not updated unless -D is specified. -N Prevents dhcpcd from replacing existing /ntp.conf file. -- Sarpy Sam -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: OT - Need help setting up Gentoo to access digital camera
On 5/28/05, Uwe Klosa <[EMAIL PROTECTED]> wrote: > You should go through the USB HOWTO and SUBMOUNT HOWTO. That is working > great for me and all devices i connet via usb. The system will > recognize your camera as a mass storage device. > If you are using gphoto2 to access the camera you will not access it like a usb mass storage device. Read the man gphoto2 and you can use it right on the command line real easy. Kirby Walborn -- gentoo-user@gentoo.org mailing list