/srv/irclogs.ubuntu.com/2006/01/09/#ubuntu-kernel.txt

=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel
=== jouni__m [n=jouni@laku42.adsl.netsonic.fi] has left #ubuntu-kernel ["Leaving"]
=== dmk [n=dmk@host81-156-24-137.range81-156.btcentralplus.com] has joined #ubuntu-kernel
=== ppd [n=max@dslb-084-056-040-103.pools.arcor-ip.net] has joined #ubuntu-kernel
ppdBenC: It gives me the same eject error with the new kernel :(01:03
BenCwhat's the eject error?01:06
ppdCan't eject. Last error: Invalid argument.01:07
BenCinvalid argument, that's not the bug error01:07
BenCit does EIO, Input/Output Error01:08
BenCdoes eject -s work for you?01:08
ppdwait01:08
ppdyes01:09
ppdfrom the console as root it works01:09
BenCthen you did something wrong with the patch to scsi-ioctl.c01:09
BenCrecheck it, and make sure the ioctl fro CDROMEJECT  matches, and that the functions are properly copied01:09
=== infinity [n=adconrad@charon.0c3.net] has joined #ubuntu-kernel
ppdI am using the archck patchset. Could that influence the result?01:10
ppdhttp://pastebin.com/48943801:12
ppdthis compiled fine01:12
ppd:(01:25
ppdBenC: If you could have a look at it I'd be helped very much01:29
=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel
=== crimsun [n=crimsun@pdpc/supporter/silver/crimsun] has joined #ubuntu-kernel
BenCppd: looks ok to me, not sure why it isn't working01:39
ppdprobably a newer eject version is needed?!01:40
BenCno, shouldn't be01:42
BenCare you sure you are using the built kernel?01:42
BenCeject -s should be the same as eject -r with that patch, IOW, if eject -s works, then normal eject should aswell01:42
ppdhm. I'll try eject from the console01:43
ppdmax@max:/usr/src/linux-2.6.14$ eject /dev/sda101:44
ppdeject: Kann nicht auswerfen! Letzter Fehler: Das Argument ist ungltig01:44
ppdumount was ok01:45
ppdprobably I really started the wrong kernel... can't be....01:45
=== crimsun_ [n=crimsun@cpe-065-188-148-141.triad.res.rr.com] has joined #ubuntu-kernel
=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel
=== ppd [n=max@dslb-084-056-040-103.pools.arcor-ip.net] has joined #ubuntu-kernel
=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel
ppdBenC: sorry for annoying you again. But this time I'm absolutely sure I run the patched kernel and it doesn't work02:17
ppdBenC: I have done a strace eject /dev/sda1 but this didn't help me 02:17
=== ogra [n=ogra@ubuntu/member/ogra] has joined #ubuntu-kernel
=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel
ograogra@aleph:~$ mount |grep mapper02:24
ogra/dev/mapper/vg0-lvol0 on / type ext3 (rw,errors=remount-ro)02:24
ogra/dev/mapper/vg1-lvol1 on /var type ext3 (rw)02:24
ograBenC, mjg59, thanks a lot !!02:24
ograi owe you a drink or something ...02:24
BenCwhat for? :)02:26
ograpointing me to the right places :) 02:26
ograthe via patch seems to run fine ...02:26
=== doko [n=doko@dslb-084-059-074-065.pools.arcor-ip.net] has joined #ubuntu-kernel
=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel
=== crimsun_ [n=crimsun@66.248.140.183] has joined #ubuntu-kernel
=== crimsun__ [n=crimsun@66.248.140.183] has joined #ubuntu-kernel
=== ogra [n=ogra@ubuntu/member/ogra] has joined #ubuntu-kernel
=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel
=== ispiked [n=ispiked@unaffiliated/ispiked] has joined #ubuntu-kernel
=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel
=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel
=== ..[topic/#ubuntu-kernel:BenC] : Ubuntu kernel development discussion ONLY | New git tree for dapper: https://wiki.ubuntu.com/KernelGitGuide | 2.6.15-11.16 uploading (The "Real 2.6.15" release, AKA The "If-Anything-Breaks-Its-Our-problem-Now" Release)
=== rikai [n=gtk2@pool-64-223-236-91.port.east.verizon.net] has joined #ubuntu-kernel
=== crimsun [i=nobody@pdpc/supporter/silver/crimsun] has joined #ubuntu-kernel
=== rikai [n=gtk2@pool-64-223-236-91.port.east.verizon.net] has joined #ubuntu-kernel
=== rikai [n=gtk2@pool-64-223-236-91.port.east.verizon.net] has joined #ubuntu-kernel
=== infinity [n=adconrad@charon.0c3.net] has joined #ubuntu-kernel
infinityOh look, a new ABI.06:43
infinityBenC: I need to give LRM some TLC... Any reservations about holding off on the LRM/-meta uploads until tomorrow, when I can make it all happy?06:44
infinity(I can do -meta when LRM is done)06:44
fabbionemorning guys06:44
fabbioneoh oh oh06:45
infinity?06:50
fabbione.15 final in the archive :)06:50
infinityIndeed.06:50
=== lbm [n=lbm@cpe.atm4-0-1301006.0x50a0824e.vgnxx6.customer.tele.dk] has joined #ubuntu-kernel
=== Panda2 [n=blyadski@217.118.90.1] has joined #ubuntu-kernel
Panda209:11
Panda2  ?09:12
infinityPanda2: This is an English channel.09:12
Panda2sorry, i'm dont know09:13
Panda2Adam Conrad this cool nick09:14
Panda2talk to me Adam Conrad09:14
=== chmj [n=chmj@dsl-146-70-71.telkomadsl.co.za] has joined #ubuntu-kernel
Panda2people?????????09:16
=== Panda2 is now known as Kernel
=== crimsun [n=crimsun@pdpc/supporter/silver/crimsun] has joined #ubuntu-kernel
=== CataEnry [n=cataenry@host71-5.pool8257.interbusiness.it] has joined #ubuntu-kernel
CataEnryhi all10:47
=== CataEnry [n=cataenry@host71-5.pool8257.interbusiness.it] has joined #ubuntu-kernel
=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel
=== pappan [n=garbage@bgepxyout-02.asiapac.hp.net] has joined #ubuntu-kernel
pappanBenC: hi12:27
=== pappan [n=garbage@bgepxyout-02.asiapac.hp.net] has joined #ubuntu-kernel
=== garbage_ [n=garbage@bgepxyout-02.asiapac.hp.net] has joined #ubuntu-kernel
=== garbage_ [n=garbage@bgepxyout-02.asiapac.hp.net] has joined #ubuntu-kernel
=== garbage_ [n=garbage@bgepxyout-02.asiapac.hp.net] has joined #ubuntu-kernel
=== garbage_ [n=garbage@bgepxyout-02.asiapac.hp.net] has joined #ubuntu-kernel
=== garbage_ [n=garbage@bgepxyout-02.asiapac.hp.net] has joined #ubuntu-kernel
pappanany 1 here01:28
pappanfrom kernel devel team01:28
=== lbm [n=lbm@cpe.atm4-0-1301006.0x50a0824e.vgnxx6.customer.tele.dk] has joined #ubuntu-kernel
=== pappan [n=garbage@bgepxyout-02.asiapac.hp.net] has joined #ubuntu-kernel
=== CataEnry [n=cataenry@host224-69.pool873.interbusiness.it] has joined #ubuntu-kernel
CataEnryhi all01:45
=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel
=== pappan [n=garbage@bgepxyout-02.asiapac.hp.net] has joined #ubuntu-kernel
=== ppd [n=max@dslb-084-056-047-054.pools.arcor-ip.net] has joined #ubuntu-kernel
ppdhi02:05
=== lbm [n=lbm@cpe.atm4-0-1301006.0x50a0824e.vgnxx6.customer.tele.dk] has joined #ubuntu-kernel
ppdis it possible the several fixes need to be backported in order to fix that eject bug?02:14
BenCno02:36
ppdBenC: then either I patched the file badly or this fix ust won't work with 2.6.14!?02:37
BenCYour error is not the same as what is in the bug report, but I have no idea why you are getting the error02:38
BenCNo sure how eject -s could work for you, but normal eject with the patch doesn't02:38
ppdeject -s works with root rights02:39
BenCdo this02:39
BenCstrace -o eject.out eject02:39
BenCand pastebin th eject.out02:39
ppdtwo seconds :)02:39
ppdhttp://pastebin.com/49010402:42
ppd:)02:43
BenCah, ok, the CDROMEJECT ioctl is getting EIO02:45
BenCI didn't realize that eject tries every method if they keep failing02:46
BenCls -l /dev/sda102:46
BenClet me see that02:46
ppdbrw-r-----  1 root plugdev 8, 1 2006-01-04 14:46 /dev/sda102:47
BenCok, so updated eject wont help (sg_io needs write perms)02:47
BenCfrom now on when testing the fix, do "eject -r", since that only does the CDROMEJECT ioctl that we are testing02:47
BenCwhat type of device is this you are ejecting?02:48
ppdan usb plugged harddisk02:48
ppdeject -r gives inpout/output error02:49
BenCand why exactly do you want to eject a harddisk?02:49
ppdi don't want. gnome does...02:49
BenCand gnome is complaining because it fails?02:50
ppdgnome pops up an error message telling me "Eject. ... Invalid argument"02:51
BenCcan you do "sudo strace -o eject.out eject -s"?02:51
ppdsure02:51
BenCI think the issue here is that this device cannot be ejected02:51
ppdhttp://pastebin.com/49011002:53
BenCdoes that make the device inaccessible afterwards?02:55
ppdif I plug it in again?02:56
BenCno, right after eject02:56
BenCcan you remount it after ejecting it with eject -s?02:57
ppdmax@max:~$ sudo mount /dev/sda1 test/02:58
ppdmax@max:~$02:58
ppdno problem02:58
=== mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-kernel
BenCthen it's not really ejecting03:00
ppdI think so. a harddisk can't be eject, or?03:01
BenCwell some usb devices can be, like ipods03:06
BenCit basically puts the device offline03:06
ppdmy usb stick doesn't give an error when umounting/ejecting with gnome03:06
BenCbut eject -r still should not be returning EIO, since eject -s is not either03:07
BenCcan you try eject -r on the device?03:07
ppdas user?03:07
BenCyeah03:07
ppdwith strace?03:07
ppdhttp://pastebin.com/49013203:09
ppdhere's the strace output03:09
=== CataEnry [n=cataenry@host224-69.pool873.interbusiness.it] has joined #ubuntu-kernel
ppdi/o error03:18
BenCah, I see why eject -s isn't returning an error03:19
BenCit actually is getting an error, just that eject is ignoring it03:19
ppdthat would be an option too :)03:19
=== rikai [n=gtk2@pool-64-223-236-91.port.east.verizon.net] has joined #ubuntu-kernel
BenCdoes "sudo eject -s" take your USB device offline (can't remount it)?03:21
ppdmax@max:~$ sudo mount /dev/sdb1 test03:24
ppdmax@max:~$ cd test && ls03:24
ppdlost+found  nvidia_patched  user03:24
ppdmax@max:~/test$03:24
ppdstays online03:24
BenCok, then this is a different bug altogether, in that gnome should do something better03:26
BenCI wonder if gnome calls eject, or calls it's own internal ioctl's03:27
ppdhm, probably I can find something in libnautilus source03:27
ppdor can iI strace nautilus eject ?03:28
BenCyou can try, but this is getting out of my expertise03:28
ppdok. thank you very much. So there's nothing I can do?03:29
=== ogra_ [n=ogra@p5089EB20.dip.t-dialin.net] has joined #ubuntu-kernel
=== zul [n=chuck@ubuntu/member/zul] has joined #ubuntu-kernel
zulheylo03:37
=== doko [n=doko@dslb-084-059-106-032.pools.arcor-ip.net] has joined #ubuntu-kernel
ppdBenC: a new version of eject wouldn't help? or hacking eject so that it ignores that error?03:39
ppdscsi eject works as root03:47
BenCit doesn't work, it just ignores the error03:48
ppdso who causes the error?03:48
BenCeject -s is the same as eject -r functionally in the kernel, after patching scsi_ioctl.c03:48
BenCit's just that eject ignores the error from sg_io03:48
BenCthe device causes the error03:48
BenCit's scsi eject that is ignoring things03:49
BenCin the eject program that is03:49
BenCif it checked hdr->status, it would see the error03:49
ppdok. so the error is neither in the kernel nor in eject?03:50
ppdIt's just that you shouldn't call eject for a usb disk?03:50
=== rikai [n=gtk2@pool-64-223-236-91.port.east.verizon.net] has joined #ubuntu-kernel
=== slushpupie [i=jay@slushpupie.com] has joined #ubuntu-kernel
=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel
=== zul [n=chuck@ubuntu/member/zul] has joined #ubuntu-kernel
=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel
=== ogra_ [n=ogra@p5089CC34.dip.t-dialin.net] has joined #ubuntu-kernel
=== dmk [n=dmk@host81-154-95-95.range81-154.btcentralplus.com] has joined #ubuntu-kernel
=== CataEnry [n=cataenry@host224-69.pool873.interbusiness.it] has joined #ubuntu-kernel
=== CataEnry [n=cataenry@host224-69.pool873.interbusiness.it] has joined #ubuntu-kernel
=== ogra [n=ogra@ubuntu/member/ogra] has joined #ubuntu-kernel
=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel
CataEnrybye all07:06
=== ogra [n=ogra@ubuntu/member/ogra] has joined #ubuntu-kernel
=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel
=== dmk [n=dmk@host81-154-95-95.range81-154.btcentralplus.com] has joined #ubuntu-kernel
=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel
=== ppd [n=max@dslb-084-056-047-054.pools.arcor-ip.net] has joined #ubuntu-kernel
=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel
=== lamont [n=lamont@mib.fc.hp.com] has joined #ubuntu-kernel
=== dmk [n=dmk@host81-154-95-95.range81-154.btcentralplus.com] has joined #ubuntu-kernel
=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel
=== rikai-2 [n=gtk2@pool-64-223-236-91.port.east.verizon.net] has joined #ubuntu-kernel
fabbioneBenC: ping?10:40
=== TheMuso [n=luke@dsl-202-173-132-131.nsw.westnet.com.au] has joined #ubuntu-kernel
=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel
=== lamont [n=lamont@mib.fc.hp.com] has joined #ubuntu-kernel
BenCfabbione: pong11:20
=== slushpupie [i=jay@slushpupie.com] has left #ubuntu-kernel []
=== fabbione [i=fabbione@gordian.fabbione.net] has joined #ubuntu-kernel
=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!