Re: Having Problems Mounting my External Hard-Disk
On Saturday 25 July 2009 15:31:32 Shlomi Fish wrote: > Hi all! > > I have an external USB hard-disk ( Maxtor 500 GB). Up to a few weeks ago, I > was able to mount it and access it properly on my Mandriva Cooker system. > Recently, however I got this error: > > {{{ > shlomi:~$ echo "Before connecting the external disk" > Before connecting the external disk > shlomi:~$ cat /etc/fstab | grep external > /dev/sdd1 /mnt/external ext3rw,noauto,user 1 0 > shlomi:~$ mount /mnt/external/ > mount: special device /dev/sdd1 does not exist > shlomi:~$ echo "Connecting external disk" > Connecting external disk > shlomi:~$ mount /mnt/external/ > mount: /dev/sdd1 already mounted or /mnt/external busy > shlomi:~$ dmesg | tail > scsi 4:0:0:0: Direct-Access Maxtor OneTouch 0125 PQ: 0 ANSI: > 4 sd 4:0:0:0: Attached scsi generic sg5 type 0 > usb-storage: device scan complete > sd 4:0:0:0: [sdd] 976773168 512-byte hardware sectors: (500 GB/465 GiB) > sd 4:0:0:0: [sdd] Write Protect is off > sd 4:0:0:0: [sdd] Mode Sense: 2d 08 00 00 > sd 4:0:0:0: [sdd] Assuming drive cache: write through > sd 4:0:0:0: [sdd] Assuming drive cache: write through > sdd: sdd1 > sd 4:0:0:0: [sdd] Attached SCSI disk > shlomi:~$ mount /dev/sde1 /mnt/external/ > mount: only root can do that > shlomi:~$ mount > /dev/sdc1 on / type xfs (rw) > none on /proc type proc (rw) > /dev/sdc2 on /home type xfs (rw) > /dev/sdc5 on /mnt/Test-fedora type ext3 (rw,nosuid) > /dev/sdc6 on /mnt/archlinux type ext3 (rw,nosuid) > /dev/sdb3 on /mnt/kubuntu type xfs (rw,nosuid) > /dev/sdb1 on /mnt/old-mandriva type xfs (rw,nosuid) > /dev/sda1 on /mnt/win_c type vfat > (rw,uid=502,gid=502,iocharset=iso8859-8,codepage=862,umask=002) > /dev/sda5 on /mnt/win_d type vfat > (rw,uid=502,gid=502,iocharset=iso8859-8,codepage=86,umask=002) > none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) > gvfs-fuse-daemon on /home/shlomi/.gvfs type fuse.gvfs-fuse-daemon > (rw,nosuid,nodev,user=shlomi) > shlomi:~$ > }}} > > Can anyone tell me what's wrong? I'm using: > > {{{ > Linux telaviv1.shlomifish.org 2.6.30.2-desktop-1mnb #1 SMP Mon Jul 20 > 23:44:44 EDT 2009 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GNU/Linux > }}} > Replying to myself I'd like to note, that after booting up the Mandriva system with a vanilla/linus 2.6.30.3 kernel, the external hard-disk is working fine. I reported this as a bug in the Mandriva kernel: https://qa.mandriva.com/show_bug.cgi?id=52453 Regards, Shlomi Fish -- - Shlomi Fish http://www.shlomifish.org/ Why I Love Perl - http://xrl.us/bjn88 God gave us two eyes and ten fingers so we will type five times as much as we read. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Looking for lecturer
Hi list-members, As a "competitor" of Gilad Ben-Yosef, I endorse Aviv's recommendation. Not only is Gilad a pro, his lectures are real entertainment. With no connection to the above recommendation, with any lecturer, make sure that you sit down with him/her beforehand and explain what it is that you expect. I once had an unfortunate experience at Cisco when I arrived without having met the development group first. They were expecting something entirely different from what I had prepared and the lecture series ended with a bang about twenty minutes into the first lecture (ouch!). Regards, - yba On Fri, 24 Jul 2009, Aviv Greenberg wrote: Date: Fri, 24 Jul 2009 18:15:02 +0300 From: Aviv Greenberg To: Noam Meltzer Cc: IGLU Subject: Re: Looking for lecturer Hi Noam, I recommend you contact Gilad Ben-Yosef (just google the name) - he is a real pro, both on the technical side and on lecturing about Linux Kerenl. I've been to some of his lectures, i really think he just great - and on top he is a nice guy too. I'm not affiliated to him on any level. thanks, Aviv On 22/07/2009, Noam Meltzer wrote: Hi, The R&D group I'm working at is looking for a Linux expert to give us a series of lectures about the Linux OS. We are a group of 20 programmers developing in the Linux kernel. The focus of the lectures will be on different Kernel topics: Memory, SMP, Device driver, Synchronization, Scheduler. The lectures should be in-depth and not a simple overview. If you're interested, please reply to me off-list. Best regards, Noam Meltzer ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- EE 77 7F 30 4A 64 2E C5 83 5F E7 49 A6 82 29 BA~. .~ Tk Open Systems =}ooO--U--Ooo{= - y...@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il - ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Having Problems Mounting my External Hard-Disk
After all these results, maybe it's worth to try usb storage device as built in instead of module. On 7/26/09, Shlomi Fish wrote: > Hi all! > > I should note that after rebooting to my Debian partition, the > external hard-disk is successfully mounted and I can see the > partition. So it's likely a problem with the Mandriva kernel or > something like that. I'll investigate. > > Regards, > > > > On Sat, Jul 25, 2009 at 9:40 PM, Shlomi Fish wrote: >> On Saturday 25 July 2009 16:29:29 sara fink wrote: >>> I also see that you have a new kernel that you installed lately. Did >>> you check usb support in the kernel? Module or built in? lsmod will >>> show you which modules you have autoloaded. >>> >>> grep -i usb /usr/src/linux/.config will show you what's going on. mass >>> storage device >>> >>> post here also grep -i storage /usr/src/linux/.config >>> >>> is CONFIG_USB_STORAGE_ONETOUCH set or not? >>> >> >> All the CONFIG_USB_STORAGE_* are modules ("=m"). I tried modprobe'ing >> ums- >> onetouch . The modprobe was successful, but I still got the same problem >> when >> trying to mount the file-system. >> >> Regards, >> >>Shlomi Fish >> >>> On 7/25/09, Shlomi Fish wrote: >>> > Hi all! >>> > >>> > I have an external USB hard-disk ( Maxtor 500 GB). Up to a few weeks >>> > ago, >>> > I was able to mount it and access it properly on my Mandriva Cooker >>> > system. Recently, however I got this error: >>> > >>> > {{{ >>> > shlomi:~$ echo "Before connecting the external disk" >>> > Before connecting the external disk >>> > shlomi:~$ cat /etc/fstab | grep external >>> > /dev/sdd1 /mnt/external ext3rw,noauto,user 1 0 >>> > shlomi:~$ mount /mnt/external/ >>> > mount: special device /dev/sdd1 does not exist >>> > shlomi:~$ echo "Connecting external disk" >>> > Connecting external disk >>> > shlomi:~$ mount /mnt/external/ >>> > mount: /dev/sdd1 already mounted or /mnt/external busy >>> > shlomi:~$ dmesg | tail >>> > scsi 4:0:0:0: Direct-Access Maxtor OneTouch 0125 PQ: 0 >>> > ANSI: 4 sd 4:0:0:0: Attached scsi generic sg5 type 0 >>> > usb-storage: device scan complete >>> > sd 4:0:0:0: [sdd] 976773168 512-byte hardware sectors: (500 GB/465 >>> > GiB) >>> > sd 4:0:0:0: [sdd] Write Protect is off >>> > sd 4:0:0:0: [sdd] Mode Sense: 2d 08 00 00 >>> > sd 4:0:0:0: [sdd] Assuming drive cache: write through >>> > sd 4:0:0:0: [sdd] Assuming drive cache: write through >>> > sdd: sdd1 >>> > sd 4:0:0:0: [sdd] Attached SCSI disk >>> > shlomi:~$ mount /dev/sde1 /mnt/external/ >>> > mount: only root can do that >>> > shlomi:~$ mount >>> > /dev/sdc1 on / type xfs (rw) >>> > none on /proc type proc (rw) >>> > /dev/sdc2 on /home type xfs (rw) >>> > /dev/sdc5 on /mnt/Test-fedora type ext3 (rw,nosuid) >>> > /dev/sdc6 on /mnt/archlinux type ext3 (rw,nosuid) >>> > /dev/sdb3 on /mnt/kubuntu type xfs (rw,nosuid) >>> > /dev/sdb1 on /mnt/old-mandriva type xfs (rw,nosuid) >>> > /dev/sda1 on /mnt/win_c type vfat >>> > (rw,uid=502,gid=502,iocharset=iso8859-8,codepage=862,umask=002) >>> > /dev/sda5 on /mnt/win_d type vfat >>> > (rw,uid=502,gid=502,iocharset=iso8859-8,codepage=86,umask=002) >>> > none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) >>> > gvfs-fuse-daemon on /home/shlomi/.gvfs type fuse.gvfs-fuse-daemon >>> > (rw,nosuid,nodev,user=shlomi) >>> > shlomi:~$ >>> > }}} >>> > >>> > Can anyone tell me what's wrong? I'm using: >>> > >>> > {{{ >>> > Linux telaviv1.shlomifish.org 2.6.30.2-desktop-1mnb #1 SMP Mon Jul 20 >>> > 23:44:44 >>> > EDT 2009 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GNU/Linux >>> > }}} >>> > >>> > Regards, >>> > >>> > Shlomi Fish >>> > >>> > -- >>> > - >>> > Shlomi Fish http://www.shlomifish.org/ >>> > Rethinking CPAN - http://xrl.us/bjn7p >>> > >>> > God gave us two eyes and ten fingers so we will type five times as >>> > much >>> > as we >>> > read. >>> > >>> > ___ >>> > Linux-il mailing list >>> > Linux-il@cs.huji.ac.il >>> > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> >> -- >> - >> Shlomi Fish http://www.shlomifish.org/ >> Funny Anti-Terrorism Story - http://xrl.us/bjn7t >> >> God gave us two eyes and ten fingers so we will type five times as much as >> we >> read. >> >> ___ >> Linux-il mailing list >> Linux-il@cs.huji.ac.il >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> > > > > -- > -- > Shlomi Fish http://www.shlomifish.org/ > > Electrical Engineering studies. In the Technion. Been there. Done > that. Forgot a lot. Remember too much. > ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Having Problems Mounting my External Hard-Disk
Hi all! I should note that after rebooting to my Debian partition, the external hard-disk is successfully mounted and I can see the partition. So it's likely a problem with the Mandriva kernel or something like that. I'll investigate. Regards, On Sat, Jul 25, 2009 at 9:40 PM, Shlomi Fish wrote: > On Saturday 25 July 2009 16:29:29 sara fink wrote: >> I also see that you have a new kernel that you installed lately. Did >> you check usb support in the kernel? Module or built in? lsmod will >> show you which modules you have autoloaded. >> >> grep -i usb /usr/src/linux/.config will show you what's going on. mass >> storage device >> >> post here also grep -i storage /usr/src/linux/.config >> >> is CONFIG_USB_STORAGE_ONETOUCH set or not? >> > > All the CONFIG_USB_STORAGE_* are modules ("=m"). I tried modprobe'ing ums- > onetouch . The modprobe was successful, but I still got the same problem when > trying to mount the file-system. > > Regards, > > Shlomi Fish > >> On 7/25/09, Shlomi Fish wrote: >> > Hi all! >> > >> > I have an external USB hard-disk ( Maxtor 500 GB). Up to a few weeks ago, >> > I was able to mount it and access it properly on my Mandriva Cooker >> > system. Recently, however I got this error: >> > >> > {{{ >> > shlomi:~$ echo "Before connecting the external disk" >> > Before connecting the external disk >> > shlomi:~$ cat /etc/fstab | grep external >> > /dev/sdd1 /mnt/external ext3 rw,noauto,user 1 0 >> > shlomi:~$ mount /mnt/external/ >> > mount: special device /dev/sdd1 does not exist >> > shlomi:~$ echo "Connecting external disk" >> > Connecting external disk >> > shlomi:~$ mount /mnt/external/ >> > mount: /dev/sdd1 already mounted or /mnt/external busy >> > shlomi:~$ dmesg | tail >> > scsi 4:0:0:0: Direct-Access Maxtor OneTouch 0125 PQ: 0 >> > ANSI: 4 sd 4:0:0:0: Attached scsi generic sg5 type 0 >> > usb-storage: device scan complete >> > sd 4:0:0:0: [sdd] 976773168 512-byte hardware sectors: (500 GB/465 GiB) >> > sd 4:0:0:0: [sdd] Write Protect is off >> > sd 4:0:0:0: [sdd] Mode Sense: 2d 08 00 00 >> > sd 4:0:0:0: [sdd] Assuming drive cache: write through >> > sd 4:0:0:0: [sdd] Assuming drive cache: write through >> > sdd: sdd1 >> > sd 4:0:0:0: [sdd] Attached SCSI disk >> > shlomi:~$ mount /dev/sde1 /mnt/external/ >> > mount: only root can do that >> > shlomi:~$ mount >> > /dev/sdc1 on / type xfs (rw) >> > none on /proc type proc (rw) >> > /dev/sdc2 on /home type xfs (rw) >> > /dev/sdc5 on /mnt/Test-fedora type ext3 (rw,nosuid) >> > /dev/sdc6 on /mnt/archlinux type ext3 (rw,nosuid) >> > /dev/sdb3 on /mnt/kubuntu type xfs (rw,nosuid) >> > /dev/sdb1 on /mnt/old-mandriva type xfs (rw,nosuid) >> > /dev/sda1 on /mnt/win_c type vfat >> > (rw,uid=502,gid=502,iocharset=iso8859-8,codepage=862,umask=002) >> > /dev/sda5 on /mnt/win_d type vfat >> > (rw,uid=502,gid=502,iocharset=iso8859-8,codepage=86,umask=002) >> > none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) >> > gvfs-fuse-daemon on /home/shlomi/.gvfs type fuse.gvfs-fuse-daemon >> > (rw,nosuid,nodev,user=shlomi) >> > shlomi:~$ >> > }}} >> > >> > Can anyone tell me what's wrong? I'm using: >> > >> > {{{ >> > Linux telaviv1.shlomifish.org 2.6.30.2-desktop-1mnb #1 SMP Mon Jul 20 >> > 23:44:44 >> > EDT 2009 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GNU/Linux >> > }}} >> > >> > Regards, >> > >> > Shlomi Fish >> > >> > -- >> > - >> > Shlomi Fish http://www.shlomifish.org/ >> > Rethinking CPAN - http://xrl.us/bjn7p >> > >> > God gave us two eyes and ten fingers so we will type five times as much >> > as we >> > read. >> > >> > ___ >> > Linux-il mailing list >> > Linux-il@cs.huji.ac.il >> > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -- > - > Shlomi Fish http://www.shlomifish.org/ > Funny Anti-Terrorism Story - http://xrl.us/bjn7t > > God gave us two eyes and ten fingers so we will type five times as much as we > read. > > ___ > Linux-il mailing list > Linux-il@cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -- -- Shlomi Fish http://www.shlomifish.org/ Electrical Engineering studies. In the Technion. Been there. Done that. Forgot a lot. Remember too much. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Having Problems Mounting my External Hard-Disk
On Saturday 25 July 2009 16:29:29 sara fink wrote: > I also see that you have a new kernel that you installed lately. Did > you check usb support in the kernel? Module or built in? lsmod will > show you which modules you have autoloaded. > > grep -i usb /usr/src/linux/.config will show you what's going on. mass > storage device > > post here also grep -i storage /usr/src/linux/.config > > is CONFIG_USB_STORAGE_ONETOUCH set or not? > All the CONFIG_USB_STORAGE_* are modules ("=m"). I tried modprobe'ing ums- onetouch . The modprobe was successful, but I still got the same problem when trying to mount the file-system. Regards, Shlomi Fish > On 7/25/09, Shlomi Fish wrote: > > Hi all! > > > > I have an external USB hard-disk ( Maxtor 500 GB). Up to a few weeks ago, > > I was able to mount it and access it properly on my Mandriva Cooker > > system. Recently, however I got this error: > > > > {{{ > > shlomi:~$ echo "Before connecting the external disk" > > Before connecting the external disk > > shlomi:~$ cat /etc/fstab | grep external > > /dev/sdd1 /mnt/external ext3rw,noauto,user 1 0 > > shlomi:~$ mount /mnt/external/ > > mount: special device /dev/sdd1 does not exist > > shlomi:~$ echo "Connecting external disk" > > Connecting external disk > > shlomi:~$ mount /mnt/external/ > > mount: /dev/sdd1 already mounted or /mnt/external busy > > shlomi:~$ dmesg | tail > > scsi 4:0:0:0: Direct-Access Maxtor OneTouch 0125 PQ: 0 > > ANSI: 4 sd 4:0:0:0: Attached scsi generic sg5 type 0 > > usb-storage: device scan complete > > sd 4:0:0:0: [sdd] 976773168 512-byte hardware sectors: (500 GB/465 GiB) > > sd 4:0:0:0: [sdd] Write Protect is off > > sd 4:0:0:0: [sdd] Mode Sense: 2d 08 00 00 > > sd 4:0:0:0: [sdd] Assuming drive cache: write through > > sd 4:0:0:0: [sdd] Assuming drive cache: write through > > sdd: sdd1 > > sd 4:0:0:0: [sdd] Attached SCSI disk > > shlomi:~$ mount /dev/sde1 /mnt/external/ > > mount: only root can do that > > shlomi:~$ mount > > /dev/sdc1 on / type xfs (rw) > > none on /proc type proc (rw) > > /dev/sdc2 on /home type xfs (rw) > > /dev/sdc5 on /mnt/Test-fedora type ext3 (rw,nosuid) > > /dev/sdc6 on /mnt/archlinux type ext3 (rw,nosuid) > > /dev/sdb3 on /mnt/kubuntu type xfs (rw,nosuid) > > /dev/sdb1 on /mnt/old-mandriva type xfs (rw,nosuid) > > /dev/sda1 on /mnt/win_c type vfat > > (rw,uid=502,gid=502,iocharset=iso8859-8,codepage=862,umask=002) > > /dev/sda5 on /mnt/win_d type vfat > > (rw,uid=502,gid=502,iocharset=iso8859-8,codepage=86,umask=002) > > none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) > > gvfs-fuse-daemon on /home/shlomi/.gvfs type fuse.gvfs-fuse-daemon > > (rw,nosuid,nodev,user=shlomi) > > shlomi:~$ > > }}} > > > > Can anyone tell me what's wrong? I'm using: > > > > {{{ > > Linux telaviv1.shlomifish.org 2.6.30.2-desktop-1mnb #1 SMP Mon Jul 20 > > 23:44:44 > > EDT 2009 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GNU/Linux > > }}} > > > > Regards, > > > > Shlomi Fish > > > > -- > > - > > Shlomi Fish http://www.shlomifish.org/ > > Rethinking CPAN - http://xrl.us/bjn7p > > > > God gave us two eyes and ten fingers so we will type five times as much > > as we > > read. > > > > ___ > > Linux-il mailing list > > Linux-il@cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- - Shlomi Fish http://www.shlomifish.org/ Funny Anti-Terrorism Story - http://xrl.us/bjn7t God gave us two eyes and ten fingers so we will type five times as much as we read. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Having Problems Mounting my External Hard-Disk
On Saturday 25 July 2009 16:22:53 sara fink wrote: > Hi Shlomi > > Your /etc/fstab suggests that the usb hd isn't mounted automatically > upon boot. So when you mount as root sometimes you can specify ext3 as > filesystem and sometimes you don't need. I had this case once. This > was solved. > > as root mount /dev/sdd1 /mnt/external or mount -t ext3 /dev/sdd1 > /mnt/external Same problem: {{{ [r...@telaviv1 shlomi]# mount -t ext3 /dev/sdd1 /mnt/external/mount: /dev/sdd1 already mounted or /mnt/external/ busy }}} > > From dmesg it appears as sg5 try to do ls -l /dev/sg* to see if you > have some symlink to any device number of sdd. Maybe it was changed > from sdd1 to sdd2 or other? you have some timing estimation from > dmesg? Maybe the output of dmesg is older and sdd became sde or other? > {{ [r...@telaviv1 shlomi]# ls -l /dev/sg* crw-rw 1 shlomi cdwriter 21, 0 2009-07-25 10:42 /dev/sg0 crw-rw 1 shlomi cdwriter 21, 1 2009-07-25 10:42 /dev/sg1 crw-rw+ 1 shlomi cdwriter 21, 2 2009-07-25 10:42 /dev/sg2 crw-rw+ 1 shlomi cdwriter 21, 3 2009-07-25 10:42 /dev/sg3 crw-rw 1 shlomi cdwriter 21, 4 2009-07-25 10:42 /dev/sg4 crw-rw 1 shlomi cdwriter 21, 5 2009-07-25 21:20 /dev/sg5 }}} > to get an information to my previous question try to run > > ls -l /dev/sd* > {{{ [r...@telaviv1 shlomi]# ls -l /dev/sd* brw-rw 1 root disk 8, 0 2009-07-25 10:42 /dev/sda brw-rw 1 root disk 8, 1 2009-07-25 10:42 /dev/sda1 brw-rw 1 root disk 8, 2 2009-07-25 10:42 /dev/sda2 brw-rw 1 root disk 8, 5 2009-07-25 10:42 /dev/sda5 brw-rw 1 root disk 8, 16 2009-07-25 10:42 /dev/sdb brw-rw 1 root disk 8, 17 2009-07-25 10:42 /dev/sdb1 brw-rw 1 root disk 8, 18 2009-07-25 10:42 /dev/sdb2 brw-rw 1 root disk 8, 19 2009-07-25 10:42 /dev/sdb3 brw-rw 1 root disk 8, 21 2009-07-25 10:42 /dev/sdb5 brw-rw 1 root disk 8, 32 2009-07-25 10:42 /dev/sdc brw-rw 1 root disk 8, 33 2009-07-25 10:42 /dev/sdc1 brw-rw 1 root disk 8, 34 2009-07-25 10:42 /dev/sdc2 brw-rw 1 root disk 8, 35 2009-07-25 10:42 /dev/sdc3 brw-rw 1 root disk 8, 37 2009-07-25 10:42 /dev/sdc5 brw-rw 1 root disk 8, 38 2009-07-25 10:42 /dev/sdc6 brw-rw 1 root disk 8, 48 2009-07-25 21:20 /dev/sdd brw-rw 1 root disk 8, 49 2009-07-25 21:20 /dev/sdd1 > try to run lsusb and see if the hd is seen at all. There might be a > simple cable issue. > [r...@telaviv1 shlomi]# lsusb Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 003: ID 0d49:7310 Maxtor Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub }}} > If it appears in lsusb maybe you should consider this line in fstab: > none/proc/bus/usb usbfs > devgid=1014,devmode=664 0 0 > I added this line but /proc/bus/usb seems to be already mounted. None of this seems to have helped me. Regards, Shlomi Fish > Good Luck > > On 7/25/09, Shlomi Fish wrote: > > Hi all! > > > > I have an external USB hard-disk ( Maxtor 500 GB). Up to a few weeks ago, > > I was able to mount it and access it properly on my Mandriva Cooker > > system. Recently, however I got this error: > > > > {{{ > > shlomi:~$ echo "Before connecting the external disk" > > Before connecting the external disk > > shlomi:~$ cat /etc/fstab | grep external > > /dev/sdd1 /mnt/external ext3rw,noauto,user 1 0 > > shlomi:~$ mount /mnt/external/ > > mount: special device /dev/sdd1 does not exist > > shlomi:~$ echo "Connecting external disk" > > Connecting external disk > > shlomi:~$ mount /mnt/external/ > > mount: /dev/sdd1 already mounted or /mnt/external busy > > shlomi:~$ dmesg | tail > > scsi 4:0:0:0: Direct-Access Maxtor OneTouch 0125 PQ: 0 > > ANSI: 4 sd 4:0:0:0: Attached scsi generic sg5 type 0 > > usb-storage: device scan complete > > sd 4:0:0:0: [sdd] 976773168 512-byte hardware sectors: (500 GB/465 GiB) > > sd 4:0:0:0: [sdd] Write Protect is off > > sd 4:0:0:0: [sdd] Mode Sense: 2d 08 00 00 > > sd 4:0:0:0: [sdd] Assuming drive cache: write through > > sd 4:0:0:0: [sdd] Assuming drive cache: write through > > sdd: sdd1 > > sd 4:0:0:0: [sdd] Attached SCSI disk > > shlomi:~$ mount /dev/sde1 /mnt/external/ > > mount: only root can do that > > shlomi:~$ mount > > /dev/sdc1 on / type xfs (rw) > > none on /proc type proc (rw) > > /dev/sdc2 on /home type xfs (rw) > > /dev/sdc5 on /mnt/Test-fedora type ext3 (rw,nosuid) > > /dev/sdc6 on /mnt/archlinux type ext3 (rw,nosuid) > > /dev/sdb3 on /mnt/kubuntu type xfs (rw,nosuid) > > /dev/sdb1 on /mnt/old-mandriva type xfs (rw,nosuid) > > /dev/sda1 on /mnt/win_c type vfat > > (rw,uid=502,gid=502,iocharset=iso8859-8,codepage=862,umask=002) > > /dev/sda5 on /mnt/win_d type vfat > > (rw,uid=502,gid=502,iocharset=iso8859
[HAIFUX LECTURE] How Time Flies: Jiffies, Hi-Res Timers and the Tickless Kernel
On Monday, July 27th at 18:30, Haifux will gather to hear Gilad Ben-Yossef's talk How Time Flies: Jiffies, Hi-Res Timers and the Tickless Kernel: Abstract This lecture describes the Linux time keeping mechanism and related features, covering: * Jiffies and HZ: how the Linux kernel measure the passing of time * Hi-Res Timers: Accuracy and precision of the Linux time keeping code * Clock sources: abstractions of time keeping hardware * Tick-less kernel: how the above contribute to a better Linux performance in real time, power consumption and virtualization domains = We meet in Taub building, room 6. For instructions see: http://www.haifux.org/where.html Attendance is free, and you are all invited! == Future lectures: 10/8/09 GCC Profile Guided Optimization: Shachar Shemesh 17/8/09 Mesh networking; kernel, netlink and transport layer sockets: Rami Rosen == We are always interested in hearing your talks and ideas. If you wish to give a talk, hold a discussion, or just plan some event haifux might be interested in, please contact us at webmas...@haifux.org -- Web: http://www.billauer.co.il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Having Problems Mounting my External Hard-Disk
Hi Shlomi Your /etc/fstab suggests that the usb hd isn't mounted automatically upon boot. So when you mount as root sometimes you can specify ext3 as filesystem and sometimes you don't need. I had this case once. This was solved. as root mount /dev/sdd1 /mnt/external or mount -t ext3 /dev/sdd1 /mnt/external >From dmesg it appears as sg5 try to do ls -l /dev/sg* to see if you have some symlink to any device number of sdd. Maybe it was changed from sdd1 to sdd2 or other? you have some timing estimation from dmesg? Maybe the output of dmesg is older and sdd became sde or other? to get an information to my previous question try to run ls -l /dev/sd* try to run lsusb and see if the hd is seen at all. There might be a simple cable issue. If it appears in lsusb maybe you should consider this line in fstab: none/proc/bus/usb usbfs devgid=1014,devmode=664 0 0 Good Luck On 7/25/09, Shlomi Fish wrote: > Hi all! > > I have an external USB hard-disk ( Maxtor 500 GB). Up to a few weeks ago, I > was able to mount it and access it properly on my Mandriva Cooker system. > Recently, however I got this error: > > {{{ > shlomi:~$ echo "Before connecting the external disk" > Before connecting the external disk > shlomi:~$ cat /etc/fstab | grep external > /dev/sdd1 /mnt/external ext3rw,noauto,user 1 0 > shlomi:~$ mount /mnt/external/ > mount: special device /dev/sdd1 does not exist > shlomi:~$ echo "Connecting external disk" > Connecting external disk > shlomi:~$ mount /mnt/external/ > mount: /dev/sdd1 already mounted or /mnt/external busy > shlomi:~$ dmesg | tail > scsi 4:0:0:0: Direct-Access Maxtor OneTouch 0125 PQ: 0 ANSI: 4 > sd 4:0:0:0: Attached scsi generic sg5 type 0 > usb-storage: device scan complete > sd 4:0:0:0: [sdd] 976773168 512-byte hardware sectors: (500 GB/465 GiB) > sd 4:0:0:0: [sdd] Write Protect is off > sd 4:0:0:0: [sdd] Mode Sense: 2d 08 00 00 > sd 4:0:0:0: [sdd] Assuming drive cache: write through > sd 4:0:0:0: [sdd] Assuming drive cache: write through > sdd: sdd1 > sd 4:0:0:0: [sdd] Attached SCSI disk > shlomi:~$ mount /dev/sde1 /mnt/external/ > mount: only root can do that > shlomi:~$ mount > /dev/sdc1 on / type xfs (rw) > none on /proc type proc (rw) > /dev/sdc2 on /home type xfs (rw) > /dev/sdc5 on /mnt/Test-fedora type ext3 (rw,nosuid) > /dev/sdc6 on /mnt/archlinux type ext3 (rw,nosuid) > /dev/sdb3 on /mnt/kubuntu type xfs (rw,nosuid) > /dev/sdb1 on /mnt/old-mandriva type xfs (rw,nosuid) > /dev/sda1 on /mnt/win_c type vfat > (rw,uid=502,gid=502,iocharset=iso8859-8,codepage=862,umask=002) > /dev/sda5 on /mnt/win_d type vfat > (rw,uid=502,gid=502,iocharset=iso8859-8,codepage=86,umask=002) > none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) > gvfs-fuse-daemon on /home/shlomi/.gvfs type fuse.gvfs-fuse-daemon > (rw,nosuid,nodev,user=shlomi) > shlomi:~$ > }}} > > Can anyone tell me what's wrong? I'm using: > > {{{ > Linux telaviv1.shlomifish.org 2.6.30.2-desktop-1mnb #1 SMP Mon Jul 20 > 23:44:44 > EDT 2009 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GNU/Linux > }}} > > Regards, > > Shlomi Fish > > -- > - > Shlomi Fish http://www.shlomifish.org/ > Rethinking CPAN - http://xrl.us/bjn7p > > God gave us two eyes and ten fingers so we will type five times as much as > we > read. > > ___ > Linux-il mailing list > Linux-il@cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Having Problems Mounting my External Hard-Disk
Hi all! I have an external USB hard-disk ( Maxtor 500 GB). Up to a few weeks ago, I was able to mount it and access it properly on my Mandriva Cooker system. Recently, however I got this error: {{{ shlomi:~$ echo "Before connecting the external disk" Before connecting the external disk shlomi:~$ cat /etc/fstab | grep external /dev/sdd1 /mnt/external ext3rw,noauto,user 1 0 shlomi:~$ mount /mnt/external/ mount: special device /dev/sdd1 does not exist shlomi:~$ echo "Connecting external disk" Connecting external disk shlomi:~$ mount /mnt/external/ mount: /dev/sdd1 already mounted or /mnt/external busy shlomi:~$ dmesg | tail scsi 4:0:0:0: Direct-Access Maxtor OneTouch 0125 PQ: 0 ANSI: 4 sd 4:0:0:0: Attached scsi generic sg5 type 0 usb-storage: device scan complete sd 4:0:0:0: [sdd] 976773168 512-byte hardware sectors: (500 GB/465 GiB) sd 4:0:0:0: [sdd] Write Protect is off sd 4:0:0:0: [sdd] Mode Sense: 2d 08 00 00 sd 4:0:0:0: [sdd] Assuming drive cache: write through sd 4:0:0:0: [sdd] Assuming drive cache: write through sdd: sdd1 sd 4:0:0:0: [sdd] Attached SCSI disk shlomi:~$ mount /dev/sde1 /mnt/external/ mount: only root can do that shlomi:~$ mount /dev/sdc1 on / type xfs (rw) none on /proc type proc (rw) /dev/sdc2 on /home type xfs (rw) /dev/sdc5 on /mnt/Test-fedora type ext3 (rw,nosuid) /dev/sdc6 on /mnt/archlinux type ext3 (rw,nosuid) /dev/sdb3 on /mnt/kubuntu type xfs (rw,nosuid) /dev/sdb1 on /mnt/old-mandriva type xfs (rw,nosuid) /dev/sda1 on /mnt/win_c type vfat (rw,uid=502,gid=502,iocharset=iso8859-8,codepage=862,umask=002) /dev/sda5 on /mnt/win_d type vfat (rw,uid=502,gid=502,iocharset=iso8859-8,codepage=86,umask=002) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) gvfs-fuse-daemon on /home/shlomi/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=shlomi) shlomi:~$ }}} Can anyone tell me what's wrong? I'm using: {{{ Linux telaviv1.shlomifish.org 2.6.30.2-desktop-1mnb #1 SMP Mon Jul 20 23:44:44 EDT 2009 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GNU/Linux }}} Regards, Shlomi Fish -- - Shlomi Fish http://www.shlomifish.org/ Rethinking CPAN - http://xrl.us/bjn7p God gave us two eyes and ten fingers so we will type five times as much as we read. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: reshet.ynet.co.il not on Download Helper, anything else?
2009/7/25 Micha Feigin > It's patented, not sure about proprietary, on the other hand, it's the main > format that is supported by todays phones and such. I think that you need to > pay royalties if you use it in your software but not to use it as a user, > although there is x264 which is compatible and free, and ffmpeg which includes > support for x264, so I don't know where the legal side lies. > > Note though that there are several profiles, and not all of them are supported > in each player/device so that may be the problem. Try using a lower profile, > that should solve your problem probably. Also check what container your device > supports since h264 defines only the video encoding, it can still go inside > avi > (partial support, not all features), mpeg2/4, flash (yes, most flash > encapsulated > movies are h264) etc. This is more of a theoretical discussion for me right now since I got some time this morning and watched the rest on the desktop, but here goes anyway - 1. I tried to convert to .mp4 container with H.264, which I expect the Nokia E71 to support. The player said something about not being able to play the video but at the same time it played the audio alone. 2. The player can play the .flv file very well, it just can't skip forward or backward while doing so. 3. The resulting .mp4 file was more than twice the size of the original .flv file which seems odd to me - I though the h.264 format was supposed to be strong on compression. Also I didn't do any scientific comparison but I suspect that the .flv file looks actually better than the .mp4 file (on the desktop). 4. I couldn't find a way to tell HandBrake anything about the result (e.g. set the resolution to 320x240) except that it has some "Presets" on the right-hand side-bar and the one I was using was apparently the default "Basic->Normal". I still have to get around to try the result of the second conversion (which uses ffmpeg) and then maybe the "Normal"->"Classic" preset. Thanks, --Amos ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: reshet.ynet.co.il not on Download Helper, anything else?
On Sat, 25 Jul 2009 10:43:55 +0300 sara fink wrote: > > > > > > A friend recommended "Handbrake" which converted no problem with > > "MP4->H.264" (doubled the size of the files compared to .flv) but the > > Nokia didn't play the Video. > > > > I heard that H.264 is problematic. Proprietary codec. > It's patented, not sure about proprietary, on the other hand, it's the main format that is supported by todays phones and such. I think that you need to pay royalties if you use it in your software but not to use it as a user, although there is x264 which is compatible and free, and ffmpeg which includes support for x264, so I don't know where the legal side lies. Note though that there are several profiles, and not all of them are supported in each player/device so that may be the problem. Try using a lower profile, that should solve your problem probably. Also check what container your device supports since h264 defines only the video encoding, it can still go inside avi (partial support, not all features), mpeg2/4, flash (yes, most flash encapsulated movies are h264) etc. > > > > > I'm now trying to convert with "MP4->FFMPEG" and see if it works. > > Would .AVI work better? > > > > Thanks everyone for your suggestions! > > > > Cheers, > > > > --Amos > > > > ___ > > Linux-il mailing list > > Linux-il@cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: reshet.ynet.co.il not on Download Helper, anything else?
> > > A friend recommended "Handbrake" which converted no problem with > "MP4->H.264" (doubled the size of the files compared to .flv) but the > Nokia didn't play the Video. > I heard that H.264 is problematic. Proprietary codec. > > I'm now trying to convert with "MP4->FFMPEG" and see if it works. > Would .AVI work better? > > Thanks everyone for your suggestions! > > Cheers, > > --Amos > > ___ > Linux-il mailing list > Linux-il@cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il