UbuntuIRC / 2009 /03 /08 /#ubuntu-kernel.txt
niansa
Initial commit
4aa5fce
[03:39] <wgrant> Is there any chance of seeing a more recent aufs in Jaunty's kernel? I see something on the ML about recent versions of aufs1 requiring changes to build with 2.6.28, but I have custom kernels with it working fine.
[10:58] <kjdro> hello. i'm using ubuntu 8.10 and i have this problem:usb 8-1: reset high speed USB device using ehci_hcd and address 4
[10:58] <kjdro> meaning .. to copy 2 GB of information to a 4GB usb stick takes a day ..
[10:59] <kjdro> can anyone help me speed up the transfer.. i'm trying to untar debian base system on to a flash drive
[11:01] <kjdro> using ext3 Tryed first on ubuntu 8.04 and was slow.. and some forums i'w read that ubuntu 8.10 solved the issu.. so i downed 8.10 and used live cd ... whit boot option pci=routeirq .... still nothing...
[11:01] <anubhav> kjdro:it works okay with windows?
[11:01] <kjdro> sadly yes
[11:02] <kjdro> but ... i cant untar to ext3 there...
[11:04] <anubhav> kjdro:why not untar it onto a FAT partition and then copy
[11:04] <anubhav> kjdro:also file a bug with all the required info
[11:04] <kjdro> well i need the debian base station on stick to boot up my debian-slug.. so i need ext3 file sistem...
[11:05] <kjdro> and well.. i tryed both aproaches.. untar in on hdd witch takes a few seconds
[11:06] <anubhav> kjdro:have you filed a bug report?
[11:06] <kjdro> then there is a bug files.. it always has been ... google it.. :D there are dosns..
[11:07] <kjdro> the only problem is .. i cant find a workinf solution
[11:07] <kjdro> working
[11:08] <kjdro> even more sadly... i'm using livecd. no hdd space to install ubuntu
[11:09] <kjdro> looking for a solution to speed up usb transfer without restarting
[11:10] <anubhav> kjdro:whats the output of hwinfo --usb
[11:11] <kjdro> well this: > block.5: /dev/sdc .. and it hangs after
[11:12] <kjdro> hold on.. i see some movement
[11:13] <kjdro> ok.. so this may take a while
[11:13] <kjdro> > block.5.1: /dev/sdc geo
[11:14] <kjdro> i'm still copying some info on the stick.. really dont want to interupt... what is strange... is ... i tryed untaring .. and each time i start up again and mount usb drive.. it looks empty... like nothing has been copyed on it
[11:21] <kjdro> > block.5.2: /dev/sdc serial
[11:24] <kjdro> ok so i gess .. this is a *bump* again.... yo alex_joni: che faci...
[11:24] <kjdro> alex_joni: esti ?
[11:25] <kjdro> nvm
[11:58] <kjdro> anubhav: are you there? take a look at this:
[11:58] <kjdro> http://paste.ubuntu.com/128179/
[11:58] <kjdro> this is the otuput....
[11:58] <anubhav> kjdro:okay
[12:00] <kjdro> everithing seems alright ?
[12:01] <kjdro> to me at least it dose
[12:02] <anubhav> kjdro:can you start a thread on ubuntuforums and provide the output of dmesg,lspci -vvn ?
[12:02] <kjdro> of course
[12:03] <anubhav> okay once you do that send me the link of the thread
[12:04] <kjdro> http://paste.ubuntu.com/128181/
[12:04] <kjdro> this is lspci
[12:05] <kjdro> yeah well
[12:05] <kjdro> in dmesg you could see a lot of: usb 8-1: reset high speed USB device using ehci_hcd and address 4
[12:06] <kjdro> what specificly interest you so i use grep ...
[12:06] <kjdro> or if you want all i could redirect output to a file
[12:07] <kjdro> witch is it ?
[12:07] <anubhav> u can try dmesg|tail
[12:07] <anubhav> okay complete dmesg will be better
[12:07] <kjdro> yeah well:
[12:08] <kjdro> dmesg | tail
[12:08] <kjdro> [43847.448129] usb 8-1: reset high speed USB device using ehci_hcd and address 4
[12:08] <kjdro> [43877.924184] usb 8-1: reset high speed USB device using ehci_hcd and address 4
[12:08] <kjdro> [43908.424156] usb 8-1: reset high speed USB device using ehci_hcd and address 4
[12:08] <kjdro> [43938.940085] usb 8-1: reset high speed USB device using ehci_hcd and address 4
[12:08] <kjdro> [43969.484291] usb 8-1: reset high speed USB device using ehci_hcd and address 4
[12:08] <kjdro> [44000.092150] usb 8-1: reset high speed USB device using ehci_hcd and address 4
[12:08] <kjdro> [44030.521669] usb 8-1: reset high speed USB device using ehci_hcd and address 4
[12:08] <kjdro> [44060.992622] usb 8-1: reset high speed USB device using ehci_hcd and address 4
[12:08] <kjdro> [44091.500371] usb 8-1: reset high speed USB device using ehci_hcd and address 4
[12:08] <kjdro> [44122.144138] usb 8-1: reset high speed USB device using ehci_hcd and address 4
[12:08] <kjdro> as i sad... :(
[12:08] <kjdro> some 2 pages of that ore more in the full output of dmesg
[12:09] <kjdro> well .. about the forum.. i read now.. well... kinda lack the time... right now..
[12:09] <kjdro> my copy is at 41%.... since 9:00 am this moring .. now it's 14:09
[12:10] <anubhav> can you try a plugging your device to a different port?
[12:12] <kjdro> well only if i interupt the copy proces.. witch understandably is not what i want to do.. only if there would be a way to restart the copy where it left of.. skiiping the already copied files
[12:12] <kjdro> is there ?
[12:13] <anubhav> i think cp -u
[12:13] <kjdro> hmmm ...
[12:13] <anubhav> u can just check the man page
[12:14] <kjdro> copy only when the SOURCE file is newer than the destination file or when the destination file is missing
[12:14] <kjdro> your right..
[12:14] <kjdro> now how do i copy multi structured paths... anyway .. give me a min to ready man cp
[12:15] <kjdro> -r ...
[12:15] <kjdro> ok
[12:16] <anubhav> do you copy using the gui?
[12:16] <kjdro> hmm final thought... will a sistem boot up if i copy all the files it needs using cp .. with dircetory structure to the root partition ?
[12:16] <kjdro> i am usiong mc's copy
[12:16] <kjdro> midnight commander
[12:18] <anubhav> with cp you have to be carefull that it copies all symbolic links etc
[12:19] <kjdro> aha... so best would be if i untar the file system directly... shiut...
[12:20] <anubhav> yeah
=== imbrando2 is now known as imbrandon
[21:00] <lesshaste> how do I get alt-sysrq to work in ubuntu?
[22:52] <doctormo> I'm looking for advice, I have a serial device I'm going to try and reverse engineer. It's a USB <-> Serial chip which produces a /dev/ttyUSB0 as expected.
[22:52] <doctormo> Given that the windows program works in wine, should it be easy to watch the io of wine to sniff out the protocol?
[22:56] <JanC> is there any extra protocol involved?
[23:06] <doctormo> JanC: Yes, the one that sends the images to be displayed on the device via serial.
[23:06] <doctormo> I'm trying to find a guide on logging a processes io, but not having much luck
[23:07] <JanC> ah, so there is more than the usb <-> serial chip
[23:08] <doctormo> JanC: Yes, the ttyUSB0 is sym linked to wine's com1
[23:08] <JanC> i guess there must be something that experienced reverse engineers use ツ
[23:08] <doctormo> did you just use the katakana Shi as a smilie face?
[23:09] <JanC> yep
[23:09] <doctormo> are you Japanese?
[23:10] <JanC> no, its use as a smiley probably started inside ubuntu-nl (although I'm not sure about that)
[23:11] <doctormo> heh, oh well
[23:14] <doctormo> Back to logging serial io... still no results in google. keep trying
[23:17] <JanC> the "easiest" way would be to have a fake serial device that logs everything and sits between the app & the real hardware driver
[23:18] <JanC> or maybe the driver that creates the ttyusb devices can already do that?
[23:18] <johanbr> doctormo: There's something called usbsnoop for windows. It might work under wine.
[23:19] <JanC> johanbr: as the app under wine accesses it as com1, that probably won't work?
[23:20] <JanC> (wine doesn't know this is an USB device)
[23:22] <JanC> doctormo: http://linux.die.net/man/1/slsnif sounds useful
[23:23] <JanC> doctormo: and http://www.suspectclass.com/~sgifford/interceptty/
[23:42] <doctormo> thanks